/* Aceday — aceday.io
   A scroll film. White: a hand draws the check, the icon cracks into glass and the shards fly back together as
   the app. Dark: a whole day in one scroll, then the two tabs you pick, then Tell Aceday. Warm paper for the
   evening plan, the week and the parts parents read. Every phone screen is built in code from the app's own
   design (src/theme/tokens.ts), so nothing is a cropped screenshot. */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: #F6F4EE; --white: #FFFFFF; --ink: #1A1C29; --ink2: #5D6275; --ink3: #8A8FA3; --line: #E6E2D8;
  --cobalt: #2E5BFF; --violet: #7A5AF8; --move: #FF5A36; --fuel: #22A06B; --sleep: #5B5BD6; --flame: #F76B15;
  --history: #E5484D; --study: #6F6E77; --algebra: #3E63DD; --english: #12A594; --biology: #30A46C; --spanish: #F76B15;
  --night: #07080D; --night2: #0C0E17; --fg: #F2F3F7; --fg2: rgba(242,243,247,.66); --fg3: rgba(242,243,247,.4); --hair: rgba(255,255,255,.08);
  --display: "Bricolage", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.5; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -0.04em; line-height: .98; text-wrap: balance; }
p { margin: 0; }
.ic { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { font: 600 13px/1 var(--body); letter-spacing: .01em; color: var(--ink3); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: currentColor; }
.dark .eyebrow { color: #A99BFF; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--ink2); max-width: 30em; }
.dark .lede { color: var(--fg2); }
.ai { color: var(--violet); }
.dark .ai { color: #B4A6FF; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }

/* split text: every word sits in a mask and rises into place */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.w > span { display: inline-block; will-change: transform; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px var(--display); letter-spacing: -0.01em; border: 0; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), background .3s, box-shadow .3s; will-change: transform; }
.btn .ic { width: 18px; height: 18px; }
.btn.primary { background: var(--cobalt); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 40px -14px rgba(46,91,255,.8); }
.btn.primary:hover { background: #4469FF; }
.btn.ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.light .btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); color: #fff; opacity: 0; transform: translateY(-12px); pointer-events: none; transition: opacity .6s var(--ease), transform .6s var(--ease), color .4s; }
.nav.on { opacity: 1; transform: none; pointer-events: auto; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7,8,13,.5); -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid rgba(255,255,255,.07); transition: background .4s, border-color .4s; }
.nav.light { color: var(--ink); }
.nav.light::before { background: rgba(246,244,238,.72); border-bottom-color: rgba(26,28,41,.06); }
.brand { display: flex; align-items: center; gap: 10px; font: 800 20px var(--display); letter-spacing: -0.03em; }
.brand .mark { width: 30px; height: 30px; border-radius: 8px; }
.brand i { font-style: normal; color: var(--cobalt); }
.nav .links { display: flex; align-items: center; gap: 28px; font: 500 15px var(--body); }
.nav .links a:not(.btn) { opacity: .72; transition: opacity .2s; }
.nav .links a:not(.btn):hover { opacity: 1; }
.nav .btn { height: 40px; padding: 0 18px; font-size: 14px; }

/* scenes */
.scene { position: relative; }
.pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.dark { background: var(--night); color: var(--fg); }
.light { background: var(--paper); color: var(--ink); }
.white { background: #fff; color: var(--ink); }
.dark .glow { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(40px); opacity: .9; }
.grid-lines { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 55% at 50% 40%, #000 20%, transparent 85%); mask-image: radial-gradient(60% 55% at 50% 40%, #000 20%, transparent 85%); }

/* ─────────────────────────── the phone ─────────────────────────── */
/* Drawn at 393 × 852 points like the app and scaled as one piece, so text stays sharp at any size. */
.iphone { --w: 300px; position: relative; width: var(--w); aspect-ratio: 417 / 876; border-radius: calc(var(--w) * .165); padding: calc(var(--w) * 12 / 417); background: linear-gradient(140deg, #5b5f6c 0%, #24262f 12%, #3a3d48 30%, #191a21 55%, #2d2f39 78%, #4d505c 100%); box-shadow: inset 0 0 0 calc(var(--w) * .003) rgba(255,255,255,.45), inset 0 0 0 calc(var(--w) * .012) #0a0b0f, 0 calc(var(--w) * .18) calc(var(--w) * .3) calc(var(--w) * -.12) rgba(0,0,0,.55); flex: none; }
.iphone::before { content: ""; position: absolute; left: calc(var(--w) * -.009); top: 21%; width: calc(var(--w) * .011); height: 7%; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #6a6e7b, #2a2c35); box-shadow: 0 calc(var(--w) * .2) 0 #3a3d48, 0 calc(var(--w) * .31) 0 #3a3d48; }
.iphone::after { content: ""; position: absolute; right: calc(var(--w) * -.009); top: 27%; width: calc(var(--w) * .011); height: 11%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #6a6e7b, #2a2c35); }
.light .iphone, .white .iphone { box-shadow: inset 0 0 0 calc(var(--w) * .003) rgba(255,255,255,.45), inset 0 0 0 calc(var(--w) * .012) #0a0b0f, 0 calc(var(--w) * .16) calc(var(--w) * .28) calc(var(--w) * -.14) rgba(26,28,41,.45); }
.iphone .glass { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .135); overflow: hidden; background: var(--paper); isolation: isolate; }
.iphone .scr { position: absolute; left: 0; top: 0; width: 393px; height: 852px; transform-origin: 0 0; transform: scale(var(--s, .72)); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.35; text-align: left; letter-spacing: 0; }
.iphone .glass::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.16), transparent 28%, transparent 70%, rgba(255,255,255,.05)); z-index: 30; }

.scr .sb { position: absolute; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 46px; z-index: 20; font: 600 17px var(--body); letter-spacing: -0.01em; }
.scr .sb svg { height: 13px; width: auto; }
.scr .isl { position: absolute; top: 11px; left: 50%; width: 125px; height: 37px; margin-left: -62.5px; border-radius: 20px; background: #000; z-index: 25; }
.scr .body { position: absolute; left: 0; right: 0; top: 54px; bottom: 0; padding: 0 20px; }
.scr .hd { display: flex; justify-content: space-between; align-items: flex-start; padding-top: 6px; }
.scr .tt { font: 800 34px/1.05 var(--display); letter-spacing: -0.035em; }
.scr .tt i { font-style: normal; }
.scr .st { font-size: 14px; color: var(--ink2); margin-top: 4px; max-width: 220px; line-height: 1.3; }
.scr .acts { display: flex; gap: 8px; align-items: center; padding-top: 2px; }
.scr .mic { width: 44px; height: 44px; border-radius: 22px; background: var(--violet); color: #fff; display: grid; place-items: center; }
.scr .mic .ic { width: 20px; height: 20px; }
.scr .ask { height: 40px; padding: 0 14px; border-radius: 20px; background: rgba(122,90,248,.1); color: var(--violet); display: inline-flex; align-items: center; gap: 6px; font: 600 15px var(--body); }
.scr .ask .ic { width: 16px; height: 16px; }
.scr .av { width: 44px; height: 44px; border-radius: 22px; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 17px var(--display); position: relative; }
.scr .av svg { position: absolute; inset: -4px; width: 52px; height: 52px; transform: rotate(-90deg); }

/* the day line */
.scr .dl { margin-top: 14px; position: relative; }
.scr .dl .tr { position: relative; height: 16px; }
.scr .dl .bk { position: absolute; top: 4px; height: 8px; border-radius: 4px; transition: opacity .3s, height .3s, top .3s; }
.scr .dl .bk.now { top: 1px; height: 14px; border-radius: 7px; }
.scr .dl .bk.past { opacity: .32; }
.scr .dl .nd { position: absolute; top: -5px; width: 2px; height: 26px; margin-left: -1px; background: var(--ink); border-radius: 1px; }
.scr .dl .nd::before { content: ""; position: absolute; top: -3px; left: -4px; width: 10px; height: 10px; border-radius: 5px; background: var(--ink); }
.scr .dl .hr { position: relative; height: 18px; margin-top: 6px; font-size: 12px; color: var(--ink3); }
.scr .dl .hr span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.scr .dl .hr span:first-child { transform: none; }
.scr .dl .hr span:last-child { transform: translateX(-100%); }
.scr .dl .ln { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 6px; }
.scr .dl .ln b { display: block; font: 600 15px var(--body); }
.scr .dl .ln span { font-size: 14px; color: var(--ink2); }
.scr .dl .ln .yd { color: var(--cobalt); font: 600 14px var(--body); display: inline-flex; align-items: center; gap: 2px; }
.scr .dl .ln .yd .ic { width: 14px; height: 14px; }

/* glance tiles */
.scr .gl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.scr .tile { height: 92px; border-radius: 18px; padding: 12px; color: #fff; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.scr .tile small { font-size: 12px; opacity: .85; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr .tile b { font: 700 21px/1.05 var(--display); letter-spacing: -0.03em; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr .tile .rg { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; transform: rotate(-90deg); }

/* hero glow: a sheen from the top left, a deeper shade toward the bottom right, one diagonal light band */
.hg { position: relative; overflow: hidden; background-color: var(--c, var(--cobalt)); isolation: isolate; }
.hg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(110% 80% at 0% 0%, rgba(255,255,255,.3), transparent 55%), radial-gradient(80% 90% at 100% 100%, rgba(10,12,30,.28), transparent 65%), radial-gradient(40% 40% at 85% 15%, rgba(255,255,255,.18), transparent 70%), linear-gradient(118deg, transparent 38%, rgba(255,255,255,.13) 47%, transparent 57%); }

/* what changed */
.scr .wc { margin-top: 14px; border-radius: 20px; background: rgba(122,90,248,.07); box-shadow: inset 0 0 0 1px rgba(122,90,248,.16); padding: 14px 16px; overflow: hidden; }
.scr .wc .t { display: flex; justify-content: space-between; align-items: center; font: 600 14px var(--body); color: var(--violet); }
.scr .wc .t span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.scr .wc .t .ic { width: 15px; height: 15px; }
.scr .wc .t span:last-child { color: var(--ink2); font-weight: 500; }
.scr .wc p { margin-top: 8px; font-size: 15px; display: flex; gap: 9px; align-items: baseline; }
.scr .wc p::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--violet); flex: none; transform: translateY(-2px); }
.scr .wc .g { margin-top: 10px; font: 600 15px var(--body); color: var(--violet); }

/* the Now card */
.scr .nowc { margin-top: 14px; border-radius: 28px; padding: 18px 18px 16px; color: #fff; height: 170px; }
.scr .nowc .r1 { display: flex; justify-content: space-between; align-items: center; font: 500 14px var(--body); opacity: .95; }
.scr .nowc .pill { height: 26px; padding: 0 11px; border-radius: 13px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); display: inline-flex; align-items: center; font: 600 13px var(--body); }
.scr .nowc .r2 { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.scr .nowc .nm { font: 800 30px/1.05 var(--display); letter-spacing: -0.035em; white-space: nowrap; }
.scr .nowc .lf { font-size: 14px; opacity: .88; margin-top: 4px; }
.scr .nowc .rg { width: 60px; height: 60px; position: relative; flex: none; }
.scr .nowc .rg svg { width: 60px; height: 60px; transform: rotate(-90deg); }
.scr .nowc .rg div { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 800 20px/1 var(--display); }
.scr .nowc .rg small { display: block; font: 500 11px var(--body); opacity: .8; margin-top: 2px; }
.scr .nowc .r3 { border-top: 1px solid rgba(255,255,255,.22); margin-top: 14px; padding-top: 12px; font-size: 14px; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr .nowc .sw { will-change: transform, opacity; }

.scr .sec { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; }
.scr .sec b { font: 700 22px var(--display); letter-spacing: -0.03em; }
.scr .sec span { font-size: 13px; color: var(--ink2); }
.scr .rows { margin-top: 10px; background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px rgba(26,28,41,.05); overflow: hidden; }
.scr .row { display: grid; grid-template-columns: 48px 4px 1fr; gap: 12px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.scr .row:last-child { border-bottom: 0; }
.scr .row .tm { font: 700 15px/1.1 var(--display); text-align: right; }
.scr .row .tm small { display: block; font: 400 11.5px var(--body); color: var(--ink3); margin-top: 2px; }
.scr .row .bar { width: 4px; height: 34px; border-radius: 2px; }
.scr .row b { font: 600 15px var(--body); display: block; }
.scr .row span { font-size: 13px; color: var(--ink2); }

/* tab bar */
.scr .tb { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid rgba(26,28,41,.07); display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 9px; z-index: 15; }
.scr .tb div { position: relative; display: grid; justify-items: center; align-content: start; gap: 3px; font: 500 12px var(--body); color: var(--ink3); }
.scr .tb .ic { width: 24px; height: 24px; stroke-width: 1.8; }
.scr .tb .on { color: var(--k, var(--cobalt)); font-weight: 600; }
.scr .tb .on::after { content: ""; position: absolute; left: 50%; top: 48px; width: 4px; height: 4px; margin-left: -2px; border-radius: 2px; background: currentColor; }
.scr .hi { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--ink); z-index: 16; }

/* the notification that drops in */
.scr .nt { position: absolute; left: 10px; right: 10px; top: 58px; z-index: 22; border-radius: 24px; padding: 13px 14px; display: grid; grid-template-columns: 40px 1fr; gap: 11px; align-items: center; background: rgba(250,250,252,.78); -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8); box-shadow: 0 18px 40px -12px rgba(26,28,41,.35), inset 0 0 0 1px rgba(255,255,255,.6); transform: translateY(-190%); opacity: 0; }
.scr .nt img { width: 40px; height: 40px; border-radius: 10px; }
.scr .nt b { font: 600 15px var(--body); display: flex; justify-content: space-between; }
.scr .nt b small { font: 400 13px var(--body); color: var(--ink3); }
.scr .nt p { font-size: 14.5px; line-height: 1.3; margin-top: 1px; }

/* pack screens */
.scr .chips { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.scr .chip { height: 34px; padding: 0 13px; border-radius: 17px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--body); }
.scr .chip .ic { width: 15px; height: 15px; }
.scr .chip.on { background: var(--c); color: #fff; box-shadow: none; }
.scr .hero { margin-top: 14px; border-radius: 28px; padding: 20px 18px 18px; color: #fff; min-height: 230px; }
.scr .hero .lb { font: 500 14px var(--body); opacity: .92; display: flex; justify-content: space-between; align-items: center; }
.scr .hero h4 { margin: 8px 0 0; font: 800 31px/1.04 var(--display); letter-spacing: -0.035em; max-width: 230px; }
.scr .hero .sub { font-size: 14.5px; opacity: .9; margin-top: 6px; max-width: 260px; }
.scr .hero .art { position: absolute; right: 16px; top: 18px; width: 64px; height: 64px; transform: rotate(8deg); }
.scr .hero .art .ic { width: 64px; height: 64px; stroke-width: 1.6; color: #fff; }
.scr .hero .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.scr .hero .tags span { height: 28px; padding: 0 11px; border-radius: 14px; background: rgba(255,255,255,.2); display: inline-flex; align-items: center; font: 600 13px var(--body); }
.scr .hero .btns { display: flex; gap: 8px; margin-top: 16px; }
.scr .hero .btns span { height: 46px; padding: 0 18px; border-radius: 23px; display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--display); }
.scr .hero .btns .ic { width: 17px; height: 17px; }
.scr .hero .btns .a { background: #fff; color: var(--c); }
.scr .hero .btns .b { background: rgba(255,255,255,.22); color: #fff; }
.scr .hero .big { font: 800 52px/1 var(--display); letter-spacing: -0.04em; margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.scr .hero .big small { font: 600 20px var(--display); letter-spacing: -0.02em; }
.scr .hero .meter { height: 8px; border-radius: 4px; background: rgba(255,255,255,.25); margin-top: 12px; overflow: hidden; }
.scr .hero .meter i { display: block; height: 100%; width: var(--p, 60%); background: #fff; border-radius: 4px; }
.scr .hero .list { margin-top: 12px; display: grid; gap: 8px; }
.scr .hero .list div { height: 42px; border-radius: 14px; background: rgba(255,255,255,.16); display: flex; align-items: center; gap: 10px; padding: 0 12px; font: 600 14.5px var(--body); }
.scr .hero .list div i { width: 20px; height: 20px; border-radius: 10px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); flex: none; display: grid; place-items: center; }
.scr .hero .list div.d i { background: #fff; color: var(--c); box-shadow: none; }
.scr .hero .list div i .ic { width: 13px; height: 13px; stroke-width: 3; }
.scr .hero .list div em { margin-left: auto; font-style: normal; font-weight: 500; opacity: .8; font-size: 13px; }
.scr .wk { margin-top: 14px; background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(26,28,41,.05); padding: 14px; }
.scr .wk .ds { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.scr .wk .ds span { height: 52px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; align-content: center; gap: 4px; font: 600 13px var(--body); color: var(--ink2); }
.scr .wk .ds span::after { content: ""; width: 5px; height: 5px; border-radius: 3px; background: var(--c); opacity: var(--o, 1); }
.scr .wk .ds span.t { background: var(--c); color: #fff; }
.scr .wk .ds span.t::after { background: #fff; }
.scr .wk .ds span.x::after { opacity: 0; }
.scr .wk p { margin-top: 12px; font: 600 15px var(--body); }
.scr .wk p span { color: var(--ink2); font-weight: 400; }
.scr .card { margin-top: 14px; background: #fff; border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(26,28,41,.05); padding: 14px 16px; }
.scr .card .ai-line { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.scr .card .ai-line .ic { color: var(--violet); width: 17px; height: 17px; margin-top: 2px; }

/* Tell Aceday sheet */
.scr.sheet { background: var(--paper); }
.scr .sh-h { display: flex; gap: 12px; align-items: center; padding-top: 10px; }
.scr .sh-h .tile-i { width: 44px; height: 44px; border-radius: 14px; background: rgba(122,90,248,.12); color: var(--violet); display: grid; place-items: center; }
.scr .sh-h .tile-i .ic { width: 22px; height: 22px; }
.scr .sh-h b { font: 700 22px var(--display); letter-spacing: -0.03em; display: block; }
.scr .sh-h span { font-size: 13.5px; color: var(--ink2); }
.scr .sh-h .x { margin-left: auto; width: 40px; height: 40px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.scr .sh-h .x .ic { width: 18px; height: 18px; }
.scr .tin { margin-top: 18px; background: #fff; border-radius: 22px; padding: 14px; box-shadow: inset 0 0 0 1px rgba(26,28,41,.05); }
.scr .tin small { font-size: 13px; color: var(--ink3); }
.scr .tin .field { margin-top: 6px; min-height: 76px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--ink); padding: 10px 12px; font: 500 17px/1.35 var(--body); }
.scr .tin .field .cur { display: inline-block; width: 2px; height: 20px; background: var(--violet); vertical-align: -4px; margin-left: 1px; animation: blink 1s steps(2) infinite; }
.scr .tin .send { margin-top: 12px; height: 52px; border-radius: 26px; background: var(--violet); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font: 600 17px var(--display); }
.scr .tin .send .ic { width: 18px; height: 18px; }
.scr .sugg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.scr .sugg span { height: 34px; padding: 0 12px; border-radius: 17px; box-shadow: inset 0 0 0 1px rgba(122,90,248,.28); color: var(--violet); display: inline-flex; align-items: center; font: 600 13.5px var(--body); background: #fff; }
.scr .think { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: var(--violet); font: 600 15px var(--body); opacity: 0; }
.scr .think .orb { width: 34px; height: 34px; border-radius: 17px; overflow: hidden; background: rgba(122,90,248,.12); flex: none; }
.scr .think video { width: 54px; height: 54px; margin: -10px; object-fit: cover; }
.scr .res { margin-top: 12px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px rgba(122,90,248,.22); padding: 14px 16px; opacity: 0; transform: translateY(14px); }
.scr .res .k { display: flex; align-items: center; gap: 8px; color: var(--violet); font: 600 13.5px var(--body); }
.scr .res .k .ic { width: 15px; height: 15px; }
.scr .res b { display: block; margin-top: 6px; font: 700 19px/1.2 var(--display); letter-spacing: -0.02em; }
.scr .res p { margin-top: 4px; font-size: 14.5px; color: var(--ink2); }
.scr .res .ue { display: flex; gap: 16px; margin-top: 10px; font: 600 14.5px var(--body); color: var(--violet); }
@keyframes blink { 50% { opacity: 0; } }

/* ─────────────────────────── 0. intro ─────────────────────────── */
/* the glass lives on one fixed layer above the page, shown only while shards are on screen */
.glass-layer { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; opacity: 0; }
#intro .pin { background: var(--night); }
#intro .bgd { position: absolute; inset: 0; }
#intro .bgd .glow1 { position: absolute; left: 50%; top: 50%; width: 130vmax; height: 130vmax; margin: -65vmax 0 0 -65vmax; background: radial-gradient(closest-side, rgba(46,91,255,.26), rgba(122,90,248,.12) 42%, transparent 70%); }
#intro .bgd::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.55)); }
#intro .hint { position: absolute; left: 0; right: 0; bottom: calc(30px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: center; gap: 10px; font: 500 13px var(--body); letter-spacing: .02em; color: var(--fg2); z-index: 31; }
#intro .hint i { width: 22px; height: 34px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px rgba(242,243,247,.4); position: relative; }
#intro .hint i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: rgba(242,243,247,.6); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
#intro .stage { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; max-width: 1240px; margin: 0 auto; padding: 64px 24px 0; gap: 32px; color: #fff; }
#intro .copy { display: grid; gap: 22px; }
#intro h1 { font-size: clamp(48px, 7vw, 104px); font-weight: 800; }
#intro h1 em { font-style: normal; }
#intro h1 em .w > span, #packs h2 em .w > span { background: linear-gradient(92deg, #7FA0FF, #B9A8FF 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
#intro .lede { color: var(--fg2); }
#intro .cta { display: flex; gap: 12px; flex-wrap: wrap; }
#intro .copy > *:not(h1) { opacity: 0; }
#intro .ph { display: grid; place-items: center; }
#intro .iphone { --w: min(320px, calc(78vh * 417 / 876), 30vw); opacity: 0; }
#intro .eyebrow { color: #A99BFF; }

/* ─────────────────────────── 1. the day ─────────────────────────── */
#day .stage { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 72px 24px 150px; }
#day .glow { width: 60vmax; height: 60vmax; right: -10vmax; top: -10vmax; background: radial-gradient(closest-side, rgba(46,91,255,.22), transparent 70%); }
#day .left { display: grid; gap: 26px; align-content: center; }
#day .clock { font: 800 clamp(84px, 11vw, 168px)/.9 var(--display); letter-spacing: -0.05em; display: flex; align-items: baseline; gap: 14px; font-variant-numeric: tabular-nums; }
#day .clock small { font: 700 clamp(20px, 2vw, 30px) var(--display); letter-spacing: -0.02em; color: var(--fg3); }
#day .chs { display: grid; min-height: 9.5em; }
#day .ch { grid-area: 1 / 1; display: grid; gap: 14px; align-content: start; }
#day .ch h2 { font-size: clamp(30px, 3.4vw, 50px); font-weight: 700; }
#day .ch p { color: var(--fg2); font-size: clamp(16px, 1.35vw, 19px); max-width: 28em; }
#day .ch .k { font: 600 14px var(--body); color: var(--c, #A99BFF); display: inline-flex; gap: 8px; align-items: center; }
#day .ch .k::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: currentColor; }
#day .iphone { --w: min(310px, calc(70vh * 417 / 876)); }
/* the big strip: the whole day as one object */
#day .strip { position: absolute; left: 0; right: 0; bottom: calc(34px + env(safe-area-inset-bottom, 0px)); max-width: 1240px; margin: 0 auto; padding: 0 24px; }
#day .strip .in { position: relative; }
#day .strip .tr { position: relative; height: 34px; }
#day .strip .bk { position: absolute; top: 10px; height: 14px; border-radius: 7px; transition: top .35s var(--ease), height .35s var(--ease), opacity .35s; }
#day .strip .bk.now { top: 2px; height: 30px; border-radius: 10px; box-shadow: 0 0 30px -4px var(--c); }
#day .strip .bk.past { opacity: .28; }
#day .strip .nd { position: absolute; top: -8px; width: 2px; height: 50px; margin-left: -1px; background: #fff; border-radius: 1px; }
#day .strip .nd::before { content: ""; position: absolute; top: -5px; left: -5px; width: 12px; height: 12px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.12); }
#day .strip .hr { position: relative; height: 20px; margin-top: 10px; font: 500 13px var(--body); color: var(--fg3); }
#day .strip .hr span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
#day .strip .hr span:first-child { transform: none; }
#day .strip .hr span:last-child { transform: translateX(-100%); }
#day .strip .lab { position: absolute; bottom: 66px; transform: translateX(-50%); white-space: nowrap; font: 600 14px var(--body); color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); padding: 6px 12px; border-radius: 999px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ─────────────────────────── 2. tonight (paper) ─────────────────────────── */
#tonight .stage { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 80px 24px 40px; }
#tonight .left { display: grid; gap: 22px; }
#tonight h2 { font-size: clamp(40px, 5.2vw, 78px); font-weight: 800; }
#tonight h2 em { font-style: normal; color: var(--cobalt); }
#tonight .est { margin-top: 10px; background: #fff; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(26,28,41,.06); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; max-width: 440px; }
#tonight .est b { font: 700 18px var(--display); letter-spacing: -0.02em; }
#tonight .est span { font-size: 14px; color: var(--ink2); }
#tonight .est .n { grid-row: 1 / 3; grid-column: 2; text-align: right; font: 800 40px/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
#tonight .est .n small { display: block; font: 600 13px var(--body); letter-spacing: 0; color: var(--violet); margin-top: 4px; }
#tonight .est .bar { grid-column: 1 / 3; height: 6px; border-radius: 3px; background: var(--paper); overflow: hidden; margin-top: 8px; }
#tonight .est .bar i { display: block; height: 100%; width: 0; background: var(--violet); border-radius: 3px; }
#tonight .tplan { position: relative; background: #fff; border-radius: 30px; box-shadow: inset 0 0 0 1px rgba(26,28,41,.06), 0 40px 80px -50px rgba(26,28,41,.35); padding: 10px 0; }
#tonight .tplan .hdr { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 22px 10px; }
#tonight .tplan .hdr b { font: 700 24px var(--display); letter-spacing: -0.03em; }
#tonight .tplan .hdr span { font-size: 14px; color: var(--ink2); }
#tonight .ev { display: grid; grid-template-columns: 62px 4px minmax(0, 1fr) auto; gap: 14px; align-items: center; height: 52px; padding: 0 22px; border-top: 1px solid var(--line); line-height: 1.25; }
#tonight .ev > div > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#tonight .ev .tm { font: 700 16px var(--display); text-align: right; font-variant-numeric: tabular-nums; }
#tonight .ev .bar { width: 4px; height: 32px; border-radius: 2px; background: var(--c); }
#tonight .ev > div { line-height: 1.3; min-width: 0; }
#tonight .ev b { font: 600 16px/1.25 var(--body); display: block; }
#tonight .ev > div span { display: block; font-size: 13.5px; line-height: 1.25; color: var(--ink2); }
#tonight .ev .tm, #tonight .ev .m { line-height: 1.2; }
#tonight .ev .m { font: 600 13px var(--body); color: var(--ink2); background: var(--paper); border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
#tonight .ev .m.ai { color: var(--violet); background: rgba(122,90,248,.1); }
#tonight .ev.brk { height: 30px; }
#tonight .ev.brk b { font-weight: 500; color: var(--ink3); font-size: 14px; }
#tonight .ev.brk .bar { height: 14px; background: var(--line); }

/* ─────────────────────────── 3. packs (horizontal) ─────────────────────────── */
#packs .track { position: absolute; top: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: clamp(28px, 4vw, 64px); padding: 64px 8vw 0; will-change: transform; }
#packs .intro2 { flex: none; width: min(520px, 78vw); display: grid; gap: 20px; }
#packs h2 { font-size: clamp(40px, 5.4vw, 84px); font-weight: 800; }
#packs h2 em { font-style: normal; }
#packs .pk { flex: none; display: grid; gap: 18px; justify-items: start; }
#packs .pk .iphone { --w: min(290px, calc(64vh * 417 / 876), 62vw); }
#packs .pk .lbl { position: relative; z-index: 2; }
#packs .pk .lbl b { font: 700 22px var(--display); letter-spacing: -0.03em; display: flex; gap: 10px; align-items: center; }
#packs .pk .lbl b::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
#packs .pk .lbl span { color: var(--fg2); font-size: 15px; display: block; margin-top: 2px; max-width: 18em; }
#packs .end { flex: none; width: min(600px, 84vw); display: grid; gap: 22px; }
#packs .end h3 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 800; }
#packs .pchips { display: flex; flex-wrap: wrap; gap: 10px; }
#packs .pchips span { height: 42px; padding: 0 16px; border-radius: 21px; display: inline-flex; align-items: center; gap: 9px; font: 600 16px var(--display); color: #fff; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
#packs .pchips span i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
#packs .glow { width: 70vmax; height: 50vmax; left: 20%; top: 20%; background: radial-gradient(closest-side, rgba(122,90,248,.18), transparent 70%); }

/* ─────────────────────────── 4. tell ─────────────────────────── */
#tell .stage { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 72px; align-items: center; max-width: 1240px; margin: 0 auto; padding: 80px 24px 40px; }
#tell .glow { width: 56vmax; height: 56vmax; right: 0; top: 10%; background: radial-gradient(closest-side, rgba(122,90,248,.32), rgba(46,91,255,.12) 50%, transparent 72%); }
#tell .left { display: grid; gap: 24px; }
#tell h2 { font-size: clamp(40px, 5.2vw, 80px); font-weight: 800; }
#tell h2 em { font-style: normal; color: #B4A6FF; }
#tell .said { display: grid; gap: 0; border-top: 1px solid var(--hair); max-width: 520px; }
#tell .said > div { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hair); color: var(--fg3); transition: color .4s; }
#tell .said > div.on { color: var(--fg); }
#tell .said > div .q { font: 600 17px/1.3 var(--display); letter-spacing: -0.01em; display: block; }
#tell .said > div .a { font-size: 14px; color: var(--fg3); display: block; }
#tell .said > div.on .a { color: var(--fg2); }
#tell .said .n { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
#tell .said > div.on .n { background: var(--violet); box-shadow: 0 0 24px -2px rgba(122,90,248,.8); color: #fff; }
#tell .said .n .ic { width: 15px; height: 15px; }
#tell .iphone { --w: min(310px, calc(72vh * 417 / 876)); }

/* ─────────────────────────── 5. coach features (paper) ─────────────────────────── */
#coach { padding: 140px 0 120px; }
#coach .head { display: grid; gap: 18px; max-width: 760px; }
#coach h2 { font-size: clamp(38px, 5vw, 76px); font-weight: 800; }
#coach h2 em { font-style: normal; color: var(--violet); }
#coach .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
#coach .fc { background: #fff; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(26,28,41,.06); padding: 24px; display: grid; gap: 12px; align-content: start; position: relative; overflow: hidden; transform-style: preserve-3d; transition: box-shadow .4s; min-height: 250px; }
#coach .fc:hover { box-shadow: inset 0 0 0 1px rgba(122,90,248,.3), 0 30px 60px -40px rgba(122,90,248,.5); }
#coach .fc .i { width: 46px; height: 46px; border-radius: 14px; background: rgba(122,90,248,.1); color: var(--violet); display: grid; place-items: center; }
#coach .fc .i .ic { width: 22px; height: 22px; }
#coach .fc h3 { font-size: 23px; letter-spacing: -0.03em; line-height: 1.1; }
#coach .fc p { color: var(--ink2); font-size: 15.5px; }
#coach .fc .demo { margin-top: auto; border-radius: 16px; background: var(--paper); padding: 12px 14px; font-size: 14px; color: var(--ink); display: flex; gap: 10px; align-items: flex-start; }
#coach .fc .demo .ic { width: 16px; height: 16px; color: var(--violet); margin-top: 2px; }
#coach .fc.wide { grid-column: span 2; }
#coach .fc .shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(122,90,248,.10), transparent 60%); opacity: 0; transition: opacity .3s; }
#coach .fc:hover .shine { opacity: 1; }

/* ─────────────────────────── 6. week rings (paper) ─────────────────────────── */
#week .stage { position: absolute; inset: 0; display: grid; align-content: center; gap: 56px; max-width: 1240px; margin: 0 auto; padding: 80px 24px 40px; }
#week .head { display: grid; gap: 18px; max-width: 760px; }
#week h2 { font-size: clamp(38px, 5vw, 76px); font-weight: 800; }
#week .rings { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
#week .day { display: grid; justify-items: center; gap: 12px; position: relative; }
#week .day svg { width: 100%; max-width: 132px; aspect-ratio: 1; transform: rotate(-90deg); overflow: visible; }
#week .day .v { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 1; max-width: 132px; margin: 0 auto; display: grid; place-items: center; font: 800 clamp(20px, 2.3vw, 32px) var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
#week .day b { font: 600 15px var(--body); }
#week .day span { font-size: 13px; color: var(--ink2); text-align: center; margin-top: -8px; }
#week .day.today b { color: var(--cobalt); }
#week .note { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink2); font-size: 15.5px; }
#week .note span { display: inline-flex; align-items: center; gap: 8px; }
#week .note i { width: 8px; height: 8px; border-radius: 4px; background: var(--c); }
#week .confetti { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; }
#week .confetti i { position: absolute; width: 7px; height: 11px; border-radius: 2px; opacity: 0; }

/* ─────────────────────────── 7. connect (white) ─────────────────────────── */
#connect .stage { position: absolute; inset: 0; max-width: 1240px; margin: 0 auto; padding: 80px 24px 40px; display: grid; align-content: center; gap: 48px; }
#connect .head { display: grid; gap: 18px; max-width: 760px; }
#connect h2 { font-size: clamp(38px, 5vw, 76px); font-weight: 800; }
#connect .flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-top: 70px; }
#connect .flow svg.line { position: absolute; left: 0; top: 0; width: 100%; height: 56px; overflow: visible; }
#connect .flow svg.line path { fill: none; stroke: var(--cobalt); stroke-width: 2; stroke-linecap: round; }
#connect .flow svg.line .dash { stroke: var(--line); stroke-dasharray: 2 8; }
#connect .node { position: absolute; top: 14px; width: 30px; height: 30px; margin-left: -15px; border-radius: 15px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); display: grid; place-items: center; font: 700 13px var(--display); color: var(--ink3); transition: all .4s var(--ease); }
#connect .node.on { background: var(--cobalt); color: #fff; box-shadow: 0 0 0 6px rgba(46,91,255,.14); }
#connect .step { display: grid; gap: 10px; opacity: .25; transition: opacity .5s; }
#connect .step.on { opacity: 1; }
#connect .step h3 { font-size: 26px; letter-spacing: -0.03em; }
#connect .step p { color: var(--ink2); font-size: 16px; }
#connect .step .mock { margin-top: 8px; border-radius: 18px; background: var(--paper); padding: 14px 16px; font-size: 14px; display: grid; gap: 8px; }
#connect .step .mock .sys { display: flex; flex-wrap: wrap; gap: 6px; }
#connect .step .mock .sys span { height: 30px; padding: 0 12px; border-radius: 15px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; font: 600 13px var(--body); }
#connect .step .mock .sys span.on { background: var(--cobalt); color: #fff; box-shadow: none; }
#connect .step .mock .url { font: 500 13px ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink2); background: #fff; border-radius: 10px; padding: 8px 10px; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#connect .step .mock .ask { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: inset 0 0 0 1px rgba(46,91,255,.25); font-weight: 600; }
#connect .step .mock .ask em { font-style: normal; color: #fff; background: var(--cobalt); border-radius: 999px; padding: 4px 12px; font-size: 13px; }
#connect .step .mock .ok { display: flex; align-items: center; gap: 8px; color: var(--fuel); font-weight: 600; }
#connect .step .mock .ok .ic { width: 16px; height: 16px; stroke-width: 3; }

/* ─────────────────────────── 8. parents (paper) ─────────────────────────── */
#parents { padding: 140px 0; }
#parents .head { display: grid; gap: 18px; max-width: 760px; }
#parents h2 { font-size: clamp(36px, 4.6vw, 70px); font-weight: 800; }
#parents .two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
#parents .col { background: #fff; border-radius: 28px; box-shadow: inset 0 0 0 1px rgba(26,28,41,.06); padding: 28px; }
#parents .col h3 { font-size: 24px; letter-spacing: -0.03em; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
#parents .col h3 .ic { width: 24px; height: 24px; }
#parents .col.yes h3 .ic { color: var(--fuel); }
#parents .col.no h3 .ic { color: var(--history); }
#parents ul { list-style: none; margin: 0; padding: 0; }
#parents li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink2); font-size: 15.5px; }
#parents li:last-child { border-bottom: 0; padding-bottom: 0; }
#parents li b { display: block; color: var(--ink); font-weight: 600; font-size: 16.5px; margin-bottom: 2px; }

/* ─────────────────────────── 9. pricing (white) ─────────────────────────── */
#pricing { padding: 140px 0; }
#pricing .head { display: grid; gap: 18px; justify-items: center; text-align: center; }
#pricing h2 { font-size: clamp(36px, 4.6vw, 70px); font-weight: 800; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 56px auto 0; }
.plan { border-radius: 30px; padding: 32px; display: grid; gap: 18px; align-content: start; background: var(--paper); position: relative; overflow: hidden; }
.plan.plus { background: var(--night); color: var(--fg); }
.plan.plus::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 60% at 100% 0%, rgba(122,90,248,.45), transparent 60%), radial-gradient(70% 60% at 0% 100%, rgba(46,91,255,.35), transparent 60%); }
.plan > * { position: relative; }
.plan h3 { font-size: 24px; letter-spacing: -0.03em; display: flex; justify-content: space-between; align-items: center; }
.plan h3 small { font: 600 12.5px var(--body); letter-spacing: 0; color: #fff; background: var(--violet); border-radius: 999px; padding: 5px 10px; }
.plan .price { font: 800 56px/1 var(--display); letter-spacing: -0.045em; }
.plan .price small { font: 500 15px var(--body); letter-spacing: 0; color: var(--ink2); margin-left: 6px; }
.plan.plus .price small { color: var(--fg2); }
.plan ul { margin: 0; padding: 18px 0 0; list-style: none; display: grid; gap: 12px; border-top: 1px solid var(--line); font-size: 16px; }
.plan.plus ul { border-top-color: var(--hair); }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .ic { width: 18px; height: 18px; color: var(--fuel); stroke-width: 2.6; margin-top: 3px; }
.plan.plus li .ic { color: #B4A6FF; }
.plan .fine { color: var(--ink3); font-size: 14px; }
.plan.plus .fine { color: var(--fg3); }

/* ─────────────────────────── 10. get ─────────────────────────── */
#get { padding: 160px 0 140px; text-align: center; overflow: hidden; }
#get .glow { width: 80vmax; height: 60vmax; left: 50%; top: 30%; margin-left: -40vmax; background: radial-gradient(closest-side, rgba(46,91,255,.3), rgba(122,90,248,.12) 50%, transparent 72%); }
#get .inner { position: relative; display: grid; gap: 26px; justify-items: center; }
#get .appicon { width: 132px; height: 132px; border-radius: 30px; position: relative; box-shadow: 0 40px 80px -30px rgba(46,91,255,.8), inset 0 0 0 1px rgba(255,255,255,.15); overflow: hidden; }
#get .appicon img { width: 100%; height: 100%; }
#get .appicon::after { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(-60%); animation: sheen 4.5s var(--ease) infinite; }
@keyframes sheen { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }
#get h2 { font-size: clamp(44px, 6.4vw, 100px); font-weight: 800; }
/* the TestFlight list */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.join { width: min(580px, 100%); display: grid; gap: 14px; justify-items: center; margin-top: 6px; }
.join .field { position: relative; width: 100%; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: box-shadow .35s var(--ease), background .35s; }
.join .field:focus-within { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px var(--cobalt), 0 0 0 6px rgba(46,91,255,.16); }
.join .field.bad { box-shadow: inset 0 0 0 1.5px #FF6F61, 0 0 0 6px rgba(255,111,97,.14); animation: nudge .4s var(--ease); }
@keyframes nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-7px); } 60% { transform: translateX(5px); } }
.join input { font: inherit; color: var(--fg); background: transparent; border: 0; outline: 0; margin: 0; -webkit-appearance: none; appearance: none; }
.join input::placeholder { color: var(--fg3); opacity: 1; }
.join .field input { flex: 1; min-width: 0; height: 52px; padding: 0 8px 0 20px; font: 600 19px var(--display); letter-spacing: -0.01em; }
.join .field .btn { flex: none; height: 52px; }
.join .field .btn .busy { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
.join.sending .field .btn { pointer-events: none; }
.join.sending .field .btn .busy { display: block; }
.join.sending .field .btn .ic { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.join .more { width: 100%; display: flex; align-items: center; gap: 12px; }
.join .more input[type="text"] { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border-radius: 999px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font: 500 16px var(--body); transition: box-shadow .35s var(--ease); }
.join .more input[type="text"]:focus { box-shadow: inset 0 0 0 1.5px var(--cobalt); }
.join .age { flex: none; display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 12px; border-radius: 999px; font: 500 15px var(--body); color: var(--fg2); cursor: pointer; user-select: none; -webkit-user-select: none; transition: color .3s, box-shadow .35s var(--ease); }
.join .age input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.join .age .box { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32); transition: background .3s var(--ease), box-shadow .3s; }
.join .age .box .ic { width: 15px; height: 15px; color: #fff; stroke-width: 3; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.join .age input:checked + .box { background: var(--cobalt); box-shadow: none; }
.join .age input:checked + .box .ic { transform: scale(1); }
.join .age input:focus-visible + .box { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.32), 0 0 0 4px rgba(46,91,255,.4); }
.join .age:has(input:checked) { color: var(--fg); }
.join .age.bad { box-shadow: inset 0 0 0 1.5px #FF6F61; color: var(--fg); animation: nudge .4s var(--ease); }
.join .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join .msg { margin: 0; min-height: 0; font: 500 15px var(--body); color: #FF8F84; }
.join .msg:empty { display: none; }
.join .fine { margin: 2px 0 0; font-size: 14px; color: var(--fg3); text-wrap: balance; }
.join .fine a { color: var(--fg2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(242,243,247,.3); }
.joined { display: grid; justify-items: center; gap: 12px; margin-top: 6px; outline: 0; }
.join[hidden], .joined[hidden] { display: none; }
.joined .tick { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--fuel); box-shadow: 0 24px 60px -18px rgba(34,160,107,.8); }
.joined .tick .ic { width: 38px; height: 38px; color: #fff; stroke-width: 3; stroke-dasharray: 26; stroke-dashoffset: 26; }
.joined.in .tick { animation: pop .6s cubic-bezier(.3, 1.5, .5, 1) both; }
.joined.in .tick .ic { animation: draw .5s .25s var(--ease) forwards; }
.joined.in h3, .joined.in p { animation: rise .6s var(--ease) both; }
.joined.in p { animation-delay: .08s; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.joined h3 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.joined p { margin: 0; color: var(--fg2); font-size: 17px; max-width: 30em; text-wrap: balance; }
.joined p b { color: var(--fg); font-weight: 600; overflow-wrap: anywhere; }
footer { background: var(--night); color: var(--fg3); padding: 0 0 40px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; border-top: 1px solid var(--hair); padding-top: 28px; }
footer a { color: var(--fg); margin-left: 20px; opacity: .8; }
footer a:hover { opacity: 1; }

.rv { opacity: 0; transform: translateY(28px); }

/* ─────────────────────────── phone widths ─────────────────────────── */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav .links a:not(.btn) { display: none; }
  #intro .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding: 92px 20px 0; gap: 22px; text-align: center; }
  #intro .copy { gap: 14px; justify-items: center; }
  #intro h1 { font-size: clamp(40px, 11vw, 60px); }
  #intro .lede { font-size: 15.5px; }
  #intro .cta .ghost { display: none; }
  #intro .ph { align-items: start; }
  #intro .iphone { --w: min(250px, 62vw, calc(46vh * 417 / 876)); }
  #day .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 14px; padding: 80px 20px 112px; align-items: start; justify-items: center; }
  #day .left { gap: 8px; width: 100%; }
  #day .clock { font-size: 58px; gap: 8px; }
  #day .clock small { font-size: 18px; }
  #day .chs { min-height: 6.4em; }
  #day .ch { gap: 6px; }
  #day .ch h2 { font-size: 24px; }
  #day .ch p { font-size: 14.5px; }
  #day .ch .k { font-size: 13px; }
  #day .iphone { --w: min(240px, 60vw, calc(44vh * 417 / 876)); }
  #day .strip { padding: 0 16px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  #day .strip .lab { font-size: 12.5px; bottom: 54px; padding: 5px 10px; }
  #day .strip .tr { height: 26px; }
  #day .strip .bk { top: 8px; height: 10px; }
  #day .strip .bk.now { top: 1px; height: 24px; }
  #day .strip .hr { font-size: 11.5px; }
  #tonight .stage { grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 14px; padding: 78px 16px 16px; align-content: start; }
  #tonight .left { gap: 10px; }
  #tonight h2 { font-size: 34px; }
  #tonight .left .lede { display: none; }
  #tonight .est { padding: 12px 14px; margin-top: 4px; }
  #tonight .est b { font-size: 15px; }
  #tonight .est span { font-size: 12.5px; }
  #tonight .est .n { font-size: 30px; }
  #tonight .tplan { border-radius: 24px; padding: 4px 0; }
  #tonight .tplan .hdr { padding: 10px 16px 6px; }
  #tonight .tplan .hdr b { font-size: 19px; }
  #tonight .ev { grid-template-columns: 46px 3px minmax(0, 1fr) auto; gap: 10px; height: 44px; padding: 0 16px; }
  #tonight .ev .tm { font-size: 14px; }
  #tonight .ev .bar { height: 26px; width: 3px; }
  #tonight .ev b { font-size: 14px; }
  #tonight .ev > div span { font-size: 12px; }
  #tonight .ev .m { font-size: 11.5px; padding: 4px 8px; }
  #tonight .ev.brk { display: none; }
  #packs .track { padding: 60px 24px 0; gap: 28px; }
  #packs .pk .iphone { --w: min(250px, 64vw, calc(58vh * 417 / 876)); }
  #tell .stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 16px; padding: 80px 20px 20px; justify-items: center; align-content: start; }
  #tell .left { gap: 10px; text-align: left; width: 100%; }
  #tell h2 { font-size: 34px; }
  #tell .left .lede { display: none; }
  #tell .said > div { padding: 8px 0; grid-template-columns: 28px 1fr; gap: 10px; }
  #tell .said .n { width: 26px; height: 26px; border-radius: 8px; }
  #tell .said > div .q { font-size: 14.5px; }
  #tell .said > div .a { display: none; }
  #tell .iphone { --w: min(220px, 56vw, calc(42vh * 417 / 876)); }
  #coach, #parents, #pricing { padding: 96px 0; }
  #coach .cards { grid-template-columns: 1fr; margin-top: 36px; }
  #coach .fc.wide { grid-column: auto; }
  #coach .fc { min-height: 0; }
  #week .stage { gap: 32px; padding: 80px 20px 20px; }
  #week .rings { grid-template-columns: repeat(4, 1fr); gap: 18px 12px; }
  #week .day span { display: none; }
  #connect .flow { grid-template-columns: 1fr; gap: 14px; padding-top: 0; }
  #connect .flow svg.line, #connect .node { display: none; }
  #connect .step h3 { font-size: 20px; }
  #connect .step p { font-size: 14.5px; }
  #connect .step .mock { display: none; }
  #connect .stage { gap: 26px; padding-top: 72px; }
  #connect h2, #week h2 { font-size: 34px; }
  #parents .two, .plans { grid-template-columns: 1fr; }
  #parents .col, .plan { padding: 22px; }
  footer a { margin: 0 20px 0 0; }
}
@media (max-width: 600px) {
  #get { padding: 120px 0 110px; }
    .join .field { flex-direction: column; align-items: stretch; border-radius: 28px; gap: 6px; }
  .join .field input { height: 54px; padding: 0 18px; text-align: center; font-size: 18px; }
  .join .field .btn { width: 100%; height: 54px; }
  .join .more { flex-direction: column; gap: 8px; }
  .join .more input[type="text"] { width: 100%; flex: none; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  #intro .hint i::after, #get .appicon::after, .scr .tin .field .cur, .join .field.bad, .join .age.bad, .joined.in .tick, .joined.in h3, .joined.in p { animation: none; }
  .joined .tick .ic { stroke-dashoffset: 0; animation: none !important; }
}

/* the render mode used to make the glass texture of the first phone */
body.shot { background: transparent !important; }
body.shot > *:not(.shotbox) { display: none !important; }
.shotbox { position: fixed; left: 0; top: 0; padding: 0; }
.shotbox .iphone { --w: 420px; box-shadow: inset 0 0 0 calc(var(--w) * .003) rgba(255,255,255,.45), inset 0 0 0 calc(var(--w) * .012) #0a0b0f; opacity: 1 !important; }
.shotbox .iphone::before, .shotbox .iphone::after { display: none; }
