/* A story told as chapters on a case timeline. Big type, saturated chapter colours, one interactive moment (the tamper demo).
   Vocabulary: journeys (data flows), the record (evidence log), seals, blind spots (coverage gaps), promises (vendor claims), Seen / Stopped / Vouched (assurance). */
:root {
  color-scheme: light;
  --ink:#14122b; --muted:#4b4968; --paper:#f8f6ff; --white:#ffffff;
  --cobalt:#2740ff; --cobalt-l:#dfe4ff; --tang:#ff7a1a; --tang-l:#ffe4cf; --pink:#ff4f8b; --pink-l:#ffdbe8; --lime:#c8f169; --lime-l:#eefbc8;
  --bad:#c0172f; --ok:#0a7a4b;
  --display:"Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body:"DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:"IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.62 var(--body); }
a { color: var(--cobalt); }
:is(a, button):focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
[id] { scroll-margin-top: 76px; }
.in { max-width: 1020px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
h1 { font-weight: 800; font-size: clamp(40px, 7.4vw, 82px); line-height: .98; }
h2 { font-weight: 800; font-size: clamp(30px, 5vw, 52px); line-height: 1.03; }
h3 { font-weight: 700; font-size: 21px; line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
.stamp { font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; display: inline-block; padding: 7px 11px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); width: fit-content; }
.hl { background: var(--lime); padding: .02em .12em; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 14px 24px; border: 2px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); transition: transform .12s; }
.btn:hover { transform: translateY(-2px); }
.btn.hot { background: var(--tang); color: var(--ink); }
.btn.out { background: var(--white); color: var(--ink); }

header.top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 2px solid var(--ink); }
header.top .wide { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; gap: 12px 26px; padding: 11px max(20px, env(safe-area-inset-right, 0px)) 11px max(20px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.dot { width: 30px; height: 30px; flex: none; display: block; }
.brand .nm { display: flex; flex-direction: column; gap: 3px; font: 800 21px/1 var(--display); letter-spacing: -.025em; }
.brand small { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
nav.ch { display: flex; gap: 2px; margin-left: auto; font-size: 14px; font-weight: 500; }
nav.ch a { color: var(--ink); text-decoration: none; padding: 7px 11px; border-radius: 99px; white-space: nowrap; }
nav.ch a:hover { background: var(--lime); }
nav.ch a.go { background: var(--tang); border: 2px solid var(--ink); margin-left: 8px; font-weight: 700; box-shadow: 2px 2px 0 var(--ink); }
nav.ch a.go:hover { background: var(--gold, #ffc83d); }

.hero { padding-block: 64px 80px; }
.hero .in { display: flex; flex-direction: column; gap: 28px; }
.hero h1 em { font-style: normal; color: var(--cobalt); }
.hero h1 { font-size: clamp(36px, 6.2vw, 68px); max-width: 15em; }
.hero .sub { font-size: clamp(18px, 2.2vw, 21px); max-width: 36em; }
.stamps { display: flex; gap: 10px; flex-wrap: wrap; }
.stamp.why { background: var(--pink); }
.stakes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.stake { border: 2px solid var(--ink); border-radius: 16px; padding: 20px; background: var(--white); display: flex; flex-direction: column; gap: 8px; min-width: 0; box-shadow: 5px 5px 0 var(--ink); }
.stake h3 { font-size: clamp(26px, 3.4vw, 34px); letter-spacing: -.03em; }
.stake p { font-size: 15px; line-height: 1.55; }
.stake .tg { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; width: fit-content; border: 2px solid var(--ink); }
.stake:nth-child(1) .tg { background: var(--pink-l); } .stake:nth-child(2) .tg { background: var(--tang-l); } .stake:nth-child(3) .tg { background: var(--cobalt-l); }
.stake:nth-child(2) h3 { color: var(--tang); } .stake:nth-child(3) h3 { color: var(--cobalt); } .stake:nth-child(1) h3 { color: var(--pink); }
.problem .fine { font-size: 13px; color: var(--muted); margin-top: 28px; max-width: none; }
.hero .because { font-size: clamp(18px, 2.2vw, 21px); max-width: 36em; border-left: 6px solid var(--lime); padding-left: 16px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.ticker { display: flex; gap: 10px; flex-wrap: wrap; font: 500 13px/1 var(--mono); }
.ticker span { padding: 8px 12px; border-radius: 99px; border: 2px solid var(--ink); background: var(--white); }
.ticker span:nth-child(1) { background: var(--lime); } .ticker span:nth-child(2) { background: var(--tang-l); } .ticker span:nth-child(3) { background: var(--cobalt-l); }

.chapter { padding-block: 84px; border-top: 2px solid var(--ink); }
.chapter .in { display: grid; grid-template-columns: 150px 1fr; gap: 0 36px; }
.chapter .when { font: 500 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding-top: 10px; border-top: 6px solid var(--ink); align-self: start; }
.chapter .when b { display: block; font: 800 40px/1 var(--display); letter-spacing: -.03em; text-transform: none; margin-bottom: 6px; }
.chapter .body { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.chapter .body > p { max-width: 36em; }
.c1 { background: var(--pink-l); } .c2 { background: var(--paper); } .c3 { background: var(--lime-l); } .c4 { background: var(--cobalt-l); } .c5 { background: var(--tang-l); } .c6 { background: var(--white); }

.mail { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 20px 22px; max-width: 36em; box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; gap: 8px; }
.mail .meta { font: 500 12px/1.5 var(--mono); color: var(--muted); }
.mail q { font: 600 20px/1.35 var(--display); quotes: none; }
.beats { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.beat { border: 2px solid var(--ink); border-radius: 16px; padding: 20px; background: var(--white); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.beat .tg { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; width: fit-content; border: 2px solid var(--ink); }
.beat.old .tg { background: var(--pink); } .beat.new .tg { background: var(--lime); }
.beat ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }

/* tamper demo */
.recorder { background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 22px; box-shadow: 8px 8px 0 var(--ink); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.recorder .row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.seals { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; }
.seal { border: 2px solid var(--ink); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; background: var(--white); font-size: 13px; min-width: 0; transition: background .2s; }
.seal .n { font: 500 11px/1 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.seal .tx { font-weight: 500; line-height: 1.35; }
.seal .h { font: 500 11px/1.3 var(--mono); overflow-wrap: anywhere; margin-top: auto; padding-top: 6px; }
.seal.ok { background: var(--lime-l); }
.seal.bad { background: var(--pink-l); border-color: var(--bad); }
.seal button { font: 500 12px/1 var(--body); padding: 7px 9px; border: 2px solid var(--ink); border-radius: 8px; background: var(--white); cursor: pointer; }
.verdict { font: 500 14px/1.7 var(--mono); border: 2px dashed var(--ink); border-radius: 12px; padding: 14px 16px; background: var(--paper); }
.verdict .ok { color: var(--ok); font-weight: 500; } .verdict .no { color: var(--bad); font-weight: 500; }

.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { border: 2px solid var(--ink); border-radius: 16px; padding: 22px; background: var(--white); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.two.three { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.rail3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.word { border: 2px solid var(--ink); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; background: var(--white); }
.word b { font: 800 34px/1 var(--display); letter-spacing: -.03em; }
.word:nth-child(1) b { color: var(--cobalt); } .word:nth-child(2) b { color: var(--tang); } .word:nth-child(3) b { color: var(--pink); }
.ledger { border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--white); }
.ledger div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 18px; border-bottom: 2px solid var(--ink); align-items: center; flex-wrap: wrap; }
.ledger div:last-child { border-bottom: 0; }
.pill { font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; border: 2px solid var(--ink); white-space: nowrap; }
.pill.a { background: var(--pink-l); } .pill.b { background: var(--tang-l); } .pill.c { background: var(--lime); }

.finale { background: var(--cobalt); color: var(--white); }
.finale .in { display: flex; flex-direction: column; gap: 22px; padding-block: 88px; align-items: flex-start; }
.finale .stamp { background: var(--lime); color: var(--ink); }
.finale p { max-width: 36em; }
.finale .btn.hot { border-color: var(--ink); }
.emailbox { font: 500 clamp(18px, 3.6vw, 26px)/1.3 var(--mono); background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 14px; padding: 12px 18px; box-shadow: 5px 5px 0 var(--ink); text-decoration: none; overflow-wrap: anywhere; }


/* The introduction: mint ground, coral circle, gold highlight, ink outlines, offset shadows. */
.hero { --mint:#d6f5e8; --mint-d:#0f9b72; --coral:#ff6b57; --coral-l:#ffe0da; --gold:#ffc83d; --gold-l:#fff1c4; background: var(--mint); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 270px; height: 270px; border-radius: 50%; background: var(--coral); border: 2px solid var(--ink); right: -80px; top: -100px; pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 24px; background: var(--gold); border: 2px solid var(--ink); transform: rotate(14deg); left: -40px; bottom: -48px; pointer-events: none; }
.hero .in { position: relative; z-index: 1; }
.hero .stamp { border-radius: 99px; background: var(--white); }
.hero .stamp.why { background: var(--coral); }
.hero .hl { background: var(--gold); padding: .02em .14em; border-radius: 6px; }
.hero h1 em { color: var(--ink); }
.problem .stake { border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
.problem .stake:nth-child(odd) { transform: rotate(-.7deg); }
.problem .stake:nth-child(even) { transform: rotate(.7deg); }
.problem .stake h3 { color: var(--ink); }
.problem .stake:nth-child(1) .tg { background: var(--coral); } .problem .stake:nth-child(2) .tg { background: var(--gold); } .problem .stake:nth-child(3) .tg { background: var(--mint); }
.hero .because { border-left-color: var(--mint-d); background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 16px 18px; box-shadow: 4px 4px 0 var(--ink); }
.hero .btn { border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.hero .btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.hero .btn.hot { background: var(--gold); }
.hero .btn.out { background: var(--white); }
.hero .ticker span:nth-child(1) { background: var(--mint-d); color: var(--white); } .hero .ticker span:nth-child(2) { background: var(--gold); } .hero .ticker span:nth-child(3) { background: var(--coral-l); }
.problem { --mint:#d6f5e8; --mint-d:#0f9b72; --coral:#ff6b57; --coral-l:#ffe0da; --gold:#ffc83d; --gold-l:#fff1c4; background: var(--white); border-top: 2px solid var(--ink); padding-block: 72px; }
.problem .in { display: flex; flex-direction: column; gap: 0; }
.problem .phead { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; max-width: 34em; }
.problem .stamp { border-radius: 99px; background: var(--coral); }
.hero .herotop { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; }
.hero .herocopy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero .herotop h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.22; }
.hero .report { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; box-shadow: 6px 6px 0 var(--ink); transform: rotate(1.2deg); }
.hero .report .head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero .report h3 { font-size: 18px; }
.hero .report .tag { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 99px; background: var(--coral); border: 2px solid var(--ink); }
.hero .report .meter { height: 14px; background: var(--coral-l); border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; margin-top: 6px; }
.hero .report .meter i { display: block; height: 100%; width: 72%; background: var(--mint-d); border-right: 2px solid var(--ink); }
.hero .report .kv { display: grid; grid-template-columns: 1fr auto; gap: 7px 14px; font-size: 14px; }
.hero .report .kv span:nth-child(even) { font-family: var(--mono); font-weight: 500; text-align: right; }
.hero .report .claims { display: flex; flex-direction: column; font-size: 14px; }
.hero .report .claims div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px dashed var(--ink); }
.hero .report .chip { font: 500 11px/1 var(--mono); padding: 5px 9px; border-radius: 99px; white-space: nowrap; align-self: center; border: 2px solid var(--ink); }
.hero .report .chip.ok { background: var(--mint); } .hero .report .chip.mid { background: var(--gold); } .hero .report .chip.no { background: var(--coral-l); }
.hero .report .foot { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .hero .herotop { grid-template-columns: 1fr; gap: 32px; } .hero .report { transform: none; } }
@media (max-width: 900px) { .hero::before { width: 170px; height: 170px; right: -60px; top: -70px; } .problem .stake { transform: none; } }

.why { background: var(--cobalt); color: var(--white); border-top: 2px solid var(--ink); padding-block: 84px; }
.why .in { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.why .stamp { background: var(--lime); color: var(--ink); border-radius: 99px; }
.why h2 { font-size: clamp(34px, 5.6vw, 64px); max-width: 14em; }
.why .lead { font-size: clamp(19px, 2.4vw, 24px); max-width: 30em; }
.why .outs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; width: 100%; margin-top: 10px; }
.why .out { background: var(--white); color: var(--ink); border: 2px solid var(--ink); border-radius: 18px; padding: 20px; box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.why .out b { font: 800 24px/1.1 var(--display); letter-spacing: -.02em; }
.why .out:nth-child(1) b { color: var(--cobalt); } .why .out:nth-child(2) b { color: #c2410c; } .why .out:nth-child(3) b { color: #be185d; }
.why .out p { font-size: 15px; line-height: 1.5; }
.why .limits { background: var(--lime); color: var(--ink); border: 2px solid var(--ink); border-radius: 99px; padding: 10px 20px; font-weight: 700; box-shadow: 4px 4px 0 var(--ink); }
/* Shadowed sticker cards and coloured number badges */
.card, .beat, .word, .ledger { border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); transition: transform .15s; }
.card:hover, .beat:hover, .word:hover { transform: translateY(-3px); }
.seal { box-shadow: none; }
.chapter .when b { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 28px; letter-spacing: 0; margin-bottom: 12px; box-shadow: 3px 3px 0 var(--ink); }
.c1 .when b { background: #ff6b57; } .c2 .when b { background: #ffc83d; } .c3 .when b { background: #0f9b72; color: var(--white); }
.c4 .when b { background: var(--cobalt); color: var(--white); } .c5 .when b { background: var(--pink); } .c6 .when b { background: var(--lime); }
.word { position: relative; padding-top: 30px; }
.word .n { position: absolute; top: -20px; left: 20px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font: 800 18px/1 var(--display); box-shadow: 2px 2px 0 var(--ink); }
.word:nth-child(1) .n { background: #ffc83d; } .word:nth-child(2) .n { background: #ff6b57; } .word:nth-child(3) .n { background: var(--lime); }
.rail3 { margin-top: 12px; }

.partners { background: #ff6b57; border-top: 2px solid var(--ink); padding-block: 84px; }
.partners .in { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.partners .stamp { background: var(--white); border-radius: 99px; }
.partners h2 { font-size: clamp(34px, 5.4vw, 60px); }
.partners p { max-width: 38em; }
.partners .small { font-size: 15px; }
.partners .btn { border-radius: 12px; box-shadow: 4px 4px 0 var(--ink); }
.partners .btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }

/* What it is, roles, trust, ladder, grading note */
.textlink { align-self: center; font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
.what { background: var(--paper); border-top: 2px solid var(--ink); padding-block: 84px; }
.what .in, .roles .in, .trust .in { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.what .lead, .roles .lead, .trust .lead { max-width: 36em; font-size: clamp(18px, 2.2vw, 21px); }
.what .stamp { background: var(--lime); border-radius: 99px; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 10px; align-items: stretch; width: 100%; }
.arr { align-self: center; font: 800 28px/1 var(--display); }
.fstep { border: 2px solid var(--ink); border-radius: 18px; background: var(--white); padding: 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 5px 5px 0 var(--ink); min-width: 0; }
.fstep .fn { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fstep b { font: 700 17px/1.2 var(--display); letter-spacing: -.01em; }
.fstep p { font-size: 14px; line-height: 1.45; }
.fstep.me { background: var(--cobalt); color: var(--white); }
.fstep.me .fn { color: var(--lime); }
.what .two { width: 100%; }
.card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.card.yes { background: var(--lime-l); } .card.no { background: var(--pink-l); }
.card.yes li::marker { content: "\2713  "; font-weight: 800; } .card.no li::marker { content: "\2715  "; font-weight: 800; }
.scale { font-size: 15px; color: var(--muted); max-width: 40em; }
.scale b { color: var(--ink); }
.roles { background: var(--cobalt-l); border-top: 2px solid var(--ink); padding-block: 84px; }
.roles .stamp { background: var(--tang); border-radius: 99px; }
.who { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; width: 100%; }
.role { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.role .rt { font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; border: 2px solid var(--ink); width: fit-content; background: var(--lime); }
.role:nth-child(2) .rt { background: var(--tang-l); } .role:nth-child(3) .rt { background: var(--pink-l); } .role:nth-child(4) .rt { background: var(--gold, #ffc83d); }
.role q { font: 700 19px/1.3 var(--display); letter-spacing: -.01em; quotes: none; }
.role p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.trust { background: var(--lime-l); border-top: 2px solid var(--ink); padding-block: 84px; }
.trust .stamp { background: var(--white); border-radius: 99px; }
.two.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); width: 100%; }
.ladder { display: grid; grid-template-columns: minmax(0, 560px); gap: 20px; width: 100%; }
.rung { background: var(--white); border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; align-items: flex-start; }
.rung p { font-size: 15px; line-height: 1.5; flex: 1; }
.rung .rn { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; border: 2px solid var(--ink); background: var(--lime); }
.rung:nth-child(2) .rn { background: var(--tang-l); } .rung:nth-child(3) .rn { background: #ffc83d; }
.rung .btn { border-radius: 12px; box-shadow: 3px 3px 0 var(--ink); padding: 11px 18px; font-size: 15px; }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .arr { justify-self: center; transform: rotate(90deg); }
  .what, .roles, .trust, .partners { padding-block: 56px; }
}

/* banking questions, supervisory line, adjacent directions */
.problem .firsttest { font: 700 clamp(19px, 2.4vw, 24px)/1.3 var(--display); letter-spacing: -.01em; margin-top: 32px; max-width: 30em; }
.problem .firsttest b { background: var(--gold, #ffc83d); padding: 0 .15em; border-radius: 5px; }
.adj { font-size: 15px; max-width: 44em; background: var(--lime-l); border: 2px solid var(--ink); border-radius: 12px; padding: 12px 16px; }
.risk { background: var(--white); border-top: 2px solid var(--ink); padding-block: 84px; }
.risk .in { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.risk .stamp { background: var(--pink); border-radius: 99px; }
.risk .lead { max-width: 38em; font-size: clamp(17px, 2vw, 20px); }
.qa { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; width: 100%; }
.q { border: 2px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); padding: 20px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); min-width: 0; }
.q p { font-size: 15px; line-height: 1.55; }
.q h3 { font-size: 20px; }
.st { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; border: 2px solid var(--ink); width: fit-content; }
.st.d { background: var(--lime); } .st.p { background: #ffc83d; } .st.o { background: var(--pink-l); }
@media (max-width: 900px) { .risk { padding-block: 56px; } }
@media (max-width: 900px) {
  header.top .wide { flex-wrap: wrap; }
  nav.ch { flex: 1 0 100%; margin-left: 0; overflow-x: auto; order: 3; padding-bottom: 4px; }
  .chapter { padding-block: 56px; }
  .chapter .in { grid-template-columns: 1fr; gap: 20px; }
  .chapter .when { display: flex; align-items: baseline; gap: 12px; border-top-width: 4px; }
  .chapter .when b { width: 46px; height: 46px; font-size: 22px; margin: 0; }
}

@media (max-width: 900px) {
  nav.ch { overflow-x: auto; scrollbar-width: none; gap: 0; font-size: 13px; }
  nav.ch::-webkit-scrollbar { display: none; }
  nav.ch a { padding: 6px 8px; }
}


/* A small illustrated sticker after each section heading, drawn for what the section says. */
:is(.problem, .why, .what, .chapter, .roles, .trust, .partners, .finale) h2::after { content: ""; display: inline-block; width: .82em; height: .82em; margin-left: .3em; vertical-align: -.08em; border: 2px solid var(--ink); border-radius: 30%; box-shadow: 3px 3px 0 var(--ink); background-repeat: no-repeat; background-position: center; background-size: 58%; transform: rotate(-7deg); }
.problem h2::after { background-color: #ffc83d; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E"); }
.why h2::after { background-color: #6fd8b4; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z%22/%3E%3Cpath d=%22M8.5 12l2.5 2.5L16 9.5%22/%3E%3C/svg%3E"); }
.what h2::after { background-color: #c8f169; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2211%22 cy=%2211%22 r=%226.5%22/%3E%3Cpath d=%22M16 16l5 5%22/%3E%3C/svg%3E"); }
.c1 h2::after { background-color: #ffc83d; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%222%22/%3E%3Cpath d=%22M3 7l9 6 9-6%22/%3E%3C/svg%3E"); }
.c2 h2::after { background-color: #ff4f8b; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M6 3v6a4 4 0 004 4h4a4 4 0 014 4v4%22/%3E%3Cpath d=%22M6 3v18%22/%3E%3Cpath d=%22M15 18l3 3 3-3%22/%3E%3C/svg%3E"); }
.c3 h2::after { background-color: #ffc83d; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10 14a4 4 0 005.7 0l3-3a4 4 0 00-5.7-5.7l-1 1%22/%3E%3Cpath d=%22M14 10a4 4 0 00-5.7 0l-3 3a4 4 0 005.7 5.7l1-1%22/%3E%3C/svg%3E"); }
.c4 h2::after { background-color: #c8f169; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E"); }
.c5 h2::after { background-color: #ffc83d; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%229%22 r=%226%22/%3E%3Cpath d=%22M8.5 14.5L7 21l5-3 5 3-1.5-6.5%22/%3E%3Cpath d=%22M9.5 9l2 2 3-3.5%22/%3E%3C/svg%3E"); }
.c6 h2::after { background-color: #ff6b57; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 4h7a3 3 0 013 3v13a2 2 0 00-2-2H4z%22/%3E%3Cpath d=%22M20 4h-3a3 3 0 00-3 3%22/%3E%3Cpath d=%22M20 4v14h-6%22/%3E%3C/svg%3E"); }
.roles h2::after { background-color: #ff7a1a; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%229%22 cy=%228%22 r=%223.5%22/%3E%3Cpath d=%22M2.5 20c0-3.6 2.9-6 6.5-6s6.5 2.4 6.5 6%22/%3E%3Ccircle cx=%2217.5%22 cy=%229%22 r=%222.5%22/%3E%3Cpath d=%22M17 14c2.7 0 4.5 1.8 4.5 4.5%22/%3E%3C/svg%3E"); }
.trust h2::after { background-color: #ff4f8b; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%2211%22 width=%2214%22 height=%229%22 rx=%222%22/%3E%3Cpath d=%22M8 11V8a4 4 0 018 0v3%22/%3E%3C/svg%3E"); }
.partners h2::after { background-color: #ffc83d; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 5h13a2 2 0 012 2v7a2 2 0 01-2 2H10l-4 3v-3H4a2 2 0 01-2-2V7a2 2 0 012-2z%22/%3E%3C/svg%3E"); }
.finale h2::after { background-color: #c8f169; background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%2314122b%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M21 3L3 10.5l7 2.5 2.5 7z%22/%3E%3Cpath d=%22M10 13l11-10%22/%3E%3C/svg%3E"); }
.chapter:nth-of-type(even) h2::after { transform: rotate(6deg); }

/* Faint textures, one kind per section, so the ground itself changes down the page */
.problem { background-image: radial-gradient(rgba(20,18,43,.09) 1.5px, transparent 1.6px); background-size: 22px 22px; }
.what { background-image: linear-gradient(rgba(20,18,43,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,18,43,.06) 1px, transparent 1px); background-size: 32px 32px; }
.c2 { background-image: repeating-linear-gradient(135deg, rgba(20,18,43,.05) 0 2px, transparent 2px 14px); }
.c3 { background-image: radial-gradient(rgba(20,18,43,.10) 1.5px, transparent 1.6px); background-size: 18px 18px; }
.roles { background-image: repeating-linear-gradient(45deg, rgba(39,64,255,.07) 0 2px, transparent 2px 16px); }
.trust { background-image: linear-gradient(rgba(20,18,43,.06) 1px, transparent 1px); background-size: 100% 30px; }
.why { background-image: radial-gradient(rgba(255,255,255,.16) 1.5px, transparent 1.6px); background-size: 26px 26px; }


/* Sources fold away so the fine print takes one line; the disclaimer stays visible and the opened text uses the full width. */
details.src summary { cursor: pointer; list-style: none; }
details.src summary::-webkit-details-marker { display: none; }
details.src .more { display: inline-block; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
details.src .more::after { content: " +"; }
details.src[open] .more::after { content: " \2212"; }
details.src > p { margin-top: 8px; max-width: none; }
details.src summary:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }
main:focus { outline: none; }

/* Narrow phones: slightly tighter cards and full-width buttons. */
@media (max-width: 480px) {
  body { font-size: 17px; }
  .card, .stake, .beat, .q, .role, .rung, .why .out, .fstep, .hero .report { padding: 16px; }
  .recorder { padding: 16px; box-shadow: 5px 5px 0 var(--ink); }
  .hero .cta { flex-direction: column; align-items: stretch; }
  .hero .cta .btn { text-align: center; }
  nav.ch a { padding: 7px 8px; }
}
