/* Survey ink: graph-paper mist, survey-ink navy and one highlighter, set in
   Archivo and Public Sans. Both faces are SIL Open Font License 1.1 and served
   from this site (licenses beside them in /kit/), so nothing loads from
   elsewhere. The build fills in each font file's version. */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/kit/publicsans-400.woff2?v=45870c9f) format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/kit/publicsans-600.woff2?v=2a21fbff) format("woff2"); }
@font-face { font-family: "Archivo Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url(/kit/archivo-condensed-800.woff2?v=5cc5bf11) format("woff2"); }
@font-face { font-family: "Archivo Expanded"; font-style: normal; font-weight: 800; font-display: swap; src: url(/kit/archivo-expanded-800.woff2?v=8869b712) format("woff2"); }

:root {
  --paper: #eef3f7;
  --card: #ffffff;
  --ink: #14243b;
  --ink-soft: #34475f;
  --ink-faint: #4f6075;
  --line: #c8d5e1;
  --accent: #1f4fa8;
  --dark: #14243b;
  --hi: #f5b700;
  --l-green: #1e7a5a;
  --l-fog: #7fa6be;
  --l-hair: #c8d5e1;
  --l-tick: #5b6b7f;
  --l-tail: #e1e9f0;
  --survey-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --survey-display: "Archivo Condensed", "Arial Narrow", "Helvetica Neue", system-ui, sans-serif;
  --survey-ordinal: "Archivo Expanded", "Helvetica Neue", Arial, system-ui, sans-serif;
}
main, .site-footer { font-family: var(--survey-sans); }
main h1, main h2, main h3, .l100 figcaption { font-family: var(--survey-display); font-weight: 800; letter-spacing: 0; }
main h1 { font-size: clamp(2rem, 7vw, 2.9rem); line-height: 1.05; }
main h2 { font-size: 1.45rem; }
.swipe, .coh .o, .rank-n { font-family: var(--survey-ordinal); font-weight: 800; letter-spacing: -0.01em; }
.swipe { font-size: clamp(2.8rem, 13vw, 4.1rem); }
.money-field input::placeholder { color: #5b6b7f; }

/* the comparison switch */
.seg { display: flex; width: 100%; max-width: 22rem; border: 1.5px solid var(--ink); border-radius: 10px; overflow: hidden; margin: 0.6rem 0 0.3rem; }
.seg label { position: relative; flex: 1 1 0; justify-content: center; text-align: center; display: flex; align-items: center; min-height: var(--tap); padding: 0 0.9rem; font-weight: 600; font-size: 0.92rem; cursor: pointer; background: var(--card); color: var(--ink); }
.seg label + label { border-left: 1.5px solid var(--ink); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--ink); color: #ffffff; }
.seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: -3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
fieldset.seg { min-width: 0; padding: 0; }
.pick { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 0.5rem 0; }
.pick label { font-weight: 600; font-size: 0.92rem; }
.pick select { min-height: var(--tap); padding: 0 0.6rem; font: inherit; font-size: 1rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); max-width: 100%; }
.pick select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.margin { font-size: 0.9rem; color: var(--ink-soft); }
table.data th { color: var(--ink-soft); border-bottom-color: var(--ink); }
.pm { color: var(--ink-faint); font-size: 0.85em; }
