/* Hallmark · shape: Flow and panels (a dark first screen holding the head and the assessment drawn as a flow, the report as a full-width panel under it, then ruled lists and panels on one ground) · genre: modern-minimal · theme: custom · redesign: full · job: sign up · copy: verbatim · idea: "an assessment is four stages in a fixed order, so the first screen draws that order and a pulse walks it" · vibe: "precise, calm, technical product at night"
 * paper: oklch(15.5% 0.036 277) · accent: oklch(51% 0.235 277) · display: Rethink Sans · body: Rethink Sans · hero: the head, one sentence and the address field left, the four stages as an isometric line diagram right, each stage lighting under the pointer · nav: sticky bar, wordmark left, the section links in a centred pill, one action right · footer: colophon on a rule · imagery: the product built (the report under the hero, one finding below) and the flow diagram · signature: the four-stage flow diagram with its travelling pulse
 * axes: dark/grotesk-sans/chromatic-violet · posture: one indigo-black ground stepping only in lightness, violet-blue for the primary action, the diagram's lines and the current link · contrast: pass · fold: pass · v2.0.0
 * hero-review: folded into the finish review · finish-review: subagent · 8 findings · 7 resolved 1 unresolved (the direction itself, the owner's choice) · gap: none
 * colour: the owner chose the direction (a dark page, one violet-blue signal); every surface is hue 277 and differs only in lightness */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: R, the diagram, its floor grid and the bloom are three layers on one screen; the page-wide grid and the contour lines were cut so the hero holds the only texture */
/* Hallmark · waive 84 · capturing a real report would show a client's scan data · the report and the finding are built as interface in slots the owner's captures replace */
/* Hallmark · waive 8 · a redesign keeps the page's own sequence · the composition under it is new: a flow diagram, a full-width report panel, a split list, panels on one dark ground */
/* Hallmark · waive 80 · the hero figure is a labelled diagram of a real system, named in its aria-label · it diagrams the product's real four stages at the owner's request, each node carrying a step heading from the page */
/* Hallmark · waive 29 · one fixed bloom in the ground's own hue behind the diagram, and a soft disc under each of its four nodes · the owner asked for a single-hue glow behind the hero diagram and glowing nodes; nothing blurs, drifts or sits behind text */
/* Hallmark · waive 79 · request.html opens on a short head and its form starts 40px under it, inside the first screen · the measured span is the request form itself, which sits outside the head's own box */
/* Hallmark · dismissed 77 · request.html is the request form reached from the landing page, one form and a footer by design */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --nav-h: 76px;
  --control-h: 48px;
  --control-h-s: 44px;
  --radius-chip: 6px;
  --text-wordmark: 1.3125rem;
  --text-reading: clamp(2.25rem, 1.5vw + 1.5rem, 3.25rem);
  --text-code: 0.875rem;
}

/* ---------- shared ---------- */

html { scroll-padding-top: calc(var(--nav-h) + var(--space-md)); scrollbar-color: var(--color-rule-2) var(--color-paper); }
body { min-height: 100dvh; color: var(--color-ink-2); }
h1, h2, h3 { color: var(--color-ink); font-weight: var(--display-weight); letter-spacing: var(--tracking-display); line-height: 1.08; }
h1 { font-size: var(--text-display); }
h2 { max-width: 20ch; font-size: var(--text-section); }
h3 { max-width: 40ch; font-size: var(--text-title); letter-spacing: -0.015em; line-height: 1.25; }
.lead { max-width: 46ch; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.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-pill); background: var(--color-ink); color: var(--color-paper); }
.skip:focus-visible { top: var(--space-md); }

th, figcaption, label, legend, dt { font-family: var(--font-body); font-weight: 500; }
th, figcaption { font-size: var(--text-sm); color: var(--color-muted); letter-spacing: 0; }
code, pre, .mono { font-family: var(--font-outlier); font-size: var(--text-code); font-variant-numeric: tabular-nums slashed-zero; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1rem; height: 1rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

a { text-decoration-color: var(--color-rule-2); text-underline-offset: 0.2em; transition: color var(--dur-short) var(--ease-out); }
a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-chip); }
@media (hover: hover) { a:hover { color: var(--color-ink); text-decoration-color: var(--color-accent-bright); } }

/* a panel: one step lighter than the ground, on one hairline */
.cut, .panel { border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink-2); overflow: hidden; }
[data-slot] { background: var(--color-paper-2); }

/* controls: all eight states */
.key { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control-h); padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-field-edge); border-radius: var(--radius-pill); background: transparent; color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
@media (hover: hover) { .key:hover { background: var(--color-paper-3); border-color: var(--color-ink-2); color: var(--color-ink); } }
.key:active { background: var(--color-paper-2); }
.key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: var(--radius-pill); }
.key:disabled, .key[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.key[aria-busy="true"] { cursor: progress; }
.key--primary { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
@media (hover: hover) { .key--primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-accent-ink); } }
.key--primary:active { background: var(--color-accent); border-color: var(--color-accent); }
.key--s { min-height: var(--control-h-s); padding: 0 var(--space-md); font-size: var(--text-sm); }

.input { width: 100%; min-width: 0; min-height: var(--control-h); padding: 0 var(--space-md); border: var(--rule-hair) solid var(--color-field-edge); border-radius: var(--radius-pill); background: var(--color-paper-2); color: var(--color-ink); font: 400 var(--text-md)/1.4 var(--font-body); outline: 2px solid transparent; outline-offset: 2px; transition: border-color var(--dur-short) var(--ease-out); }
.input.mono { font-family: var(--font-outlier); font-size: var(--text-code); }
.input::placeholder { color: var(--color-muted); opacity: 1; }
@media (hover: hover) { .input:hover { border-color: var(--color-ink-2); } }
.input:focus-visible { outline-color: var(--color-focus); border-color: var(--color-ink); }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
.input[aria-invalid="true"] { border-color: var(--color-bad); }
textarea.input { height: 9rem; min-height: 9rem; padding-block: var(--space-sm); border-radius: var(--radius-field); resize: vertical; }

/* status: the word with its icon */
.status { display: inline-flex; align-items: center; gap: var(--space-2xs); font-family: var(--font-body); font-weight: 500; white-space: nowrap; }
.status--fail { color: var(--color-bad); }
.status--pass { color: var(--color-ok); }
.status--uncertain { color: var(--color-warn); }

/* ---------- nav: a sticky bar, the section links in a centred pill ---------- */

.nav { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); }
.nav__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: var(--space-lg); min-height: var(--nav-h); }
.wordmark { justify-self: start; font: 600 var(--text-wordmark)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; white-space: nowrap; }
.nav__end { display: flex; justify-self: end; align-items: center; gap: var(--space-sm); }
.nav__toggle { display: none; }
.nav__only-s { display: none; }
.pill { min-width: 0; }
.pill__links { display: flex; align-items: center; gap: var(--space-3xs); margin: 0; padding: var(--space-2xs); list-style: none; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-paper-2); }
.pill__links a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 var(--space-md); border-radius: var(--radius-pill); font: 500 var(--text-sm)/1 var(--font-body); color: var(--color-ink-2); text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.pill__links a.is-current, .pill__links a[aria-current] { background: var(--color-paper-3); color: var(--color-ink); }
.pill__links a:focus-visible { outline-offset: -2px; border-radius: var(--radius-pill); }
@media (hover: hover) { .pill__links a:hover { color: var(--color-ink); } }

@media (max-width: 56rem) {
  .nav__bar { grid-template-columns: minmax(0, 1fr) auto; }
  /* without scripting the links sit under the bar as one scrolling row */
  .pill { grid-column: 1 / -1; grid-row: 2; padding-bottom: var(--space-sm); }
  html:not(.js) .nav__bar { row-gap: var(--space-sm); padding-top: var(--space-md); }
  .pill__links { overflow-x: auto; scrollbar-width: none; }
  .pill__links::-webkit-scrollbar { display: none; }
  /* with scripting they fold into the menu under the bar */
  .js .nav__toggle { display: inline-flex; }
  .js .pill { position: absolute; top: var(--nav-h); left: 0; right: 0; padding: 0 var(--gutter); }
  .js .pill__links { display: none; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-xs); border-color: var(--color-rule-2); border-radius: var(--radius-card); background: var(--color-paper-3); box-shadow: 0 var(--space-md) var(--space-xl) var(--color-paper-0); overflow: visible; }
  .js .pill__links.is-open { display: flex; }
  .js .pill__links a { display: flex; min-height: var(--control-h); border-radius: var(--radius-field); font-size: var(--text-md); color: var(--color-ink); }
}
@media (max-width: 40rem) {
  .nav__only-s { display: list-item; }
  .nav__end .key--request { display: none; }
}

/* ---------- hero: the head left, the flow right ---------- */

.hero { position: relative; isolation: isolate; padding-block: var(--space-lg) var(--space-xl); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(44% 62% at 72% 46%, var(--color-bloom), var(--color-bloom-0) 74%); pointer-events: none; }
.field { display: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap-columns); align-items: center; min-height: clamp(30rem, calc(100svh - 17rem), 42rem); }
.hero__text { display: grid; gap: var(--space-lg); align-content: start; }
.hero h1 { max-width: 11em; line-height: 1.04; }
.hero .lead { max-width: 34ch; }
.ask { display: grid; gap: var(--space-xs); width: 100%; max-width: 32rem; margin-top: var(--space-xs); }
.ask label { font-size: var(--text-sm); color: var(--color-ink-2); }
.ask__row { display: flex; gap: var(--space-xs); align-items: flex-start; }
.ask__row .input { flex: 1; font-family: var(--font-outlier); font-size: var(--text-code); }
.ask__terms { min-height: 1lh; font-size: var(--text-sm); color: var(--color-muted); }

/* the flow diagram: four stages on an isometric floor, joined in order */
.flow { position: relative; min-width: 0; margin: 0; }
.flow__svg { width: 100%; height: auto; overflow: visible; }
.flow__svg--tall { display: none; }
.flow__gridline { fill: none; stroke: var(--color-grid); stroke-width: 1; }
.flow__fade { stop-color: var(--color-mask); }
.flow__stop { stop-color: var(--color-accent); }
.flow__face { fill: var(--color-paper-2); stroke: var(--color-line); stroke-width: 1.25; stroke-linejoin: round; }
.flow__face--top { fill: var(--color-paper-3); }
.flow__mark { fill: none; stroke: var(--color-line); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.flow__hot { fill: var(--color-accent); fill-opacity: 0.3; stroke: var(--color-accent-bright); stroke-width: 1.25; stroke-linejoin: round; }
.flow__hot--top { fill-opacity: 0.62; }
.flow__ring { fill: none; stroke: var(--color-accent-bright); stroke-width: 1.25; stroke-linejoin: round; }
.flow__mark--hot { stroke: var(--color-ink); }
.flow__link { fill: none; stroke: var(--color-accent-bright); stroke-opacity: 0.62; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; }
.flow__glow { pointer-events: none; }
.flow__label { font: 500 1rem/1 var(--font-body); letter-spacing: -0.005em; fill: var(--color-ink); }
/* motion: flow.js arms it. The lines draw once when the diagram first comes on screen, then it
   rests. Hovering a stage lights that stage and quiets the others. Unarmed (scripting off, or
   reduced motion) the diagram is the finished drawing. */
@media (prefers-reduced-motion: no-preference) {
  .flow.is-armed .flow__link { animation: flow-draw 0.62s var(--ease-in-out) both paused; }
  .flow.is-armed .flow__link--1 { animation-delay: 0.25s; }
  .flow.is-armed .flow__link--2 { animation-delay: 0.85s; }
  .flow.is-armed .flow__link--3 { animation-delay: 1.45s; }
  .flow.is-armed.is-running .flow__link { animation-play-state: running; }
  .flow__lit { transition: opacity 180ms var(--ease-in-out); }
}
@media (hover: hover) {
  .flow__lit { opacity: 0.6; }
  .flow__svg:has(.flow__node:hover) .flow__lit { opacity: 0.26; }
  .flow__svg .flow__node:hover .flow__lit { opacity: 1; }
}
@keyframes flow-draw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

@media (max-width: 68rem) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); min-height: 0; }
  .hero h1 { max-width: 16em; }
  .hero .lead { max-width: 46ch; }
  .hero::before { background: radial-gradient(70% 46% at 50% 70%, var(--color-bloom), var(--color-bloom-0) 74%); }
  .flow { width: 100%; max-width: 46rem; margin-inline: auto; }
}
@media (max-width: 40rem) {
  .hero { padding-block: var(--space-lg) var(--space-xl); }
  .hero__grid { gap: var(--space-lg); }
  .ask__row { flex-direction: column; align-items: stretch; }
  .ask__row .input { flex: none; }
  /* the path restacks: the stages run down the screen at reading size */
  .flow { max-width: 24.5rem; }
  .flow__svg--wide { display: none; }
  .flow__svg--tall { display: block; }
}

/* ---------- the report, built: a full-width panel under the hero ---------- */

.shot { margin: 0; display: grid; gap: var(--space-sm); min-width: 0; }
.report { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); font-size: var(--text-md); }
.report__counts { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); margin: 0; border-right: var(--rule-hair) solid var(--color-rule); }
.report__counts > div { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: var(--space-xs); padding: var(--space-lg) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.report__counts > div:first-child { border-top: 0; }
.report__counts dt { order: 2; font-size: var(--text-md); }
.report__counts dd { order: 1; margin: 0; font: 500 var(--text-reading)/1 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums lining-nums; color: var(--color-ink); }
.report__rows { width: 100%; border-collapse: collapse; }
.report__rows th, .report__rows td { padding: var(--space-md) var(--space-sm); text-align: left; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: middle; }
.report__rows tbody tr:last-child th, .report__rows tbody tr:last-child td { border-bottom: 0; }
.report__rows th:first-child, .report__rows td:first-child { padding-left: var(--space-xl); }
.report__rows th:last-child, .report__rows td:last-child { padding-right: var(--space-xl); }
.report__rows .status { vertical-align: middle; }
.report__rows th:nth-child(2) { width: 100%; }
.report__rows thead th { padding-block: var(--space-md); white-space: nowrap; }
.report__rows tbody th { font: 500 var(--text-md)/1.35 var(--font-body); color: var(--color-ink); }
.report__rows td { white-space: nowrap; color: var(--color-ink-2); }
.report__rows td.mono { font-size: var(--text-sm); color: var(--color-accent-bright); }
@media (max-width: 60rem) {
  .report { grid-template-columns: minmax(0, 1fr); font-size: var(--text-sm); }
  .report__counts { grid-template-rows: none; grid-template-columns: repeat(3, minmax(0, 1fr)); border-right: 0; border-bottom: var(--rule-hair) solid var(--color-rule); }
  .report__counts > div { padding: var(--space-md) var(--space-lg); border-top: 0; border-left: var(--rule-hair) solid var(--color-rule); }
  .report__counts > div:first-child { border-left: 0; }
  .report__counts dt, .report__rows tbody th { font-size: var(--text-sm); }
  .report__rows th, .report__rows td { padding: var(--space-sm) var(--space-xs); }
  .report__rows th:first-child, .report__rows td:first-child { padding-left: var(--space-lg); }
  .report__rows th:last-child, .report__rows td:last-child { padding-right: var(--space-lg); }
}
@media (max-width: 40rem) {
  .report__counts > div { padding: var(--space-sm) var(--space-xs); }
  .report__counts > div:first-child { padding-left: var(--space-md); }
  .report__counts .icon { display: none; }
  .report__rows .col-id, .report__rows .col-sev { display: none; }
  .report__rows th:nth-child(2), .report__rows td:nth-child(2) { padding-left: var(--space-md); }
  .report__rows th:last-child, .report__rows td:last-child { padding-right: var(--space-md); }
}

/* ---------- sections ---------- */

.section { padding-top: var(--section-gap); }
.section--s { padding-top: var(--section-gap-s); }
.section--l { padding-top: var(--section-gap-l); }
.band { margin-top: var(--section-gap); padding-block: var(--section-gap-s); border-block: var(--rule-hair) solid var(--color-rule); background: var(--color-paper-0); color: var(--color-ink-2); }
.head { display: grid; gap: var(--space-md); margin-bottom: var(--space-2xl); }
@media (max-width: 60rem) { .head { margin-bottom: var(--space-xl); } }

/* how it works: a ruled list beside the ownership record */
.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: stretch; }
.steps { display: grid; margin: 0; padding: 0; list-style: none; border-top: var(--rule-hair) solid var(--color-rule-2); }
.steps > li { display: grid; gap: var(--space-xs); padding-block: var(--space-lg); border-bottom: var(--rule-hair) solid var(--color-rule); }
.steps p { max-width: 46ch; color: var(--color-ink-2); }
.proof { margin: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--space-md); min-width: 0; }
.proof__panes { display: grid; grid-template-rows: 1fr 1fr; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }
.pane { min-width: 0; }
.pane__name { margin: 0; padding: var(--space-md) var(--space-lg) 0; font: 500 var(--text-sm)/1.4 var(--font-body); color: var(--color-muted); }
.pane pre { margin: 0; padding: var(--space-sm) var(--space-lg) var(--space-lg); overflow-x: auto; line-height: 1.7; white-space: pre; color: var(--color-ink); }
.pane pre:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -3px; }
.proof .pane + .pane { border-top: var(--rule-hair) solid var(--color-rule); }
.proof .tok { color: var(--color-accent-bright); }
@media (max-width: 60rem) { .how { grid-template-columns: minmax(0, 1fr); } .pane__name, .pane pre { padding-inline: var(--space-md); } }

/* one finding, built: a panel divided by rules */
.finding__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-md) var(--gap-columns); align-items: end; padding: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.finding__title { max-width: 24ch; font-size: var(--text-xl); }
.finding__meta { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); margin: 0; }
.finding__meta div { display: grid; gap: var(--space-3xs); }
.finding__meta dt { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }
.finding__meta dd { margin: 0; font: 500 var(--text-md)/1.3 var(--font-body); color: var(--color-ink); }
.finding__meta .mono { font-family: var(--font-outlier); font-size: var(--text-code); font-weight: 400; color: var(--color-accent-bright); }
.finding__meta dd.mono { color: var(--color-ink-2); }
.finding__io { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: var(--rule-hair) solid var(--color-rule); background: var(--color-paper); }
.finding__io .pane + .pane { border-left: var(--rule-hair) solid var(--color-rule); }
.finding__io .pane__name { padding: var(--space-lg) var(--space-xl) 0; }
.finding__io .pane pre { min-height: 8.5rem; padding: var(--space-sm) var(--space-xl) var(--space-lg); white-space: pre-wrap; overflow-wrap: break-word; }
.finding__io mark { padding: var(--space-3xs) var(--space-2xs); border-radius: var(--radius-chip); background: var(--color-tint); color: var(--color-ink); }
.finding__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.finding__facts > div { display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }
.finding__facts > div:first-child { border-left: 0; }
.finding__facts dt { font-size: var(--text-sm); font-weight: 400; color: var(--color-muted); }
.finding__facts dd { margin: 0; color: var(--color-ink-2); }
.finding__facts dd b { display: block; margin-bottom: var(--space-2xs); font: 500 var(--text-lg)/1.3 var(--font-display); letter-spacing: -0.015em; color: var(--color-ink); }
@media (max-width: 60rem) {
  .finding__head { grid-template-columns: minmax(0, 1fr); align-items: start; padding: var(--space-lg); }
  .finding__io { grid-template-columns: minmax(0, 1fr); }
  .finding__io .pane + .pane { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .finding__io .pane__name, .finding__io .pane pre { padding-inline: var(--space-lg); }
  .finding__facts { grid-template-columns: minmax(0, 1fr); }
  .finding__facts > div { padding: var(--space-lg); border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .finding__facts > div:first-child { border-top: 0; }
}
@media (max-width: 40rem) { .finding__head, .finding__facts > div { padding: var(--space-md); } .finding__io .pane__name, .finding__io .pane pre { padding-inline: var(--space-md); } .proof .pane pre { white-space: pre-wrap; overflow-wrap: anywhere; } .finding__meta dd { overflow-wrap: anywhere; min-width: 0; } .finding__meta div { min-width: 0; } }

/* coverage: the claim beside the table */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
.split__text { display: grid; gap: var(--space-lg); }
.coverage { width: 100%; border-collapse: collapse; }
.coverage th, .coverage td { padding: var(--space-md) var(--space-lg); text-align: left; border-bottom: var(--rule-hair) solid var(--color-rule); vertical-align: middle; }
.coverage tbody tr:last-child th, .coverage tbody tr:last-child td { border-bottom: 0; }
.coverage thead th { padding-block: var(--space-md); white-space: nowrap; }
.coverage tbody th { font: 500 var(--text-title)/1.25 var(--font-display); letter-spacing: -0.015em; color: var(--color-ink); }
.coverage .col-id { width: 26%; white-space: nowrap; }
.coverage td.col-id { color: var(--color-accent-bright); }
.coverage-note { font-size: var(--text-sm); color: var(--color-muted); max-width: 52ch; }
@media (max-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .coverage { table-layout: fixed; } .coverage .col-id { width: 5rem; } .coverage th, .coverage td { padding: var(--space-sm) var(--space-md); } .coverage tbody th { font-size: var(--text-md); overflow-wrap: break-word; } }

/* scope and privacy: five limits in one ruled panel, three over two */
.scope { display: grid; gap: var(--space-2xl); }
.rows { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); overflow: hidden; }
.rows > div { grid-column: span 2; display: grid; align-content: start; gap: var(--space-sm); padding: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }
.rows > div:nth-child(n+4) { grid-column: span 3; border-top: var(--rule-hair) solid var(--color-rule); }
.rows > div:nth-child(1), .rows > div:nth-child(4) { border-left: 0; }
.rows dt { font: 500 var(--text-xl)/1.2 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums lining-nums; color: var(--color-ink); }
.rows dd { margin: 0; color: var(--color-ink-2); max-width: 44ch; }
@media (max-width: 60rem) {
  .scope { gap: var(--space-xl); }
  .rows { grid-template-columns: minmax(0, 1fr); }
  .rows > div, .rows > div:nth-child(n+4) { grid-column: auto; padding: var(--space-lg); border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
  .rows > div:first-child { border-top: 0; }
}
@media (max-width: 40rem) { .rows > div, .rows > div:nth-child(n+4) { padding: var(--space-md); } }

/* pricing: one offer */
.offer { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.offer__price { display: grid; align-content: center; gap: var(--space-lg); padding: var(--space-2xl) var(--space-xl); }
.offer__figure { font: 500 var(--text-display-s)/1.08 var(--font-display); letter-spacing: var(--tracking-display); font-variant-numeric: tabular-nums lining-nums; color: var(--color-ink); overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
.offer__body { display: grid; align-content: space-between; gap: var(--space-xl); padding: var(--space-xl); border-left: var(--rule-hair) solid var(--color-rule); }
.offer__list { display: grid; margin: 0; padding: 0; list-style: none; color: var(--color-ink); }
.offer__list li { display: flex; gap: var(--space-sm); align-items: baseline; padding-block: var(--space-sm); border-bottom: var(--rule-hair) solid var(--color-rule); }
.offer__list li:first-child { padding-top: 0; }
.offer__list .icon { position: relative; top: 0.125em; color: var(--color-accent-bright); }
.offer__actions { display: grid; gap: var(--space-sm); }
.offer__keys { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.offer__note { font-size: var(--text-sm); color: var(--color-muted); }
.offer__note:empty { display: none; }
/* while payment is closed the request is the offer's one action, so it takes the primary recipe */
.offer__keys:has([data-pay][hidden]) .key:not(.key--primary) { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
@media (hover: hover) { .offer__keys:has([data-pay][hidden]) .key:not(.key--primary):hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); color: var(--color-accent-ink); } }
.offer__keys:has([data-pay][hidden]) .key:not(.key--primary):active { background: var(--color-accent); }
@media (max-width: 60rem) {
  .offer { grid-template-columns: minmax(0, 1fr); }
  .offer__price, .offer__body { padding: var(--space-lg); gap: var(--space-lg); }
  .offer__body { border-left: 0; border-top: var(--rule-hair) solid var(--color-rule); }
}
@media (max-width: 40rem) { .offer__price, .offer__body { padding: var(--space-lg) var(--space-md); } .offer__keys .key { flex: 1 1 100%; } }

/* ---------- footer: a colophon on a rule ---------- */

.foot { margin-top: var(--section-gap); padding-block: var(--space-2xl) var(--space-xl); border-top: var(--rule-hair) solid var(--color-rule); }
.foot > .container { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-xl) var(--gap-columns); align-items: center; }
.foot__mast { justify-self: start; font: 600 var(--text-xl)/1 var(--font-display); letter-spacing: var(--tracking-display); color: var(--color-ink); text-decoration: none; overflow-wrap: break-word; min-width: 0; }
.foot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; font-size: var(--text-sm); color: var(--color-ink-2); }
.foot__links a { display: inline-flex; align-items: center; min-height: var(--control-h-s); text-decoration: none; white-space: nowrap; }
.foot__legal { grid-column: 1 / -1; display: grid; gap: var(--space-xs); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); font-size: var(--text-sm); color: var(--color-muted); }
.foot__legal p { max-width: 75ch; }
.foot--flush { margin-top: 0; }
@media (max-width: 60rem) { .foot > .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } .foot__links { justify-content: flex-start; } }
@media (max-width: 40rem) { .foot__links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 var(--space-md); } }

/* ---------- request page: a short head, then the form ---------- */

.hero--short { padding-block: var(--space-2xl) var(--space-xl); }
.hero--short::before { content: none; }
.hero--short .hero__text { gap: var(--space-md); }
.hero--short h1 { font-size: var(--text-display-s); }
.request__body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--space-2xl) var(--gap-columns); align-items: start; padding-block: var(--space-xl) var(--section-gap-s); }

.form { display: grid; gap: var(--space-sm); }
.form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-md) var(--space-lg); }
.form__wide { grid-column: 1 / -1; }
.fieldset { display: grid; gap: var(--space-2xs); min-width: 0; margin: 0; padding: 0; border: 0; }
.fieldset > label { font-size: var(--text-sm); color: var(--color-ink); }
.fieldset .opt { color: var(--color-muted); font-weight: 400; }
.help { min-height: 1lh; font-size: var(--text-sm); line-height: 1.4; color: var(--color-muted); }
.help.is-error { color: var(--color-bad); }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); align-items: start; padding: var(--space-md); border: var(--rule-hair) solid var(--color-field-edge); border-radius: var(--radius-field); background: var(--color-paper-2); }
.check input { -webkit-appearance: none; appearance: none; display: grid; place-content: center; width: 1.25rem; height: 1.25rem; margin: var(--space-3xs) 0 0; border: var(--rule-hair) solid var(--color-field-edge); border-radius: var(--radius-chip); background: var(--color-paper); cursor: pointer; }
.check input::before { content: ""; width: 0.75rem; height: 0.75rem; background: var(--color-accent-ink); clip-path: polygon(14% 44%, 0 65%, 43% 100%, 100% 18%, 82% 4%, 40% 64%); opacity: 0; }
.check input:checked { border-color: var(--color-accent); background: var(--color-accent); }
.check input:checked::before { opacity: 1; }
@media (hover: hover) { .check input:hover { border-color: var(--color-ink-2); } }
.check input:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.check label { font-weight: 400; color: var(--color-ink); }
.check.is-invalid { border-color: var(--color-bad); }
.form__end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md); }
.notice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-sm); padding: var(--space-md) var(--space-lg); border-color: var(--color-accent-bright); border-radius: var(--radius-field); background: var(--color-tint); color: var(--color-ink); }
.notice .icon { width: 1.25rem; height: 1.25rem; margin-top: var(--space-3xs); color: var(--color-accent-bright); }
.notice strong { display: block; font: 500 var(--text-lg)/1.3 var(--font-display); letter-spacing: -0.015em; }
.notice--error { border-color: var(--color-bad); background: var(--color-bad-soft); }
.notice--error .icon { color: var(--color-bad); }
.notice:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
@media (max-width: 60rem) { .request__body { grid-template-columns: minmax(0, 1fr); padding-block: var(--space-xl) var(--space-2xl); } }
@media (max-width: 40rem) { .hero--short { padding-block: var(--space-xl) var(--space-lg); } .form__grid { grid-template-columns: minmax(0, 1fr); } .form__end .key { flex: 1 1 100%; } }

/* what follows a request: three ruled lines beside the form */
.next { display: grid; margin: 0; padding: 0; list-style: none; counter-reset: next; border-top: var(--rule-hair) solid var(--color-rule-2); max-width: 26rem; }
.next > li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-sm); align-items: baseline; padding-block: var(--space-md); border-bottom: var(--rule-hair) solid var(--color-rule); color: var(--color-ink-2); counter-increment: next; }
.next > li::before { content: counter(next, decimal-leading-zero); font: 500 var(--text-lg)/1 var(--font-display); font-variant-numeric: tabular-nums lining-nums; color: var(--color-accent-bright); }
@media (max-width: 60rem) { .next { max-width: none; } }

/* request page: once submitted, the form gives way to the confirmation */
.form.is-sent > :not([data-result]) { display: none; }
.notice--done { padding: var(--space-xl); gap: var(--space-md); border-color: var(--color-ok); overflow-wrap: anywhere; }
.notice--done .icon { width: 1.75rem; height: 1.75rem; margin-top: 0; color: var(--color-ok); }
.notice--done strong { margin-bottom: var(--space-xs); font-size: var(--text-xl); }
