/* Hallmark · redesign: full · shape: Feature Stack (kept sequence, new composition) · genre: modern-minimal · theme: custom, pinned by the user (graphite dark, Geist + Geist Mono, one electric blue, 1px hairlines) · job: sign up (install)
 * hero: Split (headline and actions on columns 1 to 6, the evidence trace on 7 to 12) · nav: edge-aligned, sticky · footer: colophon · imagery: screenshots 12 (the redesigned app, sample data, dark) · signature: a feature's requirements with the state each one earned and the evidence behind it, set beside the headline
 * axes: dark/grotesk-sans/cool · posture: committed · copy: verbatim (one alt text corrected to match the new screenshots) · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R4 V4 · weakest: E, the tables carry the method in many words; argued instead that the readers are developers who want the exact files and calls */
/* Hallmark · dismissed 41 · --color-accent-ink sits only on --color-accent-fill (about 5:1), never on --color-accent; .band keeps the body ink on its dark surface */
/* Hallmark · waive 72 · .cmd code scrolls sideways by design · a full install command is longer than any column and must stay on one line to be copied */
/* Hallmark · dismissed 59 · a redesign keeps the page's ten sections; only their composition changed */
/* Hallmark · dismissed render · the linter's renderer could not fetch the self-hosted woff2; captures taken through Chrome show Geist loaded */
/* Hallmark · dismissed F17 · the method head sits in a sticky four-column rail beside the tables by design; four short lines read as one block */
/* Hallmark · dismissed F1 · straight apostrophes are in the owner's verbatim copy */
/* Hallmark · dismissed F4 · the pressed language cell and the selected platform tab are toggle states, not button recipes */
/* Hallmark · answered 404 · 404.html links /plan-atlas/ absolutely because Pages serves it at any depth */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- chrome ---------- */
.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }
code { font-family: var(--font-mono); font-size: 0.9em; color: var(--color-ink-2); }
body { font-size: var(--text-md); font-feature-settings: "ss01"; }
h1, h2, h3 { color: var(--color-ink); }
.lead { color: var(--color-muted); }

.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); border-bottom: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); min-height: 60px; }
.wordmark { display: inline-flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); text-decoration: none; font-weight: 600; font-size: var(--text-md); letter-spacing: -0.01em; white-space: nowrap; border-radius: var(--radius-sm); }
.wordmark__mark { flex-shrink: 0; }
.wordmark__stop { fill: var(--color-accent); }
.wordmark:focus-visible { outline-offset: 4px; }
.nav__links { display: flex; align-items: center; gap: var(--space-md); }
.nav__link { color: var(--color-muted); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; padding: var(--space-xs) var(--space-2xs); border-radius: var(--radius-sm); transition: color var(--dur-micro) var(--ease-out); }
.nav__link:hover { color: var(--color-ink); }

.lang { display: flex; gap: var(--space-3xs); padding: var(--space-3xs); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius); }
.lang__btn { min-width: 40px; min-height: 32px; padding: 0 var(--space-xs); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-faint); font: 500 var(--text-2xs)/1 var(--font-mono); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.lang__btn:hover { color: var(--color-ink); }
.lang__btn[aria-pressed="true"] { background: var(--color-paper-3); color: var(--color-ink); }
.lang__btn:active { background: var(--color-rule); }
.lang__btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; position: relative; z-index: var(--z-raised); }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius); background: var(--color-paper-2); color: var(--color-ink); font: 500 var(--text-sm)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-paper-3); border-color: var(--color-faint); }
.btn:active { background: var(--color-rule); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.btn--primary { background: var(--color-accent-fill); border-color: var(--color-accent-fill); color: var(--color-accent-ink); }
.btn--primary:hover { background: var(--color-accent-fill-hover); border-color: var(--color-accent-fill-hover); }
.btn--primary:active { background: var(--color-accent-fill); border-color: var(--color-accent); }
.btn--sm { min-height: 34px; padding: 0 var(--space-md); font-size: var(--text-xs); }

.copy { flex-shrink: 0; min-height: 44px; padding: 0 var(--space-md); border: 0; border-left: var(--rule-hair) solid var(--color-rule); background: transparent; color: var(--color-muted); font: 500 var(--text-xs)/1 var(--font-body); white-space: nowrap; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.copy:hover { background: var(--color-paper-3); color: var(--color-ink); }
.copy:active { background: var(--color-rule); }
.copy:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
.copy:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- shared ---------- */
section { padding-block: var(--section-gap) 0; }
.head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); margin-bottom: var(--space-xl); }
.head > h2 { grid-column: 1 / 8; }
.head--split > :last-child:not(h2) { grid-column: 8 / 13; align-self: end; }
.note { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-faint); max-width: 70ch; }
.shot { margin: 0; overflow: hidden; border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.shot img { width: 100%; height: auto; }

/* ---------- hero: split, the trace beside the headline ---------- */
.hero { position: relative; padding-block: var(--space-3xl) var(--space-2xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-2xl); align-items: center; }
.hero__col { grid-column: 1 / 7; min-width: 0; }
.hero h1 { font-size: var(--text-display); line-height: 1.02; max-width: 13ch; }
.hero__lead { margin-top: var(--space-lg); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__terms { margin-top: var(--space-lg); font-size: var(--text-sm); color: var(--color-faint); max-width: 52ch; }

.trace { grid-column: 7 / 13; min-width: 0; margin: 0; border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-lg); background: var(--color-paper-2); font-size: var(--text-sm); }
.trace__bar { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2xs) var(--space-sm); padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.trace__id { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--color-faint); }
.trace__title { font-weight: 500; color: var(--color-ink); }
.trace__rows { list-style: none; margin: 0; padding: 0; }
.trace__row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; column-gap: var(--space-sm); row-gap: var(--space-2xs); padding: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.trace__req { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-accent); padding-top: 1px; }
.trace__text { color: var(--color-ink-2); line-height: 1.45; }
.trace__ev { grid-column: 2 / 4; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs) var(--space-xs); font-size: var(--text-xs); color: var(--color-faint); }
.trace__ev code { font-size: var(--text-2xs); padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-sm); background: var(--color-neutral-soft); color: var(--color-ink-2); }
.trace__cap { padding: var(--space-sm) var(--space-md); font-size: var(--text-xs); color: var(--color-faint); }

.state { display: inline-flex; align-items: center; gap: var(--space-2xs); align-self: start; height: 22px; padding: 0 var(--space-xs); border-radius: var(--radius-sm); font-size: var(--text-2xs); font-weight: 500; white-space: nowrap; }
.state::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: currentColor; }
.state--verified { background: var(--color-ok-soft); color: var(--color-ok); }
.state--implemented { background: var(--color-accent-soft); color: var(--color-accent); }
.state--claimed { background: var(--color-warn-soft); color: var(--color-warn); }
.state--planned { background: var(--color-neutral-soft); color: var(--color-muted); }
.state--planned::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }

/* ---------- overview ---------- */
.showcase { padding-top: var(--space-2xl); }
.film { padding-top: var(--space-2xl); }
.film .lead { margin-top: var(--space-md); }
.film__shot { margin-top: var(--space-xl); }
.film__shot video { display: block; width: 100%; height: auto; }
.film__shot video:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.showcase .shot--wide { margin-top: 0; }
.showcase__under { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); margin-top: var(--space-2xl); align-items: start; }
.showcase__text { grid-column: 1 / 9; min-width: 0; }
.showcase__text .lead { margin-top: var(--space-md); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-xl) 0 0; border-top: var(--rule-hair) solid var(--color-rule); }
.facts > div { padding: var(--space-md) var(--space-md) 0 0; min-width: 0; }
.facts > div + div { padding-left: var(--space-md); border-left: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-weight: 500; color: var(--color-ink); }
.facts dd { margin: var(--space-2xs) 0 0; font-size: var(--text-sm); color: var(--color-muted); }
.phone { grid-column: 10 / 13; margin: 0; min-width: 0; }
.shot--phone { border-radius: 22px; }
.phone figcaption { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-faint); }

/* ---------- five views ---------- */
.stack__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); }
.stack__pane { grid-column: 1 / 4; min-width: 0; align-self: start; position: sticky; top: 100px; }
.stack__pane h2 { font-size: var(--text-2xl); }
.stack__index { list-style: none; margin: var(--space-xl) 0 0; padding: 0; border-left: var(--rule-hair) solid var(--color-rule); }
.stack__index a { display: block; margin-left: -1px; padding: var(--space-xs) var(--space-md); border-left: 2px solid transparent; color: var(--color-muted); text-decoration: none; font-size: var(--text-sm); transition: color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out); }
.stack__index a:hover { color: var(--color-ink); }
.stack__index a[aria-current="true"] { color: var(--color-ink); border-left-color: var(--color-accent); }
.stack__index a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.stack__scroll { grid-column: 4 / 13; min-width: 0; display: grid; gap: var(--space-3xl); }
.view { margin: 0; scroll-margin-top: 100px; display: flex; flex-direction: column-reverse; }
.view figcaption { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); margin-bottom: var(--space-lg); align-items: baseline; }
.view h3 { font-size: var(--text-title); font-weight: 600; letter-spacing: -0.015em; }
.view figcaption p { color: var(--color-muted); font-size: var(--text-sm); }

/* ---------- workflow ---------- */
.flow__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.flow__head { grid-column: 1 / 5; min-width: 0; align-self: start; position: sticky; top: 100px; }
.flow__head > * + * { margin-top: var(--space-md); }
.flow__body { grid-column: 5 / 13; min-width: 0; display: grid; gap: var(--space-xl); }
.flow__body .shot { margin: 0; }

.pieces { width: 100%; border-collapse: collapse; font-size: var(--text-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-lg); border-spacing: 0; overflow: hidden; }
.pieces th, .pieces td { text-align: left; vertical-align: top; padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.pieces tbody tr:last-child > * { border-bottom: 0; }
.pieces thead th { background: var(--color-paper-2); color: var(--color-faint); font-weight: 500; font-size: var(--text-xs); }
.pieces tbody th { color: var(--color-ink); font-weight: 500; white-space: nowrap; }
.pieces td { color: var(--color-muted); }
.pieces td code { font-size: var(--text-xs); white-space: nowrap; }
.flow__steps tbody th { width: 9rem; }

/* ---------- team ---------- */
.band { margin-top: var(--section-gap); padding-block: var(--section-gap); border-block: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-2); }
.band__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); align-items: center; }
.band__text { grid-column: 1 / 7; min-width: 0; }
.band__text .lead { margin-top: var(--space-md); }
.board { width: 100%; margin-top: var(--space-xl); border-collapse: separate; border-spacing: 0; font-size: var(--text-sm); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-lg); overflow: hidden; background: var(--color-paper); }
.board th, .board td { text-align: left; padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
.board tbody tr:last-child td { border-bottom: 0; }
.board thead th { color: var(--color-faint); font-weight: 500; font-size: var(--text-xs); background: var(--color-paper-2); }
.board td:first-child { width: 44%; background: var(--color-paper-2); }
.board td:first-child code { color: var(--color-faint); font-size: var(--text-xs); }
.board td:last-child { color: var(--color-ink); }
.band__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-faint); }
.band .shot--portrait { grid-column: 8 / 13; max-width: 440px; justify-self: end; width: 100%; }

/* ---------- setup ---------- */
.cmd { display: flex; align-items: stretch; min-width: 0; border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius); background: var(--color-paper); overflow: hidden; }
.cmd code { flex: 1; min-width: 0; display: flex; align-items: center; padding: var(--space-sm) var(--space-md); color: var(--color-ink); font-size: var(--text-sm); overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.cmd code::before { content: "$"; margin-right: var(--space-sm); color: var(--color-faint); }
.cmd--inline { max-width: 420px; }

/* ---------- privacy ---------- */
.privacy h2 { max-width: 22ch; }
.plates { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--space-xl) 0 0; padding: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-lg); }
.plate { display: grid; gap: var(--space-xs); padding: var(--space-lg); min-width: 0; }
.plate + .plate { border-left: var(--rule-hair) solid var(--color-rule); }
.plate__fig { font-family: var(--font-mono); font-size: var(--text-section); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.plate__label { font-size: var(--text-sm); color: var(--color-muted); }
.claims { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--gap-columns); margin: var(--space-xl) 0 0; padding: 0; }
.claims li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: var(--space-sm); color: var(--color-ink-2); font-size: var(--text-sm); }
.claims li::before { content: ""; width: 14px; height: 14px; margin-top: var(--space-2xs); background: var(--color-ok); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6.5 9.5 17 4 11.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6.5 9.5 17 4 11.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- install ---------- */
.install__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); padding: var(--space-2xl); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius-lg); background: var(--color-paper-2); }
.install__head { grid-column: 1 / 6; min-width: 0; }
.install__head .lead { margin-top: var(--space-md); }
.install__body { grid-column: 6 / 13; min-width: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: var(--space-3xs); padding: var(--space-3xs); margin-bottom: var(--space-sm); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius); width: fit-content; max-width: 100%; }
.tabs [role="tab"] { min-height: 34px; padding: 0 var(--space-md); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--color-muted); font: 500 var(--text-xs)/1 var(--font-body); cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.tabs [role="tab"]:hover { color: var(--color-ink); }
.tabs [role="tab"][aria-selected="true"] { background: var(--color-paper-3); color: var(--color-ink); }
.tabs [role="tab"]:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 1px; }
.panel + .panel { margin-top: var(--space-md); }
.js .panel + .panel { margin-top: 0; }
.panel__label { margin-bottom: var(--space-xs); font-size: var(--text-xs); font-weight: 500; color: var(--color-faint); letter-spacing: 0; }
.js .panel__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.install__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
.install__note a, .note a, .faq a { color: var(--color-accent); }
.tabs { display: none; }
.js .tabs { display: flex; }

/* ---------- faq ---------- */
.faq { padding-bottom: var(--section-gap); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-xl); }
.faq__grid > h2 { grid-column: 1 / 5; }
.faq__list { grid-column: 5 / 13; min-width: 0; border-top: var(--rule-hair) solid var(--color-rule); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { display: flex; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) 0; color: var(--color-ink); font-weight: 500; cursor: pointer; list-style: none; border-radius: var(--radius-sm); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 14px; height: 14px; margin-top: var(--space-2xs); background: var(--color-faint); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform var(--dur-short) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-accent); }
.faq summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.faq details p { padding: 0 0 var(--space-lg); color: var(--color-muted); font-size: var(--text-sm); max-width: 68ch; }

/* ---------- footer ---------- */
.footer { border-top: var(--rule-hair) solid var(--color-rule); padding-block: var(--space-2xl); font-size: var(--text-sm); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap-columns); row-gap: var(--space-md); align-items: start; }
.footer__mark { grid-column: 1 / 4; font-weight: 600; color: var(--color-ink); }
.footer__text { grid-column: 4 / 8; color: var(--color-faint); }
.footer__links { grid-column: 8 / 13; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); justify-content: flex-end; }
.footer__links a { color: var(--color-muted); text-decoration: none; border-radius: var(--radius-sm); }
.footer__links a:hover { color: var(--color-ink); text-decoration: underline; }

.toast { position: fixed; left: 50%; bottom: var(--space-lg); z-index: var(--z-toast); margin: 0; padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule-strong); border-radius: var(--radius); background: var(--color-paper-3); color: var(--color-ink); font-size: var(--text-sm); transform: translate(-50%, 0); opacity: 1; transition: opacity var(--dur-short) var(--ease-out); }
.toast:empty { opacity: 0; pointer-events: none; }

a:not([class]):focus-visible, .footer__links a:focus-visible, .nav__link:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 64rem) {
  .hero__col, .trace { grid-column: 1 / -1; }
  .hero h1 { max-width: 16ch; }
  .showcase__text { grid-column: 1 / -1; }
  .phone { grid-column: 1 / -1; max-width: 280px; }
  .stack__pane { grid-column: 1 / -1; }
  .stack__pane { position: static; }
  .stack__index { display: none; }
  .stack__scroll { grid-column: 1 / -1; margin-top: var(--space-xl); gap: var(--space-2xl); }
  .flow__head, .flow__body { grid-column: 1 / -1; }
  .flow__head { position: static; }
  .band__text, .band .shot--portrait { grid-column: 1 / -1; justify-self: start; }
  .install__head, .install__body { grid-column: 1 / -1; }
  .faq__grid > h2, .faq__list { grid-column: 1 / -1; }
  .head > h2, .head--split > :last-child:not(h2) { grid-column: 1 / -1; }
  .footer__mark, .footer__text, .footer__links { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 40rem) {
  .hero { padding-block: var(--space-xl) var(--space-2xl); }
  .nav__link { display: none; }
  .facts, .plates { grid-template-columns: minmax(0, 1fr); }
  .facts > div + div, .plate + .plate { border-left: 0; padding-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .plate + .plate { padding-left: var(--space-lg); }
  .claims { grid-template-columns: minmax(0, 1fr); }
  .view figcaption { grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); }
  .trace__row { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .trace__row .state { grid-column: 2; justify-self: start; }
  .install__grid { padding: var(--space-lg); }
  /* Phones: each row becomes a stack, term then description then its value. */
  .pieces, .pieces tbody, .pieces tr, .pieces th, .pieces td { display: block; }
  .pieces thead { display: none; }
  .pieces tbody tr { padding: var(--space-sm) var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); }
  .pieces tbody tr:last-child { border-bottom: 0; }
  .pieces tbody th, .pieces td { padding: 0; border-bottom: 0; }
  .pieces td + td { margin-top: var(--space-2xs); }
  .pieces td code { white-space: normal; overflow-wrap: anywhere; }
  .flow__steps tbody th { width: auto; }
}
