/* RindBench: the rind app's look. Ink panels, peel green, hard shadows. */
:root {
  --ink: #13101b;
  --ink-2: #1a1424;
  --panel: #211a2d;
  --panel-2: #2a2035;
  --line: #50405e;
  --line-soft: #3a2f47;
  --shadow: #09070e;
  --cream: #f6f0e4;     /* 15.8:1 on panel */
  --muted: #cfc3db;     /* 9.4:1 on panel */
  --peel: #add500;      /* 10.6:1 on panel */
  --peel-mid: #719500;
  --peel-deep: #4d7000;
  --gold: #f0c14a;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;
  --radius: 6px;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 50% -200px, var(--panel-2), transparent 70%),
    var(--ink);
  min-height: 100vh;
}
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 var(--sp-5); }
a { color: var(--peel); text-underline-offset: .18em; }
a:hover { color: #c8f02a; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(19, 16, 27, .92); backdrop-filter: blur(8px); border-bottom: 2px solid var(--line-soft); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-2) var(--sp-5); padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
.brand { display: flex; align-items: center; gap: var(--sp-2); text-decoration: none; color: var(--cream); }
.brand img { width: 30px; height: 30px; }
.brand b { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.brand span { font: 700 .68rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: var(--peel); padding: 4px 6px; border-radius: 3px; }
.top nav { display: flex; flex-wrap: wrap; gap: var(--sp-1); }
.top nav a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius); text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; border: 2px solid transparent; }
.top nav a:hover { color: var(--cream); background: var(--panel); }
.top nav a[aria-current] { color: var(--cream); background: var(--panel); border-color: var(--peel-mid); }

main.wrap { padding-top: var(--sp-6); padding-bottom: var(--sp-7); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 850; margin: 0 0 var(--sp-4); }
h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 800; margin: 0 0 var(--sp-4); }
h3 { font-size: 1.1rem; font-weight: 750; margin: 0 0 var(--sp-2); }
.eyebrow { font: 700 .75rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--peel); margin: 0 0 var(--sp-3); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
section.block { margin-top: var(--sp-7); }
.block-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.block-head h2 { margin: 0; }

/* Panels */
.panel {
  background: linear-gradient(180deg, var(--panel), var(--ink-2));
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 4px 0 var(--shadow);
  padding: var(--sp-5);
}
.panel.peel { border-color: var(--peel-mid); }
.panel.gold { border-color: var(--gold); }
.panel > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: var(--sp-4); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(min(16.5rem, 100%), 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--sp-6); align-items: center; padding: var(--sp-6) 0 var(--sp-5); }
.hero-art { position: relative; justify-self: center; width: min(320px, 100%); aspect-ratio: 1; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(173, 213, 0, .22), transparent 65%); }
.hero-art img { position: relative; width: 78%; height: auto; filter: drop-shadow(0 10px 0 var(--shadow)); }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.facts { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); padding: 0; list-style: none; }
.facts li { display: flex; align-items: baseline; gap: var(--sp-2); background: var(--panel); border: 2px solid var(--line-soft); border-radius: var(--radius); padding: 6px 12px; color: var(--muted); font-size: .92rem; }
.facts strong { color: var(--cream); font: 800 1.15rem/1 var(--mono); }

/* Buttons */
.button, button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font: inherit; font-weight: 750; cursor: pointer; text-decoration: none;
  background: var(--peel); color: var(--ink); border: 2px solid var(--peel); border-radius: var(--radius);
  padding: 10px 18px; box-shadow: 0 4px 0 var(--peel-deep);
  transition: transform .08s ease, box-shadow .08s ease;
}
.button:hover, button:hover { color: var(--ink); background: #c2ec12; }
.button:active, button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--peel-deep); }
.button.ghost, button.ghost { background: transparent; color: var(--cream); border-color: var(--line); box-shadow: 0 4px 0 var(--shadow); }
.button.ghost:hover, button.ghost:hover { border-color: var(--peel-mid); background: var(--panel); color: var(--cream); }
button:disabled { opacity: .7; cursor: default; transform: none; }
.button.danger { background: #ffb4b4; border-color: #ffb4b4; box-shadow: 0 4px 0 #7a2b38; }

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.steps li { position: relative; padding-top: var(--sp-5); }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -14px; left: var(--sp-5);
  width: 30px; height: 30px; display: grid; place-items: center;
  font: 800 .95rem/1 var(--mono); color: var(--ink); background: var(--peel); border-radius: 50%; box-shadow: 0 3px 0 var(--peel-deep);
}
.steps p { margin: 0; color: var(--muted); }

/* The validation flow: an infographic on the home page and FAQ, and the live checklist on the run page. */
/* Four steps go four across, two by two, or one per row, never three and a lone fourth. The
   width that decides is the space the flow has (the FAQ puts it in a narrower column). */
:has(> .flow) { container-type: inline-size; }
.flow { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container (min-width: 54rem) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@container (max-width: 27rem) { .flow { grid-template-columns: minmax(0, 1fr); } }
.flow li { background: var(--panel); border: 2px solid var(--line-soft); border-radius: 8px; padding: var(--sp-4); display: grid; gap: 6px; align-content: start; box-shadow: 0 4px 0 var(--shadow); }
.flow-top { display: flex; align-items: center; justify-content: space-between; color: var(--peel); margin-bottom: var(--sp-2); }
.flow .n { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); border: 2px solid var(--line); font: 800 .8rem/1 var(--mono); color: var(--muted); }
.flow h3 { margin: 0; font-size: 1.05rem; }
.flow p { margin: 0; color: var(--muted); font-size: .94rem; }
.flow .state { font: 700 .74rem/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.flow .state:empty { display: none; }
.flow li[data-state=now] { border-color: var(--gold); }
.flow li[data-state=now] .n { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.flow li[data-state=now] .state { color: var(--gold); }
.flow li[data-state=done] { border-color: var(--peel-mid); }
.flow li[data-state=done] .n { background: var(--peel); border-color: var(--peel); color: var(--ink); font-size: 0; }
.flow li[data-state=done] .n::after { content: "\2713"; font-size: .85rem; }
.flow li[data-state=done] .state { color: var(--peel); }
.flow li[data-state=problem] { border-color: #ffb4b4; }
.flow li[data-state=problem] .n { background: #ffb4b4; border-color: #ffb4b4; color: var(--ink); font-size: 0; }
.flow li[data-state=problem] .n::after { content: "!"; font-size: .85rem; }
.flow li[data-state=problem] .state { color: #ffb4b4; }
.agree-row { display: flex; align-items: flex-start; gap: var(--sp-3); font-weight: 650; margin: var(--sp-3) 0 0; }
.agree-row input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--peel); flex: none; }

/* The ways to take part: browser and phone stacked, the CLI beside them. */
.ways { display: grid; gap: var(--sp-4); grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "browser cli" "phone cli"; }
.ways .w-browser { grid-area: browser; }
.ways .w-phone { grid-area: phone; display: grid; grid-template-columns: auto 1fr; gap: 0 var(--sp-4); align-items: center; }
.ways .w-phone .qr-tile svg { width: 116px; height: 116px; }
.ways .w-cli { grid-area: cli; }
.ways.no-phone { grid-template-areas: "browser cli"; align-items: start; }
/* Feature cards */
.feature h3 { display: flex; align-items: center; gap: var(--sp-2); }
.feature h3 .icon { color: var(--peel); width: 1.4em; height: 1.4em; }
.feature p { color: var(--muted); }
.tag { display: inline-block; font: 700 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 4px 6px; }
pre { background: var(--ink); border: 2px solid var(--line-soft); border-radius: var(--radius); padding: var(--sp-3) var(--sp-4); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .84rem; line-height: 1.5; color: var(--cream); margin: 0 0 var(--sp-3); }
code { font-family: var(--mono); }
pre .p { color: var(--peel); user-select: none; }

/* QR */
.qr { display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: center; }
.qr-tile { background: #fff; padding: 10px; border-radius: var(--radius); border: 2px solid var(--peel-mid); box-shadow: 0 4px 0 var(--shadow); line-height: 0; }
.qr-tile svg { width: 148px; height: 148px; }
.qr ul { list-style: none; padding: 0; margin: var(--sp-3) 0 0; display: grid; gap: var(--sp-2); }
.qr li { display: flex; gap: var(--sp-2); align-items: flex-start; color: var(--muted); }
.qr li .icon { color: var(--peel); margin-top: 3px; }
.qr .link { font: 600 .9rem var(--mono); word-break: break-all; }

/* Results */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--panel); border: 2px solid var(--line-soft); border-radius: calc(var(--radius) + 4px); }
.tabs a { padding: 6px 14px; border-radius: var(--radius); text-decoration: none; color: var(--muted); font-weight: 650; }
.tabs a[aria-current] { background: var(--peel); color: var(--ink); }
.legend { display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .92rem; margin: var(--sp-4) 0 var(--sp-5); }
.legend .meter { width: 120px; flex: none; }
.legend > span:last-child { flex: 1 1 20rem; }
.devices { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); align-items: start; }
.device header { display: flex; gap: var(--sp-3); align-items: flex-start; margin-bottom: var(--sp-3); }
.device header .icon { width: 2rem; height: 2rem; color: var(--peel); background: var(--ink); border: 2px solid var(--line-soft); border-radius: var(--radius); padding: 5px; }
.device h3 { margin: 0 0 4px; overflow-wrap: anywhere; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.tag.earned { color: var(--ink); background: var(--peel); border-color: var(--peel); }

/* Community quests: coverage toward a goal, never a ranking. */
.quests { list-style: none; padding: 0; margin: var(--sp-4) 0 0; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr)); }
.quest { background: var(--panel); border: 2px solid var(--line-soft); border-radius: 8px; padding: var(--sp-4); display: grid; gap: var(--sp-2); align-content: start; box-shadow: 0 4px 0 var(--shadow); }
.quest.done { border-color: var(--peel-mid); }
.quest-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); }
.quest h3 { margin: 0; font-size: 1.05rem; }
.quest-count { font: 700 .8rem/1 var(--mono); color: var(--muted); white-space: nowrap; }
.quest p { margin: 0; color: var(--muted); font-size: .92rem; }
.progress { height: 10px; background: var(--ink); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--peel); border-radius: 5px 0 0 5px; }
.collect { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.collect li { font: 700 .7rem/1 var(--mono); letter-spacing: .04em; border-radius: 3px; padding: 5px 7px; }
.collect .got { color: var(--ink); background: var(--peel); }
.collect .missing { color: var(--muted); border: 1px dashed var(--line); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Badges a sent run earned, on the run page. */
.earned-badges { margin: var(--sp-4) 0; padding: var(--sp-4); border: 2px solid var(--peel-mid); border-radius: 8px; background: var(--panel); }
.earned-badges h3 { margin: 0 0 var(--sp-3); }
.badge-list { list-style: none; padding: 0; margin: 0 0 var(--sp-3); display: grid; gap: var(--sp-2); grid-template-columns: repeat(auto-fill, minmax(min(15rem, 100%), 1fr)); }
.badge { display: grid; gap: 2px; padding: 10px 12px; border-radius: 6px; background: var(--ink); border-left: 4px solid var(--peel); }
.badge strong { color: var(--cream); }
.badge span { color: var(--muted); font-size: .9rem; }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "op v" "m m"; column-gap: var(--sp-3); row-gap: 6px; align-items: end; padding: 10px 0; border-top: 1px solid var(--line-soft); font-size: .92rem; }
.rows li > .op { grid-area: op; }
.rows li > .v { grid-area: v; }
.rows li > .meter { grid-area: m; }
.rows .op small { display: inline; margin-left: 6px; }
.rows .v { font: 700 .9rem var(--mono); text-align: right; color: var(--cream); }
.rows .op { color: var(--cream); }
.rows .op small { color: var(--muted); font-size: .78rem; }
/* A ratio meter: the track spans 0 to 2x, the tick marks 1.00, the bar is the ratio. One neutral color. */
.meter { position: relative; height: 10px; background: var(--ink); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--r) * 50%); max-width: 100%; background: var(--muted); border-radius: 5px 0 0 5px; opacity: .85; }
.meter::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--peel); }
.device footer { margin-top: var(--sp-3); font-size: .82rem; color: var(--muted); }
.empty { text-align: center; padding: var(--sp-7) var(--sp-5); }
.empty img { width: 96px; opacity: .55; margin-bottom: var(--sp-3); filter: grayscale(.2); }
.empty p { color: var(--muted); max-width: 30rem; margin: 0 auto var(--sp-4); }

/* FAQ */
.faq { display: grid; gap: var(--sp-3); }
.faq details { background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius); box-shadow: 0 4px 0 var(--shadow); }
.faq details[open] { border-color: var(--peel-mid); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); font-weight: 750; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 3px solid var(--peel); border-bottom: 3px solid var(--peel); transform: rotate(45deg); transition: transform .15s; flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary .icon { color: var(--peel); }
.faq .answer { padding: 0 var(--sp-5) var(--sp-4) calc(var(--sp-5) + 1.25em + var(--sp-3)); color: var(--muted); }
.faq .answer p { margin: 0 0 var(--sp-2); }
.layout-faq { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--sp-6); align-items: start; }
.layout-faq aside { position: sticky; top: 90px; }
.layout-faq aside .qr { grid-template-columns: 1fr; justify-items: start; }

/* Run page */
.stepper { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: var(--sp-2); padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--panel); border: 2px solid var(--line-soft); color: var(--muted); font-weight: 650; font-size: .9rem; }
.stepper li b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); border: 2px solid var(--line); font: 800 .8rem/1 var(--mono); color: var(--muted); }
.stepper li[data-state=now] { border-color: var(--gold); color: var(--cream); }
.stepper li[data-state=now] b { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.stepper li[data-state=done] { color: var(--cream); }
.stepper li[data-state=done] b { background: var(--peel); border-color: var(--peel); color: var(--ink); }
label { display: block; font-weight: 700; margin-bottom: var(--sp-2); }
input[type=text], input:not([type]) {
  font: inherit; width: 100%; max-width: 26rem; padding: 10px 12px; color: var(--cream);
  background: var(--ink); border: 2px solid var(--line); border-radius: var(--radius);
}
input::placeholder { color: #9d90ab; }
input:focus { border-color: var(--peel-mid); }
.hint { font-size: .9rem; color: var(--muted); margin: var(--sp-2) 0 0; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); margin: var(--sp-4) 0 var(--sp-2); font-weight: 700; }
.status-row span:last-child { font-family: var(--mono); color: var(--muted); }
/* Segmented progress, as in the iPad app: one segment per round. */
.segments { display: grid; grid-template-columns: repeat(var(--n, 7), 1fr); gap: 4px; padding: 4px; background: var(--ink); border: 2px solid var(--line); border-radius: var(--radius); }
.segments i { height: 14px; background: var(--panel-2); border-radius: 2px; }
.segments i.done { background: var(--peel); }
.segments i.now { background: var(--gold); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: .55; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .segments i.now { animation: none; } .button, button { transition: none; } }
.check { display: flex; gap: var(--sp-3); align-items: flex-start; padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); background: rgba(173, 213, 0, .1); border: 2px solid var(--peel-mid); margin-bottom: var(--sp-4); }
.check .icon { color: var(--peel); width: 1.5em; height: 1.5em; }
.check.warn { background: rgba(240, 193, 74, .08); border-color: var(--gold); }
.check.warn .icon { color: var(--gold); }
.notice { padding: var(--sp-3) var(--sp-4); border-radius: var(--radius); border: 2px solid var(--peel-mid); background: rgba(173, 213, 0, .08); margin: var(--sp-4) 0; }
.notice.held { border-color: var(--line); background: var(--ink); }
details.raw summary { cursor: pointer; color: var(--peel); font-weight: 700; margin: var(--sp-3) 0; }
#json { max-height: 22rem; overflow: auto; }
.copyrow { display: flex; gap: var(--sp-2); flex-wrap: wrap; align-items: center; }
.copyrow input { flex: 1 1 18rem; }

.foot { border-top: 2px solid var(--line-soft); margin-top: var(--sp-6); padding-top: var(--sp-5); padding-bottom: var(--sp-6); font-size: .9rem; color: var(--muted); display: flex; gap: var(--sp-3); align-items: center; }
.foot img { width: 22px; height: 22px; opacity: .8; }
.foot p { margin: 0; }

@media (max-width: 52rem) {
  .ways { grid-template-columns: 1fr; grid-template-areas: "browser" "cli" "phone"; }
  .ways.no-phone { grid-template-areas: "browser" "cli"; }
  .hero { grid-template-columns: 1fr; padding-top: var(--sp-4); }
  .hero-art { grid-row: 1; width: 160px; }
  .layout-faq { grid-template-columns: 1fr; }
  .layout-faq aside { position: static; }
}
@media (max-width: 34rem) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 var(--sp-4); }
  .top .wrap { flex-wrap: wrap; gap: var(--sp-2); }
  .brand span { display: none; }
  .top nav { flex: 1 1 100%; min-width: 0; gap: 0; }
  .top nav a { min-height: 44px; padding: 5px 6px; font-size: .9rem; }
  .hero-art { width: 120px; }
  .hero { gap: var(--sp-4); }
  .actions .button { flex: 1 1 100%; }
  .ways .w-phone { grid-template-columns: 1fr; }
  .stepper { gap: 4px; }
  .stepper li { font-size: .78rem; padding: 4px 8px 4px 4px; gap: 6px; }
  .stepper li b { width: 20px; height: 20px; font-size: .7rem; }
  .panel { padding: var(--sp-4); }
  .qr { grid-template-columns: 1fr; justify-items: start; }
  .faq summary { padding: var(--sp-3) var(--sp-4); }
  .faq .answer { padding: 0 var(--sp-4) var(--sp-3); }
}
/* The run page's first screen. The four steps shrink to a strip of titles (the "What happens"
   panel says the rest), the consent gets the wider column, and the start button comes up
   with it. What follows a run (the table, the send panel) is long and scrolls. */
.run .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-2); margin-bottom: var(--sp-4); }
.run .flow li { padding: var(--sp-2) var(--sp-3); gap: 2px; }
.run .flow li p { display: none; }
.run .flow-top { margin-bottom: 0; }
.run .flow h3 { font-size: .98rem; }
.run .lead { font-size: 1rem; margin: 0 0 var(--sp-4); max-width: none; }
.run h1 { margin-bottom: var(--sp-2); }
.run .panel { padding: var(--sp-4); }
.run #setup h2, .run #about h2 { font-size: 1.25rem; margin-bottom: var(--sp-2); }
@container (min-width: 40rem) {
  .run .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 700px) {
  .run.wrap { padding-top: var(--sp-4); }
  .run h1 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
  .run .grid.two { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  .run .panel { padding: var(--sp-4) var(--sp-5); }
}
@media (min-width: 700px) {
  /* The footer line never needs a scroll of its own. */
  .run.wrap { padding-bottom: var(--sp-3); }
  .foot { margin-top: var(--sp-3); padding-top: var(--sp-3); padding-bottom: var(--sp-3); }
}
@media (max-height: 900px) {
  .run .hint { display: none; }
  .run .eyebrow { margin-bottom: 2px; }
}
@media (min-width: 700px) and (max-height: 780px) {
  /* A short landscape screen: the page title and the panels say what the lead says. */
  .run .lead, .run .eyebrow { display: none; }
}
@media (min-width: 700px) and (max-height: 900px) {
  .qr-tile svg { width: 116px; height: 116px; }
}
/* A short desktop or landscape tablet tightens the gaps between blocks. */
@media (min-width: 700px) and (max-height: 900px) {
  main.wrap { padding-top: var(--sp-4); }
  section.block { margin-top: var(--sp-5); }
  .hero { padding: var(--sp-4) 0 var(--sp-3); }
}
/* On a touch screen every link that works as a button gets Apple's 44 pt minimum. */
@media (any-pointer: coarse) {
  .brand, .top nav a, .tabs a { min-height: 44px; }
  .tabs a { display: inline-flex; align-items: center; }
}
.rows.plain li { display: flex; gap: var(--sp-3); align-items: flex-start; color: var(--muted); }
.rows.plain li b { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--peel-mid); color: var(--peel); font: 800 .78rem/1 var(--mono); }
.rows.plain li:first-child, .device .rows li:first-child { border-top: 0; }
.panel h2 { display: flex; align-items: center; gap: var(--sp-2); }
.panel h2 .icon { color: var(--peel); }
#rows { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(22rem, 100%), 1fr)); column-gap: var(--sp-6); }
#rows li:nth-child(2) { border-top: 0; }
@media (max-width: 52rem) { #rows li:nth-child(2) { border-top: 1px solid var(--line-soft); } }
.empty h2 { justify-content: center; }

/* The Turnstile human check on the browser run page. */
.turnstile { min-height: 70px; margin: 14px 0 6px; }

/* FAQ links land on answers below the sticky navigation. */
.faq-index ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: .45rem 1rem; padding-left: 1.15rem; margin: 0 0 1.5rem; }
.faq-index { scroll-margin-top: 5.5rem; }
.faq-entry { scroll-margin-top: 5.5rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.faq-entry h2 { margin: 0 0 .4rem; font-size: 1.2rem; }
.faq-entry p { margin: 0 0 .3rem; }
.faq-link { font-size: .85rem; }
@media (max-width: 34rem) {
  .faq-index, .faq-entry { scroll-margin-top: 11rem; }
}
