/* Arial rescaled to Inter Tight's width, so the hero holds at 390px when the web font is blocked. */
@font-face {
  font-family: 'Inter Tight Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
  size-adjust: 88%;
  ascent-override: 100%;
  descent-override: 25%;
  line-gap-override: 0%;
}

:root {
  --paper: #f3f0e8;
  --paper-2: #e9e5da;
  --white: #fbfaf6;
  --ink: #141414;
  --ink-2: #4f4d48;
  --faint: #86827a;
  --line: #141414;
  --hair: #c9c4b7;
  --red: #cc1a0a;
  --red-t: #c01808;
  --soft-t: #6e5500;
  --amber: #f0bd00;
  --green: #0d6b3a;
  --on-fill: #ffffff;
  --on-amber: #141414;
  --del-bg: #f4dcd6;
  --add-bg: #e3efe6;
  --hit-bg: #f6c9c0;
  --code-bg: #e9e5da;
  --press-n: #ff8a78;
  --press-d: #cfcabd;
  --sans: 'Inter Tight', 'Inter Tight Fallback', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --gutter: 40px;
  --gap: 24px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #141412;
    --paper-2: #232320;
    --white: #1b1b18;
    --ink: #f1efe8;
    --ink-2: #b7b3a7;
    --faint: #7c796f;
    --line: #f1efe8;
    --hair: #3a3934;
    --red-t: #ff6b57;
    --soft-t: #e8b92e;
    --del-bg: #3a1c17;
    --add-bg: #17301f;
    --hit-bg: #4f231c;
    --code-bg: #232320;
    --press-n: #b3170a;
    --press-d: #4f4d48;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--sans);
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
code, pre, kbd { font-family: var(--mono); font-size: 0.86em; font-variant-ligatures: none; }
[hidden] { display: none !important; }
p code, li p code { background: var(--code-bg); padding: 0.05em 0.3em; white-space: nowrap; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-t); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red-t); outline-offset: 2px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.red { color: var(--red-t); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 10; }
.skip:focus { top: 12px; }

/* top bar */
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; border-bottom: 2px solid var(--line);
}
.mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; text-decoration: none; }
.mark .logo { display: block; width: auto; height: 28px; }
.lg-r { fill: var(--red); }
.lg-a { fill: #ff5a43; }
@media (prefers-color-scheme: dark) { .lg-r, .lg-a { fill: var(--red-t); } }
.top nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

/* hero */
.hero {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  padding-top: 40px; padding-bottom: 40px;
}
.eyebrow {
  grid-column: 1 / -1; margin: 0 0 18px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
h1 {
  grid-column: 1 / -1; margin: 0;
  font-size: clamp(56px, 13.4vw, 196px);
  line-height: 0.86; font-weight: 900; letter-spacing: -0.028em; word-spacing: 0.06em;
  margin-left: -0.05em;
}
.lede { grid-column: 1 / span 7; margin-top: 36px; font-size: 21px; line-height: 1.42; font-weight: 500; letter-spacing: -0.01em; }
.lede p { margin: 0 0 12px; max-width: 40em; }
.lede p + p { color: var(--ink-2); font-weight: 400; font-size: 19px; }
.hero-cmd-wrap { grid-column: 1 / span 6; margin-top: 12px; }
.hero-cmd { display: flex; align-items: stretch; border: 2px solid var(--line); background: var(--white); }
.hero-cmd code { flex: 1; min-width: 0; padding: 16px 18px; font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.try { margin: 12px 0 0; font-size: 16px; font-weight: 500; }

.copy {
  border: 0; border-left: 2px solid var(--line); background: var(--ink); color: var(--paper);
  padding: 0 18px; font-size: 14px; font-weight: 600; letter-spacing: 0.02em; min-width: 84px; min-height: 44px;
}
.copy:hover, .copy.done { background: var(--red); color: var(--on-fill); }

/* exhibit A */
.exa {
  grid-column: 8 / -1; grid-row: 3 / span 2; align-self: start; margin-top: 36px;
  border: 2px solid var(--line); background: var(--white); padding: 18px 20px 16px;
}
.exa-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.exa-head h2 { margin: 0; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.exa-head span { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.exa-claim, .claim { margin: 12px 0 0; font-family: var(--mono); font-size: 13px; }
.exa-claim .k, .claim .k { color: var(--ink-2); }
.ok { color: #0d6b3a; font-weight: 600; white-space: nowrap; }
@media (prefers-color-scheme: dark) { .ok { color: #4fc486; } }
.exa-list { list-style: none; margin: 8px 0 0; padding: 0; font-family: var(--mono); font-size: 13px; }
.exa-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--hair); }
.exa-list .mk { font-weight: 700; color: var(--red-t); }
.exa-list .soft .mk { color: var(--soft-t); }
.exa-list .rid { font-weight: 600; font-size: 1em; overflow: hidden; text-overflow: ellipsis; }
.exa-list .loc { color: var(--ink-2); font-size: 12px; }
.exa-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; min-height: 52px; }
.exa-slab {
  display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 12px 7px;
  background: var(--red); color: var(--on-fill);
}
.exa-slab b { font-size: 26px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.exa-slab i { font-style: normal; font-family: var(--mono); font-size: 12px; }
.exa-slab.suspicious { background: var(--amber); color: var(--on-amber); }
.exa-slab.clean { background: var(--green); }
.linkish { border: 0; background: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); font-size: inherit; text-align: left; }
.exa-foot .linkish { font-size: 14px; font-weight: 600; }
.linkish:hover { color: var(--red-t); }

/* numbers */
.stats {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--gap);
  border-top: 2px solid var(--line); align-items: end; padding-top: 22px; padding-bottom: 36px;
}
.stat-big { display: flex; align-items: flex-end; gap: 22px; }
.num { font-size: clamp(120px, 17vw, 260px); font-weight: 900; line-height: 0.78; letter-spacing: -0.06em; color: var(--red-t); font-variant-numeric: tabular-nums; }
.stat-big .cap { font-size: clamp(18px, 1.8vw, 26px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; max-width: 7em; padding-bottom: 4px; }
.stat-text .field-test { margin: 0 0 14px; max-width: 34em; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.field-note { margin: 0 0 14px; max-width: 40em; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.stat-small { margin: 0; font-size: 14px; color: var(--ink-2); font-family: var(--mono); }
.statline { display: none; }

/* sections */
.sec { padding-top: 32px; padding-bottom: 72px; border-top: 2px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 48px minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap); align-items: start; margin-bottom: 32px; }
.idx { grid-column: 1; font-family: var(--mono); font-size: 15px; color: var(--red-t); font-weight: 600; padding-top: clamp(8px, 1.3vw, 18px); }
.sec h2 { grid-column: 2; margin: 0; font-size: clamp(40px, 5.4vw, 80px); line-height: 0.95; font-weight: 800; letter-spacing: -0.045em; text-wrap: balance; }
.sec-note { grid-column: 3; margin: clamp(8px, 1.1vw, 14px) 0 0; color: var(--ink-2); font-size: 16px; max-width: 34em; }

/* the instrument */
.instrument {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border: 2px solid var(--line); background: var(--white);
  min-height: 600px;
}
.pane { min-width: 0; }
.pane.in { border-right: 2px solid var(--line); display: flex; flex-direction: column; }
.tabs { display: flex; border-bottom: 2px solid var(--line); }
.tabs [role=tab] {
  flex: 1; border: 0; background: var(--paper); padding: 14px 10px; min-height: 48px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em;
}
.tabs [role=tab] + [role=tab] { border-left: 1px solid var(--line); }
.tabs [role=tab][aria-selected=true] { background: var(--white); box-shadow: inset 0 -4px 0 var(--red); }
.tabs [role=tab]:focus-visible { outline-offset: -4px; }
.panel { flex: 1; display: flex; flex-direction: column; min-width: 0; }

.cheats { list-style: none; margin: 0; padding: 0; }
.cheats li { border-bottom: 1px solid var(--hair); }
.cheat {
  width: 100%; border: 0; background: transparent; text-align: left;
  display: grid; grid-template-columns: 36px 1fr auto; column-gap: 12px; align-items: baseline;
  padding: 13px 18px; min-height: 48px;
}
.cheat .n { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.cheat .t { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.cheat .d { grid-column: 2; font-size: 14px; color: var(--ink-2); line-height: 1.35; margin-top: 2px; }
.cheat .tag { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.04em; padding: 1px 6px; }
.cheat .tag:empty { display: none; }
.cheat .tag.caught { background: var(--red); color: var(--on-fill); }
.cheat .tag.suspicious { background: var(--amber); color: var(--on-amber); }
.cheat .tag.clean { background: var(--green); color: var(--on-fill); }
.cheat:hover { background: var(--paper); }
.cheat:hover .t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cheat[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.cheat[aria-pressed=true] .d { color: var(--press-d); }
.cheat[aria-pressed=true] .n { color: var(--press-n); }
.cheat.caught[aria-pressed=true] { background: var(--red); color: var(--on-fill); }
.cheat.caught[aria-pressed=true] .d, .cheat.caught[aria-pressed=true] .n { color: #ffd9d3; }
.cheat.caught[aria-pressed=true] .tag { background: var(--on-fill); color: var(--red); }
.cheat:focus-visible { outline-offset: -3px; }
.cheats li.sep { border-top: 2px solid var(--line); }

.field { padding: 22px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.field label { font-weight: 600; font-size: 15px; }
.row { display: flex; gap: 0; }
.row.end { justify-content: space-between; align-items: center; gap: 12px; }
.field input, .field textarea {
  width: 100%; min-width: 0; border: 2px solid var(--line); background: var(--paper); color: var(--ink);
  font: 400 14px/1.5 var(--mono); font-variant-ligatures: none; padding: 12px 14px; border-radius: 0;
}
.field input[aria-invalid=true] { border-color: var(--red-t); }
.field textarea { resize: vertical; flex: 1; min-height: 300px; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--red-t); outline-offset: -1px; background: var(--white); }
.go {
  border: 2px solid var(--line); background: var(--ink); color: var(--paper); font-weight: 700;
  padding: 0 22px; min-height: 48px; margin-left: -2px;
}
.go:hover { background: var(--red); border-color: var(--red); color: var(--on-fill); }
.hint { margin: 0; font-size: 14px; color: var(--ink-2); }
.msg { margin: 0; font-size: 15px; min-height: 1.5em; overflow-wrap: anywhere; }
.msg.err { color: var(--red-t); font-weight: 600; }

/* output */
.pane.out { position: relative; display: flex; flex-direction: column; }
.empty { margin: auto 0; padding: 48px 40px; }
.empty-big { font-size: clamp(36px, 4vw, 60px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; margin: 0 0 16px; color: var(--faint); }
.empty p:last-child { margin: 0; color: var(--ink-2); max-width: 26em; }

.result { display: flex; flex-direction: column; min-width: 0; }
.claim { margin: 0; padding: 14px 28px 12px; border-bottom: 1px solid var(--hair); }
.verdict {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: 20px 28px 20px; border-bottom: 2px solid var(--line); overflow: hidden;
}
.v-sub { order: -1; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.02em; min-height: 1.4em; }
.v-sub:empty { display: none; }
.v-word { margin: 0; font-size: min(8.4vw, 118px); font-weight: 900; letter-spacing: -0.02em; line-height: 0.8; margin-left: -0.04em; overflow-wrap: anywhere; }
.v-word:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; }
.v-means { margin: 4px 0 0; font-size: 15px; line-height: 1.35; max-width: 34em; opacity: 0.92; }
.v-means:empty { display: none; }
.verdict.caught { background: var(--red); color: var(--on-fill); }
.verdict.suspicious { background: var(--amber); color: var(--on-amber); }
.verdict.clean { background: var(--green); color: var(--on-fill); }
.verdict.error { background: var(--paper-2); color: var(--ink); }
.verdict.error .v-word { color: var(--red-t); font-size: min(5.6vw, 76px); letter-spacing: -0.045em; line-height: 0.95; }
.verdict.error .v-means { font-size: 16px; opacity: 1; }
.verdict.loading { background: var(--paper-2); color: var(--ink); }
.verdict.loading .v-word { font-size: min(4.4vw, 56px); letter-spacing: -0.04em; line-height: 1; }
.v-bar { display: block; width: 100%; max-width: 360px; height: 6px; background: var(--hair); position: relative; overflow: hidden; }
.v-bar::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 35%; background: var(--ink); }
.v-meta { margin: 0; padding: 12px 28px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--hair); overflow-wrap: anywhere; }
.v-meta:empty { display: none; }
.v-meta a { color: var(--ink); }
.again { display: none; position: sticky; top: 0; z-index: 3; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none; min-height: 44px; align-items: center; }

.findings { list-style: none; margin: 0; padding: 0; }
.f { padding: 18px 28px 20px; border-bottom: 1px solid var(--hair); display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; }
.f .ico { width: 14px; height: 14px; margin-top: 4px; }
.f.hard .ico { background: var(--red); }
.f.soft .ico { border: 3px solid var(--soft-t); }
.f-head { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.f-rule { font-family: var(--mono); font-weight: 600; font-size: 15px; }
.f-tier { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; padding: 1px 6px; border: 1px solid currentColor; }
.f.hard .f-tier { color: var(--red-t); }
.f.soft .f-tier { color: var(--soft-t); }
.f-loc { font-family: var(--mono); font-size: 13px; color: var(--ink-2); margin-left: auto; overflow-wrap: anywhere; }
.f-lines { grid-column: 2; margin: 10px 0 8px; font-family: var(--mono); font-variant-ligatures: none; font-size: 12.5px; line-height: 1.55; overflow-x: auto; background: var(--paper); }
.f-lines span { display: block; white-space: pre-wrap; overflow-wrap: anywhere; padding: 2px 10px; }
.f-lines .add { background: var(--add-bg); border-left: 3px solid var(--green); padding-left: 7px; }
.f-lines .del { background: var(--del-bg); border-left: 3px solid var(--red); padding-left: 7px; }
.f-why { grid-column: 2; margin: 0; font-size: 15.5px; line-height: 1.45; max-width: 44em; }
.notes { margin: 0; padding: 14px 28px; font-size: 13px; color: var(--ink-2); font-family: var(--mono); }
.notes:empty { display: none; }

/* the sealed diff */
.diffbox { border-bottom: 1px solid var(--hair); }
.diffbox summary { padding: 14px 28px; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 48px; display: flex; align-items: center; }
.diffbox summary:focus-visible { outline-offset: -3px; }
.dv { border-top: 2px solid var(--line); background: var(--paper); padding: 10px 0 8px; max-height: 380px; overflow: auto; }
.dv:focus-visible { outline-offset: -3px; }
.dfile + .dfile { margin-top: 12px; }
.dname { font: 600 12.5px/1.4 var(--mono); padding: 2px 16px 6px; overflow-wrap: anywhere; }
.dname.flag { color: var(--red-t); }
.dhead { font: 400 12px/1.6 var(--mono); color: var(--ink-2); padding: 3px 16px; margin-top: 6px; border-top: 1px dashed var(--hair); background: var(--paper-2); }
.dname + .dhead { margin-top: 0; }
.dhunk { font-family: var(--mono); font-variant-ligatures: none; font-size: 12.5px; line-height: 1.6; margin-bottom: 4px; }
.dl { display: grid; grid-template-columns: 44px 16px max-content; width: max-content; min-width: 100%; }
.dn { color: var(--ink-2); text-align: right; padding-right: 10px; user-select: none; }
.dk { color: var(--ink-2); user-select: none; }
.dt { white-space: pre; padding-right: 16px; }
.dl.add { background: var(--add-bg); }
.dl.del { background: var(--del-bg); }
.dl.hit { background: var(--hit-bg); box-shadow: inset 4px 0 0 var(--red); }
.dl.hit .dn { color: var(--red-t); font-weight: 700; }
.dl.hit .dt { font-weight: 600; }
.dv-more { margin: 8px 16px 0; font-size: 13px; color: var(--ink-2); }

/* motion: only when the viewer is fine with it */
@media (prefers-reduced-motion: no-preference) {
  .verdict.pop .v-word { animation: stamp 420ms cubic-bezier(.2, .9, .25, 1.2) both; }
  .verdict.pop.caught { animation: flash 520ms ease-out both, shake 280ms 80ms linear; }
  .verdict.loading .v-bar::after { animation: scanbar 1.1s ease-in-out infinite alternate; }
  .f.in { animation: rise 320ms ease-out both; animation-delay: calc(var(--i) * 55ms + 120ms); }
  .exa-slab.pop { animation: stamp 420ms cubic-bezier(.2, .9, .25, 1.2) both; }
  .cheat { transition: background-color 120ms; }
}
@keyframes stamp { 0% { transform: scale(1.35) rotate(-3deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; } }
@keyframes flash { 0% { background: var(--ink); } 100% { background: var(--red); } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 45% { transform: translateX(6px); } 70% { transform: translateX(-3px); } 85% { transform: translateX(2px); } }
@keyframes scanbar { from { left: 0; } to { left: 65%; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* commands */
.cmds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); }
.cmds li p { margin: 10px 0 0; color: var(--ink-2); font-size: 15.5px; }
.cmd { display: flex; border: 2px solid var(--line); background: var(--white); min-width: 0; }
.cmd code { flex: 1; min-width: 0; padding: 14px 16px; font-size: 15px; overflow-x: auto; white-space: nowrap; }
.cmd .copy { flex: none; }

.yaml { position: relative; border: 2px solid var(--line); background: var(--ink); color: var(--paper); max-width: 760px; margin-left: calc(48px + var(--gap)); }
.yaml pre { margin: 0; padding: 22px 24px; font-size: 14px; line-height: 1.6; overflow-x: auto; }
.yaml .copy { position: absolute; top: 0; right: 0; border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper); background: var(--paper); color: var(--ink); min-height: 40px; }
.yaml .copy:hover, .yaml .copy.done { background: var(--red); color: var(--on-fill); }

/* rules */
.rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); border-top: 2px solid var(--line); }
.rule { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 16px 0 18px; border-bottom: 1px solid var(--hair); }
.rule .rn { font-family: var(--mono); font-size: 13px; color: var(--ink-2); padding-top: 3px; }
.rule .rid { font-family: var(--mono); font-weight: 600; font-size: 15px; }
.rule .rt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; margin-left: 10px; padding: 1px 6px; border: 1px solid currentColor; vertical-align: 2px; }
.rule.hard .rt { color: var(--red-t); }
.rule.soft .rt { color: var(--soft-t); }
.rule p { grid-column: 2; margin: 6px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.45; }

/* limits */
.limits { display: grid; grid-template-columns: 48px minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--gap); }
.pull { grid-column: 2; margin: 0; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.limits-body { grid-column: 3; font-size: 17px; }
.limits-body p { margin: 0 0 14px; }

.foot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px 40px; border-top: 2px solid var(--line); padding-top: 22px; padding-bottom: 44px; font-size: 15px; }
.foot p { margin: 0; }
.foot .sign { max-width: 38em; font-size: 17px; }
.foot .sign p + p { margin-top: 10px; }
.foot .by { font-size: 14px; color: var(--ink-2); font-family: var(--mono); }
.foot .links a + a { margin-left: 18px; }

/* tablet */
@media (max-width: 1080px) {
  .lede { grid-column: 1 / -1; }
  .hero-cmd-wrap { grid-column: 1 / span 8; }
  .instrument { grid-template-columns: minmax(0, 1fr); }
  .pane.in { border-right: 0; border-bottom: 2px solid var(--line); }
  .sec h2 { grid-column: 2 / -1; }
  .sec-note { grid-column: 2 / -1; margin-top: 14px; }
  .v-word { font-size: min(14vw, 110px); }
  .again { display: flex; }
  .verdict.error .v-word, .verdict.loading .v-word { font-size: min(8vw, 56px); }
  .cmds { grid-template-columns: minmax(0, 1fr); }
  .pull, .limits-body { grid-column: 2 / -1; }
  .stats { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
  .limits-body { margin-top: 20px; }
  .top nav { gap: 18px; }
}
@media (max-width: 900px) {
  .hero-cmd-wrap { grid-column: 1 / -1; }
  .exa { grid-column: 1 / -1; grid-row: auto; margin-top: 22px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
  .exa-head, .exa-claim, .exa-foot .linkish, .exa-list .mk, .exa-list .loc { display: none; }
  .exa-foot { order: -1; margin: 0; min-height: 44px; }
  .exa-list { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .exa-list li { display: block; padding: 2px 8px; border: 1px solid var(--hair); background: var(--paper); }
  .exa-list .rid { font-size: 12px; }
  .exa-slab { padding: 8px 12px; }
  .exa-slab b { font-size: 24px; }
}

/* phone */
@media (max-width: 700px) {
  :root { --gutter: 16px; --gap: 16px; }
  body { font-size: 16px; }
  .top { height: auto; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; gap: 8px 16px; }
  .top nav { gap: 6px 16px; flex-wrap: wrap; font-size: 14px; }
  .top nav a.wide { display: none; }
  .hero { padding-top: 28px; padding-bottom: 24px; }
  h1 { font-size: 14.4vw; line-height: 0.9; }
  .lede { font-size: 18px; margin-top: 24px; }
  .lede p + p { font-size: 16px; }
  .hero-cmd-wrap { margin-top: 6px; }
  .hero-cmd code { font-size: 15px; padding: 14px; }
  .try { font-size: 17px; }
  .try a { display: inline-block; padding: 8px 0; }
  .stat-big { display: none; }
  .stats { display: block; border-top: 0; padding: 0 var(--gutter) 22px; }
  .stat-text .field-test { font-size: 16px; font-weight: 500; color: var(--ink-2); }
  .statline { display: block; margin-top: 0; margin-bottom: 0; padding-top: 14px; padding-bottom: 8px; border-top: 2px solid var(--line); font-size: 19px; font-weight: 500; color: var(--ink-2); text-wrap: balance; }
  .statline b { font-weight: 700; }
  .sec { padding-bottom: 48px; }
  .sec-head { display: block; margin-bottom: 22px; }
  .idx { display: block; margin-bottom: 8px; padding-top: 0; }
  .sec h2 { font-size: 44px; }
  .instrument { min-height: 0; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); border-left: 0; border-right: 0; }
  .cheat { padding: 12px 16px; grid-template-columns: 26px 1fr auto; }
  .cheat .d { grid-column: 2 / -1; }
  .empty { padding: 36px 16px; }
  .claim { padding: 12px 16px 10px; }
  .verdict { padding: 18px 16px 16px; }
  .v-word { font-size: 17vw; }
  .verdict.error .v-word, .verdict.loading .v-word { font-size: 9vw; }
  .v-meta, .notes { padding-left: 16px; padding-right: 16px; }
  .f { padding: 16px; grid-template-columns: 16px minmax(0, 1fr); column-gap: 8px; }
  .f-loc { margin-left: 0; flex-basis: 100%; }
  .f-lines { grid-column: 1 / -1; }
  .f-why { grid-column: 1 / -1; font-size: 15px; }
  .diffbox summary { padding: 12px 16px; }
  .cmd code { font-size: 13.5px; white-space: normal; overflow-wrap: anywhere; }
  .yaml { margin-left: 0; }
  .yaml pre { font-size: 13px; padding: 18px 16px; }
  .rules { grid-template-columns: 1fr; }
  .rule { grid-template-columns: 30px 1fr; }
  .limits { display: block; }
  .pull { font-size: 24px; margin-bottom: 18px; }
  .field { padding: 18px 16px; }
  .field textarea { min-height: 220px; }
  .foot .links a + a { margin-left: 14px; }
}

.diffbox summary { list-style: none; gap: 10px; }
.diffbox summary::-webkit-details-marker { display: none; }
.diffbox summary::before { content: '+'; font-family: var(--mono); width: 1ch; }
.diffbox[open] summary::before { content: '\2212'; }
