/* ============================================================================
   Mindful Drinking Coach — website styles
   ----------------------------------------------------------------------------
   Plain CSS. No build step, no preprocessor. Edit this file directly.

   Design tokens are lifted from the mobile app and must stay in step with it:
     colours   src/theme/tokens/colors.ts     (ADR-015)
     type      src/theme/tokens/typography.ts (ADR-016 - Poppins only)
     radius    src/theme/tokens/radius.ts
     spacing   src/theme/tokens/spacing.ts    (4pt grid)

   Order below is the cascade order - tokens, base, then components roughly in
   the order they appear down the page. Keep it that way when adding rules.
   ========================================================================== */


/* === tokens ====================================================== */
/* ============================================================================
   Mindful Drinking Coach — website design tokens
   ----------------------------------------------------------------------------
   SOURCE OF TRUTH: the mobile app.
     colours    src/theme/tokens/colors.ts        (ADR-015)
     type       src/theme/tokens/typography.ts    (ADR-016 — Poppins only)
     radius     src/theme/tokens/radius.ts
     spacing    src/theme/tokens/spacing.ts       (4pt grid)
   Do not invent values here. If the app changes, change these to match.

   Direction B — "Daybreak": a dark cinematic hero resolving into the app's
   light canvas. Both palettes below are the app's own dark and light themes.
   ========================================================================== */

:root {
  /* ── Dark palette (app dark theme) ─────────────────────────────────────── */
  --d-ground:        #040A12;              /* palette.charcoal            */
  --d-card:          #0D1B17;              /* palette.darkCard            */
  --d-raise:         #101A1E;              /* palette.darkInput           */
  --d-glass:         rgba(18, 30, 34, .72);
  --d-glass-strong:  rgba(8, 14, 17, .85);
  --d-hair:          rgba(120, 200, 190, .12);
  --d-teal:          #32D7D3;
  --d-teal-soft:     #6FE0D4;
  --d-teal-deep:     #1E8B81;
  --d-cta:           #2EC4B6;
  --d-on-cta:        #04211E;
  --d-ink:           #FFFFFF;
  --d-ink-2:         #A6B0B8;
  --d-ink-3:         #5C6763;

  /* ── Light palette (app light theme) ───────────────────────────────────── */
  --canvas:          #F4F7F6;              /* palette.coolWhite           */
  --surface:         #FFFFFF;
  --surface-2:       #FAFCFB;              /* palette.offWhite            */
  --mist:            #EAF2F0;              /* section banding             */
  --hair:            rgba(20, 40, 38, .08);
  --teal:            #1FA99C;              /* palette.tealLightMode       */
  --teal-soft:       #6FD3C7;
  --teal-deep:       #157E74;
  --ink:             #16201E;              /* palette.textDark            */
  --ink-2:           #6C7772;
  --ink-3:           #9AA5A0;
  --on-cta:          #FFFFFF;

  /* ── Accents (shared; light-theme variants) ────────────────────────────── */
  --purple:          #9B7FE0;              /* actionTiles.hearMyWhy       */
  --blue:            #5E8BE0;              /* actionTiles.log             */
  --gold:            #D6982F;              /* risk.caution                */
  --orange:          #E8681F;              /* risk.high                   */
  --green:           #34D399;
  --indigo:          #4F46E5;              /* coach identity              */

  /* Dark-context accent variants */
  --d-purple:        #A85CFF;
  --d-blue:          #4F8CFF;
  --d-gold:          #E0A83E;
  --d-orange:        #F28A2D;
  --d-green:         #79D8A0;

  /* ── Typography (ADR-016: Poppins everywhere) ──────────────────────────── */
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  /* Serif reserved for emotional pull-quotes only — never UI, never headings
     that mirror in-app text. Direction B's one licensed deviation. */
  --font-quote: 'Newsreader', Georgia, 'Times New Roman', serif;

  --fs-display: clamp(38px, 5.6vw, 72px);
  --fs-h1:      clamp(32px, 4.4vw, 56px);
  --fs-h2:      clamp(28px, 3.8vw, 46px);
  --fs-h3:      clamp(20px, 2.2vw, 26px);
  --fs-lead:    clamp(16px, 1.35vw, 18.5px);
  --fs-body:    16px;
  --fs-sm:      14px;
  --fs-xs:      12.5px;

  --lh-tight: 1.05;
  --lh-snug:  1.18;
  --lh-body:  1.68;

  --ls-display: -2px;
  --ls-h2:      -1.3px;
  --ls-caps:    1.4px;

  /* ── Spacing (4pt grid, from spacing.ts) ───────────────────────────────── */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;
  --section-y: clamp(72px, 9vw, 124px);
  --gutter: 28px;
  --maxw: 1200px;
  --maxw-narrow: 720px;

  /* ── Radius (radius.ts) ────────────────────────────────────────────────── */
  --r-sm:   12px;   /* inputs            */
  --r-md:   16px;   /* cards, lower      */
  --r-lg:   20px;   /* cards, upper      */
  --r-xl:   24px;   /* sheets / modals   */
  --r-phone: 30px;  /* phone mockups     */
  --r-pill: 999px;

  /* ── Elevation ─────────────────────────────────────────────────────────── */
  --sh-1: 0 2px 8px rgba(20, 40, 38, .05);
  --sh-2: 0 16px 40px rgba(20, 40, 38, .09);
  --sh-3: 0 34px 74px rgba(20, 40, 38, .16);
  --sh-phone-light: 0 40px 84px rgba(20, 40, 38, .2);
  --sh-phone-dark:  0 48px 96px rgba(0, 0, 0, .66);
  --glow-teal: 0 0 60px rgba(46, 196, 182, .18);

  /* ── Motion ────────────────────────────────────────────────────────────── */
  --ease:      cubic-bezier(.16, 1, .3, 1);   /* primary — reveals, layout  */
  --ease-soft: cubic-bezier(.22, .61, .36, 1); /* hover, small state changes */
  --dur-fast: .25s;
  --dur-mid:  .45s;
  --dur-slow: .85s;
  --breath: 7s;   /* one shared resting pulse, matching the app's coach orb */
}

/* The site is authored light-first; dark sections opt in via .on-dark, which
   remaps the same semantic names so components need no dark-specific CSS. */
.on-dark {
  --canvas:    var(--d-ground);
  --surface:   var(--d-card);
  --surface-2: var(--d-raise);
  --mist:      #06111A;
  --hair:      var(--d-hair);
  --teal:      var(--d-teal);
  --teal-soft: var(--d-teal-soft);
  --teal-deep: var(--d-teal-deep);
  --ink:       var(--d-ink);
  --ink-2:     var(--d-ink-2);
  --ink-3:     var(--d-ink-3);
  --on-cta:    var(--d-on-cta);
  --purple:    var(--d-purple);
  --blue:      var(--d-blue);
  --gold:      var(--d-gold);
  --orange:    var(--d-orange);
  --green:     var(--d-green);
  --sh-1: 0 2px 10px rgba(0, 0, 0, .3);
  --sh-2: 0 18px 44px rgba(0, 0, 0, .45);
  --sh-3: 0 34px 74px rgba(0, 0, 0, .6);
}


/* === base ======================================================== */
/* ============================================================================
   Base layer — resets, typography defaults, shared primitives, motion.
   Component-specific styling lives next to each component.
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--teal-deep); text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Skip link — first tab stop. */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--surface); color: var(--ink);
  padding: 12px 18px; border-radius: 0 0 var(--r-md) 0;
  box-shadow: var(--sh-2); font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ── Layout primitives ────────────────────────────────────────────────────── */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }

/* ── Type primitives ──────────────────────────────────────────────────────── */
.kicker {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--sp-3);
}
.quote-serif {
  font-family: var(--font-quote);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -.5px;
}

/* ── Motion ───────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition:
    opacity   var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease),
    filter    var(--dur-slow) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; filter: blur(0); }

/* Children ease in one beat after the last, never all at once. */
.stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity   var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}
.stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(1) { transition-delay: .05s; }
.stagger.is-in > *:nth-child(2) { transition-delay: .13s; }
.stagger.is-in > *:nth-child(3) { transition-delay: .21s; }
.stagger.is-in > *:nth-child(4) { transition-delay: .29s; }
.stagger.is-in > *:nth-child(5) { transition-delay: .37s; }
.stagger.is-in > *:nth-child(6) { transition-delay: .45s; }
.stagger.is-in > *:nth-child(7) { transition-delay: .53s; }
.stagger.is-in > *:nth-child(8) { transition-delay: .61s; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1);    opacity: .72; }
  50%      { transform: scale(1.08); opacity: 1; }
}
@keyframes drift {
  0%, 100% { transform: scale(1.06); }
  50%      { transform: scale(1.1) translate(-1%, -.5%); }
}

/* The app honours prefers-reduced-motion (theme/useReducedMotion.ts); so does
   the site. Everything resolves to its final state — nothing is hidden. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  *, *::before, *::after { animation: none !important; }
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 28px;
  border: 0; border-radius: var(--r-pill);
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-soft),
              box-shadow var(--dur-fast) var(--ease-soft),
              background var(--dur-fast) var(--ease-soft);
}
.btn--primary {
  background: linear-gradient(135deg, var(--teal-soft), var(--teal) 55%, var(--teal-deep));
  color: var(--on-cta);
  box-shadow: 0 10px 28px rgba(31, 169, 156, .3);
}
.on-dark .btn--primary { box-shadow: 0 10px 30px rgba(46, 196, 182, .3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(31, 169, 156, .42); }
.on-dark .btn--primary:hover { box-shadow: 0 16px 42px rgba(46, 196, 182, .44), 0 0 32px rgba(50, 215, 211, .26); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hair);
  font-weight: 500;
  box-shadow: var(--sh-1);
}
.on-dark .btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--teal) 40%, transparent); }

.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; }


/* === Navbar ====================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  transition: background var(--dur-mid) var(--ease),
              box-shadow var(--dur-mid) var(--ease),
              backdrop-filter var(--dur-mid) var(--ease);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  height: 78px;
  transition: height var(--dur-mid) var(--ease);
}

/* Transparent over the dark hero … */
.nav__brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none;
  font-weight: 600; font-size: 16.5px; letter-spacing: -.2px; transition: color var(--dur-mid); }
.nav__brand img { border-radius: 10px; flex: none; }
.nav__brand span { white-space: nowrap; }
.nav__link { color: rgba(255,255,255,.74); font-size: 15px; text-decoration: none;
  transition: color var(--dur-fast); }
.nav__link:hover { color: #fff; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__actions { display: flex; align-items: center; gap: var(--sp-3); }

/* … blurred light bar once scrolled. */
.nav--solid {
  background: rgba(244, 247, 246, .82);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  box-shadow: 0 1px 0 rgba(20, 40, 38, .07), 0 8px 30px rgba(20, 40, 38, .05);
}
.nav--solid .nav__inner { height: 62px; }
.nav--solid .nav__brand { color: var(--ink); }
.nav--solid .nav__link { color: var(--ink-2); }
.nav--solid .nav__link:hover { color: var(--teal-deep); }

/* Burger — hidden until the links no longer fit. */
.nav__burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-sm); cursor: pointer;
}
.nav__burger span { display: block; width: 17px; height: 1.6px; background: #fff; border-radius: 2px;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast); }
.nav--solid .nav__burger { border-color: var(--hair); }
.nav--solid .nav__burger span { background: var(--ink); }
.nav--open .nav__burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.nav__drawer {
  display: flex; flex-direction: column; gap: var(--sp-2);
  padding: var(--sp-4) var(--gutter) var(--sp-8);
  background: rgba(244, 247, 246, .97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--hair);
  box-shadow: var(--sh-2);
}
.nav__drawer[hidden] { display: none; }
.nav__drawer a:not(.btn) {
  padding: 14px 4px; color: var(--ink); font-weight: 500; font-size: 17px;
  border-bottom: 1px solid var(--hair); text-decoration: none;
}
.nav__drawer .btn { margin-top: var(--sp-4); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  /* The CTA is the point of the page — keep it, drop the label length instead. */
  .nav__cta { padding: 10px 18px; }
  /* Once the drawer can open, the bar always needs a readable background. */
  .nav--open { background: rgba(244, 247, 246, .97); backdrop-filter: blur(18px); }
  .nav--open .nav__brand { color: var(--ink); }
}
@media (max-width: 560px) {
  /* Keep the wordmark on one line — a two-line brand reads as a layout bug. */
  .nav__brand span { font-size: 14px; }
  .nav__brand img { width: 30px; height: 30px; }
  .nav__inner { gap: var(--sp-2); }
  .nav__cta { padding: 10px 15px; font-size: 13.5px; }
}
@media (max-width: 380px) {
  .nav__brand span { font-size: 12.5px; }
  .nav__cta { display: none; } /* the drawer still carries the CTA */
}


/* === SectionHeading ============================================== */
.shead { max-width: 700px; margin-bottom: var(--sp-12); }
.shead--center { margin-inline: auto; text-align: center; }
.shead--start  { margin-inline: 0; text-align: left; }

.shead__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-h2);
  color: var(--ink);
  text-wrap: balance;
}
.shead__accent {
  /* The serif carries the emotional line only — never UI text. */
  color: var(--teal-deep);
  font-weight: 300;
}
.on-dark .shead__accent { color: var(--teal-soft); }

.shead__lede {
  margin-top: var(--sp-4);
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--ink-2);
  text-wrap: pretty;
}
.shead--center .shead__lede { margin-inline: auto; }


/* === PhoneMockup ================================================= */
/* Device presentation. The phone is the product — it never gets a decorative
   frame, only depth.

   Rotation and float would both write `transform` and clobber each other, so
   they live on different elements: tilt on the figure, float on the image. */
.phone {
  position: relative;
  width: var(--phone-w);
  max-width: 100%;
  margin: 0;
  transform: rotate(var(--phone-tilt));
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: var(--r-phone);
  /* The app's screens are near-black; a plain shadow would vanish into a dark
     section, so each tone gets its own separation treatment. */
  border: 1px solid rgba(20, 40, 38, .06);
  box-shadow: var(--sh-phone-light);
  background: var(--d-ground);
}

.phone--dark img {
  border-color: rgba(120, 200, 190, .16);
  box-shadow: var(--sh-phone-dark);
}

.phone--float img {
  animation: float-y 9s var(--ease-soft) infinite;
  animation-delay: var(--phone-delay);
  will-change: transform;
}

.phone__caption {
  margin-top: var(--sp-3);
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .3px;
  color: var(--ink-3);
}


/* === Hero ======================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--d-ground);
  isolation: isolate;
}

.hero__art { position: absolute; inset: 0; z-index: 0; }
.hero__art img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 42%;
  animation: drift 32s var(--ease-soft) infinite;
}
/* Two scrims: one for legibility over the artwork, one to land the section on
   the light canvas so the next section begins without a visible seam. */
.hero__art::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 10, 18, .88) 0%,
    rgba(4, 10, 18, .30) 26%,
    rgba(4, 10, 18, .55) 58%,
    rgba(4, 10, 18, .88) 82%,
    var(--canvas) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 132px;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex; align-items: center;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: var(--d-teal);
  background: rgba(50, 215, 211, .1);
  border: 1px solid rgba(50, 215, 211, .24);
  padding: 7px 15px; border-radius: var(--r-pill);
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: #fff;
  margin-bottom: var(--sp-6);
  text-wrap: balance;
}
.hero__title-accent { color: var(--d-teal-soft); font-weight: 300; }

.hero__lede {
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--d-ink-2);
  max-width: 560px;
  margin: 0 auto var(--sp-8);
  text-wrap: pretty;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.hero__assure {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  justify-content: center;
  list-style: none;
  margin-bottom: var(--sp-12);
}
.hero__assure li {
  font-size: var(--fs-xs);
  color: var(--d-ink-2);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--d-hair);
  padding: 7px 13px;
  border-radius: var(--r-pill);
}

/* ── Phone fan ──────────────────────────────────────────────────────────────
   Absolutely positioned so the phones overlap; the container reserves the
   height. Percentages keep the arrangement intact as the page narrows. */
.hero__fan {
  position: relative;
  height: 440px;
  max-width: 940px;
  margin-inline: auto;
}
.hero__fan .hero__phone { position: absolute; }
.hero__phone--1 { left: 2%;  top: 58px; z-index: 2; }
.hero__phone--2 { left: 20%; top: 24px; z-index: 3; }
.hero__phone--3 { left: 50%; top: 0; z-index: 5; margin-left: -128px; }
.hero__phone--4 { right: 20%; top: 24px; z-index: 3; }
.hero__phone--5 { right: 2%;  top: 58px; z-index: 2; }

@media (max-width: 1040px) {
  .hero__fan { height: 360px; }
  .hero__phone--1, .hero__phone--5 { display: none; }
  .hero__phone--2 { left: 4%; }
  .hero__phone--4 { right: 4%; }
}
@media (max-width: 720px) {
  .hero__inner { padding-top: 116px; }
  .hero__fan { height: 300px; }
  .hero__phone--2, .hero__phone--4 { display: none; }
  .hero__phone--3 { --phone-w: 216px; margin-left: -108px; }
  .hero__art img { object-position: 66% 38%; }
}
@media (max-width: 420px) {
  .hero__fan { height: 268px; }
  .hero__phone--3 { --phone-w: 194px; margin-left: -97px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}


/* === ProblemSection ============================================== */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  max-width: 1080px;
  margin-inline: auto;
  list-style: none;
}
.problem__card {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: var(--sp-8) var(--sp-6);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
}
.problem__card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }

.problem__quote {
  font-size: 23px;
  line-height: 1.34;
  color: var(--ink);
  text-wrap: balance;
}
.problem__note {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--ink-3);
}

.problem__close {
  max-width: 660px;
  margin: var(--sp-12) auto 0;
  text-align: center;
  font-size: var(--fs-lead);
  line-height: 1.75;
  color: var(--ink-2);
  text-wrap: pretty;
}
.problem__close strong { color: var(--teal-deep); font-weight: 600; }

@media (max-width: 1040px) {
  .problem__grid { grid-template-columns: repeat(2, 1fr); max-width: 660px; }
}
@media (max-width: 560px) {
  .problem__grid { grid-template-columns: 1fr; max-width: 440px; }
  .problem__quote { font-size: 21px; }
}


/* === BetterWaySection ============================================ */
.betterway { background: var(--canvas); }

.betterway__list {
  max-width: 820px;
  margin-inline: auto;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
.betterway__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
}
.betterway__from {
  text-align: right;
  color: var(--ink-3);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, var(--ink-3) 45%, transparent);
  font-size: var(--fs-sm);
}
.betterway__arrow { color: var(--teal); font-size: 15px; }
.betterway__to { font-weight: 600; color: var(--ink); font-size: 15.5px; }

.betterway__arc {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-12);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--teal-deep);
  text-align: center;
}
.betterway__arc i { color: var(--ink-3); font-style: normal; }

@media (max-width: 620px) {
  .betterway__row { grid-template-columns: 1fr; gap: var(--sp-1); text-align: left; padding: var(--sp-4); }
  .betterway__from { text-align: left; }
  .betterway__arrow { display: none; }
}


/* === CoachSection ================================================ */
.coach {
  position: relative;
  overflow: hidden;
  background: radial-gradient(92% 70% at 50% -6%, #0A1A22, var(--d-ground) 62%);
  color: var(--ink);
}

/* One slow teal breath behind the orb — the app's own resting pulse. */
.coach__glow {
  position: absolute;
  top: -120px; left: 50%;
  width: min(760px, 120vw); aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, .16), transparent 66%);
  filter: blur(30px);
  animation: breathe var(--breath) var(--ease-soft) infinite;
  pointer-events: none;
}

.coach__head { position: relative; text-align: center; max-width: 720px; margin: 0 auto var(--sp-16); }
.coach__orb {
  width: 132px; height: 132px;
  margin: 0 auto var(--sp-6);
  animation: breathe var(--breath) var(--ease-soft) infinite;
}
.coach__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-h2);
  color: #fff;
  text-wrap: balance;
}
.coach__accent { color: var(--d-teal-soft); font-weight: 300; }
.coach__lede {
  margin-top: var(--sp-4);
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--ink-2);
  text-wrap: pretty;
}

.coach__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.coach__art { position: relative; height: 620px; }
.coach__art > .phone { position: absolute; }
.coach__p1 { left: 4%;  top: 0;    z-index: 3; }
.coach__p2 { right: 2%; top: 148px; z-index: 2; }

.coach__list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-6); }
.coach__list h3 {
  font-size: 16.5px; font-weight: 600; color: #fff; margin-bottom: 5px;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--d-teal);
}
.coach__list p {
  font-size: var(--fs-sm); line-height: 1.65; color: var(--ink-2);
  padding-left: var(--sp-4);
  border-left: 2px solid transparent;
}

.coach__topics {
  margin-top: var(--sp-8);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  background: var(--d-glass);
  border: 1px solid var(--d-hair);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.coach__topics-label {
  display: block; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: var(--ink-3); margin-bottom: var(--sp-3);
}
.coach__topics ul { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; }
.coach__topics li {
  font-size: var(--fs-sm); color: #fff;
  border: 1px solid rgba(120, 200, 190, .26);
  background: rgba(50, 215, 211, .07);
  padding: 8px 15px; border-radius: var(--r-pill);
}

.coach__disclaimer {
  margin-top: var(--sp-6);
  font-size: 13px; line-height: 1.65; color: var(--ink-3);
}

@media (max-width: 1040px) {
  .coach__body { grid-template-columns: 1fr; gap: var(--sp-12); }
  .coach__art { height: 520px; }
  .coach__p1 { --phone-w: 226px; left: 2%; }
  .coach__p2 { --phone-w: 192px; top: 120px; }
}
@media (max-width: 620px) {
  .coach__orb { width: 104px; height: 104px; }
  .coach__art { height: 400px; }
  .coach__p1 { --phone-w: 176px; left: 0; }
  .coach__p2 { --phone-w: 150px; top: 96px; }
}
@media (max-width: 380px) {
  .coach__art { height: 350px; }
  .coach__p1 { --phone-w: 152px; }
  .coach__p2 { --phone-w: 130px; }
}


/* === HowItHelpsSection =========================================== */
.helps { background: linear-gradient(180deg, var(--canvas), var(--mist) 60%, var(--canvas)); }

.helps__layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.helps__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  list-style: none;
  counter-reset: none;
}
.helps__step {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-3);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
}
.helps__step:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }

.helps__num {
  flex: none;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--teal);
  padding-top: 3px;
  min-width: 22px;
}
.helps__name { font-size: 15.5px; font-weight: 600; margin-bottom: 3px; color: var(--ink); }
.helps__desc { font-size: 13.5px; line-height: 1.58; color: var(--ink-2); }

.helps__art { display: flex; justify-content: center; }

@media (max-width: 1040px) {
  .helps__layout { grid-template-columns: 1fr; gap: var(--sp-12); }
  .helps__art { order: -1; }
}
@media (max-width: 620px) {
  .helps__steps { grid-template-columns: 1fr; }
}


/* === UrgeToolkitSection ========================================== */
.toolkit {
  background:
    radial-gradient(84% 58% at 16% 2%,  rgba(50, 215, 211, .09), transparent 62%),
    radial-gradient(76% 56% at 90% 88%, rgba(168, 92, 255, .08), transparent 64%),
    var(--d-ground);
  color: var(--ink);
}

.toolkit__layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.toolkit__title {
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-h2);
  color: #fff;
  text-wrap: balance;
}
.toolkit__accent { color: var(--d-teal-soft); font-weight: 300; }
.toolkit__lede {
  margin-top: var(--sp-4);
  max-width: 470px;
  font-size: var(--fs-lead);
  line-height: var(--lh-body);
  color: var(--ink-2);
  text-wrap: pretty;
}

.toolkit__tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-2);
  margin-top: var(--sp-8);
  list-style: none;
}
.toolkit__tool {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--d-hair);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}
.toolkit__tool:hover { transform: translateY(-3px); border-color: rgba(120, 200, 190, .3); }

/* The dot carries the app's per-tool accent colour — the only decoration. */
.toolkit__dot {
  flex: none; width: 9px; height: 9px; border-radius: 50%;
  margin-top: 7px;
  background: var(--tool-tint);
  box-shadow: 0 0 12px color-mix(in srgb, var(--tool-tint) 65%, transparent);
}
.toolkit__tool--teal   { --tool-tint: var(--d-teal); }
.toolkit__tool--purple { --tool-tint: var(--d-purple); }
.toolkit__tool--green  { --tool-tint: var(--d-green); }
.toolkit__tool--orange { --tool-tint: var(--d-orange); }
.toolkit__tool--blue   { --tool-tint: var(--d-blue); }

.toolkit__name { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.toolkit__sub  { font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.toolkit__note {
  margin-top: var(--sp-6);
  max-width: 470px;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--ink-3);
}

/* Three overlapping screens. */
.toolkit__art { position: relative; height: 560px; }
.toolkit__art > .phone { position: absolute; }
.toolkit__p1 { left: 0;   top: 78px; z-index: 3; }
.toolkit__p2 { left: 28%; top: 0;    z-index: 4; }
.toolkit__p3 { right: -2%; top: 108px; z-index: 2; }

@media (max-width: 1040px) {
  .toolkit__layout { grid-template-columns: 1fr; gap: var(--sp-12); }
  .toolkit__art { height: 470px; }
  .toolkit__p1 { --phone-w: 180px; top: 52px; }
  .toolkit__p2 { --phone-w: 202px; }
  .toolkit__p3 { --phone-w: 180px; top: 76px; }
}
@media (max-width: 620px) {
  .toolkit__tools { grid-template-columns: 1fr; }
  .toolkit__art { height: 360px; }
  .toolkit__p1 { --phone-w: 138px; top: 42px; }
  .toolkit__p2 { --phone-w: 156px; left: 30%; }
  .toolkit__p3 { --phone-w: 138px; top: 60px; }
}


/* === LoraEverywhereSection ======================================= */
.everywhere {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(46, 196, 182, .08), transparent 62%),
    var(--d-ground);
  color: var(--ink);
}

.everywhere__head { max-width: 660px; margin: 0 auto var(--sp-12); text-align: center; }
.everywhere__title {
  font-size: var(--fs-h2); font-weight: 600; line-height: var(--lh-snug);
  letter-spacing: var(--ls-h2); color: #fff; text-wrap: balance;
}
.everywhere__lede {
  margin-top: var(--sp-4); font-size: var(--fs-lead); line-height: var(--lh-body);
  color: var(--ink-2); text-wrap: pretty;
}

.everywhere__list {
  max-width: 900px; margin-inline: auto;
  list-style: none;
  display: flex; flex-direction: column; gap: var(--sp-4);
}

.everywhere__row {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: var(--sp-6);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--d-hair);
  border-radius: var(--r-lg);
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}
.everywhere__row:hover { transform: translateY(-3px); border-color: rgba(120, 200, 190, .3); }

.everywhere__text h3 { font-size: 16.5px; font-weight: 600; color: #fff; margin-bottom: 4px; }
.everywhere__text p  { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }

/* The crop is a slice of a real screen, so it keeps the device's corner radius
   and sits on the app's own ground colour rather than a card. */
.everywhere__shot {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(120, 200, 190, .14);
  background: var(--d-ground);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
}
.everywhere__shot img { width: 100%; height: auto; }

.everywhere__foot {
  margin-top: var(--sp-10); text-align: center;
  font-size: var(--fs-sm); color: var(--ink-3);
}

@media (max-width: 720px) {
  .everywhere__row { grid-template-columns: 1fr; gap: var(--sp-4); }
}


/* === RemembersSection ============================================ */
.remembers {
  background:
    radial-gradient(76% 52% at 22% 4%, rgba(168, 92, 255, .07), transparent 62%),
    radial-gradient(70% 50% at 84% 90%, rgba(50, 215, 211, .07), transparent 64%),
    var(--d-ground);
  color: var(--ink);
}

.remembers__head { max-width: 700px; margin: 0 auto var(--sp-16); text-align: center; }
.remembers__title {
  font-size: var(--fs-h2); font-weight: 600; line-height: var(--lh-snug);
  letter-spacing: var(--ls-h2); color: #fff; text-wrap: balance;
}
.remembers__accent { color: var(--d-teal-soft); font-weight: 300; }
.remembers__lede {
  margin-top: var(--sp-4); font-size: var(--fs-lead); line-height: var(--lh-body);
  color: var(--ink-2); text-wrap: pretty;
}

.remembers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
  max-width: 1040px;
  margin-inline: auto;
}
.remembers__card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.remembers__card .phone { margin-bottom: var(--sp-6); }
.remembers__card h3 {
  font-size: 17px; font-weight: 600; color: #fff;
  margin-bottom: var(--sp-2); text-wrap: balance;
}
.remembers__card p {
  font-size: 14px; line-height: 1.68; color: var(--ink-2);
  max-width: 300px; text-wrap: pretty;
}

.remembers__foot {
  margin-top: var(--sp-12); text-align: center;
  font-size: 13px; color: var(--ink-3);
}

@media (max-width: 900px) {
  .remembers__grid { grid-template-columns: 1fr; gap: var(--sp-16); }
  .remembers__card p { max-width: 420px; }
}


/* === PlanningSection ============================================= */
.planning { background: linear-gradient(180deg, var(--canvas), var(--mist) 50%, var(--canvas)); }

.planning__layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.planning__art { display: flex; justify-content: center; }

.planning__title {
  font-size: var(--fs-h2); font-weight: 600; line-height: var(--lh-snug);
  letter-spacing: var(--ls-h2); color: var(--ink); text-wrap: balance;
}
.planning__accent { color: var(--teal-deep); font-weight: 300; }
.planning__lede {
  margin-top: var(--sp-4); max-width: 480px;
  font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--ink-2);
  text-wrap: pretty;
}

.planning__chips {
  display: flex; flex-wrap: wrap; gap: var(--sp-2);
  margin-top: var(--sp-8); list-style: none;
}
.planning__chips li {
  font-size: 13.5px; font-weight: 500; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--teal-soft);
  padding: 10px 15px;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-fast) var(--ease), border-left-color var(--dur-fast);
}
.planning__chips li:hover { transform: translateY(-2px); border-left-color: var(--teal); }

.planning__foot {
  margin-top: var(--sp-6); max-width: 470px;
  font-size: var(--fs-sm); line-height: 1.68; color: var(--ink-2);
}

@media (max-width: 1040px) {
  .planning__layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .planning__art { order: -1; }
}


/* === ProgressSection ============================================= */
.progress { background: var(--canvas); }

/* ── Metric row ───────────────────────────────────────────────────────────── */
.progress__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  list-style: none;
  margin-bottom: clamp(56px, 8vw, 104px);
}
.progress__metric {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-1);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
}
.progress__metric:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.progress__bar {
  display: block; width: 34px; height: 4px; border-radius: 99px;
  background: var(--metric-tint); margin-bottom: var(--sp-4);
}
.progress__metric--teal   { --metric-tint: var(--teal); }
.progress__metric--purple { --metric-tint: var(--purple); }
.progress__metric--blue   { --metric-tint: var(--blue); }
.progress__metric--green  { --metric-tint: var(--green); }
.progress__metric h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.progress__metric p  { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }

/* ── Alternating story beats ──────────────────────────────────────────────── */
.progress__story { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 104px); }
.progress__beat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.progress__beat--flip .progress__text  { order: 2; }
.progress__beat--flip .progress__phone { order: 1; }

.progress__beat-title {
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.26;
  letter-spacing: -.6px;
  color: var(--ink);
  text-wrap: balance;
}
.progress__beat-body {
  margin-top: var(--sp-3);
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
}
.progress__phone { display: flex; justify-content: center; }

/* ── Felt-benefits aside ──────────────────────────────────────────────────── */
.progress__felt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(56px, 8vw, 104px);
  padding: clamp(28px, 4vw, 52px);
  background: linear-gradient(135deg, var(--mist), var(--surface-2));
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
}
.progress__felt h3 {
  font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.6px; color: var(--ink);
  margin-bottom: var(--sp-3);
}
.progress__felt p { font-size: 15.5px; line-height: 1.7; color: var(--ink-2); max-width: 520px; }

@media (max-width: 1040px) {
  .progress__metrics { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .progress__beat { grid-template-columns: 1fr; gap: var(--sp-8); }
  /* Keep the phone below the words at every beat, so the rhythm doesn't
     invert awkwardly once the columns collapse. */
  .progress__beat--flip .progress__text  { order: 0; }
  .progress__beat--flip .progress__phone { order: 0; }
  .progress__felt { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .progress__felt p { margin-inline: auto; }
}
@media (max-width: 560px) {
  .progress__metrics { grid-template-columns: 1fr; }
}


/* === ReportsSection ============================================== */
.reports { background: var(--canvas); }

.reports__pair {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 72px);
  max-width: 960px;
  margin-inline: auto;
}
.reports__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-8);
}
.reports__text h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -.6px;
  color: var(--ink);
  margin-bottom: var(--sp-3);
  text-wrap: balance;
}
.reports__text p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 400px;
  margin-inline: auto;
  text-wrap: pretty;
}

@media (max-width: 800px) {
  .reports__pair { grid-template-columns: 1fr; gap: var(--sp-16); }
}


/* === JourneySection ============================================== */
.journey { background: linear-gradient(180deg, var(--canvas), var(--mist) 70%, var(--mist)); }

.journey__paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  list-style: none;
}
.journey__path {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-1);
  border-top: 3px solid var(--teal-soft);
  transition: transform var(--dur-mid) var(--ease), box-shadow var(--dur-mid) var(--ease);
}
.journey__path:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.journey__path h3 { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: var(--sp-2); }
.journey__path p  { font-size: 14px; line-height: 1.62; color: var(--ink-2); }

.journey__line {
  margin-top: var(--sp-10);
  text-align: center;
  font-size: var(--fs-lead);
  color: var(--ink-2);
}

@media (max-width: 900px) { .journey__paths { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .journey__paths { grid-template-columns: 1fr; } }


/* === PricingSection ============================================== */
.pricing { background: var(--mist); }

.pricing__layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

/* ── Plans ────────────────────────────────────────────────────────────────── */
.pricing__panel {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  box-shadow: var(--sh-2);
}
.pricing__plans { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.pricing__plan {
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-6);
  position: relative;
}
.pricing__plan--featured {
  border-color: color-mix(in srgb, var(--teal) 45%, transparent);
  background: linear-gradient(135deg, rgba(31, 169, 156, .07), transparent 70%);
}
.pricing__flag {
  position: absolute; top: -10px; right: var(--sp-4);
  font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
  color: #fff; background: var(--teal); padding: 4px 10px; border-radius: var(--r-pill);
}
.pricing__plan h3 { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 2px; }
.pricing__price { font-size: 30px; font-weight: 600; letter-spacing: -1px; color: var(--ink); line-height: 1.2; }
.pricing__price span { font-size: 15px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.pricing__per { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

.pricing__smallprint {
  margin-top: var(--sp-4);
  font-size: 12.5px; line-height: 1.6; color: var(--ink-3);
}

/* ── Comparison table ─────────────────────────────────────────────────────── */
.pricing__compare {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-xl);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  box-shadow: var(--sh-1);
  overflow-x: auto;
}
.pricing__compare table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pricing__compare thead th {
  text-align: left; padding: var(--sp-3) var(--sp-2);
  font-size: 11.5px; font-weight: 600; letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--hair);
}
.pricing__compare thead th:not(:first-child) { text-align: center; }
.pricing__compare tbody th {
  text-align: left; font-weight: 500; color: var(--ink);
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--hair);
}
.pricing__compare tbody td {
  text-align: center; color: var(--ink-2);
  padding: var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--hair);
  white-space: nowrap;
}
.pricing__compare tbody td.is-premium { color: var(--teal-deep); font-weight: 600; }
.pricing__compare tbody tr:last-child th,
.pricing__compare tbody tr:last-child td { border-bottom: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

@media (max-width: 1100px) {
  .pricing__layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .pricing__layout { grid-template-columns: 1fr; }
  .pricing__panel, .pricing__compare { padding: var(--sp-6); }
}


/* === PrivacySection ============================================== */
.privacy {
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(50, 215, 211, .07), transparent 62%),
    var(--d-ground);
  color: var(--ink);
}
.privacy__head { max-width: 680px; margin: 0 auto var(--sp-12); text-align: center; }
.privacy__title {
  font-size: var(--fs-h2); font-weight: 600; line-height: var(--lh-snug);
  letter-spacing: var(--ls-h2); color: #fff; text-wrap: balance;
}
.privacy__accent { color: var(--d-teal-soft); font-weight: 300; }
.privacy__lede {
  margin-top: var(--sp-4); font-size: var(--fs-lead); line-height: var(--lh-body);
  color: var(--ink-2); text-wrap: pretty;
}

.privacy__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4); list-style: none;
}
.privacy__card {
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--d-hair);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: transform var(--dur-mid) var(--ease), border-color var(--dur-mid) var(--ease);
}
.privacy__card:hover { transform: translateY(-4px); border-color: rgba(120, 200, 190, .3); }
.privacy__card h3 { font-size: 15.5px; font-weight: 600; color: #fff; margin-bottom: var(--sp-2); }
.privacy__card p  { font-size: 13.5px; line-height: 1.62; color: var(--ink-2); }

.privacy__legal {
  margin-top: var(--sp-10); text-align: center;
  font-size: 13px; color: var(--ink-3);
}

@media (max-width: 1000px) { .privacy__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .privacy__grid { grid-template-columns: 1fr; } }

/* ── App Lock feature block ───────────────────────────────────────────────── */
.privacy__lock {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 88px);
  padding: clamp(28px, 4vw, 52px);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--d-hair);
  border-radius: var(--r-xl);
}
.privacy__lock h3 {
  font-size: var(--fs-h3); font-weight: 600; letter-spacing: -.6px;
  color: #fff; margin-bottom: var(--sp-3); text-wrap: balance;
}
.privacy__lock p { font-size: 15px; line-height: 1.7; color: var(--ink-2); max-width: 460px; }
.privacy__lock-note { margin-top: var(--sp-3); font-size: 13.5px; color: var(--ink-3); }

@media (max-width: 860px) {
  .privacy__lock { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .privacy__lock p { margin-inline: auto; }
}


/* === FAQ ========================================================= */
.faq { background: var(--canvas); }

.faq__list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--sp-2); }

.faq__item {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  overflow: hidden;
}
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-6);
  cursor: pointer;
  font-weight: 500; font-size: 16px; color: var(--ink);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--teal-deep); }

.faq__chev {
  flex: none; width: 10px; height: 10px;
  border-right: 1.8px solid var(--ink-3);
  border-bottom: 1.8px solid var(--ink-3);
  rotate: 45deg;
  transition: rotate var(--dur-fast) var(--ease), border-color var(--dur-fast);
}
.faq__item[open] .faq__chev { rotate: 225deg; border-color: var(--teal); }

.faq__item p {
  padding: 0 var(--sp-6) var(--sp-6);
  font-size: 14.5px; line-height: 1.72; color: var(--ink-2);
  max-width: 68ch;
}

@media (max-width: 560px) {
  .faq__item summary { padding: var(--sp-4); font-size: 15px; }
  .faq__item p { padding: 0 var(--sp-4) var(--sp-4); }
}


/* === FinalCTA ==================================================== */
.cta {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 100% at 50% 0%, #0A1A22, var(--d-ground) 68%);
  color: var(--ink);
  text-align: center;
}
.cta__glow {
  position: absolute; top: -140px; left: 50%;
  width: min(720px, 130vw); aspect-ratio: 1; translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 182, .17), transparent 66%);
  filter: blur(34px);
  animation: breathe var(--breath) var(--ease-soft) infinite;
  pointer-events: none;
}
.cta__inner { position: relative; max-width: 640px; }
.cta__orb {
  width: 116px; height: 116px; margin: 0 auto var(--sp-6);
  animation: breathe var(--breath) var(--ease-soft) infinite;
}
.cta__title {
  font-size: var(--fs-h1); font-weight: 600; line-height: var(--lh-snug);
  letter-spacing: var(--ls-h2); color: #fff; text-wrap: balance;
}
.cta__accent { color: var(--d-teal-soft); font-weight: 300; }
.cta__lede {
  margin: var(--sp-4) auto var(--sp-8);
  font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--ink-2);
  text-wrap: pretty;
}
.cta__buttons { display: flex; justify-content: center; gap: var(--sp-3); flex-wrap: wrap; }
.cta__stores { margin-top: var(--sp-4); font-size: 13px; color: var(--ink-3); }


/* === Footer ====================================================== */
.footer { background: var(--d-ground); color: var(--ink); padding-top: var(--sp-16); }

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--sp-8);
  padding-bottom: var(--sp-12);
}
.footer__lockup {
  display: inline-flex; align-items: center; gap: 11px;
  color: #fff; text-decoration: none; font-weight: 600; font-size: 16px;
  margin-bottom: var(--sp-3);
}
.footer__lockup img { border-radius: 10px; }
.footer__brand p { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); max-width: 300px; }

.footer__col h2 {
  font-size: 11.5px; font-weight: 600; letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: var(--ink-3); margin-bottom: var(--sp-4);
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer__col a { font-size: 14px; color: var(--ink-2); text-decoration: none; transition: color var(--dur-fast); }
.footer__col a:hover { color: var(--d-teal); }

.footer__base {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between; align-items: center;
  padding-block: var(--sp-6);
  border-top: 1px solid var(--d-hair);
  font-size: 12.5px; color: var(--ink-3);
}
.footer__care { color: var(--ink-3); }

@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .footer__base { flex-direction: column; align-items: flex-start; }
}

/* ── Crisis block ─────────────────────────────────────────────────────────── */
.footer__crisis {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding-bottom: var(--sp-12);
  margin-bottom: var(--sp-12);
  border-bottom: 1px solid var(--d-hair);
  scroll-margin-top: 90px;
}
.footer__crisis-intro h2 {
  font-size: 19px; font-weight: 600; color: #fff; margin-bottom: var(--sp-2);
}
.footer__crisis-intro p { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); max-width: 340px; }

.footer__crisis ul { list-style: none; display: grid; gap: var(--sp-3); }
.footer__crisis li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name contact" "desc contact";
  gap: 2px var(--sp-4);
  align-items: center;
  padding: var(--sp-4) var(--sp-6);
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--d-hair);
  border-radius: var(--r-md);
}
.footer__crisis-name    { grid-area: name; font-size: 14.5px; font-weight: 600; color: #fff; }
.footer__crisis-desc    { grid-area: desc; font-size: 12.5px; color: var(--ink-3); }
.footer__crisis-contact {
  grid-area: contact;
  font-size: 15px; font-weight: 600; color: var(--d-teal);
  text-decoration: none; white-space: nowrap;
  padding: 8px 15px; border-radius: var(--r-pill);
  border: 1px solid rgba(120, 200, 190, .3);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.footer__crisis-contact:hover { background: rgba(50, 215, 211, .12); color: #fff; }

/* ── Pending links ────────────────────────────────────────────────────────── */
.footer__pending {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: 14px; color: var(--ink-3); cursor: default;
}
.footer__pending em {
  font-style: normal; font-size: 9.5px; font-weight: 600;
  letter-spacing: .8px; text-transform: uppercase;
  color: var(--ink-3);
  border: 1px solid var(--d-hair); border-radius: var(--r-pill);
  padding: 2px 7px;
}

.footer__brand .btn { margin-top: var(--sp-4); }

@media (max-width: 860px) {
  .footer__crisis { grid-template-columns: 1fr; }
  .footer__crisis-intro p { max-width: none; }
}
@media (max-width: 480px) {
  .footer__crisis li {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "desc" "contact";
    justify-items: start; gap: var(--sp-2);
  }
}


/* === LegalPage =================================================== */
/* Legal pages: long-form reading on the app's light canvas. Deliberately plainer
   than the marketing page — the job here is legibility, not persuasion. */
.legal { background: var(--canvas); min-height: 100vh; display: flex; flex-direction: column; }

.legal__bar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 247, 246, .88);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid var(--hair);
}
.legal__bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); height: 64px;
}
.legal__brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none;
}
.legal__brand img { border-radius: 9px; }
.legal__brand span { white-space: nowrap; }
.legal__nav { display: flex; gap: var(--sp-5, 20px); }
.legal__nav a { font-size: 14px; color: var(--ink-2); text-decoration: none; }
.legal__nav a:hover { color: var(--teal-deep); }

.legal__body {
  flex: 1;
  max-width: 760px;
  padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px);
}
.legal__body h1 {
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 600; letter-spacing: -1.2px; line-height: 1.15;
  color: var(--ink); margin-bottom: var(--sp-4);
}
.legal__intro {
  font-size: 17px; line-height: 1.7; color: var(--ink-2);
  padding-bottom: var(--sp-6); border-bottom: 1px solid var(--hair);
}

.legal__notice {
  margin-top: var(--sp-6);
  padding: var(--sp-4) var(--sp-6);
  background: #FEF6E7;
  border: 1px solid #E8C98A;
  border-radius: var(--r-md);
  font-size: 14px; line-height: 1.65; color: #6B4E12;
}
.legal__notice strong { color: #5A3F08; }

.legal__gap {
  background: #FDECC8;
  color: #7A4A06;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: .94em;
  font-weight: 600;
}

.legal__section { margin-top: clamp(32px, 4vw, 48px); }
.legal__section h2 {
  font-size: 20px; font-weight: 600; letter-spacing: -.4px;
  color: var(--ink); margin-bottom: var(--sp-3);
}
.legal__section p {
  font-size: 15.5px; line-height: 1.75; color: var(--ink-2);
  margin-bottom: var(--sp-3); max-width: 68ch;
}
.legal__bullet { padding-left: var(--sp-6); position: relative; }
.legal__bullet::before {
  content: "•"; position: absolute; left: var(--sp-2); color: var(--teal);
}
.legal__address { white-space: pre-line; }

.legal__steps { counter-reset: step; list-style: none; margin: var(--sp-4) 0 var(--sp-6); }
.legal__steps li {
  counter-increment: step;
  position: relative; padding-left: 44px;
  margin-bottom: var(--sp-4);
  font-size: 15.5px; line-height: 1.7; color: var(--ink-2);
}
.legal__steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -1px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: #fff;
  font-size: 13px; font-weight: 700;
}
.legal__steps strong { color: var(--ink); font-weight: 600; }

.legal__foot {
  border-top: 1px solid var(--hair);
  padding-block: var(--sp-6);
  font-size: 13.5px; color: var(--ink-3);
}
.legal__foot .wrap { display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.legal__foot a { color: var(--teal-deep); text-decoration: none; }

@media (max-width: 560px) {
  .legal__nav { gap: var(--sp-3); }
  .legal__nav a { font-size: 13px; }
  .legal__brand span { display: none; }
}


/* === HelpPage ==================================================== */
.help__body { max-width: 820px; }

/* ── Safety block, above everything else ──────────────────────────────────── */
.help__urgent {
  margin-top: var(--sp-8);
  padding: var(--sp-6);
  background: #FFF6F2;
  border: 1px solid #F2C9B4;
  border-radius: var(--r-lg);
}
.help__urgent h2 { font-size: 17px; font-weight: 600; color: #7A3B18; margin-bottom: var(--sp-2); }
.help__urgent p  { font-size: 14px; line-height: 1.65; color: #7A4A32; max-width: 62ch; }
.help__urgent ul {
  list-style: none; display: flex; flex-wrap: wrap;
  gap: var(--sp-3); margin-top: var(--sp-4);
}
.help__urgent li { display: flex; flex-direction: column; gap: 2px; }
.help__urgent li a {
  font-size: 15px; font-weight: 700; color: #B4410F; text-decoration: none;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid #F2C9B4;
}
.help__urgent li a:hover { background: #FFEDE4; }
.help__urgent li span { font-size: 11.5px; color: #8A5C42; padding-left: 4px; }

/* ── Topic index ──────────────────────────────────────────────────────────── */
.help__toc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-3);
  margin: var(--sp-10) 0 var(--sp-4);
}
.help__toc a {
  display: flex; flex-direction: column; gap: 3px;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: var(--r-md);
  text-decoration: none;
  box-shadow: var(--sh-1);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.help__toc a:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.help__toc strong { font-size: 14.5px; color: var(--ink); font-weight: 600; }
.help__toc span   { font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }

/* ── Topics ───────────────────────────────────────────────────────────────── */
.help__topic { margin-top: clamp(36px, 5vw, 56px); scroll-margin-top: 80px; }
.help__topic > h2 {
  font-size: 20px; font-weight: 600; letter-spacing: -.4px;
  color: var(--ink); margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-3); border-bottom: 1px solid var(--hair);
}

.help__item {
  border-bottom: 1px solid var(--hair);
}
.help__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) 0;
  cursor: pointer; list-style: none;
  font-size: 15.5px; font-weight: 500; color: var(--ink);
}
.help__item summary::-webkit-details-marker { display: none; }
.help__item summary:hover { color: var(--teal-deep); }
.help__chev {
  flex: none; width: 9px; height: 9px;
  border-right: 1.7px solid var(--ink-3);
  border-bottom: 1.7px solid var(--ink-3);
  rotate: 45deg;
  transition: rotate var(--dur-fast) var(--ease), border-color var(--dur-fast);
}
.help__item[open] .help__chev { rotate: 225deg; border-color: var(--teal); }
.help__answer { padding-bottom: var(--sp-5, 20px); }
.help__answer p {
  font-size: 14.5px; line-height: 1.75; color: var(--ink-2);
  max-width: 68ch; margin-bottom: var(--sp-3);
}
.help__answer p:last-child { margin-bottom: 0; }

/* ── Contact ──────────────────────────────────────────────────────────────── */
.help__contact {
  margin-top: clamp(40px, 6vw, 64px);
  padding: var(--sp-6);
  background: var(--mist);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
}
.help__contact h2 { font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: var(--sp-2); }
.help__contact p  { font-size: 14.5px; line-height: 1.7; color: var(--ink-2); max-width: 62ch; }
.help__contact-addr { margin-top: var(--sp-3); display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.help__contact-addr a { font-weight: 600; color: var(--teal-deep); }
.help__contact-note { font-size: 13px; color: var(--ink-3); }

@media (max-width: 560px) {
  .help__urgent ul { flex-direction: column; }
}
