/* SaveMySlop — paper, ink and one loud highlighter.
   No web fonts on purpose: nothing is fetched from a third party. */

:root {
  --bg: #F4F0E4;
  --bg-2: #EAE5D4;
  --surface: #FFFDF6;
  --ink: #16130D;
  --ink-2: #453F33;
  --muted: #655F4F;
  --line: #D8D1BC;
  --lime: #C6F432;
  --lime-deep: #A9D61B;
  --on-lime: #16130D;
  --red: #BF2F18;
  --red-loud: #DE4328;
  --band: #16130D;
  --on-band: #F4F0E4;
  --on-band-2: #B9B29E;
  --band-line: #3A3528;
  --shadow: 0 1px 0 rgba(22, 19, 13, .04), 0 12px 32px -18px rgba(22, 19, 13, .35);
  --r: 18px;
  --r-s: 12px;
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --wrap: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #100F0B;
    --bg-2: #17150F;
    --surface: #1C1A13;
    --ink: #F2EEDF;
    --ink-2: #CFC9B6;
    --muted: #A49D89;
    --line: #322E22;
    --red: #FF8068;
    --red-loud: #FF6A4D;
    --band: #1C1A13;
    --on-band: #F2EEDF;
    --on-band-2: #A49D89;
    --band-line: #3A3528;
    --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 16px 40px -20px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: var(--mono); font-size: .92em; background: var(--bg-2); padding: .1em .35em; border-radius: 6px; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: var(--lime); } }
::selection { background: var(--lime); color: var(--on-lime); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; transition: top .15s; }
.skip:focus { top: 12px; }

/* highlighter */
.hl {
  color: inherit;
  background: linear-gradient(transparent 8%, var(--lime) 8%, var(--lime) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
  padding: 0 .12em; margin: 0 -.06em;
  border-radius: .12em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hl { color: var(--on-lime); }
.js .hl { background-size: 0% 100%; color: inherit; transition: background-size .9s var(--ease) .25s, color .35s linear .5s; }
.js .in .hl { background-size: 100% 100%; color: var(--on-lime); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-stuck { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.2rem/1 var(--display); letter-spacing: -.03em; }
.logo-blob { fill: var(--lime); stroke: var(--ink); stroke-width: 2; }
.logo-tick { stroke: var(--on-lime); }
.logo-mark { transition: transform .5s var(--ease); transform-origin: 50% 30%; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo-slop { background: var(--lime); color: var(--on-lime); padding: 0 .18em; border-radius: .2em; margin-left: .04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink-2); }
.nav-link:hover { color: var(--ink); background: var(--bg-2); }
.nav-cta { margin-left: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .2s; }
.nav-cta:hover { transform: translateY(-1px); }
.nav-cta span { display: inline-block; transition: transform .2s var(--ease); }
.nav-cta:hover span { transform: translateX(3px); }
@media (max-width: 820px) { .nav-link { display: none; } }

/* ---------- buttons, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 700; text-decoration: none; background: transparent; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; }
.btn-primary { background: var(--lime); color: var(--on-lime); border-color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary.is-done { background: var(--ink); color: var(--lime); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
@media (prefers-color-scheme: dark) {
  .btn-primary { border-color: var(--lime); box-shadow: 4px 4px 0 var(--lime-deep); }
  .btn-primary:hover { box-shadow: 6px 6px 0 var(--lime-deep); }
  .btn-primary:active { box-shadow: 1px 1px 0 var(--lime-deep); }
  .btn-primary.is-done { background: var(--surface); color: var(--lime); }
}
.linkish { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.chip { min-height: 44px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; font-size: .95rem; transition: transform .15s var(--ease), background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip:active { transform: scale(.96); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip[aria-pressed="true"]::before { content: "✓ "; color: var(--lime); }
@media (prefers-color-scheme: dark) {
  .chip[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
  .chip[aria-pressed="true"]::before { color: var(--on-lime); }
}

/* ---------- top highlight: the one-line pitch, always lime ---------- */
.spot { background: var(--lime); color: var(--on-lime); border-bottom: 2px solid var(--on-lime); }
.spot :focus-visible { outline-color: var(--on-lime); }
.spot-in { padding: clamp(22px, 3.4vw, 38px) 0 clamp(18px, 2.4vw, 26px); }
/* The lines share one grid cell, so the band never changes height. Only one shows at a time:
   the first by default, then whichever the script marks .is-on. All stay in the page for
   screen readers, search engines and AI assistants. */
.spot-lines { display: grid; font: 800 clamp(1.75rem, 4.6vw, 3.1rem)/1.24 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.spot-lines li { grid-area: 1 / 1; opacity: 0; transform: translateY(.3em); }
.spot-lines li:first-child { opacity: 1; transform: none; }
.spot.is-rotating .spot-lines li { opacity: 0; transform: translateY(.3em); }
.spot.is-rotating .spot-lines li.is-on { opacity: 1; transform: none; }
/* The old line leaves before the new one arrives, so two are never readable at once. */
.spot.is-ready .spot-lines li { transition: opacity .2s ease, transform .2s ease; }
.spot.is-ready .spot-lines li.is-on { transition: opacity .4s var(--ease) .2s, transform .4s var(--ease) .2s; }
.spot-lines b { background: var(--on-lime); color: var(--lime); padding: 0 .16em; border-radius: .14em; font-weight: 800; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.spot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: clamp(14px, 2vw, 22px); }
.spot-url { font: 600 clamp(.84rem, 1.5vw, 1.02rem)/1.2 var(--mono); background: #FFFDF6; color: var(--on-lime); border: 2px solid var(--on-lime); border-radius: 999px; padding: 11px 16px; overflow-wrap: anywhere; }
.spot-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 18px; border-radius: 999px; border: 2px solid var(--on-lime); background: transparent; color: var(--on-lime); font-weight: 700; text-decoration: none; transition: transform .18s var(--ease), background .18s, color .18s; }
.spot-btn:hover { background: var(--on-lime); color: var(--lime); transform: translateY(-1px); }
.spot-btn-main { background: var(--on-lime); color: var(--lime); min-width: 268px; }
.spot-btn-main:hover { background: #2D291E; }
.spot-more { font-weight: 600; font-size: .95rem; color: var(--on-lime); text-decoration-color: var(--on-lime); margin-left: 4px; }
.spot-agents { margin-top: 12px; font-size: .95rem; color: #2B2A12; max-width: 80ch; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(24px, 3.4vw, 44px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-glow { position: absolute; width: 620px; height: 620px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--lime) 55%, transparent), transparent); filter: blur(10px); opacity: .55; animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
@media (prefers-color-scheme: dark) { .hero-glow { opacity: .16; } }
@keyframes drift { to { transform: translate(-70px, 60px) scale(1.12); } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 920px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .82rem/1 var(--mono); letter-spacing: .02em; color: var(--ink-2); padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); margin-bottom: 18px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-deep); box-shadow: 0 0 0 0 var(--lime); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
h1 { font: 800 clamp(2.5rem, 5.6vw, 4.3rem)/1.02 var(--display); letter-spacing: -.045em; text-wrap: balance; }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 58ch; margin-top: 18px; text-wrap: pretty; }

.prompt { margin-top: 24px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r); padding: 14px 20px 20px; box-shadow: var(--shadow); max-width: 640px; }
.prompt-wide { max-width: none; margin-top: 36px; }
.prompt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line); }
.prompt-label { font: 600 .78rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); flex: 1 1 200px; }
.btn-copy { min-height: 44px; padding: 9px 20px; min-width: 196px; }
.prompt-text { font: 500 .95rem/1.6 var(--mono); color: var(--ink); word-break: break-word; }
.prompt-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* the "fine on file" ticket */
.ticket { position: relative; background: var(--band); color: var(--on-band); border-radius: 22px; padding: 22px 24px 20px; box-shadow: var(--shadow); border: 1px solid var(--band-line); transform: rotate(1.4deg); transition: transform .5s var(--ease); }
.ticket:hover, .ticket:focus-within { transform: rotate(0deg); }
@media (max-width: 920px) { .ticket { transform: none; } }
.ticket-top { display: flex; align-items: center; justify-content: space-between; font: 600 .76rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-band-2); padding-bottom: 16px; border-bottom: 1px dashed var(--band-line); }
.ticket-pause { background: transparent; border: 1px solid var(--band-line); color: var(--on-band-2); border-radius: 999px; padding: 6px 12px; font: inherit; letter-spacing: .06em; min-height: 32px; }
.ticket-pause:hover { color: var(--on-band); border-color: var(--on-band-2); }
.ticket-pause:focus-visible { outline-color: var(--lime); }
.ticket-body { padding: 22px 0 18px; min-height: 236px; }
.ticket-amount { font: 800 clamp(3.4rem, 8.5vw, 5.6rem)/.95 var(--display); letter-spacing: -.055em; color: var(--lime); font-variant-numeric: tabular-nums; }
.ticket-who { margin-top: 14px; font: 700 1.2rem/1.3 var(--display); letter-spacing: -.02em; }
.ticket-by { display: block; font: 500 .8rem/1.5 var(--mono); color: var(--on-band-2); letter-spacing: .02em; margin-top: 4px; }
.ticket-for { margin-top: 12px; color: var(--on-band); font-size: 1.02rem; line-height: 1.45; text-wrap: pretty; }
.ticket-body > * { transition: opacity .32s var(--ease), transform .32s var(--ease); }
.ticket-body.is-out > * { opacity: 0; transform: translateY(12px); }
.ticket-body.is-out > :nth-child(2) { transition-delay: .03s; }
.ticket-body.is-out > :nth-child(3) { transition-delay: .06s; }
.ticket-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--band-line); flex-wrap: wrap; }
.ticket-nav { display: flex; align-items: center; gap: 10px; }
.ticket-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--band-line); background: transparent; color: var(--on-band); font-size: 1.05rem; line-height: 1; display: grid; place-items: center; transition: background .15s, color .15s, border-color .15s; }
.ticket-arrow:hover { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.ticket-arrow:focus-visible { outline-color: var(--lime); }
.ticket-count { font: 600 .8rem/1 var(--mono); color: var(--on-band-2); min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; }
.ticket-link { font-size: .86rem; color: var(--on-band-2); }
.ticket-link:hover { color: var(--on-band); }
.ticket-link:focus-visible { outline-color: var(--lime); }

/* ---------- ticker ---------- */
.ticker { background: var(--lime); color: var(--on-lime); border-block: 2px solid var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.ticker:hover .ticker-track, .ticker.is-paused .ticker-track { animation-play-state: paused; }
.ticker li { display: inline-flex; align-items: baseline; gap: 8px; padding: 13px 26px; white-space: nowrap; font-weight: 600; font-size: .98rem; position: relative; }
.ticker li::after { content: "✦"; position: absolute; right: -6px; font-size: .7rem; opacity: .6; }
.ticker b { font: 800 1.08rem/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ticker span { font-weight: 500; opacity: .78; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- AI strip ---------- */
.ai-strip { padding: 22px 0 0; }
.ai-note { border: 1.5px dashed var(--muted); border-radius: var(--r); background: var(--surface); }
.ai-note > summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 14px; padding: 16px 20px; cursor: pointer; list-style: none; }
.ai-note > summary::-webkit-details-marker { display: none; }
.ai-badge { grid-row: span 2; font: 700 .78rem/1 var(--mono); background: var(--ink); color: var(--lime); padding: 8px 9px; border-radius: 8px; letter-spacing: .04em; }
.ai-note h2 { font: 700 1.02rem/1.3 var(--display); letter-spacing: -.01em; }
.ai-hint { grid-column: 2; font-size: .88rem; color: var(--muted); }
.ai-note > summary .cat-chevron { grid-column: 3; grid-row: 1 / span 2; }
.ai-body { padding: 4px 20px 22px; color: var(--ink-2); font-size: .98rem; }
.ai-steps { list-style: decimal; padding-left: 1.3em; margin-top: 12px; display: grid; gap: 8px; }
.ai-steps strong { color: var(--ink); }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-tint { background: var(--bg-2); }
.sec-band { background: var(--band); color: var(--on-band); }
.sec-head { max-width: 760px; margin-bottom: 34px; }
.kicker { font: 600 .8rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.sec-band .kicker { color: var(--lime); }
h2 { font: 800 clamp(1.9rem, 4.4vw, 3.2rem)/1.05 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.sec-lede { margin-top: 16px; font-size: 1.1rem; color: var(--ink-2); text-wrap: pretty; }
.sec-band .sec-lede { color: var(--on-band-2); }
.sub-head { margin: 64px 0 22px; max-width: 700px; }
.sub-head h3 { font: 800 clamp(1.35rem, 2.6vw, 1.8rem)/1.15 var(--display); letter-spacing: -.03em; }
.sub-head p { color: var(--ink-2); margin-top: 8px; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- fines ---------- */
.filters, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filters { margin-bottom: 26px; }
.fines { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.fine { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 20px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s, opacity .6s var(--ease); }
.fine:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--ink); }
.fine[hidden] { display: none; }
.fine-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 .76rem/1.3 var(--mono); color: var(--muted); }
.tag { background: var(--bg-2); color: var(--ink-2); padding: 5px 9px; border-radius: 999px; font-weight: 600; white-space: nowrap; }
.fine-amount { margin-top: 18px; font: 800 clamp(2.5rem, 5vw, 3.3rem)/1 var(--display); letter-spacing: -.05em; color: var(--red-loud); font-variant-numeric: tabular-nums; }
.fine-who { margin-top: 6px; font: 700 1.16rem/1.25 var(--display); letter-spacing: -.02em; }
.fine-what { margin-top: 12px; font-size: .96rem; color: var(--ink-2); }
.fine-slop { margin-top: 14px; padding: 12px 14px; font-size: .93rem; background: color-mix(in srgb, var(--lime) 30%, var(--surface)); border-radius: var(--r-s); color: var(--ink); }
@media (prefers-color-scheme: dark) { .fine-slop { background: color-mix(in srgb, var(--lime) 11%, var(--surface)); } }
.slop-label { display: block; font: 700 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink-2); }
.src { margin-top: auto; padding-top: 16px; font: 600 .84rem/1.3 var(--mono); align-self: flex-start; }
.fine-foot { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; }
.fine-foot .src { margin: 0; padding: 0; align-self: auto; }
.fine-share { font: 600 .8rem/1.3 var(--mono); color: var(--muted); white-space: nowrap; }
.fine-share:hover { color: var(--ink); }
.fine-print { margin-top: 20px; font-size: .9rem; color: var(--muted); max-width: 80ch; }

.incidents { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.incident { display: flex; flex-direction: column; background: var(--band); color: var(--on-band); border: 1px solid var(--band-line); border-radius: var(--r); padding: 22px; }
.incident-stat { font: 800 2.6rem/1 var(--display); letter-spacing: -.05em; color: var(--lime); font-variant-numeric: tabular-nums; }
.incident-label { font: 500 .78rem/1.3 var(--mono); color: var(--on-band-2); margin-top: 6px; }
.incident-who { margin-top: 16px; font: 700 1.08rem/1.3 var(--display); }
.incident-when { font: 500 .76rem/1 var(--mono); color: var(--on-band-2); margin-left: 6px; }
.incident-what { margin-top: 8px; font-size: .93rem; color: var(--on-band); opacity: .9; }
.incident-built { margin-top: 12px; font-size: .86rem; color: var(--on-band-2); padding-top: 12px; border-top: 1px dashed var(--band-line); }
.incident .src { color: var(--on-band); }
.incident .src:focus-visible { outline-color: var(--lime); }

/* ---------- per calculator ---------- */
.sec-band .hl { color: var(--on-lime); }
.sec-band :focus-visible { outline-color: var(--lime); }
.calc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }
.calc-traps legend, .calc-label { font: 600 .8rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-band-2); margin-bottom: 14px; display: block; }
.calc-traps { display: grid; gap: 8px; }
.calc-trap { position: relative; display: block; cursor: pointer; }
.calc-trap input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.calc-trap span { display: block; padding: 13px 16px; border: 1.5px solid var(--band-line); border-radius: var(--r-s); font-weight: 600; font-size: .97rem; line-height: 1.35; transition: background .15s, border-color .15s, color .15s, transform .15s var(--ease); }
.calc-trap:hover span { border-color: var(--on-band-2); transform: translateX(3px); }
.calc-trap input:checked + span { background: var(--lime); color: var(--on-lime); border-color: var(--lime); }
.calc-trap input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.calc-range { width: 100%; height: 44px; margin: 0; background: transparent; accent-color: var(--lime); cursor: pointer; }
.calc-result { margin-top: 18px; padding-top: 22px; border-top: 1px dashed var(--band-line); }
.calc-eq { font: 500 1rem/1.4 var(--mono); color: var(--on-band-2); }
.calc-total { margin-top: 6px; font: 800 clamp(2.6rem, 7.4vw, 5rem)/1 var(--display); letter-spacing: -.05em; color: var(--lime); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.calc-law { margin-top: 14px; font-size: .97rem; color: var(--on-band); }
.calc-note { margin-top: 16px; font-size: .88rem; color: var(--on-band-2); max-width: 56ch; }

/* ---------- checklist ---------- */
.match { margin: 18px 0 22px; font: 600 .95rem/1.4 var(--mono); color: var(--ink-2); }
.cats { display: grid; gap: 10px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s, opacity .3s; overflow: hidden; }
.cat[open], .cat:hover { border-color: var(--ink); }
.cat.is-empty { opacity: .45; }
.cat > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-rows: auto auto; align-items: center; column-gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.cat > summary::-webkit-details-marker { display: none; }
.cat-num { grid-row: 1 / span 2; font: 600 .82rem/1 var(--mono); color: var(--muted); }
.cat-title { grid-column: 2; font: 700 1.18rem/1.25 var(--display); letter-spacing: -.02em; }
.cat-blurb { grid-column: 2; font-size: .92rem; color: var(--muted); }
.cat-count { grid-column: 3; grid-row: 1 / span 2; font: 600 .78rem/1 var(--mono); color: var(--ink-2); background: var(--bg-2); padding: 7px 10px; border-radius: 999px; white-space: nowrap; }
.cat-count.is-hot { background: var(--lime); color: var(--on-lime); }
.cat > summary .cat-chevron { grid-column: 4; grid-row: 1 / span 2; }
.cat-chevron { width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); flex: none; }
details[open] > summary .cat-chevron { transform: rotate(-135deg) translate(-2px, -2px); }
@media (max-width: 560px) { .cat > summary { padding: 16px; column-gap: 12px; } .cat-num { display: none; } .cat-title, .cat-blurb { grid-column: 1 / span 2; } }
.checks { padding: 0 22px 10px; display: grid; }
@media (max-width: 560px) { .checks { padding: 0 16px 8px; } }
.check { padding: 20px 0; border-top: 1px solid var(--line); transition: opacity .25s; }
.check.is-off { display: none; }
.check-title { font: 700 1.05rem/1.35 var(--display); letter-spacing: -.01em; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.check-id { font: 600 .76rem/1 var(--mono); color: var(--muted); }
.sev { font: 700 .68rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; }
.sev-high { background: #B52C16; color: #fff; }
.sev-med { background: var(--ink); color: var(--bg); }
.sev-low { background: var(--bg-2); color: var(--ink-2); }
@media (prefers-color-scheme: dark) { .sev-high { background: #B8321C; color: #fff; } .sev-med { background: var(--ink-2); color: var(--bg); } }
.check-when { margin-top: 6px; font: 500 .78rem/1.4 var(--mono); color: var(--muted); }
.check-body { margin-top: 12px; display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 16px; font-size: .96rem; }
.check-body dt { font: 600 .74rem/1.9 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.check-body dd { color: var(--ink-2); }
@media (max-width: 640px) { .check-body { grid-template-columns: minmax(0, 1fr); gap: 2px; } .check-body dd { margin-bottom: 8px; } }

/* ---------- how ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; position: relative; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--on-lime); border: 2px solid var(--ink); font: 800 1.15rem/1 var(--display); margin-bottom: 18px; }
.step h3 { font: 700 1.2rem/1.25 var(--display); letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .97rem; }
.js .steps .reveal:nth-child(2) { transition-delay: .08s; }
.js .steps .reveal:nth-child(3) { transition-delay: .16s; }
.agents { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.agents h3 { font: 800 1.4rem/1.2 var(--display); letter-spacing: -.03em; }
.agents > p { margin-top: 8px; color: var(--ink-2); max-width: 72ch; }
.agent-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.agent-list li { padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); font-weight: 600; font-size: .92rem; }
.agents .agents-note { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.agents-note .linkish { font-weight: 600; color: var(--ink); }
.selfcheck { margin-top: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; }
.selfcheck h3 { font: 800 1.4rem/1.2 var(--display); letter-spacing: -.03em; margin-bottom: 16px; }
.ticks { display: grid; gap: 10px; }
.selfcheck .ticks { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px 28px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; border-radius: 50%; background: var(--lime); border: 1.5px solid var(--ink); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(.22em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--on-lime); border-bottom: 2px solid var(--on-lime); transform: rotate(-45deg); }

/* ---------- disclaimer, faq, product ---------- */
.disclaimer { border: 2px solid var(--red-loud); border-radius: var(--r); padding: clamp(24px, 4vw, 40px); background: color-mix(in srgb, var(--red-loud) 6%, var(--surface)); }
.disclaimer h2 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); }
.disclaimer p { margin-top: 14px; color: var(--ink-2); max-width: 78ch; }
#disclaimer { padding-bottom: 0; }
.faq-in { max-width: 860px; }
.faqs { display: grid; gap: 10px; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.faq[open], .faq:hover { border-color: var(--ink); }
.faq > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq > summary::-webkit-details-marker { display: none; }
.faq h3 { font: 700 1.06rem/1.35 var(--display); letter-spacing: -.01em; }
.faq p { padding: 0 22px 20px; color: var(--ink-2); max-width: 72ch; }
.sec-product { padding-top: 0; }
.product-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--band); color: var(--on-band); border-radius: 26px; padding: clamp(28px, 5vw, 52px); }
.product-strip > div { max-width: 640px; }
.product-strip h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.product-strip p { margin-top: 12px; color: var(--on-band-2); }
.product-strip strong { color: var(--on-band); }
.product-strip .kicker { color: var(--lime); }
.product-strip .btn-primary { border-color: var(--lime); box-shadow: 4px 4px 0 var(--lime-deep); flex: none; }
.product-strip .btn:focus-visible { outline-color: var(--lime); }

/* ---------- share ---------- */
.share-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.share-post { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.share-text { color: var(--ink); }
.share-url { font: 600 .84rem/1.4 var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 18px; }
.share-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; transition: border-color .15s, background .15s, color .15s, transform .15s var(--ease); }
.share-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.share-btn-main { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.share-btn.is-done { background: var(--lime); color: var(--on-lime); border-color: var(--on-lime); }
.share-btn[hidden] { display: none; }
.share-all { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 26px 26px; }
.share-all h3 { font: 700 1.08rem/1.3 var(--display); letter-spacing: -.01em; }
.share-all .share-actions { padding-top: 14px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: .92rem; color: var(--ink-2); }
.foot-in { display: grid; gap: 18px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a, .foot-links button { display: inline-block; padding: 6px 0; }
.foot-legal { color: var(--muted); font-size: .84rem; max-width: 90ch; }

/* ---------- sub pages ---------- */
.page { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.page-narrow { max-width: 780px; }
.page h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.effective { margin-top: 12px; font: 500 .84rem/1 var(--mono); color: var(--muted); }
.prose h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); letter-spacing: -.025em; margin-top: 44px; }
.prose h3 { font: 700 1.08rem/1.3 var(--display); margin-top: 26px; }
.prose p, .prose ul { margin-top: 14px; color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; }
.prose strong { color: var(--ink); }
.product-card { margin-top: 40px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; background: var(--surface); border: 2px solid var(--ink); border-radius: 24px; padding: clamp(24px, 4vw, 40px); box-shadow: 8px 8px 0 var(--lime); }
@media (max-width: 600px) { .product-card { grid-template-columns: minmax(0, 1fr); } }
.pl-bg { fill: #0F1630; } .pl-line { stroke: #fff; } .pl-fill { fill: #fff; } .pl-arrow { stroke: #FFC933; }
.product-card h2 { font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.product-tag { font: 600 .84rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-top: 10px; }
.product-text > p { margin-top: 14px; color: var(--ink-2); }
.product-text .ticks { margin: 20px 0 26px; }
.page-more { margin-top: 36px; color: var(--ink-2); }

/* ---------- consent ---------- */
/* A slim bar, so it never sits on top of the main button. Both choices look the same on purpose. */
.consent { position: fixed; z-index: 80; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(980px, calc(100vw - 32px)); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px 24px; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 20px; padding: 14px 18px; box-shadow: 5px 5px 0 var(--lime), var(--shadow); animation: rise .5s var(--ease) both; }
.consent.has-close { padding-right: 56px; }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 24px); } }
.consent h2 { font: 800 1rem/1.25 var(--display); letter-spacing: -.01em; }
.consent h2:focus { outline: none; }
.consent p { margin-top: 3px; font-size: .88rem; line-height: 1.45; color: var(--ink-2); }
.consent .consent-state { font: 600 .76rem/1.4 var(--mono); color: var(--muted); }
.consent-row { display: flex; gap: 10px; }
.consent-btn { min-height: 44px; min-width: 148px; border-radius: 999px; border: 2px solid var(--ink); background: var(--surface); font-weight: 700; font-size: .95rem; padding: 8px 16px; transition: background .15s, color .15s; }
.consent-btn:hover { background: var(--ink); color: var(--bg); }
.consent-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.consent-close:hover { background: var(--bg-2); color: var(--ink); }
@media (max-width: 760px) {
  .consent { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .consent-row { display: grid; grid-template-columns: 1fr 1fr; }
  .consent-btn { min-width: 0; }
}

.consent-row[hidden] { display: none; }
.verified { margin: -8px 0 22px; font-size: .9rem; color: var(--muted); max-width: 80ch; }
.check-body a { font-weight: 600; }

/* ---------- open stats ----------
   One series per chart, so one data colour. Validated for both surfaces:
   #5E8A00 on the light surface, #74A800 on the dark one. Text never wears it. */
.stats { --viz: #5E8A00; --viz-hot: #7BAE0A; }
@media (prefers-color-scheme: dark) { .stats { --viz: #74A800; --viz-hot: #9AD42A; } }
.stats h1 { max-width: 16ch; }
.stats-updated { margin-top: 18px; font: 500 .84rem/1.5 var(--mono); color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
@media (max-width: 760px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; }
.tile-label { font-size: .9rem; color: var(--ink-2); }
.tile-value { margin-top: 8px; font: 600 clamp(2.2rem, 4.6vw, 3rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.tile-sub { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; margin-top: 14px; }
.chart-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px 14px; min-width: 0; }
.chart-card h3, .rank-card h3 { font: 700 1.08rem/1.3 var(--display); letter-spacing: -.01em; }
.chart-card figcaption p, .rank-sub { font-size: .86rem; color: var(--muted); margin-top: 2px; }
.chart-plot { margin-top: 12px; min-height: 210px; }
.viz { display: block; max-width: 100%; height: auto; overflow: visible; }
.viz-grid { stroke: var(--line); stroke-width: 1; }
.viz-base { stroke: var(--muted); stroke-width: 1; opacity: .55; }
.viz-tick { font: 500 11px/1 var(--mono); fill: var(--muted); font-variant-numeric: tabular-nums; }
.viz-label { font: 600 12px/1 var(--font); fill: var(--ink); }
.viz-bar { fill: var(--viz); transition: fill .12s; }
.viz-bar.is-hot { fill: var(--viz-hot); }
.viz-hit { fill: transparent; cursor: crosshair; }
.viz-tip { position: fixed; z-index: 90; pointer-events: none; background: var(--ink); color: var(--bg); border-radius: 10px; padding: 8px 12px; font-size: .84rem; line-height: 1.35; box-shadow: var(--shadow); max-width: 260px; }
.viz-tip strong { display: block; font: 700 1.05rem/1.2 var(--display); }
.viz-tip[hidden] { display: none; }
.table-view { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.table-view > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; cursor: pointer; list-style: none; font-weight: 600; }
.table-view > summary::-webkit-details-marker { display: none; }
.table-scroll { padding: 0 22px 18px; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: right; padding: 8px 10px; border-top: 1px solid var(--line); }
.data-table th:first-child, .data-table td:first-child { text-align: left; }
.data-table thead th { border-top: 0; font: 600 .76rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.data-table tbody th { font-weight: 500; color: var(--ink-2); }
.ranks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 14px; margin-top: 14px; }
.rank-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; min-width: 0; }
.rank { margin-top: 14px; display: grid; gap: 10px; }
.rank-row { display: grid; grid-template-columns: minmax(0, 11rem) minmax(40px, 1fr) auto; align-items: center; gap: 12px; font-size: .94rem; }
.rank-name { color: var(--ink); overflow-wrap: anywhere; }
.rank-track { height: 10px; }
.rank-fill { display: block; height: 100%; background: var(--viz); border-radius: 0 4px 4px 0; min-width: 3px; }
.rank-row:hover .rank-fill { background: var(--viz-hot); }
.rank-val { font: 600 .9rem/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.rank-empty { color: var(--muted); font-size: .92rem; }
@media (max-width: 520px) { .rank-row { grid-template-columns: minmax(0, 1fr) auto; } .rank-track { grid-column: 1 / -1; grid-row: 2; height: 8px; } }
.stats-notes { margin-top: 48px; max-width: 780px; }
.stats-notes h2 { margin-top: 0; }
@media (forced-colors: active) { .viz-bar, .rank-fill { fill: CanvasText; background: CanvasText; forced-color-adjust: none; } }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .ticker { overflow-x: auto; }
  .ticker-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .hl { background-size: 100% 100%; }
  .hero-glow { animation: none; }
  .ticket { transform: none; }
}

@media print {
  .top, .ticker, .consent, .hero-glow, .filters, .chips, .btn-copy, .ticket-pause, .ticket-nav, .spot-row, .fine-share, #share { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .check.is-off { display: block !important; }
  body { background: #fff; color: #000; }
}

/* ---------- search pages: single fine, single checklist topic ---------- */
.crumbs { font: 500 .8rem/1.5 var(--mono); color: var(--muted); margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs a { color: var(--ink-2); }
.case h1 { display: grid; gap: 6px; }
.case-amount { font: 800 clamp(3.4rem, 11vw, 6rem)/.95 var(--display); letter-spacing: -.055em; color: var(--red-loud); font-variant-numeric: tabular-nums; }
.case .prose .src { display: inline-block; padding-top: 0; }
.case-checks { list-style: none !important; padding-left: 0 !important; }
.case-checks li { border-top: 1px solid var(--line); }
.case-checks a { display: block; padding: 12px 0; font-weight: 600; text-decoration: none; }
.case-checks a:hover { text-decoration: underline; }
.case-checks .check-id { margin-right: 8px; }
.case-share { margin-top: 24px; }
.case-nav { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 20px; font: 600 .86rem/1.4 var(--mono); }
.fines-index { margin-top: 40px; }
.cat-page { padding: 4px 22px 20px; font: 600 .86rem/1.4 var(--mono); }
.topic-cat { margin-top: 36px; }
.topic-cat .checks { padding-top: 0; }
.topic-cat .check:first-child { border-top: 0; }
.topic-list { margin-top: 36px; display: grid; gap: 10px; counter-reset: topic; }
.topic-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.topic-list a:hover { border-color: var(--ink); }
.topic-list strong { font: 700 1.1rem/1.3 var(--display); }
.topic-list span { grid-column: 1; font-size: .92rem; color: var(--muted); }
.topic-list em { grid-column: 2; grid-row: 1 / span 2; font: 600 .78rem/1 var(--mono); font-style: normal; background: var(--bg-2); padding: 7px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- section links and the phone menu ---------- */
.sec-more { margin-top: 22px; }
.nav-link[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.subnav { display: none; }
@media (max-width: 820px) {
  .subnav { display: block; border-bottom: 1px solid var(--line); }
  .subnav-in { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
  .subnav-in::-webkit-scrollbar { display: none; }
  .subnav a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap; }
  .subnav a:hover { border-color: var(--ink); color: var(--ink); }
  .subnav a[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
}
