/* =========================================================================
   Juno landing — web styles (NEW, alongside _styles.css App-Store tokens)
   _styles.css supplies @font-face, JunoColor tokens, --shadow-card,
   --ios-sans/--ios-serif, and phone-interior styles. This file OVERRIDES
   the canvas-rendering body lock from _styles.css (1290×2796 fixed) so the
   page becomes a normal scrolling document, then layers on the web grid
   + animations + responsive rules.
   ========================================================================= */

/* =========================================================================
   RESET / OVERRIDES of _styles.css canvas rendering
   ========================================================================= */
html, body {
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  overflow-x: hidden;
  background: var(--bg-page-top, #F8F4EC);
  color: var(--c-ink, #1F1B30);
  font-family: var(--ios-sans);
  -webkit-text-size-adjust: 100%;
  line-height: 1.55;
  scroll-behavior: smooth;
}

/* Brand variables — bridge App-Store tokens to landing tokens */
:root {
  --bg-page-top:    #F8F4EC;
  --bg-page-bottom: #EFE9DC;
  --bg-hero-a:      #FBF7EE;
  --bg-hero-b:      #F2EBDC;
  --bg-lav-top:     #F4F0FB;
  --bg-lav-bot:     #ECE4F7;
  --bg-lav-wash:    #EFE7F8;
  --surface:        #FFFFFF;
  --surface-warm:   #FCF9F2;

  --c-ink:          #1F1B30;
  --c-ink-soft:     #6B637F;
  --c-ink-faint:    #9A92AE;
  --c-rule:         rgba(31,27,48,0.08);
  --c-accent:       #6E62C2;
  --c-accent-hover: #8A7FD8;
  --c-accent-soft:  #E8DCF2;
  --c-accent-deep:  #5648A6;
  --c-streak:       #E97A3F;
  --c-success:      #4FB377;

  --font-serif:     'Cochin', 'Iowan Old Style', 'Hoefler Text', 'Big Caslon', Georgia, serif;
  --font-sans:      -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', 'Inter', system-ui, sans-serif;

  --ease-out:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);

  --r-pill: 999px;
  --r-card: 18px;
  --r-card-lg: 28px;
  --r-glass: 22px;

  --mint:           #D4E8DC;
  --mint-deep:      #4A9D7E;
  --warm-yellow:    #FFF6D1;
  --warm-yellow-deep:#9C7A1C;
}

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

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: rgba(138,127,216,0.30); color: var(--c-ink); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

/* =========================================================================
   Page background — cream/lavender breathing wash
   ========================================================================= */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 18% 0%, var(--bg-hero-a) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 82% 100%, var(--bg-hero-b) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-page-top) 0%, var(--bg-page-bottom) 100%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: -10%; z-index: -1;
  background:
    radial-gradient(ellipse 30% 20% at 65% 30%, rgba(232,220,242,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 28% 22% at 25% 75%, rgba(232,220,242,0.45) 0%, transparent 70%);
  pointer-events: none;
  animation: breathe 24s ease-in-out infinite alternate;
}
@keyframes breathe {
  0%   { transform: translate3d(0,0,0)    scale(1);    opacity: 0.85; }
  100% { transform: translate3d(2%,-1%,0) scale(1.08); opacity: 1;    }
}

/* =========================================================================
   Layout primitives
   ========================================================================= */
.container { max-width: 1280px; margin-inline: auto; padding-inline: 32px; }
@media (max-width: 768px) { .container { padding-inline: 20px; } }

.serif { font-family: var(--font-serif); font-weight: 500; }
.em-italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--c-accent-deep);
  font-weight: 500;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-accent);
  margin-bottom: 14px;
}

/* =========================================================================
   Nav — preserved from v4 (transparent → frosted on scroll)
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 12px 0;
  background: rgba(248, 244, 236, 0);
  border-bottom: 1px solid transparent;
  transition: background 240ms var(--ease-out),
              border-color 240ms var(--ease-out),
              backdrop-filter 240ms,
              padding 240ms var(--ease-out);
}
.nav.scrolled {
  background: rgba(248, 244, 236, 0.78);
  border-bottom-color: var(--c-rule);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  padding: 8px 0;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 10px; height: 40px; }
.nav-brand img { height: 34px; width: auto; display: block; }
@media (max-width: 600px) { .nav-brand img { height: 28px; } }
.nav-links { display: inline-flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 14px;
  color: var(--c-ink-soft);
  font-weight: 500;
  transition: color 180ms var(--ease-out);
}
.nav-link:hover { color: var(--c-ink); }
@media (max-width: 760px) { .nav-links { display: none; } }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  font-size: 14px; font-weight: 600; color: #fff;
  background: var(--c-accent);
  border-radius: var(--r-pill);
  transition: background 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.nav-cta:hover { background: var(--c-accent-hover); transform: translateY(-1px); }
.nav-cta .arrow { transition: transform 220ms var(--ease-out); }
.nav-cta:hover .arrow { transform: translateX(3px); }

/* =========================================================================
   SECTION SYSTEM
   • Alternating text/phone columns
   • Each section ~720-900px on a 1440px viewport
   • Phones render inside .phone-scale-wrap at scale 0.42
   ========================================================================= */
.section {
  position: relative;
  padding: 88px 0;
  overflow: hidden;
}
@media (max-width: 900px) {
  .section { padding: 56px 0; }
}
.section-alt {
  background: linear-gradient(180deg, var(--bg-lav-top) 0%, var(--bg-lav-wash) 100%);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: center;
  position: relative;
}
/* Hero: top-align text so CTA stays above the fold on 768px viewports
   (the phone column is ~860px tall; centering pushed CTA below fold). */
.hero .section-grid { align-items: start; }
.hero .col-text { padding-top: 24px; }
.section-grid.flip {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
}
.section-grid.flip .col-text { order: 2; }
.section-grid.flip .col-phone { order: 1; }

@media (max-width: 1100px) {
  .section-grid { gap: 56px; }
}
@media (max-width: 900px) {
  .section-grid,
  .section-grid.flip {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .section-grid.flip .col-text { order: 1; }
  .section-grid.flip .col-phone { order: 0; }
}

.col-text {
  max-width: 540px;
}
@media (max-width: 900px) {
  .col-text { max-width: 100%; }
}

/* Section text typography */
.chip-trial {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px;
  background: var(--c-accent-soft);
  color: var(--c-accent-deep);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  border-radius: 999px;
  border: 1px solid rgba(110, 98, 194, 0.20);
  margin-bottom: 22px;
}
/* Hard-clamp the sparkle SVG — it has only a viewBox, no width/height attrs,
   so without this rule it can balloon to the parent's content-box width. */
.chip-trial svg { width: 16px; height: 16px; flex-shrink: 0; }

.col-text h1,
.col-text h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--c-ink);
  margin-bottom: 22px;
}
.col-text h1 em,
.col-text h2 em {
  font-style: italic;
  color: var(--c-accent-deep);
  font-weight: 500;
  letter-spacing: -0.022em;
}

.col-text .lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  margin-bottom: 30px;
  max-width: 500px;
}
.col-text .lede strong { color: var(--c-ink); font-weight: 600; }

/* Primary CTA button (used in hero) */
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.cta-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font-size: 15px; font-weight: 600; color: #fff;
  background: var(--c-accent);
  border-radius: var(--r-pill);
  box-shadow: 0 4px 14px -4px rgba(110,98,194,0.32);
  transition: background 200ms var(--ease-out), box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.cta-primary:hover {
  background: var(--c-accent-hover);
  box-shadow: 0 6px 22px -6px rgba(110,98,194,0.42);
  transform: translateY(-1px);
}
.cta-primary .arrow { transition: transform 220ms var(--ease-out); }
.cta-primary:hover .arrow { transform: translateX(3px); }

.cta-meta { font-size: 13.5px; color: var(--c-ink-soft); }
.cta-meta strong { color: var(--c-ink); font-weight: 600; }

.section-secondary {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px; color: var(--c-ink-soft);
  transition: color 180ms var(--ease-out);
}
.section-secondary:hover { color: var(--c-ink); }
.section-secondary .arrow { display: inline-block; transition: transform 220ms var(--ease-out); }
.section-secondary:hover .arrow { transform: translateY(2px); }

/* =========================================================================
   PHONE SCALE SYSTEM
   • Original markup from App Store HTMLs renders at 940 × 2040
   • .phone-scale-wrap holds aspect ratio + width
   • .phone-scaled applies the transform: scale(0.42)
   ========================================================================= */
.col-phone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-scale-wrap {
  position: relative;
  width: 395px;
  aspect-ratio: 940 / 2040;
  margin: 0 auto;
  /* Visible footprint = 395 × 857px. Halo + callouts can extend outside. */
}
@media (max-width: 1100px) {
  .phone-scale-wrap { width: 360px; }
}
@media (max-width: 900px) {
  .phone-scale-wrap { width: 340px; }
}
@media (max-width: 480px) {
  .phone-scale-wrap { width: 88vw; max-width: 340px; }
}

.phone-scaled {
  position: absolute;
  top: 0; left: 0;
  width: 940px;
  height: 2040px;
  transform: scale(0.42);
  transform-origin: top left;
  transform-box: fill-box;
  pointer-events: none;
}
/* Responsive scale stops match width above (width / 940 = scale) */
@media (max-width: 1100px) { .phone-scaled { transform: scale(0.383); } }
@media (max-width: 900px)  { .phone-scaled { transform: scale(0.362); } }
@media (max-width: 480px)  { .phone-scaled { transform: scale(calc(88vw / 940)); } }

/* The phone-scaled element contains the unmodified .phone / .phone-bezel / .phone-screen markup.
   We need the inner bezel to NOT have the 8° rotation from _styles.css. */
.phone-scaled .phone {
  width: 940px;
  height: 2040px;
  transform: none !important;
}
/* For sections that want a tilt, layer it on the outer wrap */
.phone-scale-wrap.tilt-cw  { transform: rotate(4deg);  transform-origin: 50% 60%; }
.phone-scale-wrap.tilt-ccw { transform: rotate(-4deg); transform-origin: 50% 60%; }

/* The status-bar text is small enough at 0.42 scale — but we need to override
   _styles.css's `overflow: hidden` on body via the wrap.
   Phone bezel + halo behind. */

/* Brand halo behind each phone */
.phone-halo {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 720px; height: 720px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 42% at 50% 50%, rgba(138, 127, 216, 0.36) 0%, transparent 65%),
    radial-gradient(ellipse 32% 26% at 75% 82%, rgba(232, 131, 110, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  animation: halo-breath 8s ease-in-out infinite alternate;
}
.phone-halo.coral {
  background:
    radial-gradient(ellipse 50% 42% at 50% 50%, rgba(255, 148, 96, 0.36) 0%, transparent 65%),
    radial-gradient(ellipse 32% 26% at 28% 80%, rgba(138, 127, 216, 0.28) 0%, transparent 70%);
}
.phone-halo.yellow {
  background:
    radial-gradient(ellipse 50% 42% at 50% 50%, rgba(245, 230, 139, 0.34) 0%, transparent 65%),
    radial-gradient(ellipse 38% 28% at 30% 78%, rgba(138, 127, 216, 0.22) 0%, transparent 70%);
}
.phone-halo.mint {
  background:
    radial-gradient(ellipse 50% 42% at 50% 50%, rgba(138, 127, 216, 0.40) 0%, transparent 65%),
    radial-gradient(ellipse 32% 26% at 28% 80%, rgba(74, 157, 126, 0.22) 0%, transparent 70%);
}
@keyframes halo-breath {
  0%   { opacity: 0.78; }
  100% { opacity: 1; }
}

/* =========================================================================
   CALLOUT SYSTEM
   • Floating chips that sit OUTSIDE the phone silhouette
   • Outer = scroll-trigger reveal (fade + scale) + base rotation
   • Inner = continuous float (gentle drift)
   ========================================================================= */
.callout {
  position: absolute;
  width: 280px;
  z-index: 6;
  transform: rotate(var(--base-rot, 0deg)) scale(0.72);
  opacity: 0;
  transition:
    transform 880ms var(--ease-out),
    opacity 720ms ease-out;
}
.callout.in {
  transform: rotate(var(--base-rot, 0deg)) scale(1);
  opacity: 1;
}
.callout-inner {
  background: var(--c-accent-soft);
  border-radius: 28px;
  padding: 20px 22px 18px;
  box-shadow:
    inset 0 0 0 1.2px rgba(255,255,255,0.85),
    0 2px 6px rgba(138,127,216,0.10),
    0 14px 32px rgba(138,127,216,0.20),
    0 32px 72px rgba(138,127,216,0.14);
  animation: callout-float 5.5s ease-in-out infinite alternate;
}
.callout.mint .callout-inner {
  background: var(--mint);
  box-shadow:
    inset 0 0 0 1.2px rgba(255,255,255,0.85),
    0 2px 6px rgba(74,157,126,0.10),
    0 14px 32px rgba(74,157,126,0.20),
    0 32px 72px rgba(74,157,126,0.14);
}
.callout.warm .callout-inner {
  background: var(--warm-yellow);
  box-shadow:
    inset 0 0 0 1.2px rgba(255,255,255,0.85),
    0 2px 6px rgba(214,174,51,0.12),
    0 14px 32px rgba(214,174,51,0.20),
    0 32px 72px rgba(214,174,51,0.14);
}
.callout-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
}
.callout.mint .callout-eyebrow { color: var(--mint-deep); }
.callout.warm .callout-eyebrow { color: var(--warm-yellow-deep); }
.callout-eyebrow .ic {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(138,127,216,0.22);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.callout.mint .callout-eyebrow .ic { background: rgba(74,157,126,0.20); }
.callout.warm .callout-eyebrow .ic { background: rgba(214,174,51,0.20); }
.callout-eyebrow .ic svg { width: 14px; height: 14px; }
.callout-body {
  margin-top: 12px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.30;
  color: var(--c-ink);
}
.callout-body em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--c-accent-deep);
  font-weight: 500;
}
.callout.mint .callout-body em { color: var(--mint-deep); }
.callout.warm .callout-body em { color: var(--warm-yellow-deep); }
.callout-body .stat {
  color: var(--c-accent-deep);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

@keyframes callout-float {
  0%   { transform: translateY(0)    rotate(0deg); }
  100% { transform: translateY(-6px) rotate(0.8deg); }
}

/* Callout positioning helpers — relative to .col-phone.
   Negative offsets pull the callout into the section's negative-space gutter,
   beyond the phone silhouette. Per editorial review: callouts must NOT overlap
   the phone bezel/screen content — they live in the cream/lavender flank.
   Constraint: TL/BL aggressive (left edge of viewport has cream gutter);
   TR/BR moderate (right side may be near viewport edge on phone-right sections). */
/* Push TL/BL further into the LEFT gutter so callouts clear the phone bezel.
   Cap with min margin-left so the first character is never clipped at viewport edge.
   BR/TR sit moderately past the phone right edge — slight overlap with phone bottom-right
   is intentional (matches App Store deck composition) but pushed further out than v1. */
.callout.tl { top: 4%;  left: -34%; margin-left: max(0px, 24px); }
.callout.tr { top: 4%;  right: -18%; margin-right: max(0px, 24px); }
.callout.bl { bottom: 8%; left: -34%; margin-left: max(0px, 24px); }
.callout.br { bottom: 8%; right: -18%; margin-right: max(0px, 24px); }

@media (max-width: 1280px) {
  .callout.tl { left: -22%; }
  .callout.tr { right: -10%; }
  .callout.bl { left: -22%; }
  .callout.br { right: -10%; }
}
@media (max-width: 1100px) {
  .callout { width: 240px; }
  .callout-body { font-size: 15px; }
  .callout-body .stat { font-size: 20px; }
}
@media (max-width: 900px) {
  /* On mobile, callouts move BELOW the phone as a horizontal row */
  .callout {
    position: relative;
    width: auto;
    max-width: 340px;
    margin: 14px auto 0;
    transform: rotate(0deg) scale(1) !important;
    opacity: 1 !important;
    left: auto !important; right: auto !important;
    top: auto !important; bottom: auto !important;
  }
  .callout-inner { animation: none; }
}

/* =========================================================================
   §1 HERO — text-left / phone-right (extra padding-top for sticky nav)
   ========================================================================= */
.hero {
  padding: 110px 0 80px;
  display: flex; align-items: flex-start;
}
@media (max-width: 900px) {
  .hero { padding: 96px 0 48px; }
}
.hero .col-text h1 { font-size: clamp(44px, 5.8vw, 76px); }

/* Hero social-proof row — sits directly under the CTA so 4.8★ earns the click
   instead of validating it 11,000px later. Per conversion review. */
.hero-proof {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
.hero-proof .hp-stars {
  color: #F4B042;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 1;
}
.hero-proof .hp-rating strong { color: var(--c-ink); font-weight: 600; }
.hero-proof .hp-sep { color: var(--c-ink-faint); opacity: 0.6; }
.hero-proof .hp-quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--c-ink);
  font-size: 14px;
}
@media (max-width: 600px) {
  .hero-proof .hp-quote { font-size: 13px; }
  .hero-proof { gap: 8px; }
}

/* Inline mid-page CTAs — break the CTA desert between hero and closer.
   Per conversion review: ~14 viewports of scrolling with no inline CTA.
   Drop in after §4 (Monthly Review) and §7 (Goals + Tasks). */
.inline-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  padding: 28px 0 8px;
}
.inline-cta .cta-primary { padding: 13px 24px; font-size: 14.5px; }
.inline-cta .cta-meta { font-size: 13px; color: var(--c-ink-soft); }
.inline-cta .cta-meta strong { color: var(--c-ink); font-weight: 600; }

/* Sticky mobile CTA — visible after the hero is out of view, hidden over the closer */
.mobile-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 18px;
  background: rgba(255, 250, 240, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(110, 98, 194, 0.20);
  border-radius: 22px;
  box-shadow:
    0 10px 32px -10px rgba(31, 27, 48, 0.22),
    0 2px 8px -2px rgba(31, 27, 48, 0.10);
  color: var(--c-ink);
  opacity: 0;
  transform: translateY(140%);
  transition: transform 420ms var(--ease-out), opacity 320ms var(--ease-out);
  pointer-events: none;
}
.mobile-cta.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.mobile-cta .mc-text {
  flex: 1; display: flex; flex-direction: column; line-height: 1.18;
}
.mobile-cta .mc-line1 {
  font-size: 15px; font-weight: 600; color: var(--c-ink);
}
.mobile-cta .mc-line2 {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--c-accent);
  margin-top: 2px;
}
.mobile-cta .mc-arrow {
  font-size: 14px; color: var(--c-accent);
}
@media (min-width: 901px) { .mobile-cta { display: none !important; } }
@media (prefers-reduced-motion: reduce) {
  .mobile-cta { transition: opacity 200ms linear; transform: none; }
  .mobile-cta:not(.show) { transform: none; opacity: 0; }
}

/* =========================================================================
   §4 MONTHLY REVIEW — full-width centered, 3-phone fan
   ========================================================================= */
.section.mr {
  padding: 104px 0 88px;
}
.mr-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.mr-header .chip-trial { margin-bottom: 22px; }
.mr-header h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--c-ink);
  margin-bottom: 18px;
}
.mr-header h2 em { font-style: italic; color: var(--c-accent-deep); font-weight: 500; }
.mr-header .lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  max-width: 540px;
  margin: 0 auto;
}

/* 3-phone fan stage on the page (uses the App Store .mr-phone markup) */
.mr-fan {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 720px;
  margin: 0 auto 56px;
}
.mr-fan-inner {
  position: relative;
  width: 1100px;
  height: 1100px;
  transform: scale(0.65);
  transform-origin: top center;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .mr-fan { height: 600px; }
  .mr-fan-inner { transform: scale(0.55); }
}
@media (max-width: 768px) {
  .mr-fan { height: 480px; }
  .mr-fan-inner { transform: scale(0.42); }
}
@media (max-width: 480px) {
  .mr-fan { height: 380px; }
  .mr-fan-inner { transform: scale(0.32); }
}
/* Strip the absolute-positioning from .phone-fan-stage so it can flow in the page */
.mr-fan .phone-fan-stage {
  position: relative !important;
  top: 0 !important;
  inset: auto !important;
  width: 1100px !important;
  height: 1100px !important;
  left: 0 !important; right: 0 !important;
}

/* "Inside every review" bullet grid (web — 2 columns) */
.mr-bullets {
  max-width: 880px;
  margin: 0 auto;
}
.mr-bullets .eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-deep);
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
}
.mr-bullets .eyebrow .star { font-size: 18px; color: var(--c-accent); }
.mr-bullets .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  row-gap: 14px;
}
@media (max-width: 760px) {
  .mr-bullets .grid { grid-template-columns: 1fr; column-gap: 0; }
}
.mr-bullets .item {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: var(--font-sans);
  line-height: 1.42;
}
.mr-bullets .item .dot {
  flex-shrink: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  margin-top: 11px;
}
.mr-bullets .item .label {
  font-weight: 700;
  font-size: 16px;
  color: var(--c-ink);
  margin-right: 6px;
  white-space: nowrap;
}
.mr-bullets .item .desc {
  font-weight: 400;
  font-size: 15.5px;
  color: var(--c-ink-soft);
}
.mr-bullets .item .row {
  flex: 1;
  display: flex; flex-wrap: wrap; align-items: baseline;
}

/* =========================================================================
   §7 GOALS + TASKS — pair of phones, centered
   ========================================================================= */
.section.gt .gt-pair {
  position: relative;
  max-width: 900px;
  height: 720px;
  margin: 0 auto;
}
.section.gt .gt-pair-inner {
  position: relative;
  width: 1240px;
  height: 1100px;
  transform: scale(0.62);
  transform-origin: top center;
  margin: 0 auto;
  left: 50%;
  margin-left: -620px;
}
.section.gt .gt-pair-inner .phone-pair-stage {
  position: relative !important;
  bottom: auto !important;
  left: 0 !important; right: 0 !important;
}
@media (max-width: 1100px) {
  .section.gt .gt-pair { height: 620px; }
  .section.gt .gt-pair-inner { transform: scale(0.52); }
}
@media (max-width: 768px) {
  .section.gt .gt-pair { height: 480px; }
  .section.gt .gt-pair-inner { transform: scale(0.38); }
}
@media (max-width: 480px) {
  .section.gt .gt-pair { height: 360px; }
  .section.gt .gt-pair-inner { transform: scale(0.28); }
}
.section.gt .gt-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.section.gt .gt-header h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(38px, 5.0vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.016em;
  color: var(--c-ink);
  margin-bottom: 16px;
}
.section.gt .gt-header h2 em { font-style: italic; color: var(--c-accent-deep); font-weight: 500; }
.section.gt .gt-header .lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--c-ink-soft);
}

/* =========================================================================
   §8 STREAK + BADGES — two phones, one large + one small with image embeds
   ========================================================================= */
/* §8 Streak — add soft lavender/cream wash so phones don't disappear into the page bg
   (Designer C flagged: lavender phones on lavender BG had no silhouette). */
.section.sb {
  background:
    radial-gradient(ellipse 55% 60% at 35% 50%, rgba(232, 220, 242, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 50% 55% at 65% 50%, rgba(255, 245, 232, 0.45) 0%, transparent 65%);
}
.section.sb .phone-halo {
  background: radial-gradient(circle, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.18) 45%, transparent 72%);
}
.section.sb .sb-pair {
  position: relative;
  width: 100%;
  height: 700px;
  max-width: 540px;
  margin: 0 auto;
}
.section.sb .sb-pair-inner {
  position: relative;
  width: 1290px;
  height: 1100px;
  transform: scale(0.5);
  transform-origin: top center;
  margin: 0 auto;
  left: 50%;
  margin-left: -645px;
}
.section.sb .sb-pair-inner .phone-pair-stage {
  position: relative !important;
  inset: auto !important;
  width: 1290px !important;
  height: 1100px !important;
}
@media (max-width: 1100px) {
  .section.sb .sb-pair { height: 600px; }
  .section.sb .sb-pair-inner { transform: scale(0.43); }
}
@media (max-width: 900px) {
  .section.sb .sb-pair { height: 540px; }
  .section.sb .sb-pair-inner { transform: scale(0.38); }
}
@media (max-width: 480px) {
  .section.sb .sb-pair { height: 380px; }
  .section.sb .sb-pair-inner { transform: scale(0.26); }
}

/* =========================================================================
   §FOUNDER NOTE — preserved from v4
   ========================================================================= */
.founder-section {
  padding: 96px 0;
  background: linear-gradient(180deg, transparent 0%, var(--bg-lav-top) 60%, transparent 100%);
}
@media (max-width: 768px) { .founder-section { padding: 64px 0; } }
.founder-card {
  display: flex; align-items: center; gap: 36px;
  max-width: 880px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: 28px;
  padding: 44px 48px;
  box-shadow:
    0 1px 3px rgba(138,127,216,0.06),
    0 18px 48px rgba(138,127,216,0.14);
}
@media (max-width: 768px) {
  .founder-card {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
    gap: 22px;
  }
}
.founder-photo {
  flex-shrink: 0;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--bg-lav-top) url('assets/images/founder-liam.png') 22% center / cover no-repeat;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.6), 0 6px 18px rgba(138,127,216,0.22);
}
@media (max-width: 768px) { .founder-photo { width: 96px; height: 96px; } }
.founder-text { flex: 1; }
.founder-text .eyebrow { margin-bottom: 10px; font-size: 12px; }
.founder-text .quote {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.34;
  letter-spacing: -0.008em;
  color: var(--c-ink);
  margin-bottom: 14px;
}
.founder-text .quote .em-italic { font-weight: 500; }
.founder-text .signature {
  font-size: 14px;
  color: var(--c-ink-soft);
  display: block;
  margin-bottom: 10px;
}
.founder-text .read-more {
  display: inline-block;
  font-size: 14px;
  color: var(--c-accent-deep);
  font-weight: 600;
  margin-top: 4px;
  transition: color 200ms var(--ease-out);
}
.founder-text .read-more:hover { color: var(--c-accent); }
.founder-text .read-more .arrow { display: inline-block; transition: transform 220ms var(--ease-out); }
.founder-text .read-more:hover .arrow { transform: translateX(3px); }

/* =========================================================================
   §TESTIMONIALS — preserved from v4
   ========================================================================= */
.section.testimonials-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section.testimonials-section h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin-bottom: 14px;
}
.section.testimonials-section h2 em { font-style: italic; color: var(--c-accent-deep); font-weight: 500; }
.section.testimonials-section .desc {
  font-size: 17px;
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 18px; max-width: 560px; }
}
.t-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow:
    0 1px 3px rgba(138,127,216,0.06),
    0 12px 32px rgba(138,127,216,0.12);
  display: flex; flex-direction: column;
  gap: 22px;
}
.t-card .quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  color: var(--c-ink);
}
.t-card .person {
  display: flex; align-items: center; gap: 14px;
}
.t-card .person img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.6);
}
.t-card .person .name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--c-ink);
}
.t-card .person .role {
  font-size: 13px;
  color: var(--c-ink-soft);
  margin-top: 1px;
}

/* =========================================================================
   §CTA CLOSER — slot 10
   ========================================================================= */
.cta-closer {
  position: relative;
  padding: 110px 0 130px;
  text-align: center;
  overflow: hidden;
}
.cta-closer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(138, 127, 216, 0.30) 0%, transparent 58%),
    radial-gradient(ellipse at 50% 70%, rgba(232, 131, 110, 0.16) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}
.cta-closer .free-pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--c-accent-soft);
  color: var(--c-accent-deep);
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.7),
    0 2px 10px rgba(138, 127, 216, 0.16);
  margin-bottom: 28px;
}
.cta-closer .free-pill svg { width: 16px; height: 16px; }

.cta-closer .hero-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.020em;
  color: var(--c-ink);
  margin-bottom: 18px;
}
.cta-closer .hero-text em { font-style: italic; color: var(--c-accent-deep); font-weight: 500; }
.cta-closer .hero-sub {
  font-size: 18px;
  color: var(--c-ink-soft);
  line-height: 1.45;
  margin-bottom: 8px;
}
.cta-closer .hero-sub strong { color: var(--c-ink); font-weight: 600; }

.cta-closer .mascot-wrap {
  margin: 16px auto 4px;
  width: 280px; height: 280px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 22px 44px rgba(138, 127, 216, 0.30));
}
.cta-closer .mascot-wrap img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 600px) {
  .cta-closer .mascot-wrap { width: 220px; height: 220px; }
}

.cta-closer .stars-row {
  margin-top: 4px;
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--c-ink-soft);
}
.cta-closer .stars-row .star-row { display: flex; gap: 4px; }
.cta-closer .stars-row .star { color: #F4B042; font-size: 22px; line-height: 1; }
.cta-closer .stars-row strong { color: var(--c-ink); font-weight: 700; }

.cta-closer .compact-testimonials {
  margin: 40px auto 36px;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .cta-closer .compact-testimonials { grid-template-columns: 1fr; max-width: 480px; }
}
.cta-closer .compact-testimonials .mini {
  background: var(--surface);
  border-radius: 18px;
  padding: 22px 22px;
  box-shadow:
    0 1px 3px rgba(138,127,216,0.06),
    0 10px 24px rgba(138,127,216,0.10);
  text-align: left;
}
.cta-closer .compact-testimonials .mini .q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16.5px;
  line-height: 1.4;
  color: var(--c-ink);
  margin-bottom: 14px;
}
.cta-closer .compact-testimonials .mini .by {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px;
  color: var(--c-ink-soft);
}
.cta-closer .compact-testimonials .mini .by img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.cta-closer .compact-testimonials .mini .by strong { color: var(--c-ink); font-weight: 700; }

.cta-closer .big-cta {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--c-accent-deep);
  color: white;
  border-radius: 50px;
  padding: 22px 38px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.01em;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 6px 14px rgba(58, 50, 130, 0.30),
    0 18px 40px rgba(110, 98, 194, 0.40),
    0 38px 80px rgba(110, 98, 194, 0.32);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
.cta-closer .big-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.22),
    0 8px 18px rgba(58, 50, 130, 0.34),
    0 22px 48px rgba(110, 98, 194, 0.46),
    0 42px 88px rgba(110, 98, 194, 0.38);
}
.cta-closer .big-cta .arrow { transition: transform 220ms var(--ease-out); }
.cta-closer .big-cta:hover .arrow { transform: translateX(4px); }

.cta-closer .fineprint {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--c-ink-soft);
}
.cta-closer .fineprint .dot { margin: 0 8px; opacity: 0.55; }

/* =========================================================================
   FOOTER — preserved from v4
   ========================================================================= */
.footer {
  padding: 80px 0 60px;
  text-align: center;
  border-top: 1px solid var(--c-rule);
  background: linear-gradient(180deg, transparent 0%, rgba(244,240,251,0.5) 100%);
}
.footer .footer-row {
  display: flex; align-items: center; justify-content: center;
  gap: 36px; margin: 0 auto 36px;
  flex-wrap: wrap;
}
@media (max-width: 600px) { .footer .footer-row { gap: 24px; } }
.footer .app-badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 24px;
  background: #000; color: white;
  border-radius: 14px;
  box-shadow: 0 8px 22px -4px rgba(15,15,30,0.30);
  transition: transform 200ms var(--ease-out);
}
.footer .app-badge:hover { transform: translateY(-1px); }
.footer .app-badge svg { width: 28px; height: 28px; }
.footer .app-badge .label-row { display: flex; flex-direction: column; line-height: 1.0; text-align: left; }
.footer .app-badge .small { font-size: 11px; font-weight: 500; opacity: 0.85; }
.footer .app-badge .large { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.footer .qr-block {
  display: inline-flex; align-items: center; gap: 14px;
  text-align: left;
}
.footer .qr-block img {
  width: 80px; height: 80px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15,15,30,0.10);
  background: white;
  padding: 4px;
}
.footer .qr-text { font-size: 12.5px; color: var(--c-ink-soft); }
.footer .qr-text strong { color: var(--c-ink); font-weight: 700; display: block; }

.site-footer-credits {
  padding: 28px 0 0;
  text-align: center;
  font-size: 13px;
  color: var(--c-ink-faint);
  border-top: 1px solid var(--c-rule);
}
.site-footer-credits .footer-logo {
  display: block;
  margin: 24px auto 14px;
  height: 28px;
  width: auto;
  opacity: 0.85;
}
.site-footer-credits .row1 {
  color: var(--c-ink-soft);
  margin-bottom: 10px;
}
.site-footer-credits .legal {
  display: inline-flex; gap: 10px; align-items: center;
  flex-wrap: wrap; justify-content: center;
}
.site-footer-credits .legal a {
  color: var(--c-ink-soft);
  transition: color 180ms var(--ease-out);
}
.site-footer-credits .legal a:hover { color: var(--c-ink); }
.site-footer-credits .dot { opacity: 0.4; }

/* =========================================================================
   REVEAL ANIMATIONS (ported from v4 + extended)
   ========================================================================= */
.reveal-heading {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
}
.reveal-heading.in {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  transition:
    opacity 700ms var(--ease-out),
    filter 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}

.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in {
  opacity: 1; transform: translateY(0);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-stagger > * { opacity: 0; transform: translateY(14px); }
.reveal-stagger.in > * {
  opacity: 1; transform: translateY(0);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
}
.reveal-stagger.in > *:nth-child(1) { transition-delay: 80ms; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 160ms; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 240ms; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 320ms; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 400ms; }

/* Phone reveal — opacity + scale up + shadow grow */
.reveal-phone {
  opacity: 0;
  transform: scale(0.92);
}
.reveal-phone.in {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity 900ms var(--ease-out),
    transform 1100ms var(--ease-out);
}

/* =========================================================================
   REDUCED MOTION — gate every transform animation
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .phone-halo { animation: none; }
  .callout-inner { animation: none; }
  .reveal-heading,
  .reveal,
  .reveal-stagger > *,
  .reveal-phone,
  .callout {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .callout { transform: rotate(var(--base-rot, 0deg)) scale(1) !important; }
}

/* =========================================================================
   Hero rich-phone overrides — when slot 1's interior loads at scale 0.42, the
   in-phone .greeting mascot uses position:absolute via _styles.css default.
   Nothing extra needed; _styles.css carries the styles. We just preserve
   the inner geometry by holding width 940 fixed in .phone-scaled.
   ========================================================================= */

/* Ensure tab bars use absolute positioning within their phone frames */
.phone-scaled .tab-bar { left: 37px; right: 37px; }

/* Print */
@media print {
  .nav { display: none !important; }
  body::after { display: none !important; }
}
