:root {
  --primary: #173c32;
  --primary-hover: #0f2e26;
  --cream: #fbf4e7;
  --sage: #e7efe9;
  --peach: #f6dcd1;
  --yellow: #f3c966;
  --text: #40534c;
  --white: #fff;
  --danger-soft: #fbe9e2;
  --danger-text: #8a352c;
  --line: rgba(23, 60, 50, .14);
  --shadow: 0 28px 70px rgba(23, 60, 50, .12);
  --max: 1200px;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--cream);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--cream); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; border-radius: 8px; }
[id] { scroll-margin-top: 112px; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 12px 16px; transform: translateY(-150%); color: var(--white); background: var(--primary); }
.skip-link:focus { transform: translateY(0); }
.section { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; padding: 112px 0; }
.eyebrow { margin: 0 0 18px; color: var(--primary); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 4px; height: 4px; margin: 0 9px 3px; border-radius: 50%; background: var(--yellow); }
.eyebrow.light { color: #d8e5de; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--primary); font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -.035em; }
h1 { margin-bottom: 24px; font-size: clamp(3rem, 6vw, 5.4rem); line-height: .99; }
h2 { margin-bottom: 20px; font-size: clamp(2.45rem, 4.6vw, 4.3rem); line-height: 1.04; }
h3 { color: var(--primary); font-size: 1.22rem; line-height: 1.35; }
p { font-size: 1rem; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 1px solid var(--primary); border-radius: 999px; color: var(--white); background: var(--primary); font-size: .91rem; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--primary-hover); box-shadow: 0 12px 28px rgba(23, 60, 50, .22); }
.button-small { min-height: 46px; padding-inline: 20px; font-size: .8rem; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--primary); font-weight: 800; border-bottom: 1px solid var(--primary); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(23, 60, 50, .08); background: rgba(251, 244, 231, .94); backdrop-filter: blur(18px); }
.nav-shell { display: flex; align-items: center; gap: 24px; width: min(1320px, calc(100% - 48px)); min-height: 82px; margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark { position: relative; display: grid; width: 44px; height: 44px; place-items: center; overflow: hidden; border-radius: 50% 50% 45% 55%; background: var(--primary); transform: rotate(-6deg); }
.brand-mark::before, .brand-mark::after, .brand-mark span::before { content: ""; position: absolute; width: 13px; height: 22px; border-radius: 50% 50% 45% 45%; background: var(--cream); transform-origin: bottom center; }
.brand-mark::before { transform: rotate(-38deg); bottom: 11px; left: 11px; }
.brand-mark::after { transform: rotate(38deg); bottom: 11px; right: 11px; }
.brand-mark span::before { bottom: 8px; left: 15px; width: 14px; height: 17px; }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { color: var(--primary); font-family: "Fraunces", serif; font-size: 1.18rem; }
.brand-copy small { margin-top: 1px; color: var(--text); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.desktop-nav { display: flex; justify-content: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; }
.desktop-nav a { display: grid; min-height: 44px; place-items: center; color: #385148; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover { color: var(--primary); }
.header-cta { margin-left: 8px; }
.menu-button, .mobile-menu { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); align-items: center; gap: clamp(48px, 7vw, 96px); min-height: calc(100svh - 82px); padding-top: 72px; }
.hero-copy { position: relative; z-index: 2; }
.hero-lead { max-width: 650px; margin-bottom: 30px; color: var(--text); font-size: 1.15rem; line-height: 1.7; }
.trust-line { margin: 24px 0 0; color: var(--primary); font-size: .78rem; font-weight: 700; }
.trust-line > span { display: inline-grid; width: 22px; height: 22px; margin-right: 7px; place-items: center; border-radius: 50%; background: var(--sage); }
.trust-line b { margin: 0 5px; color: #96a59f; }
.hero-visual { position: relative; min-height: 660px; }
.organic-frame { position: absolute; inset: 0 0 38px 9%; overflow: hidden; border-radius: 44% 56% 41% 59% / 52% 38% 62% 48%; background: var(--sage); box-shadow: var(--shadow); }
.organic-frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.organic-frame img { width: 100%; height: 100%; object-fit: cover; }
.phone { color: var(--text); border: 8px solid #152b24; border-radius: 38px; background: #f7faf7; box-shadow: 0 28px 70px rgba(10, 35, 27, .26); overflow: hidden; }
.phone-hero { position: absolute; left: -3%; bottom: 0; width: 252px; min-height: 490px; padding: 13px 14px 18px; transform: rotate(-3deg); }
.phone-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 5px 10px; color: #162d25; font-size: .58rem; font-weight: 800; }
.phone-bar i { width: 52px; height: 14px; border-radius: 99px; background: #152b24; }
.app-logo-row { display: flex; align-items: center; justify-content: space-between; gap: 7px; font-size: .65rem; }
.app-logo-row strong { margin-right: auto; color: var(--primary); }
.app-mini-logo { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 9px; color: white; background: var(--primary); font-family: "Fraunces", serif; }
.app-welcome { margin: 16px 0 10px; padding: 15px; border-radius: 20px; background: var(--sage); }
.app-welcome small, .app-next > span { color: #658078; font-size: .48rem; font-weight: 800; letter-spacing: .12em; }
.app-welcome h2 { margin: 5px 0 3px; font-size: 1.45rem; }
.app-welcome p, .app-next small { margin: 0; font-size: .58rem; line-height: 1.45; }
.app-next { display: flex; flex-direction: column; gap: 6px; padding: 15px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.app-next strong { color: var(--primary); font-size: .75rem; }
.app-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 9px; }
.app-grid span { padding: 10px 5px; border-radius: 13px; background: var(--cream); font-size: .45rem; text-align: center; }
.app-grid b { display: block; margin-bottom: 3px; color: var(--primary); font-size: .75rem; }
.doctor-float { position: absolute; right: -3%; bottom: 22px; display: flex; align-items: center; gap: 11px; width: 242px; padding: 10px; border: 1px solid rgba(255,255,255,.8); border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: 0 16px 38px rgba(23,60,50,.18); }
.doctor-float img { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 15px; object-fit: cover; object-position: top; }
.doctor-float p { margin: 0; color: var(--text); font-size: .67rem; line-height: 1.45; }
.doctor-float strong { color: var(--primary); }

.question-section { padding-top: 92px; }
.section-heading { max-width: 800px; margin-bottom: 44px; }
.section-heading > p:last-child { max-width: 650px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.question-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.question-card { display: flex; min-height: 320px; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: rgba(255,255,255,.56); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.question-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: 0 22px 48px rgba(23,60,50,.11); }
.question-card:nth-child(2) { background: var(--sage); }
.question-card:nth-child(3) { background: #f9e9c8; }
.question-card.question-urgent { background: var(--danger-soft); }
.line-icon { display: grid; width: 48px; height: 48px; margin-bottom: 32px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--primary); font-size: .72rem; font-weight: 800; }
.question-card h3 { font-family: "Fraunces", serif; font-size: 1.55rem; }
.question-card p { color: var(--text); font-size: 1rem; }
.question-card b { margin-top: auto; color: var(--primary); font-size: .78rem; }
.question-card b span { float: right; }

.timeline-section { position: relative; overflow: hidden; color: #d9e4df; background: var(--primary); }
.timeline-section::before { content: ""; position: absolute; width: 560px; height: 560px; left: -230px; bottom: -290px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.timeline-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 90px; }
.timeline-copy h2 { max-width: 730px; color: var(--white); }
.timeline-copy > p:not(.eyebrow) { max-width: 620px; color: #bad0c8; }
.stage-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0; }
.stage-tabs button { min-height: 44px; padding: 0 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #c5d7d1; background: transparent; cursor: pointer; }
.stage-tabs button[aria-selected="true"] { color: var(--primary); background: var(--yellow); border-color: var(--yellow); font-weight: 800; }
.stage-panel { max-width: 660px; min-height: 245px; padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 26px; background: rgba(255,255,255,.06); }
.stage-kicker { margin-bottom: 8px; color: var(--yellow); font-size: .7rem; font-weight: 800; letter-spacing: .13em; }
.stage-panel h3 { margin-bottom: 15px; color: var(--white); font-family: "Fraunces", serif; font-size: 1.8rem; }
.stage-panel ul { display: grid; gap: 9px; margin: 0; padding-left: 19px; color: #d8e4df; font-size: .9rem; line-height: 1.55; }
.timeline-device { display: grid; place-items: center; }
.phone-stage { width: 330px; min-height: 610px; padding: 16px; transform: rotate(2deg); }
.stage-screen-art { display: grid; height: 180px; margin: 18px 0; place-content: center; border-radius: 28px; color: var(--primary); background: var(--peach); text-align: center; transition: background .2s ease; }
.stage-screen-art span { font-family: "Fraunces", serif; font-size: 3.8rem; line-height: .9; }
.stage-screen-art small { margin-top: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.screen-label { margin: 0; color: #789087; font-size: .58rem; font-weight: 800; letter-spacing: .12em; }
.phone-stage > h3 { margin: 4px 0 13px; font-family: "Fraunces", serif; font-size: 1.45rem; }
.screen-task { display: flex; gap: 10px; margin-top: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.screen-task > span { display: grid; width: 28px; height: 28px; flex: 0 0 auto; place-items: center; border-radius: 50%; color: var(--primary); background: var(--sage); font-size: .67rem; font-weight: 800; }
.screen-task p { margin: 0; font-size: .63rem; line-height: 1.35; }
.screen-task strong, .screen-task small { display: block; }
.screen-task small { margin-top: 2px; color: #71857e; }

.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.benefit-card { display: flex; min-height: 520px; flex-direction: column; overflow: hidden; border-radius: 32px; background: var(--white); }
.benefit-card > :not(img, .warning-preview) { margin-inline: 30px; }
.benefit-number { margin-top: 30px; color: var(--primary); font-size: .7rem; font-weight: 800; }
.benefit-card h3 { margin-top: 22px; margin-bottom: 8px; font-family: "Fraunces", serif; font-size: 1.8rem; }
.benefit-card p { font-size: 1rem; }
.benefit-card img { width: calc(100% - 28px); height: 235px; margin: auto 14px 14px; border-radius: 22px; object-fit: cover; }
.benefit-know { background: var(--sage); }
.benefit-remember { background: var(--peach); }
.benefit-act { background: #f4e6c3; }
.warning-preview { display: flex; min-height: 238px; flex-direction: column; justify-content: center; gap: 12px; margin: auto 14px 14px; padding: 26px; border-radius: 22px; color: #f8e7df; background: var(--danger-text); }
.warning-preview span { font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.warning-preview strong { color: white; font-family: "Fraunces", serif; font-size: 1.5rem; line-height: 1.2; }
.warning-preview small { line-height: 1.5; }

.sleep-section { color: var(--text); background: var(--sage); }
.sleep-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(48px, 7vw, 96px); }
.sleep-visual { position: relative; min-height: 650px; }
.sleep-visual::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border: 1px solid rgba(23,60,50,.22); border-radius: 42% 58% 48% 52% / 53% 39% 61% 47%; }
.sleep-visual img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 42% 58% 48% 52% / 53% 39% 61% 47%; object-fit: cover; object-position: 48% center; box-shadow: var(--shadow); }
.sleep-caption { position: absolute; right: -20px; bottom: 34px; max-width: 255px; padding: 16px 18px; border-radius: 18px; color: var(--white); background: var(--primary); font-size: .76rem; font-weight: 700; line-height: 1.5; box-shadow: 0 16px 38px rgba(23,60,50,.2); }
.sleep-copy > p:not(.eyebrow) { max-width: 650px; }
.sleep-rules { display: grid; gap: 8px; margin: 28px 0; }
.sleep-rules article { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.sleep-rules article:last-child { border-bottom: 1px solid var(--line); }
.sleep-rules article > span { display: grid; width: 38px; height: 38px; flex: 0 0 auto; place-items: center; border: 1px solid var(--primary); border-radius: 50%; color: var(--primary); font-size: .66rem; font-weight: 800; }
.sleep-rules h3 { margin: 0 0 4px; font-family: "Fraunces", serif; font-size: 1.22rem; }
.sleep-rules p { margin: 0; font-size: 1rem; line-height: 1.55; }
.sleep-actions { display: flex; align-items: center; gap: 18px; }
.sleep-actions > p { max-width: 300px; margin: 0; font-size: .74rem; line-height: 1.5; }
.sleep-actions > p a { color: var(--primary); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.inside-section { padding-top: 80px; }
.feature-bento { display: grid; grid-template-columns: 1.18fr .82fr; grid-template-areas: "learn track" "learn act"; gap: 18px; }
.feature-group { position: relative; overflow: hidden; min-height: 390px; padding: 38px; border: 1px solid var(--line); border-radius: 34px; background: var(--white); }
.feature-learn { grid-area: learn; min-height: 798px; color: #d6e3dd; background: var(--primary); }
.feature-track { grid-area: track; background: var(--sage); }
.feature-act { grid-area: act; background: var(--peach); }
.group-label { display: inline-flex; margin-bottom: 34px; padding: 7px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.feature-group h3 { max-width: 520px; margin-bottom: 25px; font-family: "Fraunces", serif; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.feature-learn h3 { color: var(--white); }
.feature-group ul { display: grid; gap: 10px; margin: 0; padding-left: 19px; font-size: .9rem; line-height: 1.5; }
.feature-group img { position: absolute; right: 24px; bottom: 24px; width: 43%; height: 165px; border-radius: 22px; object-fit: cover; }
.reader-mini { position: absolute; right: -5%; bottom: -3%; width: 70%; min-height: 360px; padding: 42px; border-radius: 38px 0 0 0; color: var(--text); background: var(--cream); box-shadow: -20px -20px 60px rgba(0,0,0,.15); transform: rotate(-3deg); }
.reader-mini span { color: #6c8178; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.reader-mini strong { display: block; margin: 18px 0 28px; color: var(--primary); font-family: "Fraunces", serif; font-size: 1.8rem; }
.reader-mini i { display: block; height: 8px; margin-top: 12px; border-radius: 99px; background: #d9ded8; }
.reader-mini i:nth-child(3) { width: 92%; }.reader-mini i:nth-child(4) { width: 78%; }.reader-mini i:nth-child(5) { width: 87%; }

.book-section { overflow: hidden; color: #d4e2dc; background: var(--primary); }
.book-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 90px; }
.book-copy h2 { color: var(--white); }
.book-copy > p:not(.eyebrow) { max-width: 650px; color: #c1d3cc; }
.book-visual { position: relative; min-height: 650px; }
.book-cover { position: absolute; top: 0; left: -12%; width: 94%; border-radius: 36px; transform: rotate(-5deg); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.book-app-card { position: absolute; right: -4%; bottom: 12%; width: 270px; padding: 24px; border-radius: 22px; color: var(--text); background: var(--peach); box-shadow: var(--shadow); transform: rotate(3deg); }
.book-app-card span { color: var(--danger-text); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.book-app-card p { margin: 14px 0; color: var(--primary); font-family: "Fraunces", serif; font-size: 1.2rem; line-height: 1.35; }
.book-app-card b { color: var(--primary); font-size: .72rem; }
.book-points { display: grid; gap: 14px; margin: 30px 0 34px; }
.book-points span { display: flex; gap: 8px; font-size: .9rem; }
.book-points b { color: var(--yellow); }
.button-cream { color: var(--primary); background: var(--cream); border-color: var(--cream); }
.button-cream:hover { color: var(--white); }
.book-copy > small { display: block; max-width: 560px; margin-top: 18px; color: #abc1b8; line-height: 1.5; }

.doctor-section { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 90px; }
.doctor-portrait { position: relative; padding: 26px 26px 0; }
.portrait-shape { overflow: hidden; min-height: 540px; border-radius: 49% 51% 42% 58% / 39% 43% 57% 61%; background: var(--sage); }
.portrait-shape img { width: 100%; height: 560px; object-fit: cover; object-position: 50% 15%; }
.doctor-portrait > span { position: absolute; right: 0; bottom: 28px; padding: 12px 16px; border-radius: 999px; color: var(--white); background: var(--primary); font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.doctor-copy > p:not(.eyebrow) { max-width: 680px; }
.credentials { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.credentials span { display: inline-flex; min-height: 42px; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--primary); background: var(--white); font-size: .76rem; font-weight: 700; }

.trust-section { padding-top: 70px; }
.trust-grid { display: grid; grid-template-columns: repeat(5,1fr); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; }
.trust-grid article { min-height: 260px; padding: 25px; border-right: 1px solid var(--line); background: rgba(255,255,255,.48); }
.trust-grid article:last-child { border-right: 0; }
.trust-grid span { color: #789087; font-size: .68rem; font-weight: 800; }
.trust-grid h3 { margin-top: 38px; font-family: "Fraunces", serif; font-size: 1.35rem; }
.trust-grid p { font-size: 1rem; line-height: 1.6; }
.disclaimer { display: flex; align-items: flex-start; gap: 18px; margin-top: 22px; padding: 26px; border: 1px solid #eccbc0; border-radius: 24px; color: var(--danger-text); background: var(--danger-soft); }
.disclaimer > span { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-weight: 800; }
.disclaimer p { margin: 0; font-size: 1rem; }
.disclaimer strong { display: block; margin-bottom: 4px; }

.final-cta { position: relative; overflow: hidden; color: white; background: var(--primary); text-align: center; }
.final-cta .section { position: relative; z-index: 2; }
.final-cta h2 { max-width: 940px; margin-inline: auto; color: white; }
.final-cta p:not(.eyebrow) { max-width: 680px; margin: 0 auto 26px; color: #c8d9d2; }
.centered-actions { justify-content: center; }
.light-link { color: white; border-color: rgba(255,255,255,.6); }
.final-shape { position: absolute; top: -120px; left: 50%; width: 800px; height: 400px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 90px rgba(255,255,255,.02), 0 0 0 180px rgba(255,255,255,.015); }

.site-footer { padding: 70px max(24px, calc((100% - var(--max)) / 2)); color: #b9ccc4; background: #0e2922; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 60px; }
.brand-light .brand-mark { background: var(--cream); }.brand-light .brand-mark::before,.brand-light .brand-mark::after,.brand-light .brand-mark span::before { background: var(--primary); }
.brand-light .brand-copy strong { color: white; }.brand-light .brand-copy small { color: #a9c0b6; }
.footer-brand p { max-width: 340px; margin-top: 20px; font-size: 1rem; }
.footer-grid h3 { margin-bottom: 18px; color: white; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div:not(.footer-brand) a { display: block; min-height: 38px; font-size: .8rem; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 1rem; }
.footer-bottom p { margin: 0; font-size: 1rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .menu-button { display: grid; width: 46px; height: 46px; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-button span { width: 18px; height: 2px; background: var(--primary); }
  .mobile-menu { position: absolute; top: 82px; left: 0; display: grid; width: 100%; padding: 20px 24px 28px; border-bottom: 1px solid var(--line); background: var(--cream); box-shadow: 0 20px 30px rgba(23,60,50,.1); }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu > a:not(.button) { display: flex; min-height: 48px; align-items: center; border-bottom: 1px solid var(--line); font-weight: 700; }
  .mobile-menu .button { margin-top: 18px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-visual { min-height: 600px; }
  .question-grid { grid-template-columns: repeat(2,1fr); }
  .timeline-layout, .book-layout, .doctor-section { gap: 55px; }
  .trust-grid { grid-template-columns: repeat(3,1fr); }
  .trust-grid article:nth-child(3) { border-right: 0; }.trust-grid article:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  .section { width: min(100% - 36px, var(--max)); padding: 86px 0; }
  .hero, .timeline-layout, .book-layout, .doctor-section, .sleep-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 54px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { min-height: 670px; }
  .organic-frame { left: 5%; }
  .doctor-float { right: 0; }
  .timeline-copy { order: 1; }.timeline-device { order: 2; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 470px; }
  .benefit-card img, .warning-preview { height: 250px; }
  .sleep-visual { min-height: 560px; }
  .feature-bento { grid-template-columns: 1fr; grid-template-areas: "learn" "track" "act"; }
  .feature-learn { min-height: 700px; }
  .book-visual { min-height: 620px; }
  .doctor-portrait { max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  [id] { scroll-margin-top: 86px; }
  .nav-shell { width: calc(100% - 24px); min-height: 72px; }
  .brand-copy small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .header-cta { display: none; }
  .mobile-menu { top: 72px; }
  .section { width: min(100% - 28px, var(--max)); padding: 72px 0; }
  h1 { font-size: clamp(2.8rem, 13vw, 4.1rem); }
  h2 { font-size: clamp(2.25rem, 10vw, 3.3rem); }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-lead { font-size: 1rem; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .button, .actions .text-link { width: 100%; }
  .text-link { justify-content: center; }
  .trust-line { line-height: 1.7; }
  .trust-line b { display: none; }.trust-line > span { margin-left: -2px; }
  .hero-visual { min-height: 570px; margin-top: 14px; }
  .organic-frame { inset: 0 0 80px 0; border-radius: 39% 61% 48% 52% / 46% 40% 60% 54%; }
  .phone-hero { left: 4%; width: 205px; min-height: 400px; padding: 10px; border-width: 6px; }
  .app-welcome { padding: 11px; }.app-welcome h2 { font-size: 1.15rem; }.app-next { padding: 11px; }.app-grid span { padding: 7px 2px; }
  .doctor-float { right: 0; bottom: 40px; width: 190px; }
  .doctor-float img { width: 44px; height: 44px; }.doctor-float p { font-size: .57rem; }
  .question-grid { grid-template-columns: 1fr; }
  .question-card { min-height: 270px; }
  .stage-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .stage-tabs button:last-child { grid-column: 1 / -1; }
  .sleep-visual { min-height: 420px; }
  .sleep-caption { right: 0; bottom: 18px; max-width: 210px; }
  .sleep-actions { align-items: stretch; flex-direction: column; }
  .sleep-actions .button { width: 100%; }
  .sleep-actions > p { max-width: none; font-size: .8rem; }
  .phone-stage { width: min(320px, 100%); }
  .feature-group { padding: 28px; }
  .feature-learn { min-height: 650px; }
  .reader-mini { width: 86%; min-height: 330px; padding: 30px; }
  .feature-group img { width: calc(100% - 48px); height: 155px; }
  .book-visual { min-height: 480px; }
  .book-cover { left: -15%; width: 110%; }
  .book-app-card { right: -2%; bottom: 1%; width: 220px; }
  .portrait-shape { min-height: 440px; }.portrait-shape img { height: 460px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid article, .trust-grid article:nth-child(3) { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); border-top: 0; }
  .trust-grid article:last-child { border-bottom: 0; }.trust-grid h3 { margin-top: 20px; }
  .disclaimer { padding: 20px; }
  .centered-actions { align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }.footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
