#max-waitlist { scroll-margin-top:110px; }
.waitlist-audience { grid-column:1/-1; font-size:14px; line-height:1.5; }
.waitlist-audience[hidden] { display:none; }
.waitlist-audience p { margin:0; }
.waitlist-audience strong { color:var(--ink,#eaf1ff); font-variant-numeric:tabular-nums; }
.waitlist-audience-caption { color:var(--ink-2,#a9b8d6); font-size:13px; margin-top:4px !important; }
.film-copy > .waitlist-audience { margin-top:-8px; }
.waitlist-card { border:1px solid var(--line,#24334c); padding:clamp(24px,4vw,48px); border-radius:18px; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; background:var(--surface,#0c1426); }
.waitlist-card h2 { margin:16px 0 24px; font-size:clamp(1.7rem,3vw,2.6rem); line-height:1.12; }
.waitlist-form { min-width:0; display:flex; flex-direction:column; gap:14px; }
.waitlist-form input[type=email] { width:100%; min-height:48px; border:1px solid var(--line,#344563); border-radius:8px; padding:12px; background:#060b18; color:#eaf1ff; font:inherit; box-sizing:border-box; }
.waitlist-consent { display:flex; gap:12px; align-items:flex-start; font-size:.95rem; line-height:1.5; }
.waitlist-consent input { width:20px; height:20px; flex-shrink:0; margin:2px 0 0; accent-color:#4c8dff; }
.waitlist-form :focus-visible,.waitlist-reply :focus-visible { outline:3px solid #91bcff; outline-offset:4px; }
.waitlist-form button:disabled { opacity:.65; cursor:wait; }
.waitlist-honey { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.waitlist-status { min-height:3em; margin:0; overflow-wrap:anywhere; }
.waitlist-status[data-error=true] { color:#ffbdad; }
.waitlist-reply { max-width:650px; margin:clamp(32px,8vw,100px) auto; padding:24px; font:1.1rem/1.65 system-ui,sans-serif; color:#eaf1ff; background:#0c1426; border:1px solid #344563; border-radius:16px; }
html:has(.waitlist-reply) { background:#060b18; }
.waitlist-reply a { color:#91bcff; }
.waitlist-reply h1 { font-size:clamp(1.6rem,5vw,2.2rem); line-height:1.2; }
.waitlist-reply button { padding:12px 20px; font:inherit; background:#2563eb; color:#eaf1ff; border:1px solid #91bcff; border-radius:8px; cursor:pointer; }
@media(max-width:760px) { .waitlist-card { grid-template-columns:minmax(0,1fr); gap:24px; } }

.waitlist-form input[type=text] { width:100%; min-height:48px; border:1px solid var(--line,#344563); border-radius:8px; padding:12px; background:#060b18; color:#eaf1ff; font:inherit; box-sizing:border-box; }
.claim-code { display:flex; flex-direction:column; gap:10px; }
.claim-key { display:block; overflow-wrap:anywhere; padding:12px; border:1px solid var(--line,#344563); border-radius:8px; background:#060b18; color:#eaf1ff; }

.signin-providers { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.signin-or { width:100%; margin:8px 0 0; }
.signin-row { display:flex; flex-wrap:wrap; gap:10px; }
.account-list { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.account-list:empty { display:none; }
.account-list li { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; border:1px solid var(--line,#344563); border-radius:8px; padding:10px 12px; overflow-wrap:anywhere; }
.recovery-codes { margin:0; padding-left:1.6em; font-family:var(--mono,ui-monospace,monospace); display:grid; gap:4px; }
.waitlist-form input[name=totp],.waitlist-form input[name=recovery],.waitlist-form input[name=current] { width:100%; min-height:48px; border:1px solid var(--line,#344563); border-radius:8px; padding:12px; background:#060b18; color:#eaf1ff; font:inherit; box-sizing:border-box; }

.checkout-email { display:flex; flex-direction:column; gap:8px; margin-bottom:12px; }
.checkout-email[hidden] { display:none; }
.checkout-email input { width:100%; min-height:48px; border:1px solid var(--line,#344563); border-radius:8px; padding:12px; background:#060b18; color:#eaf1ff; font:inherit; box-sizing:border-box; }
.checkout-email input[aria-invalid=true] { border-color:#ffbdad; }
.checkout-email input:focus-visible { outline:3px solid #91bcff; outline-offset:4px; }
.checkout-platform { margin:0 0 4px; padding:0; border:0; min-width:0; }
.checkout-platform legend { margin-bottom:8px; padding:0; }
/* A two-way switch: the lit thumb slides to the picked computer, and its icon pops in. */
.checkout-platform-track { position:relative; isolation:isolate; display:grid; grid-template-columns:1fr 1fr; width:min(100%, 320px); padding:4px; border:1px solid var(--hairline); border-radius:12px; background:var(--ground); }
.checkout-platform-track::before { content:""; position:absolute; z-index:-1; top:4px; bottom:4px; left:4px; width:calc(50% - 4px); border:1px solid var(--atlo); border-radius:9px; background:color-mix(in srgb, var(--atlo) 22%, transparent); box-shadow:0 0 28px -8px var(--atlo); transition:transform .55s var(--ease-expo); }
.checkout-platform-track:has(input[value=macos]:checked)::before { transform:translateX(100%); }
/* A third choice, Linux, appears once a signed Linux download exists. */
.checkout-platform-track:has(input[value=linux]) { grid-template-columns:repeat(3, minmax(0, 1fr)); width:min(100%, 420px); }
.checkout-platform-track:has(input[value=linux]) label > span { padding:10px 6px; gap:6px; }
/* Three choices on a narrow phone: the names alone, so Windows still fits its third. */
@media (max-width:400px) { .checkout-platform-track:has(input[value=linux]) .checkout-platform-icon { display:none; } }
.checkout-platform-track:has(input[value=linux])::before { width:calc((100% - 8px) / 3); }
.checkout-platform-track:has(input[value=linux]:checked)::before { transform:translateX(200%); }
.checkout-platform label { position:relative; cursor:pointer; }
.checkout-platform input { position:absolute; opacity:0; width:1px; height:1px; }
.checkout-platform label > span { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 14px; border-radius:9px; color:var(--ink-2); font:500 14px/1 var(--mono); transition:color .3s; }
.checkout-platform label:hover > span { color:var(--ink); }
.checkout-platform input:checked + span { color:var(--ink); }
.checkout-platform-icon { display:inline-block; flex:none; color:var(--wm-1); }
.checkout-platform-key { font-size:16px; line-height:1; }
.checkout-platform input:checked + span .checkout-platform-icon { animation:platform-pop .5s var(--ease-expo); }
.checkout-platform input:focus-visible + span { outline:3px solid #91bcff; outline-offset:2px; }
@keyframes platform-pop { from { transform:scale(.5) rotate(-14deg); opacity:.3; } to { transform:none; opacity:1; } }
@supports not selector(:has(*)) {
  .checkout-platform-track::before { display:none; }
  .checkout-platform input:checked + span { background:color-mix(in srgb, var(--atlo) 22%, transparent); box-shadow:inset 0 0 0 1px var(--atlo); }
}
@media (prefers-reduced-motion: reduce) {
  .checkout-platform-track::before { transition:none; }
  .checkout-platform input:checked + span .checkout-platform-icon { animation:none; }
}

/* Sign-in screens (Gev, 2026-11-29: "it shouldn't look like the landing page"). One quiet, centred card on a plain
   ground: no display hero, no grain or landing glow, text-sized headings, the form full width, the other ways in
   under a rule. The data-* hooks are the ones account.js and the tests use, so only the look changed. */
.page-auth .grain { display: none; }
.page-auth main { min-height: calc(100vh - 160px); display: grid; align-content: start; padding: clamp(124px, 17vh, 170px) 20px clamp(48px, 8vh, 80px); }
.auth-shell { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-card { border: 1px solid var(--line, #24334c); border-radius: 16px; background: var(--surface, #0c1426); padding: clamp(24px, 5vw, 36px); display: grid; gap: 22px; box-shadow: 0 24px 60px rgba(2, 6, 18, 0.45); }
.auth-intro { display: grid; justify-items: center; text-align: center; gap: 8px; }
.auth-mascot { width: 44px; height: 44px; image-rendering: pixelated; margin-bottom: 4px; }
.auth-title { margin: 0; font: 600 clamp(1.35rem, 3.6vw, 1.6rem)/1.2 var(--text); letter-spacing: -0.01em; color: var(--ink, #eaf1ff); }
.auth-sub { margin: 0; color: var(--ink-2, #a9b8d6); font-size: 0.95rem; line-height: 1.5; max-width: 32ch; }
.auth-body { display: grid; gap: 14px; }
.auth-body .waitlist-form { gap: 12px; }
.auth-body label { font-size: 0.9rem; color: var(--ink-2, #a9b8d6); }
.auth-body .button { width: 100%; justify-content: center; }
.auth-body .signin-row .button { width: auto; flex: 1 1 150px; }
.auth-body .signin-providers { display: grid; gap: 10px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line, #24334c); }
.auth-body .signin-or { margin: 0; text-align: center; font-size: 0.85rem; color: var(--ink-2, #a9b8d6); }
.auth-body .waitlist-status { margin: 0; font-size: 0.92rem; line-height: 1.5; }
.auth-body .waitlist-status:empty { display: none; }
.auth-body .waitlist-status[data-error=true] { color: #ff9a9a; }
.auth-foot { margin: 0; padding-top: 16px; border-top: 1px solid var(--line, #24334c); text-align: center; font-size: 0.85rem; line-height: 1.55; color: var(--ink-2, #a9b8d6); }
.auth-foot a { color: var(--wm-1, #91bcff); }

/* Sign-in providers: the GitHub mark beside its name. */
.provider-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.provider-logo, .provider-logo svg { width: 18px; height: 18px; flex: none; display: inline-block; }
.provider-logo--github { color: var(--ink, #eaf1ff); }

/* Account-type pages (Gev, 2026-11-29: "anything that should have a different UI than the landing page"): the account,
   download, thanks and feedback pages read like an app's settings, not a landing page. A compact title in the text
   font, no display hero or grain, one column of quiet panels with a text-sized heading on the left and the controls on
   the right, and less space between them. The markup and its data-* hooks are unchanged. */
.page-app .grain { display: none; }
.page-app main { max-width: 980px; margin: 0 auto; padding: 0 20px clamp(48px, 8vh, 96px); }
.page-app .page-head { padding: clamp(112px, 15vh, 150px) 0 20px; max-width: none; }
.page-app .page-head .kicker { margin-bottom: 8px; }
.page-app .page-head h1, .page-app .page-head h1.display { font: 600 clamp(1.6rem, 3.2vw, 2.1rem)/1.2 var(--text); letter-spacing: -0.01em; max-width: none; margin: 0 0 10px; }
.page-app .page-head h1 .accent { color: inherit; }
.page-app .page-head .lede { font-size: 1rem; max-width: 62ch; margin: 0; }
.page-app .page-block { padding-block: 0; margin-block: 0 14px; max-width: none; }
.page-app .wrap { padding-inline: 0; max-width: none; }
.page-app .waitlist-card { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 24px 36px; padding: clamp(18px, 3vw, 26px); border-radius: 12px; }
.page-app .waitlist-card h2, .page-app .section-title, .page-app h2.display { font: 600 1.15rem/1.3 var(--text); letter-spacing: 0; max-width: none; margin: 0 0 8px; }
.page-app .waitlist-card p { font-size: 0.95rem; line-height: 1.55; color: var(--ink-2, #a9b8d6); }
.page-app .waitlist-card strong { color: var(--ink, #eaf1ff); }
.page-app .waitlist-form { gap: 10px; }
.page-app .waitlist-form .button { align-self: flex-start; }
.page-app .prose { padding: clamp(18px, 3vw, 26px); border: 1px dashed var(--line, #24334c); border-radius: 12px; margin-top: 8px; }
.page-app .prose .section-title { margin-top: 0; }
@media (max-width: 760px) { .page-app .waitlist-card { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* The Founder Edition links on the account and download pages, for founder accounts only. */
.founder-downloads { display: grid; gap: 8px; margin-top: 8px; padding: 14px; border: 1px solid color-mix(in srgb, #ffb45e 45%, transparent); border-radius: 10px; background: color-mix(in srgb, #ffb45e 7%, transparent); }
.founder-downloads[hidden] { display: none; }
.founder-downloads-title { margin: 0; font-weight: 600; color: var(--ink, #eaf1ff); }
.founder-downloads-note { margin: 0; font-size: 0.9rem; }
.founder-downloads [hidden] { display: none; }
