/* Layout idea: an evidence bench. Left = the exhibit (the message, under a forensic photo scale).
   Right = the findings (one stamped verdict, then numbered evidence markers). Yellow is reserved for markers. */
:root {
  --paper: #E9EDF0;
  --surface: #FFFFFF;
  --ink: #0F1E28;
  --muted: #55656F;
  --line: #C5CED5;
  --marker: #FFD21F;
  --marker-ink: #1B1600;
  --bad: #BE1E17;
  --warn: #A85F00;
  --ok: #19704A;
  --neutral: #44535D;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C1318;
    --surface: #151F27;
    --ink: #E6EDF1;
    --muted: #94A4AF;
    --line: #2B3A45;
    --marker: #FFD21F;
    --marker-ink: #1B1600;
    --bad: #FF7067;
    --warn: #FFB04A;
    --ok: #5ED49B;
    --neutral: #A9B8C2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C1318;
  --surface: #151F27;
  --ink: #E6EDF1;
  --muted: #94A4AF;
  --line: #2B3A45;
  --marker: #FFD21F;
  --marker-ink: #1B1600;
  --bad: #FF7067;
  --warn: #FFB04A;
  --ok: #5ED49B;
  --neutral: #A9B8C2;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}
.wrap { max-width: 1120px; margin: 0 auto; padding: 28px 20px 56px; }

/* Header */
.masthead { display: flex; flex-direction: column; gap: 6px; margin-bottom: 26px; }
.masthead h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}
.masthead h1 span { background: var(--marker); color: var(--marker-ink); padding: 0 0.12em; }
.masthead p { margin: 0; max-width: 56ch; color: var(--muted); font-size: 1.05rem; }

/* Bench */
.bench { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .bench { grid-template-columns: minmax(0, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}

/* Forensic photo scale along the top of the exhibit */
.scale { height: 12px; border-bottom: 1px solid var(--line); border-radius: 3px 3px 0 0;
  background: repeating-linear-gradient(90deg, var(--ink) 0 12px, var(--surface) 12px 24px); }
.scale-ticks { height: 6px; border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--muted) 0 1px, transparent 1px 6px); opacity: .6; }

label, legend { font-weight: 600; font-size: 0.95rem; padding: 0; }
.hint { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
textarea, input[type="text"] {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 10px 12px;
}
textarea { font-family: var(--font-mono); font-size: 0.9rem; line-height: 1.55; min-height: 190px; resize: vertical; }
textarea:focus-visible, input:focus-visible, button:focus-visible, a:focus-visible, .chip input:focus-visible + span {
  outline: 3px solid var(--marker); outline-offset: 2px;
}
fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.88rem; background: var(--surface); cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.btn {
  font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.03em; text-transform: uppercase;
  background: var(--ink); color: var(--surface);
  border: 0; border-radius: 3px; padding: 12px 18px; cursor: pointer; width: 100%;
}
.btn:hover { filter: brightness(1.15); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-quiet {
  font: inherit; font-size: 0.85rem; background: transparent; color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px; padding: 6px 10px; cursor: pointer;
}
.btn-quiet:hover { border-color: var(--ink); }
.examples { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.examples p { margin: 0; font-size: 0.85rem; color: var(--muted); width: 100%; }
.small { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Findings */
.tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase;
  border: 1px dashed var(--muted); color: var(--muted); padding: 1px 6px; border-radius: 2px; }
.verdict-row { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.stamp {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 6.2vw, 3.7rem); line-height: 1; letter-spacing: 0.03em;
  padding: 0.14em 0.36em 0.1em;
  border: 4px solid currentColor; border-radius: 4px;
  transform: rotate(-2deg);
  margin: 4px 0 2px 2px;
}
.stamp.bad { color: var(--bad); } .stamp.warn { color: var(--warn); }
.stamp.ok { color: var(--ok); } .stamp.neutral { color: var(--neutral); }
.stamp.thunk { animation: thunk .28s cubic-bezier(.2,.9,.3,1.2) both; }
@keyframes thunk { from { transform: rotate(-7deg) scale(1.7); opacity: 0; } to { transform: rotate(-2deg) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .stamp.thunk { animation: none; } }

.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.88rem; color: var(--muted); margin: 0; }
.meta b { color: var(--ink); font-weight: 600; }
.summary { margin: 0; font-size: 1.08rem; max-width: 60ch; }
.caveat { margin: 0; padding: 10px 12px; border-left: 4px solid var(--ok); background: var(--paper); font-size: 0.92rem; }

h2 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; letter-spacing: 0.02em;
  text-transform: uppercase; margin: 0 0 10px; line-height: 1.1;
}
.block { border-top: 1px solid var(--line); padding-top: 16px; }
.flags, .steps, .signs, .routes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.flag { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.marker {
  width: 30px; height: 28px; display: grid; place-items: center;
  background: var(--marker); color: var(--marker-ink);
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1;
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
  margin-top: 1px;
}
.flag h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; }
.flag p { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 62ch; }
.quote {
  display: block; margin: 0 0 6px; padding: 5px 9px;
  font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.45;
  background: var(--paper); border-left: 3px solid var(--marker);
  overflow-wrap: anywhere; color: var(--ink);
}
.steps li, .signs li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 0.97rem; }
.steps li::before { content: "→"; font-weight: 600; }
.signs li::before { content: "·"; font-weight: 700; text-align: center; }
.settle { margin: 0; padding: 12px 14px; background: var(--ink); color: var(--surface); border-radius: 3px; font-size: 0.97rem; }
.settle b { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; display: block; margin-bottom: 2px; color: var(--marker); }
.routes { gap: 8px; }
.routes li { display: grid; grid-template-columns: minmax(0, 10.5em) minmax(0, 1fr); gap: 12px; font-size: 0.92rem; }
.routes li span:first-child { color: var(--muted); }
.routes b { font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .routes li { grid-template-columns: minmax(0, 1fr); gap: 0; } }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.foot-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.status { font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); margin: 0; min-height: 1.4em; }
.reading { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 4px; }
.reading .bar { height: 12px; background: var(--paper); border-radius: 2px; overflow: hidden; position: relative; }
.reading .bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--line); animation: sweep 1.1s linear infinite; }
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .reading .bar::after { animation: none; } }
footer { margin-top: 30px; color: var(--muted); font-size: 0.85rem; max-width: 80ch; display: flex; flex-direction: column; gap: 6px; }
footer p { margin: 0; }
[hidden] { display: none !important; }

/* ---- Live site additions ---- */
.masthead .kicker { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 400; font-size: 0.9rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.seen { margin: 0; padding: 10px 12px; border: 1px solid var(--line); border-left: 4px solid var(--marker); background: var(--paper); font-size: 0.95rem; display: flex; flex-direction: column; gap: 4px; }
.seen b { font-variant-numeric: tabular-nums; }
.site-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { margin: 14px 0 0; }
.prose p, .prose ul { margin: 0; }
.prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.masthead h1 a { color: inherit; text-decoration: none; }

/* ---- Site navigation ---- */
.topnav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; margin-bottom: 18px;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.topnav a { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.topnav a:hover { color: var(--ink); }
.topnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--marker); }

/* ---- Field guide: the warning signs ---- */
.guide { display: flex; flex-direction: column; gap: 44px; }
.section-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 800; margin: 0; line-height: 1; }
.section-head p { margin: 0; color: var(--muted); max-width: 62ch; }

.tells { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tell { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.tell-top { display: flex; align-items: flex-end; justify-content: space-between; }
.marker.big { width: 52px; height: 48px; font-size: 2.1rem; margin: 0; }
.tell svg { width: 34px; height: 34px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tell h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; margin: 4px 0 0; }
.tell .quote { margin: 0; }
.tell p { margin: 0; font-size: 0.95rem; }
.label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 2px; }

.cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; display: flex; flex-direction: column; }
.case-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; margin: 0; }
.via { display: flex; flex-wrap: wrap; gap: 6px; }
.via span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; color: var(--muted); }
.bubble { margin: 0; padding: 10px 12px; background: var(--paper); border-radius: 3px 12px 12px 12px; font-family: var(--font-mono); font-size: 0.84rem; line-height: 1.5; overflow-wrap: anywhere; }
.case dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.case dt { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.case dd { margin: 2px 0 0; font-size: 0.95rem; }
.case dd.move { font-weight: 600; }

.moves { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.moves li { padding: 18px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.moves li:last-child { border-right: 0; }
@media (max-width: 760px) { .moves li { border-right: 0; border-bottom: 1px solid var(--line); } .moves li:last-child { border-bottom: 0; } }
.moves h3 { font-family: var(--font-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; margin: 0; line-height: 1; }
.moves h3 span { background: var(--marker); color: var(--marker-ink); padding: 0 0.14em; }
.moves p { margin: 0; font-size: 0.95rem; }
.moves b { font-variant-numeric: tabular-nums; }

.cta { background: var(--ink); color: var(--surface); border-radius: 4px; padding: 26px 22px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); font-weight: 800; margin: 0; color: var(--surface); }
.cta p { margin: 4px 0 0; opacity: 0.85; max-width: 46ch; }
.cta a.btn-link { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none;
  background: var(--marker); color: var(--marker-ink); padding: 12px 20px; border-radius: 3px; white-space: nowrap; }
.cta a.btn-link:hover { filter: brightness(1.08); }
.teaser { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; margin-top: 26px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--marker); border-radius: 4px; }
.teaser b { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; }

/* ---- Screenshot upload ---- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.shots { display: flex; flex-direction: column; gap: 10px; margin-top: -6px; }
.shots-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.btn-quiet[disabled] { opacity: .5; cursor: not-allowed; }
.thumbs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs:empty { display: none; }
.thumbs li { position: relative; width: 72px; height: 108px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 2px; display: block; }
.thumb-remove { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--ink);
  background: var(--ink); color: var(--surface); font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
.shots-error { color: var(--bad); }
.transcript { margin: 0 0 8px; padding: 10px 12px; background: var(--paper); border-left: 3px solid var(--marker); font-family: var(--font-mono);
  font-size: 0.84rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow-y: auto; }

/* ---- Fraud in numbers ---- */
:root { --quiet: #AEB9C1; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --quiet: #4A5C69; } }
:root[data-theme="dark"] { --quiet: #4A5C69; }

.numbered-head { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; }
.numbered-head h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); font-weight: 800; margin: 0; line-height: 1; }
.lede { margin: 0 0 18px; color: var(--muted); max-width: 64ch; }
.src { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.04em; color: var(--muted); margin: 0; line-height: 1.5; }

.hero-fig { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 16px; }
@media (max-width: 860px) { .hero-fig { grid-template-columns: minmax(0, 1fr); } }
.fig-hero { background: var(--ink); color: var(--surface); border-radius: 4px; padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.fig-hero .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 13vw, 7.4rem); line-height: 0.9; letter-spacing: -0.01em; text-transform: uppercase; display: flex; flex-direction: column; align-items: flex-start; gap: 0.06em; margin-bottom: 6px; }
.fig-hero .num b { font-weight: 800; }
.fig-hero .num span { display: inline-block; background: var(--marker); color: var(--marker-ink); padding: 0.02em 0.12em 0; }
.fig-hero p { margin: 0; font-size: 1.15rem; max-width: 30ch; }
.fig-hero .src { color: var(--surface); opacity: 0.7; font-size: 0.68rem; max-width: none; }
.delta { display: inline-flex; gap: 6px; align-items: center; align-self: flex-start; font-family: var(--font-mono); font-size: 0.8rem; padding: 3px 9px; border-radius: 999px; background: var(--surface); color: var(--bad); font-weight: 500; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.tile .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.3rem); line-height: 0.95; }
.tile .num small { font-size: 0.5em; font-weight: 700; letter-spacing: 0.02em; }
.tile p { margin: 0; font-size: 0.95rem; }
.tile .src { margin-top: auto; padding-top: 6px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

.viz { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.viz h3 { margin: 0; font-size: 1.05rem; font-weight: 600; }
.viz > p { margin: 0; font-size: 0.97rem; max-width: 64ch; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: start; }
.side { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: 22px; align-items: center; }
@media (max-width: 620px) { .side { grid-template-columns: minmax(0, 1fr); } }

.waffle { width: 100%; max-width: 240px; height: auto; display: block; }
.w-on, .p-on { fill: var(--ink); }
.w-off, .p-off { fill: var(--quiet); }
.people { width: 100%; max-width: 330px; height: auto; display: block; }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.85rem; margin: 0; padding: 0; list-style: none; }
.key li { display: flex; gap: 7px; align-items: center; }
.sw { width: 12px; height: 12px; border-radius: 2px; background: var(--ink); flex: none; }
.sw.q { background: var(--quiet); }
.shift { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-weight: 800; line-height: 1; }
.shift .was { font-size: 2rem; color: var(--muted); }
.shift .arrow { font-size: 1.6rem; color: var(--muted); font-family: var(--font-body); font-weight: 400; }
.shift .now { font-size: 3.6rem; }
.shift .now span { background: var(--marker); color: var(--marker-ink); padding: 0 0.1em; }

/* Bars: <progress> elements, so widths come from the data attributes */
.bars { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.bar-row { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr) 4.6em; gap: 12px; align-items: center; font-size: 0.93rem; }
.bar-row .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.bar-row .name small { display: block; color: var(--muted); font-size: 0.8rem; }
@media (max-width: 520px) { .bar-row { grid-template-columns: minmax(0, 1fr) 4.6em; gap: 4px 12px; } .bar-row .name { grid-column: 1 / -1; } }
.bar { -webkit-appearance: none; -moz-appearance: none; appearance: none; display: block; width: 100%; height: 14px; border: 0; background: transparent; color: var(--ink); }
.bar::-webkit-progress-bar { background: transparent; }
.bar::-webkit-progress-value { background: var(--ink); border-radius: 0 4px 4px 0; }
.bar::-moz-progress-bar { background: var(--ink); border-radius: 0 4px 4px 0; }
.bar.q::-webkit-progress-value { background: var(--quiet); }
.bar.q::-moz-progress-bar { background: var(--quiet); }
.bar.meter { height: 18px; background: var(--paper); border-radius: 4px; overflow: hidden; }
.bar.meter::-webkit-progress-bar { background: var(--paper); border-radius: 4px; }
.pair { display: grid; gap: 5px; }
.pair-row { display: grid; grid-template-columns: 5.2em minmax(0, 1fr) 3em; gap: 10px; align-items: center; font-size: 0.85rem; }
.pair-row .val { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.93rem; }
.pair-row .what { color: var(--muted); }

/* One whole split into parts */
.split { display: grid; gap: 2px; height: 28px; }
.split.payment { grid-template-columns: 576.4fr 703.4fr; }
.split div { display: flex; align-items: center; padding: 0 9px; border-radius: 4px; font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.split .a { background: var(--ink); color: var(--surface); }
.split .b { background: var(--quiet); color: var(--ink); }
.split-key { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 20px; }
.split-key li { display: grid; grid-template-columns: 12px minmax(0, 1fr); gap: 4px 9px; align-items: start; font-size: 0.93rem; }
.split-key .sw { margin-top: 5px; }
.split-key b { display: block; }
.split-key span.more { color: var(--muted); font-size: 0.87rem; }
.up { color: var(--bad); font-weight: 600; white-space: nowrap; }
.down { color: var(--ok); font-weight: 600; white-space: nowrap; }

.ages { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.ages span { text-align: center; padding: 12px 2px; background: var(--paper); font-family: var(--font-mono); font-size: 0.74rem; border-radius: 3px; }
.ages .hot { background: var(--marker); color: var(--marker-ink); font-weight: 500; }
.why { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--marker); border-radius: 4px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.why h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; margin: 0; }
.why p { margin: 0; max-width: 66ch; }
.sources { font-size: 0.87rem; color: var(--muted); display: flex; flex-direction: column; gap: 6px; max-width: 86ch; }
.sources h2 { font-size: 1.2rem; color: var(--ink); margin: 0 0 2px; }
.sources ul { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.sources p { margin: 0; }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tiles.three { grid-template-columns: minmax(0, 1fr); } }

/* ---- Warning beacon and magnifying glass ---- */
.beacon { width: 44px; height: auto; display: block; flex: none; }
.beacon .dome { fill: var(--bad); }
.beacon .foot { fill: var(--ink); }
.beacon .rays path { stroke: var(--bad); stroke-width: 3; stroke-linecap: round; fill: none; }
.beacon .shine { stroke: #fff; stroke-width: 2; stroke-linecap: round; fill: none; opacity: 0.65; }
.magnifier { width: 46px; height: auto; display: block; flex: none; }
.magnifier .lens { fill: none; stroke: var(--warn); stroke-width: 4; }
.magnifier .glint { fill: none; stroke: var(--warn); stroke-width: 2.5; stroke-linecap: round; opacity: 0.6; }
.magnifier .handle { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }

.stamp-line { display: flex; align-items: center; gap: 12px; max-width: 100%; }
.verdict-pic { display: block; flex: none; }
@media (max-width: 480px) { .stamp-line { gap: 8px; } .stamp-line .beacon { width: 30px; } .stamp-line .magnifier { width: 34px; } .stamp-line .stamp { font-size: 1.95rem; } }
/* Four slow flashes, then steady. Well under three flashes a second, and switched off for anyone who has asked for less motion. */
.verdict-pic.flash .rays, .signal-head .beacon .rays { animation: beacon-rays 0.8s ease-in-out 4; }
.verdict-pic.flash .dome, .signal-head .beacon .dome { animation: beacon-dome 0.8s ease-in-out 4; }
.verdict-pic.flash.alt .rays, .verdict-pic.flash.alt .dome, .signal-head .beacon:last-of-type .rays, .signal-head .beacon:last-of-type .dome { animation-delay: 0.4s; }
@keyframes beacon-rays { 0%, 100% { opacity: 1; } 50% { opacity: 0.08; } }
@keyframes beacon-dome { 0%, 100% { filter: brightness(1.25); } 50% { filter: brightness(0.6); } }
.verdict-pic.pop .magnifier { animation: mag-pop 0.5s cubic-bezier(.2,.9,.3,1.5) both, mag-scan 1.4s ease-in-out 0.5s 1; transform-origin: 40% 40%; }
@keyframes mag-pop { from { transform: scale(0) rotate(-40deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes mag-scan { 0%, 100% { transform: translateX(0) rotate(0); } 30% { transform: translateX(-7px) rotate(-8deg); } 70% { transform: translateX(5px) rotate(6deg); } }
@media (prefers-reduced-motion: reduce) { .verdict-pic .rays, .verdict-pic .dome, .verdict-pic .magnifier, .signal-head .beacon .rays, .signal-head .beacon .dome { animation: none !important; } }

/* ---- Seven signals: SUSPECT ---- */
.signal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.signal-head h2 { font-size: clamp(2rem, 5.4vw, 3rem); font-weight: 800; margin: 0; line-height: 1; }
.suspect-word { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.signal-lede { margin: 0 0 18px; color: var(--muted); max-width: 62ch; }
.signal-lede b { color: var(--ink); letter-spacing: 0.04em; }
.tell-sub { color: var(--muted); margin-top: -6px !important; }
.why-pledge { font-weight: 600; font-size: 1.08rem; }
@media (max-width: 480px) { .signal-head .beacon { width: 32px; } .suspect-word .marker.big { width: 40px; height: 38px; font-size: 1.6rem; } }
.stamp-line.has-pic .stamp { flex: none; white-space: nowrap; }
@media (max-width: 480px) { .stamp-line.has-pic .stamp { font-size: 1.85rem; } }
@media (max-width: 350px) { .stamp-line.has-pic .stamp { font-size: 1.55rem; } .stamp-line .beacon { width: 26px; } }
/* Size the stamp and its pictures to the findings panel, so they fit on one line at any width and with any font. */
.verdict-row { container-type: inline-size; width: 100%; }
.stamp-line.has-pic .stamp { font-size: clamp(1.25rem, 8.2cqw, 3.2rem); }
.stamp-line.has-pic .beacon { width: clamp(24px, 8cqw, 44px); }
.stamp-line.has-pic .magnifier { width: clamp(28px, 8.5cqw, 46px); }
