/* Hallmark · redesign: full · shape: Introduction, then the room at work · genre: modern-minimal · theme: brand (Hotline's own: the window's dark ground, Plex Sans, the toad's green) · job: try · idea: "The page introduces itself the way a teammate would: by name, in the first person, then shows the room at work." · vibe: "dark desk, one green mark, plain facts, one grid"
 * paper: oklch(13.5% 0.007 250) · accent: oklch(76% 0.17 142) · display: IBM Plex Sans · body: IBM Plex Sans · mono: the system's own · grid: twelve columns; every band is a hairline, its head on 1 to 5 and its material on 6 to 12 · hero: the name typed, the owner's sentence, one download beside its install line, then the desk window full width; a phone gets the words alone · nav: the toad and the name, there from the first frame, the toad on the call while the headline types; on scroll the headline's name rises into the masthead's; Docs, the GitHub mark, a Download once the hero's has gone · footer: one hairline row on the same grid · imagery: the product, real captures, the whole windows in the Mac's chrome; no film · signature: the name gliding up from the headline to sit beside the toad in the masthead · copy: the owner's words, changed only where a picture changed or the owner asked
 * axes: dark/grotesk-sans/chromatic-green · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S5 R5 V3 · weakest: V, a redesign keeps the page's order and its brand by request; the composition is what moved: one grid, the mark at mark size, the desk at full frame */
/* Hallmark · reworded "Goldie’s thread on desk and phone: a grant she asked for, then work handed to Quill, Kit and Huck." to "Goldie’s thread: you say yes, she hands Kit the fixes, then checks the page on her own computer." · the hero is now the desk alone, which shows the go-ahead, the handoff and the check, not the grant */
/* By the owner's request, against Hallmark's floor (47a, a drawn OS window): the page is screenshots only, each whole window in the Mac's chrome. The chrome is drawn around real captures (the desk from the dev build, the browser's own bar over the page Kit built, the computer's own screen), with the lights where the app seats them: 12px, centred on the 40px strip. */
/* Hallmark · reworded "Nothing sits between us." to "Your machine, your keys, your data." and "Open source, every line of me." to "Open source, MIT or Apache-2.0.", dropping the licence from the sentence under it · by the owner’s choice; later "Run me on your machine." to "Run hotline now.", in the same green highlight as the hero’s sentence */
/* Hallmark · dropped the open-source section (its head, the clone lines, the three reasons, Browse the code, How to build it) and the four facts (No account, Your keys your keychain, Your data stays put, Signed for macOS), folded into one line under the download: the ending is the ask alone · by the owner's choice; the footer links the code, the releases, the server docs and the iPhone beta */
/* Hallmark · waive 2b · asked for by the owner · the gold is a light that crosses a copy of the owner's sentence once as the name lands, 1.3s, then the copy is gone; the sentence itself is always solid ink, and what stays is three green highlights, not gradient text and never runs with reduced motion */
/* Hallmark · reworded the lead from "I’m an open-source personal agent ecosystem. I work with my teammates, have my own computer, and run on the subscriptions you already pay for." to "I’m an open-source desktop app. I run a team of AI agents on your own computer, each with a name, a job and a browser of its own, on the subscriptions you already pay for." (and the title, descriptions and share line to match), "Three things I did this morning." to "Three things my team did this morning.", "A browser of my own, or a whole desktop." to "A browser for each, or a whole desktop." · a cold visitor from a text ad must know what this is on the first screen, and "I" is always hotline, its agents always my teammates · by the owner’s choice */
/* Hallmark · dropped .toad--hero, .toad--sign, .sign · the toad is the mark, in the masthead and the footer; at headline size it read as a sticker */
@import url("./tokens.css?v=20261105g");
@import url("./base.css?v=20261105g");

/* Page */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); padding: var(--space-xs) var(--space-sm); background: var(--color-ink); color: var(--color-paper); border-radius: var(--radius-control); z-index: var(--z-toast); text-decoration: none; }
.skip:focus-visible { top: var(--space-md); }
.num { font-variant-numeric: tabular-nums; }

/* The grid: twelve columns, one gap. Every band puts its head on 1 to 5 and its material on 6 to 12,
   so whatever sits on the right starts on the same line all the way down the page. */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.col-l { grid-column: 1 / 6; }
.col-r { grid-column: 6 / -1; }

/* Masthead: the toad and the name, from the first frame; whoever arrives from an ad that said
   hotline sees it at once, while the headline tries its names. */
/* At rest the bar has no ground and no edge, only the mark and its links. The ground and the hairline
   rise with the same progress as the name's flight (--morph, 0 to 1), so nothing cuts across the
   headline mid-move, and once the name has docked whatever passes beneath meets a frosted edge.
   Without script it is simply solid. */
.mast { position: sticky; top: 0; z-index: var(--z-sticky-nav); border-bottom: var(--rule-hair) solid color-mix(in oklab, var(--color-rule) calc(var(--morph, 0) * 100%), transparent); background: color-mix(in oklab, var(--color-paper) calc(var(--morph, 0) * 94%), transparent); }
.mast.is-moving, .mast.is-docked { -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4); }
html:not(.js) .mast { background: var(--color-paper); border-bottom-color: var(--color-rule); }
.mast-in { display: flex; align-items: center; justify-content: space-between; height: var(--mast-h); }
.brand { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); text-decoration: none; }
/* The toad: one drawing, at the size the window's own chrome wears it. */
.toad { overflow: visible; color: var(--color-accent); }
.toad .g-all, .toad .g-body, .toad .g-eyeL, .toad .g-eyeR, .toad .g-hand { fill: currentColor; }
.toad .g-pupils { fill: var(--color-paper); }
.toad .g-body, .toad .g-eyeL, .toad .g-eyeR, .toad .g-pupils, .toad .g-receiver { transform-box: fill-box; transform-origin: center; }
.toad .g-line { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.toad .g-hand { transition: opacity var(--dur-short) var(--ease-out); }
/* The mark's box is the toad's body alone (its top the eyes, its bottom the chin), so centring the
   box on the word centres the toad; the receiver it lifts on a call rises out of the box. */
.toad--mast { width: 34px; height: 17px; }
.brand-word { font-weight: 600; font-size: var(--text-lg); line-height: normal; letter-spacing: var(--tracking-section); }
/* While the headline's name is in flight the masthead's steps aside, so the one that lands is the one
   that stays. */
.js .mast .brand-word { transition: opacity var(--dur-micro) linear; }
.js .mast.is-moving .brand-word { opacity: 0; }

.mast-nav { position: relative; display: flex; align-items: center; gap: var(--space-lg); }
.mast-links { display: flex; align-items: center; gap: var(--space-lg); transition: transform var(--dur-long) var(--ease-out); }
.mast-links a { color: var(--color-ink-2); font-size: var(--text-sm); text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
.mast-links a:hover { color: var(--color-ink); }
.gh { position: relative; display: inline-flex; align-items: center; gap: var(--space-xs); height: 40px; font-size: var(--text-sm); font-weight: 600; }
.gh::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--space-xs)); }
/* The mark at the word's own optical size, so Docs and GitHub read as a pair. */
.gh svg { width: 20px; height: 20px; fill: currentColor; }
.mast .btn--nav { height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.js .btn--nav { position: absolute; right: 0; top: 50%; opacity: 0; visibility: hidden; transform: translateY(-50%) translateY(calc(-1 * var(--space-2xs))); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), visibility 0s linear var(--dur-short); }
.js .mast.is-past .btn--nav { opacity: 1; visibility: visible; transform: translateY(-50%); transition: opacity var(--dur-short) var(--ease-out) 80ms, transform var(--dur-short) var(--ease-out) 80ms, visibility 0s; }
.js .mast.is-past .mast-links { transform: translateX(calc(-1 * (var(--dl-w, 120px) + var(--space-lg)))); }

/* The name in flight between the headline and the masthead. */
.morph { position: fixed; left: 0; top: 0; z-index: calc(var(--z-sticky-nav) + 1); transform-origin: 0 0; font-weight: 600; line-height: normal; white-space: nowrap; pointer-events: none; will-change: transform; color: var(--color-ink); }

/* Hero: it says its name, says what it is, and offers itself. */
.hero { padding-top: var(--space-2xl); }
.hero-text { max-width: 44rem; }
.hero h1 { font-size: var(--text-display); line-height: 1.04; letter-spacing: var(--tracking-display); font-weight: 600; white-space: nowrap; }
.hello .name { line-height: normal; }
.js .hero h1:not(.is-done):not(.is-own) .stop { display: none; }
.hero h1.is-morphing .name { visibility: hidden; }
.hello .hi, .hello .stop { opacity: calc(1 - var(--morph, 0) * 1.6); }
.caret { display: inline-block; width: 0.06em; height: 0.78em; margin-left: 0.06em; vertical-align: -0.04em; background: var(--color-accent); opacity: 0; }
.is-typing .caret { opacity: 1; animation: caret 1s steps(1) infinite; }
.is-done .caret { opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .is-typing .caret { animation: none; } .is-done .caret { transition: none; } }

.lead { margin-top: var(--space-lg); font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 46ch; }
/* When the name lands on its own, the sentence under it catches the light once: a band of gold
   at 45 degrees crosses it from the top left to the bottom right. The gold runs on a copy of the
   sentence laid exactly over it, so the sentence keeps its own ink and its highlights throughout.
   The copy is the gradient's window, so the gradient is three times the paragraph each way and
   slides from one corner past the other; the script times the highlights from this geometry. */
.lead { position: relative; isolation: isolate; }
.lead.is-shimmer::after { content: attr(data-shine); position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, transparent 42%, var(--color-gold) 47%, var(--color-gold-hi) 50%, var(--color-gold) 53%, transparent 58%) 100% 100% / 300% 300% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.3s linear both; }
@keyframes shimmer { from { background-position: 100% 100%; } to { background-position: 0 0; } }
/* What the sentence promises, and the last heading, is highlighted in the toad's green, the stroke
   leaning like italic while the words stay upright: in the hero laid down by the light as it
   passes, there at rest without it; on the heading there from the start.
   Each word carries its own slanted piece, its space included, behind its text; every piece has
   the same slant and height, so neighbours join along one edge into a single stroke, and a phrase
   that wraps is highlighted on each of its lines. The ends of a phrase reach a little further, so
   the slant clears its first and last letters. */
mark { background: none; color: inherit; }
mark > span { position: relative; color: var(--color-ink); }
mark > span::before { content: ""; position: absolute; z-index: -1; inset: 0.06em 0; background: var(--color-mark); transform: skewX(-12deg); }
mark > span:first-child::before { left: -0.18em; }
/* Each piece runs a hair under the next, so the joins never show. */
mark > span:not(:last-child)::before { right: -0.06em; }
mark > span:last-child::before { right: -0.18em; }
.lead.is-waiting mark > span { color: inherit; }
.lead.is-waiting mark > span::before { clip-path: inset(0 100% 0 0); }
@media (prefers-reduced-motion: reduce) { .lead.is-shimmer::after { content: none; } }
.hero-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); margin-top: var(--space-xl); }
/* The install line sits beside the download as its equal: the same height, set as the command it is. */
.cmd { display: inline-flex; align-items: center; gap: var(--space-sm); min-width: 0; max-width: 100%; height: 52px; padding: 0 var(--space-sm) 0 var(--space-md); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-control); background: var(--color-paper-2); color: var(--color-ink-2); font-family: var(--font-mono); font-size: var(--text-xs); cursor: pointer; transition: border-color var(--dur-micro) var(--ease-out); }
.cmd code { font: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--color-ink); }
.cmd-label { margin-left: var(--space-xs); padding-left: var(--space-sm); border-left: var(--rule-hair) solid var(--color-rule); font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600; color: var(--color-muted); transition: color var(--dur-micro) var(--ease-out); }
.cmd:hover { border-color: var(--color-muted); }
.cmd:hover .cmd-label { color: var(--color-ink); }
.cmd:active { background: var(--color-paper-3); }
.prompt { color: var(--color-accent); user-select: none; }
.fine { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.fine a { color: var(--color-ink-2); }
.fine a:hover { color: var(--color-ink); }

/* Pictures: the product, in a hairline and a soft corner. */
.shot { margin: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; background: var(--color-paper-2); }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
/* A whole window is shown as the Mac draws it: the capture carries its own corners, edge and
   lights, so the page adds no frame, only the shadow a window casts, following its corners. */
.window { margin: 0; filter: var(--shadow-window); }
.window img { display: block; width: 100%; height: auto; }

/* The stage: the desk window across all twelve columns, its caption under it on 1 to 8. */
.stage { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); margin: var(--space-2xl) 0 0; }
.stage-desk { position: relative; grid-column: 1 / -1; grid-row: 1; aspect-ratio: 2304 / 1575; }
.stage .caption { grid-column: 1 / 9; grid-row: 2; margin-top: var(--space-md); }
.caption { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); max-width: 60ch; }

/* Bands: a hairline, then the head on the left and its material on the right. */
/* The hairline is drawn inside the gutters, so it spans exactly the twelve columns it heads. */
.band, .section, .foot-in { background: linear-gradient(var(--color-rule), var(--color-rule)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) var(--rule-hair) no-repeat; }
.band { margin-top: var(--section-gap); padding-top: var(--space-xl); }
/* The band is a strip, not a section: what follows it comes close. */
.section { margin-top: var(--section-gap); padding-top: var(--space-xl); }
.section h2 { font-size: var(--text-section); line-height: 1.1; letter-spacing: var(--tracking-section); font-weight: 600; max-width: 14ch; }
.sec-p { font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); max-width: 44ch; }

/* What it runs on, said once: your subscription, your coding tool, or both. The five majors on
   the right, each with its two routes under its name; the rest drift by in one quiet row under them, paused under the pointer. */
.runs { align-items: start; }
.runs-h { font-size: var(--text-lg); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; max-width: 22ch; }
.runs-sub { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-muted); max-width: 36ch; }
.majors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md) var(--space-lg); }
.majors strong { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; }
/* Each major's mark, as the window draws it (ui/src/assets/marks): a one-colour mark is a mask
   filled with the ink; a mark in its maker's colours is a picture. */
.mark { flex: none; width: 16px; height: 16px; }
.mark--mono { background: var(--color-ink); -webkit-mask: var(--mark) center / contain no-repeat; mask: var(--mark) center / contain no-repeat; }
.mark-openai { --mark: url("/marks/openai.svg"); } .mark-xai { --mark: url("/marks/xai.svg"); } .mark-ollama { --mark: url("/marks/ollama.svg"); }
/* Under each name, two lines every time: the tool, then the subscription or key it stands beside. */
.majors span { display: block; font-size: var(--text-xs); color: var(--color-muted); white-space: nowrap; }
.majors strong + span { margin-top: var(--space-2xs); }
.also { display: flex; margin-top: var(--space-xl); min-width: 0; }
/* The row starts past the fade on its left, so the first name reads whole; what drifts out fades there. */
.ticker { display: flex; min-width: 0; overflow: hidden; padding-left: var(--space-lg); -webkit-mask-image: linear-gradient(to right, transparent, var(--color-ink) var(--space-md), var(--color-ink) calc(100% - var(--space-xl)), transparent); mask-image: linear-gradient(to right, transparent, var(--color-ink) var(--space-md), var(--color-ink) calc(100% - var(--space-xl)), transparent); }
.ticker-row { flex: none; display: flex; gap: var(--space-sm); list-style: none; margin: 0; padding: 0 var(--space-sm) 0 0; font-size: var(--text-sm); color: var(--color-ink-2); white-space: nowrap; animation: ticker 48s linear infinite; }
/* Each name in its own faint pill, so the row reads as a set of things and not a sentence. */
.ticker-row li { padding: var(--space-2xs) var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: 999px; }
.ticker:hover .ticker-row { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }
/* Without motion the row is one row that scrolls by hand, its copy gone. */
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } .ticker-row { animation: none; } .ticker-row[aria-hidden] { display: none; } }

/* Three mornings' work: a whole window, then two pieces of one on two equal trays. */
.proofs { list-style: none; margin: var(--space-2xl) 0 0; padding: 0; row-gap: var(--space-2xl); }
.proof { grid-column: span 6; min-width: 0; }
.proof--wide { grid-column: 1 / -1; }
.proof h3 { margin-top: var(--space-lg); font-size: var(--text-title); line-height: 1.3; font-weight: 600; }
.proof p { margin-top: var(--space-xs); color: var(--color-ink-2); max-width: 52ch; }
/* The pieces are small captures; each sits on its own tray at its own pixels, never enlarged. */
.shot--piece { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: var(--space-lg); }
.shot--piece img { width: auto; height: auto; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-control); }

/* Browser or desktop: the words and the switch on the left, the window it picks on the right.
   Both windows share one cell, so the band keeps the taller one's height and nothing moves
   when the switch flips; without the script they stack, the browser first. */
.media-text .sec-p { margin-top: var(--space-lg); }
/* A head set as its two phrases, each on a line of its own, wider than the usual measure. */
.section h2.lines-2 { max-width: none; }
.lines-2 span { display: block; }
.pick { display: inline-flex; gap: var(--space-3xs); margin-top: var(--space-xl); padding: var(--space-3xs); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-control); background: var(--color-paper-2); }
.pick[hidden] { display: none; }
.pick button { height: 44px; padding: 0 var(--space-lg); border: 0; border-radius: calc(var(--radius-control) - var(--space-3xs)); background: none; color: var(--color-muted); font: inherit; font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.pick button:hover { color: var(--color-ink); }
.pick button:active { background: var(--color-paper-3); }
.pick button[aria-selected="true"] { background: var(--color-paper-3); color: var(--color-ink); }
.reach-one { margin: 0; }
.reach-one + .reach-one { margin-top: var(--space-2xl); }
.reach-one .caption { margin-top: var(--space-md); }
.reach[data-shown] { display: grid; }
.reach[data-shown] > .reach-one { grid-area: 1 / 1; margin: 0; transition: opacity var(--dur-short) var(--ease-out), visibility var(--dur-short); }
.reach[data-shown="browser"] > #reach-desktop, .reach[data-shown="desktop"] > #reach-browser { opacity: 0; visibility: hidden; }

/* What stays yours: four cards across the whole row, three columns each, no head over them. */

/* Download: one centred column, the page's only centred group. The head, the one button, the
   install line, a line that points at GitHub for every build and at the docs for a server, then
   the phone, smaller still. */
/* The last band is the ask alone: the head, one row of ways in (the build for this system, the
   install line, the docs), and a line that says what it costs and what stays yours. */
.dl { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: start; gap: var(--space-lg); }
.dl-act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); max-width: 100%; }
.dl-docs { color: var(--color-ink-2); }
.dl-docs:hover { color: var(--color-ink); }
.dl .fine { margin: 0; }

/* The phone's card: up from the bottom, the page dimmed behind it, in the page's own ground. Each
   way out is a row the size of a thumb, with a hairline between. */
.sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 90dvh; margin: 0; padding: 0; border: 0; border-radius: var(--radius-card) var(--radius-card) 0 0; background: var(--color-paper-2); color: var(--color-ink); box-shadow: 0 -1px 0 var(--color-rule); }
.sheet::backdrop { background: color-mix(in oklab, var(--color-paper) 70%, transparent); }
.sheet[open] { animation: sheet-up var(--dur-long) var(--ease-out); }
@keyframes sheet-up { from { transform: translateY(100%); } }
.sheet-in { position: relative; padding: var(--space-lg) var(--space-md) max(var(--space-lg), env(safe-area-inset-bottom)); }
.sheet-x { position: absolute; top: var(--space-sm); right: var(--space-sm); display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill); background: none; color: var(--color-ink-2); cursor: pointer; }
.sheet-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.sheet-x:hover { color: var(--color-ink); background: var(--color-paper-3); }
.sheet h2 { padding-right: 44px; font-size: var(--text-title); line-height: 1.3; font-weight: 600; }
.sheet-p { margin-top: var(--space-xs); color: var(--color-ink-2); }
.ways { list-style: none; margin: var(--space-lg) 0 0; padding: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.ways li { border-bottom: var(--rule-hair) solid var(--color-rule); }
.ways button, .ways a { display: flex; align-items: center; gap: var(--space-md); width: 100%; min-height: 60px; padding: var(--space-sm) 0; border: 0; background: none; font: inherit; color: var(--color-ink); text-align: left; text-decoration: none; cursor: pointer; }
/* One line drawing per way, in the page's green, the way the mark and the prompt are. */
.way-ico { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--color-accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.way-text { display: flex; flex-direction: column; min-width: 0; }
.way-text span { font-size: var(--text-sm); color: var(--color-muted); }
.ways button:hover, .ways a:hover { color: var(--color-accent); }
.sheet .fine { margin-top: var(--space-md); }
@media (prefers-reduced-motion: reduce) { .sheet[open] { animation: none; } }
/* The phone, a step quieter than the line above: the beta as a link, Android as words that are not one yet. */

/* Controls: one filled button, one quiet one, text links. */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 var(--space-lg); border: 0; border-radius: var(--radius-control); background: var(--color-ink); color: var(--color-paper); font-weight: 600; font-size: var(--text-md); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: color-mix(in oklab, var(--color-ink) 86%, var(--color-paper)); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--color-paper-3); color: var(--color-muted); cursor: not-allowed; }
.btn--quiet { height: 44px; padding: 0 var(--space-sm); background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-sm); }
.btn--quiet:hover { background: color-mix(in oklab, var(--color-paper-3) 80%, var(--color-ink)); }
@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } .mast-links, .js .btn--nav { transition: none; } }

/* Footer: under a hairline, on the same grid: the mark on the left; the links and the licence where every right column starts. */
.foot { margin-top: var(--section-gap); }
.foot-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: center; padding-top: var(--space-xl); padding-bottom: var(--space-2xl); font-size: var(--text-sm); color: var(--color-muted); }
.brand--foot { grid-column: 1 / 6; justify-self: start; gap: var(--space-xs); font-weight: 600; font-size: var(--text-md); }
.brand--foot svg { width: 26px; height: 13px; }
.f-body { fill: var(--color-accent); }
.f-pupils { fill: var(--color-paper); }
.foot-nav { grid-column: 6 / -1; display: flex; flex-wrap: wrap; gap: var(--space-lg); }
.foot-nav a { color: var(--color-ink-2); text-decoration: none; transition: color var(--dur-micro) var(--ease-out); }
.foot-nav a:hover { color: var(--color-ink); }
.foot small { grid-column: 6 / -1; font-size: inherit; }

/* Where the right column is too narrow for five, the majors take the whole row under the line. */
@media (max-width: 76rem) { .majors { grid-column: 1 / -1; gap: var(--space-md) var(--gap-columns); margin-top: var(--space-lg); } .also { grid-column: 1 / -1; } }
/* Tablet: the bands stack, the picture rows keep their columns. */
@media (max-width: 60rem) {
  :root { --mast-h: 64px; }
  .col-l, .col-r { grid-column: 1 / -1; }
  .grid:not(.proofs) { row-gap: var(--space-xl); }
  .grid.runs { row-gap: var(--space-md); }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .brand--foot, .foot-nav, .foot small { grid-column: 1 / -1; }
}
/* Phone: one column; the hero is the phone shot, and the desk stays home. */
@media (max-width: 40rem) {
  :root { --section-gap: 64px; }
  .mast-nav, .mast-links { gap: var(--space-md); }
  .mast .btn--nav { height: 36px; padding: 0 var(--space-sm); }
  .js .mast.is-past .mast-links { transform: translateX(calc(-1 * (var(--dl-w, 120px) + var(--space-md)))); }
  .hero { padding-top: var(--space-xl); }
  .hero-act .btn, .hero-act .cmd, .dl .btn, .dl .cmd { width: 100%; }
  /* On a phone the desk would be too small to read, so the stage is the window at phone width:
     Goldie's thread alone, captured at that width, not the desk shrunk. */
  .stage { margin-top: var(--space-lg); }
  .stage-desk { aspect-ratio: 800 / 1440; }
  /* The window follows the button, and the line about what a phone can do comes after it, so the
     picture is the next thing a thumb reaches. */
  .hero { display: flex; flex-direction: column; padding-top: var(--space-lg); }
  .hero-text { display: contents; }
  .stage { order: 1; }
  .hero .fine { order: 2; }
  .majors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proofs { row-gap: var(--space-xl); }
  .proof { grid-column: 1 / -1; }
  /* The pieces drop their trays and take the width, so their text stays at its own size. */
  .shot--piece { display: block; aspect-ratio: auto; padding: 0; border: 0; background: none; }
  .shot--piece img { width: 100%; }
}
