:root {
  --bg: #fbfbf8;
  --bg-soft: #f2f3ed;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #111111;
  --muted: #6d726c;
  --line: rgba(17, 17, 17, 0.08);
  --line-strong: rgba(17, 17, 17, 0.16);
  --accent: #0f8a67;
  --accent-orange: #e0783f;
  --accent-soft: #dff4ec;
  --shadow: 0 24px 80px rgba(20, 31, 25, 0.08);
  --shadow-soft: 0 10px 30px rgba(20, 31, 25, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 138, 103, 0.06), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(15, 138, 103, 0.08), transparent 20%),
    var(--bg);
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), 1320px);
  margin: 16px auto;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  background: rgba(251, 251, 248, 0.76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f8a67, #7fcbb1);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 30px rgba(15, 138, 103, 0.2);
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong {
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.brand__text small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(17, 17, 17, 0.12);
}

.button--secondary,
.button--ghost {
  background: rgba(255, 255, 255, 0.88);
  color: var(--text);
  border-color: var(--line);
}

.button--secondary:hover,
.button--ghost:hover,
.button--secondary:focus-visible,
.button--ghost:focus-visible {
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding: 72px 56px 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.feature__content h2,
.site-footer__top h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 6vw, 6.3rem);
}

.hero__lead,
.section-heading p,
.feature__content p,
.feature-row__copy p,
.faq-answer p,
.footer-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lead {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.06rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero__benefits li {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  color: var(--muted);
}

.hero__visual {
  position: relative;
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero__glow {
  position: absolute;
  filter: blur(16px);
  border-radius: 999px;
}

.hero__glow--one {
  width: 220px;
  height: 220px;
  left: 4%;
  top: 8%;
  background: rgba(15, 138, 103, 0.12);
}

.hero__glow--two {
  width: 300px;
  height: 300px;
  right: 2%;
  bottom: 10%;
  background: rgba(173, 201, 189, 0.18);
}

.device-card,
.image-frame,
.mockup-card,
.instruction-card,
.pricing-card,
.stat-card,
.footer-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.device-card {
  position: relative;
  width: min(100%, 620px);
  padding: 18px;
  border-radius: 34px;
}

.device-card img,
.image-frame img {
  border-radius: 24px;
}

.floating {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 44px rgba(17, 17, 17, 0.1);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.floating span {
  color: var(--muted);
  font-size: 0.82rem;
}

.floating strong {
  font-size: 1rem;
}

.floating--left {
  left: 0;
  bottom: 16%;
}

.floating--right {
  right: 2%;
  top: 16%;
}

.section,
.feature {
  padding: 52px 56px;
}

.section--compact {
  padding-top: 32px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.feature__content h2,
.site-footer__top h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 28px;
  border-radius: 24px;
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.22rem;
}

.stat-card span {
  color: var(--muted);
  line-height: 1.65;
}

.feature--highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.feature__content p {
  max-width: 54ch;
}

.pricing-card {
  margin-top: 28px;
  padding: 28px;
  border-radius: 28px;
}

.pricing-card__label {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-card h3 {
  margin: 8px 0 0;
  font-size: 1.7rem;
}

.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 22px 0 18px;
}

.pricing-card__price strong {
  font-size: 2rem;
}

.pricing-card__price span {
  color: #b97f7f;
  text-decoration: line-through;
}

.old-price {
  display: inline-block;
  color: #b97f7f;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #b97f7f;
}

.pricing-card ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.image-frame {
  padding: 16px;
  border-radius: 32px;
}

.image-frame--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 247, 242, 0.9)),
    var(--surface);
}

.image-frame--dark {
  background: #101212;
}

.feature-stack {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 440px);
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(17, 17, 17, 0.18) transparent;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
}

.feature-row__copy,
.feature-row__visual,
.feature__content,
.feature__media {
  min-width: 0;
}

.feature-row--reverse {
  grid-template-columns: 1fr;
}

.feature-row--reverse .feature-row__copy {
  order: initial;
}

.feature-row--reverse .feature-row__visual {
  order: initial;
}

.feature-row__copy h3 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  letter-spacing: -0.04em;
}

.feature-row__copy p:last-child {
  margin-bottom: 0;
}

.mockup-card,
.instruction-card {
  padding: 24px;
  border-radius: 30px;
  overflow: hidden;
}

.mockup-card--tasks {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 247, 243, 0.92)),
    var(--surface);
  max-width: 100%;
}

.mockup-card__header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.mockup-card__header span {
  padding: 10px 0;
  border-radius: 14px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
}

.task-columns {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  min-width: 0;
}

.task-column {
  display: grid;
  gap: 10px;
}

.task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  min-width: 0;
}

.task::after {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid rgba(15, 138, 103, 0.55);
}

.task.done::after {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px #fff;
}

.mockup-card--analytics {
  background:
    radial-gradient(circle at top right, rgba(15, 138, 103, 0.1), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 243, 0.92));
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  align-items: end;
  min-height: 220px;
  padding: 28px 18px 20px;
  border-radius: 24px;
  background:
    linear-gradient(to top, rgba(17, 17, 17, 0.06) 1px, transparent 1px) 0 0 / 100% 25%,
    rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
}

.chart-bars span {
  border-radius: 16px 16px 6px 6px;
  background: linear-gradient(180deg, #74c6a7, #0f8a67);
}

.analytics-bottom {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.donut {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, #fff 32%, transparent 33%),
    conic-gradient(var(--accent) 0 69%, #e8ebe7 69% 100%);
}

.donut span {
  font-size: 2rem;
  font-weight: 800;
}

.analytics-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.analytics-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.analytics-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.analytics-list strong {
  color: var(--text);
}

.mockup-card--habits,
.mockup-card--journal {
  display: grid;
  gap: 12px;
}

.habit-row,
.journal-row,
.journal-head {
  display: grid;
  align-items: center;
  gap: 12px;
}

.habit-row {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
}

.habit-row span,
.journal-row span,
.journal-head span {
  font-size: 0.92rem;
}

.habit-checks {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.habit-checks i {
  display: block;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.86);
}

.habit-checks i.empty {
  background: transparent;
  border: 1.5px solid rgba(15, 138, 103, 0.4);
  box-shadow: none;
}

.journal-head,
.journal-row {
  grid-template-columns: 86px 110px 120px minmax(0, 1fr);
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.84);
}

.journal-head {
  color: var(--muted);
  font-size: 0.82rem;
}

.instruction-card {
  display: grid;
  gap: 16px;
}

.instruction-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.instruction-step strong {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
}

.instruction-step h4 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.instruction-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  font-weight: 700;
}

.faq-icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.26s ease;
}

.faq-answer p {
  margin: 0;
  overflow: hidden;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding-bottom: 28px;
}

.site-footer {
  padding: 0;
  background: transparent;
}

.section--cta {
  padding-top: 10px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(15, 138, 103, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.cta-card__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.cta-card__copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

.cta-card__action {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.cta-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.cta-price strong {
  font-size: 2.2rem;
}

.cta-price span {
  color: #b97f7f;
}

.legal-block {
  text-align: center;
}

.legal-block__text {
  max-width: 980px;
  margin: 0 auto;
  color: #ffffff;
  line-height: 1.75;
}

.legal-block__links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.legal-block__links a {
  color: var(--accent-orange);
}

.legal-block__links--stack {
  flex-direction: column;
  align-items: center;
}

.footer-band {
  text-align: center;
  padding: 42px 20px;
}

.footer-band p {
  margin: 0 0 8px;
}

.footer-band p:last-child {
  margin-bottom: 0;
}

.footer-band--info {
  background: #5b5b5b;
  color: #ffffff;
}

.footer-band--legal {
  background: #101010;
  color: #ffffff;
}

.footer-band--legal .legal-block__text {
  max-width: 820px;
}

.document-body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 138, 103, 0.05), transparent 24%),
    var(--bg);
}

.document-page {
  width: min(calc(100% - 32px), 980px);
  margin: 20px auto;
  padding: 32px 0 56px;
}

.document-back {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
}

.document-page h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.document-subtitle {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.document-card {
  margin-top: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.document-card h2 {
  margin: 28px 0 14px;
  font-size: 1.35rem;
}

.document-card h2:first-child {
  margin-top: 0;
}

.document-card p,
.document-card li {
  color: var(--muted);
  line-height: 1.8;
}

.document-card ul {
  margin: 0 0 12px 0;
  padding-left: 22px;
}

@media (max-width: 1120px) {
  .hero,
  .feature--highlight,
  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
  }

  .feature-row--reverse .feature-row__copy,
  .feature-row--reverse .feature-row__visual {
    order: initial;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__visual {
    min-height: 460px;
  }

  .cta-card {
    grid-template-columns: 1fr;
  }

  .feature-stack {
    grid-auto-columns: minmax(320px, 380px);
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 18px), 1320px);
    margin: 9px auto;
    border-radius: 28px;
  }

  .site-header,
  .hero,
  .section,
  .feature,
  .site-footer {
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 0;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    padding-top: 6px;
  }

  .hero {
    gap: 28px;
    padding-top: 34px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 4.2rem);
  }

  .hero__visual {
    min-height: auto;
  }

  .floating {
    position: static;
    margin-top: 14px;
  }

  .stats-grid,
  .analytics-bottom {
    grid-template-columns: 1fr;
  }

  .mockup-card__header,
  .task-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  .journal-head,
  .journal-row {
    grid-template-columns: 1fr;
  }

  .habit-row {
    grid-template-columns: 1fr;
  }

  .feature-stack {
    grid-auto-columns: 85vw;
  }

  .legal-block {
    text-align: center;
  }

  .legal-block__links {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
  }

  .button,
  .button--ghost,
  .button--secondary {
    width: 100%;
  }

  .hero__actions,
  .hero__benefits {
    width: 100%;
  }

  .hero__benefits li {
    width: 100%;
    text-align: center;
  }

  .mockup-card,
  .instruction-card,
  .pricing-card,
  .stat-card,
  .device-card,
  .image-frame {
    border-radius: 22px;
  }

  .mockup-card__header,
  .task-columns {
    grid-template-columns: 1fr;
  }

  .task,
  .mockup-card__header span {
    min-width: 0;
  }

  .chart-bars {
    gap: 8px;
    min-height: 170px;
    padding: 18px 12px 16px;
  }

  .donut {
    min-height: 180px;
  }

  .document-page {
    width: min(calc(100% - 18px), 980px);
    padding-top: 18px;
  }

  .document-card {
    padding: 22px;
    border-radius: 22px;
  }
}
