/* PUSH.IT.UP: editorial theme. Paper, ink, one accent. Same tokens as the app. */
@font-face { font-family: "Crimson Text"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/CrimsonText-Regular.ttf") format("truetype"); }
@font-face { font-family: "Crimson Text"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/CrimsonText-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Crimson Text"; font-weight: 700; font-style: normal; font-display: swap; src: url("/fonts/CrimsonText-Bold.ttf") format("truetype"); }
@font-face { font-family: "DM Sans"; font-weight: 100 1000; font-style: normal; font-display: swap; src: url("/fonts/DMSans-Variable.ttf") format("truetype"); }

:root {
  color-scheme: light dark;
  --paper: #FCFBF8; --surface: #F4F2EC; --ink: #161616; --ink-soft: #3A3A3A; --grey: #6B6B6B;
  --rule: #D9D6CF; --rule-soft: #E6E3DC; --accent: #C4401B; --on-accent: #FCFBF8; --error: #B3261E;
  --serif: "Crimson Text", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --side: clamp(20px, 5vw, 48px);
  --shadow: 0 30px 70px -24px rgba(40,25,15,.35);
  --max: 1120px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --paper: #121212; --surface: #1B1A18; --ink: #ECE8E1; --ink-soft: #CFCAC2; --grey: #9A968F;
  --rule: #34322F; --rule-soft: #2A2826; --accent: #EF6A3D; --on-accent: #121212; --error: #F2B8B5;
  --shadow: 0 30px 70px -20px rgba(0,0,0,.7);
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --paper: #121212; --surface: #1B1A18; --ink: #ECE8E1; --ink-soft: #CFCAC2; --grey: #9A968F;
  --rule: #34322F; --rule-soft: #2A2826; --accent: #EF6A3D; --on-accent: #121212; --error: #F2B8B5;
  --shadow: 0 30px 70px -20px rgba(0,0,0,.7);
  color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--side); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px; text-decoration: none; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--paper); background: color-mix(in srgb, var(--paper) 93%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rule); }
.bar-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.mark { display: inline-block; padding: 10px 0; font: 700 22px/1 var(--serif); letter-spacing: .06em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.mark i { font-style: normal; color: var(--accent); }
.bar nav { display: flex; gap: 26px; align-items: center; font-size: 15px; }
.bar nav a { color: var(--ink-soft); text-decoration: none; padding: 12px 0; }
.bar nav a:hover { color: var(--ink); }
.bar nav a.nav-cta { color: var(--on-accent); background: var(--accent); padding: 10px 18px; border-radius: 4px; font-weight: 600; }
.bar nav a.nav-cta:hover { filter: brightness(1.07); color: var(--on-accent); }
@media (max-width: 760px) { .bar nav a:not(.nav-cta) { display: none; } .bar-in { min-height: 60px; } }

/* ---------- type ---------- */
.label { font: 600 12px/1.2 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--grey); margin: 0; }
.label.accent { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 1; }
h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.06; }
h3 { font-size: 24px; line-height: 1.15; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2vw, 20px); color: var(--ink-soft); max-width: 33em; text-wrap: pretty; }
.muted { color: var(--grey); font-size: 14px; }

/* ---------- waitlist page ---------- */
.solo { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.solo main { flex: 1; display: flex; align-items: center; }
.bar-end { display: flex; align-items: center; gap: 18px; }
.theme-btn { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--sans); color: var(--ink-soft); background: transparent; border: 1px solid var(--rule); border-radius: 4px; padding: 10px 14px; cursor: pointer; }
.theme-btn:hover { color: var(--ink); border-color: var(--grey); }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-btn .sun { display: none; } :root:not([data-theme="light"]) .theme-btn .moon { display: block; } }
@media (max-width: 480px) { .bar-end .label { display: none; } }
.split { width: 100%; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 7vw, 96px); align-items: center; padding-block: clamp(24px, 3.5vw, 44px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.intro > * + * { margin-top: 20px; }
.intro h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.panel { background: var(--surface); border: 1px solid var(--rule); border-radius: 6px; padding: clamp(20px, 3vw, 28px); max-width: 520px; margin-top: 24px !important; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 520px; margin-top: 24px !important; padding-top: 18px; border-top: 2px solid var(--ink); }
.facts b { display: block; font: 600 clamp(32px, 4vw, 44px)/1 var(--serif); color: var(--accent); }
.facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--grey); line-height: 1.35; }

/* phone with the app's workout screen */
.stage-phone { display: flex; justify-content: center; }
.phone { position: relative; width: min(100%, 320px); background: #0d0d0d; border-radius: 40px; padding: 9px; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.07) inset, 0 0 0 1.5px #2b2b2b; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 11px; height: 11px; margin-left: -5.5px; background: #000; border-radius: 50%; z-index: 6; box-shadow: 0 0 0 2px #1a1a1a; }
.phone::after { content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 64px; background: #2b2b2b; border-radius: 0 3px 3px 0; box-shadow: 0 -90px 0 #2b2b2b; }
.screen { position: relative; border-radius: 32px; background: var(--paper); overflow: hidden; display: flex; flex-direction: column; padding: 38px 18px 22px; color: var(--ink); }
.app-top { display: flex; justify-content: space-between; align-items: center; height: 28px; gap: 10px; }
.app-time { margin-left: auto; font: 500 11px/1 var(--sans); color: var(--grey); font-variant-numeric: tabular-nums; }
.app-label { font: 600 10px/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.app-link { font: 500 13px/1 var(--sans); color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.app-prog { height: 3px; background: var(--rule); margin-top: 6px; border-radius: 2px; }
.app-prog i { display: block; height: 100%; width: 0; transition: width .5s ease; background: var(--accent); border-radius: 2px; }
.app-fig { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--rule); border-radius: 14px; margin-top: 10px; background: var(--surface); }
.app-name { font: 600 27px/1.05 var(--serif); margin: 12px 0 0; letter-spacing: -.01em; }
.app-cue { font-size: 12px; color: var(--grey); margin-top: 4px; }
.app-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 12px 14px; margin-top: 14px; }
.app-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 4px; }
.app-row b { font: 600 52px/1 var(--serif); color: var(--accent); }
.app-row div { text-align: right; }
.app-row strong { display: block; font: 600 13px/1.2 var(--sans); margin-top: 3px; }
.app-how { font-size: 13px; color: var(--accent); text-decoration: underline; text-underline-offset: 3px; margin-top: 12px; }
.app-work, .app-rest { display: block; }
.app-work[hidden], .app-rest[hidden] { display: none; }
.app-restcard { text-align: center; margin-top: 18px; padding: 22px 14px 16px; }
.app-restcard b { display: block; font: 600 64px/1 var(--serif); color: var(--accent); font-variant-numeric: tabular-nums; }
.app-restcard .app-cue, .app-restcard .app-how { display: block; margin-top: 6px; }
.app-next { display: block; margin: 22px 0 8px; }
.app-nextname { display: block; font: 600 20px/1.1 var(--serif); }
.app-btns { margin-top: auto; text-align: center; }
.app-btn { display: block; background: var(--accent); color: var(--on-accent); font: 600 14px/1 var(--sans); padding: 15px 0; border-radius: 12px; }
.app-skip { display: block; font-size: 12px; color: var(--grey); margin-top: 10px; }
.sbar { position: absolute; top: 9px; left: 22px; right: 22px; z-index: 2; display: flex; justify-content: space-between; align-items: center; font: 600 11.5px/1 var(--sans); color: var(--ink); }
.sbar .ic { display: flex; gap: 5px; align-items: center; }
.sbar .ic i { display: block; background: var(--ink); border-radius: 1.5px; }
.sbar .ic .sg { width: 11px; height: 9px; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.sbar .ic .wf { width: 11px; height: 9px; clip-path: polygon(50% 100%, 0 25%, 20% 5%, 50% 0, 80% 5%, 100% 25%); }
.sbar .ic .bt { width: 19px; height: 9px; border-radius: 2.5px; position: relative; opacity: .9; }
.sbar .ic .bt::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: var(--paper); border-radius: 1px; }
.stage-phone .screen { min-height: 592px; }
.gpill { position: absolute; left: 50%; bottom: 7px; width: 96px; height: 4px; margin-left: -48px; border-radius: 3px; background: var(--ink); opacity: .55; z-index: 2; }

/* ---------- showcase: an interactive phone with the real app screens ---------- */
.showcase { border-top: 1px solid var(--rule); padding: clamp(48px, 7vw, 96px) 0; background: var(--surface); background: color-mix(in srgb, var(--surface) 55%, var(--paper)); }
.sc-head { max-width: 40em; margin-bottom: clamp(20px, 3vw, 32px); }
.sc-head > * + * { margin-top: 14px; }
.sc-tabs { display: flex; gap: 2px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; border-bottom: 1px solid var(--rule); margin-bottom: clamp(28px, 4vw, 52px); scrollbar-width: none; }
.sc-tabs::-webkit-scrollbar { display: none; }
.sc-tabs button { position: relative; flex: none; font: 600 15px/1 var(--sans); color: var(--grey); background: none; border: 0; padding: 16px 16px 15px; margin-bottom: -1px; cursor: pointer; white-space: nowrap; transition: color .15s; min-height: 48px; -webkit-tap-highlight-color: transparent; }
.sc-tabs button:hover { color: var(--ink); }
.sc-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.sc-tabs button[aria-selected="true"] { color: var(--ink); }
.sc-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.sc-tabs.auto button[aria-selected="true"]::after { transform: scaleX(0); animation: tabfill var(--dur, 5s) linear forwards; }
@keyframes tabfill { to { transform: scaleX(1); } }
.sc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(32px, 8vw, 120px); align-items: center; }
.sc-info > * + * { margin-top: 18px; }
.sc-info h3 { font-size: clamp(38px, 4.6vw, 60px); line-height: 1; }
.sc-info ul { list-style: none; margin: 24px 0 0; padding: 0; border-top: 2px solid var(--ink); max-width: 30em; }
.sc-info li { position: relative; padding: 13px 0 13px 26px; border-bottom: 1px solid var(--rule); color: var(--ink-soft); font-size: 16.5px; }
.sc-info li::before { content: ""; position: absolute; left: 0; top: 25px; width: 10px; height: 2px; background: var(--accent); }
.sc-hint { font-size: 14px; color: var(--grey); }
.sc-stage { display: flex; justify-content: center; }
.sc-stage .phone { width: min(100%, 320px); }
.sc-stage .screen { padding: 0; aspect-ratio: 1170 / 2532; container-type: inline-size; display: block; background: var(--paper); }
.sc-stage .sbar { top: 0; left: 0; right: 0; height: 22px; height: calc(100cqw / 390 * 28); padding: 0 22px; background: var(--paper); z-index: 3; }
.sc-stage .gpill { z-index: 5; }
.viewport { position: absolute; top: 0; left: 0; right: 0; bottom: 88px; bottom: calc(100cqw * 193 / 660); overflow: hidden; }
.pane { position: relative; }
.pane[hidden] { display: none; }
.shot { display: block; width: 100%; height: auto; }
.shot.d, .navbar .nd, .cta .cd { display: none; }
.hot { position: absolute; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 12px; }
.hot.back { top: 4.6%; height: 5.2%; left: 3%; width: 36%; }
.hot:hover { background: color-mix(in srgb, var(--accent) 7%, transparent); }
.cta { position: absolute; left: 0; right: 0; bottom: 88px; bottom: calc(100cqw * 193 / 660); z-index: 2; background: var(--paper); }
.cta[hidden] { display: none; }
.cta img, .navbar img { display: block; width: 100%; height: auto; }
.navbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; }
.navbar[hidden] { display: none; }
.navbar .hit { position: absolute; inset: 0 0 24% 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.navbar .hit button { background: none; border: 0; cursor: pointer; border-radius: 10px; }
.navbar .hit button:focus-visible { outline-offset: -4px; }
:root[data-theme="dark"] .shot.l, :root[data-theme="dark"] .navbar .nl, :root[data-theme="dark"] .cta .cl { display: none; }
:root[data-theme="dark"] .shot.d, :root[data-theme="dark"] .navbar .nd, :root[data-theme="dark"] .cta .cd { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot.l, :root:not([data-theme="light"]) .navbar .nl, :root:not([data-theme="light"]) .cta .cl { display: none; }
  :root:not([data-theme="light"]) .shot.d, :root:not([data-theme="light"]) .navbar .nd, :root:not([data-theme="light"]) .cta .cd { display: block; }
}
@media (max-width: 900px) {
  .sc-tabs { margin-inline: calc(var(--side) * -1); padding-inline: var(--side); scroll-padding-inline: var(--side); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
  .sc-tabs button { scroll-snap-align: start; }
  .sc-wrap { grid-template-columns: 1fr; }
  .sc-stage { order: -1; }
}
.slim { border-top: 1px solid var(--rule); }
.slim .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; font-size: 13px; color: var(--grey); }
.slim a { color: var(--grey); text-decoration: none; margin-left: 8px; padding: 12px; display: inline-block; }
.slim a:first-child { margin-left: 0; }
.slim .wrap > span:last-child { margin-right: -12px; }
.slim a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- form panel ---------- */
.thanks { margin-top: 22px; }
.join[hidden], .thanks[hidden] { display: none; }
.panel-head { font: 600 22px/1.2 var(--serif); }
.field { display: block; }
.field > span, .choices legend { display: block; font: 600 12px/1.2 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; padding: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
input[type=email] { width: 100%; font: 400 18px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; padding: 12px 0; }
input[type=email]::placeholder { color: var(--grey); }
input[type=email]:focus { outline: none; border-bottom-color: var(--accent); }
.choices { display: flex; flex-wrap: wrap; gap: 0 24px; }
.choices legend { flex: 0 0 100%; }
.choice { position: relative; display: inline-block; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 10px 0 7px; color: var(--grey); border-bottom: 2px solid transparent; font-size: 16px; transition: color .15s, border-color .15s; }
.choice input:hover + span { color: var(--ink); }
.choice input:checked + span { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.choices.stack { flex-direction: column; gap: 0; }
.choices.stack .choice span { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); width: 100%; }
.choices.stack .choice input:checked + span { border-bottom: 2px solid var(--accent); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); line-height: 1.5; cursor: pointer; }
.consent input { margin-top: 2px; width: 20px; height: 20px; flex: none; appearance: none; -webkit-appearance: none; background: transparent; border: 1.5px solid var(--grey); border-radius: 2px; cursor: pointer; }
.consent input:checked { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--accent); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; font: 600 16px/1 var(--sans); color: var(--on-accent); background: var(--accent); border: 0; border-radius: 4px; cursor: pointer; width: 100%; text-decoration: none; transition: filter .15s; }
.btn:hover { filter: brightness(1.07); }
.btn[disabled] { opacity: .6; cursor: progress; }
.stack-form > * + * { margin-top: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.4em; font-size: 14px; color: var(--grey); }
.msg.err { color: var(--error); }
.stack-form > .msg:empty { min-height: 0; margin-top: 0; }
.stack-form > .msg:empty + .fine { margin-top: 14px; }
.fine { font-size: 13px; color: var(--grey); text-align: center; line-height: 1.5; }
.thanks > * + *, .survey > * + * { margin-top: 18px; }
.thanks h2 { font-size: clamp(28px, 3.4vw, 38px); }
.thanks + .survey { margin-top: 14px; }

/* ---------- footer ---------- */
.foot { padding: clamp(40px, 6vw, 64px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.foot .mark { display: inline-block; margin-bottom: 12px; }
.foot p { color: var(--grey); font-size: 15px; max-width: 24em; }
.foot h4 { font: 600 12px/1.2 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--grey); margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li + li { margin-top: 8px; }
.foot li a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.foot li a:hover { color: var(--accent); text-decoration: underline; }
.foot .base { padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--grey); }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- legal pages ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) var(--side) 80px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 8px; }
.legal .meta { color: var(--grey); font-size: 15px; margin-bottom: 28px; }
.legal h2 { font-size: 28px; margin: 44px 0 10px; padding-top: 22px; border-top: 1px solid var(--rule); }
.legal p, .legal li { color: var(--ink-soft); }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 14px; }
.legal ul { padding-left: 22px; margin: 14px 0 0; }
.legal li + li { margin-top: 8px; }
.legal b { color: var(--ink); font-weight: 600; }
.back { display: inline-block; padding: 14px 0; font-size: 15px; }

/* 404 */
.lost { min-height: 60vh; display: grid; place-content: center; padding: 64px var(--side); gap: 18px; max-width: 640px; margin: 0 auto; }
.lost h1 { font-size: clamp(48px, 8vw, 96px); }

@media (max-width: 900px) {
  .solo main { align-items: flex-start; }
  .slim .wrap { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .sc-tabs.auto button[aria-selected="true"]::after { animation: none; transform: scaleX(1); } }


/* ================= v8 polish: hierarchy, form, sections ================= */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bar-link { font-size: 15px; color: var(--ink-soft); text-decoration: none; padding: 12px 4px; }
.bar-link:hover { color: var(--ink); }
@media (max-width: 640px) { .bar-link { display: none; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 9px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--surface); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.intro h1 { font-size: clamp(42px, 5.4vw, 68px); line-height: .98; letter-spacing: -.02em; margin-top: 22px; }
.intro h1 em { font-style: italic; color: var(--accent); }
.intro .lede { margin-top: 20px; }
.panel { background: none; border: 0; padding: 0; margin-top: 30px !important; max-width: 540px; }
.join-row { display: flex; gap: 10px; align-items: stretch; }
.join-row .field { flex: 1; min-width: 0; }
.join-row input[type=email] { height: 100%; min-height: 56px; padding: 0 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; font-size: 17px; transition: border-color .15s, box-shadow .15s; }
.join-row input[type=email]:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.join-row .btn { width: auto; flex: none; min-height: 56px; padding: 0 26px; border-radius: 8px; white-space: nowrap; box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); transition: transform .15s, filter .15s; }
.join-row .btn:hover { transform: translateY(-1px); }
.join-row .btn:active { transform: none; }
@media (max-width: 520px) { .join-row { flex-direction: column; } .join-row .btn { width: 100%; } }
.stack-form > * + * { margin-top: 14px; }
.stack-form > .join-row + .seg { margin-top: 16px; }
.seg { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; width: max-content; max-width: 100%; padding: 4px; background: var(--surface); border: 1px solid var(--rule); border-radius: 999px; }
.seg legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.seg .choice span { display: block; padding: 9px 18px; border-radius: 999px; border: 0; font-size: 15px; color: var(--grey); }
.seg .choice input:checked + span { background: var(--ink); color: var(--paper); font-weight: 600; }
.seg .choice input:hover:not(:checked) + span { color: var(--ink); }
.perks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-soft); }
.perks li { position: relative; padding-left: 20px; }
.perks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fine { text-align: left; margin-top: 8px; }
.stack-form > .msg:empty + .perks { margin-top: 18px; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; max-width: 540px; margin: 34px 0 0 !important; padding: 0; border: 0; border-top: 1px solid var(--rule); }
.facts > div { padding: 18px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--rule); }
.facts > div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font: 600 clamp(32px, 3.6vw, 42px)/1 var(--serif); color: var(--ink); letter-spacing: -.01em; }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--grey); line-height: 1.3; }
@media (max-width: 420px) { .facts > div { padding-right: 16px; margin-right: 16px; } .facts dt { font-size: 30px; } }
/* phone: a quiet ring behind it adds depth without glow */
.stage-phone { position: relative; }
.stage-phone::before { content: ""; position: absolute; inset: 8% 4%; border: 1px solid var(--rule); border-radius: 50%; opacity: .7; }
.stage-phone::after { content: ""; position: absolute; inset: 20% 16%; border: 1px solid var(--rule-soft); border-radius: 50%; }
.stage-phone .phone { z-index: 1; }
.phone { transition: transform .4s ease; }
@media (min-width: 901px) and (hover: hover) { .stage-phone .phone:hover { transform: translateY(-4px); } }

/* sections */
.how, .faq, .final { border-top: 1px solid var(--rule); padding: clamp(56px, 8vw, 104px) 0; }
.how h2, .faq h2 { margin-top: 14px; }
.steps { list-style: none; margin: clamp(32px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: s; }
.steps li { border-top: 2px solid var(--ink); padding-top: 22px; }
.steps .num { display: block; font: 600 56px/1 var(--serif); color: var(--accent); margin-bottom: 18px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--ink-soft); max-width: 26em; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps .num { font-size: 44px; margin-bottom: 10px; } }
.faq { background: color-mix(in srgb, var(--surface) 55%, var(--paper)); }
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
@media (max-width: 800px) { .faq-in { grid-template-columns: 1fr; } }
.qa { border-top: 2px solid var(--ink); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; min-height: 56px; font: 600 22px/1.2 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font: 400 28px/1 var(--sans); color: var(--accent); transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--accent); }
.qa details p { padding: 0 0 22px; color: var(--ink-soft); max-width: 38em; }
.final-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.final-in > * + * { margin-top: 18px; }
.final-in h2 { font-size: clamp(36px, 5.4vw, 64px); }
.final-in .lede { margin-inline: auto; }
.final .stack-form { width: 100%; max-width: 540px; margin-top: 26px; text-align: left; }
.final .seg { margin-inline: auto; }
.final .thanks { margin-top: 26px; }


/* ================= v9 motion =================
   Rules: transform + opacity only; ease-out expo for entrances; 150-250 ms for feedback, 600-700 ms for reveals;
   siblings stagger 70 ms; reduced motion keeps fades, drops movement. */
:root { --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); }

/* hero entrance (CSS only, plays once on load) */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes phonein { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes ringin { from { opacity: 0; transform: scale(.88); } to { opacity: .7; transform: none; } }
.intro > * { animation: rise .8s var(--ease) both; }
.intro > :nth-child(1) { animation-delay: .05s; }
.intro > :nth-child(2) { animation-delay: .13s; }
.intro > :nth-child(3) { animation-delay: .22s; }
.intro > :nth-child(4) { animation-delay: .31s; }
.intro > :nth-child(5) { animation-delay: .40s; }
.stage-phone .phone { animation: phonein 1s var(--ease) .2s both; }
.stage-phone::before { animation: ringin 1.2s var(--ease) .1s both; }
.stage-phone::after { animation: ringin 1.2s var(--ease) .25s both; }
.phone { transition: transform .5s var(--ease); }
/* the phone keeps its entrance animation's end state; hover lift goes on the wrapper instead */
@media (min-width: 901px) and (hover: hover) { .stage-phone .phone:hover { transform: none; } .stage-phone:hover .phone { translate: 0 -4px; } }
.stage-phone .phone { transition: translate .5s var(--ease); }

/* scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="stagger"] { opacity: 1; transform: none; transition: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal="stagger"].in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > :nth-child(2) { transition-delay: .08s; }
.js [data-reveal="stagger"] > :nth-child(3) { transition-delay: .16s; }
.js [data-reveal="stagger"] > :nth-child(4) { transition-delay: .24s; }

/* feedback: quick, small */
.btn { transition: transform .2s var(--ease), filter .2s, box-shadow .2s; }
.join-row .btn:hover { box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn:active, .join-row .btn:active { transform: scale(.98); }
.seg .choice span { transition: color .2s, background-color .25s var(--ease); }
.steps li { transition: transform .35s var(--ease); }
@media (hover: hover) { .steps li:hover { transform: translateY(-4px); } }
.qa summary::after { transition: transform .3s var(--ease); }
@keyframes fold { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.qa details[open] p { animation: fold .35s var(--ease); }
.sc-tabs button { transition: color .2s; }
.sc-tabs button::after { transition: transform .35s var(--ease); }
.pane:not([hidden]) { animation: rise .45s var(--ease) both; }
.bar-link { position: relative; }
.bar-link::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 7px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.bar-link:hover::after { transform: scaleX(1); }

/* reduced motion: keep gentle fades, remove movement */
@media (prefers-reduced-motion: reduce) {
  .intro > *, .stage-phone .phone, .stage-phone::before, .stage-phone::after, .pane:not([hidden]), .qa details[open] p { animation: fade .4s ease both !important; }
  .js [data-reveal], .js [data-reveal="stagger"] > * { transform: none !important; transition: opacity .4s ease !important; transition-delay: 0s !important; }
  .steps li:hover, .stage-phone:hover .phone { transform: none !important; translate: none !important; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }


/* ================= v10: sticky header + responsive/adaptive fit ================= */
html, body { overflow-x: clip; }
body { min-width: 320px; }

/* top header: always sticky; compacts + frosts on scroll; thin progress line */
.bar { position: sticky; top: 0; z-index: 50; transition: background-color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; padding-top: env(safe-area-inset-top); }
.bar-in { transition: min-height .3s var(--ease); }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; transition: opacity .25s; pointer-events: none; }
.bar.scrolled { background: color-mix(in srgb, var(--paper) 78%, transparent); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom-color: color-mix(in srgb, var(--rule) 70%, transparent); box-shadow: 0 10px 30px -18px rgba(0,0,0,.45); }
.bar.scrolled::after { opacity: 1; }
.bar.scrolled .bar-in { min-height: 56px; }
.bar.scrolled .mark { font-size: 20px; }
.mark { transition: font-size .3s var(--ease), letter-spacing .3s var(--ease); }
.mark:hover { letter-spacing: .09em; }
.theme-btn { border-radius: 999px; padding: 10px 16px; transition: color .2s, border-color .2s, background-color .2s, transform .2s var(--ease); }
.theme-btn:hover { background: var(--surface); }
.theme-btn:active { transform: scale(.96); }
@media (max-width: 480px) { .theme-btn .theme-label { display: none; } .theme-btn { padding: 10px 12px; } }
html { scroll-padding-top: 76px; }

/* hero fits the window instead of getting cut: the sections scale with the viewport */
.solo main { min-height: calc(100dvh - 68px); }
.stage-phone { min-width: 0; }
.phone { max-width: 100%; }
@media (min-width: 901px) and (max-height: 900px) {
  .split { padding-block: 20px; gap: clamp(28px, 5vw, 72px); }
  .intro h1 { font-size: clamp(38px, min(5vw, 8.2vh), 62px); margin-top: 16px; }
  .intro .lede { margin-top: 14px; font-size: 18px; }
  .panel { margin-top: 22px !important; }
  .facts { margin-top: 24px !important; }
  .stage-phone { zoom: .88; }
}
@media (min-width: 901px) and (max-height: 780px) { .stage-phone { zoom: .76; } .facts > div { padding-top: 12px; } }
@media (min-width: 901px) and (max-height: 660px) { .stage-phone { zoom: .62; } .facts { display: none; } }
@media (max-width: 900px) {
  .solo main { min-height: 0; align-items: flex-start; }
  .split { gap: 36px; }
  .stage-phone { margin-inline: auto; }
  .stage-phone::before, .stage-phone::after { display: none; }
}
@media (max-width: 380px) {
  :root { --side: 16px; }
  .intro h1 { font-size: 36px; }
  .seg .choice span { padding: 9px 13px; }
  .facts > div { padding-right: 12px; margin-right: 12px; }
}
@media (max-width: 640px) {
  .slim .wrap { justify-content: flex-start; }
}
/* very wide screens: let the layout breathe */
@media (min-width: 1500px) { :root { --max: 1240px; } }

/* ---------- survey chips (after joining) ---------- */
.survey-form { margin-top: 22px; display: grid; gap: 18px; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { flex: 0 0 100%; font: 600 12px/1.2 var(--sans); letter-spacing: .13em; text-transform: uppercase; color: var(--grey); margin-bottom: 8px; padding: 0; }
.chip { position: relative; display: inline-block; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 15px; color: var(--ink-soft); transition: color .15s, border-color .15s, background .15s; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--on-accent); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }

/* phone keeps one fixed width: the rest timer screen has less content, which used to shrink the phone on narrow screens */
.stage-phone { width: 100%; }
.stage-phone .phone { width: 320px; max-width: 100%; flex: 0 0 auto; }
.stage-phone .screen { width: 100%; }
