/* cargpt-site.css
   The one stylesheet for every public cargpt.pro page (home, pricing, signup, sign-in pages,
   legal pages, guides, market pages, the one-pager). It replaces cargpt.css, guides.css and the
   CSS that used to live inside each page. A page links this file and adds only what is its own.

   The design language is fixed: warm paper and ink, Inter for display and text, JetBrains Mono
   for small uppercase labels, square corners, solid rules, no gradients, no soft shadows, both
   colour schemes. Each accent ink has one meaning on this site (see "Colour" below) and colours
   a mark, a line or a fill. Small text is always ink, so contrast holds in both schemes.

   Written 10 Nov 2026. The reasons for each decision are in design/cargpt/SYSTEM.md. */

/* ------------------------------------------------------------------ tokens */

/* A metric-matched fallback so the page does not shift when Inter arrives. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.48%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light dark;

  /* Ground and ink */
  --paper: #faf8f3;
  --ink: #1d1d1b;
  --ink-body: #2a2926;
  --ink-soft: #3c3a36;
  --hair: #8a8a8a;

  /* Colour: one meaning each, for the whole site.
     cyan     the shopper: what a shopper asks or sees
     magenta  yours: the dealer's own cars, and what is sent to the dealer
     yellow   an example: a recorded instance, not the visitor's own data
     green    done: a step finished, a request received, a fact read live
     red      lost or wrong: an error, or a request that went somewhere else
     gold     a person: a step a person does by hand */
  --cyan: #009fe3;
  --magenta: #e6007e;
  --yellow: #ffed00;
  --green: #0b7a3e;
  --red: #c8401f;
  --gold: #ffc328;
  --on-fill: #1d1d1b;            /* text set on a yellow or gold fill, in both schemes */

  /* Type */
  --display: "Inter Display", "InterVariable", "Inter", "Inter Fallback", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text: "InterVariable", "Inter", "Inter Fallback", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-h1: clamp(2.75rem, 7.6vw, 7.5rem);        /* 44 to 120 px: the proposition */
  --fs-h1-page: clamp(2.5rem, 5.6vw, 5rem);      /* 40 to 80 px: the title of an inner page */
  --fs-h2: clamp(1.875rem, 4vw, 3.5rem);         /* 30 to 56 px */
  --fs-h3: clamp(1.1875rem, 1.6vw, 1.4375rem);   /* 19 to 23 px */
  --fs-lede: clamp(1.1875rem, 1.5vw, 1.4375rem); /* 19 to 23 px */
  --fs-body: 1.0625rem;                          /* 17 px */
  --fs-small: 0.9375rem;                         /* 15 px */
  --fs-label: 0.75rem;                           /* 12 px, mono, uppercase */
  --fs-num: clamp(3rem, 6vw, 5.5rem);            /* 48 to 88 px: a fact's number */

  /* Space: steps of 4 and 8 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;

  /* Grid */
  --max: 1240px;
  --gutter: 16px;
  --measure: 68ch;               /* the widest a paragraph runs */
  --section: var(--s8);          /* space above a section */
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; --section: var(--s9); } }

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141413;
    --ink: #faf8f3;
    --ink-body: #e9e6df;
    --ink-soft: #c9c5bc;
    --cyan: #2bb3f0;
    --magenta: #ff3d9e;
    --red: #ff6a3d;
  }
}

/* -------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--text);
  font-size: var(--fs-body);
  font-weight: 420;
  line-height: 1.42;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
table { border-collapse: collapse; width: 100%; }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

::selection { background: var(--yellow); color: var(--on-fill); }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: var(--gutter); top: -100px; padding: var(--s2) var(--s4); background: var(--ink); color: var(--paper); z-index: 10; }
.skip:focus { top: var(--s2); }

/* -------------------------------------------------------------------- type */

.h1, .h1-page, h1 {
  font-family: var(--display);
  font-weight: 820;
  font-size: var(--fs-h1);
  line-height: 0.94;
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: balance;
  text-shadow: 0 0 0.5px color-mix(in srgb, var(--ink) 55%, transparent);
}
.h1-page { font-size: var(--fs-h1-page); }

h2, .h2 {
  font-family: var(--display);
  font-weight: 820;
  font-size: var(--fs-h2);
  line-height: 0.98;
  letter-spacing: -0.034em;
  color: var(--ink);
  text-wrap: balance;
}

h3, .h3 {
  font-family: var(--display);
  font-weight: 780;
  font-size: var(--fs-h3);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lede { font-size: var(--fs-lede); font-weight: 450; line-height: 1.32; letter-spacing: -0.008em; color: var(--ink); max-width: 46ch; }

p { max-width: var(--measure); }
strong, b { font-weight: 680; color: var(--ink); }

.small, .fine { font-size: var(--fs-small); color: var(--ink-soft); }

/* A small uppercase mono label names a thing, as on a lab bench. With a mark it also says
   which of the six meanings applies: the mark carries the colour, the words stay ink. */
.label {
  font-family: var(--mono);
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.mark::before {
  content: "";
  display: inline-block;
  width: 0.72em; height: 0.72em;
  margin-right: 0.6em;
  background: var(--mark, var(--ink));
  box-shadow: 0 0 0 1px var(--ink);   /* yellow and gold need an edge on paper */
  vertical-align: 0;
}
.mark-shopper { --mark: var(--cyan); }
.mark-yours   { --mark: var(--magenta); }
.mark-example { --mark: var(--yellow); }
.mark-done    { --mark: var(--green); }
.mark-wrong   { --mark: var(--red); }
.mark-person  { --mark: var(--gold); }

/* A tag is a label in a box. "Example" is the only filled one. */
.tag { display: inline-block; padding: 3px 8px 2px; border: 1px solid var(--ink); font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); line-height: 1.3; }
.tag-example { background: var(--yellow); border-color: var(--yellow); color: var(--on-fill); }

/* A number set large, with its unit and a one-line caption (see "fact"). */
.num {
  font-family: var(--display);
  font-weight: 860;
  font-size: var(--fs-num);
  line-height: 0.86;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
  max-width: none;
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 var(--s5);
  border: 2px solid var(--ink); border-radius: 0;
  background: var(--ink); color: var(--paper);
  font-family: var(--text); font-size: var(--fs-body); font-weight: 680; letter-spacing: -0.01em; line-height: 1.1;
  text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
}
.btn:hover { background: var(--paper); color: var(--ink); text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--paper); }
.btn-s { min-height: 40px; padding: 0 var(--s4); font-size: var(--fs-small); }
.btn-wide { width: 100%; }

/* ------------------------------------------------------- site header, footer */

.site-head { border-bottom: 2px solid var(--ink); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; column-gap: var(--s5); min-height: 64px; }
.wordmark {
  font-family: var(--display); font-weight: 820; font-size: 1.5rem; letter-spacing: -0.038em; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.site-nav { display: flex; gap: var(--s5); margin-left: auto; }
.site-nav a { font-size: var(--fs-small); font-weight: 560; text-decoration: none; padding: var(--s2) 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Below 720 px the links move to a second row under a hairline; nothing is hidden and no menu
   button is needed. */
@media (max-width: 719px) {
  .site-head .wrap { padding-top: var(--s3); row-gap: var(--s3); }
  .site-head .btn { margin-left: auto; order: 2; }
  .site-nav { order: 3; width: 100%; margin: 0; padding: var(--s2) 0; border-top: 1px solid var(--hair); gap: var(--s6); }
  .site-head .wordmark { order: 1; }
}

.site-foot { margin-top: var(--s9); border-top: 2px solid var(--ink); padding: var(--s6) 0 var(--s7); font-size: var(--fs-small); color: var(--ink-soft); }
.site-foot .wrap { display: grid; gap: var(--s4); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.site-foot p { max-width: none; }
@media (min-width: 860px) {
  .site-foot .wrap { grid-template-columns: auto 1fr; column-gap: var(--s8); align-items: baseline; }
  .site-foot nav { grid-column: 2; }
  .site-foot .foot-op { grid-column: 2; }
}

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

main > section, .section { padding-top: var(--section); }
.section-head { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
.section-head p { font-size: var(--fs-lede); font-weight: 450; line-height: 1.32; color: var(--ink); max-width: 52ch; }
.rule-top { border-top: 2px solid var(--ink); padding-top: var(--s5); }

/* The proposition block: the site's one sentence, its three-sentence lede, the one action. */
.proposition { padding-top: var(--s6); }
.proposition .h1 { max-width: 15ch; }

/* ------------------------------------------------------------- form fields */

.field { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.field label, .field-label { font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.input, .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="password"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: var(--s3) var(--s4);
  border: 1px solid var(--ink); border-radius: 0; background: var(--paper); color: var(--ink);
  font: inherit; font-size: var(--fs-body); font-weight: 480; line-height: 1.3;
  appearance: none;
}
.input::placeholder, .field input::placeholder { color: var(--hair); opacity: 1; }
.input:focus-visible, .field input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.hint { font-size: var(--fs-small); color: var(--ink-soft); }
.field-error { font-size: var(--fs-small); color: var(--ink); border-left: 4px solid var(--red); padding-left: var(--s3); }

/* A tick box and its words. Used for the frozen consent lines, so the words set here are never
   edited, reordered or hidden: only their type and spacing are ours. */
.check { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start; }
.check input[type="checkbox"] { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); border-radius: 0; }
.check label { font-family: var(--text); font-size: var(--fs-body); font-weight: 480; letter-spacing: 0; text-transform: none; color: var(--ink); }

.consent { display: grid; gap: var(--s3); margin: calc(-1 * var(--s3)) 0 var(--s5); padding: var(--s4); border: 1px solid var(--hair); }
.consent .consent-fine { font-size: var(--fs-small); line-height: 1.4; color: var(--ink-soft); }

/* States the page scripts and auth-assist.js set. The class names are theirs and are kept, so a
   rebuilt sign-in page needs no script change: hints, the error line, the password field, the
   strength meter, the "link sent" state. */
[hidden] { display: none !important; }
.hint.warn { color: var(--ink); border-left: 4px solid var(--gold); padding-left: var(--s3); }
.hint.good { color: var(--ink); border-left: 4px solid var(--green); padding-left: var(--s3); }
.hint-apply, .sent .link { border: 0; background: none; padding: 0; font: inherit; font-weight: 680; color: var(--ink); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.site-note { font-size: var(--fs-small); color: var(--ink-soft); }
.error { display: none; margin: 0 0 var(--s4); padding: var(--s3) var(--s4); border: 1px solid var(--ink); border-left: 6px solid var(--red); color: var(--ink); font-size: var(--fs-small); }
.error.show { display: block; }
.error.ok { border-left-color: var(--green); }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 56px; }
.pw-toggle { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.pw-toggle .eye-off, .pw-toggle[aria-pressed="true"] .eye-on { display: none; }
.pw-toggle[aria-pressed="true"] .eye-off { display: block; }
.meter { display: flex; align-items: center; gap: var(--s3); font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); }
.meter .bar { flex: 1; height: 6px; border: 1px solid var(--ink); }
.meter .bar i { display: block; height: 100%; width: 0; background: var(--red); }
.meter[data-score="2"] .bar i { background: var(--gold); }
.meter[data-score="3"] .bar i, .meter[data-score="4"] .bar i { background: var(--green); }
.meter-notes { font-size: var(--fs-small); color: var(--ink-soft); }
.sent { display: grid; gap: var(--s3); }
.row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s5); font-size: var(--fs-small); }
.remember { display: flex; align-items: center; gap: var(--s2); cursor: pointer; }
.remember input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.alt-link { margin-top: var(--s5); font-size: var(--fs-small); color: var(--ink-soft); }

/* A notice: what just happened, in words. The rule carries the meaning. */
.notice { padding: var(--s3) var(--s4); border: 1px solid var(--ink); border-left-width: 6px; color: var(--ink); }
.notice[data-kind="wrong"] { border-left-color: var(--red); }
.notice[data-kind="done"] { border-left-color: var(--green); }

/* The action block: the site's one action and the one line that says what happens next. */
.act { display: grid; gap: var(--s3); justify-items: start; max-width: 34rem; }
.act .fine { max-width: 40ch; }

/* The narrow panel for sign-in, recovery, welcome, signup and "want more". */
.panel { width: min(100% - 2 * var(--gutter), 30rem); margin: var(--s7) auto 0; }
.panel .h1-page { font-size: clamp(2.25rem, 5vw, 3.5rem); margin-bottom: var(--s4); }
.panel .lede { margin-bottom: var(--s6); }

/* ------------------------------------------------- the working-subject frame */

/* One per page, at most. The product doing its work on a real case, with one control and the
   thing it changes directly beside it. It carries the page's one hard offset shadow. */
.subject { border: 2px solid var(--ink); background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
.subject-bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); padding: var(--s3) var(--s4); border-bottom: 2px solid var(--ink); }
.subject-bar .label { font-size: var(--fs-label); }
.subject-hint { padding: var(--s2) var(--s4); border-bottom: 1px solid var(--hair); color: var(--ink-soft); max-width: none; }
.subject-note { padding: var(--s3) var(--s4); border-top: 1px solid var(--hair); font-size: var(--fs-small); color: var(--ink-soft); }
.subject-note p { max-width: none; }

/* The control: a row of stations. Each station is a radio button drawn as the thing it stands
   for, with its label on it. Choosing one changes the readout below and nothing else. */
.stations { display: grid; grid-template-columns: repeat(4, 1fr); }
.station { position: relative; display: grid; grid-template-rows: 1fr auto; gap: var(--s2); padding: var(--s3) var(--s2) var(--s4); cursor: pointer; border-right: 1px solid var(--hair); color: var(--ink); }
.station:last-child { border-right: 0; }
.station input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.station .label { display: block; font-size: 0.6875rem; letter-spacing: 0.06em; color: inherit; }
.station .label b { display: block; font-weight: 700; color: inherit; }
.station svg { width: 100%; height: auto; max-height: 96px; }
.station svg .l { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.station svg .yours { fill: none; stroke: var(--magenta); stroke-width: 2; vector-effect: non-scaling-stroke; }
.station svg .shopper { fill: none; stroke: var(--cyan); stroke-width: 2; vector-effect: non-scaling-stroke; }
.station svg .other { fill: none; stroke: var(--hair); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.station:has(input:checked) { box-shadow: inset 0 -6px 0 var(--ink); }
.station:has(input:focus-visible) { outline: 3px solid var(--ink); outline-offset: -3px; }
.station:hover .label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
@media (min-width: 600px) {
  .station { padding: var(--s4); }
  .station .label { font-size: var(--fs-label); letter-spacing: 0.14em; }
}

/* The readout: one number set large and one sentence. Without :has() (or with styles off)
   every reading is shown in order, so nothing is lost. */
.readout { border-top: 2px solid var(--ink); padding: var(--s5) var(--s4); }
.reading { display: grid; gap: var(--s3); align-content: start; }
.reading + .reading { margin-top: var(--s5); }
.reading .num { font-size: clamp(2.75rem, 5.2vw, 4.5rem); white-space: nowrap; }
.reading .unit { display: block; margin-top: var(--s3); }
.reading > p { font-size: var(--fs-lede); font-weight: 450; line-height: 1.3; color: var(--ink); max-width: 40ch; }
@supports selector(:has(*)) {
  .subject .reading { display: none; margin-top: 0; }
  .subject:has(.station input[value="1"]:checked) .reading[data-step="1"],
  .subject:has(.station input[value="2"]:checked) .reading[data-step="2"],
  .subject:has(.station input[value="3"]:checked) .reading[data-step="3"],
  .subject:has(.station input[value="4"]:checked) .reading[data-step="4"] { display: grid; }
}
/* The number's column has a fixed share, so the sentence stays where it is when the step
   changes, and the frame keeps one height: choosing a step moves nothing else. */
@supports selector(:has(*)) { .readout { min-height: 16.75rem; } }
@media (min-width: 420px) { @supports selector(:has(*)) { .readout { min-height: 14.25rem; } } }
@media (min-width: 600px) {
  .readout { padding: var(--s5); }
  .reading { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: var(--s5); align-items: start; }
  @supports selector(:has(*)) { .readout { min-height: 12.5rem; } }
}

/* "The rest of the record": the other numbers, behind one details control. */
.record { border-top: 1px solid var(--hair); }
.record summary { padding: var(--s3) var(--s4); cursor: pointer; font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.record dl { display: grid; gap: var(--s2) var(--s5); padding: 0 var(--s4) var(--s4); font-size: var(--fs-small); }
.record dt { font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.record dd { color: var(--ink); margin-bottom: var(--s2); }
@media (min-width: 600px) {
  .record summary { padding: var(--s3) var(--s5); }
  .record dl { grid-template-columns: 12rem 1fr; padding: 0 var(--s5) var(--s5); }
  .record dd { margin-bottom: 0; }
}

/* ---------------------------------------------------------------- a fact */

/* A number with its unit, a one-line caption and its source and date. A typed number without a
   source line is not allowed on this site. */
.fact { display: grid; gap: var(--s2); padding-top: var(--s4); border-top: 2px solid var(--ink); }
.unit { font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); line-height: 1.3; }
.fact-cap { color: var(--ink); max-width: 36ch; }
.src { font-family: var(--mono); font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--ink-soft); line-height: 1.45; max-width: none; }
.facts { display: grid; gap: var(--s6); }
@media (min-width: 720px) { .facts { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }

/* ------------------------------------------------------------ the spec list */

/* What it does, as terms and plain statements. Two columns from 720 px. */
.spec { border-top: 2px solid var(--ink); }
.spec > div { display: grid; gap: var(--s2); padding: var(--s4) 0; border-bottom: 1px solid var(--hair); }
.spec dt { padding-top: 0.3em; }
.spec dd { color: var(--ink); font-size: var(--fs-lede); font-weight: 450; line-height: 1.32; max-width: 54ch; }
.spec dd small { display: block; margin-top: var(--s2); font-size: var(--fs-small); font-weight: 420; color: var(--ink-soft); }
@media (min-width: 720px) { .spec > div { grid-template-columns: minmax(12rem, 1fr) 3fr; column-gap: var(--s6); padding: var(--s5) 0; } }

/* -------------------------------------------------------------- price block */

.price { display: grid; gap: var(--s6); border: 2px solid var(--ink); padding: var(--s5); }
.price-head { display: grid; gap: var(--s3); align-content: start; }
.price .num { font-size: clamp(3.5rem, 8vw, 6.5rem); }
.price .num .unit { display: inline-block; margin-left: 0.2em; vertical-align: 0.9em; }
.price-terms { font-size: var(--fs-lede); font-weight: 450; line-height: 1.32; color: var(--ink); max-width: 30ch; }
.incl { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.incl li { padding: var(--s3) 0 var(--s3) var(--s5); border-bottom: 1px solid var(--hair); color: var(--ink); position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 10px; height: 2px; background: var(--ink); }
@media (min-width: 860px) {
  .price { grid-template-columns: 5fr 7fr; column-gap: var(--s8); padding: var(--s6); }
}

/* -------------------------------------------------------------------- steps */

/* How it starts. Each step says who does it; the mark carries the meaning. */
.steps { display: grid; gap: 0; border-top: 2px solid var(--ink); counter-reset: step; }
.steps > li { display: grid; gap: var(--s2); padding: var(--s4) 0; border-bottom: 1px solid var(--hair); counter-increment: step; }
.steps h3::before { content: counter(step) ". "; font-variant-numeric: tabular-nums; }
.steps p { color: var(--ink-body); max-width: 52ch; }
@media (min-width: 720px) { .steps > li { grid-template-columns: minmax(12rem, 1fr) 3fr; column-gap: var(--s6); padding: var(--s5) 0; } .steps > li > .label { padding-top: 0.3em; } .steps > li > div { display: grid; gap: var(--s2); } }

/* ----------------------------------------------------------- comparison row */

.compare { border-top: 2px solid var(--ink); font-size: var(--fs-body); }
.compare caption { text-align: left; padding-bottom: var(--s3); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: var(--s4) var(--s4) var(--s4) 0; border-bottom: 1px solid var(--hair); }
.compare thead th { font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.compare tbody th { font-weight: 680; color: var(--ink); width: 22%; }
.compare .ours { color: var(--ink); font-weight: 560; box-shadow: inset 4px 0 0 var(--magenta); padding-left: var(--s4); }
@media (max-width: 719px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tr { display: block; padding: var(--s4) 0; border-bottom: 1px solid var(--hair); }
  .compare th, .compare td { display: block; width: auto; padding: var(--s1) 0; border: 0; }
  .compare td::before { content: attr(data-col); display: block; font-family: var(--mono); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin-top: var(--s2); }
  .compare .ours { padding-left: var(--s3); }
}

/* ---------------------------------------------------------------- the film */

.film { display: grid; gap: var(--s3); }
.film video { width: 100%; aspect-ratio: 16 / 9; background: #141413; border: 2px solid var(--ink); }
.film figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2) var(--s5); font-size: var(--fs-small); color: var(--ink-soft); }
.film figcaption p { max-width: none; }

/* ------------------------------------------------------- questions, answers */

/* Open by default: every question and its answer is on the page, in the HTML. */
.qa { border-top: 2px solid var(--ink); }
.qa > div { display: grid; gap: var(--s2); padding: var(--s5) 0; border-bottom: 1px solid var(--hair); }
.qa dd { color: var(--ink-body); max-width: var(--measure); }
@media (min-width: 860px) { .qa > div { grid-template-columns: 5fr 7fr; column-gap: var(--s8); } }

/* ------------------------------------------------- guide and legal documents */

.article { width: min(100% - 2 * var(--gutter), 44rem); margin-inline: auto; padding-top: var(--s7); }
.article .h1-page { margin: var(--s4) 0 var(--s5); }
.article .lede { max-width: none; margin-bottom: var(--s6); }
.byline { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); line-height: 1.5; }
.article h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); line-height: 1.02; margin: var(--s7) 0 var(--s4); padding-top: var(--s4); border-top: 2px solid var(--ink); }
.article h3 { margin: var(--s6) 0 var(--s2); }
.article p, .article ul, .article ol { margin-bottom: var(--s4); max-width: none; font-size: 1.125rem; line-height: 1.5; }
.article ul, .article ol { padding-left: 1.3em; }
.article ul { list-style: square; }
.article ol { list-style: decimal; }
.article li { margin-bottom: var(--s2); }
.article table { margin: var(--s5) 0; font-size: var(--fs-small); }
.article th, .article td { text-align: left; vertical-align: top; padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--hair); }
.article thead th { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 2px solid var(--ink); }
.article .table-scroll { overflow-x: auto; }
.sources { margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--hair); font-size: var(--fs-small); color: var(--ink-soft); }
.legal p, .legal li { font-size: var(--fs-body); line-height: 1.5; }

.crumbs { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs a { color: inherit; }

/* A list of links to guides or markets: title, one line, date. */
.index { border-top: 2px solid var(--ink); }
.index > li { border-bottom: 1px solid var(--hair); }
.index a { display: grid; gap: var(--s2); padding: var(--s5) 0; text-decoration: none; }
.index a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.index p { color: var(--ink-body); }
@media (min-width: 860px) { .index a { grid-template-columns: 5fr 5fr 2fr; column-gap: var(--s6); align-items: baseline; } }

/* ------------------------------------------------------------- the closing */

.closing { padding-bottom: var(--s5); }
.closing .h2 { max-width: 16ch; margin-bottom: var(--s5); }

/* ------------------------------------------------------------------- motion */

/* The site has no ambient motion. Nothing here animates; this rule also stops anything a
   page adds for itself when the visitor asks for less motion. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* -------------------------------------------------------------------- print */

@media print {
  :root { --paper: #fff; --ink: #000; --ink-body: #000; --ink-soft: #222; }
  .site-head .btn, .site-nav, .act, .film, .skip { display: none; }
  .subject { box-shadow: none; }
  .subject .reading { display: grid !important; }
}

/* ------------------------------------------------------------------- the brand, 13 Nov 2026
   One colour with one meaning: flag is "this needs a person". It is a lamp or an edge, never
   text and never a button. The lamp follows the wordmark: a ring when nothing here needs the
   reader, a disc when something does. It is the only round thing on the site.
   A status tag says how far a claim has got, by its words and by its shape, in one ink. */
:root { --flag: #e8590c; --on-flag: #1d1d1b; }
.lamp { display: inline-block; width: 0.26em; height: 0.26em; margin-left: 0.07em; border: 0.05em solid currentColor; border-radius: 999px; vertical-align: 0.7em; }
.lamp.lit { background: var(--flag); border-color: var(--flag); }
.status { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--mono); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.status::before { content: ""; width: 0.8em; height: 0.8em; background: var(--ink); }
.status-dev::before { background: none; border: 2px solid var(--ink); }
