/* Latent landing. Tokens mirror Sources/DesignSystem/Theme.swift (TodayPalette.premium):
   ink canvas, one warm white, ONE butter accent for record/action/emphasis. */

@font-face { font-family: "Gambarino"; src: url("assets/fonts/Gambarino-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Commit Mono"; src: url("assets/fonts/CommitMonoV143-400Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/InstrumentSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/InstrumentSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0E0D0C;
  --surface: #181614;
  --control: #22201D;
  --border: rgba(255, 255, 255, .08);
  --paper: #F7F3EA;
  --text-2: #B5B0A7;
  --text-3: #6E6A64;
  --accent: #E8C95F;
  --on-accent: #1A1508;
  --recording: #F2555A;

  --serif: "Gambarino", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Instrument Sans", system-ui, sans-serif;
  --mono: "Commit Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --pad: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --section: clamp(96px, 14vh, 160px);
  --gap-head: clamp(40px, 6vh, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --tile-r: 16px;
  --gap: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--paper); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.serif { font-family: var(--serif); font-weight: 400; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.label { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.h2 { font-family: var(--serif); font-weight: 400; margin: 0; font-size: clamp(38px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
.lede { margin: 0; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: var(--text-2); }
.accent { color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 700; white-space: nowrap; background: var(--paper); color: #050505; transition: transform .35s var(--ease), opacity .3s; }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.985); opacity: .88; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; font-weight: 600; }
.cta-meta { font-size: 14px; color: var(--text-3); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ── App Store badge ───────────────────────────────────── */
.appstore { display: inline-flex; align-items: center; gap: 9px; height: 54px; padding: 0 20px 0 16px; border-radius: 13px; background: #000; color: #fff; box-shadow: inset 0 0 0 1px #A6A6A6; transition: transform .35s var(--ease), box-shadow .3s; }
.appstore:hover { box-shadow: inset 0 0 0 1px #d8d8d8; }
.appstore:active { transform: scale(.98); }
.appstore__apple { width: 26px; height: 26px; margin-top: -3px; }
.appstore__txt { display: grid; line-height: 1; text-align: left; }
.appstore__txt small { font-size: 11px; font-weight: 500; letter-spacing: .01em; }
.appstore__txt b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.appstore--sm { height: 40px; padding: 0 14px 0 11px; border-radius: 9px; gap: 7px; }
.appstore--sm .appstore__apple { width: 19px; height: 19px; }
.appstore--sm .appstore__txt small { font-size: 8.5px; }
.appstore--sm .appstore__txt b { font-size: 16px; margin-top: 1px; }

/* ── nav ───────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px var(--pad); pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,13,12,.7), rgba(14,13,12,0)); transition: background-color .4s; pointer-events: none; }
.nav.is-solid::before { background: rgba(14,13,12,.92); }
.nav.is-solid { box-shadow: 0 1px 0 var(--border); }
.nav__brand img { height: 26px; width: auto; }

/* ── phone frame ───────────────────────────────────────── */
.phone { position: relative; width: 300px; aspect-ratio: 9 / 19.5; border-radius: 48px; padding: 10px; background: #1b1a18; box-shadow: inset 0 0 0 1.5px #2e2c29, inset 0 0 0 5px #0a0a09, 0 40px 100px -30px rgba(0,0,0,.85); }
.phone::after { content: ""; position: absolute; top: 20px; left: 50%; width: 30%; height: 24px; border-radius: 20px; transform: translateX(-50%); background: #000; z-index: 9; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 39px; overflow: hidden; background: #000; isolation: isolate; }

/* ══ 1 · HERO: the wall ════════════════════════════════════ */
.hero { position: relative; height: 760vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); isolation: isolate; }
.wall { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; gap: var(--gap); transform: translate(-50%, -50%) scale(2); will-change: transform; }
.wall__col { position: relative; width: var(--tw); height: var(--th); flex: none; will-change: transform; }
.wall__col > .t { position: absolute; left: 0; top: 0; }

.t { position: relative; width: var(--tw); height: var(--th); border-radius: var(--tile-r); overflow: hidden; background: var(--surface); flex: none; }
.t::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; }
.t > img, .t > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.t > video { opacity: 0; transition: opacity .5s var(--ease); }
.t.playing > video, .t--hero > video { opacity: 1; }
.t__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 58%, rgba(0,0,0,.5) 100%); pointer-events: none; }
.t__who { position: absolute; left: 8%; top: 6%; display: flex; align-items: center; gap: 6px; font: 600 calc(var(--tw) * .052)/1 var(--sans); color: var(--paper); text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.t__who img, .t__who i { width: calc(var(--tw) * .11); height: calc(var(--tw) * .11); border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.t__who i { display: grid; place-items: center; font-style: normal; background: var(--control); color: var(--text-2); font-size: calc(var(--tw) * .05); }
/* the app's share sticker: tag · duration · date */
.stk { position: absolute; left: 0; right: 0; bottom: 8%; display: grid; justify-items: center; gap: 3px; text-align: center; color: var(--paper); text-shadow: 0 1px 12px rgba(0,0,0,.55); pointer-events: none; padding: 0 6%; }
.stk b { font: 600 calc(var(--tw) * .048)/1.1 var(--sans); letter-spacing: .14em; text-transform: uppercase; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stk span { font-family: var(--serif); font-size: max(22px, calc(var(--tw) * .15)); line-height: 1.05; }
.stk em { font: normal calc(var(--tw) * .042)/1 var(--mono); letter-spacing: .04em; opacity: .85; }
.t--hero video { object-fit: cover; }

/* spotlight: everything but the hero frame sits in shadow, then comes up as the wall zooms out */
.hero__spot { position: absolute; left: 50%; top: 50%; z-index: 2; pointer-events: none; transform: translate(-50%, -50%); border-radius: 16px; box-shadow: 0 0 0 200vmax rgba(14,13,12,.84); }
.hero__shade { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, rgba(14,13,12,.2) 0%, rgba(14,13,12,0) 30%, rgba(14,13,12,.05) 55%, rgba(14,13,12,.82) 100%); }
.hero__scrim { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: radial-gradient(64% 60% at 50% 50%, rgba(14,13,12,.94) 0%, rgba(14,13,12,.87) 45%, rgba(14,13,12,.62) 80%, rgba(14,13,12,.5) 100%); }
.hero__center { position: absolute; inset: 0; z-index: 5; display: grid; padding: 96px var(--pad) clamp(40px, 8vh, 88px); pointer-events: none; }
.hero__copy, .hero__cap { grid-area: 1 / 1; }
.hero__copy { align-self: end; justify-self: center; text-align: center; display: grid; justify-items: center; gap: 18px; pointer-events: auto; }
.hero__copy h1 { font-family: var(--serif); font-weight: 400; margin: 0; font-size: clamp(44px, 12vw, 64px); line-height: .98; letter-spacing: -.025em; text-shadow: 0 4px 48px rgba(0,0,0,.5); text-wrap: balance; }
/* side by side on desktops, and on phones held sideways (site.js WIDE_HERO says the same) */
@media (min-width: 1000px), (orientation: landscape) and (max-height: 520px) and (min-width: 640px) {
  .hero__center { padding-left: max(var(--pad), calc((100vw - 1320px) / 2 + var(--pad))); }
  .hero__copy { align-self: center; justify-self: start; text-align: left; justify-items: start; gap: 24px; max-width: min(46vw, 620px); }
  .hero__copy h1 { font-size: clamp(60px, 6.2vw, 104px); }
  .hero__copy .cta-row { justify-content: flex-start; }
  .hero__shade { background: linear-gradient(90deg, rgba(14,13,12,.55) 0%, rgba(14,13,12,0) 50%), linear-gradient(180deg, rgba(14,13,12,.2) 0%, rgba(14,13,12,0) 30%); }
}
.hero__copy .lede { color: rgba(247,243,234,.84); max-width: 34ch; font-size: clamp(17px, 1.4vw, 21px); text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.hero__copy .lede--hero { max-width: none; }
.cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.hero__copy .cta-meta { color: rgba(247,243,234,.6); }
.hero__cap { align-self: center; justify-self: center; width: min(100%, 1000px); display: grid; justify-items: center; text-align: center; }
.hero__cap p { margin: 0; }
.hero__cap .w { display: inline-block; opacity: 0; }
.dict { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; }
.dict__word { font-family: var(--serif); font-size: clamp(38px, 3.6vw, 56px); line-height: 1; letter-spacing: -.01em; }
.dict__meta { font: 15px/1 var(--mono); color: var(--text-3); }
.dict__def { margin-top: 14px !important; font-size: clamp(17px, 1.4vw, 21px); color: var(--text-2); }
.dict__def .hl { color: var(--paper); }
.cap__line { margin-top: clamp(28px, 4.5vh, 48px) !important; font-family: var(--serif); font-size: clamp(40px, 5.6vw, 92px); line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.cap__line::before { content: ""; display: block; width: 44px; height: 1px; margin: 0 auto clamp(28px, 4.5vh, 48px); background: rgba(247,243,234,.22); }
.cap__a { display: block; color: var(--text-2); }
.cap__b { display: block; }
.cap__vis { position: relative; color: var(--accent); }
.cap__vis::after { content: ""; position: absolute; left: 2%; right: 8%; bottom: .02em; height: 3px; border-radius: 2px; background: var(--accent); transform-origin: left; transform: scaleX(var(--u, 0)); opacity: .9; }
.hero__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 6; display: flex; align-items: center; gap: 8px; color: rgba(247,243,234,.55); pointer-events: none; }
.hero__hint i { width: 1px; height: 24px; background: linear-gradient(rgba(247,243,234,.7), transparent); animation: hint 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ══ 2 · HOW IT WORKS: three pages, one per step ══════════ */
.how { padding-top: var(--section); }
.how__label { margin-bottom: 8px; }
.step { position: relative; }
.step__title { display: flex; align-items: baseline; gap: clamp(14px, 1.6vw, 22px); }
.step__n { font-family: var(--serif); font-size: clamp(64px, 8vw, 124px); line-height: .8; color: var(--accent); letter-spacing: -.03em; }
.step__title h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 5.2vw, 84px); line-height: .9; letter-spacing: -.02em; }
.step__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(32px, 6vw, 96px); align-items: end; padding-top: clamp(40px, 6vh, 72px); border-top: 1px solid var(--border); margin-bottom: clamp(56px, 9vh, 104px); }
.step__copy { display: grid; gap: 14px; }
.step__line { margin: 0; font-family: var(--serif); font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -.01em; }
.step__copy .lede { max-width: 34em; }
.step--track, .step--share { padding-top: var(--section); }

/* 01 · record — A's layout: words left, phone right, a tab bar that fills */
.take { position: relative; height: 360vh; }
.take__pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(40px, 7vw, 120px); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 84px var(--pad) 40px; }
.take__left { display: grid; gap: clamp(28px, 5vh, 56px); }
.take__beats { position: relative; min-height: 250px; }
.beat { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.beat.on { opacity: 1; transform: none; }
.beat h4 { margin: 0 0 16px; font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4vw, 62px); line-height: 1.02; letter-spacing: -.015em; max-width: 13em; }
.beat p { margin: 0; color: var(--text-2); font-size: clamp(17px, 1.35vw, 20px); max-width: 27em; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 420px; }
.tabs span { display: grid; gap: 12px; font: 12px/1 var(--mono); letter-spacing: .04em; color: var(--text-3); transition: color .4s; }
.tabs span.on { color: var(--paper); }
.tabs i { height: 2px; border-radius: 2px; background: var(--border); overflow: hidden; }
.tabs b { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(var(--f, 0)); }
.take__phone { position: relative; height: min(calc(100svh - 140px), 740px); aspect-ratio: 9 / 19.5; }
.take__phone .phone { width: 100%; height: 100%; }
.take__phone canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rec__dim { position: absolute; inset: 0; background: #000; opacity: 0; z-index: 2; display: grid; place-items: end center; padding-bottom: 42%; }
.rec__dim span { color: rgba(247,243,234,.55); font-size: 13px; }
.rec__ui { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; padding: 58px 14px 22px; color: var(--paper); }
.rec__top { display: flex; align-items: center; gap: 7px; font: 11px/1 var(--mono); letter-spacing: .1em; padding: 6px 10px; border-radius: 99px; background: rgba(0,0,0,.4); }
.rec__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--recording); animation: blink 1.6s ease-in-out infinite; }
.is-paused .rec__dot { background: var(--text-2); animation: none; }
@keyframes blink { 50% { opacity: .3; } }
.rec__clock { margin-top: 12px; font-family: var(--serif); font-size: clamp(40px, 4vw, 58px); line-height: 1; font-variant-numeric: tabular-nums; text-shadow: 0 2px 20px rgba(0,0,0,.4); transition: opacity .3s; }
.rec__mode { margin-top: 8px; font-size: 10.5px; letter-spacing: .1em; color: rgba(247,243,234,.72); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.clocks { margin-top: auto; margin-bottom: 14px; display: flex; gap: 3px; padding: 4px; border-radius: 99px; background: rgba(20,19,17,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.clocks.on { opacity: 1; transform: none; }
.clocks span { font-size: 11.5px; font-weight: 600; padding: 7px 10px; border-radius: 99px; color: var(--text-2); transition: background-color .35s, color .35s; }
.clocks span.on { background: var(--paper); color: #050505; }
.rec__paused { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 4; display: flex; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .6s var(--ease); pointer-events: none; }
.rec__paused.on { opacity: 1; transform: none; }
.rec__paused button { flex: 1; height: 46px; border-radius: 99px; background: var(--paper); color: #050505; font-weight: 700; font-size: 15px; }
.rec__paused .paused__stop { background: rgba(247,243,234,.14); color: var(--paper); }
.recbtn { position: relative; width: 96px; height: 96px; display: grid; place-items: center; transition: opacity .35s; }
.clocks.on ~ .recbtn { margin-top: 0; }
.clocks:not(.on) ~ .recbtn { margin-top: -38px; }
.is-paused .recbtn { opacity: 0; }
.recbtn svg { position: absolute; inset: 0; }
.recbtn line { stroke: rgba(255,255,255,.4); stroke-width: 1.6; stroke-linecap: round; }
.recbtn line.on { stroke: var(--accent); }
.recbtn span { width: 60px; height: 60px; border-radius: 13px; background: var(--accent); transform: scale(.7); }

.chip { position: absolute; z-index: 12; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 11px; border-radius: 16px; background: rgba(28,26,23,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.09), 0 20px 50px -14px rgba(0,0,0,.9); white-space: nowrap; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.chip.on { opacity: 1; transform: none; }
.chip b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.chip small { display: block; font-size: 12px; color: var(--text-2); }
.chip__ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); flex: none; }
.chip__ico--red { background: rgba(242,85,90,.18); color: var(--recording); }
.chip__ico svg { width: 18px; height: 18px; }
.chip--l { right: calc(100% - 44px); }

/* shared surface */
.panel, .profile, .group { position: relative; border-radius: 28px; background: var(--surface); }
.panel::before, .profile::before, .group::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 55%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: 2; }

/* 02 · track — E's numbers panel, then the grid of sessions */
.track__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.track__row + .track__row { margin-top: clamp(72px, 12vh, 140px); }
.track__row--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.track__copy { display: grid; gap: 16px; align-content: center; }
.track__copy h4, .share__copy h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.4vw, 68px); line-height: 1; letter-spacing: -.02em; }
.track__copy > p:not(.label), .share__copy > p:not(.label) { margin: 0; color: var(--text-2); font-size: clamp(17px, 1.35vw, 20px); max-width: 26em; }
.track__who { display: flex; align-items: center; gap: 10px; font-size: 13px !important; color: var(--text-3) !important; }
.track__who img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--accent); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 6px; width: 6px; height: 9px; border-right: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(40deg); }

.panel { padding: clamp(24px, 2.4vw, 36px); display: grid; gap: 26px; }
.panel__stats { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 16px; align-items: end; }
.panel__stats div { display: grid; gap: 10px; }
.panel__stats b { white-space: nowrap; font-weight: 400; font-size: clamp(32px, 3vw, 46px); line-height: 1; font-variant-numeric: tabular-nums; }
.panel__stats b.big { font-size: clamp(48px, 5vw, 80px); }
.panel__week { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; flex: 1; max-width: 360px; }
.day { display: grid; justify-items: center; gap: 8px; font: 11px/1 var(--mono); color: var(--text-3); }
.day i { width: 100%; max-width: 42px; aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; background: var(--control); transform: scale(.9); transition: background-color .4s var(--ease), transform .5s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--d) * 110ms); }
.day i svg { width: 50%; opacity: 0; transition: opacity .3s; transition-delay: calc(var(--d) * 110ms + 120ms); }
.panel.in .day.on i, .reduce .day.on i { background: var(--accent); transform: scale(1); }
.panel.in .day.on i svg, .reduce .day.on i svg { opacity: 1; }
.panel__streak { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.panel__streak svg { width: 20px; height: 20px; }
.panel__streak b { font-weight: 400; font-size: 30px; }
.panel__streak span { font-size: 14px; color: var(--text-2); }
.panel__heat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.panel__heatcopy { display: grid; gap: 8px; align-content: end; }
.panel__heatcopy b { font-weight: 400; font-size: clamp(44px, 4.4vw, 64px); line-height: 1; margin-top: 6px; }
.panel__heatsub { font-size: 14px; color: var(--text-2); }
.legend { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; font-size: 11px; color: var(--text-3); }
.legend i, .heat i { border-radius: 5px; background: var(--control); }
.legend i { width: 12px; height: 12px; border-radius: 3px; }
.cal { display: grid; gap: 6px; }
.cal__head, .heat { display: grid; grid-template-columns: repeat(7, clamp(18px, 2vw, 28px)); gap: 5px; }
.cal__head span { text-align: center; font-size: 10px; color: var(--text-3); }
.heat i { aspect-ratio: 1; transition: background-color .45s var(--ease); }
.heat i[data-on="1"], .legend i[data-l="1"] { background: rgba(232,201,95,.28); }
.heat i[data-on="2"], .legend i[data-l="2"] { background: rgba(232,201,95,.5); }
.heat i[data-on="3"], .legend i[data-l="3"] { background: rgba(232,201,95,.74); }
.heat i[data-on="4"], .legend i[data-l="4"] { background: var(--accent); }

.profile { padding: 22px; }
.profile__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.profile__head img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.profile__head b { display: block; font-size: 16px; font-weight: 600; }
.profile__head small { font-size: 11px; color: var(--text-3); letter-spacing: .04em; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pgrid a { position: relative; aspect-ratio: 9 / 14; border-radius: 12px; overflow: hidden; background: var(--control); opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.profile.in .pgrid a, .reduce .pgrid a { opacity: 1; transform: none; }
.pgrid img, .pgrid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pgrid a::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.66)); }
.pgrid span { position: absolute; left: 10px; bottom: 9px; z-index: 1; display: grid; gap: 2px; color: var(--paper); }
.pgrid span b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1; }
.pgrid span small { font: 600 10px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* 03 · share — stickers out to the world, then friends */

/* 02 · track — pinned; history and progress slide past sideways */
.step--track { height: 320vh; padding-top: 0; margin-top: var(--section); }
.track__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); padding-top: 88px; }
.track__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 8px; }
.track__head .step__n { font-size: clamp(56px, 6vw, 96px); }
.track__head .step__title h3 { font-size: clamp(40px, 4.4vw, 68px); }
.track__dots { display: flex; gap: 8px; }
.track__dots span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 11px; border-radius: 99px; font: 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--border); transition: color .4s, box-shadow .4s; }
.track__dots span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.track__dots span.on { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(232,201,95,.5); }
.track__dots span.on::before { background: var(--accent); }
.track__rail { display: flex; width: 200vw; height: 100%; will-change: transform; }
.track__panel { width: 100vw; flex: none; display: grid; align-items: center; padding-bottom: 32px; }
.track__panel .track__row { margin: 0 auto; }
.track__panel .profile { max-width: 470px; justify-self: end; width: 100%; }
.track__panel .pgrid a { aspect-ratio: 9 / 13; }
.track__panel .panel { gap: 18px; padding: 26px; }
.track__panel .panel__week { padding: 16px 0; }
.track__panel .cal__head, .track__panel .heat { grid-template-columns: repeat(7, clamp(16px, 2.2vh, 24px)); gap: 4px; }

/* 03 · share — pinned; the "post it anywhere" sheet folds up over the friends sheet */
.step--share { height: 320vh; padding-top: 0; margin-top: var(--section); }
.share__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); padding-top: 88px; }
.share__stage { position: relative; }
.share__pin > .track__head { position: relative; z-index: 3; }
.share__pin > .sheet--post { z-index: 2; }
.sheet { position: absolute; inset: 0; display: grid; align-items: center; padding: 8px 0 28px; background: var(--bg); transform-origin: 50% 0; }
.sheet--post { background: #131210; border-radius: 36px 36px 0 0; box-shadow: 0 -1px 0 rgba(255,255,255,.08), 0 -20px 40px -24px rgba(0,0,0,.8); transform: translateY(102%); will-change: transform; }
.share__row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.igwrap { display: grid; justify-items: center; gap: 14px; }
.igwrap__cap { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.ig { --cw: min(360px, 30vw, calc((100svh - 230px) * 9 / 16)); position: relative; width: var(--cw); aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -30px #000, inset 0 0 0 1px rgba(255,255,255,.1); container-type: inline-size; }
.ig video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ig__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 18%, rgba(0,0,0,0) 80%, rgba(0,0,0,.45) 100%); }
.ig__bars { position: absolute; left: 8px; right: 8px; top: 8px; display: flex; gap: 3px; z-index: 3; }
.ig__bars i { flex: 1;  height: 2px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; }
.ig__bars b { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.ig__top { position: absolute; left: 10px; right: 10px; top: 18px; z-index: 3; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; }
.ig__top img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.ig__top b { font-weight: 600; }
.ig__top span { opacity: .7; }
.ig__x { width: 16px; height: 16px; margin-left: auto; }
.ig__bottom { position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 14px; color: #fff; }
.ig__msg { flex: 1; height: 38px; display: flex; align-items: center; padding: 0 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); font-size: 13px; }
.ig__bottom svg { width: 24px; height: 24px; }

/* the app's stickers, drawn to StickerView's spec: 300pt design width, Editorial face, Soft style */
.stkr { position: absolute; left: 50%; top: 50%; z-index: 2; --k: calc(var(--cw) / 560); width: calc(300 * var(--k)); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: calc(12 * var(--k)); text-align: center; color: #F7F3EA; transition: opacity .35s var(--ease); }
.stkr > * { text-shadow: 0 0 calc(1 * var(--k)) rgba(247,243,234,.9), 0 0 calc(1 * var(--k)) rgba(247,243,234,.9), 0 0 calc(3 * var(--k)) rgba(0,0,0,.2), 0 calc(1 * var(--k)) calc(8 * var(--k)) rgba(0,0,0,.35); }
.stkr__tag { font: 700 calc(16 * var(--k))/1.1 var(--sans); letter-spacing: calc(2.5 * var(--k)); text-transform: uppercase; }
.stkr__dur { font-family: var(--serif); font-size: calc(44 * var(--k)); line-height: 1; font-variant-numeric: tabular-nums; }
.stkr__date { font: 600 calc(14 * var(--k))/1 var(--sans); letter-spacing: calc(.5 * var(--k)); }
.stkr__mark { width: calc(96 * var(--k)); margin-top: calc(2 * var(--k)); transform: translateX(calc(5.3 * var(--k))); filter: drop-shadow(0 calc(1 * var(--k)) calc(4 * var(--k)) rgba(0,0,0,.35)); }
.clk { position: absolute; left: 50%; top: 24%; z-index: 2; --k: calc(var(--cw) * .42 / 300); width: calc(300 * var(--k)); height: calc(96 * var(--k)); transform: translate(-50%, -50%); display: grid; place-items: center; color: #F7F3EA; font-family: var(--sans); font-weight: 200; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 0 calc(1 * var(--k)) rgba(247,243,234,.9), 0 0 calc(3 * var(--k)) rgba(0,0,0,.2), 0 calc(1 * var(--k)) calc(8 * var(--k)) rgba(0,0,0,.35); transition: opacity .35s var(--ease); }
.clk[data-face="ring"] { --k: calc(var(--cw) * .34 / 300); height: calc(300 * var(--k)); }
.clk__big { font-size: calc(60 * var(--k)); line-height: 1; }
.clk__wall { display: flex; align-items: baseline; gap: calc(8 * var(--k)); }
.clk__wall b { font-weight: 200; font-size: calc(56 * var(--k)); line-height: 1; }
.clk__wall small { font-size: calc(20 * var(--k)); letter-spacing: calc(1 * var(--k)); }
.clk svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 calc(1 * var(--k)) calc(4 * var(--k)) rgba(0,0,0,.35)); }
.clk__ring { font-size: calc(62 * var(--k)); line-height: 1; }

/* the app's Stickers / Timers tray */
.tray { margin-top: 10px; padding: 14px; border-radius: 24px; background: #151412; box-shadow: inset 0 0 0 1px var(--border); }
.tray__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; margin-bottom: 14px; border-radius: 14px; background: rgba(0,0,0,.35); }
.tray__body { height: clamp(230px, 30vh, 280px); display: grid; align-content: center; }
.tray__body .tray__grid { align-self: stretch; align-content: start; }
.tray__tabs button { padding: 9px 0; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text-3); transition: color .3s, background-color .3s; }
.tray__tabs button.on { color: var(--paper); background: var(--control); }
.tray__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { display: grid; gap: 7px; justify-items: center; font-size: 12px; font-weight: 500; color: var(--text-2); }
.tile__face { position: relative; width: 100%; aspect-ratio: 1.9; border-radius: 14px; background: #22201D; display: grid; place-items: center; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: box-shadow .3s; --cw: 190px; }
.tile.on .tile__face { box-shadow: inset 0 0 0 2px var(--accent); }
.tile.on { color: var(--paper); }
.tile__face .stkr, .tile__face .clk { position: relative; left: auto; top: auto; transform: none; }
.tile__face .stkr { --k: .5px; }
.tile__face .clk { --k: .5px; }
.tile__face .clk[data-face="ring"] { --k: .3px; }
.tile__none { width: 24px; height: 24px; color: var(--text-2); }

/* live now */
.live { padding: 16px 20px; border-radius: 24px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.live__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.live__head b { font-size: 16px; font-weight: 600; }
.live__head small { margin-left: auto; font-size: 13px; color: var(--text-3); }
.live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--recording); box-shadow: 0 0 0 0 rgba(242,85,90,.6); animation: livepulse 1.8s ease-out infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(242,85,90,.55); } 100% { box-shadow: 0 0 0 10px rgba(242,85,90,0); } }
.live__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.live__list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 10px; opacity: 0; transform: translateX(-14px); transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i) * 120ms + 200ms); }
.feed.in .live__list li, .reduce .live__list li { opacity: 1; transform: none; }
.live__av { position: relative; width: 40px; height: 40px; }
.live__av img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.live__av i { position: absolute; right: -1px; bottom: -1px; width: 13px; height: 13px; border-radius: 50%; background: var(--recording); box-shadow: 0 0 0 2.5px var(--surface); }
.live__list b { display: block; font-size: 15px; font-weight: 600; }
.live__list small { display: block; margin-top: 2px; font-size: 13px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live__clock { font: 13px/1 var(--mono); color: var(--recording); font-variant-numeric: tabular-nums; }

.share__copy { display: grid; gap: 16px; }
.dests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dests span { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 15px 0 9px; border-radius: 99px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; font-weight: 600; }
.dests img { width: 22px; height: 22px; border-radius: 5.5px; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }

.social__stack { display: grid; gap: 14px; }
.social .toast { margin-top: 12px; }
.group__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: center; margin-top: 14px; }
.group { padding: 20px 22px; }
.group__top { display: flex; justify-content: space-between; align-items: flex-start; }
.group__top b { display: block; font-size: 18px; font-weight: 600; }
.group__top small { font-size: 12px; color: var(--text-3); }
.group__total { text-align: right; display: grid; }
.group__total .serif { font-size: 32px; line-height: 1; }
.group__total small { font-size: 12px; color: var(--text-2); }
.race { display: block; width: 100%; height: auto; overflow: visible; }
.race path { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.race__grid { stroke: rgba(255,255,255,.06); }
.race__days { display: flex; justify-content: space-between; margin-top: 8px; font-size: 10.5px; color: var(--text-3); }
.board { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.board li { display: grid; grid-template-columns: 16px 30px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.board__rank { font: 12px/1 var(--mono); color: var(--text-3); }
.board img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.board strong { font-size: 15px; font-weight: 600; }
.board__tags { display: flex; gap: 3px; height: 5px; margin-top: 7px; width: calc(var(--w) * 100%); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); transition-delay: calc(var(--d) * 90ms + 300ms); }
.group.in .board__tags, .reduce .board__tags { transform: none; }
.board__tags i { border-radius: 3px; }
.board em { font-family: var(--serif); font-style: normal; font-size: 19px; }
.board__nudge { font: 600 12px/1 var(--sans); padding: 7px 11px; border-radius: 99px; background: var(--control); color: var(--paper); margin-left: 8px; }
.board__nudge:disabled { color: var(--accent); }
.toast { display: flex; align-items: center; gap: 12px; width: min(380px, 100%); padding: 12px 16px 12px 12px; border-radius: 20px; background: rgba(34,32,29,.95); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 60px -20px #000; opacity: 0; transform: translateY(-24px) scale(.95); transition: opacity .6s var(--ease), transform .8s cubic-bezier(.34,1.56,.64,1); }
.feed.in .toast, .reduce .toast { opacity: 1; transform: none; transition-delay: .4s; }
.toast__ico { width: 36px; height: 36px; border-radius: 9px; overflow: hidden; flex: none; }
.toast b { display: block; font-size: 15px; font-weight: 600; }
.toast small { font-size: 11px; color: var(--text-2); letter-spacing: .06em; }

/* ══ 3 · VOICES ════════════════════════════════════════════ */
.voices__head { position: relative; text-align: center; margin: 0 auto var(--gap-head); max-width: 980px; display: grid; justify-items: center; gap: 28px; }
.voices__mark { display: block; height: .5em; margin-bottom: -.12em; font-size: clamp(120px, 14vw, 200px); line-height: .9; color: var(--accent); }
.voices__quote { margin: 0; font-weight: 400; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; }
.voices__quote .qw { display: inline-block; opacity: .14; transition: opacity .5s var(--ease); }
.voices__quote .qw.on { opacity: 1; }
.voices__cite { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.voices__cite img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px rgba(232,201,95,.6); }
.voices__cite b { display: block; font-size: 16px; font-weight: 600; }
.voices__cite small { font-size: 13px; color: var(--text-3); }
.marquee { display: grid; gap: 16px; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; gap: 16px; width: max-content; will-change: transform; }
.quote { position: relative; margin: 0; width: 340px; flex: none; padding: 22px 24px; border-radius: 22px; background: var(--surface); display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
.quote::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: 1px; background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.quote img, .quote__init { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; grid-row: 1 / 3; }
.quote__init { display: grid; place-items: center; background: var(--control); font-weight: 700; color: var(--text-2); }
.quote p { margin: 0 0 12px; font-size: 16px; line-height: 1.45; }
.quote cite { font-style: normal; font-size: 13px; color: var(--text-3); }
.quote--plain { grid-template-columns: 1fr; background: transparent; box-shadow: inset 0 0 0 1px var(--border); }
.quote--plain::before { display: none; }
.quote--plain p { font-family: var(--serif); font-size: 22px; line-height: 1.2; }

/* ══ 4 · FAQ ═══════════════════════════════════════════════ */
.faqs { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faqs__head { position: sticky; top: 110px; display: grid; gap: 18px; }
.faqs__head .h2 { font-size: clamp(48px, 6vw, 96px); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:first-child { border-top: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 11px; height: 11px; flex: none; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .4s var(--ease); opacity: .6; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { margin: 0 0 22px; color: var(--text-2); max-width: 40em; }

/* ══ 5 · CLOSE ═════════════════════════════════════════════ */
.close { position: relative; overflow: hidden; padding: clamp(140px, 22vh, 220px) 0; isolation: isolate; }
.mosaic { position: absolute; inset: -10% -5%; z-index: -2; display: flex; gap: var(--gap); justify-content: center; opacity: .2; --tw: 170px; --th: 302px; }
.mosaic__col { display: flex; flex-direction: column; gap: var(--gap); animation: drift 60s linear infinite; }
.mosaic__col:nth-child(even) { animation-direction: reverse; animation-duration: 72s; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.close.paused .mosaic__col { animation-play-state: paused; }
.close::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 50%, rgba(14,13,12,.72) 0%, rgba(14,13,12,.9) 60%, var(--bg) 100%); }
.close__inner { display: grid; justify-items: center; text-align: center; gap: 24px; }
.close h2 { font-family: var(--serif); font-weight: 400; margin: 0; font-size: clamp(64px, 10vw, 160px); line-height: .95; letter-spacing: -.03em; }

.foot { border-top: 1px solid var(--border); }
.foot .wrap { display: flex; align-items: center; gap: 28px; padding-top: 36px; padding-bottom: 36px; flex-wrap: wrap; }
.foot img { height: 22px; width: auto; }
.foot nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--text-2); }
.foot nav a:hover { color: var(--paper); }
.foot small { font-size: 13px; color: var(--text-3); }

/* ── responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
  .step--track { height: auto; margin-top: var(--section); }
  .track__pin { position: relative; height: auto; overflow: visible; padding-top: 0; display: block; }
  .track__head { padding-bottom: 36px; border-top: 1px solid var(--border); padding-top: 40px; }
  .track__dots { display: none; }
  .track__rail { width: auto; display: grid; gap: 72px; transform: none !important; }
  .track__panel { width: auto; padding: 0; }
  .step--share { height: auto; }
  .share__pin { position: relative; height: auto; overflow: visible; padding-top: 0; display: block; }
  .share__pin .track__head { border-top: 1px solid var(--border); padding-top: 40px; padding-bottom: 28px; }
  .sheet { position: relative; inset: auto; padding: 32px 0; }
  .sheet--post { transform: none; border-radius: 28px 28px 0 0; padding-top: 48px; margin-top: 32px; }
  .ig { --cw: min(300px, 76vw); }
  .tray__grid { gap: 8px; }
  .tile__face { --cw: 150px; }
  .tile__face .stkr, .tile__face .clk { --k: .34px; }
  .tile__face .clk[data-face="ring"] { --k: .15px; }
  .tray__body { height: auto; min-height: 190px; }
  .step__head { grid-template-columns: 1fr; row-gap: 18px; }
  .take { height: 340vh; }
  .take__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; justify-items: center; gap: 14px; padding-top: 70px; padding-bottom: 24px; }
  .take__left { order: 2; width: 100%; gap: 14px; }
  .take__left .step__title { display: none; }
  .take__beats { min-height: 150px; }
  .beat h4 { font-size: 27px; margin: 0 0 8px; }
  .beat p { font-size: 15px; }
  .tabs { gap: 8px; } .tabs span { font-size: 10.5px; gap: 8px; }
  .take__phone { order: 1; height: min(52svh, 500px); }
  .take__phone .phone { border-radius: 34px; padding: 7px; }
  .take__phone .phone__screen { border-radius: 28px; }
  .take__phone .phone::after { top: 13px; height: 15px; }
  .rec__ui { padding-top: 38px; }
  .rec__clock { font-size: 30px; }
  .clocks span { font-size: 10px; padding: 6px 8px; }
  .recbtn { width: 66px; height: 66px; }
  .rec__dim { place-items: center; padding-bottom: 0; }
  .recbtn span { width: 40px; height: 40px; }
  .rec__paused button { height: 38px; font-size: 13px; }
  .chip { padding: 8px 11px 8px 8px; }
  .chip b { font-size: 12px; } .chip small { font-size: 11px; }
  .chip__ico { width: 26px; height: 26px; border-radius: 8px; }
  .chip--l { right: auto; left: -22px; }
  .track__row, .track__row--flip, .share__row, .social { grid-template-columns: 1fr; }
  .live__list { grid-template-columns: 1fr; gap: 10px; }
  .group__body { grid-template-columns: 1fr; }
  .track__row--flip .profile { order: 2; }
  .panel__stats { grid-template-columns: 1fr 1fr; }
  .panel__stats div:first-child { grid-column: 1 / -1; }
  .panel__week { flex-direction: column; align-items: stretch; }
  .days { max-width: none; }
  .faqs { grid-template-columns: 1fr; }
  .faqs__head { position: static; }
  .foot nav { margin-left: 0; }
}
@media (max-width: 600px) {
  .lede--hero br { display: none; }
  body { font-size: 16px; }
  .quote { width: 290px; }
  .mosaic { --tw: 120px; --th: 213px; }
  .panel__heat { grid-template-columns: 1fr; }
  .nav .appstore--sm .appstore__txt small { display: none; }
  .nav .appstore--sm .appstore__txt b { font-size: 14px; }
}

/* Reduce Motion: pins release, nothing scrubs, nothing drifts. */
.reduce [data-reveal] { opacity: 1; transform: none; transition: none; }
.reduce .hero { height: auto; }
.reduce .hero__stage { position: relative; height: max(100svh, 780px); }
.reduce .hero__spot, .reduce .hero__shade, .reduce .hero__hint { display: none; }
.reduce .hero__scrim { opacity: 1; }
.reduce .hero__center { grid-template-rows: auto auto; align-content: center; gap: clamp(36px, 6vh, 64px); }
.reduce .hero__copy { grid-area: 1 / 1; align-self: center; }
.reduce .hero__cap { grid-area: 2 / 1; }
.reduce .hero__cap .w { opacity: 1; }
.reduce .cap__line { font-size: clamp(28px, 3vw, 44px); margin-top: 18px !important; }
.reduce .cap__vis::after { --u: 1; }
.reduce .take { height: auto; }
.reduce .take__pin { position: relative; height: auto; min-height: 100svh; }
.reduce .beat { position: relative; opacity: 1; transform: none; margin-bottom: 32px; }
.reduce .tabs { display: none; }
.reduce .sheet { position: relative; inset: auto; }
.reduce .sheet--post { transform: none; }
.reduce .step--share { height: auto; }
.reduce .share__pin { position: relative; height: auto; overflow: visible; }
.reduce .step--track { height: auto; }
.reduce .track__pin { position: relative; height: auto; overflow: visible; }
.reduce .track__rail { width: auto; display: grid; gap: 72px; }
.reduce .track__panel { width: auto; }
.reduce .live__dot { animation: none; }
.reduce .voices__quote .qw { opacity: 1; }
.reduce .rec__dot, .reduce .hero__hint i { animation: none; }
.reduce .mosaic__col { animation: none; }
.reduce .hero__copy { justify-self: center; text-align: center; justify-items: center; max-width: 820px; }
.reduce .hero__copy .cta-row { justify-content: center; }
@media (max-width: 999px) and (max-height: 740px) {
  .hero__center { padding-bottom: 28px; }
  .hero__copy { gap: 12px; }
  .hero__copy h1 { font-size: 38px; }
  .hero__copy .lede { font-size: 15px; max-width: 30ch; }
  .hero__copy .lede--hero { max-width: none; }
  .hero__copy .btn { height: 46px; }
  .hero__hint { display: none; }
}
/* short desktop windows: the edit sheet still fits in one frame */
@media (min-width: 901px) and (max-height: 840px) {
  .share__copy { gap: 12px; }
  .share__copy h4 { font-size: clamp(36px, 6.4vh, 56px); }
  .share__copy > p:not(.label) { font-size: 16px; }
  .tray { padding: 10px; margin-top: 4px; }
  .tray__tabs { margin-bottom: 10px; }
  .tray__tabs button { padding: 7px 0; }
  .tray__body { height: clamp(176px, 27vh, 230px); }
  .tile { gap: 4px; }
  .tile__face { aspect-ratio: 2.5; }
  .tile__face .stkr, .tile__face .clk { --k: .4px; }
  .tile__face .clk[data-face="ring"] { --k: .21px; }
  .social .track__copy h4 { font-size: clamp(36px, 6.4vh, 68px); }
  .social__stack { gap: 10px; }
  .group { padding: 16px 20px; }
}
/* tray: trim + speed, drawn like the editor's own controls */
.trim { display: grid; gap: 14px; padding: 4px 2px; }
.trim__strip { position: relative; height: 64px; cursor: ew-resize; touch-action: none; border-radius: 10px; overflow: hidden; display: flex; background: #000; }
.trim__strip img { flex: 1; min-width: 0; height: 100%; object-fit: cover; opacity: .9; }
.trim__keep { position: absolute; top: 0; bottom: 0; border: 2.5px solid var(--accent); border-left-width: 12px; border-right-width: 12px; border-radius: 10px; box-shadow: 0 0 0 999px rgba(0,0,0,.6); transition: left .9s var(--ease), right .9s var(--ease); }
.trim__keep::before, .trim__keep::after { content: ""; position: absolute; top: 50%; width: 3px; height: 18px; margin-top: -9px; border-radius: 2px; background: #1A1508; }
.trim__keep::before { left: -8px; } .trim__keep::after { right: -8px; }
.trim__head { position: absolute; top: -4px; bottom: -4px; width: 3px; border-radius: 2px; background: var(--paper); box-shadow: 0 0 8px rgba(0,0,0,.6); }
.trim__read, .speed__read { display: flex; justify-content: space-between; align-items: baseline; font: 13px/1 var(--mono); color: var(--text-2); }
.trim__read b, .speed__read b { font-weight: 400; color: var(--paper); font-size: 15px; }
.speed { display: grid; gap: 16px; padding: 4px 2px; }
.speed__row { display: flex; align-items: center; gap: 14px; }
.speed__row svg { width: 24px; height: 24px; color: var(--text-2); flex: none; }
.speed__track { position: relative; flex: 1; height: 4px; cursor: pointer; touch-action: none; border-radius: 4px; background: rgba(255,255,255,.14); }
.speed__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: #E5DFD2; transition: width .9s var(--ease); }
.speed__knob { position: absolute; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.4); transition: left .9s var(--ease); }
.speed__marks { position: relative; height: 11px; margin: 0 38px; font: 11px/1 var(--mono); color: var(--text-3); }
.speed__marks span { position: absolute; transform: translateX(-50%); }
.dragging .trim__keep, .dragging .speed__fill, .dragging .speed__knob { transition: none; }

/* track panel: stats, then bars + calendar side by side */
.panel__split { display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 26px; align-items: end; padding-top: 18px; border-top: 1px solid var(--border); }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: clamp(130px, 20vh, 190px); }
.bar { display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; }
.bar i { display: block; border-radius: 4px; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); transition-delay: calc(var(--d) * 70ms); }
.panel.in .bar i, .reduce .bar i { transform: none; }
.bars__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 8px; text-align: center; font-size: 11px; color: var(--text-3); }
.bars__legend { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 12px; font-size: 12px; color: var(--text-2); }
.bars__legend span { display: inline-flex; align-items: center; gap: 6px; }
.bars__legend i { width: 8px; height: 8px; border-radius: 2px; }
.panel__cal { display: grid; gap: 12px; justify-items: start; }
.panel__streak { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.panel__streak b { font-size: 24px; }

/* small phones — last in the file so these win over the base rules above */
@media (max-width: 600px) {
  .panel__split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .panel__cal { grid-template-columns: auto auto; justify-content: space-between; align-items: end; justify-items: start; }
  .group__top { gap: 12px; }
  .group__top b { font-size: 16px; }
  .group__total .serif { font-size: 26px; white-space: nowrap; }
}
@media (max-width: 380px) {
  .pgrid span { left: 7px; bottom: 7px; }
  .pgrid span b { font-size: 17px; white-space: nowrap; }
  .pgrid span small { font-size: 9px; letter-spacing: .08em; }
}
/* phones held sideways: the hero and the record phone sit beside their words, not above them */
@media (orientation: landscape) and (max-height: 520px) and (min-width: 640px) {
  .hero__center { padding-top: 64px; padding-bottom: 20px; }
  .hero__copy { gap: 12px; max-width: 48vw; }
  .hero__copy h1 { font-size: 40px; }
  .hero__copy .lede { font-size: 14px; }
  .hero__copy .btn { height: 42px; }
  .take__pin { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: none; align-content: center; justify-items: stretch; gap: 32px; padding-top: 80px; padding-bottom: 12px; }
  .take__left { order: 0; }
  .take__phone { order: 0; height: calc(100svh - 92px); }
  .rec__dim { place-items: center; padding-bottom: 0; }
  .take__beats { min-height: 120px; }
}

/* ── quiet mode switch: a pill fixed in the bottom-right corner, and a footer link ── */
.quiet { display: inline-flex; align-items: center; gap: 9px; font: 600 13px/1 var(--sans); color: var(--text-2); cursor: pointer; transition: color .3s, opacity .4s var(--ease), transform .4s var(--ease); }
.quiet:hover { color: var(--paper); }
.quiet__sw { position: relative; width: 26px; height: 16px; flex: none; border-radius: 8px; background: rgba(247,243,234,.18); transition: background-color .3s; }
.quiet__sw::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); transition: transform .3s var(--ease); }
.quiet[aria-pressed="true"] { color: var(--paper); }
.quiet[aria-pressed="true"] .quiet__sw { background: var(--paper); }
.quiet[aria-pressed="true"] .quiet__sw::after { transform: translateX(10px); background: var(--bg); }
/* the floating corner switch, both pages */
.quiet--float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; height: 40px; padding: 0 14px 0 11px; border-radius: 999px; background: rgba(20,19,17,.78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 10px 30px -10px rgba(0,0,0,.7); }
.quiet--float:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.24), 0 10px 30px -10px rgba(0,0,0,.7); }
/* once the page is scrolled it shrinks to the bare toggle, so it covers as little as possible;
   the label comes back on hover */
.quiet--float > span:last-child { max-width: 90px; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease), opacity .3s; }
.quiet--float.is-mini { width: 40px; padding: 0; justify-content: center; gap: 0; }
.quiet--float.is-mini > span:last-child { max-width: 0; opacity: 0; }
@media (hover: hover) { .quiet--float.is-mini:hover { width: auto; padding: 0 14px 0 11px; gap: 9px; } .quiet--float.is-mini:hover > span:last-child { max-width: 90px; opacity: 1; } }
/* stepped aside where it would sit on something (see shared.js) */
.quiet--float.is-away { opacity: 0; pointer-events: none; }
.quiet--link { font: inherit; color: inherit; }
.quiet--link[aria-pressed="true"]::after { content: " · on"; color: var(--text-3); }

/* quiet mode, desktop: one plain page. The pinned scenes' full-screen heights and their slide
   tabs mean nothing here, so the sections sit at the page's normal rhythm. */
.reduce .take__pin { min-height: 0; padding-top: 48px; padding-bottom: 0; }
.reduce .step--track, .reduce .step--share { margin-top: clamp(72px, 10vh, 120px); }
.reduce .track__pin, .reduce .share__pin { padding-top: 0; }
.reduce .track__dots { display: none; }
.reduce .track__rail { gap: clamp(56px, 8vh, 96px); }
.reduce .track__panel { padding-bottom: 0; }
.reduce .sheet--post { margin-top: 48px; }

/* ── quiet mode, desktop: a calm, conventional page ─────────────────────────────
   The hero is words beside one session (no wall behind the text), the name gets a band of
   its own, and every section is a full-width band with its own tone and a hairline, so the
   page reads as distinct chapters instead of one long run. */
.hero__still { display: none; }
.reduce .hero { height: auto; }
.reduce .hero__stage { position: relative; height: auto; min-height: min(100svh, 880px); overflow: visible; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(40px, 6vw, 96px); max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 120px var(--pad) 72px; background: none; }
.reduce .wall, .reduce .hero__spot, .reduce .hero__shade, .reduce .hero__scrim, .reduce .hero__hint { display: none; }
.reduce .hero__center { position: static; inset: auto; display: block; padding: 0; pointer-events: auto; }
.reduce .hero__center { grid-column: 1; grid-row: 1; }
.reduce .hero__still { grid-column: 2; grid-row: 1; }
.reduce .hero__copy { justify-self: start; text-align: left; justify-items: start; max-width: 620px; gap: 24px; }
.reduce .hero__copy .cta-row { justify-content: flex-start; }
.reduce .hero__copy h1 { font-size: clamp(56px, 6vw, 96px); text-shadow: none; }
.reduce .hero__copy .lede { text-shadow: none; }
.reduce .hero__still { display: block; justify-self: center; width: min(100%, 360px); height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 28px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -40px #000; }

.name-band { padding: clamp(72px, 11vh, 120px) var(--pad); background: #131210; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.name-band .hero__cap { margin: 0 auto; }
.name-band .hero__cap .w { opacity: 1; }
.name-band .cap__line { font-size: clamp(34px, 3.6vw, 56px); }
.name-band .cap__vis::after { --u: 1; }

.reduce .how { padding-top: clamp(72px, 10vh, 112px); }
.reduce .how__label { margin-bottom: 8px; }
.reduce .step--record, .reduce .step--track, .reduce .step--share { margin-top: 0; padding: clamp(72px, 10vh, 120px) 0; border-top: 1px solid var(--border); }
.reduce .step--record { border-top: 0; padding-top: 0; }
.reduce .step--track { background: #131210; }
.reduce .step--track .profile, .reduce .step--track .panel { background: #1A1917; }
.reduce .take__pin { padding-top: 0; }
.reduce .track__head, .reduce .share__pin .track__head { padding-bottom: clamp(32px, 5vh, 56px); }
.reduce .sheet { padding: 0; }
.reduce .sheet--post { margin-top: clamp(72px, 10vh, 120px); padding: clamp(56px, 8vh, 88px) 0 0; background: none; border-radius: 0; box-shadow: none; border-top: 1px solid var(--border); }
.reduce .voices { background: #131210; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.reduce .close { border-top: 1px solid var(--border); }
@media (max-width: 999px) {
  .reduce .hero__stage { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-top: 104px; }
  .reduce .hero__copy { justify-self: center; text-align: center; justify-items: center; }
  .reduce .hero__copy .cta-row { justify-content: center; }
  .reduce .hero__center, .reduce .hero__still { grid-column: 1; grid-row: auto; }
  .reduce .hero__still { width: min(70%, 300px); }
}
