/* cr-engine website. Light Table, the app's design language since
 * November 2026 (docs/design/2026-11-redesign.md): the page is a lit table
 * and the crew's renders lie on it like prints.  Daylight is the Light
 * Table, dark is the Darkroom.
 *
 * Kept exactly from the app: the palette (ink, the pale blue-grey ground,
 * buoy orange for what is live, the status keys) and the five-dot mark.
 *
 * The rules (founder, 22 Nov): no boxes.  No rounded card around text, no
 * card in a card, no pills.  Sections are ruled bands; state is said in
 * words; secondary actions are underlined words and there is one ink
 * primary.  Radii: 2 px on prints, 4 px on controls, none on anything
 * else.  Motion is sprung (sampled damped springs in linear()) and stops
 * under reduced motion. */

@font-face {
    font-family: "Hanken Grotesk";
    src: url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations"),
         url("/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Fragment Mono";
    src: url("/fonts/fragment-mono-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ── tokens: the Light Table ───────────────────────────────────────── */
:root {
    color-scheme: light;

    --ink:   #0d1620;
    --ink-2: #485564;
    --ink-3: #5f6b78;
    --ink-4: #98a2ad;
    --on-ink: #ffffff;
    --ink-hover: #1d2a37;

    --line:        rgba(13, 22, 32, .10);
    --line-strong: rgba(13, 22, 32, .18);
    --rule:        rgba(13, 22, 32, .78);

    /* the table and what lies on it */
    --table: #e4ecf1;
    --page: var(--table);
    --table-glow: radial-gradient(1400px 800px at 15% -10%, #f3f7fa 0%, transparent 60%),
                  radial-gradient(1000px 700px at 110% 110%, #dae5ec 0%, transparent 60%);
    --mat:   #ffffff;
    --card:  #ffffff;          /* fields, and the card form's own surface (js/billing.js) */
    --field: rgba(255, 255, 255, .8);
    --tint:   rgba(13, 22, 32, .045);
    --tint-2: rgba(13, 22, 32, .08);
    --scrim:  rgba(10, 16, 22, .82);
    /* the header's frost: matches <meta name="theme-color"> (#e4ecf1) */
    --bar-glass: rgba(228, 236, 241, .86);
    --bar-glass-up: rgba(228, 236, 241, .95);
    --photo-bg: #c9d3da;
    --slate: rgba(8, 12, 17, .66);

    --buoy:      #ff5b2e;
    --buoy-ink:  #b8391a;
    --buoy-soft: rgba(255, 91, 46, .12);

    --pass:  #1f9e74;
    --pass-ink: #12704f;
    --pass-soft: rgba(31, 158, 116, .10);
    --back:  #d9821c;
    --back-ink: #a35a10;
    --back-soft: rgba(217, 130, 28, .10);
    --built: #5d7ea6;
    --review: #7a63b8;
    --stop:  #d93b3b;
    --stop-ink: #b42323;
    --stop-soft: rgba(217, 59, 59, .08);

    /* depth: prints only */
    --e1: 0 1px 2px rgba(13, 22, 32, .07), 0 6px 18px -12px rgba(13, 22, 32, .30);
    --e2: 0 2px 4px rgba(13, 22, 32, .05), 0 22px 44px -22px rgba(13, 30, 45, .48);
    --e4: 0 40px 90px -30px rgba(0, 0, 0, .6);

    --sans: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
    --mono: "Fragment Mono", ui-monospace, Consolas, monospace;

    /* shape: two radii, and none on anything else */
    --r-print: 2px;
    --r-control: 4px;

    /* the spacing scale */
    --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
    --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

    --edge: clamp(16px, 4vw, 56px);                          /* page edge to text */
    --band: clamp(56px, 8vw, 128px);                         /* a ruled band's height above and below */
    --head-gap: clamp(var(--s-6), 4vw, 56px);
    --col-gap: clamp(var(--s-5), 3.4vw, 56px);
    --stack: var(--s-4);
    --measure: 66ch;
    --measure-sub: 56ch;
    --max: 1280px;
    --bar-h: 64px;

    /* motion: the app's numbers (shell tokens) */
    --d-press: 90ms; --d-fast: 140ms; --d-base: 220ms; --d-move: 320ms;
    --d-land: 520ms; --d-develop: 640ms; --d-exit: 140ms;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --spring-snap: linear(0, .127, .389, .657, .867, 1, 1.066, 1.084, 1.073, 1.051, 1.029, 1.011, 1, .994, .993, .994, .996, .998, .999, 1);
    --spring-land: linear(0, .105, .344, .62, .864, 1.042, 1.144, 1.179, 1.166, 1.125, 1.076, 1.031, .997, .976, .968, .97, .976, .985, .993, 1, 1.004, 1.006, 1.005, 1.003, 1.001, 1);
    --spring-soft: linear(0, .062, .2, .362, .519, .656, .766, .85, .911, .953, .98, .997, 1.006, 1.01, 1.011, 1.009, 1.005, 1.002, 1);
    --press: .96;
    --lift: -3px;
}

/* ── tokens: the Darkroom, the same roles with the lights down ─────── */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: dark;
        --ink:   #edf2f6;
        --ink-2: #b3bdc7;
        --ink-3: #95a0ab;
        --ink-4: #6f7984;
        --on-ink: #0d1620;
        --ink-hover: #ffffff;

        --line:        rgba(255, 255, 255, .09);
        --line-strong: rgba(255, 255, 255, .17);
        --rule:        rgba(237, 242, 246, .7);

        --table: #0e141b;
        --table-glow: radial-gradient(1400px 800px at 15% -10%, #17212b 0%, transparent 60%),
                      radial-gradient(1000px 700px at 110% 110%, #121a23 0%, transparent 60%);
        --mat:   #1b232d;
        --card:  #161d25;
        --field: rgba(0, 0, 0, .24);
        --tint:   rgba(255, 255, 255, .05);
        --tint-2: rgba(255, 255, 255, .09);
        --scrim:  rgba(4, 7, 10, .9);
        --bar-glass: rgba(14, 20, 27, .86);
        --bar-glass-up: rgba(14, 20, 27, .95);
        --photo-bg: #1a222b;

        --buoy:      #ff6b42;
        --buoy-ink:  #ff8a68;
        --buoy-soft: rgba(255, 107, 66, .15);

        --pass:  #4cc196;
        --pass-ink: #6fd6ae;
        --pass-soft: rgba(76, 193, 150, .12);
        --back:  #eba04a;
        --back-ink: #f0b46e;
        --back-soft: rgba(235, 160, 74, .10);
        --built: #8aa6c8;
        --review: #a891e0;
        --stop:  #f06a6a;
        --stop-ink: #ff9a9a;
        --stop-soft: rgba(240, 106, 106, .10);

        --e1: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 6px 18px -10px rgba(0, 0, 0, .7);
        --e2: 0 24px 48px -20px rgba(0, 0, 0, .85);
    }
}

/* Reduced motion: every duration to nought, the springs flat; pictures
 * still arrive, as a short fade. */
@media (prefers-reduced-motion: reduce) {
    :root {
        --d-press: 0ms; --d-fast: 0ms; --d-base: 0ms; --d-move: 0ms; --d-land: 0ms; --d-develop: 120ms; --d-exit: 0ms;
        --spring-snap: linear(0, 1); --spring-land: linear(0, 1); --spring-soft: linear(0, 1);
        --press: 1; --lift: 0px;
    }
}

/* ── base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
/* the hidden attribute always wins over a component's display */
[hidden] { display: none !important; }
html {
    background: var(--table); -webkit-text-size-adjust: 100%; scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bar-h) + env(safe-area-inset-top, 0px) + var(--s-4));
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body, h1, h2, h3, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

body {
    min-height: 100dvh;
    display: flex; flex-direction: column;
    background: var(--table-glow), var(--table);
    color: var(--ink);
    font: 400 17px/1.62 var(--sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
::selection { background: var(--buoy-soft); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--buoy); outline-offset: 3px; border-radius: 2px; }
.mono { font-family: var(--mono); font-feature-settings: normal; letter-spacing: -.01em; }

.skip {
    position: absolute; left: var(--s-3); top: -60px; z-index: 100;
    padding: var(--s-3) var(--s-4); border-radius: var(--r-control);
    background: var(--ink); color: var(--on-ink); text-decoration: none; font-weight: 600;
}
.skip:focus { top: var(--s-3); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── type ───────────────────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 640; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(42px, 7vw, 104px); line-height: .96; letter-spacing: -.045em; font-weight: 650; }
h2 { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.038em; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -.018em; font-weight: 620; }
h2.h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.028em; }
p, li, dd { text-wrap: pretty; }

/* A section's label, the app's Settings head: a mono number, then the
 * name in small capitals.  Numbered down the page by a counter. */
main { counter-reset: sec; }
.eyebrow {
    display: flex; align-items: baseline; gap: var(--s-3);
    font-size: 12px; line-height: 1.4; font-weight: 620; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
    counter-increment: sec;
}
.eyebrow::before {
    content: counter(sec, decimal-leading-zero);
    font: 400 12px/1.4 var(--mono); letter-spacing: 0; color: var(--ink-4);
}
.page-head .eyebrow, .access--head .eyebrow, .sub-head .eyebrow { counter-increment: none; }
.page-head .eyebrow::before, .access--head .eyebrow::before, .sub-head .eyebrow::before { content: none; }
.lede { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--ink-2); max-width: var(--measure-sub); }
.lede a, .text-link {
    color: var(--ink); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 1px;
    text-decoration-color: var(--line-strong); transition: text-decoration-color var(--d-fast) var(--ease);
}
.lede a:hover, .text-link:hover { text-decoration-color: currentColor; }

/* ── the header: words on the table, frosted as the page moves under it ── */
.bar {
    position: sticky; top: 0; z-index: 20;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-4);
    width: 100%;
    min-height: calc(var(--bar-h) + env(safe-area-inset-top, 0px));
    /* Under the status bar and Dynamic Island on a phone (viewport-fit=cover):
     * the frost runs to the top edge, the contents sit below the notch. */
    padding: env(safe-area-inset-top, 0px) max(var(--edge), env(safe-area-inset-right, 0px)) 0 max(var(--edge), env(safe-area-inset-left, 0px));
}
.bar::before {
    /* Frosted and nearly opaque, edge to edge, so nothing scrolling under the
     * header shows through it (founder 2026-11-16).  One hairline under it,
     * as in the app's title bar. */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--bar-glass);
    backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    transition: background var(--d-move) var(--ease);
}
.bar[data-scrolled]::before { background: var(--bar-glass-up); }
.wordmark {
    display: inline-flex; align-items: center; gap: 6px; justify-self: start;
    font-size: 20px; font-weight: 650; letter-spacing: -.035em; line-height: 1;
    text-decoration: none; color: var(--ink);
    padding: var(--s-2) 0;
}
.mark { width: 15px; height: 15px; flex: none; fill: var(--ink); overflow: visible; }
.mark__head { fill: var(--buoy); }
.mark circle { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
    .wordmark:hover .mark circle { animation: crewWalk 1.2s var(--ease) 1; }
    .wordmark:hover .mark circle:nth-child(2) { animation-delay: .12s; }
    .wordmark:hover .mark circle:nth-child(3) { animation-delay: .24s; }
    .wordmark:hover .mark circle:nth-child(4) { animation-delay: .36s; }
    .wordmark:hover .mark circle:nth-child(5) { animation-delay: .48s; }
}

/* the screens as words with an underline under the one you are on; the
 * underline slides between pages (a view transition, below) */
.pill { display: flex; align-self: stretch; gap: clamp(var(--s-4), 2.2vw, var(--s-6)); }
.pill a {
    position: relative; display: flex; align-items: center;
    font-size: 15px; font-weight: 520; color: var(--ink-3); text-decoration: none; white-space: nowrap;
    transition: color var(--d-fast) var(--ease);
}
.pill a:hover { color: var(--ink); }
.pill a[aria-current] { color: var(--ink); font-weight: 620; }
.pill a[aria-current]::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink);
    view-transition-name: nav-line;
}

.bar__end { justify-self: end; display: flex; align-items: center; gap: var(--s-4); }
.bar__link {
    font-size: 15px; font-weight: 560; color: var(--ink-2); text-decoration: none; white-space: nowrap;
    padding: var(--s-2) 0; transition: color var(--d-fast) var(--ease);
}
.bar__link:hover, .bar__link[aria-current] { color: var(--ink); }
.bar .menu-btn { display: none; }

.menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
    display: grid; padding: var(--s-2) var(--edge) var(--s-5);
    max-height: calc(100dvh - var(--bar-h) - env(safe-area-inset-top, 0px)); overflow-y: auto; overscroll-behavior: contain;
    background: var(--table); border-bottom: 1px solid var(--line-strong);
    box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .35);
    transform-origin: top center;
}
.menu a {
    display: flex; align-items: center; min-height: 54px;
    font-size: 22px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); text-decoration: none;
    border-bottom: 1px solid var(--line);
}
.menu a[aria-current] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.menu a.menu__cta { justify-content: center; margin-top: var(--s-4); border-bottom: 0; color: var(--on-ink); font-size: 17px; letter-spacing: 0; }
.menu hr { border: 0; margin: var(--s-2) 0; }
/* Opening springs down; closing is quicker and plain.  js/site.js sets
 * data-open a frame after un-hiding, and hides it once closing ends. */
@media (prefers-reduced-motion: no-preference) {
    .menu { opacity: 0; transform: translateY(-10px); transition: opacity var(--d-exit) var(--ease), transform var(--d-exit) var(--ease); }
    .menu[data-open] { opacity: 1; transform: none; transition: opacity var(--d-base) var(--ease), transform var(--d-land) var(--spring-land); }
    .menu > * { opacity: 0; transform: translateY(-6px); transition: opacity 100ms var(--ease), transform 100ms var(--ease); }
    .menu[data-open] > * { opacity: 1; transform: none; transition: opacity var(--d-base) var(--ease), transform var(--d-land) var(--spring-land); }
    .menu[data-open] > :nth-child(2) { transition-delay: 25ms; }
    .menu[data-open] > :nth-child(3) { transition-delay: 50ms; }
    .menu[data-open] > :nth-child(4) { transition-delay: 75ms; }
    .menu[data-open] > :nth-child(5) { transition-delay: 100ms; }
    .menu[data-open] > :nth-child(n+6) { transition-delay: 125ms; }
}
/* the three lines fold into a cross while the menu is open */
.menu-btn svg path { transform-box: fill-box; transform-origin: center; transition: transform var(--d-land) var(--spring-land), opacity var(--d-fast) var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn__l1 { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__l2 { opacity: 0; transform: scaleX(.2); }
.menu-btn[aria-expanded="true"] .menu-btn__l3 { transform: translateY(-3.5px) rotate(-45deg); }

/* ── buttons: one ink primary; everything else is an underlined word ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
    min-height: 44px; padding: 0; white-space: nowrap;
    border: 0; border-radius: var(--r-control); background: none; color: var(--ink);
    font-size: 15.5px; font-weight: 620; line-height: 1.2;
    text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
    text-decoration-color: var(--line-strong);
    transition: text-decoration-color var(--d-fast) var(--ease), background var(--d-fast) var(--ease),
                opacity var(--d-fast) var(--ease), transform var(--d-move) var(--spring-snap);
}
.btn:hover { text-decoration-color: currentColor; }
/* the press moves in the frame it happens, and springs back */
.btn:active, .iconbtn:active, .stepper__btn:active:not([disabled]) { transform: scale(var(--press)); transition-duration: var(--d-press); }
.btn--ink {
    padding: 0 var(--s-5); background: var(--ink); color: var(--on-ink); text-decoration: none;
}
.btn--ink:hover { background: var(--ink-hover); }
.btn--sm { min-height: 36px; font-size: 14.5px; }
.btn--ink.btn--sm, .btn--danger.btn--sm { padding: 0 var(--s-3); }
.btn--quiet { color: var(--ink-2); text-decoration-color: transparent; }
.btn--quiet:hover { color: var(--ink); text-decoration-color: currentColor; }
.btn--lg { min-height: 52px; font-size: 16.5px; }
.btn--ink.btn--lg { padding: 0 28px; }
.btn--block { width: 100%; }
.btn--danger { padding: 0 var(--s-4); background: var(--stop); color: #fff; text-decoration: none; }
.btn--danger:hover { opacity: .88; }
.btn[disabled] { opacity: .55; cursor: progress; transform: none; }
.btn[aria-busy="true"] { opacity: .86; cursor: progress; transform: none; }
.btn[disabled]:not([aria-busy]) { cursor: not-allowed; }

.iconbtn {
    display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
    border-radius: var(--r-control); border: 1px solid var(--line-strong); background: transparent; color: var(--ink);
    transition: border-color var(--d-fast) var(--ease), background var(--d-fast) var(--ease), opacity var(--d-fast) var(--ease), transform var(--d-move) var(--spring-snap);
}
.iconbtn:hover { border-color: var(--ink); }
.iconbtn[disabled] { opacity: .35; cursor: not-allowed; }
.iconbtn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* state in words, with the live dot */
.status-chip { display: inline-flex; align-items: center; gap: var(--s-2); width: fit-content; font-size: 14.5px; font-weight: 560; color: var(--ink-2); }
.state__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--buoy); box-shadow: 0 0 0 3px var(--buoy-soft); flex: none; }
@media (prefers-reduced-motion: no-preference) {
    .state__dot { animation: breathe 2.4s ease-in-out infinite; }
}
@keyframes breathe { 50% { box-shadow: 0 0 0 6px transparent; opacity: .7; } }

/* ── the page: bands on the table, each ruled at the top ────────────── */
main { flex: 1; width: 100%; display: block; }
.pane {
    position: relative; min-width: 0;
    width: min(100% - 2 * var(--edge), var(--max)); margin-inline: auto;
    padding-block: var(--band);
    border-top: 1px solid var(--line-strong);
}
main > .pane:first-child, main > .acct > .pane:first-child, main > .pane[hidden] + .pane { border-top: 0; }
/* full-bleed: a picture that runs to both edges of the window */
.bleed { margin-inline: calc(50% - 50vw); }

/* a section's head: label, heading, standfirst */
.head { display: grid; gap: var(--s-4); max-width: 54rem; margin-bottom: var(--head-gap); }
.head > .eyebrow { margin-bottom: var(--s-2); }
.head__sub { font-size: 18.5px; line-height: 1.55; color: var(--ink-2); max-width: var(--measure-sub); }
.head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s-6); }
.head--split > div { display: grid; gap: var(--s-4); max-width: 50rem; }

.more { margin-top: var(--s-6); font-size: 16px; }
.more a { color: var(--ink); font-weight: 620; text-underline-offset: 5px; text-decoration-color: var(--line-strong); }
.more a::after { content: "→"; display: inline-block; margin-left: var(--s-2); font-weight: 400; transition: transform var(--d-move) var(--spring-snap); }
.more a:hover { text-decoration-color: currentColor; }
.more a:hover::after { transform: translateX(4px); }

/* a subpage's opening band */
.page-head { display: grid; gap: var(--s-5); padding-block: clamp(var(--s-7), 9vw, 140px) clamp(var(--s-7), 6vw, var(--s-9)); }
.page-head > .eyebrow { margin-bottom: calc(var(--s-1) * -1); }
.page-head h1 { font-size: clamp(42px, 6.4vw, 92px); max-width: 13em; }
.page-head__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }

/* ── prints: pictures lying on the table ───────────────────────────── */
.print, .window picture, .split__media img, .feature__media > img, .feature__media picture img,
.shot img, .trio__card img, .timeline__stage {
    border-radius: var(--r-print); background: var(--photo-bg);
}
/* the slate: id and time in mono on a dark chip, bottom left of a picture */
.slate, .tile__cap {
    position: absolute; left: var(--s-3); bottom: var(--s-3); z-index: 1; max-width: calc(100% - 2 * var(--s-3));
    padding: 4px 8px; border-radius: var(--r-print);
    font: 400 12px/1.4 var(--mono); letter-spacing: -.01em; color: #fff; background: var(--slate);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
/* Develop: a picture arrives a little soft and pale and sharpens into place
 * (js/site.js marks the ones still loading).  Reduced motion: a fade. */
img[data-develop] { opacity: 0; filter: blur(14px) saturate(.3); transform: scale(1.015); }
img[data-developed] { transition: opacity var(--d-develop) var(--ease), filter var(--d-develop) var(--ease), transform var(--d-develop) var(--spring-soft); }
@media (prefers-reduced-motion: reduce) { img[data-develop] { filter: none; transform: none; } }

/* ── home: the hero ─────────────────────────────────────────────────── */
.hero { display: grid; gap: clamp(var(--s-6), 5vw, var(--s-8)); padding-top: clamp(var(--s-7), 8vw, 128px); padding-bottom: 0; }
.hero__text { display: grid; gap: var(--s-5); }
.hero h1 { max-width: 11.5em; }
.hero__aside { display: grid; gap: var(--s-5); align-content: end; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }
.hero__note { font-size: 15px; color: var(--ink-3); max-width: 46ch; }
@media (min-width: 1100px) {
    .hero__text { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: var(--s-8); row-gap: var(--s-6); align-items: end; }
    .hero__text > .status-chip { grid-column: 1 / -1; }
}
/* the hero picture runs edge to edge of the window */
.hero__pic { position: relative; margin-inline: calc(50% - 50vw); }
.hero__pic img { width: 100%; height: clamp(320px, 62vw, 860px); object-fit: cover; background: var(--photo-bg); }
.hero__pic .slate { left: var(--edge); bottom: var(--s-4); }

/* ── the app picture: a print of the window ─────────────────────────── */
.window { display: grid; gap: var(--s-4); }
.window picture, .window > img { display: block; overflow: hidden; box-shadow: var(--e2); }
.window img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.window figcaption { font-size: 15px; color: var(--ink-3); max-width: var(--measure); }
.window__frame { min-width: 0; }
.window__open {
    display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; cursor: zoom-in;
    border-radius: var(--r-print); text-align: left;
    transition: transform var(--d-land) var(--spring-land);
}
.window__open:hover { transform: translateY(var(--lift)); }
.window__open:active { transform: scale(.99); transition-duration: var(--d-press); }
.window__hint { display: none; }

/* ── home: three steps, three prints on one rule ───────────────────── */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.trio__card { display: grid; grid-template-rows: auto 1fr; gap: var(--s-5); }
.trio__card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--e1); }
.trio__body { display: grid; align-content: start; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.trio__body p { font-size: 16.5px; color: var(--ink-2); }
.trio__n { font: 400 13px/1 var(--mono); color: var(--buoy-ink); }
.trio__n::before { content: "0"; }

/* ── showcase: a contact sheet, edge to edge ───────────────────────── */
.facts { display: grid; grid-template-columns: repeat(4, auto); gap: var(--s-6); }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: 13.5px; color: var(--ink-3); white-space: nowrap; }
.facts dd { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; line-height: 1.05; order: -1; }
.facts-wrap { display: grid; gap: var(--s-3); justify-items: end; }
.facts-note { font-size: 13px; color: var(--ink-3); font-family: var(--mono); letter-spacing: -.01em; }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-inline: calc(50% - 50vw); padding-inline: 6px; }
.tile {
    position: relative; display: block; padding: 0; border: 0; border-radius: var(--r-print);
    overflow: hidden; background: var(--photo-bg); text-align: left; cursor: zoom-in; color: inherit;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-develop) var(--ease); }
.tile:hover img { transform: scale(1.025); }
.tile:active { transform: scale(.99); }
.tile--hero { grid-column: span 8; grid-row: span 2; }
.tile:not(.tile--hero):not(.tile--wide) { grid-column: span 4; aspect-ratio: 16 / 9; }
.tile--wide { grid-column: span 6; aspect-ratio: 16 / 8; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap); align-items: center; }
.split__text { display: grid; gap: var(--stack); }
.split__text h2 { margin-bottom: var(--s-2); }
.split__text .eyebrow { margin-bottom: var(--s-2); }
.split__text p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; max-width: var(--measure-sub); }
.split__media { position: relative; }
.split__media img { width: 100%; box-shadow: var(--e2); }
.split__media figcaption { font-size: 14px; color: var(--ink-3); padding-top: var(--s-3); }

/* what you'll need: four columns on one rule */
.needs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); }
.need { display: grid; align-content: start; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.need dt { font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); }
.need dd { font-size: 20px; font-weight: 620; letter-spacing: -.02em; line-height: 1.3; }
.need dd span { display: block; font-size: 15.5px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; margin-top: var(--s-2); line-height: 1.5; }

/* ── the closing call to action ─────────────────────────────────────── */
.access { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--col-gap); align-items: end; }
.access__text { display: grid; gap: var(--stack); }
.access__text h2, .access__text h1 { margin-bottom: var(--s-2); }
.access__text > p:not(.eyebrow):not(.status-chip):not(.lede) { color: var(--ink-2); max-width: 38rem; font-size: 18px; }
.access--head { padding-block: clamp(var(--s-7), 9vw, 140px) clamp(var(--s-7), 6vw, var(--s-9)); }
.access--head h1 { font-size: clamp(42px, 6.4vw, 92px); }
.access--head .access__text { gap: var(--s-5); }
.access__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }

.cta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--s-5) var(--s-7); }
.cta__text { display: grid; gap: var(--s-4); max-width: 46rem; }
.cta__text h2 { font-size: clamp(32px, 4.4vw, 60px); }
.cta__text p { color: var(--ink-2); font-size: 18px; max-width: var(--measure-sub); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-6); }

/* ── forms: fields are the only edged things ───────────────────────── */
.form { display: grid; gap: var(--s-5); }
.field { display: grid; gap: var(--s-2); }
.field label, .wl__label { font-size: 15px; font-weight: 600; line-height: 1.4; }
.field__label-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.field__label-row a { font-size: 14px; color: var(--ink-2); text-underline-offset: 4px; padding: 10px 0; margin: -10px 0; } /* a finger-sized target without moving the row */
.field__label-row a:hover { color: var(--ink); }
.field__opt { font-weight: 400; color: var(--ink-3); font-size: 14px; margin-left: var(--s-1); }
.field input:not([type="checkbox"]), .field textarea, .field select, .wl__row input, .acct-name__row input {
    width: 100%; min-height: 50px; padding: var(--s-3) 14px; border-radius: var(--r-control);
    border: 1px solid var(--line-strong); background: var(--field); font-size: 16px; line-height: 1.4;
    transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-base) var(--ease), background var(--d-base) var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field textarea.field__long { min-height: 180px; }
.field select { appearance: auto; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: .85; }
.field input:hover { border-color: var(--ink-4); }
.field input:focus, .field textarea:focus, .field select:focus, .acct-name__row input:focus { outline: none; border-color: var(--ink); background: var(--card); box-shadow: 0 0 0 3px var(--tint-2); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--stop); box-shadow: 0 0 0 3px var(--stop-soft); }
.field__hint { font-size: 14px; color: var(--ink-3); }
.field__err { font-size: 14px; font-weight: 520; color: var(--stop-ink); }
/* The contact form's bot trap: out of sight and out of the tab order. */
.field--trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.field__wrap { position: relative; }
.field__wrap input { padding-right: 80px; }
.field__toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    height: 40px; min-width: 44px; padding: 0 var(--s-2); border: 0; background: transparent;
    font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong);
}
.field__toggle:hover { color: var(--ink); text-decoration-color: currentColor; }
.field .check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; font-size: 15px; font-weight: 400; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.check a { color: var(--ink); text-underline-offset: 3px; }
.field .check[data-invalid] { color: var(--stop-ink); }

/* an alert is a sentence with a rule in its tone, never a tinted box */
.alert {
    display: block; padding: 2px 0 2px var(--s-4); border-left: 2px solid var(--ink-3);
    font-size: 15px; line-height: 1.5; color: var(--ink);
}
.alert--error { border-left-color: var(--stop); color: var(--stop-ink); }
.alert--ok { border-left-color: var(--pass); }
.alert a { color: inherit; font-weight: 600; text-underline-offset: 3px; }

/* the five-dot crew mark is the only loading language */
.working { display: inline-flex; gap: 3px; align-items: center; }
.working i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .35; animation: crew 1.2s infinite; }
.working i:nth-child(2) { animation-delay: .24s; } .working i:nth-child(3) { animation-delay: .48s; }
.working i:nth-child(4) { animation-delay: .72s; } .working i:nth-child(5) { animation-delay: .96s; }
@keyframes crew { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .working i { animation: none; opacity: .7; } }
h1 .working { margin-left: var(--s-3); vertical-align: middle; }

/* ── sign-in pages ──────────────────────────────────────────────────────
 * Two halves: on the left the crew's world, edge to edge and full height
 * (a real frame with its time on a slate); on the right the form, straight
 * on the table.  On a phone the picture is a band above the form. */
.main--auth { display: grid; }
.auth-pane {
    width: 100%; max-width: none; margin: 0; padding: 0; border: 0;
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); min-height: calc(100dvh - var(--bar-h));
    view-transition-name: auth-pane;
}
.auth-pic { position: relative; margin: 0; min-height: 560px; overflow: hidden; background: var(--photo-bg); isolation: isolate; view-transition-name: auth-pic; }
.auth-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-pic::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(4, 8, 12, 0) 55%, rgba(4, 8, 12, .6) 100%); }
.auth-pic figcaption {
    position: absolute; left: var(--edge); right: var(--edge); bottom: var(--s-5); z-index: 2;
    display: grid; gap: 4px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .94); max-width: 32rem;
}
.auth-pic__when { font: 400 12.5px/1.4 var(--mono); color: rgba(255, 255, 255, .72); }

.auth {
    display: grid; align-content: center; gap: var(--s-5);
    width: min(100%, 440px); justify-self: center;
    padding: clamp(var(--s-6), 5vw, var(--s-8)) var(--edge);
}
.auth__state { gap: var(--s-5); }
.auth__head { display: grid; gap: var(--s-3); }
.auth h1 { font-size: clamp(34px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -.04em; }
.auth h1:focus { outline: none; }
.auth__sub { color: var(--ink-2); font-size: 16.5px; line-height: 1.55; }
.auth__sub strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.auth__sub .working { margin-right: var(--s-2); color: var(--buoy); }
.auth__alt { font-size: 15px; color: var(--ink-2); }
.auth__alt a { color: var(--ink); font-weight: 620; text-underline-offset: 4px; text-decoration-color: var(--line-strong); transition: text-decoration-color var(--d-fast) var(--ease); }
.auth__alt a:hover { text-decoration-color: currentColor; }
.auth .form { gap: var(--s-4); }
.auth .form > .btn { margin-top: var(--s-2); }
.auth .alert { font-size: 14.5px; }

/* the crew mark: five dots, the head in buoy orange */
.crewmark { width: 40px; height: 40px; fill: var(--ink); overflow: visible; }
.crewmark circle { transform-box: fill-box; transform-origin: center; }
.crewmark__head { fill: var(--buoy); }
@media (prefers-reduced-motion: no-preference) {
    .crewmark circle { animation: crewIn var(--d-land) var(--spring-land) both; }
    .crewmark circle:nth-child(2) { animation-delay: 50ms; }
    .crewmark circle:nth-child(3) { animation-delay: 100ms; }
    .crewmark circle:nth-child(4) { animation-delay: 150ms; }
    .crewmark circle:nth-child(5) { animation-delay: 230ms; }
    /* while a form waits on the server the dots light round the ring, as in the app */
    main:has([aria-busy="true"]) .crewmark circle { animation: crewWalk 1.2s var(--ease) infinite; }
    main:has([aria-busy="true"]) .crewmark circle:nth-child(2) { animation-delay: .24s; }
    main:has([aria-busy="true"]) .crewmark circle:nth-child(3) { animation-delay: .48s; }
    main:has([aria-busy="true"]) .crewmark circle:nth-child(4) { animation-delay: .72s; }
    main:has([aria-busy="true"]) .crewmark circle:nth-child(5) { animation-delay: .96s; }
}
@keyframes crewIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes crewWalk { 0%, 60%, 100% { opacity: .35; transform: scale(.85); } 30% { opacity: 1; transform: scale(1.1); } }

/* the length meter under a new password: ten ticks, green together at ten */
.meter { display: flex; align-items: center; gap: var(--s-3); min-height: 18px; }
.meter__ticks { flex: 1; display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.meter__ticks span { height: 2px; background: var(--line-strong); transition: background var(--d-base) var(--ease), transform var(--d-land) var(--spring-land); }
.meter__ticks span[data-on] { background: var(--ink); transform: scaleY(1.5); }
.meter[data-ok] .meter__ticks span { background: var(--pass); transform: scaleY(1); }
.meter__count { font-family: var(--mono); font-size: 12.5px; color: var(--ink-3); min-width: 9ch; text-align: right; }
.meter[data-ok] .meter__count { color: var(--pass-ink); }

/* things that land: they rise on a spring; a refusal shakes */
@media (prefers-reduced-motion: no-preference) {
    .alert:not([hidden]) { animation: rise var(--d-land) var(--spring-land); }
    .field__err:not([hidden]) { animation: rise var(--d-base) var(--ease); }
    .nudge { animation: nudge 360ms var(--ease); }
    .auth__state, .acct { animation: rise var(--d-land) var(--spring-land); }
    /* the page's first things settle in, a few at a time */
    main > .pane:first-child > *, .hero__pic { animation: rise var(--d-land) var(--spring-land) both; }
    main > .pane:first-child > :nth-child(2) { animation-delay: 40ms; }
    main > .pane:first-child > :nth-child(3) { animation-delay: 80ms; }
    main > .pane:first-child > :nth-child(n+4), .hero__pic { animation-delay: 120ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes nudge {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); } 40% { transform: translateX(5px); }
    60% { transform: translateX(-3px); } 80% { transform: translateX(2px); }
}

/* pages cross-fade; the screen's underline slides; the sign-in picture stays put */
@view-transition { navigation: auto; }
::view-transition-group(nav-line) { animation-duration: var(--d-land); animation-timing-function: var(--spring-snap); }
::view-transition-group(auth-pane), ::view-transition-group(auth-pic) { animation-duration: var(--d-move); animation-timing-function: var(--ease); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 160ms; }
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ── account page: a spec sheet of ruled sections ──────────────────── */
.acct { display: grid; }
.acct-head {
    width: min(100% - 2 * var(--edge), var(--max)); margin-inline: auto;
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-3) var(--s-4);
    padding-top: clamp(var(--s-6), 6vw, var(--s-8)); padding-bottom: var(--s-6);
}
.acct-head .crewmark { width: 34px; height: 34px; }
.acct-head__text { display: grid; gap: 2px; min-width: 0; }
.acct-head__eyebrow { font-size: 12px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.acct-head h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
.acct-head__actions { display: flex; }
.acct-wait { display: grid; gap: var(--s-2); color: var(--ink-2); }
.acct-wait .working { color: var(--buoy); margin-right: var(--s-2); }
.acct-wait__slow { font-size: 15px; }
.acct .pane, .acct-wait, main[data-page="account"] > .pane, main[data-page="subscribe"] > .pane { padding-block: clamp(var(--s-6), 5vw, var(--s-8)); }
.welcome { margin: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }

.acct-sec__head { display: grid; gap: var(--s-2); margin-bottom: var(--s-5); }
.acct-sec__head h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; display: flex; align-items: baseline; gap: var(--s-3); }
.acct-sec__head p { color: var(--ink-2); font-size: 16px; max-width: 56ch; }
.acct-count { font-family: var(--mono); font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--ink-3); }
.acct-count:empty { display: none; }

/* The licence: the plan's name is the headline, its state in words. */
.licence { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--s-5) var(--s-7); }
.licence__plan { display: grid; gap: var(--s-3); justify-items: start; min-width: 0; }
.licence__state { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 15px; font-weight: 600; color: var(--back-ink); }
.licence__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--back); }
.licence[data-ok] .licence__state { color: var(--pass-ink); }
.licence[data-ok] .licence__dot { background: var(--pass); }
.licence__name { font-size: clamp(44px, 6.4vw, 84px); line-height: .95; letter-spacing: -.05em; font-weight: 680; }
.licence__text { color: var(--ink-2); font-size: 17px; max-width: 56ch; }
.licence__text:empty { display: none; }
.licence__until { font-size: 14px; color: var(--ink-2); }
.licence__includes { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin-top: var(--s-1); }
.licence__includes li { font-size: 15.5px; color: var(--ink-2); }
.licence__includes b { font-family: var(--mono); font-weight: 400; margin-right: 4px; color: var(--ink); }
.licence__claude { justify-self: stretch; font-size: 15px; color: var(--ink-2); max-width: 56ch; }
.licence:not([data-ok]) .licence__claude { display: none; }
.licence__build { display: block; margin-top: 2px; font-size: 11.5px; color: var(--ink-4); letter-spacing: 0; overflow-wrap: anywhere; }
.licence__build:empty { display: none; }
.licence__go { display: grid; gap: var(--s-2); justify-items: end; text-align: right; align-self: center; }
.licence__go > div { display: grid; gap: var(--s-2); justify-items: end; }
.licence__hint { font-size: 14px; color: var(--ink-3); max-width: 30ch; }
.acct-resend { display: grid; gap: var(--s-2); justify-items: start; margin-top: var(--s-2); }

/* seats: the computers the plan allows, said in a ruled line */
.seats { display: grid; gap: var(--s-4); }
.vgpu-acct { display: grid; gap: var(--s-3); }
.vgpu-acct__left { font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -.04em; line-height: 1.1; }
.vgpu-acct__used { color: var(--ink-2); }
.vgpu-acct__stop { display: grid; gap: var(--s-2); justify-items: start; }
.seats__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
.seats__head h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; display: flex; align-items: baseline; gap: var(--s-3); }
.seats__line { color: var(--ink-2); font-size: 15px; }
.seats__row { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.seat {
    display: grid; align-content: start; gap: var(--s-2); min-width: 110px; padding: var(--s-3) var(--s-5) var(--s-3) 0; margin-right: var(--s-5);
    border-right: 1px solid var(--line);
    font-size: 13.5px; line-height: 1.3; color: var(--ink-2);
}
.seat:last-child { border-right: 0; }
.seat__mark { width: 22px; height: 15px; border-radius: 2px; border: 1.5px solid currentColor; position: relative; }
.seat__mark::after { content: ""; position: absolute; left: 5px; right: 5px; bottom: -5px; height: 1.5px; background: currentColor; }
.seat b { font-weight: 600; color: var(--ink); }
.seat .mono { font-size: 12px; }
.seat[data-kind="active"] { color: var(--ink); }
.seat[data-kind="active"][data-live] .seat__mark::before {
    content: ""; position: absolute; right: -5px; top: -5px; width: 7px; height: 7px; border-radius: 50%; background: var(--buoy);
}
.seat[data-kind="held"], .seat[data-kind="held"] b { color: var(--back-ink); }
.seat[data-kind="free"] { color: var(--ink-3); }
.seat[data-kind="free"] .seat__mark { border-style: dashed; }
.seat[data-kind="over"], .seat[data-kind="over"] b { color: var(--stop-ink); }
@media (prefers-reduced-motion: no-preference) {
    .seat { animation: rise var(--d-land) var(--spring-land) both; animation-delay: calc(var(--i, 0) * 45ms); }
    .seat[data-changed] { animation: rise var(--d-land) var(--spring-land) both; }
}

.acct-grid { width: min(100% - 2 * var(--edge), var(--max)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--col-gap); align-items: start; }
.acct-grid > .pane { width: auto; margin: 0; }

/* computers: ruled rows */
.machines { display: grid; border-top: 1px solid var(--line); }
.machine {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--s-4);
    padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
    transition: background var(--d-base) var(--ease), opacity var(--d-move) var(--ease), transform var(--d-move) var(--ease);
}
.machine[data-asking] { box-shadow: inset 2px 0 0 var(--stop); padding-left: var(--s-3); }
.machine[data-leaving] { opacity: 0; transform: translateX(16px); }
.machine__until { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.machine__icon { position: relative; width: 30px; height: 21px; border-radius: 2px; border: 1.5px solid var(--ink-3); }
.machine__icon::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: -6px; height: 1.5px; background: var(--ink-3); }
.machine__icon[data-live]::before { content: ""; position: absolute; right: -5px; top: -5px; width: 7px; height: 7px; border-radius: 50%; background: var(--buoy); }
.machine__body { display: grid; gap: 2px; min-width: 0; }
.machine__name { font-weight: 620; font-size: 16.5px; }
.machine__id { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-left: var(--s-1); }
.machine__meta { font-size: 14px; color: var(--ink-3); }
.machine__actions { display: flex; align-items: center; gap: var(--s-4); }
.machines__empty { padding: var(--s-4) 0; color: var(--ink-2); font-size: 15px; }
.acct-machines .alert { margin-top: var(--s-3); }

.acct-details .kv { margin-bottom: var(--s-5); }
.acct-details .kv > div { grid-template-columns: 96px minmax(0, 1fr); }

/* your data */
.acct-data__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.acct-data h3, .danger h3 { font-size: 17.5px; letter-spacing: -.01em; }
.acct-data__row p { color: var(--ink-2); font-size: 15px; }
.acct-data__act { display: grid; gap: var(--s-2); justify-items: end; }
.danger { border-top: 1px solid var(--line); }
.danger summary { display: grid; gap: 2px; padding: var(--s-4) 40px var(--s-4) 0; position: relative; cursor: pointer; list-style: none; }
.danger summary::-webkit-details-marker { display: none; }
.danger summary::after {
    content: ""; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; margin-top: -6px;
    border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
    transform: rotate(45deg); transition: transform var(--d-land) var(--spring-land);
}
.danger[open] summary::after { transform: translateY(4px) rotate(-135deg); }
.danger summary h3 { color: var(--stop-ink); }
.danger__sub { font-size: 15px; color: var(--ink-2); }
.danger__form { max-width: 440px; padding: var(--s-2) 0 var(--s-4); gap: var(--s-4); }
.danger__form .btn { justify-self: start; }
@media (prefers-reduced-motion: no-preference) { .danger[open] .danger__form { animation: rise var(--d-land) var(--spring-land); } }

.box { display: grid; gap: var(--s-4); }
.box h2 { font-size: 24px; letter-spacing: -.025em; }
.box p { color: var(--ink-2); font-size: 16px; }
.box .form .btn { justify-self: start; }
.box--danger { max-width: 640px; }
.box--danger h2 { color: var(--stop-ink); }
.kv { display: grid; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: var(--s-3); padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv dt { font-size: 15px; color: var(--ink-3); }
.kv dd { font-size: 16px; overflow-wrap: anywhere; }

/* a page section shows only in its state: data-state on an ancestor */
[data-when] { display: none; }
[data-state="loading"] [data-when~="loading"],
[data-state="ready"] [data-when~="ready"],
[data-state="error"] [data-when~="error"],
[data-state="done"] [data-when~="done"],
[data-state="missing"] [data-when~="missing"],
[data-state="closed"] [data-when~="closed"],
[data-state="has"] [data-when~="has"],
[data-state="verify"] [data-when~="verify"] { display: grid; }
.pane[data-when] { gap: var(--s-4); }

/* ── how it works ───────────────────────────────────────────────────── */
.steps { display: grid; counter-reset: step; }
.step {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap);
    padding-block: clamp(var(--s-7), 6vw, var(--s-9)); border-top: 1px solid var(--line);
}
.step:first-child { border-top: 0; padding-top: 0; }
.step:last-child { padding-bottom: 0; }
.step__text { display: grid; align-content: start; gap: var(--s-3); }
.step__text p { color: var(--ink-2); max-width: 32rem; }
.step__n { font: 400 13px/1 var(--mono); color: var(--buoy-ink); margin-bottom: var(--s-2); }
.step__show { min-width: 0; }
.step--wide { grid-template-columns: 1fr; gap: var(--s-6); }
.step--wide .step__text p { max-width: var(--measure); }

/* the brief, as said: a pull quote with the live rule */
.said { position: relative; padding-left: var(--s-5); border-left: 2px solid var(--buoy); }
.said__who { display: block; font: 400 12.5px/1.4 var(--mono); color: var(--buoy-ink); margin-bottom: var(--s-3); }
.said p { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.42; letter-spacing: -.018em; color: var(--ink); }

/* tickets: ruled rows, the state in words */
.tickets { display: grid; border-top: 1px solid var(--rule); }
.ticket { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--line); }
.ticket__state { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.ticket__name { font-weight: 560; font-size: 17px; letter-spacing: -.01em; }
.ticket__name::first-letter { text-transform: uppercase; }
.note { font-size: 13px; color: var(--ink-3); padding-top: var(--s-3); font-family: var(--mono); letter-spacing: -.01em; }

.pair, .review__pics { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.shot { display: grid; gap: var(--s-2); align-content: start; }
.shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: var(--e1); }
.shot figcaption { font-size: 14px; color: var(--ink-3); }

.review { display: grid; gap: var(--s-5); }
.verdict { padding-left: var(--s-5); border-left: 2px solid var(--back); }
.verdict p:last-child { font-size: 17.5px; line-height: 1.55; color: var(--ink); }
.verdict__tag, .playtest { display: flex; align-items: center; gap: var(--s-2); font-size: 14px; font-weight: 600; color: var(--back-ink); margin-bottom: var(--s-2); }
.playtest { color: var(--ink-2); font-weight: 500; margin: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.playtest .dot { align-self: flex-start; margin-top: .55em; }
.dot--back { background: var(--back); }
.dot--pass { background: var(--pass); }
.dot--built { background: var(--built); }

/* the timeline: the run's pictures, scrubbed */
.timeline { display: grid; gap: var(--s-3); }
.timeline__stage { position: relative; overflow: hidden; aspect-ratio: 1231 / 770; box-shadow: var(--e2); }
.timeline__img { width: 100%; height: 100%; object-fit: cover; }
.timeline__bar { display: flex; align-items: center; gap: var(--s-3); }
.timeline__track { position: relative; flex: 1; height: 44px; }
.timeline__ticks { position: absolute; inset: 0 10px; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.timeline__ticks span { width: 2px; height: 12px; background: var(--line-strong); transition: background var(--d-fast) var(--ease), height var(--d-move) var(--spring-snap); }
.timeline__ticks span[data-on] { background: var(--ink-3); }
.timeline__ticks span[data-current] { background: var(--buoy); height: 26px; }
.timeline__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
.timeline__range::-webkit-slider-runnable-track { height: 44px; background: transparent; }
.timeline__range::-moz-range-track { height: 44px; background: transparent; }
.timeline__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 44px; background: transparent; border: 0; }
.timeline__range::-moz-range-thumb { width: 20px; height: 44px; background: transparent; border: 0; }
.timeline__range:focus-visible { outline: 2px solid var(--buoy); outline-offset: 2px; }
.timeline__meta { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-4); align-items: baseline; padding-top: var(--s-2); border-top: 1px solid var(--line); font-size: 15px; }
.timeline__when { font-size: 13px; color: var(--buoy-ink); white-space: nowrap; }
.timeline__note { color: var(--ink-2); }
.timeline__count { font-size: 13px; color: var(--ink-3); }

/* ── features ───────────────────────────────────────────────────────── */
.feature {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--col-gap);
    padding-block: clamp(var(--s-7), 6vw, var(--s-9)); border-top: 1px solid var(--line); align-items: center;
}
.feature:first-child { border-top: 0; padding-top: 0; }
.feature:last-child { padding-bottom: 0; }
.feature__text { display: grid; gap: var(--s-3); align-content: start; }
.feature__text p { color: var(--ink-2); max-width: 32rem; }
.feature__tag, .card__tag { font: 400 12.5px/1.4 var(--mono); color: var(--ink-3); }
.feature__media { min-width: 0; }
.feature__media > img, .feature__media picture img { width: 100%; box-shadow: var(--e2); }
.feature--flip .feature__text { order: 2; }

/* the models: a contact sheet of prints with their names under them */
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4) var(--s-3); }
.model { display: grid; gap: var(--s-2); width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: zoom-in; color: inherit; }
.model img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #b9c0c8; border-radius: var(--r-print); box-shadow: var(--e1); transition: transform var(--d-land) var(--spring-land), box-shadow var(--d-move) var(--ease); }
.model:hover img { transform: translateY(var(--lift)); box-shadow: var(--e2); }
.model:active img { transform: scale(.98); transition-duration: var(--d-press); }
.model .model__img--top { object-position: 50% 0; }
.model__name { font-size: 14px; font-weight: 560; }

/* cards are not boxes: each is a column on one rule */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--col-gap); }
.cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: grid; align-content: start; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.card h3 { font-size: 20px; }
.card p { font-size: 16px; color: var(--ink-2); }
.card--soon { border-top-color: var(--line-strong); }
.card--soon h3 { color: var(--ink-2); }

.gates { display: grid; border-top: 1px solid var(--rule); }
.gate { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.gate .dot { transform: translateY(-2px); }
.gate span:last-child { color: var(--ink-2); }
.gate strong { color: var(--ink); font-weight: 620; }

.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-7) var(--col-gap); }
.role { display: grid; align-content: start; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.role h3 { font-size: 19px; display: flex; align-items: center; gap: var(--s-2); }
.role__what { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.role--lead { border-top: 2px solid var(--buoy); padding-top: calc(var(--s-4) - 1px); }
.mark--role { width: 22px; height: 22px; margin-bottom: var(--s-1); }

/* ── faq ────────────────────────────────────────────────────────────── */
.faq-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--col-gap); padding-block: clamp(var(--s-6), 4vw, var(--s-8)); border-top: 1px solid var(--line); }
.faq-group:first-child { border-top: 0; padding-top: 0; }
.faq-group:last-child { padding-bottom: 0; }
.faq-group h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
    padding: 20px 0; cursor: pointer; list-style: none;
    font-size: 18.5px; font-weight: 600; line-height: 1.4; letter-spacing: -.015em;
}
.faq summary:hover { color: var(--ink-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 9px; height: 9px; margin-right: var(--s-1);
    border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
    transform: translateY(-3px) rotate(45deg); transition: transform var(--d-land) var(--spring-land);
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq details p { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: var(--measure); }
@media (prefers-reduced-motion: no-preference) { .faq details[open] > :not(summary) { animation: rise var(--d-move) var(--spring-soft); } }
.faq a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }

/* ── prose: docs and the legal pages, an index in the margin ───────── */
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--col-gap); align-items: start; }
.toc { position: sticky; top: calc(var(--bar-h) + var(--s-5)); display: grid; gap: 0; font-size: 14.5px; counter-reset: toc; }
.toc p { font-size: 12px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); padding-bottom: var(--s-3); }
.toc a { display: flex; gap: var(--s-3); padding: 5px 0; color: var(--ink-3); text-decoration: none; line-height: 1.35; transition: color var(--d-fast) var(--ease); counter-increment: toc; }
.toc a::before { content: counter(toc, decimal-leading-zero); flex: none; width: 20px; padding-top: 2px; font: 400 11px/1.35 var(--mono); color: var(--ink-4); }
.toc a:hover { color: var(--ink); }
.toc a:hover::before { color: var(--buoy); }
.prose { max-width: var(--measure); display: grid; gap: var(--stack); min-width: 0; }
.prose > * { margin: 0; }
.prose__group { display: grid; gap: var(--stack); }
.prose h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.03em; margin-top: var(--s-7); padding-top: var(--s-6); border-top: 1px solid var(--line-strong); scroll-margin-top: calc(var(--bar-h) + var(--s-4)); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 20px; margin-top: var(--s-3); scroll-margin-top: calc(var(--bar-h) + var(--s-4)); }
.prose h2 + p, .prose h2 + ol, .prose h2 + ul, .prose h2 + dl { margin-top: var(--s-1); }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 620; }
.prose ul, .prose ol { display: grid; gap: var(--s-3); }
.prose ul > li { position: relative; padding-left: var(--s-5); }
.prose ul > li::before { content: ""; position: absolute; left: 2px; top: .78em; width: 10px; height: 1px; background: var(--ink-3); }
.prose ol { counter-reset: n; }
.prose ol > li { position: relative; padding-left: 44px; counter-increment: n; min-height: 28px; }
.prose ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 3px; font: 400 13px/1.5 var(--mono); color: var(--buoy-ink); }
.prose a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--ink); }
.prose code, .kbd {
    font-family: var(--mono); font-size: .86em; padding: 1px 5px; border-radius: var(--r-print);
    background: var(--tint); color: var(--ink); overflow-wrap: anywhere;
}
.prose .callout { padding-left: var(--s-5); border-left: 2px solid var(--ink); color: var(--ink-2); }
.prose .callout strong { display: block; margin-bottom: var(--s-1); }
.reqs { display: grid; border-top: 1px solid var(--rule); }
.reqs > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.reqs dt { font-weight: 620; color: var(--ink); }
.reqs dd { color: var(--ink-2); }

/* ── footer ─────────────────────────────────────────────────────────── */
.foot {
    width: min(100% - 2 * var(--edge), var(--max)); margin: var(--s-7) auto 0;
    padding: var(--s-7) 0 var(--s-7);
    border-top: 1px solid var(--rule);
    display: grid; gap: var(--s-6);
}
.foot__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-6) var(--s-7); }
.foot__brand { display: grid; gap: var(--s-3); align-content: start; }
.foot__brand p { font-size: 15px; color: var(--ink-2); max-width: 24rem; }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.foot__h { font-size: 12px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-3); }
.foot__col ul { display: grid; gap: 2px; }
.foot__col a, .foot__legal a { display: inline-block; padding: var(--s-1) 0; font-size: 15px; color: var(--ink-2); text-decoration: none; transition: color var(--d-fast) var(--ease); }
.foot__col a:hover, .foot__legal a:hover, .foot a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-3) var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.foot__base p { font-size: 14px; color: var(--ink-3); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.foot__legal a { font-size: 14px; }
.foot__tm { font-size: 13px; line-height: 1.55; color: var(--ink-3); max-width: 48rem; }

/* ── picture viewer: the Darkroom, whatever the time of day ────────── */
.viewer {
    width: min(1440px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0;
    border: 0; border-radius: var(--r-print); background: transparent; color: #edf2f6; overflow: visible;
}
.viewer::backdrop { background: var(--scrim); }
.viewer__img { width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: var(--r-print); }
.viewer__frame { overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (prefers-reduced-motion: no-preference) {
    .viewer[open] { animation: viewerIn var(--d-land) var(--spring-land); }
    .viewer[open]::backdrop { animation: viewerDim var(--d-base) var(--ease); }
}
@keyframes viewerIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }
@keyframes viewerDim { from { opacity: 0; } }
.viewer__cap { padding: var(--s-3) 60px 0 0; font-size: 15.5px; color: rgba(237, 242, 246, .82); }
.viewer__close-form { position: absolute; right: 0; bottom: -6px; }
.viewer .iconbtn { color: #edf2f6; border-color: rgba(255, 255, 255, .25); }
.viewer .iconbtn:hover { border-color: #fff; }

/* ── responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .crew, .needs, .cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .head--split { grid-template-columns: 1fr; align-items: start; }
    .facts-wrap { justify-items: start; }
    .doc { grid-template-columns: 1fr; }
    .toc { position: static; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); column-gap: var(--s-5); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
    .toc p { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
    .bar { grid-template-columns: 1fr auto; }
    .pill { display: none; }
    .bar .menu-btn { display: inline-grid; }
    .split, .feature, .step, .faq-group, .acct-grid, .access, .foot__top { grid-template-columns: 1fr; }
    .feature--flip .feature__text { order: 0; }
    .step__text p, .feature__text p { max-width: var(--measure); }
    .tile--hero, .tile--wide { grid-column: span 12; }
    .tile--hero { aspect-ratio: 16 / 9; }
    .tile:not(.tile--hero):not(.tile--wide) { grid-column: span 6; }
    .trio { grid-template-columns: 1fr; gap: var(--s-7); }
    .trio__card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto; align-items: start; }
    .trio__body { padding-top: var(--s-3); }
}
@media (max-width: 700px) {
    .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    :root { --bar-h: 58px; }
    body { font-size: 16.5px; }
    h1 { font-size: clamp(40px, 12vw, 52px); letter-spacing: -.045em; }
    h2 { font-size: clamp(30px, 8.6vw, 38px); }
    .page-head h1, .access--head h1 { font-size: clamp(40px, 12vw, 50px); }
    .bar { gap: var(--s-3); }
    .bar__end { gap: var(--s-3); }
    .bar__cta { min-height: 38px; padding: 0 14px; font-size: 14.5px; }
    .wordmark { font-size: 19px; }
    .hero__actions .btn--ink { flex: 1 1 100%; }
    .hero__pic img { height: clamp(300px, 92vw, 420px); }
    .trio__card { grid-template-columns: 1fr; gap: var(--s-4); }
    .trio__card img { aspect-ratio: 16 / 10; }
    /* The board at about twice the screen's width, so its cards and labels
     * can be read; swipe across it, or tap to open it on its own. */
    .window__frame {
        overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
        margin: 0 calc(var(--edge) * -1); padding: 0 var(--edge) 18px;
    }
    .window__frame::-webkit-scrollbar { display: none; }
    .window__open { width: 205%; scroll-snap-align: start; }
    .window__hint { display: flex; align-items: center; gap: var(--s-2); margin-bottom: var(--s-1); font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
    .window__hint svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
    /* full size on a phone: the board keeps a readable width and pans */
    .viewer[data-pan] .viewer__img { width: auto; max-width: none; height: min(70dvh, 560px); max-height: none; }
    .crew, .needs, .cards, .cards--four { grid-template-columns: 1fr; gap: var(--s-6); }
    .tile:not(.tile--hero):not(.tile--wide) { grid-column: span 12; }
    .gallery { gap: 4px; padding-inline: 4px; }
    .facts { grid-template-columns: repeat(2, 1fr); width: 100%; gap: var(--s-5); }
    .facts-wrap { justify-items: stretch; }
    .timeline__meta { grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-3); }
    .timeline__note { grid-column: 1 / -1; grid-row: 2; }
    .ticket { gap: var(--s-3); }
    .ticket__name { font-size: 15.5px; }
    .faq summary { font-size: 17px; }
    .reqs > div, .kv > div { grid-template-columns: 1fr; gap: 2px; }
    .cta .btn--ink, .access__actions .btn--ink { flex: 1 1 100%; }
    .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-5); }
}
/* the sign-in and account pages on smaller screens */
@media (max-width: 960px) {
    .auth-pane { grid-template-columns: 1fr; min-height: 0; }
    .auth-pic { min-height: 0; aspect-ratio: 16 / 7; }
    .auth-pic figcaption { bottom: var(--s-3); font-size: 14px; }
    .auth { padding: var(--s-6) var(--edge) var(--s-5); width: min(100%, 520px); }
    .licence { grid-template-columns: 1fr; }
    .licence__go, .licence__go > div { justify-items: start; text-align: left; }
}
@media (max-width: 600px) {
    .auth-pic { aspect-ratio: 16 / 9; }
    .auth-pic__cap { display: none; }
    .auth { gap: var(--s-4); }
    .auth h1 { font-size: 32px; }
    .acct-head { gap: var(--s-3); }
    .acct-head .crewmark { width: 28px; height: 28px; }
    .licence__go .btn--ink { width: 100%; }
    .licence__go > div { width: 100%; }
    .licence__hint { max-width: none; }
    .seat { min-width: 0; flex: 1 1 40%; }
    .machine { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-3); }
    .machine__actions { grid-column: 2; justify-content: flex-start; }
    .acct-data__row { grid-template-columns: 1fr; }
    .acct-data__act { justify-items: start; }
}
@media (max-width: 360px) {
    .bar__cta { padding: 0 var(--s-3); }
}

/* ── pricing ────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--col-gap); }
.plan { position: relative; display: flex; flex-direction: column; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.plan--feature { border-top: 2px solid var(--ink); }
.plan__badge { font-size: 13px; font-weight: 620; color: var(--buoy-ink); }
.plan__name { font-size: 20px; font-weight: 650; }
.plan__price { display: flex; align-items: baseline; gap: var(--s-2); }
.plan__amount { font-size: 44px; font-weight: 680; letter-spacing: -.03em; line-height: 1; }
.plan__per, .plan__from, .plan__alt { color: var(--ink-3); font-size: 14px; }
.plan__for { color: var(--ink-2); }
.plan__list { display: grid; gap: var(--s-2); margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: 15px; line-height: 1.45; flex: 1 1 auto; list-style: disc; }
.plan__cta { margin-top: var(--s-2); }
.plans__note { margin-top: var(--s-4); color: var(--ink-3); font-size: 14px; }
@media (max-width: 860px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ── paying: the subscribe page and the account's billing ─────────── *
 * Our own card form (Stripe's Payment Element, styled from these tokens by
 * js/billing.js) and our own billing controls, as ruled rows. */
.sub-head .eyebrow { margin-bottom: var(--s-1); }
.sub { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); align-items: start; width: min(100% - 2 * var(--edge), var(--max)); margin-inline: auto; }
[data-state="ready"] .sub[data-when~="ready"] { display: grid; }
.sub .pane { width: auto; margin: 0; padding-block: var(--s-6); }
.sub__pay { position: sticky; top: calc(var(--bar-h) + var(--s-4)); display: grid; gap: var(--s-4); }
.sub__pay-title { font-size: 24px; letter-spacing: -.025em; }
.sub__fine { font-size: 14px; color: var(--ink-3); line-height: 1.5; }

.picks { display: grid; border-top: 1px solid var(--rule); }
.pick {
    position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline;
    gap: var(--s-1) var(--s-4); padding: var(--s-5) 0; cursor: pointer; border-bottom: 1px solid var(--line);
    transition: background var(--d-fast) var(--ease);
}
.pick > input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick:has(input:focus-visible) { outline: 2px solid var(--buoy); outline-offset: 2px; }
.pick__dot {
    grid-row: 1 / span 4; align-self: start; margin-top: 4px;
    width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center;
}
.pick__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform var(--d-land) var(--spring-land); }
.pick:has(input:checked) .pick__dot { border-color: var(--ink); }
.pick:has(input:checked) .pick__dot::after { transform: scale(1); }
.pick__head { display: flex; align-items: baseline; gap: var(--s-3); }
.pick__name { font-size: 22px; font-weight: 650; letter-spacing: -.025em; }
.pick__badge { font-size: 13px; font-weight: 620; color: var(--buoy-ink); }
.pick__price { justify-self: end; white-space: nowrap; }
.pick__amount { font-size: 24px; letter-spacing: -.02em; }
.pick__per { color: var(--ink-3); font-size: 14px; }
.pick__alt { grid-column: 3; justify-self: end; color: var(--ink-3); font-size: 13px; }
.pick__alt:empty { display: none; }
.pick__for { grid-column: 2 / -1; color: var(--ink-2); font-size: 15px; }
.pick__facts { grid-column: 2 / -1; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }

/* a choice of a few: words, the chosen one underlined */
.seg { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s-1) var(--s-5); margin: var(--s-4) 0 0; padding: 0; border: 0; justify-self: start; }
.seg__legend { float: left; padding: 0 var(--s-2) 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span {
    position: relative; display: inline-flex; align-items: center; gap: var(--s-2); min-height: 40px;
    font-size: 15px; font-weight: 560; color: var(--ink-3);
    transition: color var(--d-fast) var(--ease);
}
.seg span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--d-move) var(--spring-snap); }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { color: var(--ink); font-weight: 620; }
.seg input:checked + span::after { transform: scaleX(1); }
.seg input:focus-visible + span { outline: 2px solid var(--buoy); outline-offset: 2px; }
.seg__save { font-style: normal; font-size: 12.5px; color: var(--pass-ink); }
.seg__save:empty { display: none; }

.summary { display: grid; gap: var(--s-2); padding: var(--s-4) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--line); }
.summary__line { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.summary__name { font-size: 24px; font-weight: 650; letter-spacing: -.025em; }
.summary__price { font-size: 16px; }
.summary__first { color: var(--ink-2); font-size: 15px; line-height: 1.5; }

.pay-el { min-height: 112px; }
.pay-el__wait { display: flex; align-items: center; gap: var(--s-2); color: var(--ink-2); font-size: 15px; min-height: 112px; }
.pay-el__wait .working { color: var(--buoy); }

.sub-done { justify-items: center; text-align: center; padding-block: clamp(var(--s-7), 8vw, 128px); }
.sub-done h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; line-height: 1.02; }
.sub-done p { color: var(--ink-2); font-size: 18px; max-width: 44ch; }
.sub-done .actions { justify-content: center; }
.sub-done__mark { width: 72px; height: 72px; }

/* account > billing */
.bill { display: grid; gap: var(--s-6); }
.bill .acct-sec__head { margin-bottom: 0; }
.bill__none { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.bill__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--col-gap); }
.bill__tile { display: grid; align-content: start; justify-items: start; gap: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.bill__label { font-size: 12px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.bill__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-3); font-size: 26px; font-weight: 650; letter-spacing: -.025em; }
.bill__price { color: var(--ink-2); font-size: 15px; }
.bill__price:empty { display: none; }
.bill__next { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.bill__tile .btn { margin-top: var(--s-1); }
/* a state is a word in its colour, not a pill */
.chip { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.chip[data-tone="pass"] { color: var(--pass-ink); }
.chip[data-tone="back"] { color: var(--back-ink); }
.chip:empty { display: none; }
.bill__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); }
/* add-ons: more computers and GPU hours, confirmed in place */
.addons { display: grid; gap: var(--s-4); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.addons__head { display: grid; gap: var(--s-1); }
.addons__head h3 { font-size: 22px; letter-spacing: -.025em; }
.addons__head p { color: var(--ink-2); font-size: 15px; max-width: 58ch; }
.addons__rows { display: grid; border-top: 1px solid var(--rule); }
.addon {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-3) var(--s-5);
    padding: var(--s-4) 0; border-bottom: 1px solid var(--line);
    transition: opacity var(--d-base) var(--ease);
}
.addon__text { display: grid; gap: var(--s-1); min-width: 0; justify-items: start; }
.addon__name { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-3); font-size: 17.5px; font-weight: 620; letter-spacing: -.01em; }
.addon__note { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.addon__tier { margin-top: var(--s-1); }
.addon[data-soon] .stepper { opacity: .5; }
.addon[data-soon] .addon__name { color: var(--ink-2); }
.addons__gate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3) var(--s-5); padding: var(--s-4) 0 var(--s-4) var(--s-4); border-left: 2px solid var(--line-strong); }
.addons__gate p { color: var(--ink-2); font-size: 15px; max-width: 58ch; }
.addons__confirm { display: grid; gap: var(--s-3); padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 2px solid var(--ink); }
.addons__sum { font-size: 16px; color: var(--ink-2); }
.addons__diff { color: var(--ink); font-weight: 400; font-size: 18px; margin-right: var(--s-1); }
.addons__how { font-size: 14.5px; color: var(--ink-3); max-width: 62ch; }
.addons__how:empty { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .addons__confirm.is-open { animation: rise var(--d-land) var(--spring-land); }
    .addon { animation: rise var(--d-land) var(--spring-land) both; }
    .addon + .addon { animation-delay: 60ms; }
    .addons__sum.is-bump .addons__diff { display: inline-block; animation: diffBump var(--d-land) var(--spring-land); }
}
@keyframes diffBump { 40% { transform: scale(1.08); } }
@media (max-width: 600px) {
    .addon { grid-template-columns: minmax(0, 1fr); }
    .addon .stepper { justify-self: start; }
    .addons__gate .btn--ink { width: 100%; }
    .addons__confirm .actions .btn--ink { flex: 1 1 auto; }
}
.bill__drawer { display: grid; gap: var(--s-3); padding: var(--s-2) 0 var(--s-2) var(--s-5); border-left: 2px solid var(--ink); }
.bill__drawer h3 { font-size: 18px; letter-spacing: -.015em; }
.bill__drawer > p { color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.chgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: var(--s-5); border-top: 1px solid var(--line); }
.chg {
    position: relative; display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3);
    padding: var(--s-3) 0; cursor: pointer; border-bottom: 1px solid var(--line); color: var(--ink-2);
    transition: color var(--d-fast) var(--ease);
}
.chg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chg:hover { color: var(--ink); }
.chg:has(input:checked) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.chg:has(input:focus-visible) { outline: 2px solid var(--buoy); outline-offset: 2px; }
.chg__name { font-weight: 650; }
.chg__price { font-size: 13px; color: var(--ink-2); }

.invs { display: grid; gap: var(--s-2); }
.invs h3 { font-size: 18px; letter-spacing: -.015em; }
.inv { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto minmax(48px, auto) auto; align-items: baseline; gap: var(--s-3); padding: var(--s-3) 0; border-top: 1px solid var(--line); font-size: 15px; }
.inv__num, .inv__state { color: var(--ink-3); font-size: 13px; }
.inv__amt { font-size: 14px; text-align: right; }
.inv__link { justify-self: end; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
    .pick, .chg { animation: rise var(--d-land) var(--spring-land) both; animation-delay: calc(var(--i, 0) * 50ms); }
    .summary.is-new { animation: rise var(--d-land) var(--spring-land); }
    .pay-el[data-ready] { animation: rise var(--d-land) var(--spring-land); }
    .bill__drawer.is-open { animation: rise var(--d-land) var(--spring-land); }
    .bill__tile { animation: rise var(--d-land) var(--spring-land) both; }
    .bill__tile + .bill__tile { animation-delay: 60ms; }
    .inv { animation: rise var(--d-move) var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
    .sub-done h1, .sub-done p { animation: rise var(--d-land) var(--spring-land) both; }
    .sub-done p { animation-delay: 80ms; }
}

@media (max-width: 900px) {
    .sub { grid-template-columns: minmax(0, 1fr); }
    .sub__pay { position: static; }
    .bill__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
}
@media (max-width: 600px) {
    .pick { grid-template-columns: auto minmax(0, 1fr); }
    .pick__price, .pick__alt { grid-column: 2; justify-self: start; }
    .seg { display: flex; }
    .seg__legend { float: none; width: 100%; }
    .inv { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: 2px; }
    .inv__num { grid-column: 1; grid-row: 2; }
    .inv__state { grid-column: 2; grid-row: 2; text-align: right; }
    .inv__amt { grid-column: 2; grid-row: 1; }
    .inv__link { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
}

/* ── the one plan and its dials ─────────────────────────────────────── *
 * A spec sheet of ruled rows, each a dial: its words on the left, its
 * control on the right.  The total beside it is the one big figure on the
 * page, and its digits roll on a spring when a dial turns.  Every number
 * in here is drawn by js/billing.js from the server's prices. */
.build { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--col-gap); align-items: start; }
.build--drawer { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.dials__wait { display: flex; align-items: center; gap: var(--s-2); color: var(--ink-2); min-height: 240px; }
.dials__wait .working { color: var(--buoy); }

.dials { display: grid; border-top: 1px solid var(--rule); }
.dial { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s-3) var(--s-5); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
.dial__text { display: grid; gap: var(--s-1); min-width: 0; }
.dial__name { font-size: 19px; font-weight: 650; letter-spacing: -.015em; }
.dial__note { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.dial__facts { font-size: 14px; color: var(--ink-3); }
.dial__for { font-size: 14px; color: var(--ink); font-weight: 560; }
.dial__for:empty { display: none; }
.dial--base .dial__name { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; }
.dial__price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.dial__top { display: inline-flex; align-items: baseline; gap: var(--s-1); white-space: nowrap; }
.dial__amount { font-size: 30px; letter-spacing: -.03em; }
.dial__per { font-size: 14px; color: var(--ink-3); }
.dial__sub { font-size: 13.5px; color: var(--ink-2); }
.dial__soon { margin-left: var(--s-2); color: var(--buoy-ink); }
.dial--gpu[data-soon] .seg--gpu { opacity: .7; }
.hours__fine { font-size: 13.5px; color: var(--ink-2); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-control); }
.stepper__btn {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--ink);
    transition: background var(--d-fast) var(--ease), transform var(--d-move) var(--spring-snap);
}
.stepper__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.stepper__btn:hover:not([disabled]) { background: var(--tint); }
.stepper__btn[disabled] { color: var(--ink-4); cursor: not-allowed; }
.stepper__n {
    display: inline-block; min-width: 3ch; text-align: center; font-size: 20px; font-weight: 650; font-variant-numeric: tabular-nums;
    padding: 0 var(--s-1); line-height: 44px; border-inline: 1px solid var(--line);
}

.pips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: var(--s-2); max-width: 22rem; }
.pips i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: transparent; transition: background var(--d-base) var(--ease), border-color var(--d-base) var(--ease), transform var(--d-land) var(--spring-land); }
.dial--pcs .pips i { border-radius: 1px; }
.pips i[data-on] { background: var(--buoy); border-color: var(--buoy); transform: scale(1.12); }
.pips i[data-on][data-base] { background: var(--ink); border-color: var(--ink); transform: none; }

.seg--gpu, .seg--iv { margin: 0; }
.seg label:has(input[disabled]) { cursor: not-allowed; }
.seg input[disabled] + span { opacity: .45; }
.dial--iv { grid-template-columns: minmax(0, 1fr); padding-block: var(--s-3); }

/* Monthly or yearly: two words and one underline that springs between them. */
.switch { position: relative; display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: var(--s-6); justify-self: start; margin: 0; padding: 0; border: 0; }
.switch__opt { position: relative; z-index: 1; cursor: pointer; }
.switch__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__label { display: flex; align-items: center; gap: var(--s-2); min-height: 44px; font-size: 16px; font-weight: 600; color: var(--ink-3); white-space: nowrap; transition: color var(--d-fast) var(--ease), transform var(--d-move) var(--spring-snap); }
.switch__opt:hover .switch__label { color: var(--ink); }
.switch__opt input:checked + .switch__label { color: var(--ink); }
.switch__opt input:focus-visible + .switch__label { outline: 2px solid var(--buoy); outline-offset: 2px; }
.switch__badge { font-style: normal; font-size: 13px; font-weight: 620; color: var(--pass-ink); }
/* The chosen word is underlined; the line springs out from its left. */
.switch__label { position: relative; }
.switch__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--d-land) var(--spring-snap); }
.switch__opt input:checked + .switch__label::after { transform: scaleX(1); }
.switch__thumb { display: none; }
.switch__opt:active .switch__label { transform: scale(var(--press)); }

.hours { grid-column: 1 / -1; display: grid; gap: var(--s-2); padding: var(--s-3) 0 0; }
.hours[hidden] { display: none; }
.hours__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); flex-wrap: wrap; }
.hours__label { font-size: 15px; font-weight: 600; }
.hours__n { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hours__range { --fill: 0%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; }
.hours__range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) 0 var(--fill), var(--line-strong) var(--fill) 100%); }
.hours__range::-moz-range-track { height: 2px; background: var(--line-strong); }
.hours__range::-moz-range-progress { height: 2px; background: var(--ink); }
.hours__range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px; border-radius: 50%; background: var(--table); border: 2px solid var(--ink); transition: transform var(--d-land) var(--spring-land); }
.hours__range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--table); border: 2px solid var(--ink); }
.hours__range:active::-webkit-slider-thumb { transform: scale(1.18); }
.hours__range:focus-visible { outline: none; }
.hours__range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--buoy-soft); }
.hours__range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px var(--buoy-soft); }
.hours__ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--ink-4); }  /* as many ticks as the dial has (3 since 2026-11-21), each under its stop */
.hours__ticks span { text-align: center; }
.hours__ticks span:first-child { text-align: left; }
.hours__ticks span:last-child { text-align: right; }
.hours__ticks span[data-on] { color: var(--ink-2); }

/* the total: the one big figure, on a heavy rule */
.total { position: sticky; top: calc(var(--bar-h) + var(--s-5)); display: grid; gap: var(--s-3); padding-top: var(--s-4); border-top: 2px solid var(--ink); }
.total[hidden] { display: none; }
.total--inline { position: static; border-top-width: 1px; }
.total__label { font-size: 12px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.total__figure { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 var(--s-2); line-height: 1.2; min-width: 0; }
.total__amount { font-size: clamp(52px, 5.6vw, 84px); font-weight: 680; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.total--inline .total__amount { font-size: clamp(40px, 4.4vw, 56px); }
.total__per { font-size: 16px; color: var(--ink-3); }
.total__lines { display: grid; gap: var(--s-1); margin: 0; padding: var(--s-3) 0 0; list-style: none; border-top: 1px solid var(--line); }
.total__lines li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); font-size: 14.5px; color: var(--ink-2); }
.total__lines .mono { color: var(--ink); font-size: 13.5px; white-space: nowrap; }
.total__save { font-size: 15px; font-weight: 600; color: var(--pass-ink); line-height: 1.45; }
@media (prefers-reduced-motion: no-preference) {
    .total__line { animation: rise var(--d-land) var(--spring-land) both; }
    .total__save:not([hidden]) { animation: rise var(--d-land) var(--spring-land); }
}
.total__fine { font-size: 14px; color: var(--ink-3); line-height: 1.5; }

/* the rolling figure */
.roll { display: inline-flex; align-items: baseline; }
.roll__c { display: inline-block; line-height: 1.2; }
/* Each digit's window is a little taller than the type (1.2em) and clipped
 * only top and bottom: a 1em window with the figure's tight tracking cut the
 * tops, bottoms and right edges off the big total (founder 2026-11-15). */
.roll__d { height: 1.2em; overflow-x: visible; overflow-y: clip; overflow-clip-margin: 0; }
.roll__strip { display: flex; flex-direction: column; transition: transform var(--d-develop) var(--spring-land); }
.roll__strip span { display: block; height: 1.2em; line-height: 1.2; text-align: center; }
.bill__dials { color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.bill__gpu-note { font-size: 14.5px; font-weight: 560; color: var(--back-ink); }
.bill__gpu-note[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
    .roll.is-bump { animation: rollBump var(--d-land) var(--spring-land); }
    .stepper__n.is-pop { animation: rise var(--d-land) var(--spring-land); }
    .hours:not([hidden]) { animation: rise var(--d-land) var(--spring-land); }
}
@media (prefers-reduced-motion: reduce) {
    .roll__strip, .pips i, .stepper__btn, .hours__range::-webkit-slider-thumb { transition: none; }
}
@keyframes rollBump { 0% { transform: translateY(0); } 40% { transform: translateY(-3px); } 100% { transform: none; } }

@media (max-width: 900px) {
    .build, .build--drawer { grid-template-columns: minmax(0, 1fr); }
    .total { position: static; }
}
@media (max-width: 600px) {
    .dial { grid-template-columns: minmax(0, 1fr); }
    .dial > .stepper, .dial > .seg, .dial__price { justify-self: start; }
    .seg--gpu { display: inline-flex; flex-wrap: wrap; }
    .dial__price { justify-items: start; text-align: left; }
    .cta__actions .btn--ink { flex: 1 1 100%; }
    .pips { gap: 4px; }
    .hours__ticks span:not(:first-child):not(:nth-child(5)):not(:last-child) { visibility: hidden; }
}

/* What the app calls you: one field and Save, under You. */
.acct-name { margin-bottom: var(--s-5); }
.acct-name__row { display: flex; gap: var(--s-4); align-items: center; }
.acct-name__row input { flex: 1; min-width: 0; }

/* A subpage's band picture under its head: edge to edge, a little shorter
 * than the home page's. */
main > .hero__pic img { height: clamp(260px, 42vw, 620px); }
main > .hero__pic + .pane { border-top: 0; }
