/* getunskippable.com, "Ink" (MEXA-2244 concept B, built out on MEXA-2273). The app's dark palette as the page, its
   light palette as the light scheme (app/v2/theme.ts). Type-led: Figtree ExtraBold set huge, Barlow Condensed for
   the big numbers. The product shows as the app's own screens rebuilt in HTML (the .ph / .a-* kit below, sized like
   the app at 390 px and scaled), never as a mood. One accent, flat colour, no gradients, glows, sparkles or emoji.
   Motion: entrances once, ease-out, under 320 ms per element; the phones play short loops (site.js); every
   movement is transform/opacity; reduced motion shows every scene finished. */
@font-face { font-family: Figtree; src: url(/Figtree-Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Figtree; src: url(/Figtree-SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Figtree; src: url(/Figtree-ExtraBold.ttf) format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: Barlow Condensed; src: url(/BarlowCondensed-Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #121214; --surface: #1C1C1F; --well: #26262A; --ink: #F2F1EC; --ink2: #C5C4BE; --muted: #8E8E96; --hair: #2E2E33;
  --accent: #4FAF8D; --accent-deep: #3E9677; --accent-soft: #18302A; --on-accent: #0C1A15; --weak: #E2735F; --ok: #D9A04A;
  --plaque: #F2F1EC; --on-plaque: #121214; --frame: #2A2A2F;
  --app-plaque: #2A2A2F; --app-on-plaque: #EDEAE2; --app-soft: #9A9AA2; --app-soft2: #C5C4BE; --app-green-on-ink: #7FCDB0; --app-glass: rgba(28, 28, 31, .92);
  --shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .25); --shadow-deep: 0 30px 60px rgba(0, 0, 0, .5);
  --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --max: 1200px;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #F4F2EC; --surface: #FFFFFF; --well: #ECE9E1; --ink: #17171A; --ink2: #4A4A52; --muted: #7C7C84; --hair: #E3DFD6;
    --accent: #176B55; --accent-deep: #0F5141; --accent-soft: #E1EEE8; --on-accent: #fff; --weak: #BF4A36; --ok: #A86B14;
    --plaque: #17171A; --on-plaque: #F2F1EC; --frame: #17171A;
    --app-plaque: #1D1D21; --app-on-plaque: #EDEAE2; --app-glass: rgba(246, 244, 239, .94);
    --shadow: 0 10px 24px rgba(27, 26, 23, .07), 0 2px 6px rgba(27, 26, 23, .04); --shadow-deep: 0 30px 60px rgba(27, 26, 23, .14);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F4F2EC; --surface: #FFFFFF; --well: #ECE9E1; --ink: #17171A; --ink2: #4A4A52; --muted: #7C7C84; --hair: #E3DFD6;
  --accent: #176B55; --accent-deep: #0F5141; --accent-soft: #E1EEE8; --on-accent: #fff; --weak: #BF4A36; --ok: #A86B14;
  --plaque: #17171A; --on-plaque: #F2F1EC; --frame: #17171A;
  --app-plaque: #1D1D21; --app-on-plaque: #EDEAE2; --app-glass: rgba(246, 244, 239, .94);
  --shadow: 0 10px 24px rgba(27, 26, 23, .07), 0 2px 6px rgba(27, 26, 23, .04); --shadow-deep: 0 30px 60px rgba(27, 26, 23, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.5 Figtree, -apple-system, 'Segoe UI', sans-serif; overflow-x: clip; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.03em; line-height: 1; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(56px, 7.4vw, 112px); letter-spacing: -.05em; line-height: .9; max-width: 6.6em; }
h2 { font-size: clamp(36px, 5vw, 68px); letter-spacing: -.04em; line-height: .98; }
h3 { font-size: 26px; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.kicker { font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
.lead { font-size: 20px; line-height: 1.45; color: var(--ink2); max-width: 30em; }
.note { font-size: 14px; color: var(--muted); }
.head { max-width: 760px; margin: 0 0 56px; }
.head .lead { margin-top: 18px; }
section { padding: 96px 0; max-width: var(--max); margin: 0 auto; scroll-margin-top: 80px; }
main, header.top, footer { padding-left: 28px; padding-right: 28px; }
main { max-width: calc(var(--max) + 56px); margin: 0 auto; }
.ic { width: 18px; height: 18px; fill: currentColor; flex: none; transition: transform .25s var(--ease-out); }

.mark { width: 28px; height: 28px; fill: var(--accent); flex: none; }
.mark .eye { fill: var(--bg); transform-box: fill-box; transform-origin: center; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -.03em; }

/* Buttons: ink on paper (the page's ink is light on dark). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600; font-size: 17px; line-height: 1; padding: 18px 26px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s var(--ease-out), background .2s ease, color .2s ease; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn.small { padding: 12px 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--hair); }
.btn[disabled] { opacity: .6; cursor: default; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--accent); color: var(--on-accent); transform: translateY(-1px); }
  .btn:hover .ic { transform: translateX(3px); }
  .btn.ghost:hover { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 2px var(--hair); }
}

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; height: 68px; max-width: calc(var(--max) + 56px); margin: 0 auto; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .links { display: flex; gap: 22px; margin-left: 24px; font-size: 15px; font-weight: 600; color: var(--ink2); }
.top .links a { text-decoration: none; }
.top .links a:hover { color: var(--ink); }
.top .theme { margin-left: auto; }
.top > .btn.small:last-child { margin-left: 0; }
.top:not(:has(.theme)) > .btn.small { margin-left: auto; }
.theme { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0; background: transparent; color: var(--ink2); cursor: pointer; box-shadow: inset 0 0 0 2px var(--hair); transition: color .2s, background .2s; }
.theme svg { width: 20px; height: 20px; fill: currentColor; }
.theme:hover { color: var(--ink); background: var(--surface); }

/* Hero: the statement on the left, the app working on the right. */
.hero { padding-top: 36px; padding-bottom: 48px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero .lead { margin-top: 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.hero .note { margin-top: 16px; }
.hero-stage { display: flex; flex-direction: column; align-items: center; justify-self: center; --s: .78; }
.stage-note { font-size: 13px; color: var(--muted); margin-top: 18px; text-align: center; max-width: 30em; }
/* Entrance: the words of the statement first, one 70 ms behind the other; the rest after. */
.e { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms + 60ms); }
.kicker.e { transform: none; }
h1.e { opacity: 1; transform: none; }
h1 .w { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
h1 .w:nth-child(1) { transition-delay: 120ms; } h1 .w:nth-child(2) { transition-delay: 190ms; } h1 .w:nth-child(3) { transition-delay: 260ms; } h1 .w:nth-child(4) { transition-delay: 330ms; } h1 .w:nth-child(5) { transition-delay: 400ms; } h1 .w:nth-child(6) { transition-delay: 470ms; }
[data-d="1"] { --d: 1; } [data-d="2"] { --d: 2; } [data-d="3"] { --d: 3; } [data-d="4"] { --d: 4; }
.ready .e, .ready h1 .w { opacity: 1; transform: none; }

/* ---------- The phone and the app's parts (app/v2/theme.ts, homeTile.tsx, coachChat.tsx, edit/[id].tsx) ---------- */
.ph-wrap { width: calc(414px * var(--s, .72)); height: calc(868px * var(--s, .72)); flex: none; }
.ph { width: 414px; height: 868px; transform: scale(var(--s, .72)); transform-origin: 0 0; background: var(--frame); border-radius: 60px; padding: 12px; box-shadow: var(--shadow-deep); }
.scr { position: relative; width: 390px; height: 844px; border-radius: 50px; overflow: hidden; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.4; letter-spacing: 0; isolation: isolate; }
.sb { position: relative; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 34px; font-size: 16px; font-weight: 600; }
.sb .island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.sb .sb-r { width: 27px; height: 13px; border: 2px solid var(--ink); border-radius: 5px; position: relative; opacity: .9; }
.sb .sb-r::before { content: ''; position: absolute; inset: 2px; right: 4px; background: var(--ink); border-radius: 2px; }
.sb .sb-r::after { content: ''; position: absolute; right: -5px; top: 2px; width: 2px; height: 5px; background: var(--ink); border-radius: 0 2px 2px 0; }
.hi-bar { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--ink); opacity: .9; }
.a-head { height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 6px; }
.a-head .a-ico { width: 44px; height: 44px; padding: 10px; fill: var(--ink); flex: none; }
.a-head .a-back.in { width: 44px; height: 44px; display: grid; place-items: center; flex: none; }
.a-head .a-back.in svg { width: 22px; height: 22px; fill: var(--ink); }
.a-handle { flex: 1; min-width: 0; text-align: center; font-weight: 600; font-size: 15px; color: var(--ink2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet .a-handle { font-size: 17px; color: var(--ink); }
.a-handle.left { text-align: left; font-size: 20px; letter-spacing: -.3px; color: var(--ink); padding-left: 2px; }
.a-pill { font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 8px; border-radius: 999px; margin-right: 12px; white-space: nowrap; }
.a-line { display: flex; align-items: flex-start; gap: 10px; padding: 14px 20px 6px; min-height: 44px; font-size: 14px; line-height: 19px; color: var(--ink2); opacity: 0; transition: opacity .2s var(--ease-out); }
.a-line.on { opacity: 1; }
.a-line .a-dot { width: 8px; height: 8px; border-radius: 4px; margin-top: 6px; background: var(--accent); flex: none; }
.a-line .a-line-t { flex: 1; }
.a-line em { font-style: normal; font-size: 13px; color: var(--muted); padding-top: 1px; }
.a-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 6px 16px 12px; }
.a-tile { position: relative; display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); padding: 14px 16px 12px; min-height: 150px; opacity: 0; transform: translateY(8px); will-change: transform, opacity; }
.a-tile.on { opacity: 1; transform: none; transition: opacity .2s var(--ease-out), transform .32s var(--ease-out); }
.a-tile.plq { grid-column: 1 / -1; background: var(--app-plaque); color: var(--app-on-plaque); padding: 16px 18px 14px; min-height: 164px; transform: translateY(14px); }
.a-tile.plq.on { transform: none; }
.a-tile.wide { grid-column: 1 / -1; min-height: 96px; }
.a-tile.strip { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; min-height: 50px; padding: 12px 4px; border-radius: 0; background: transparent; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); transform: none; }
.a-grid.still .a-tile { opacity: 1; transform: none; }
.a-tile.flip { transition: transform .32s var(--ease-out); }
.a-tile.press { transform: scale(.98); transition: transform .12s var(--ease-out); }
.a-k { font-size: 13px; line-height: 16px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plq .a-k { color: var(--app-soft); }
.a-v { font-weight: 800; font-size: 34px; line-height: 38px; letter-spacing: -1.3px; margin-top: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.a-v small { font-size: 18px; font-weight: 700; letter-spacing: -.3px; color: var(--muted); margin-left: 5px; }
.plq .a-v { font-size: 46px; line-height: 50px; letter-spacing: -2px; margin-top: 12px; }
.plq .a-v small { color: var(--app-soft); }
.a-title { font-weight: 700; font-size: 24px; line-height: 28px; letter-spacing: -.6px; margin-top: 10px; }
.a-sub { font-size: 14px; line-height: 19px; color: var(--ink2); margin-top: 6px; }
.a-sub b { font-weight: 600; color: var(--accent); }
.plq .a-sub { color: var(--app-soft2); }
.plq .a-sub b { color: var(--app-green-on-ink); }
.a-why { display: flex; align-items: flex-start; gap: 7px; margin-top: auto; padding-top: 12px; font-size: 12.5px; line-height: 16px; color: var(--muted); }
.a-why i { width: 5px; height: 5px; border-radius: 3px; margin-top: 6px; background: var(--accent); flex: none; }
.plq .a-why { color: var(--app-soft); }
.plq .a-why i { background: var(--app-green-on-ink); }
.a-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.a-spark { display: flex; align-items: flex-end; gap: 3px; width: 110px; height: 38px; }
.a-spark i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px 2px 0 0; background: var(--hair); transform: scaleY(0); transform-origin: bottom; transition: transform .36s var(--ease-out); }
.a-spark i.hi { background: var(--accent); }
.a-spark i:nth-child(1) { --h: .22; } .a-spark i:nth-child(2) { --h: .3; } .a-spark i:nth-child(3) { --h: .26; } .a-spark i:nth-child(4) { --h: .38; } .a-spark i:nth-child(5) { --h: .5; } .a-spark i:nth-child(6) { --h: .58; } .a-spark i:nth-child(7) { --h: 1; }
.on .a-spark i, .still .a-spark i { transform: none; }
.on .a-spark i:nth-child(2) { transition-delay: 40ms; } .on .a-spark i:nth-child(3) { transition-delay: 80ms; } .on .a-spark i:nth-child(4) { transition-delay: 120ms; } .on .a-spark i:nth-child(5) { transition-delay: 160ms; } .on .a-spark i:nth-child(6) { transition-delay: 200ms; } .on .a-spark i:nth-child(7) { transition-delay: 240ms; }
.a-st { font-size: 14px; font-weight: 500; color: var(--ink2); }
.a-sv { font-size: 16px; font-weight: 700; letter-spacing: -.2px; }
.a-sw { flex: 1; text-align: right; font-size: 12.5px; line-height: 16px; color: var(--muted); }
.a-ex { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--well); padding: 3px 7px; border-radius: 999px; align-self: flex-start; white-space: nowrap; }
.plq .a-ex { position: absolute; top: 14px; right: 14px; background: rgba(255, 255, 255, .1); color: var(--app-soft); }
.a-ring { position: absolute; inset: -4px; border-radius: 26px; border: 2px solid color-mix(in srgb, var(--accent) 50%, transparent); opacity: 0; pointer-events: none; }
.cheer { animation: cheer .5s var(--ease-out); }
.cheer .a-ring { animation: ring .86s var(--ease-out); }
@keyframes cheer { 0% { transform: scale(1); } 36% { transform: scale(1.03); } 100% { transform: scale(1); } }
@keyframes ring { 0% { opacity: 0; } 21% { opacity: 1; } 44% { opacity: 1; } 100% { opacity: 0; } }
.a-compose { position: absolute; left: 16px; right: 16px; bottom: 26px; height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 5px 0 18px; border: 1px solid var(--hair); border-radius: 999px; background: var(--surface); font-size: 16px; color: var(--muted); }
.a-compose > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-compose i { width: 40px; height: 40px; border-radius: 999px; background: var(--well); display: grid; place-items: center; flex: none; }
.a-compose i svg { width: 18px; height: 18px; fill: var(--muted); }
.a-menu { position: absolute; z-index: 4; width: 214px; padding: 4px 0; border-radius: 12px; background: var(--app-plaque); color: var(--app-on-plaque); border: 1px solid rgba(255, 255, 255, .28); box-shadow: 0 14px 16px rgba(27, 26, 23, .38); opacity: 0; transform: scale(.96); transform-origin: 50% 100%; transition: opacity .12s var(--ease-out), transform .16s var(--ease-out); pointer-events: none; }
.a-menu.on { opacity: 1; transform: none; }
.a-menu b { display: block; height: 46px; line-height: 45px; padding: 0 16px; font-weight: 500; font-size: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.a-menu b:first-child { border-top: 0; }
.a-menu b.dim { color: #C5C4BE; }
.a-menu b.hit { background: rgba(255, 255, 255, .1); }
.a-touch { position: absolute; left: 0; top: 0; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 18%, transparent); border: 2px solid color-mix(in srgb, var(--ink) 55%, transparent); opacity: 0; transform: scale(.6); transition: opacity .12s var(--ease-out), transform .2s var(--ease-out); pointer-events: none; z-index: 6; }
.a-touch.on { opacity: 1; transform: scale(1); }
.a-touch.hold { transform: scale(1.3); }
/* Pages inside one phone: the home underneath; a sheet slides in from the right; the film screen fades up. */
.a-page { position: absolute; inset: 0; padding-top: 54px; background: var(--bg); }
.a-page.sheet { transform: translateX(100%); transition: transform .36s var(--ease-out); }
.a-page.sheet.on { transform: none; }
.a-page.film { background: #121214; color: #fff; opacity: 0; transform: translateY(18px); transition: opacity .24s var(--ease-out), transform .32s var(--ease-out); }
.a-page.film.on { opacity: 1; transform: none; }
.a-pad { padding: 0 20px; }
.a-back { width: 44px; height: 44px; border-radius: 999px; background: var(--surface); display: grid; place-items: center; margin-top: 2px; }
.a-back svg { width: 20px; height: 20px; fill: var(--ink); }
.a-kicker { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.a-kicker.soft { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); margin-top: 14px; }
.a-h1 { position: relative; font-weight: 800; font-size: 30px; line-height: 35px; letter-spacing: -.6px; margin-top: 4px; }
.a-h1 > span { display: block; transition: opacity .18s var(--ease-out), transform .28s var(--ease-out); }
.swap { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); }
.b > span:first-child { opacity: 0; transform: translateY(-8px); }
.b > .swap { opacity: 1; transform: none; }
.a-h2 { font-weight: 700; font-size: 24px; line-height: 29px; letter-spacing: -.4px; margin-top: 6px; }
.a-h3 { font-weight: 600; font-size: 18px; line-height: 24px; margin-top: 8px; }
.a-body { font-size: 16px; line-height: 23px; color: var(--ink2); margin-top: 6px; }
.a-body.soft { color: var(--muted); font-size: 15px; line-height: 21px; }
.a-vids { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.a-vid { position: relative; }
.a-vid img { width: 100%; aspect-ratio: 338 / 597; object-fit: cover; border-radius: 20px; background: var(--well); }
.a-vid .a-mute { position: absolute; right: 10px; top: calc(100% * 597 / 597 - 42px); top: auto; bottom: 58px; width: 32px; height: 32px; border-radius: 999px; background: rgba(20, 24, 22, .55); display: grid; place-items: center; }
.a-vid .a-mute svg { width: 17px; height: 17px; fill: #fff; }
.a-vid b { position: relative; display: block; font-weight: 700; font-size: 15px; line-height: 20px; margin-top: 8px; }
.a-vid b > span { display: block; transition: opacity .18s var(--ease-out), transform .28s var(--ease-out); white-space: nowrap; }
.a-vid small { display: block; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.a-chips { display: flex; gap: 8px; margin-top: 14px; }
.a-chips span { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--hair); background: var(--surface); font-weight: 500; font-size: 16px; }
.a-chips span.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.a-chips svg { width: 14px; height: 14px; fill: currentColor; }
.a-talk { margin-top: 12px; }
.a-talk > p { opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-talk > p.on { opacity: 1; transform: none; }
.a-quote { background: var(--surface); border-radius: 20px 20px 20px 6px; padding: 12px 14px; font-weight: 600; font-size: 14px; line-height: 19px; }
.a-quote::before { content: '“'; } .a-quote::after { content: '”'; }
.a-ans { font-size: 14px; line-height: 19px; color: var(--ink2); margin-top: 8px; padding: 0 14px; }
.a-change { font-size: 14px; font-weight: 600; color: var(--accent); margin-top: 6px; padding: 0 14px; }
.a-save { font-size: 15px; font-weight: 600; color: var(--accent); margin-top: 12px; }
.a-save.hit { text-decoration: underline; text-underline-offset: 3px; }
.a-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 20px 20px; background: var(--bg); z-index: 2; }
.a-compose.field { position: static; display: grid; grid-template-columns: 1fr 40px; align-items: start; height: auto; min-height: 60px; border-radius: 22px; background: var(--well); border-color: transparent; padding: 10px 6px 10px 16px; }
.a-compose.field > span { white-space: normal; font-size: 15px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-compose.field .a-typed { color: var(--ink); display: none; }
.a-compose.field.typing .a-typed { display: -webkit-box; }
.a-compose.field.typing .a-ph { display: none; }
.a-compose.field i { background: transparent; margin-top: -4px; }
.a-compose.field i.hit svg { fill: var(--accent); }
.a-cta { display: flex; align-items: center; justify-content: center; gap: 8px; height: 56px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 17px; margin-top: 12px; }
.a-cta svg { width: 18px; height: 18px; fill: currentColor; }
.a-link { text-align: center; font-weight: 600; font-size: 15px; color: var(--accent); margin-top: 10px; }
/* Today's plan and the filming screen */
.a-shots { margin-top: 14px; }
.a-shots li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hair); opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-shots li.on { opacity: 1; transform: none; }
.a-shots i { width: 26px; height: 26px; border-radius: 999px; background: var(--well); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; flex: none; margin-top: 1px; }
.a-shots div { flex: 1; min-width: 0; }
.a-shots b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.a-shots small { display: block; font-size: 13px; line-height: 17px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-shots span { font-size: 13px; color: var(--muted); padding-top: 2px; }
.a-total { font-size: 13px; color: var(--muted); margin-top: 10px; }
.a-btns { display: flex; gap: 10px; margin-top: 16px; }
.a-btns b, .a-btns span { height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 30px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.a-btns b { background: var(--ink); color: var(--bg); }
.a-btns b.press { transform: scale(.97); transition: transform .12s var(--ease-out); }
.a-btns span { border: 1px solid var(--hair); }
.a-total, .a-btns { opacity: 0; transition: opacity .2s var(--ease-out); }
.a-total.on, .a-btns.on { opacity: 1; }
.a-pills { display: flex; justify-content: space-between; padding: 10px 16px 0; }
.a-pills span { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 600; font-size: 16px; color: #fff; }
.a-pills svg { width: 16px; height: 16px; fill: #fff; margin-left: -6px; }
.a-pills i { width: 8px; height: 8px; border-radius: 999px; background: #4FAF8D; }
.a-film-text { position: absolute; left: 20px; right: 20px; top: 40%; }
.a-film-text h3 { font-weight: 700; font-size: 32px; line-height: 38px; letter-spacing: -.8px; color: #fff; }
.a-film-text p { font-size: 17px; line-height: 24px; color: rgba(255, 255, 255, .75); margin-top: 10px; }
.a-film-btns { position: absolute; left: 20px; right: 20px; bottom: 30px; }
.a-film-btns b, .a-film-btns span { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 999px; font-weight: 600; font-size: 17px; }
.a-film-btns b { background: #fff; color: #121214; }
.a-film-btns span { border: 1px solid rgba(255, 255, 255, .25); color: #fff; margin-top: 10px; }
/* Wins */
.a-huge { font-weight: 800; font-size: 56px; line-height: 58px; letter-spacing: -2.2px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.a-wins { margin-top: 12px; border-top: 1px solid var(--hair); }
.a-wins li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--hair); opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-wins li.on { opacity: 1; transform: none; }
.a-wins li > div:first-child { flex: 1; min-width: 0; }
.a-wins small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.a-wins b { display: block; font-weight: 600; font-size: 16px; line-height: 21px; margin-top: 2px; }
.a-wins span { display: block; font-size: 14px; line-height: 19px; color: var(--ink2); margin-top: 3px; }
.a-wins .num { text-align: right; padding-top: 14px; max-width: 42%; }
.a-wins .num b { font-weight: 700; font-size: 22px; letter-spacing: -.4px; margin: 0; font-variant-numeric: tabular-nums; }
.a-wins .num small { font-weight: 400; font-size: 12px; margin-top: 0; }
.a-wins svg, .a-wins li > i { width: 14px; height: 14px; fill: var(--muted); flex: none; margin-top: 20px; }
.a-foot { font-size: 12.5px; line-height: 17px; color: var(--muted); margin-top: 16px; }
/* Camera roll */
.a-card { background: var(--surface); border-radius: 22px; padding: 18px; margin-top: 14px; }
.a-card h4 { font-weight: 700; font-size: 20px; line-height: 25px; letter-spacing: -.4px; }
.a-card > p { font-size: 14px; line-height: 19px; color: var(--ink2); margin-top: 6px; }
.a-steps li { display: flex; gap: 12px; margin-top: 14px; }
.a-steps i { width: 24px; height: 24px; border-radius: 999px; background: var(--well); display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 600; flex: none; }
.a-steps b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.a-steps small { display: block; font-size: 13px; line-height: 17px; color: var(--muted); margin-top: 2px; }
.a-cta.green { height: 50px; font-size: 16px; margin-top: 16px; }
.a-cta.press { transform: scale(.97); transition: transform .12s var(--ease-out); }
.a-del { display: block; font-size: 13px; color: var(--muted); margin-top: 12px; }
.a-reels li { background: var(--surface); border-radius: 20px; padding: 14px 16px; margin-top: 10px; opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-reels li.on { opacity: 1; transform: none; }
.a-reels .t { display: flex; justify-content: space-between; gap: 10px; }
.a-reels .t b { font-weight: 600; font-size: 16px; line-height: 21px; flex: 1; }
.a-reels .t small { font-size: 13px; color: var(--muted); padding-top: 2px; white-space: nowrap; }
.a-reels p { font-size: 13px; line-height: 18px; color: var(--ink2); margin-top: 6px; }
.a-reels p + p { margin-top: 0; }
.a-reels p b { font-weight: 600; color: var(--ink); }
.a-reels .st { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }
.a-reels .st em { font-style: normal; font-weight: 600; color: var(--accent); }
.a-reels .st.watching { position: relative; }
.a-reels .st.watching > span { display: block; transition: opacity .18s var(--ease-out), transform .28s var(--ease-out); }
.a-reels .st.watching.b > span:first-child { opacity: 0; transform: translateY(-6px); }
.a-reels .st.watching.b > .swap { opacity: 1; transform: none; color: var(--ink2); }
/* A post page */
.a-cover { position: relative; height: 300px; overflow: hidden; border-radius: 0 0 40px 40px; background: var(--well); }
.a-cover img { width: 100%; height: 100%; object-fit: cover; }
.a-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 999px; background: var(--app-glass); display: grid; place-items: center; }
.a-close svg { width: 18px; height: 18px; fill: var(--ink); }
.a-xpill { position: absolute; right: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: var(--app-glass); font-weight: 600; font-size: 14px; color: var(--ink); opacity: 0; transform: translateY(6px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-xpill.on { opacity: 1; transform: none; }
.a-meta { font-size: 15px; color: var(--muted); margin-top: 18px; }
.a-x { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.a-x > b { font-weight: 800; font-size: 60px; line-height: 60px; letter-spacing: -2.5px; color: var(--accent); font-variant-numeric: tabular-nums; }
.a-x div b { display: block; font-weight: 600; font-size: 15px; color: var(--ink2); }
.a-x div small { display: block; font-size: 14px; color: var(--muted); }
.a-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 22px; margin-top: 16px; padding: 6px 16px 2px; display: block; }
.a-table thead, .a-table tbody, .a-table tr { display: flex; width: 100%; }
.a-table thead, .a-table tbody { flex-direction: column; }
.a-table th, .a-table td { flex: 1; text-align: right; padding: 11px 0; font-size: 15px; }
.a-table th { font-weight: 400; color: var(--muted); font-size: 14px; }
.a-table th:first-child, .a-table td:first-child { flex: 1.3; text-align: left; color: var(--ink2); }
.a-table td { border-top: 1px solid var(--hair); font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.a-table td:nth-child(2) { font-weight: 700; color: var(--ink); }
.a-table td.hi { color: var(--accent); }
.a-table tbody tr { opacity: 0; transition: opacity .25s var(--ease-out); }
.a-table.on tbody tr { opacity: 1; }
.a-table.on tbody tr:nth-child(2) { transition-delay: 60ms; } .a-table.on tbody tr:nth-child(3) { transition-delay: 120ms; } .a-table.on tbody tr:nth-child(4) { transition-delay: 180ms; } .a-table.on tbody tr:nth-child(5) { transition-delay: 240ms; }

/* Three numbers: Barlow Condensed set huge, the sentence beside it. */
.num-list { border-top: 1px solid var(--hair); }
.num { display: grid; grid-template-columns: minmax(280px, .9fr) 1.1fr; gap: 32px; align-items: center; padding: 40px 0; border-bottom: 1px solid var(--hair); }
.big { font: 700 clamp(96px, 15vw, 200px)/.85 'Barlow Condensed', Figtree, sans-serif; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.num .t { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.num .b { color: var(--ink2); margin-top: 12px; max-width: 30em; font-size: 18px; }

/* In the app: rows that alternate, one phone or a pair, the heading huge. */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.row.flip .row-text { order: 2; }
.row-text .lead { margin-top: 20px; }
.row-shot { display: flex; justify-content: center; --s: .72; }
.row-shot.pair { gap: 22px; align-items: flex-start; --s: .64; }
.row-shot.pair .ph-wrap:nth-child(2) { margin-top: 56px; }
.app .note { margin-top: 24px; }

/* The plan: a paper band on the ink page (ink band on the paper page). */
.plan-wrap { max-width: none; padding: 0; }
.plan { background: var(--plaque); color: var(--on-plaque); padding: 96px 28px; }
.plan-in { max-width: var(--max); margin: 0 auto; }
.plan .kicker { color: var(--accent); }
.plan .lead { color: color-mix(in srgb, var(--on-plaque) 72%, transparent); margin-top: 20px; max-width: 34em; }
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid color-mix(in srgb, var(--on-plaque) 20%, transparent); }
.ladder li { padding: 28px 24px 0 0; border-top: 3px solid transparent; margin-top: -2px; }
.ladder li.free { border-top-color: var(--accent); }
.price { font: 700 clamp(44px, 6vw, 84px)/.9 'Barlow Condensed', Figtree, sans-serif; letter-spacing: -.02em; }
.ladder li.free .price { color: var(--accent); }
.ladder .l { margin-top: 10px; font-size: 15px; color: color-mix(in srgb, var(--on-plaque) 64%, transparent); font-weight: 600; }
.plan .note { margin-top: 40px; color: color-mix(in srgb, var(--on-plaque) 56%, transparent); max-width: 40em; }

/* Privacy: three statements, hairlines between. */
.trust-list li { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--hair); }
.trust-list li:last-child { border-bottom: 1px solid var(--hair); }
.trust-list h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.03em; }
.trust-list p { color: var(--ink2); font-size: 18px; max-width: 30em; }
.trust-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; margin-top: 28px; color: var(--ink2); }
.trust-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent); text-decoration: none; }
.trust-foot a:hover .ic { transform: translateX(3px); }

/* The form, on the page's surface. */
.apply { max-width: var(--max); }
.form { max-width: 760px; background: var(--surface); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 18px; position: relative; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-weight: 600; font-size: 15px; }
.field legend { padding: 0; margin-bottom: 7px; }
.field small { font-size: 13px; color: var(--muted); }
input[type=text], input[type=email], select, textarea { font: inherit; color: var(--ink); background: var(--bg); border: 2px solid transparent; border-radius: 14px; padding: 13px 14px; width: 100%; transition: border-color .2s; -webkit-appearance: none; appearance: none; }
textarea { resize: vertical; min-height: 86px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%238E8E96' d='M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--accent); }
select:has(option[value=""]:checked) { color: var(--muted); }
.field.bad input, .field.bad select { border-color: var(--weak); }
.bubbles { display: flex; flex-wrap: wrap; gap: 8px; }
.bubbles label { position: relative; }
.bubbles input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bubbles span { display: inline-block; padding: 11px 16px; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease-out); }
.bubbles span:hover { background: var(--well); }
.bubbles span:active { transform: scale(.97); }
.bubbles input:checked + span { background: var(--ink); color: var(--bg); }
.bubbles input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px 12px; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--accent); }
.check.bad { color: var(--weak); }
.check > span { flex: 1 1 0; }
.fmsg { color: var(--weak); font-weight: 600; font-size: 14px; }
.check .fmsg { flex-basis: 100%; margin-left: 34px; }
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.err { display: none; color: var(--weak); font-weight: 600; font-size: 15px; }
.err.on { display: block; }
.form .btn { align-self: flex-start; margin-top: 4px; }
[hidden] { display: none !important; }
.done { max-width: 760px; background: var(--accent-soft); border-radius: 28px; padding: 40px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.done .mark { width: 54px; height: 54px; margin-bottom: 8px; }
.done h3 { font-size: 30px; }
.done p { color: var(--ink2); }

/* Privacy, terms and the beta invite page: the same type on the same page. */
.doc { max-width: 720px; padding-top: 40px; }
.doc h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.045em; margin-bottom: 12px; max-width: none; }
.doc h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 40px; margin-bottom: 10px; }
.doc p { color: var(--ink2); margin-top: 10px; }
.doc ul { color: var(--ink2); padding-left: 22px; list-style: disc; margin-top: 10px; }
.doc li + li { margin-top: 6px; }
.doc .updated { color: var(--muted); font-size: 15px; }
.doc a { color: var(--accent); }
.doc .btn { color: var(--bg); }

footer { max-width: calc(var(--max) + 56px); margin: 0 auto; padding-top: 40px; padding-bottom: 56px; border-top: 1px solid var(--hair); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; color: var(--muted); font-size: 14px; }
footer p { flex: 1 1 320px; }
footer nav { display: flex; gap: 20px; }
footer nav a { text-decoration: none; font-weight: 600; color: var(--ink2); }

.r { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.r.in { opacity: 1; transform: none; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.mark .eye { animation: blink 5.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .r, .e, h1 .w { opacity: 1; transform: none; transition: none; }
  .mark .eye { animation: none; }
  .btn, .ic { transition: none; }
  .a-tile, .a-tile.on, .a-line, .a-page.sheet, .a-page.film, .a-talk > p, .a-shots li, .a-wins li, .a-reels li, .a-xpill, .a-table tbody tr, .a-spark i, .a-h1 > span, .a-vid b > span, .a-reels .st.watching > span, .a-total, .a-btns, .a-menu, .a-touch { transition: none; }
  .cheer, .cheer .a-ring { animation: none; }
}
@supports (corner-shape: squircle) {
  .ph, .scr, .a-tile, .a-card, .a-reels li, .a-vid img, .a-cover, .a-table, .form, .done, input, select, textarea { corner-shape: squircle; }
}

@media (max-width: 1100px) {
  .row-shot.pair { --s: .56; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; }
  .hero-stage { --s: .8; justify-self: stretch; }
  .top .links { display: none; }
  .num { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .row, .row.flip { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .row.flip .row-text { order: 0; }
  .row-shot { --s: .78; }
  .row-shot.pair { --s: .7; flex-wrap: wrap; justify-content: center; }
  .ladder { grid-template-columns: repeat(2, 1fr); gap: 8px 24px; }
  .trust-list li { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  main, header.top, footer, .plan { padding-left: 20px; padding-right: 20px; }
  h1 { font-size: clamp(52px, 15vw, 88px); }
  .lead { font-size: 18px; }
  .ctas .btn { flex: 1 1 100%; }
  .hero-stage { --s: .8; }
  .row-shot { --s: .78; }
  .row-shot.pair { --s: .78; gap: 16px; }
  .row-shot.pair .ph-wrap:nth-child(2) { margin-top: 0; }
  .ladder { grid-template-columns: 1fr 1fr; }
  .two { grid-template-columns: 1fr; }
  .form { padding: 24px 20px; }
  .form .btn { align-self: stretch; }
  .plan { padding: 64px 20px; }
}
@media (max-width: 400px) {
  .hero-stage, .row-shot, .row-shot.pair { --s: .74; }
}

/* Scene plumbing (site.js): no transition while a FLIP inverse is set; a soft fade before a loop starts over; the edit
   screen's content scrolls up under the status bar when Skip's answer comes, as the app scrolls to it. */
.nt { transition: none !important; }
.a-grid.out { opacity: 0; transition: opacity .25s var(--ease-out); }
.a-line.out, .a-talk.out { opacity: 0 !important; transition: opacity .25s var(--ease-out); }
.scr .sb { z-index: 5; background: var(--bg); }
.scr::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 92px; background: var(--bg); z-index: 1; }
.a-page.sheet, .a-page.film { z-index: 3; }
.a-compose, .hi-bar { z-index: 2; }
.a-pad.up { transform: translateY(-200px); transition: transform .4s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .a-pad.up, .a-grid.out, .a-line.out, .a-talk.out { transition: none; } }
.a-shots, .a-steps { counter-reset: n; }
.a-shots li, .a-steps li { counter-increment: n; }
.a-shots i::before, .a-steps i::before { content: counter(n); }

/* Scrolled content fades out under the status bar, as iOS draws it (Lelouch, MEXA-2293). */
.scr .sb::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 22px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }

/* ---------- Round 3 (MEXA-2369): the walk-through in four chapters, each a shelf of phones ---------- */
.app > .head { margin-bottom: 24px; }
.chap { padding: 40px 0 16px; }
.chap-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 48px; align-items: end; margin-bottom: 44px; padding-top: 32px; border-top: 1px solid var(--hair); }
.chap-head h2 { font-size: clamp(32px, 4vw, 56px); }
.chap-head .lead { font-size: 18px; max-width: 32em; }
.chap-head .kicker { margin-bottom: 14px; }
.shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; --s: .66; min-height: calc(868px * .66 + 120px); }
.flow { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.flow .ph-wrap { margin: 0 auto; }
.cap { margin-top: 20px; max-width: 24em; width: 100%; }
.cap b { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.cap strong { display: block; font-weight: 700; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; margin-top: 6px; text-wrap: balance; }
.cap span { display: block; font-size: 14px; line-height: 1.45; color: var(--ink2); margin-top: 6px; }
.cap em { font-style: normal; color: var(--muted); }
.shelf-hint { display: none; }

/* ---------- More of the app's parts (coach.tsx, coachChat.tsx, new/ideas.tsx, make/[id].tsx, talkEdit.tsx, stats.tsx, check.tsx, score/[id].tsx) ---------- */
.a-chat { padding: 6px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.a-chat > * { opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-chat > .on { opacity: 1; transform: none; }
.a-you { align-self: flex-end; max-width: 82%; background: var(--ink); color: var(--bg); font-size: 16px; line-height: 22px; padding: 10px 14px; border-radius: 20px 20px 8px 20px; }
.a-skip { display: flex; align-items: flex-end; gap: 8px; max-width: 92%; }
.a-skip .a-mk { width: 26px; height: 26px; border-radius: 999px; background: var(--accent); display: grid; place-items: center; flex: none; }
.a-skip .a-mk svg { width: 16px; height: 16px; fill: var(--on-accent); }
.a-skip .a-mk svg .eye { fill: var(--accent); }
.a-skip p { background: var(--well); color: var(--ink); font-size: 16px; line-height: 22px; padding: 10px 14px; border-radius: 20px 20px 20px 8px; }
.a-skip.typing p { display: flex; gap: 5px; align-items: center; height: 42px; padding: 0 16px; }
.a-skip.typing p i { width: 7px; height: 7px; border-radius: 999px; background: var(--muted); animation: pulse 1s ease-in-out infinite; }
.a-skip.typing p i:nth-child(2) { animation-delay: .16s; } .a-skip.typing p i:nth-child(3) { animation-delay: .32s; }
@keyframes pulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.a-stage { font-size: 13px; color: var(--muted); margin: -4px 0 0 34px; }
.a-ccard { margin-left: 34px; background: var(--surface); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); }
.a-ccard small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.a-ccard h4 { font-weight: 600; font-size: 18px; line-height: 23px; letter-spacing: -.3px; margin-top: 4px; }
.a-ccard p { font-size: 15px; line-height: 20px; color: var(--ink2); margin-top: 6px; }
.a-ccard .a-tile { margin-top: 0; }
.a-btns2 { display: flex; gap: 8px; margin-top: 14px; }
.a-btns2 b, .a-btns2 span { flex: 1; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; font-size: 16px; }
.a-btns2 b { background: var(--ink); color: var(--bg); }
.a-btns2 b.press { transform: scale(.97); transition: transform .12s var(--ease-out); }
.a-btns2 span { border: 1px solid var(--hair); background: var(--surface); }
.a-btns2 b > span { display: block; flex: none; height: auto; border: 0; background: none; color: inherit; transition: opacity .18s var(--ease-out); }
.a-btns2 b > span.swap { position: absolute; }
.a-btns2 b { position: relative; }
.a-btns2 b.b > span:first-child { opacity: 0; } .a-btns2 b.b > span.swap { opacity: 1; }
.a-working { margin-left: 34px; font-size: 13px; color: var(--muted); }
.a-taps { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 34px; }
.a-taps span { height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); font-weight: 600; font-size: 15px; white-space: nowrap; }
.a-pin { margin-left: 34px; width: 220px; }
.a-pin .a-tile { opacity: 1; transform: none; min-height: 150px; }
.a-pin .a-btns2 { gap: 8px; }
.a-pin .a-btns2 b, .a-pin .a-btns2 span { flex: none; padding: 0 18px; height: 42px; font-size: 15px; }
.a-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 20px 6px; min-height: 44px; font-size: 14px; line-height: 19px; color: var(--ink2); }
.a-note .a-dot { width: 8px; height: 8px; border-radius: 4px; margin-top: 6px; background: var(--accent); flex: none; }
.a-note b { font-weight: 600; color: var(--ink); }
/* A composer that is typed into, pinned at the bottom of a chat */
.a-compose.field2 { position: absolute; left: 16px; right: 16px; bottom: 26px; height: 50px; }
.a-compose.field2 .a-typed { color: var(--ink); display: none; }
.a-compose.field2.typing .a-typed { display: block; }
.a-compose.field2.typing .a-ph { display: none; }
.a-compose.field2 i.hit { background: var(--accent); }
.a-compose.field2 i.hit svg { fill: var(--on-accent); }
/* Ideas (new/ideas.tsx) */
.a-day { font-size: 13px; color: var(--muted); margin-top: 8px; min-height: 17px; position: relative; }
.a-day > span { display: block; transition: opacity .18s var(--ease-out); }
.a-day > .swap { position: absolute; left: 0; top: 0; opacity: 0; transform: none; }
.a-day.b > span:first-child { opacity: 0; } .a-day.b > .swap { opacity: 1; }
.a-sheet { background: var(--surface); border-radius: 22px; margin-top: 14px; overflow: hidden; }
.a-sheet.sheet-r { border-radius: 22px; }
.a-srow { display: flex; align-items: center; gap: 12px; padding: 12px 16px; min-height: 60px; border-top: 1px solid var(--hair); }
.a-srow:first-child { border-top: 0; }
.a-srow .a-sico { width: 40px; height: 40px; border-radius: 999px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.a-srow .a-sico svg { width: 18px; height: 18px; fill: var(--accent); }
.a-srow div { flex: 1; min-width: 0; }
.a-srow b { display: block; font-weight: 700; font-size: 17px; line-height: 22px; }
.a-srow small { display: block; font-size: 13px; line-height: 17px; color: var(--muted); }
.a-srow svg.car { width: 14px; height: 14px; fill: var(--muted); flex: none; }
.a-srow.press { background: var(--well); }
.a-label { font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 18px; }
.a-idea { display: flex; gap: 12px; padding: 10px; background: var(--surface); border-radius: 22px; margin-top: 10px; opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-idea.on { opacity: 1; transform: none; }
.a-idea .a-thumb { width: 104px; height: 104px; border-radius: 16px; background: var(--app-plaque); color: var(--app-on-plaque); flex: none; display: grid; place-items: center; padding: 10px; text-align: center; font-weight: 800; font-size: 13px; line-height: 15px; letter-spacing: -.2px; }
.a-idea .a-thumb.spin { background: var(--well); }
.a-idea .a-thumb.spin i { width: 22px; height: 22px; border-radius: 999px; border: 2.5px solid var(--hair); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.a-idea div.t { flex: 1; min-width: 0; }
.a-idea .hook { font-weight: 600; font-size: 16px; line-height: 21px; }
.a-idea .why { font-weight: 500; font-size: 13px; line-height: 17px; color: var(--accent-deep); margin-top: 4px; }
.a-idea .cite, .a-idea .facts { font-size: 12.5px; line-height: 16px; color: var(--muted); margin-top: 4px; font-variant-numeric: tabular-nums; }
.a-idea .facts { font-weight: 500; }
.a-idea .wr1 { font-size: 12px; font-weight: 600; color: var(--accent-deep); }
.a-idea .wr2 { font-weight: 600; font-size: 16px; line-height: 21px; margin-top: 2px; }
.a-idea .wr3 { font-size: 13px; line-height: 17px; color: var(--muted); margin-top: 4px; }
.a-idea .a-ex { margin-top: 6px; }
/* One-tap edit (make/[id].tsx) and the music sheet (talkEdit.tsx) */
.a-h1.black { font-weight: 800; font-size: 32px; line-height: 36px; letter-spacing: -.8px; }
.a-steps2 { margin-top: 18px; }
.a-steps2 li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 15px; color: var(--muted); }
.a-steps2 li i { width: 22px; height: 22px; border-radius: 999px; border: 2px solid var(--hair); flex: none; display: grid; place-items: center; }
.a-steps2 li i svg { width: 12px; height: 12px; fill: var(--on-accent); opacity: 0; }
.a-steps2 li.did { color: var(--ink2); }
.a-steps2 li.did i { background: var(--accent); border-color: var(--accent); }
.a-steps2 li.did i svg { opacity: 1; }
.a-steps2 li.now { color: var(--ink); font-weight: 600; }
.a-steps2 li.now i { border-color: var(--accent); border-top-color: transparent; animation: spin 1s linear infinite; }
.a-steps2 li span { flex: 1; }
.a-steps2 li small { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.a-cta.wide { margin-top: 18px; }
.a-cta.press { transform: scale(.97); }
.a-cta svg.up { width: 18px; height: 18px; }
.a-acts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--accent); }
.a-acts span.hit { text-decoration: underline; text-underline-offset: 3px; }
.a-clips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.a-clips span { height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.a-music { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: var(--surface); border-radius: 28px 28px 0 0; padding: 14px 20px 36px; box-shadow: var(--shadow-deep); transform: translateY(104%); transition: transform .4s var(--ease-out); }
.a-music.on { transform: none; }
.a-music .grab { width: 36px; height: 5px; border-radius: 3px; background: var(--hair); margin: 0 auto 10px; }
.a-music li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--hair); }
.a-music li:first-of-type { border-top: 0; }
.a-music li div { flex: 1; min-width: 0; }
.a-music li b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.a-music li small { display: block; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.a-music li svg { width: 16px; height: 16px; fill: var(--accent); opacity: 0; flex: none; transition: opacity .18s var(--ease-out); }
.a-music li.on svg { opacity: 1; }
.a-music li.press { background: var(--well); margin: 0 -10px; padding-left: 10px; padding-right: 10px; border-radius: 10px; }
.a-music .a-foot { margin-top: 10px; }
.a-credit { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 14px; color: var(--ink2); opacity: 0; transition: opacity .2s var(--ease-out); }
.a-credit.on { opacity: 1; }
.a-credit b { position: relative; font-weight: 600; color: var(--accent); white-space: nowrap; }
.a-credit b > span { display: block; transition: opacity .18s var(--ease-out); }
.a-credit b > .swap { position: absolute; right: 0; top: 0; }
.a-credit b.b > span:first-child { opacity: 0; } .a-credit b.b > .swap { opacity: 1; }
.a-toast { position: absolute; left: 16px; right: 16px; bottom: 96px; z-index: 5; background: var(--app-plaque); color: var(--app-on-plaque); font-size: 14px; line-height: 19px; padding: 12px 16px; border-radius: 16px; box-shadow: var(--shadow); opacity: 0; transform: translateY(8px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-toast.on { opacity: 1; transform: none; }
.a-used { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; color: var(--muted); opacity: 0; transition: opacity .2s var(--ease-out); }
.a-used.on { opacity: 1; }
.a-used span { height: 28px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--well); color: var(--ink); font-weight: 600; font-size: 13px; }
.a-name { display: flex; gap: 8px; align-items: center; margin-top: 10px; opacity: 0; transition: opacity .2s var(--ease-out); }
.a-name.on { opacity: 1; }
.a-name .f { flex: 1; height: 44px; border-radius: 14px; background: var(--well); padding: 0 14px; display: flex; align-items: center; font-size: 15px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.a-name .f.typing { color: var(--ink); }
.a-name b { height: 44px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; font-weight: 600; font-size: 15px; }
.a-thread { margin-top: 14px; background: var(--surface); border-radius: 22px; padding: 14px 16px; }
.a-thread > * { opacity: 0; transform: translateY(6px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-thread > .on { opacity: 1; transform: none; }
.a-thread .q { font-weight: 600; font-size: 15px; line-height: 20px; }
.a-thread .q::before { content: '“'; } .a-thread .q::after { content: '”'; }
.a-thread .s { font-size: 14px; line-height: 19px; color: var(--ink2); margin-top: 4px; }
.a-thread .s.acc { color: var(--accent); font-weight: 600; }
/* Your numbers (stats.tsx) */
.a-tabs { display: flex; gap: 4px; margin-top: 14px; padding: 4px; border-radius: 999px; background: var(--well); }
.a-tabs span { flex: 1; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink2); }
.a-tabs span.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.a-hero3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 16px 16px 14px; }
.a-hero3 small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.a-hero3 b { display: block; font-weight: 800; font-size: 26px; line-height: 30px; letter-spacing: -.8px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.a-hero3 em { display: block; font-style: normal; font-size: 12px; color: var(--accent); margin-top: 2px; white-space: nowrap; }
.a-hero3 em.mute { color: var(--muted); }
.a-divider { height: 1px; background: var(--hair); margin: 0 16px; }
.a-bars-head { display: flex; justify-content: space-between; padding: 12px 16px 0; font-size: 13px; color: var(--muted); }
.a-bars { display: flex; align-items: flex-end; gap: 6px; height: 72px; padding: 8px 16px 0; }
.a-bars i { flex: 1; position: relative; height: calc(var(--h) * 100%); border-radius: 4px 4px 0 0; background: var(--hair); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease-out); }
.a-bars i.hi { background: var(--accent); }
.a-bars i b { position: absolute; left: 50%; bottom: 100%; transform: translateX(-50%); font-size: 11px; font-weight: 600; color: var(--ink2); padding-bottom: 3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.a-bars.on i { transform: none; }
.a-bars.on i:nth-child(2) { transition-delay: 40ms; } .a-bars.on i:nth-child(3) { transition-delay: 80ms; } .a-bars.on i:nth-child(4) { transition-delay: 120ms; } .a-bars.on i:nth-child(5) { transition-delay: 160ms; } .a-bars.on i:nth-child(6) { transition-delay: 200ms; } .a-bars.on i:nth-child(7) { transition-delay: 240ms; } .a-bars.on i:nth-child(8) { transition-delay: 280ms; }
.a-bars-days { display: flex; gap: 6px; padding: 4px 16px 12px; }
.a-bars-days span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); }
.a-bw { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--hair); opacity: 0; transform: translateY(6px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-bw.on { opacity: 1; transform: none; }
.a-bw small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.a-bw div { flex: 1; min-width: 0; }
.a-bw b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.a-bw em { display: block; font-style: normal; font-size: 13px; color: var(--muted); }
.a-bw .x { font-weight: 800; font-size: 24px; letter-spacing: -.8px; color: var(--accent); font-variant-numeric: tabular-nums; }
.a-bw .x.lo { color: var(--weak); }
.a-ns { font-size: 12.5px; line-height: 17px; color: var(--muted); margin-top: 12px; }
/* Check a video (check.tsx, watching.tsx, score/[id].tsx) */
.a-wells { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.a-wells span { height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--well); font-weight: 600; font-size: 15px; }
.a-check-head { display: flex; align-items: center; gap: 10px; padding: 0 20px; }
.a-check-head b { font-weight: 700; font-size: 20px; letter-spacing: -.3px; position: relative; }
.a-check-head b > span { display: block; transition: opacity .18s var(--ease-out); }
.a-check-head b > .swap { position: absolute; left: 0; top: 0; }
.a-check-head b.b > span:first-child { opacity: 0; } .a-check-head b.b > .swap { opacity: 1; }
.a-check-head small { font-size: 13px; color: var(--muted); }
.a-stagevid { position: relative; width: 150px; height: 266px; border-radius: 18px; overflow: hidden; margin: 16px auto 0; background: var(--well); }
.a-stagevid img { width: 100%; height: 100%; object-fit: cover; }
.a-stagevid i { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); animation: scan 2.4s linear infinite; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(264px); } }
.a-stagevid span { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: var(--app-glass); font-size: 12px; font-weight: 600; white-space: nowrap; }
.a-frame { position: relative; height: 250px; overflow: hidden; border-radius: 0 0 36px 36px; background: var(--well); }
.a-frame img { width: 100%; height: 100%; object-fit: cover; }
.a-frame .a-close { left: 16px; right: auto; }
.a-frame .tag { position: absolute; right: 16px; top: 16px; display: flex; gap: 6px; align-items: center; }
.a-frame .tag span { padding: 6px 10px; border-radius: 999px; background: var(--app-glass); font-size: 13px; font-weight: 600; color: var(--ink); }
.a-frame .tag span.ex { background: var(--ink); color: var(--bg); }
.a-fix { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--weak); margin-top: 16px; }
.a-fix.ok { color: var(--accent); }
.a-checks { margin-top: 12px; background: var(--surface); border-radius: 22px; padding: 4px 16px; }
.a-checks li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hair); opacity: 0; transform: translateY(6px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-checks li:first-child { border-top: 0; }
.a-checks li.on { opacity: 1; transform: none; }
.a-checks li i { width: 10px; height: 10px; border-radius: 999px; background: var(--accent); flex: none; }
.a-checks li.bad i { background: var(--weak); }
.a-checks li div { flex: 1; min-width: 0; }
.a-checks li b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.a-checks li small { display: block; font-size: 13px; line-height: 17px; color: var(--muted); }
.a-checks li em { font-style: normal; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.a-checks li.bad em { color: var(--weak); font-weight: 600; }
.a-fixed { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 20px 24px; background: var(--bg); z-index: 2; }
.a-fixed .a-tip { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.a-fixed .a-cta { margin-top: 0; }
.a-fixed .a-link { margin-top: 10px; }

@media (prefers-reduced-motion: reduce) {
  .a-chat > *, .a-idea, .a-steps2 li i, .a-music, .a-credit, .a-toast, .a-used, .a-name, .a-thread > *, .a-bars i, .a-bw, .a-checks li, .a-day > span, .a-credit b > span, .a-check-head b > span, .a-btns2 b > span { transition: none; }
  .a-skip.typing p i, .a-idea .a-thumb.spin i, .a-steps2 li.now i, .a-stagevid i { animation: none; }
}

/* ---------- Questions (details/summary, nothing to script) and the Ask box ---------- */
.faq .head { margin-bottom: 32px; }
.faq-list { border-top: 1px solid var(--hair); max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--hair); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; font-weight: 700; font-size: clamp(19px, 2vw, 23px); letter-spacing: -.02em; line-height: 1.25; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; width: 14px; height: 14px; flex: none; margin-right: 6px; background: currentColor; clip-path: polygon(0 40%, 40% 40%, 40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%); transition: transform .3s var(--ease-out); color: var(--muted); }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-list summary:hover { color: var(--accent); }
.faq-list .a { padding: 0 48px 24px 0; color: var(--ink2); font-size: 17px; line-height: 1.5; max-width: 38em; }
.faq-list .a a { color: var(--accent); font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .faq-list details[open] .a { animation: faq-in .32s var(--ease-out); }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
.ask { margin-top: 64px; max-width: 860px; background: var(--surface); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); position: relative; }
.ask h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.03em; }
.ask .lead { font-size: 17px; margin-top: 12px; max-width: 36em; }
.ask-row { display: flex; gap: 10px; margin-top: 22px; }
.ask-row input { flex: 1; min-width: 0; height: 56px; padding: 0 18px; border-radius: 999px; background: var(--bg); border: 2px solid transparent; }
.ask-row input:focus { border-color: var(--accent); }
.ask-row .btn { height: 56px; padding: 0 24px; }
.ask-ex { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ask-ex button { font: inherit; font-weight: 600; font-size: 14px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hair); background: transparent; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease-out); }
.ask-ex button:hover { background: var(--well); color: var(--ink); }
.ask-ex button:active { transform: scale(.97); }
.ask-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.ask-out { margin-top: 20px; display: none; gap: 12px; align-items: flex-start; }
.ask-out.on { display: flex; }
.ask-out .mark { width: 32px; height: 32px; margin-top: 2px; }
.ask-out .q { font-weight: 600; color: var(--muted); font-size: 15px; }
.ask-out .ans { font-size: 17px; line-height: 1.55; margin-top: 4px; white-space: pre-wrap; overflow-wrap: anywhere; min-height: 1.5em; }
.ask-out .ans.thinking { color: var(--muted); }
.ask-out .ans.thinking::after { content: ''; display: inline-block; width: .5em; height: 1em; vertical-align: -.15em; margin-left: 2px; background: var(--accent); border-radius: 2px; animation: pulse 1s ease-in-out infinite; }
.ask-out .more { font-size: 14px; color: var(--muted); margin-top: 10px; }
.ask-out .more a { color: var(--accent); font-weight: 600; }
.ask .err { margin-top: 14px; }
.ask-rest { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--well); font-size: 15px; color: var(--ink2); }
.ask-rest.on { display: block; }
.ask-rest a { color: var(--accent); font-weight: 600; }
.ask.asleep .ask-row, .ask.asleep .ask-ex, .ask.asleep .ask-meta { display: none; }
@media (prefers-reduced-motion: reduce) { .ask-out .ans.thinking::after { animation: none; } .faq-list summary::after { transition: none; } }

@media (max-width: 1100px) {
  .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); --s: .72; min-height: 0; }
}
@media (max-width: 960px) {
  .chap-head { grid-template-columns: 1fr; gap: 12px; margin-bottom: 32px; }
}
@media (max-width: 640px) {
  .chap { padding: 24px 0 8px; }
  .chap-head { padding-top: 24px; margin-bottom: 24px; }
  .shelf { display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -20px; padding: 4px 20px 8px; --s: .74; scrollbar-width: none; }
  .shelf::-webkit-scrollbar { display: none; }
  .flow { flex: none; width: calc(414px * .74); scroll-snap-align: center; scroll-snap-stop: always; }
  .flow .cap { max-width: none; }
  .shelf-hint { display: block; font-size: 13px; color: var(--muted); margin-top: 8px; }
  .ask { padding: 24px 20px; margin-top: 40px; }
  .ask-row { flex-direction: column; }
  .ask-row .btn { width: 100%; }
  .faq-list .a { padding-right: 0; }
}
@media (max-width: 400px) {
  .shelf { --s: .7; }
  .flow { width: calc(414px * .7); }
}

/* More parts for round 3: a page that fades in, a three-state day line, twin numbers, post rows, the recap story, label/value rows,
   the plans sheet (tile/[id].tsx, recapStory.tsx, plans.tsx). */
.a-page.fade { z-index: 3; opacity: 0; transition: opacity .3s var(--ease-out); }
.a-page.fade.on { opacity: 1; }
.a-day { position: relative; }
.a-day > span { display: block; transition: opacity .18s var(--ease-out); }
.a-day > span + span { position: absolute; left: 0; top: 0; opacity: 0; }
.a-day.s1 > span:nth-child(1), .a-day.s2 > span:nth-child(1) { opacity: 0; }
.a-day.s1 > span:nth-child(2), .a-day.s2 > span:nth-child(3) { opacity: 1; }
.a-pill.ex { background: var(--ink); color: var(--bg); }
.a-vid.lone { width: 150px; margin: 18px auto 0; }
.a-vid.lone img { aspect-ratio: 338 / 597; }
.fade-p { opacity: 0; transition: opacity .2s var(--ease-out); margin-top: 10px; }
.fade-p.on { opacity: 1; }
.a-huge small { font-size: 18px; font-weight: 700; letter-spacing: -.3px; color: var(--muted); margin-left: 6px; }
.a-twin { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.a-twin > div { background: var(--surface); border-radius: 18px; padding: 12px 14px; }
.a-twin small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.a-twin b { display: block; font-weight: 800; font-size: 24px; line-height: 28px; letter-spacing: -.6px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.a-twin .ok b { color: var(--accent); }
.a-twin em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-posts { margin-top: 8px; background: var(--surface); border-radius: 20px; padding: 2px 14px; }
.a-posts li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); opacity: 0; transform: translateY(6px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
.a-posts li:first-child { border-top: 0; }
.a-posts li.on { opacity: 1; transform: none; }
.a-posts li > i { width: 36px; height: 48px; border-radius: 8px; background: var(--well); flex: none; }
.a-posts li > div { flex: 1; min-width: 0; }
.a-posts b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.a-posts small { display: block; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.a-posts .val { flex: none; text-align: right; }
.a-posts .val b { font-size: 16px; font-variant-numeric: tabular-nums; }
.a-posts .val small { color: var(--accent); font-weight: 600; }
.a-btns.col { flex-direction: column; }
.a-btns.col b, .a-btns.col span { width: 100%; }
.a-foot.center { text-align: center; margin-top: 10px; }
/* The recap story */
.a-story { position: absolute; inset: 0; padding: 60px 20px 0; }
.a-segs { position: absolute; left: 16px; right: 16px; top: 62px; display: flex; align-items: center; gap: 4px; }
.a-segs i { flex: 1; height: 3px; border-radius: 2px; background: var(--hair); transition: background .2s; }
.a-segs i.did { background: var(--ink); }
.a-segs .a-ex { margin-left: 6px; }
.a-segs b { width: 28px; height: 28px; border-radius: 999px; background: var(--well); display: grid; place-items: center; margin-left: 4px; flex: none; }
.a-segs b svg { width: 14px; height: 14px; fill: var(--ink); }
.a-pg { position: absolute; left: 20px; right: 20px; top: 110px; bottom: 40px; opacity: 0; transform: translateX(16px); transition: opacity .25s var(--ease-out), transform .35s var(--ease-out); }
.a-pg.on { opacity: 1; transform: none; }
.a-pg.out { opacity: 0; transform: translateX(-16px); }
.a-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.a-fan { position: relative; height: 240px; margin-top: 30px; }
.a-fan span { position: absolute; left: 50%; top: 10px; width: 120px; height: 190px; margin-left: -60px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); padding: 12px; font-weight: 600; font-size: 13px; line-height: 17px; display: flex; align-items: flex-end; color: var(--ink2); transform-origin: 50% 120%; }
.a-fan span:nth-child(1) { transform: rotate(-18deg); } .a-fan span:nth-child(2) { transform: rotate(-6deg); } .a-fan span:nth-child(3) { transform: rotate(6deg); } .a-fan span:nth-child(4) { transform: rotate(18deg); }
.a-xbig { font-weight: 800; font-size: 84px; line-height: 84px; letter-spacing: -4px; color: var(--accent); font-variant-numeric: tabular-nums; margin-top: 10px; }
.a-pg .a-h2 { margin-top: 14px; }
.a-quote2 { margin-top: 8px; padding: 2px 0 2px 12px; border-left: 3px solid var(--accent); font-size: 15px; line-height: 20px; color: var(--ink2); }
.a-bars2 { display: flex; align-items: flex-end; gap: 14px; height: 170px; margin-top: 24px; }
.a-bars2 > div { flex: 1; display: flex; flex-direction: column; height: 100%; justify-content: flex-end; gap: 8px; }
.a-bars2 small { font-size: 13px; font-weight: 600; color: var(--muted); }
.a-bars2 i { display: block; border-radius: 10px 10px 4px 4px; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out); }
.a-bars2 i.ink { height: 45%; background: var(--ink); }
.a-bars2 i.acc { height: 90%; background: var(--accent); transition-delay: 80ms; }
.a-pg.on .a-bars2 i { transform: none; }
.a-sharecard { margin-top: 20px; aspect-ratio: 9 / 13; max-height: 300px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.a-sharecard small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.a-sharecard b { font-weight: 800; font-size: 48px; line-height: 50px; letter-spacing: -2px; color: var(--accent); margin-top: 6px; }
.a-sharecard span { font-size: 14px; color: var(--ink2); margin-top: 4px; }
.a-sharecard em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: 14px; }
.a-pg .a-btns.col { margin-top: 16px; opacity: 1; }
/* Label and value rows, the plans sheet */
.a-rows { margin-top: 8px; background: var(--surface); border-radius: 20px; padding: 2px 16px; }
.a-rows li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.a-rows li:first-child { border-top: 0; }
.a-rows li > span, .a-rows li > div > span { color: var(--ink2); }
.a-rows li > div small { display: block; font-size: 12.5px; color: var(--muted); }
.a-rows li b { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.a-bullets { margin-top: 14px; }
.a-bullets li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; font-size: 15px; line-height: 21px; color: var(--ink2); }
.a-bullets svg { width: 18px; height: 18px; fill: var(--accent); flex: none; margin-top: 2px; }
.a-ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.a-ladder li { border-top: 3px solid var(--hair); padding-top: 8px; }
.a-ladder li:first-child { border-top-color: var(--accent); }
.a-ladder b { display: block; font-weight: 800; font-size: 17px; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.a-ladder small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }
.a-h1.black + .a-bullets { margin-top: 10px; }
.a-bottom .a-cta { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .a-page.fade, .a-day > span, .fade-p, .a-posts li, .a-pg, .a-bars2 i, .a-segs i { transition: none; }
}
.gone { display: none !important; }
.a-thread { opacity: 0; transition: opacity .2s var(--ease-out); }
.a-thread.on { opacity: 1; }
.a-steps2 li small { opacity: 0; transition: opacity .2s var(--ease-out); }
.a-steps2 li.did small { opacity: 1; }
.a-tapzone { position: absolute; right: 60px; top: 420px; width: 1px; height: 1px; }
@media (prefers-reduced-motion: reduce) { .a-thread, .a-steps2 li small { transition: none; } }

/* Fixes after the first stills (MEXA-2369): the caret's size, the eight weeks' bar heights, the post rows' columns, the
   button label swap, shorter video tiles where a sheet needs the room. */
.a-bw svg.car { width: 14px; height: 14px; fill: var(--muted); flex: none; }
.a-bw > div { flex: 1; min-width: 0; }
.a-bars i:nth-child(1) { --h: .3; } .a-bars i:nth-child(2) { --h: .42; } .a-bars i:nth-child(3) { --h: .36; } .a-bars i:nth-child(4) { --h: .55; } .a-bars i:nth-child(5) { --h: .48; } .a-bars i:nth-child(6) { --h: 1; } .a-bars i:nth-child(7) { --h: .62; } .a-bars i:nth-child(8) { --h: .7; }
.a-bars { padding-top: 22px; }
.a-posts li > div.val { flex: none; }
.a-btns2 b > span.swap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; transform: none; }
.a-btns2 b > span:first-child { opacity: 1; }
.a-btns2 b.b > span:first-child { opacity: 0; } .a-btns2 b.b > span.swap { opacity: 1; }
.a-vids.sm .a-vid img { aspect-ratio: 338 / 440; }
.a-pad.up2 { transform: translateY(-110px); transition: transform .4s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .a-pad.up2 { transition: none; } }
.a-check-head small { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Lelouch's round (MEXA-2383) */
.a-btns2 b.wait { opacity: .55; }
.a-like { display: flex; align-items: center; gap: 12px; margin-top: 12px; background: var(--surface); border-radius: 18px; padding: 10px; }
.a-like img { width: 44px; height: 66px; object-fit: cover; border-radius: 10px; flex: none; }
.a-like b { display: block; font-weight: 600; font-size: 15px; line-height: 20px; }
.a-like small { display: block; font-size: 13px; line-height: 17px; color: var(--muted); margin-top: 2px; }
.a-vids.sm2 .a-vid img { aspect-ratio: 338 / 380; }
.a-music .a-credit { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hair); }
.a-plan { position: relative; border: 2px solid var(--hair); border-radius: 18px; padding: 14px 16px; margin-top: 10px; background: var(--surface); }
.a-plan.on { border-color: var(--accent); }
.a-plan .prow { display: flex; align-items: center; gap: 8px; }
.a-plan .prow b { font-weight: 700; font-size: 17px; flex: 1; }
.a-plan .badge { font-size: 11px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.a-plan .radio { width: 20px; height: 20px; border-radius: 999px; border: 2px solid var(--hair); flex: none; }
.a-plan.on .radio { border-color: var(--accent); background: radial-gradient(var(--accent) 45%, transparent 50%); }
.a-plan .price { font-weight: 800; font-size: 28px; line-height: 32px; letter-spacing: -.8px; margin-top: 8px; font-variant-numeric: tabular-nums; }
.a-plan .price small { font-size: 14px; font-weight: 500; color: var(--ink2); letter-spacing: 0; margin-left: 4px; }
.a-plan .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; }
.a-pad .a-bullets { margin-top: 12px; }
.a-posts li > i { background: linear-gradient(160deg, var(--well), var(--hair)); position: relative; }
.a-posts li > i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -6px 0 0 -4px; border-left: 10px solid var(--muted); border-top: 6px solid transparent; border-bottom: 6px solid transparent; opacity: .8; }
.a-sharecard { position: relative; overflow: hidden; padding-top: 120px; }
.a-sharecard .cov { position: absolute; left: -8px; right: -8px; top: -8px; width: calc(100% + 16px); height: 130px; object-fit: cover; filter: blur(8px); opacity: .9; }
.a-sharecard small, .a-sharecard b, .a-sharecard span, .a-sharecard em { position: relative; }

/* MEXA-3759: /start, the ad landing page. The home page's parts (hero, shelf, plan, form) with one button and three phones:
   the shelf is three across on a desktop, the same swipe row as the home page on a phone (.shelf's own rules). */
.start .hero .ctas .btn { min-width: 15em; }
.start .shelf.three { grid-template-columns: repeat(3, minmax(0, 1fr)); --s: .72; min-height: calc(868px * .72 + 120px); }
.start-post { margin-top: 40px; font-size: 20px; line-height: 1.45; max-width: 30em; }
.start-post strong { font-weight: 700; letter-spacing: -.02em; }
.start-post span { color: var(--ink2); }
@media (max-width: 1100px) { .start .shelf.three { --s: .6; min-height: calc(868px * .6 + 120px); } }
@media (max-width: 640px) { .start .shelf.three { --s: .74; min-height: 0; } .start-post { margin-top: 24px; font-size: 18px; } }
@media (max-width: 400px) { .start .shelf.three { --s: .7; } }
