/* FoxTrust public site (spec 013): one stylesheet, no script, no inline styles (CSP style-src 'self').
   Layout: a deep petrol band carries the header and the hero with its one lit object, the verdict
   card; cool paper below. Petrol is the complement of the fox orange, so orange carries the brand on
   its own; orange never marks risk. Every colour is a token: light on :root, redefined for dark. The
   band tokens keep the same values in both appearances. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/bricolage-700-latin.woff2) format("woff2"); }

:root {
  --paper: #f6f9fa; --surface: #ffffff; --surface-2: #edf3f5;
  --ink: #0d1d26; --muted: #4d6370; --line: #dbe5ea; --line-strong: #93a9b5;
  --link: #c2410c; --fox-soft: #fff1e8;
  --band: #0b2230; --band-2: #12303f; --band-ink: #eef5f8; --band-muted: #9fb6c3; --band-line: #1f4152;
  --fox: #f05a23; --fox-hover: #ff6a33; --fox-ink: #0b2230; --rust: #c3461d; --cream: #ffc688;
  --cream-glow: rgba(255, 198, 136, .35); --shadow: rgba(3, 12, 18, .55); --shadow-soft: rgba(3, 12, 18, .18); --mask: #000;
  --low: #16775a; --low-soft: #e3f4ec; --med: #8a5d00; --med-soft: #fbefd2; --high: #c0183f; --high-soft: #fde6ea;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --r: 12px; --r-sm: 7px; --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #081820; --surface: #0f2430; --surface-2: #15303e;
    --ink: #e6f0f4; --muted: #93abb8; --line: #1d3a49; --line-strong: #3f6070;
    --link: #ff8a57; --fox-soft: #2a1a12;
    --band: #0b2230; --band-2: #12303f; --band-ink: #eef5f8; --band-muted: #9fb6c3; --band-line: #1f4152;
    --shadow: rgba(0, 0, 0, .6); --shadow-soft: rgba(0, 0, 0, .35);
    --low: #4cc79e; --low-soft: #12291f; --med: #e8b949; --med-soft: #2e2410; --high: #ff6b86; --high-soft: #33141b;
    color-scheme: dark;
  }
}

/* Base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--sans); }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--fox); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
code, pre, kbd, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums slashed-zero; }
code { font-size: .92em; overflow-wrap: anywhere; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.muted { color: var(--muted); }

/* Header on the band */
.top { background: var(--band); color: var(--band-ink); border-bottom: 1px solid var(--band-line); position: relative; z-index: 2; }
.top .wrap { display: flex; align-items: center; gap: 16px 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--band-ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand b { font: 700 22px/1 var(--display); letter-spacing: -0.02em; }
.badge { font: 600 11px/1 var(--mono); letter-spacing: .04em; color: var(--cream); border: 1px solid var(--band-line); padding: 4px 7px; border-radius: 99px; text-decoration: none; margin-right: auto; }
a.badge:hover { border-color: var(--cream); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--band-muted); text-decoration: none; }
.nav a:hover { color: var(--band-ink); }
.nav a.btn, .menu a.btn { color: var(--fox-ink); }
.menu { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 12px 18px; border-radius: 10px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; cursor: pointer; }
.btn-fox { background: var(--fox); color: var(--fox-ink); }
.btn-fox:hover { background: var(--fox-hover); }
.btn-ghost { color: var(--band-ink); border-color: var(--band-line); }
.btn-ghost:hover { border-color: var(--band-muted); }
.btn-line { color: var(--ink); border-color: var(--line-strong); background: var(--surface); }
.nav .btn { padding: 9px 14px; }

/* Hero */
.hero { background: var(--band); color: var(--band-ink); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--band-line) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(115deg, transparent 30%, var(--mask) 75%); mask-image: linear-gradient(115deg, transparent 30%, var(--mask) 75%); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; padding-block: 72px 64px; }
.eyebrow { font: 500 13px/1 var(--mono); color: var(--band-muted); letter-spacing: .02em; margin: 0 0 18px; }
.eyebrow span { color: var(--cream); }
.hero h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; }
.hero h1 em { font-style: normal; color: var(--cream); }
.lede { font-size: 19px; line-height: 1.5; color: var(--band-muted); max-width: 34em; margin: 22px 0 30px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ribbon { list-style: none; padding: 22px 0 0; margin: 36px 0 0; border-top: 1px solid var(--band-line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.ribbon li { display: grid; gap: 2px; min-width: 0; }
.ribbon b { font: 600 22px/1.15 var(--mono); font-variant-numeric: tabular-nums slashed-zero; color: var(--band-ink); letter-spacing: -0.01em; }
.ribbon span { font-size: 13px; color: var(--band-muted); }
.ribbon .fresh b { color: var(--cream); }

/* Background dots: one cell per dot. A mouse pointer, or a tap on a touch screen, lights a dot at once;
   leaving starts a slow fade, so the trail decays like a behaviour signal. A finger's swipe scrolls
   and has no hover, so phones get taps plus a few slow signals along the side margins instead. */
.dotfield { position: absolute; top: 0; left: 0; display: grid; grid-template-columns: repeat(84, 22px); grid-auto-rows: 22px; }
.dotfield i { position: relative; }
.dotfield i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: transparent; transition: background-color 1.4s ease-out, transform 1.4s ease-out, box-shadow 1.4s ease-out; }
.dotfield i:hover::after, .dotfield i:active::after { background: var(--cream); transform: scale(1.9); box-shadow: 0 0 12px 3px var(--cream-glow); transition: none; }
.dotfield i:hover + i::after, .dotfield i:active + i::after { background: color-mix(in srgb, var(--cream) 55%, transparent); transform: scale(1.3); transition: none; }
/* Content stays on top and clickable; the gaps between it let the pointer or a tap reach the dots. */
.hero-grid { pointer-events: none; }
.hero-text > *, .hero .card { pointer-events: auto; }
/* Touch screens apply :hover on tap only to elements that look tappable, and keep it until the next
   tap elsewhere; so a tap plays a flash that fades on its own instead of staying lit. */
@keyframes ft-tap { from { background: var(--cream); transform: scale(1.9); box-shadow: 0 0 12px 3px var(--cream-glow); } }
@keyframes ft-tap-near { from { background: color-mix(in srgb, var(--cream) 55%, transparent); transform: scale(1.3); } }
@media (hover: none) {
  .dotfield i { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .dotfield i:hover::after { background: transparent; transform: none; box-shadow: none; animation: ft-tap 1.6s ease-out; }
  .dotfield i:hover + i::after { background: transparent; transform: none; animation: ft-tap-near 1.6s ease-out; }
}
@media (max-width: 760px) { .dotfield { grid-template-columns: repeat(36, 22px); } }

/* Slow signals on phones: dots in the side margins (grid columns 0, 16 and 17) light up on their own
   and fade, each on its own rhythm; never behind the text. */
@keyframes ft-signal {
  0%, 100% { background: transparent; box-shadow: 0 0 0 0 transparent; transform: none; }
  4% { background: var(--cream); box-shadow: 0 0 5px 1px var(--cream-glow); transform: scale(1.5); }
  12% { transform: scale(1.1); }
  45% { background: color-mix(in srgb, var(--cream) 25%, transparent); box-shadow: 0 0 0 0 transparent; }
}
@media (hover: none) and (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .dotfield i:nth-child(54)::after { animation: ft-signal 9s ease-out .8s infinite backwards; }
  .dotfield i:nth-child(145)::after { animation: ft-signal 12.5s ease-out 3.6s infinite backwards; }
  .dotfield i:nth-child(341)::after { animation: ft-signal 10.4s ease-out 6.1s infinite backwards; }
  .dotfield i:nth-child(541)::after { animation: ft-signal 13.2s ease-out 1.9s infinite backwards; }
  .dotfield i:nth-child(774)::after { animation: ft-signal 8.8s ease-out 9.2s infinite backwards; }
  .dotfield i:nth-child(973)::after { animation: ft-signal 11.6s ease-out 4.7s infinite backwards; }
  .dotfield i:nth-child(1205)::after { animation: ft-signal 12.8s ease-out 7.4s infinite backwards; }
  .dotfield i:nth-child(1441)::after { animation: ft-signal 9.6s ease-out 2.8s infinite backwards; }
  .dotfield i:nth-child(1674)::after { animation: ft-signal 13.8s ease-out 10.5s infinite backwards; }
}

/* Verdict card: the lit object */
.card { background: var(--surface); color: var(--ink); border: 1px solid var(--band-line); border-radius: 16px; padding: 22px 22px 18px; position: relative; overflow: hidden; box-shadow: 0 30px 60px -20px var(--shadow); }
.card::after { content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px; background: var(--rust); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.card-label { font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.card-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.ip { font: 600 26px/1.1 var(--mono); letter-spacing: -0.01em; margin: 0; overflow-wrap: anywhere; }
.net { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.net .mono { color: var(--ink); }
.score { text-align: right; }
.score b { font: 700 40px/1 var(--mono); font-variant-numeric: tabular-nums; }
.score small { font: 500 14px var(--mono); color: var(--muted); }
.level { display: inline-block; font: 700 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; margin-top: 6px; }
.lvl-low .score b, .lvl-low .level { color: var(--low); } .lvl-low .level { background: var(--low-soft); }
.lvl-medium .score b, .lvl-medium .level { color: var(--med); } .lvl-medium .level { background: var(--med-soft); }
.lvl-high .score b, .lvl-high .level { color: var(--high); } .lvl-high .level { background: var(--high-soft); }
.ticks { display: block; width: 100%; height: 14px; margin: 16px 0 18px; }
.ticks rect { fill: var(--line); }
.lvl-low .ticks rect.on { fill: var(--low); }
.lvl-medium .ticks rect.on { fill: var(--med); }
.lvl-high .ticks rect.on { fill: var(--high); }
.ticks line { stroke: var(--muted); stroke-width: 1; }
.reasons { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font: 600 13.5px/1 var(--mono); padding: 7px 11px; }
.chip.cat { border: 1.5px solid var(--line-strong); color: var(--ink); background: var(--surface-2); clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px); }
.chip.beh { border-radius: 99px; background: var(--high-soft); color: var(--high); padding-right: 8px; }
.chip.beh svg { width: 30px; height: 12px; }
.chip.beh path { fill: none; stroke: currentColor; stroke-width: 1.6; }
.chip.beh circle { fill: currentColor; }
.kind { font-size: 12.5px; color: var(--muted); grid-column: 1; }
.contrib { grid-row: 1 / span 2; grid-column: 2; display: grid; justify-items: end; gap: 6px; }
.contrib b { font: 700 16px/1 var(--mono); }
.contrib svg { width: 84px; height: 6px; }
.contrib rect { fill: var(--line); }
.contrib rect.v { fill: var(--ink); }
.card-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 13.5px; }
.card-foot span { color: var(--muted); }
/* The example card names its address small: a large one reads as the visitor's own. */
.ex-title { font: 700 20px/1.2 var(--display); letter-spacing: -0.01em; margin: 0; }
.card-own { display: block; margin-top: 14px; padding: 11px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-2); color: var(--ink); font-weight: 600; text-decoration: none; }
.card-own:hover { border-color: var(--link); color: var(--link); }
.chip.other { border: 1.5px dashed var(--line-strong); color: var(--ink); }
.chip.off { color: var(--muted); background: transparent; border: 1.5px dashed var(--line-strong); }

/* "My IP": the visitor's own verdict as the same card */
.myip { max-width: 46rem; }
.myip-h { font: 500 13px/1 var(--mono); color: var(--muted); letter-spacing: .02em; text-transform: uppercase; margin: 8px 0 10px; }
.myip > .ip { font-size: clamp(26px, 5vw, 40px); }
.ip-meta { color: var(--muted); font-size: 14px; margin: 8px 0 24px; }
.mine { box-shadow: 0 18px 40px -24px var(--shadow-soft); }
.headline { font: 700 24px/1.15 var(--display); letter-spacing: -0.015em; margin: 0; }
.lvl-low .headline { color: var(--low); } .lvl-medium .headline { color: var(--med); } .lvl-high .headline { color: var(--high); }
.summary { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; max-width: 30em; }
.mine .ticks { margin-bottom: 6px; }
.marks { font: 12px/1 var(--mono); color: var(--muted); text-align: right; margin: 0 0 16px; }
.mine h2 { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 22px 0 6px; }
.why { grid-column: 1 / -1; margin: 2px 0 0; font-size: 14px; line-height: 1.5; }
.note { border-left: 3px solid var(--line-strong); background: var(--surface-2); padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; margin: 0 0 6px; }
.hint { color: var(--muted); font-size: 13.5px; margin: 10px 0 0; }
.checked { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checked li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.mine .net { margin-top: 16px; }
.myip-sub { font-size: 20px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.myip pre { overflow-x: auto; padding: 14px 16px; border-radius: var(--r-sm); background: var(--band); color: var(--band-ink); font-size: 13.5px; line-height: 1.6; margin: 0; }

/* Home sections */
.sec { padding-block: 72px 0; }
.sec h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -0.025em; margin: 0; }
.sec-lede { color: var(--muted); margin: 8px 0 28px; max-width: 40em; }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.way { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.way h3 { font-size: 20px; line-height: 1.2; letter-spacing: -0.015em; margin: 0; display: flex; align-items: center; gap: 10px; }
.way h3 svg { width: 22px; height: 22px; stroke: var(--rust); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.way p { margin: 0; color: var(--muted); font-size: 15px; }
.way pre { margin: 0; background: var(--band); color: var(--band-ink); border-radius: var(--r-sm); padding: 14px 16px; overflow-x: auto; font-size: 12px; line-height: 1.6; }
.way pre .c { color: var(--band-muted); }
.way pre .k { color: var(--cream); }
.way .meta { font: 500 12.5px/1.4 var(--mono); color: var(--muted); margin-top: auto; padding-top: 4px; }
.way a { font-weight: 600; font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fact { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: flex; gap: 18px; align-items: center; background: var(--surface); min-width: 0; }
.fact b { font: 700 30px/1 var(--mono); font-variant-numeric: tabular-nums slashed-zero; white-space: nowrap; }
.fact b.ok { color: var(--low); }
.fact p { margin: 0; font-size: 15px; color: var(--muted); }
.fact p strong { color: var(--ink); font-weight: 600; }
.promises { margin-top: 72px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 26px; }
.promises ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 28px; }
.promises li { display: grid; gap: 4px; font-size: 14.5px; color: var(--muted); }
.promises li strong { color: var(--ink); font: 700 16px/1.3 var(--display); }
.listed { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 28px 0; font-size: 15px; }

/* Text pages from Markdown */
.page { padding-block: 40px 16px; }
.prose { max-width: 46rem; }
.prose h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; margin: 8px 0 16px; }
.prose h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; margin: 36px 0 10px; }
.prose h3 { font-size: 19px; line-height: 1.3; margin: 26px 0 8px; }
.prose p, .prose li { line-height: 1.65; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose table { display: block; overflow-x: auto; border-collapse: collapse; margin: 14px 0; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; }
.prose th { font-weight: 600; }
.prose pre { overflow-x: auto; padding: 14px 16px; border-radius: var(--r-sm); background: var(--band); color: var(--band-ink); font-size: 13.5px; line-height: 1.6; }
.prose pre code { overflow-wrap: normal; font-size: 1em; }
.prose :not(pre) > code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.prose blockquote { margin: 16px 0; padding: 4px 16px; border-left: 3px solid var(--line-strong); color: var(--muted); }
.message { max-width: 40rem; }
.message h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.03em; margin: 8px 0 12px; }

/* Notices, forms and the one-time secret (account pages, spec 012 US2/US3) */
.notice { border: 1px solid var(--line); border-left: 4px solid var(--low); background: var(--surface); padding: 12px 16px; border-radius: var(--r-sm); margin: 16px 0; }
.notice.error { border-left-color: var(--high); }
.field { display: grid; gap: 6px; margin: 0 0 14px; max-width: 34rem; }
.field label { font-weight: 600; font-size: 14px; }
.field input { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 10px 12px; }
.secret { display: block; margin-top: 8px; padding: 12px; border: 2px dashed var(--fox); border-radius: var(--r-sm); word-break: break-all; user-select: all; font-family: var(--mono); }
table.data { border-collapse: collapse; width: 100%; }
table.data th, table.data td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.table-scroll { overflow-x: auto; }

/* Footer */
.foot { background: var(--surface-2); border-top: 1px solid var(--line); padding-block: 48px 36px; margin-top: 72px; font-size: 14.5px; }
.cols { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.cols h2 { font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 14px; }
.cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cols a { color: var(--ink); text-decoration: none; }
.cols a:hover { color: var(--link); }
.foot-brand { display: grid; gap: 12px; align-content: start; color: var(--muted); }
.foot-brand .brand { color: var(--ink); }
.foot-brand .brand b { font-size: 20px; }
.foot .credit { margin: 24px 0 0; color: var(--muted); font-size: 13px; }
.legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 32px; padding-top: 18px; color: var(--muted); font-size: 13px; }

/* Narrow screens */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 44px 48px; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .promises ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; color: var(--band-ink); font: 600 15px var(--sans); border: 1px solid var(--band-line); border-radius: 9px; padding: 8px 12px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 0; top: calc(100% + 8px); background: var(--band-2); border: 1px solid var(--band-line); border-radius: 12px; padding: 10px; display: grid; gap: 2px; min-width: 200px; }
  .menu nav a { color: var(--band-ink); text-decoration: none; padding: 9px 10px; border-radius: 8px; }
  .menu nav a.btn { justify-content: center; margin-top: 6px; color: var(--fox-ink); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .lede { font-size: 17px; margin: 16px 0 22px; }
  .ribbon { margin-top: 26px; }
  .ribbon b { font-size: 19px; }
  .sec { padding-block: 52px 0; }
}
@media (max-width: 480px) {
  .wrap { padding-inline: 16px; }
  .brand b { font-size: 20px; }
  .promises ul, .cols { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 18px 16px 14px; }
  .ip { font-size: 21px; }
  .score b { font-size: 34px; }
  .mine .score { text-align: left; }
  .fact { flex-direction: column; align-items: flex-start; gap: 10px; }
}
/* The smallest phones keep the header on one line; the footer and commitments still say pre-alpha. */
@media (max-width: 360px) { .badge { display: none; } }

/* Motion: the example verdict fills its risk bar once; small hover lifts. Nothing with reduced motion. */
@keyframes ft-tick { from { fill: var(--line); } }
@keyframes ft-grow { from { transform: scaleX(0); } }
@keyframes ft-draw { from { stroke-dashoffset: 40; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .ticks rect.on { animation: ft-tick .3s var(--ease) backwards; }
  .hero .ticks rect:nth-child(1) { animation-delay: .25s; } .hero .ticks rect:nth-child(2) { animation-delay: .295s; }
  .hero .ticks rect:nth-child(3) { animation-delay: .34s; } .hero .ticks rect:nth-child(4) { animation-delay: .385s; }
  .hero .ticks rect:nth-child(5) { animation-delay: .43s; } .hero .ticks rect:nth-child(6) { animation-delay: .475s; }
  .hero .ticks rect:nth-child(7) { animation-delay: .52s; } .hero .ticks rect:nth-child(8) { animation-delay: .565s; }
  .hero .ticks rect:nth-child(9) { animation-delay: .61s; } .hero .ticks rect:nth-child(10) { animation-delay: .655s; }
  .hero .ticks rect:nth-child(11) { animation-delay: .7s; } .hero .ticks rect:nth-child(12) { animation-delay: .745s; }
  .hero .ticks rect:nth-child(13) { animation-delay: .79s; } .hero .ticks rect:nth-child(14) { animation-delay: .835s; }
  .hero .ticks rect:nth-child(15) { animation-delay: .88s; } .hero .ticks rect:nth-child(16) { animation-delay: .925s; }
  .hero .ticks rect:nth-child(17) { animation-delay: .97s; } .hero .ticks rect:nth-child(18) { animation-delay: 1.015s; }
  .hero .ticks rect:nth-child(19) { animation-delay: 1.06s; } .hero .ticks rect:nth-child(20) { animation-delay: 1.105s; }
  .hero .contrib rect.v { transform-box: fill-box; transform-origin: left center; animation: ft-grow .7s var(--ease) backwards; }
  .hero .reason:nth-child(1) .contrib rect.v { animation-delay: .55s; }
  .hero .reason:nth-child(2) .contrib rect.v { animation-delay: .75s; }
  .hero .chip.beh path { stroke-dasharray: 40; animation: ft-draw 1s ease-out .95s backwards; }
  .way { transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
  .way:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 14px 30px -18px var(--shadow-soft); }
  .btn-fox { transition: background-color .15s, transform .15s var(--ease); }
  .btn-fox:hover { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  .dotfield i::after { transition-duration: 0s; }
  .dotfield i:hover::after, .dotfield i:hover + i::after, .dotfield i:active::after, .dotfield i:active + i::after { transform: none; box-shadow: none; animation: none; }
}

/* /verify analytics chart (spec 026): an inline SVG with classes only, no style attributes. */
svg.chart { display: block; width: 100%; height: auto; margin: 8px 0; }
svg.chart .bar-allow, .key-allow { fill: var(--low); background: var(--low); }
svg.chart .bar-challenge, .key-challenge { fill: var(--med); background: var(--med); }
svg.chart .bar-block, .key-block { fill: var(--high); background: var(--high); }
svg.chart .gap { fill: url(#gap-hatch); }
svg.chart .hatch { stroke: var(--line-strong); stroke-width: 1.5; }
svg.chart .axis { fill: var(--muted); font: 12px var(--sans); }
svg.chart .baseline { stroke: var(--line-strong); stroke-width: 1; }
.legend .key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; vertical-align: baseline; }
.legend .key-gap { background: repeating-linear-gradient(45deg, var(--line-strong) 0 2px, transparent 2px 5px); }
