/* The site's one stylesheet, for its one page (index.html; the former second page's parts live in its expandable sections since 2 November 2026).
   Colours are tokens on :root with a dark scheme; one typeface, the system's sans-serif (3 November 2026); nothing from outside.
   Motion is small and stops under prefers-reduced-motion. */

:root {
  --ink: #1c2430;
  --muted: #5b6673;
  --line: #dde3ea;
  --paper: #ffffff;
  --wash: #f3f6f9;
  --blue: #1f5f8b;
  --blue-ink: #ffffff;
  --amber: #f2b84b;
  --amber-deep: #d99a1f;
  --amber-ink: #1a1408;
  --good: #2f6f4e;
  /* the bands and panels (the top band, the road, the "why certify" box, code, the foot) as tokens: a soft blue-grey
     with dark text in light mode, deep navy with light text in dark mode (3 November 2026, Yiqing Xu: dark blocks on
     white are too harsh in light mode) */
  --block: #dce5ef;
  --block-text: #18222f;
  --block-muted: #3f4f63;
  --block-ink: #0a1420;
  --block-accent: #9a6508;
  --block-line: rgba(14, 26, 43, .2);
  --block-tint: rgba(255, 255, 255, .78);
  --block-hover: rgba(14, 26, 43, .06);
  --block-dots: rgba(14, 26, 43, .07);
  --block-glow-amber: rgba(242, 184, 75, .3);
  --block-glow-blue: rgba(31, 95, 139, .2);
  --node-fill: #ffffff; --node-stroke: #6b839d; --node-icon: #1a5480; --node-lit: #fbe6bd;
  --shadow: 0 10px 30px rgba(14, 26, 43, .08);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #e6edf5; --muted: #a5b3c3; --line: #2a3a51; --paper: #0e1a2b; --wash: #16273f;
    --blue: #7fb6e2; --blue-ink: #0e1a2b; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --block: #0e1a2b; --block-text: #e6edf5; --block-muted: #9fb3c8; --block-ink: #ffffff; --block-accent: #f2b84b;
    --block-line: rgba(255, 255, 255, .16); --block-tint: rgba(255, 255, 255, .05); --block-hover: rgba(255, 255, 255, .06);
    --block-dots: rgba(255, 255, 255, .07); --block-glow-amber: rgba(242, 184, 75, .22); --block-glow-blue: rgba(31, 95, 139, .45);
    --node-fill: #16273f; --node-stroke: #4e6a8c; --node-icon: #e6edf5; --node-lit: #274a72;
    color-scheme: dark;
  }
}
/* the reader's own choice from the switch at the top of the page (3 November 2026, Yiqing Xu's suggestion);
   the same colours as above, which a media query cannot share with an attribute selector */
:root[data-theme="dark"] {
  --ink: #e6edf5; --muted: #a5b3c3; --line: #2a3a51; --paper: #0e1a2b; --wash: #16273f;
  --blue: #7fb6e2; --blue-ink: #0e1a2b; --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --block: #0e1a2b; --block-text: #e6edf5; --block-muted: #9fb3c8; --block-ink: #ffffff; --block-accent: #f2b84b;
  --block-line: rgba(255, 255, 255, .16); --block-tint: rgba(255, 255, 255, .05); --block-hover: rgba(255, 255, 255, .06);
  --block-dots: rgba(255, 255, 255, .07); --block-glow-amber: rgba(242, 184, 75, .22); --block-glow-blue: rgba(31, 95, 139, .45);
  --node-fill: #16273f; --node-stroke: #4e6a8c; --node-icon: #e6edf5; --node-lit: #274a72;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); line-height: 1.6; color: var(--ink); background: var(--paper); }
h1, h2, h3, .eyebrow, button, .num, .kicker, .actions, summary, .back, .stations, .benefits, footer nav { font-family: var(--sans); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 44rem; }
a { color: var(--blue); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the top band ---- */
.hero {
  position: relative; overflow: hidden; color: var(--block-text);
  background:
    radial-gradient(70rem 34rem at 88% 115%, var(--block-glow-amber), transparent 60%),
    radial-gradient(50rem 30rem at -10% -30%, var(--block-glow-blue), transparent 60%),
    var(--block);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--block-dots) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), transparent 85%);
}
.hero .wrap { position: relative; }
.hero.front .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; padding-top: 3rem; padding-bottom: 2.6rem; }
.hero.slim .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.hero.slim .brand { margin: 0; }
.brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.6rem; }
.brand svg { width: 34px; height: 34px; }
.eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 700; color: var(--amber); }
h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1.02; margin: 0 0 1rem; font-weight: 800; letter-spacing: -0.03em; color: var(--block-ink); }
h1 em { font-style: normal; color: var(--amber); }   /* the stamp's own yellow, in both modes (Katalina, 3 November 2026) */
.hero.slim h1 { font-size: 1.15rem; margin: 0; letter-spacing: 0; }
.promise { font-size: 1.25rem; line-height: 1.5; color: var(--block-muted); margin: 0 0 1.8rem; max-width: 30rem; }
.promise b { color: var(--block-text); font-weight: 600; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .6rem; padding: .8rem 1.3rem; border-radius: 12px; font-weight: 700; font-size: 1rem; line-height: 1.25; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-amber { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.btn-amber:hover { background: #f6c66a; border-color: #f6c66a; }
.btn-big { padding: 1.05rem 1.6rem; font-size: 1.15rem; box-shadow: 0 12px 34px rgba(242, 184, 75, .28); }
.btn-big:hover { transform: translateY(-1px); box-shadow: 0 16px 40px rgba(242, 184, 75, .34); }
.btn-big.is-done { background: #d5e8cf; border-color: #d5e8cf; color: #163b27; box-shadow: none; }
.linklike { background: none; border: 0; padding: 0; margin: 0; font: inherit; font-family: var(--sans); font-weight: 600; color: var(--block-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--block-ink); }
.back { color: var(--block-ink); text-decoration: none; font-weight: 600; font-size: .95rem; border: 2px solid var(--block-line); border-radius: 10px; padding: .45rem .9rem; }
.back:hover { border-color: var(--block-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 1.1rem; align-items: center; margin: 0; }

/* why certify: the gains to the author that the paper names, a few words each, two columns */
.benefits { margin: 0; background: var(--block-tint); border: 1px solid var(--block-line); border-radius: 16px; padding: 1.3rem 1.5rem 1.4rem; }
.benefits figcaption { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--block-accent); margin: 0 0 .9rem; }
.benefits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .85rem 1.2rem; }
.benefits li { display: flex; align-items: center; gap: .75rem; max-width: none; font-weight: 700; font-size: .98rem; line-height: 1.25; color: var(--block-text); }
.benefits svg { width: 24px; height: 24px; flex: none; color: var(--block-accent); }
.benefits small { display: block; font-weight: 400; font-size: .76rem; color: var(--block-muted); margin-top: .1rem; }

/* the road: the three things the author does, one dot travelling station to station */
.road { grid-column: 1 / -1; margin: .6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--block-line); }
.road svg { width: 100%; height: auto; display: block; max-width: 56rem; margin: 0 auto; }
.stations { list-style: none; margin: .2rem auto 0; padding: 0; max-width: 56rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.stations li { max-width: none; }
.stations b { display: block; color: var(--block-ink); font-size: 1.05rem; }
.stations span { display: block; color: var(--block-muted); font-size: .92rem; line-height: 1.4; margin-top: .15rem; }
/* One eight-second cycle: the dot leaves station 1 at 5%, reaches 2 at 28%, sets out again at 38%,
   reaches the seal at 61%, which stamps; each arrival lights the station and sends out a ring, and
   each stretch of road turns amber behind the dot (a stretch resets when the dot sets out on it again). */
@keyframes run {
  0% { transform: translateX(0); opacity: 1; }
  5% { transform: translateX(0); }
  28% { transform: translateX(300px); }
  38% { transform: translateX(300px); }
  61% { transform: translateX(600px); }
  88% { transform: translateX(600px); opacity: 1; }
  91% { transform: translateX(600px); opacity: 0; }
  92% { transform: translateX(0); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes ping { 0% { opacity: .95; transform: scale(1); } 11% { opacity: 0; transform: scale(1.75); } 100% { opacity: 0; transform: scale(1.75); } }
@keyframes lit { 0% { fill: var(--node-fill); stroke: var(--node-stroke); } 2% { fill: var(--node-lit); stroke: #f2b84b; } 11% { fill: var(--node-lit); stroke: #f2b84b; } 16% { fill: var(--node-fill); stroke: var(--node-stroke); } 100% { fill: var(--node-fill); stroke: var(--node-stroke); } }
@keyframes draw { 0% { stroke-dashoffset: 228; } 23% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
@keyframes stamp-loop { 0%, 61% { transform: scale(1); } 63% { transform: scale(1.18); } 67% { transform: scale(1); } 100% { transform: scale(1); } }
@keyframes glow-loop { 0%, 59% { opacity: 0; } 63% { opacity: 1; } 80% { opacity: 0; } 100% { opacity: 0; } }
.runner { animation: run 8s ease-in-out infinite; filter: drop-shadow(0 0 6px rgba(242, 184, 75, .9)); }
.ping { fill: none; stroke: #f2b84b; stroke-width: 2; opacity: 0; transform-origin: center; transform-box: fill-box; animation: ping 8s ease-out infinite; }
.node { fill: var(--node-fill); stroke: var(--node-stroke); stroke-width: 2; animation: lit 8s linear infinite; }
.draw { stroke-dasharray: 228; stroke-dashoffset: 228; animation: draw 8s ease-in-out infinite; }
.seal { transform-origin: center; transform-box: fill-box; animation: stamp-loop 8s ease-in-out infinite; }
.seal-glow { opacity: 0; animation: glow-loop 8s ease-in-out infinite; }
.road svg g[stroke="#e6edf5"] { stroke: var(--node-icon); }   /* the stations' icons follow the scheme */
@media (prefers-reduced-motion: reduce) {
  .runner, .ping, .node, .draw, .seal, .seal-glow, .btn { animation: none; transition: none; }
  .runner, .ping { opacity: 0; }
  .draw { stroke-dashoffset: 0; }
}

/* ---- sections ---- */
section { padding: 3rem 0; }
section.wash { background: var(--wash); }
h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; margin: 0 0 1rem; font-weight: 800; letter-spacing: -0.01em; }
.kicker { color: var(--blue); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; margin: 0 0 .5rem; }
h3 { font-size: 1.1rem; margin: 0 0 .35rem; font-weight: 700; }
p, li { max-width: 44rem; }
.lead { font-size: 1.12rem; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.two > * { min-width: 0; }   /* a wide code block scrolls inside its column instead of widening it */
.figure { margin: 1.4rem 0 0; }
.figure svg { width: 100%; height: auto; display: block; max-width: 40rem; margin: 0 auto; }
.figure figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; text-align: center; }

/* the dropdowns: the form itself, then the answers (front page) */
.asides { display: grid; gap: .6rem; max-width: 46rem; }
details.aside { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); padding: .7rem 1rem; }
details.aside summary { font-weight: 700; color: var(--blue); cursor: pointer; list-style: none; display: flex; align-items: center; gap: .5rem; }
details.aside summary::-webkit-details-marker { display: none; }
details.aside summary::before { content: "▸"; font-size: .9em; }
details.aside[open] summary::before { content: "▾"; }
details.aside p { margin: .6rem 0 .1rem; color: var(--ink); font-size: .98rem; }
textarea#out { width: 100%; min-height: 24rem; margin-top: .8rem; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--block); color: var(--block-text); font-family: var(--mono); font-size: .86rem; line-height: 1.45; resize: vertical; white-space: pre; }
.small { font-size: .95rem; color: var(--muted); }
button:focus-visible, textarea:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #9cc3e0; outline-offset: 2px; }

/* ---- the paper, the page's contents and Figure 1 (more.html) ---- */
.paper-note { padding: 2rem 0 1.6rem; }
.contents { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: .4rem 0 0; font-weight: 700; }
.contents a { color: var(--blue); text-decoration: none; }
.contents a:hover { text-decoration: underline; }
details.figure-pop { margin-top: 1.2rem; }
details.figure-pop summary { font-weight: 700; color: var(--blue); cursor: pointer; }
details.figure-pop img { width: 100%; max-width: 46rem; height: auto; display: block; margin: 1rem auto 0; border: 1px solid var(--line); border-radius: 12px; }
.needs-short { margin: .6rem 0 .1rem; padding-left: 1.3rem; color: var(--ink); font-size: .98rem; }
.needs-short li { margin: .35rem 0; }

/* ---- what you need, the long list (more.html) ---- */
.needs { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 2rem; }
.needs li { position: relative; padding-left: 2rem; max-width: none; }
.needs li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .95rem; height: .95rem; border-radius: 50%; background: var(--amber); box-shadow: inset 0 0 0 3px var(--wash); border: 2px solid var(--amber); }

/* ---- step cards (more.html) ---- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 1.4rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.4rem 1.3rem; box-shadow: var(--shadow); position: relative; }
.card .num { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--amber); margin-bottom: .6rem; letter-spacing: -0.03em; }
.card p { margin: 0; }

/* ---- grade scale ---- */
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; margin: 1.4rem 0 .4rem; position: relative; }
.scale::before { content: ""; position: absolute; left: 10%; right: 10%; top: .55rem; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--good), #6a9a4a 45%, var(--amber) 80%, #c9572e); }
.stop { text-align: center; position: relative; padding-top: 1.5rem; }
.stop::before { content: ""; position: absolute; left: 50%; top: 0; width: 1.15rem; height: 1.15rem; margin-left: -.575rem; border-radius: 50%; background: var(--paper); border: 4px solid var(--dot); }
.stop b { display: block; font-size: 1rem; }
.stop span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; }

/* ---- the certification look-up (more.html, for journals) ---- */
.lookup label { display: block; font-weight: 700; margin: 0 0 .45rem; }
.lookup-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.lookup input { flex: 1 1 16rem; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--paper); color: var(--ink); }
.lookup-out:empty { display: none; }
.lookup-out { margin: 1rem 0 .6rem; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.lookup-out .verdict { font-weight: 700; font-size: 1.05rem; margin: 0 0 .35rem; }
.lookup-out .verdict.certified { color: #2f6f4e; }
.lookup-out .verdict.marked, .lookup-out .verdict.pending { color: #b07d16; }
.lookup-out .verdict.failed { color: #c9572e; }
.lookup-out dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: .6rem 0; font-size: .93rem; }
.lookup-out dt { color: var(--muted); }
.lookup-out dd { margin: 0; overflow-wrap: anywhere; }
.lookup-out p { margin: .3rem 0; }

/* ---- check block ---- */
pre.term { background: var(--block); color: var(--block-text); padding: 1rem 1.2rem; border-radius: 10px; overflow-x: auto; font-family: var(--mono); font-size: .92rem; margin: 1rem 0; }
pre.term .c { color: var(--block-muted); }
pre.term .a { color: var(--block-accent); }
code { font-family: var(--mono); font-size: .92em; background: var(--wash); padding: .1rem .35rem; border-radius: 4px; }
section.wash code { background: var(--paper); }

/* ---- questions (more.html) ---- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 2rem; margin-top: 1.2rem; }
.qa { border-top: 3px solid var(--amber); padding-top: .8rem; }
.qa h3 { margin-bottom: .3rem; }
.qa p { margin: 0; font-size: .98rem; }

/* ---- the software section's list of checksums (more.html) ---- */
.software .prose { max-width: 46rem; }
table.sums { width: 100%; table-layout: fixed; border-collapse: collapse; margin: 1rem 0; font-size: .88rem; }
table.sums caption { text-align: left; font-weight: 600; margin-bottom: .4rem; }
table.sums th { width: 34%; text-align: left; font-weight: 500; padding: .45rem .8rem .45rem 0; vertical-align: top; overflow-wrap: anywhere; }
table.sums td { padding: .45rem 0; }
table.sums tr + tr { border-top: 1px solid var(--line, rgba(127,127,127,.25)); }
table.sums code { font-family: var(--mono); word-break: break-all; }
table.sums td code { display: block; }

/* ---- the foot: the links to the rest, one line about the project ---- */
footer { background: var(--block); color: var(--block-muted); font-size: .92rem; }
footer .wrap { padding: 1.5rem 1.25rem 2rem; display: grid; gap: .8rem; }
footer nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
footer nav a { color: var(--block-ink); font-weight: 600; text-decoration: none; }
footer nav a:hover { text-decoration: underline; }
footer p { margin: 0; max-width: none; }
footer a { color: var(--block-ink); }

/* ---- narrower screens ---- */
@media (max-width: 1000px) {
  .hero.front .wrap { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .two, .faq, .cards, .needs { grid-template-columns: 1fr; }
  .stop span { display: none; }
  html { font-size: 16px; }
}
@media (max-width: 640px) {
  .benefits ul { grid-template-columns: 1fr; }
  .road svg { display: none; }
  .stations { grid-template-columns: 1fr; text-align: left; counter-reset: station; gap: .9rem; }
  .stations li { display: grid; grid-template-columns: 2rem 1fr; column-gap: .8rem; align-items: start; }
  .stations li::before { counter-increment: station; content: counter(station); grid-row: 1 / span 2; display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--amber); color: var(--amber-ink); font-weight: 800; }
  .btn-big { width: 100%; justify-content: center; }
  table.sums, table.sums caption, table.sums tbody, table.sums tr, table.sums th, table.sums td { display: block; width: auto; }
  table.sums th { padding-bottom: 0; }
}

/* ---- the walkthrough link and the contact line under the road (2026-10-19) ---- */
.road .walk { margin: 1.1rem 0 0; font-size: 1.1rem; color: var(--block-ink); text-align: center; white-space: nowrap; }
.road .walk b { color: var(--amber); }
@media (max-width: 52rem) { .road .walk { white-space: normal; } .road .walk a { white-space: nowrap; } }
.road .walk a { color: var(--block-ink); font-weight: 700; text-decoration: underline; text-underline-offset: .15em; }
#steps h3 { margin: 1.6rem 0 .35rem; font-size: 1.12rem; }
#steps h3:first-of-type { margin-top: 1rem; }
#steps p { max-width: 52rem; }

/* ---- the steps, front and centre (index.html, 2026-10-19) ---- */
.steps { list-style: none; margin: 1.4rem 0 0; padding: 0; max-width: 56rem; }
.steps li { padding: .9rem 0; border-top: 1px solid var(--line); max-width: none; }
.steps li:first-child { border-top: 0; padding-top: .4rem; }
.steps summary { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; align-items: center; cursor: pointer; list-style: none; }
.steps summary::-webkit-details-marker { display: none; }
.steps summary h3::after { content: " ▸"; color: var(--blue); font-weight: 400; }
.steps details[open] summary h3::after { content: " ▾"; }
.steps .step-body { margin: .4rem 0 0 4.2rem; }
.step-num { font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--amber); letter-spacing: -.02em; padding-top: .1rem; }
.steps h3 { margin: 0; font-size: 1.15rem; }
.steps p { margin: .35rem 0; max-width: 50rem; }
.steps p.feedback { margin-top: .7rem; padding: .6rem .9rem; background: var(--wash); border-left: 3px solid var(--amber); border-radius: 6px; font-size: 1rem; max-width: 50rem; }
.steps p.feedback a { color: var(--blue); font-weight: 700; }
.steps ul.check { list-style: disc; margin: .4rem 0 .7rem; padding-left: 1.25rem; max-width: 50rem; }
.steps ul.check li, .steps ul.check li:first-child { margin: .3rem 0; padding: 0; border-top: 0; }
.steps p.later { margin-top: .6rem; padding: .45rem .8rem; border-left: 3px solid var(--blue); background: var(--paper); color: var(--muted, #4a5a6a); font-size: .93rem; max-width: 50rem; }
.fold-all { margin: .6rem 0 0; font-size: .95rem; } .fold-all a { color: var(--blue); font-weight: 700; }
.steps p.hitch { margin-top: .7rem; padding: .7rem .9rem; background: var(--wash); border-left: 3px solid var(--amber); border-radius: 6px; font-size: .97rem; }
@media (max-width: 40rem) { .steps summary { grid-template-columns: 2.2rem 1fr; gap: .7rem; } .steps .step-body { margin-left: 0; } .step-num { font-size: 1.7rem; } }

/* ---- the one page (2 November 2026): the hero in one column with the beta box, the stakeholder sections, the walkthrough ---- */
.hero.one .wrap { display: block; padding-top: 2.6rem; padding-bottom: 2.4rem; }
.hero.one .promise { max-width: 46rem; font-size: 1.22rem; color: var(--block-text); }
.beta { margin: 1.4rem 0 0; max-width: 46rem; padding: .9rem 1.1rem; border-radius: 12px; background: rgba(242, 184, 75, .14); border: 1px solid rgba(242, 184, 75, .55); color: var(--block-text); }
.beta p { margin: 0; max-width: none; font-size: 1rem; line-height: 1.5; }
.beta b { color: var(--block-accent); }
.beta a { color: var(--block-ink); font-weight: 700; }
#how .lead { max-width: 50rem; }
#how p { max-width: 50rem; }
details.who { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); margin: 0 0 1rem; box-shadow: var(--shadow); }
details.who > summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "kicker arrow" "title arrow"; align-items: center; column-gap: 1rem; }
details.who > summary::-webkit-details-marker { display: none; }
details.who > summary .kicker { grid-area: kicker; margin: 0 0 .2rem; }
details.who > summary h2 { grid-area: title; margin: 0; font-size: clamp(1.25rem, 2vw, 1.6rem); }
details.who > summary::after { grid-area: arrow; content: "▸"; font-size: 1.6rem; color: var(--blue); font-family: var(--sans); }
details.who[open] > summary::after { content: "▾"; }
details.who[open] > summary { border-bottom: 1px solid var(--line); }
.who-body { padding: 1.4rem 1.4rem 1.6rem; }
.who-body.two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.who-body .two { margin-bottom: 1.2rem; }
.who-body .benefits { background: var(--block); border-color: var(--block-line); }
.who-body .road { background: var(--block); border: 0; border-radius: 14px; padding: 1.4rem 1.2rem 1.4rem; margin: 1.2rem 0 0; }
.who-body .road .start { margin: 1.3rem 0 0; text-align: center; }
.stepper { margin: 1.4rem 0 0; }
.progress { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.progress button { width: 100%; padding: .7rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: var(--wash); color: var(--ink); font: inherit; font-family: var(--sans); font-weight: 700; cursor: pointer; }
.progress button[aria-current="step"] { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.pane { border-top: 3px solid var(--amber); padding-top: 1rem; }
.pane h3 { font-size: 1.2rem; margin: 1rem 0 .4rem; }
.pane h3:first-child { margin-top: 0; }
.pane p, .pane li { max-width: 52rem; }
.pane p.nav { margin-top: 1.4rem; display: flex; gap: .8rem; flex-wrap: wrap; }
.pane .aside { max-width: 52rem; margin-top: .6rem; }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); }
blockquote.cite { margin: .8rem 0; padding: .8rem 1rem; border-left: 3px solid var(--amber); background: var(--wash); font-family: var(--sans); font-size: .98rem; max-width: 52rem; }
section.wash blockquote.cite, .who-body blockquote.cite { background: var(--wash); }
.pane p.feedback { margin-top: .8rem; padding: .6rem .9rem; background: var(--wash); border-left: 3px solid var(--amber); border-radius: 6px; font-size: 1rem; max-width: 52rem; }
.software table.sums { margin-top: 1rem; }
@media (max-width: 860px) {
  .who-body.two { grid-template-columns: 1fr; }
  .progress { grid-template-columns: 1fr; }
  details.who > summary { padding: 1rem 1rem; }
  .who-body { padding: 1rem 1rem 1.2rem; }
}

/* ---- the road once Get started is clicked: the dot sits at the reader's step, the road is drawn up to it, the seal stamps at the end ---- */
.stations li .start { margin: .7rem 0 0; }
.road.manual .runner { animation: none; opacity: 1; transform: translateX(var(--x, 0px)); transition: transform .9s ease-in-out; }
.road.manual .ping, .road.manual .seal-glow { animation: none; opacity: 0; }
.road.manual .node { animation: none; }
.road.manual .draw { animation: none; stroke-dashoffset: 228; transition: stroke-dashoffset .9s ease-in-out; }
.road.manual.at-2 .draw:first-child, .road.manual.at-3 .draw { stroke-dashoffset: 0; }
.road.manual .seal { animation: none; transform: scale(1); transition: transform .4s ease-out .6s; }
.road.manual.at-3 .seal { transform: scale(1.14); }
.road.manual.at-3 .seal-glow { opacity: 1; transition: opacity .6s ease-out .6s; }
@media (max-width: 640px) { .stations li .start { grid-column: 2; } }

/* ---- Gary King's edits (2 November 2026, evening): Figure 1 top right; the party large in each heading; benefits and actions as lists ---- */
.hero.one .hero-text { min-width: 0; }
.hero.one .promise a { color: var(--block-ink); font-weight: 600; text-decoration-color: var(--amber); }
details.who > summary { grid-template-areas: "title arrow" "sub arrow"; }
details.who > summary h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
details.who > summary .sub { grid-area: sub; color: var(--muted); font-size: 1.05rem; margin-top: .3rem; }
.pitch h3 { margin: 1.1rem 0 .4rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.pitch ul { margin: 0; padding-left: 1.2rem; }
.pitch li { margin: .4rem 0; }
.pitch .lead { margin-top: 0; }


/* ---- Figure 1 full size over the page: one click opens, the next click anywhere returns (2 November 2026) ---- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 2vh 2vw; background: rgba(8, 16, 28, .9); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 8px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }

/* ---- Gary King's edits of 3 November 2026: Figure 1 in four parts; the groups as folder tabs; Get started beside the road; the steps under tabs; the questions collapsed ---- */

.tabs { margin-top: .2rem; }
.tablist { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0 .6rem; }
.tablist [role="tab"] { font: inherit; font-family: var(--sans); font-weight: 800; font-size: 1.02rem; padding: .8rem 1.15rem .75rem; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: #e6ebf1; color: #3a4654; cursor: pointer; }
.tablist [role="tab"]:hover { color: #1c2430; }   /* fixed dark greys: the closed tabs stay light in dark mode too */
.tablist [role="tab"][aria-selected="true"] { background: var(--paper); color: var(--ink); border-top: 4px solid var(--amber); padding-top: calc(.8rem - 3px); position: relative; z-index: 1; margin-bottom: -1px; }
.tabpanel { border: 1px solid var(--line); border-radius: 0 14px 14px 14px; background: var(--paper); box-shadow: var(--shadow); }
.tabpanel .sub { margin: 0 0 1rem; color: var(--muted); font-family: var(--sans); font-weight: 600; font-size: 1.08rem; }
.tabpanel .two { margin-bottom: 0; }

/* The road row: the button directly left of the road itself, the stations under the road; the stations are the step tabs. */
.road-row { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "start svg" "blank stations"; column-gap: 0; row-gap: .2rem; align-items: center; margin: 1.2rem 0 0; padding: 1.2rem 1.4rem; background: var(--block); border-radius: 14px; }
.road-row .start-cell { grid-area: start; display: flex; justify-content: center; }
/* The button is a station of the road's own kind: a slim amber pill the road's line leaves from; the line is drawn by
   the road itself from its left edge, which touches the pill, so there is no seam. */
.btn-road { padding: .55rem 1.1rem; font-size: .98rem; border-radius: 999px; box-shadow: none; font-weight: 700; letter-spacing: .01em; }
.btn-road:hover { transform: none; }
.road-row figure.road { display: contents; }
.road-row .road > svg { grid-area: svg; max-width: none; }
.road-row .stations { grid-area: stations; max-width: none; margin-top: 0; }
.stations button.station { appearance: none; -webkit-appearance: none; background: none; border: 0; margin: 0; padding: .35rem .5rem; width: 100%; color: inherit; font: inherit; text-align: inherit; cursor: pointer; border-radius: 8px; }
.stations button.station:hover b, .stations button.station:focus-visible b { color: var(--block-accent); }
.stations button.station[aria-selected="true"] { background: rgba(242, 184, 75, .14); outline: 1px solid rgba(242, 184, 75, .5); }
.stations button.station[aria-selected="true"] b { color: var(--block-accent); }
@media (max-width: 640px) { .road-row { grid-template-columns: 1fr; grid-template-areas: "start" "stations"; } .stations li { grid-template-columns: 2rem 1fr; } }

.pane { border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem 1.4rem 1.3rem; background: var(--paper); margin-top: .9rem; }
.pane > p:first-child { margin-top: 0; }

details.questions > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .7rem; }
details.questions > summary::-webkit-details-marker { display: none; }
details.questions > summary h2 { margin: 0; }
details.questions > summary::after { content: "▸"; font-size: 1.6rem; color: var(--blue); font-family: var(--sans); }
details.questions[open] > summary::after { content: "▾"; }
details.questions .asides { margin-top: 1rem; }
details.aside .software p:first-child { margin-top: .6rem; }
details.aside .software pre.term { margin-top: .8rem; }

/* ---- the top of the page (3 November 2026, "make it look good, symmetric"): two columns with the same top and bottom
   edges. The mark sits above both; the title and the card start on one line; the card "Certification at a glance" holds
   Figure 1's four parts, which spread evenly to fill the column, and the paper's citation at its foot; the beta box closes
   the right column level with the last line of the blurb. The parts are buttons: a click opens one and closes the others. */
.hero.one .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); column-gap: 3rem; row-gap: 0; align-items: stretch; padding-top: 2.2rem; padding-bottom: 2.8rem; }
.hero.one .brand { grid-column: 1 / -1; margin: 0 0 1.5rem; }
/* the light/dark switch: shows a moon in light mode and a sun in dark mode */
.theme-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; padding: 0; border-radius: 999px; border: 1px solid var(--block-line); background: var(--block-tint); color: var(--block-accent); cursor: pointer; }
.theme-toggle:hover, .theme-toggle:focus-visible { background: var(--block-hover); }
.theme-toggle svg { width: 1.1rem; height: 1.1rem; }
.theme-toggle .icon-sun { display: none; }
html.is-dark .theme-toggle .icon-sun { display: block; }
html.is-dark .theme-toggle .icon-moon { display: none; }
.hero.one h1 { font-size: clamp(2.2rem, 3.6vw, 2.9rem); line-height: 1.05; text-wrap: balance; margin: 0 0 1.1rem; }
.hero.one .promise { margin: 0; line-height: 1.55; }
.glance { display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.glance-card { flex: 1 1 auto; display: flex; flex-direction: column; background: var(--block-tint); border: 1px solid var(--block-line); border-radius: 14px; overflow: hidden; }
.glance-head { margin: 0; padding: .7rem 1.15rem .6rem; font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--block-accent); border-bottom: 1px solid var(--block-line); }
.glance-parts { flex: 1 1 auto; display: flex; flex-direction: column; }
.glance .part { flex: 1 1 auto; display: flex; flex-direction: column; }
.glance .part + .part { border-top: 1px solid var(--block-line); }
.glance .part.open { flex-grow: 0; }
.part-bar { flex: 1 1 auto; min-height: 2.75rem; display: flex; align-items: center; gap: .85rem; width: 100%; margin: 0; padding: .45rem 1.15rem; background: none; border: 0; color: var(--block-ink); font: inherit; font-family: var(--sans); font-weight: 700; font-size: 1rem; text-align: left; cursor: pointer; }
.part-bar:hover, .part-bar:focus-visible { background: var(--block-hover); }
.part-bar .n { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.65rem; height: 1.65rem; border-radius: 6px; background: var(--amber); color: var(--amber-ink); font-size: .95rem; }
.part-bar::after { content: "▸"; margin-left: auto; color: var(--block-accent); }
.part-bar[aria-expanded="true"]::after { content: "▾"; }
.glance .part.open > .part-bar { flex-grow: 0; }
.part-panel { padding: 0 1.15rem 1rem; }
.part-panel a.enlarge { display: block; cursor: zoom-in; }
.part-panel img { width: 100%; height: auto; display: block; border-radius: 8px; background: #fff; }
.glance .details-line { margin: 0; padding: .7rem 1.15rem .75rem; border-top: 1px solid var(--block-line); font-size: .88rem; line-height: 1.45; color: var(--block-muted); }
.glance .details-line a { color: var(--block-ink); }
.glance .beta { margin: 0; max-width: none; }
@media (max-width: 820px) {
  .hero.one .wrap { grid-template-columns: 1fr; }
  .glance { margin-top: 2rem; max-width: 34rem; }
}

/* ---- under the look-up box, the forms a reader can paste (Katalina, 3 November 2026) ---- */
.paste-forms { margin: .3rem 0 0; padding-left: 1.2rem; }
.paste-forms li { margin: .2rem 0; }

/* ---- the text a reader copies into their AI assistant, with its Copy button (3 November 2026) ---- */
.copy-box { position: relative; margin: 1rem 0 .8rem; }
.copy-box pre { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; background: var(--wash); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: .9rem 6rem .9rem 1rem; font-family: var(--mono); font-size: .88rem; line-height: 1.5; }
.copy-box .copy-btn { position: absolute; top: .55rem; right: .55rem; padding: .4rem .9rem; font-size: .9rem; border-radius: 8px; }

/* ---- the steps' content as bullet points (Katalina, 4 November 2026) ---- */
.pane ul.steps-list { margin: 0 0 1rem; padding-left: 1.25rem; }
.pane details.aside ul.steps-list { margin: .5rem 0 .1rem; font-size: .98rem; }
.pane ul.steps-list li { margin: .45rem 0; padding-left: .2rem; }
.pane ul.steps-list li::marker { color: var(--amber-deep); }
.pane ul.steps-list blockquote.cite { margin: .6rem 0 .2rem; }
.pane h3 { margin: 1.3rem 0 .4rem; }
