:root {
  color-scheme: light;
  --ink: #10131a;
  --muted: #646b78;
  --quiet: #8c929e;
  --paper: #fffefa;
  --canvas: #ebecef;
  --panel: #f6f7f8;
  --navy: #121a2a;
  --accent: #f0a25b;
  --accent-dark: #9a5521;
  --line: rgba(16, 19, 26, .11);
  --line-strong: rgba(16, 19, 26, .19);
  --success: #2b7650;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: absolute; inset: 0 0 auto; z-index: -1; height: 100vh; pointer-events: none; background: radial-gradient(circle at 8% 0%, rgba(187,220,255,.65), transparent 28%), radial-gradient(circle at 92% 8%, rgba(238,220,255,.7), transparent 30%); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: white; padding: .75rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid #1769aa; outline-offset: 4px; }

.site-header { position: sticky; top: .45rem; z-index: 20; width: min(calc(100% - 2rem), var(--max)); min-height: 62px; margin: 2.85rem auto 0; padding: .5rem .6rem .5rem .85rem; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,254,250,.98); box-shadow: none; }
.brand { display: inline-flex; gap: .65rem; align-items: center; text-decoration: none; font-weight: 760; letter-spacing: -.025em; }
.brand-mark { width: 1.05rem; height: 1.05rem; border-radius: 50% 50% 50% 12%; transform: rotate(-18deg); background: linear-gradient(135deg, #ffc279, #f08e4d); box-shadow: 0 0 0 5px rgba(240,162,91,.15); }
.main-nav { display: flex; align-items: center; gap: 1.6rem; color: #535965; font-size: .84rem; }
.main-nav a { text-decoration: none; }
.main-nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; background: var(--ink); color: white; text-decoration: none; font-size: .84rem; font-weight: 680; box-shadow: 0 5px 15px rgba(16,19,26,.16); }

main, footer { width: min(calc(100% - 2rem), 1400px); margin-inline: auto; background: var(--paper); }
main { margin-top: -5.35rem; padding-top: 5.35rem; border-radius: 32px 32px 0 0; overflow: hidden; box-shadow: 0 24px 70px rgba(43,48,60,.1); }
.hero { position: relative; width: min(calc(100% - 2rem), var(--max)); min-height: 980px; margin: 0 auto; padding: 7.2rem 0 0; text-align: center; overflow: visible; }
.hero-copy { position: relative; z-index: 4; display: grid; justify-items: center; }
.eyebrow { width: fit-content; margin: 0 0 1.2rem; padding: .45rem .72rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.72); color: #5d4d75; font-size: .7rem; line-height: 1.2; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 4px 16px rgba(32,38,50,.04); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: .96; letter-spacing: -.07em; font-weight: 670; }
.hero-lede { max-width: 690px; margin: 1.55rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.16rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.8rem; flex-wrap: wrap; }
.button { position: relative; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid transparent; border-radius: 999px; padding: .8rem 1.25rem; font-weight: 710; text-decoration: none; }
.button-primary { background: var(--ink); color: white; box-shadow: 0 10px 24px rgba(16,19,26,.17); }
.js-cta.button, .submit-button { white-space: nowrap; }
.button-primary:hover { background: #262a33; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: .45rem; color: #535965; text-underline-offset: .3rem; }
.trust-note { margin: .85rem 0 0; color: var(--quiet); font-size: .78rem; }

.hero-visual { position: relative; min-height: 570px; margin-top: 2rem; display: grid; place-items: start center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -2; width: min(95vw, 980px); height: 430px; left: 50%; bottom: 0; transform: translateX(-50%); transform-origin: center bottom; border-radius: 52% 52% 0 0 / 80% 80% 0 0; background: linear-gradient(125deg, #fff0cb 0%, #e9f5ff 45%, #ede8ff 100%); animation: sunriseBreath 7s ease-in-out infinite; }
.hero-visual::after { content: ""; position: absolute; z-index: -1; width: min(90vw, 860px); height: 340px; left: 50%; bottom: 0; transform: translateX(-50%); border: 1px solid rgba(83,112,145,.14); border-bottom: 0; border-radius: 52% 52% 0 0 / 80% 80% 0 0; }
.sun-orbit { position: absolute; width: 560px; aspect-ratio: 1; top: -40px; border-radius: 50%; background: radial-gradient(circle, rgba(255,194,121,.38) 0, rgba(255,234,192,.2) 38%, transparent 70%); filter: blur(2px); }
.phone { position: relative; width: min(100%, 334px); padding: 8px; border: 1px solid #353942; border-radius: 50px; background: #07090d; box-shadow: 0 48px 80px rgba(28,34,46,.28), inset 0 0 0 1px rgba(255,255,255,.14); }
.phone::before { content: ""; position: absolute; width: 35%; height: 25px; left: 32.5%; top: 15px; z-index: 2; border-radius: 999px; background: #05070a; }
.phone-screen { position: relative; min-height: 690px; overflow: hidden; border-radius: 41px; padding: 1rem 1.2rem 1.35rem; background: linear-gradient(180deg, #fbfaf7 0%, #f5f5f2 100%); color: var(--ink); }
.phone-hero { z-index: 3; transform: perspective(1200px) rotateX(1.8deg); animation: phoneFloat 5.5s ease-in-out infinite; }
.status-bar { min-height: 28px; display: flex; align-items: center; justify-content: space-between; padding: 0 .2rem; color: #151922; font-size: .68rem; font-weight: 720; }
.app-topline { margin-top: 1.65rem; display: flex; justify-content: space-between; color: #747b86; font-size: .72rem; }
.app-greeting { margin: 2rem 0 .15rem; color: var(--accent-dark); font-size: .78rem; }
.phone h2 { margin: 0 0 1.5rem; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.04em; }
.selected-event { display: flex; gap: .8rem; align-items: center; padding: 1rem; border: 1px solid rgba(240,162,91,.45); background: #fff5e9; border-radius: 16px; text-align: left; }
.event-check { width: 1.45rem; height: 1.45rem; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--accent); color: #2c1a0d; font-size: .75rem; font-weight: 900; }
.selected-event div { display: grid; gap: .2rem; }
.selected-event strong { font-size: .9rem; }
.selected-event span:last-child { color: #747b86; font-size: .72rem; }
.wake-result { margin: 1rem 0; padding: 1.35rem 1rem; text-align: center; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 28px rgba(28,34,46,.06); }
.wake-result > span { display: block; color: #747b86; font-size: .72rem; }
.wake-result > strong { display: block; margin: .35rem 0; font-size: 3.2rem; line-height: 1; letter-spacing: -.06em; }
.wake-result small, .confirmed-time small, .calc-total small { font-size: .4em; letter-spacing: 0; }
.wake-result p { margin: .75rem 0 0; color: #8a909a; font-size: .66rem; }
.mock-button { width: 100%; min-height: 46px; border: 0; border-radius: 14px; background: var(--ink); color: white; font-weight: 740; }
.preview-label { margin: .85rem 0 0; text-align: center; color: #9398a2; font-size: .64rem; }
.floating-card { position: absolute; z-index: 5; min-width: 190px; display: grid; gap: .18rem; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.9); border-radius: 14px; background: rgba(255,255,255,.96); text-align: left; box-shadow: 0 18px 42px rgba(39,45,57,.14); animation: cardDrift 4.8s ease-in-out infinite; }
.floating-card span { color: var(--quiet); font-size: .65rem; }
.floating-card strong { font-size: .82rem; }
.floating-event { --tilt: -3deg; top: 105px; left: 10%; animation-delay: -.8s; }
.floating-formula { --tilt: 3deg; top: 260px; right: 7%; animation-delay: -2.1s; }
.floating-control { --tilt: 2deg; top: 420px; left: 14%; animation-delay: -3.3s; }
.hero.motion-paused .hero-visual::before,
.hero.motion-paused .phone-hero,
.hero.motion-paused .floating-card { animation-play-state: paused; }

.problem { width: min(calc(100% - 4rem), 1060px); margin: 5rem auto 2rem; padding: 3.2rem; border-radius: 28px; background: var(--navy); color: white; text-align: center; box-shadow: 0 30px 70px rgba(18,26,42,.16); }
.problem p { margin: 0; font-size: clamp(1.45rem, 3vw, 2.7rem); line-height: 1.32; letter-spacing: -.04em; }
.problem p:nth-child(2) { color: #ffd1a2; }
.problem p:nth-child(3) { color: #9da7b8; }
.section { width: min(calc(100% - 4rem), var(--max)); margin: 0 auto; padding: 6rem 0; }
.section-heading { max-width: 730px; margin: 0 auto 2.8rem; text-align: center; display: grid; justify-items: center; }
.section-heading h2 { margin: 0; font-size: clamp(2.6rem, 5vw, 4.8rem); line-height: 1; letter-spacing: -.06em; font-weight: 660; }
.section-heading > p:last-child { margin: 1rem 0 0; color: var(--muted); font-size: 1.05rem; }
.walkthrough-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.walkthrough-card-reveal { min-width: 0; }
.walkthrough-card-reveal.featured { margin-top: -1.3rem; }
.walkthrough-card-motion { min-width: 0; transition: transform .16s cubic-bezier(.2,.75,.3,1); }
.walkthrough-card { position: relative; overflow: hidden; padding: 1.5rem 1.5rem 0; border: 1px solid var(--line); border-radius: 26px; background: var(--panel); }
.walkthrough-card-reveal:nth-child(1) .walkthrough-card { background: #f4f1ff; }
.walkthrough-card-reveal:nth-child(2) .walkthrough-card { background: #fff5e6; }
.walkthrough-card-reveal:nth-child(3) .walkthrough-card { background: #edf7f3; }
.walkthrough-card.featured { box-shadow: 0 24px 50px rgba(30,35,46,.1); }
.step-number { display: block; color: var(--accent-dark); font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
.walkthrough-card h3 { margin: .6rem 0 .4rem; font-size: 1.35rem; letter-spacing: -.025em; }
.walkthrough-card > p { min-height: 4.6rem; margin: 0 0 1rem; color: var(--muted); font-size: .9rem; }
.phone-small { width: 258px; margin: 0 auto -4rem; border-radius: 39px; box-shadow: 0 30px 55px rgba(32,37,47,.2); }
.phone-small::before { height: 20px; top: 13px; }
.phone-small .phone-screen { min-height: 535px; padding: .9rem .9rem 1rem; border-radius: 31px; }
.phone-small .status-bar { font-size: .58rem; }
.mini-date { margin: 1.35rem 0 .9rem; display: grid; gap: .15rem; text-align: left; }
.mini-date span, .calc-kicker { color: var(--accent-dark); font-size: .66rem; }
.mini-date strong { font-size: 1.2rem; }
.event-list { display: grid; gap: .55rem; }
.event-row { display: grid; grid-template-columns: 2.2rem 1fr 1rem; gap: .55rem; align-items: center; padding: .75rem .65rem; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.72); text-align: left; }
.event-row.selected { border-color: rgba(240,162,91,.6); background: #fff8ef; }
.event-row time { color: #6d7480; font-size: .67rem; }
.event-row div { display: grid; gap: .12rem; }
.event-row strong { font-size: .73rem; }
.event-row div span { color: #8b919a; font-size: .58rem; }
.radio-dot { width: .8rem; height: .8rem; border: 1px solid #9da2aa; border-radius: 50%; }
.selected .radio-dot { border: 4px solid var(--accent); }
.phone-bottom-label { margin-top: 1rem; text-align: center; color: #8b919a; font-size: .63rem; }
.calc-kicker { margin: 1.7rem 0 1.2rem; text-align: left; }
.calc-list { display: grid; }
.calc-list div { display: flex; justify-content: space-between; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: .78rem; }
.calc-list span { color: #747b86; }
.calc-total { padding: 1.5rem 0 1.2rem; text-align: center; }
.calc-total span { display: block; color: #747b86; font-size: .68rem; }
.calc-total strong { display: block; margin-top: .4rem; font-size: 2.5rem; letter-spacing: -.05em; }
.mock-button.secondary { background: white; color: var(--ink); border: 1px solid var(--line-strong); }
.confirmed-screen { text-align: center; }
.confirm-icon { width: 4rem; height: 4rem; margin: 3.3rem auto 1.2rem; display: grid; place-items: center; border-radius: 50%; background: #e8f5ee; color: var(--success); border: 1px solid #b9dfca; font-size: 1.6rem; }
.confirmed-label { display: block; color: #747b86; font-size: .72rem; }
.confirmed-time { display: block; margin: .4rem 0; font-size: 2.9rem; line-height: 1; letter-spacing: -.06em; }
.confirmed-screen p { min-height: 3rem; color: #747b86; font-size: .72rem; }
.prototype-note { margin: 1.4rem 0 0; color: var(--quiet); text-align: center; font-size: .78rem; }

@media (hover: hover) and (pointer: fine) {
  .walkthrough-card-motion:hover { transform: translate3d(0, -3px, 0); }
}

.section-heading.narrow { max-width: 620px; }
.audience { padding-top: 1rem; padding-bottom: 4rem; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.audience-grid article { min-height: 210px; padding: 1.7rem; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 14px 35px rgba(29,34,45,.05); }
.audience-grid article:nth-child(1) { background: #f6f3ff; }
.audience-grid article:nth-child(2) { background: #eef8fd; }
.audience-grid article:nth-child(3) { background: #fff6e9; }
.audience-time { display: block; margin-bottom: 2rem; color: var(--ink); font-size: 2.6rem; line-height: 1; letter-spacing: -.065em; }
.audience-grid h3 { margin: 0; font-size: 1.2rem; }
.audience-grid p { margin: .5rem 0 0; color: var(--muted); }

.offer { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.offer-copy h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 1; letter-spacing: -.06em; font-weight: 650; }
.offer-copy > p:last-child { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.price-card { padding: 2.2rem; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, #fff7e9, #f3efff); box-shadow: 0 26px 55px rgba(32,37,49,.1); }
.price-label { margin: 0 0 1rem; color: #665276; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.price { display: block; font-size: 4.8rem; line-height: 1; letter-spacing: -.08em; }
.price-card h3 { margin: 1rem 0 .2rem; font-size: 1.2rem; }
.price-card > p:not(.price-label) { margin: 0 0 1.6rem; color: var(--muted); }
.price-card .button { width: 100%; }
.price-card small { display: block; margin-top: 1rem; color: var(--quiet); line-height: 1.5; }

.signup-section { width: min(calc(100% - 4rem), var(--max)); margin: 1rem auto 5rem; padding: clamp(2rem, 6vw, 5rem); display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 7rem); border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(135deg, #edf8ff, #f7f3ff 55%, #fff8ed); }
.signup-intro { position: sticky; top: 2rem; align-self: start; }
.signup-intro h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1; letter-spacing: -.06em; font-weight: 650; }
.signup-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.03rem; }
.signup-offer { display: grid; gap: .25rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.signup-offer strong { color: var(--accent-dark); }
.signup-offer span { color: var(--quiet); font-size: .86rem; }
.form-shell { min-height: 620px; padding: clamp(1.25rem, 4vw, 2.25rem); border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.84); box-shadow: 0 24px 55px rgba(32,37,49,.08); }
.field-group { margin: 0 0 2rem; padding: 0; border: 0; }
.field-group > label, .field-group legend { display: block; width: 100%; margin: 0 0 .75rem; font-size: .94rem; font-weight: 690; }
.optional { float: right; color: var(--quiet); font-size: .75rem; font-weight: 500; }
input[type="email"], input[type="text"] { width: 100%; min-height: 52px; padding: .8rem .95rem; border: 1px solid var(--line-strong); border-radius: 12px; background: white; color: var(--ink); }
input:hover { border-color: rgba(16,19,26,.38); }
input[aria-invalid="true"] { border-color: #b64c3d; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; }
.choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 50px; display: flex; align-items: center; justify-content: center; padding: .7rem .8rem; border: 1px solid var(--line-strong); border-radius: 12px; background: white; color: #555c68; text-align: center; font-size: .84rem; }
.choice-grid input:hover + span { border-color: rgba(16,19,26,.4); }
.choice-grid input:focus-visible + span { outline: 3px solid #1769aa; outline-offset: 3px; }
.choice-grid input:checked + span { border-color: var(--ink); background: var(--ink); color: white; }
fieldset[aria-invalid="true"] .choice-grid { padding: .2rem; outline: 1px solid #b64c3d; border-radius: 14px; }
.field-error { display: block; min-height: 1.2rem; margin-top: .45rem; color: #a83c30; font-size: .78rem; }
.form-status { margin-bottom: 1.4rem; padding: .9rem 1rem; border: 1px solid rgba(182,76,61,.35); border-radius: 10px; background: #fff0ed; color: #8d3025; }
.submit-button { width: 100%; border: 0; cursor: pointer; }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.consent { margin: .85rem 0 0; color: var(--quiet); text-align: center; font-size: .75rem; }
.success-state { min-height: 520px; display: grid; align-content: center; justify-items: center; text-align: center; }
.success-state[hidden] { display: none; }
.success-visual { position: relative; width: 9rem; height: 9rem; display: grid; place-items: center; }
.success-mark { position: relative; z-index: 3; width: 4.7rem; height: 4.7rem; display: grid; place-items: center; border: 1px solid #a9d7bf; border-radius: 50%; background: #e7f5ed; color: var(--success); box-shadow: 0 18px 45px rgba(43,118,80,.18); font-size: 1.9rem; opacity: 0; transform: scale(.45) rotate(-12deg); }
.success-ring { position: absolute; inset: 50%; width: 4.7rem; height: 4.7rem; margin: -2.35rem; border: 1px solid rgba(43,118,80,.24); border-radius: 50%; opacity: 0; transform: scale(.6); }
.success-ring-two { border-color: rgba(240,162,91,.28); }
.success-sparkle { position: absolute; z-index: 4; color: var(--accent-dark); font-size: .9rem; opacity: 0; transform: scale(.2) rotate(-20deg); }
.sparkle-one { top: 1.2rem; right: 1.2rem; }
.sparkle-two { right: .75rem; bottom: 1.7rem; color: #7663a1; font-size: .65rem; }
.sparkle-three { left: 1rem; bottom: 1.35rem; color: #4f8b9f; font-size: .75rem; }
.sparkle-four { top: 1.7rem; left: .7rem; font-size: .55rem; }
.success-state h3 { margin: 1.1rem 0 .45rem; font-size: 2rem; letter-spacing: -.04em; opacity: 0; transform: translateY(12px); }
.success-state p { max-width: 390px; margin: 0; color: var(--muted); opacity: 0; transform: translateY(10px); }
.success-state.is-visible .success-mark { animation: successPop .62s cubic-bezier(.16,1.35,.35,1) .08s forwards; }
.success-state.is-visible .success-ring-one { animation: successRing 1s ease-out .16s forwards; }
.success-state.is-visible .success-ring-two { animation: successRing 1.1s ease-out .3s forwards; }
.success-state.is-visible .success-sparkle { animation: sparklePop .55s cubic-bezier(.2,1.5,.35,1) forwards; }
.success-state.is-visible .sparkle-one { animation-delay: .3s; }
.success-state.is-visible .sparkle-two { animation-delay: .42s; }
.success-state.is-visible .sparkle-three { animation-delay: .36s; }
.success-state.is-visible .sparkle-four { animation-delay: .5s; }
.success-state.is-visible h3 { animation: successCopyIn .55s ease-out .32s forwards; }
.success-state.is-visible p { animation: successCopyIn .55s ease-out .43s forwards; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-align: left; font-size: 1.06rem; font-weight: 680; }
.faq-item button span { display: grid; place-items: center; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; color: var(--accent-dark); font-size: 1.4rem; line-height: 1; font-weight: 400; }
.faq-answer[hidden] { display: none; }
.faq-answer p { max-width: 740px; margin: -.35rem 0 1.5rem; color: var(--muted); }
.faq { padding-top: 4rem; padding-bottom: 5rem; }
.final-cta { width: min(calc(100% - 4rem), var(--max)); margin: 1rem auto 2rem; padding: 5rem 2rem; border-radius: 30px; text-align: center; background: linear-gradient(125deg, #dff4ff, #f0eaff 52%, #ffedcd); overflow: hidden; }
.final-cta .eyebrow { margin-inline: auto; }
.final-cta h2 { max-width: 850px; margin: 0 auto; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; letter-spacing: -.065em; font-weight: 650; }
.final-cta > p:not(.eyebrow) { margin: 1.2rem 0 1.8rem; color: var(--muted); }
.final-cta > small { display: block; margin: 1rem auto 0; color: var(--quiet); }
footer { min-height: 88px; padding: 1.4rem clamp(1.5rem, calc((100vw - var(--max) - 2rem) / 2), 6.875rem); display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; column-gap: 2rem; border-radius: 0 0 32px 32px; color: var(--quiet); font-size: .78rem; }
footer .brand { justify-self: start; color: var(--ink); font-size: .9rem; white-space: nowrap; }
footer p { justify-self: center; margin: 0; text-align: center; white-space: nowrap; }
footer nav { justify-self: end; display: flex; justify-content: flex-end; gap: 1.25rem; white-space: nowrap; }
footer a { text-underline-offset: .25rem; }

html.motion-enabled .reveal { opacity: 0; transform: translateY(22px); transition: opacity .64s cubic-bezier(.16,1,.3,1), transform .64s cubic-bezier(.16,1,.3,1); }
html.motion-enabled .reveal.reveal-visible { opacity: 1; transform: translateY(0); }
html.motion-enabled .reveal[data-reveal-delay="1"] { transition-delay: .1s; }
html.motion-enabled .reveal[data-reveal-delay="2"] { transition-delay: .24s; }
html.motion-enabled .reveal[data-reveal-delay="3"] { transition-delay: .38s; }

@keyframes phoneFloat {
  0%, 100% { transform: perspective(1200px) rotateX(1.8deg) translateY(0); }
  50% { transform: perspective(1200px) rotateX(1.2deg) translateY(-10px); }
}
@keyframes cardDrift {
  0%, 100% { transform: translateY(0) rotate(var(--tilt)); }
  50% { transform: translateY(-8px) rotate(var(--tilt)); }
}
@keyframes sunriseBreath {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.025); }
}
@keyframes successPop {
  0% { opacity: 0; transform: scale(.45) rotate(-12deg); }
  70% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes successRing {
  0% { opacity: .75; transform: scale(.72); }
  100% { opacity: 0; transform: scale(1.85); }
}
@keyframes sparklePop {
  0% { opacity: 0; transform: scale(.2) rotate(-20deg); }
  65% { opacity: 1; transform: scale(1.2) rotate(8deg); }
  100% { opacity: .82; transform: scale(1) rotate(0); }
}
@keyframes successCopyIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .site-header { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 940px; }
  .floating-event { left: 1%; }
  .floating-formula { right: 0; }
  .walkthrough-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .walkthrough-card-reveal.featured { margin-top: 0; }
  .walkthrough-card > p { min-height: 0; }
  .offer, .signup-section { grid-template-columns: 1fr; }
  .signup-intro { position: static; }
}

@media (max-width: 600px) {
  .site-header { top: .35rem; width: calc(100% - 1.5rem); margin-top: .35rem; min-height: 58px; padding-left: .75rem; }
  .brand { font-size: .9rem; }
  .header-cta { min-height: 44px; padding-inline: .85rem; font-size: .78rem; }
  main, footer { width: calc(100% - .75rem); }
  main { margin-top: -3.35rem; padding-top: 3.35rem; border-radius: 24px 24px 0 0; }
  .hero { width: calc(100% - 1.5rem); min-height: 920px; padding-top: 5.7rem; }
  h1 { font-size: clamp(2.85rem, 13vw, 4.4rem); }
  .hero-lede { font-size: 1rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button-primary { width: 100%; }
  .trust-note { max-width: 330px; }
  .hero-visual { min-height: 560px; margin-top: 2.5rem; }
  .hero-visual::before { width: 120vw; height: 380px; }
  .hero-visual::after { width: 105vw; height: 300px; }
  .sun-orbit { width: 390px; }
  .phone-hero { width: min(80vw, 300px); }
  .phone-hero .phone-screen { min-height: 620px; }
  .floating-card { min-width: 150px; padding: .65rem .75rem; }
  .floating-card strong { font-size: .72rem; }
  .floating-event { top: 85px; left: -5%; }
  .floating-formula { top: 250px; right: -7%; }
  .floating-control { top: 430px; left: -5%; }
  .problem { width: calc(100% - 2rem); margin-top: 3rem; padding: 2.4rem 1.25rem; }
  .problem p { font-size: 1.35rem; }
  .section { width: calc(100% - 2rem); padding: 5.3rem 0; }
  .section-heading { margin-bottom: 2.3rem; }
  .walkthrough-card { padding-inline: 1rem; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { min-height: 190px; }
  .audience-time { margin-bottom: 1.5rem; }
  .signup-section, .final-cta { width: calc(100% - 2rem); padding: 2.5rem 1.25rem; border-radius: 24px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .choice-grid-3 span { padding-inline: .35rem; }
  .form-shell { padding: 1.1rem; }
  .final-cta { padding-block: 5rem; }
  footer { grid-template-columns: 1fr; justify-items: center; row-gap: .9rem; padding-block: 1.75rem; border-radius: 0 0 24px 24px; text-align: center; }
  footer .brand, footer p, footer nav { justify-self: center; }
  footer nav { justify-content: center; }
}

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