/* ==================================================================
   Testgrond Service
   Palette: werkkleding. Overall-blauw, hesgeel, plus rood voor "gemist"
   en groen voor "geregeld". Elke kleur heeft één betekenis.
   ================================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2-variations"),
       url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Pixelify Sans";
  src: url("../fonts/pixelify-sans.woff2") format("woff2-variations"),
       url("../fonts/pixelify-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #F3F4F1;
  --card: #FCFCFA;
  --ink: #14213D;
  --muted: #4F5A70;
  --line: #CDD2D9;
  --signal: #FFD23F;
  --on-signal: #14213D;
  --miss: #C4381C;
  --ok: #1D7347;
  --night: #14213D;
  --night-2: #1F2E50;
  --night-fg: #F3F4F1;
  --night-muted: #A9B3C7;
  --miss-hi: #FF7A5C;
  --ok-hi: #6CD69A;
  --shadow: #14213D;

  --sans: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --pixel: "Pixelify Sans", "Courier New", monospace;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1200px;
  --bar: 0px;

  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1527; --card: #16213A; --ink: #EEF0EA; --muted: #A9B3C7; --line: #2A3754;
    --miss: #FF7A5C; --ok: #6CD69A; --night: #060B17; --night-2: #121C33; --shadow: #3B4A6B;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1527; --card: #16213A; --ink: #EEF0EA; --muted: #A9B3C7; --line: #2A3754;
  --miss: #FF7A5C; --ok: #6CD69A; --night: #060B17; --night-2: #121C33; --shadow: #3B4A6B;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 18px; line-height: 1.55;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
  padding-bottom: var(--bar);
}
img, svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; box-shadow: 0 0 0 6px var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--signal); color: var(--on-signal); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.tbd { background: color-mix(in srgb, var(--signal) 45%, transparent); outline: 1px dashed currentColor; outline-offset: 1px; padding: 0 3px; }

/* ---------- type scale ---------- */
.h1 {
  font-size: clamp(32px, 8.6vw, 52px); line-height: .95; letter-spacing: -0.025em;
  font-stretch: 82%; font-weight: 800;
}
.h1 span { display: block; }
@media (min-width: 720px) { .h1 { font-size: clamp(48px, 5.6vw, 76px); } }
@media (min-width: 1080px) { .h1 { font-size: clamp(52px, 4.9vw, 66px); } html[lang="en"] .h1 { font-size: clamp(48px, 4.4vw, 60px); } }
.h2 {
  font-size: clamp(34px, 4.8vw, 62px); line-height: 1; letter-spacing: -0.02em;
  font-stretch: 85%; font-weight: 800; max-width: 16em;
}
.h3 { font-size: 22px; line-height: 1.2; font-weight: 700; letter-spacing: -0.005em; }
.lede { font-size: clamp(19px, 1.55vw, 22px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.small { font-size: 15px; color: var(--muted); }
.px { font-family: var(--pixel); font-weight: 500; letter-spacing: .02em; }

/* ---------- step corners: the pixel silhouette used for framed objects ---------- */
.step {
  --s: 4px;
  clip-path: polygon(
    0 calc(var(--s) * 2), var(--s) calc(var(--s) * 2), var(--s) var(--s), calc(var(--s) * 2) var(--s), calc(var(--s) * 2) 0,
    calc(100% - var(--s) * 2) 0, calc(100% - var(--s) * 2) var(--s), calc(100% - var(--s)) var(--s), calc(100% - var(--s)) calc(var(--s) * 2), 100% calc(var(--s) * 2),
    100% calc(100% - var(--s) * 2), calc(100% - var(--s)) calc(100% - var(--s) * 2), calc(100% - var(--s)) calc(100% - var(--s)), calc(100% - var(--s) * 2) calc(100% - var(--s)), calc(100% - var(--s) * 2) 100%,
    calc(var(--s) * 2) 100%, calc(var(--s) * 2) calc(100% - var(--s)), var(--s) calc(100% - var(--s)), var(--s) calc(100% - var(--s) * 2), 0 calc(100% - var(--s) * 2));
}
.hatch { background: repeating-linear-gradient(135deg, var(--shadow) 0 2px, transparent 2px 7px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 17px; line-height: 1; text-decoration: none; cursor: pointer;
  padding: 16px 22px; border: 3px solid var(--ink); background: var(--signal); color: var(--on-signal);
  box-shadow: 5px 5px 0 var(--shadow); transition: transform .06s steps(2), box-shadow .06s steps(2); white-space: nowrap;
}
.btn:hover { background: #FFDB66; }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--shadow); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }

/* ---------- header ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: var(--paper); border-bottom: 3px solid var(--ink);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--paper); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 22px; letter-spacing: -0.02em; font-stretch: 85%; }
.tag {
  position: relative; display: inline-block; font-family: var(--pixel); font-weight: 600; font-size: 15px; letter-spacing: .03em; line-height: 1;
  background: var(--signal); color: var(--on-signal); padding: 6px 9px 6px 20px; transform: translateY(1px);
}
.tag::before { content: ""; position: absolute; left: 7px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--paper); box-shadow: 0 0 0 2px var(--on-signal); }
.nav { display: none; gap: 26px; margin-left: auto; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.lang { display: inline-flex; margin-left: auto; border: 2px solid var(--ink); font-family: var(--pixel); font-size: 15px; line-height: 1; }
.lang a, .lang span { padding: 7px 9px; text-decoration: none; }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.top .btn { display: none; padding: 11px 16px; font-size: 16px; box-shadow: 4px 4px 0 var(--shadow); }
@media (min-width: 720px) { .top .btn { display: inline-flex; } .lang { margin-left: 0; } .top .nav + .lang { margin-left: 0; } }
@media (min-width: 720px) and (max-width: 979px) { .lang { margin-left: auto; } }
@media (min-width: 980px) { .nav { display: flex; } }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 7vw, 96px) 0 clamp(56px, 8vw, 112px); }
.hero .wrap { display: grid; gap: clamp(44px, 6vw, 72px); align-items: center; }
.hero .h1 { margin-bottom: 26px; }
.hero .lede { margin-bottom: 32px; }
.hero .reassure { margin-top: 18px; }
.hero .reassure .tbd { white-space: nowrap; }
@media (min-width: 1080px) { .hero .wrap { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } }

/* the phone */
.phone-wrap { position: relative; width: min(100%, 380px); margin: 0 auto; }
.phone-shadow { position: absolute; inset: 18px -18px -18px 18px; }
.phone { position: relative; background: var(--ink); padding: 16px 12px 26px; --s: 6px; }
.screen { --s: 4px; background: var(--card); color: var(--ink); min-height: 540px; padding: 14px 14px 18px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.sbar { display: flex; justify-content: space-between; align-items: center; font-size: 16px; margin-bottom: 18px; }
.sbar .bars { display: flex; gap: 2px; align-items: flex-end; }
.sbar .bars i { display: block; width: 4px; background: var(--ink); }
.sbar .bars i:nth-child(1) { height: 5px; } .sbar .bars i:nth-child(2) { height: 8px; } .sbar .bars i:nth-child(3) { height: 11px; }
.sbar .batt { width: 22px; height: 11px; border: 2px solid var(--ink); position: relative; margin-left: 8px; }
.sbar .batt::after { content: ""; position: absolute; inset: 1px 7px 1px 1px; background: var(--ink); }
.ph-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ph-title b { font-size: 22px; font-weight: 800; font-stretch: 88%; }
.badge { font-family: var(--pixel); font-weight: 600; min-width: 30px; height: 30px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; background: var(--miss); color: var(--paper); font-size: 17px; --s: 3px; transition: transform .1s steps(2); }
.badge.bump { transform: scale(1.18); }
.badge.zero { background: var(--ok); }
.notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.note {
  display: grid; grid-template-columns: 26px 1fr auto; gap: 2px 10px; align-items: start;
  padding: 10px 10px 10px 10px; background: var(--paper); border: 2px solid var(--ink); font-size: 14px; line-height: 1.3;
  transition: opacity .25s steps(3), transform .25s steps(3);
}
.note svg { grid-row: span 2; width: 22px; height: auto; margin-top: 2px; }
.note .who { font-weight: 700; }
.note .t { font-family: var(--pixel); color: var(--muted); font-size: 13px; }
.note .msg { grid-column: 2 / 4; color: var(--muted); }
.note.missed .who { color: var(--miss); }
.js .note { opacity: 0; transform: translateY(-14px); }
.js .note.in { opacity: 1; transform: none; }
.note.done { border-color: var(--ok); }
.note .chk { display: none; }
.note.done .t { display: none; }
.note.done .chk { display: block; width: 14px; height: 14px; background: var(--ok); clip-path: none; margin-top: 3px; }
.summary {
  position: absolute; left: 14px; right: 14px; bottom: 18px; background: #14213D; color: #F3F4F1; border: 2px solid var(--ink); padding: 16px;
  transition: transform .35s steps(5), opacity .2s steps(2);
}
.js .summary { transform: translateY(130%); opacity: 0; }
.js .summary.in { transform: none; opacity: 1; }
.summary b { display: block; font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.summary ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.summary li { display: flex; align-items: center; gap: 10px; }
.summary li i { width: 12px; height: 12px; flex: none; background: var(--ok-hi); }
.summary li.wait i { background: var(--signal); }
.phone-status { margin-top: 34px; display: flex; gap: 10px; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; min-height: 1.5em; text-align: center; }
.phone-status i { width: 12px; height: 12px; flex: none; background: var(--miss); }
.phone-status.ok i { background: var(--ok); }

/* ---------- night: the working day ---------- */
.night { background: var(--night); color: var(--night-fg); padding: clamp(72px, 10vw, 136px) 0; }
.night .h2 { margin-bottom: clamp(40px, 6vw, 72px); }
.day { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--night-2); }
.day li { display: grid; grid-template-columns: 1fr; gap: 6px 40px; padding: 26px 0 28px; border-bottom: 2px solid var(--night-2); }
.day time { font-family: var(--pixel); font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--signal); }
.day .who { font-size: 15px; color: var(--night-muted); margin: 6px 0 8px; }
.day p { font-size: clamp(18px, 1.6vw, 21px); max-width: 36em; }
.day .cost { color: var(--miss-hi); font-weight: 600; }
@media (min-width: 760px) { .day li { grid-template-columns: 220px minmax(0, 1fr); } .day .who { margin-top: 0; } }
.verdict { margin-top: clamp(56px, 7vw, 96px); font-size: clamp(30px, 4vw, 52px); line-height: 1.08; font-weight: 800; font-stretch: 88%; letter-spacing: -0.015em; max-width: 18em; }
.verdict span { display: block; color: var(--night-muted); }

/* ---------- calculator ---------- */
.calc { padding: clamp(72px, 10vw, 128px) 0; }
.calc-grid { display: grid; gap: clamp(32px, 5vw, 72px); margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .calc-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.field { display: block; padding: 18px 0; border-top: 2px solid var(--ink); }
.field:last-child { border-bottom: 2px solid var(--ink); }
.field .q { display: block; font-weight: 700; font-size: 19px; margin-bottom: 4px; }
.field .hint { display: block; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.input { display: inline-flex; align-items: stretch; border: 3px solid var(--ink); background: var(--card); }
.input input { width: 6.5ch; font: inherit; font-weight: 700; font-size: 24px; font-variant-numeric: tabular-nums; padding: 9px 12px; border: 0; background: transparent; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.input input::-webkit-outer-spin-button, .input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input span { display: flex; align-items: center; padding: 0 14px; font-size: 17px; font-weight: 600; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.input input:focus-visible { outline: none; box-shadow: none; }
.input:focus-within { outline: 3px solid var(--signal); outline-offset: 3px; }
.receipt-wrap { position: relative; }
.receipt-wrap .hatch { position: absolute; inset: 14px -14px -14px 14px; }
.receipt { position: relative; background: var(--card); border: 3px solid var(--ink); padding: clamp(22px, 3vw, 34px); }
.receipt .lbl { font-size: 16px; color: var(--muted); }
.receipt .big { font-size: clamp(48px, 6.4vw, 80px); font-weight: 800; font-stretch: 85%; font-variant-numeric: tabular-nums; line-height: 1; margin: 10px 0 4px; color: var(--miss); letter-spacing: -0.02em; }
.receipt .per { font-size: 17px; font-weight: 600; margin-bottom: 22px; }
.receipt dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; padding-top: 18px; border-top: 2px dashed var(--line); font-size: 16px; }
.receipt dd { margin: 0; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.receipt .note-honest { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------- planbord ---------- */
.board-sec { padding: clamp(72px, 10vw, 128px) 0; border-top: 3px solid var(--ink); }
.board-sec .lede { margin: 18px 0 clamp(36px, 5vw, 56px); }
.board { display: grid; grid-template-columns: 1fr; border: 3px solid var(--ink); background: var(--card); }
.col { padding: 22px 20px 26px; border-bottom: 3px solid var(--ink); display: flex; flex-direction: column; gap: 14px; }
.col:last-child { border-bottom: 0; }
@media (min-width: 700px) { .board { grid-template-columns: 1fr 1fr; } .col:nth-child(odd) { border-right: 3px solid var(--ink); } .col:nth-child(3) { border-bottom: 0; } }
@media (min-width: 1040px) { .board { grid-template-columns: repeat(4, 1fr); } .col { border-bottom: 0; border-right: 3px solid var(--ink); } .col:last-child { border-right: 0; } }
.col-head { display: flex; align-items: baseline; gap: 10px; }
.col-head .n { font-family: var(--pixel); font-size: 15px; background: var(--ink); color: var(--paper); padding: 3px 7px; }
.col-head .h3 { font-size: 21px; }
.col > p { font-size: 16px; color: var(--muted); min-height: 4.6em; }
.job { position: relative; background: var(--paper); border: 2px solid var(--ink); padding: 14px 12px 12px; font-size: 15px; line-height: 1.35; box-shadow: 4px 4px 0 var(--shadow); }
.job::before { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; margin-left: -6px; background: var(--signal); box-shadow: 0 0 0 2px var(--ink); }
.job b { display: block; font-weight: 700; font-size: 16px; }
.job .meta { font-family: var(--pixel); font-size: 13px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chips span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 3px 7px; border: 2px solid var(--ok); color: var(--ok); font-weight: 600; }
.chips span::before { content: ""; width: 7px; height: 7px; background: var(--ok); }
.flag { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; padding: 3px 8px; background: var(--signal); color: var(--on-signal); }
.job.ok-job .meta { color: var(--ok); font-weight: 600; }
.illus { margin-top: 14px; font-size: 14px; color: var(--muted); }
.werkbon-wrap + .illus { margin-top: 30px; }

/* ---------- control / werkbon ---------- */
.control { padding: clamp(72px, 10vw, 128px) 0; border-top: 3px solid var(--ink); }
.control .wrap { display: grid; gap: clamp(44px, 6vw, 88px); }
@media (min-width: 960px) { .control .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; } }
.control .lede { margin: 20px 0 36px; }
.nots h3 { font-size: 19px; margin-bottom: 8px; }
.nots ul { list-style: none; margin: 0; padding: 0; }
.nots li { position: relative; padding: 12px 0 12px 28px; border-top: 1px solid var(--line); font-size: 17px; }
.nots li:last-child { border-bottom: 1px solid var(--line); }
.nots li::before { content: ""; position: absolute; left: 0; top: 19px; width: 13px; height: 13px; border: 2px solid var(--ink); }
.nots li::after { content: ""; position: absolute; left: -2px; top: 25px; width: 17px; height: 2px; background: var(--miss); transform: rotate(-45deg); }
.nots li span { color: var(--muted); }
.werkbon-wrap { position: relative; max-width: 480px; }
.werkbon-wrap .hatch { position: absolute; inset: 16px -16px -16px 16px; }
.werkbon { position: relative; background: var(--card); border: 3px solid var(--ink); }
.wb-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; background: var(--ink); color: var(--paper); font-family: var(--pixel); font-size: 17px; }
.wb-body { margin: 0; padding: 8px 18px 0; }
.wb-row { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.wb-row dt { color: var(--muted); }
.wb-row dd { margin: 0; font-weight: 600; }
.wb-row .chips { margin-top: 0; }
.wb-actions { display: flex; gap: 10px; padding: 18px; }
.wb-actions span { flex: 1; text-align: center; padding: 11px; border: 3px solid var(--ink); font-weight: 700; font-size: 15px; }
.wb-actions span:first-child { background: var(--signal); color: var(--on-signal); }
.stamp {
  position: absolute; right: 22px; bottom: 60px; transform: rotate(-9deg);
  font-family: var(--pixel); font-weight: 700; font-size: 30px; line-height: 1; color: var(--ok);
  border: 4px solid var(--ok); padding: 10px 14px 8px; background: color-mix(in srgb, var(--card) 70%, transparent);
  pointer-events: none;
}
.stamp small { display: block; font-size: 14px; font-weight: 500; margin-top: 4px; }

/* ---------- managed / testbank ---------- */
.managed { background: var(--night); color: var(--night-fg); padding: clamp(72px, 10vw, 136px) 0; }
.managed .wrap { display: grid; gap: clamp(44px, 6vw, 88px); }
@media (min-width: 960px) { .managed .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; } }
.managed .lede { color: var(--night-muted); margin-top: 22px; }
.managed .lede + .lede { margin-top: 16px; }
.slip {
  background: #FCFCFA; color: #14213D; padding: 26px 24px 40px; max-width: 460px; font-family: var(--pixel); font-size: 16px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), 96% 100%, 92% calc(100% - 12px), 88% 100%, 84% calc(100% - 12px), 80% 100%, 76% calc(100% - 12px), 72% 100%, 68% calc(100% - 12px), 64% 100%, 60% calc(100% - 12px), 56% 100%, 52% calc(100% - 12px), 48% 100%, 44% calc(100% - 12px), 40% 100%, 36% calc(100% - 12px), 32% 100%, 28% calc(100% - 12px), 24% 100%, 20% calc(100% - 12px), 16% 100%, 12% calc(100% - 12px), 8% 100%, 4% calc(100% - 12px), 0 100%);
}
.slip h3 { font-family: var(--pixel); font-weight: 600; font-size: 20px; margin-bottom: 4px; }
.slip .sub { color: #4F5A70; font-size: 14px; margin-bottom: 18px; }
.slip ol { list-style: none; margin: 0; padding: 0; border-top: 2px dashed #CDD2D9; }
.slip li { display: flex; gap: 8px; align-items: baseline; padding: 9px 0; border-bottom: 2px dashed #CDD2D9; }
.slip li .fill { flex: 1; border-bottom: 2px dotted #A9B3C7; transform: translateY(-4px); min-width: 12px; }
.slip li b { color: #1D7347; font-weight: 600; }
.slip .end { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.slip .end i { width: 14px; height: 14px; background: #1D7347; }

/* ---------- first project ---------- */
.first { padding: clamp(72px, 10vw, 128px) 0; }
.first .wrap { display: grid; gap: clamp(44px, 6vw, 88px); }
@media (min-width: 960px) { .first .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: start; } }
.first .lede { margin-top: 20px; }
.first .wb-row dd { font-weight: 500; }
.first .wb-row:last-child { border-bottom: 0; }
.price { display: block; font-size: 24px; font-weight: 800; font-stretch: 88%; letter-spacing: -0.01em; }
.wb-foot { margin: 0 18px; padding: 14px 0 18px; border-top: 2px solid var(--ink); font-size: 15px; color: var(--muted); }
.first + .steps-sec { border-top: 3px solid var(--ink); }
@media (max-width: 520px) { .first .wb-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- steps ---------- */
.steps-sec { padding: clamp(72px, 10vw, 128px) 0; }
.steps { list-style: none; margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 3px solid var(--ink); }
.steps li { padding: 26px 0 30px; border-bottom: 2px solid var(--line); }
@media (min-width: 720px) { .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); column-gap: 0; } .steps li { border-bottom: 0; padding-right: 28px; } .steps li + li { padding-left: 28px; border-left: 2px solid var(--line); } }
.meter { display: flex; gap: 3px; margin-bottom: 22px; }
.meter i { width: 18px; height: 18px; border: 2px solid var(--ink); }
.meter i.on { background: var(--signal); }
.steps .h3 { margin-bottom: 10px; }
.steps p { font-size: 17px; color: var(--muted); }

/* ---------- fit ---------- */
.fit { padding: clamp(72px, 10vw, 128px) 0; border-top: 3px solid var(--ink); }
.fit-grid { display: grid; gap: 40px; margin-top: clamp(32px, 5vw, 56px); }
@media (min-width: 860px) { .fit-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); } }
.fit h3 { font-size: 20px; margin-bottom: 10px; }
.fit ul { list-style: none; margin: 0; padding: 0; }
.fit li { position: relative; padding: 13px 0 13px 30px; border-top: 1px solid var(--line); font-size: 17px; }
.fit li:last-child { border-bottom: 1px solid var(--line); }
.fit li::before { content: ""; position: absolute; left: 0; top: 20px; width: 14px; height: 14px; background: var(--ink); }
.fit .not li { color: var(--muted); }
.fit .not li::before { background: transparent; border: 2px solid var(--muted); }
.sectors { margin-top: clamp(36px, 5vw, 56px); font-size: clamp(19px, 1.7vw, 23px); max-width: 40em; }

/* ---------- who ---------- */
.who-sec { padding: clamp(72px, 10vw, 128px) 0; background: var(--card); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.who-sec .wrap { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 860px) { .who-sec .wrap { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); } }
.photo { position: relative; width: min(100%, 320px); aspect-ratio: 4 / 5; }
.photo .hatch { position: absolute; inset: 14px -14px -14px 14px; }
.photo .frame { position: relative; height: 100%; border: 3px solid var(--ink); background: var(--paper); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 15px; padding: 20px; overflow: hidden; }
.photo .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who-sec .lede { margin: 20px 0 28px; }
.contacts { display: grid; gap: 4px; font-size: 18px; }
.contacts a { font-weight: 600; }
.signature { margin-top: 26px; font-weight: 700; }
.signature span { display: block; font-weight: 400; color: var(--muted); font-size: 16px; }

/* ---------- faq ---------- */
.faq { padding: clamp(72px, 10vw, 128px) 0; }
.faq .list { margin-top: clamp(32px, 5vw, 56px); border-top: 3px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 2px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-weight: 700; font-size: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; flex: none; width: 22px; height: 22px; border: 2px solid var(--ink); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 2px; background: var(--ink); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--signal); border-color: var(--on-signal); }
.faq details[open] summary i::after { display: none; }
.faq details[open] summary i::before { background: var(--on-signal); }
.faq .a { padding: 0 0 24px; max-width: 40em; color: var(--muted); font-size: 17px; }
.faq .a p + p { margin-top: 10px; }

/* ---------- final cta ---------- */
.final { background: var(--signal); color: #14213D; padding: clamp(80px, 11vw, 150px) 0; border-top: 3px solid #14213D; }
.final .h2 { max-width: 13em; }
.final .lede { color: #14213D; margin: 22px 0 36px; }
.final .btn { --ink: #14213D; background: #14213D; color: #FFD23F; box-shadow: 5px 5px 0 #B8901A; }
.final .btn:hover { background: #1F2E50; }
.final .btn.ghost { background: transparent; color: #14213D; }
.final .btn.ghost:hover { background: rgba(20, 33, 61, .08); }
.final .small { color: #14213D; margin-top: 22px; font-weight: 600; }
.final :focus-visible { outline-color: #14213D; box-shadow: 0 0 0 6px #FFD23F; }

/* ---------- footer ---------- */
footer { border-top: 3px solid var(--ink); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 24px; padding-bottom: 30px; font-size: 15px; color: var(--muted); }
footer a { color: var(--muted); }
footer strong { color: var(--ink); font-weight: 700; margin-right: 6px; }

/* ---------- mobile bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--paper); border-top: 3px solid var(--ink);
  transition: transform .2s steps(3);
}
.mbar .btn { padding: 13px 10px; font-size: 16px; box-shadow: 3px 3px 0 var(--shadow); }
.mbar.hide { transform: translateY(110%); }
@media (max-width: 719px) { :root { --bar: 76px; } }
@media (min-width: 720px) { .mbar { display: none; } }

/* ---------- pixel sprites ---------- */
.spr { shape-rendering: crispEdges; display: block; }
.spr .c1 { fill: var(--ink); } .spr .c2 { fill: var(--signal); } .spr .c3 { fill: var(--miss); } .spr .c4 { fill: var(--card); } .spr .c5 { fill: var(--ok); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==================================================================
   Subpages: privacy, 404, blog
   ================================================================== */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }

.page-hero { padding: clamp(44px, 7vw, 96px) 0 clamp(32px, 4vw, 52px); border-bottom: 3px solid var(--ink); }
.crumbs { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 15px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.crumbs a { color: var(--muted); }
.page-title { font-size: clamp(36px, 5.4vw, 64px); line-height: 1; letter-spacing: -0.02em; font-stretch: 84%; font-weight: 800; max-width: 18em; text-wrap: balance; }
.page-hero .lede { margin-top: 20px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.meta-row b { color: var(--ink); font-weight: 600; }

.prose { max-width: 42rem; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; font-stretch: 88%; letter-spacing: -0.015em; margin: 52px 0 14px; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; margin: 32px 0 10px; }
.prose p, .prose ul, .prose ol, .prose dl { margin: 0 0 16px; }
.prose ul { padding: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 26px; margin: 8px 0; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 10px; background: var(--ink); }
.prose ol { padding-left: 1.5em; }
.prose ol li { margin: 8px 0; padding-left: 4px; }
.prose ol li::marker { font-family: var(--pixel); }
.prose a { font-weight: 600; }
.prose strong { font-weight: 700; }
.prose dl { display: grid; grid-template-columns: minmax(0, 12em) minmax(0, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.prose dt, .prose dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prose dt { font-weight: 700; padding-right: 16px; }
@media (max-width: 600px) { .prose dl { grid-template-columns: 1fr; } .prose dt { border-bottom: 0; padding-bottom: 0; } }
.table-wrap { overflow-x: auto; margin: 24px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 480px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.prose th { border-bottom: 3px solid var(--ink); font-weight: 700; }
.prose figure { margin: 32px 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 28px 0; padding: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.35; font-weight: 600; }
.prose blockquote p::before { content: ""; display: block; width: 36px; height: 8px; background: var(--signal); margin-bottom: 14px; box-shadow: 0 0 0 2px var(--ink); }
.prose blockquote footer { border: 0; font-size: 15px; font-weight: 400; color: var(--muted); margin-top: 8px; }

.answer { position: relative; margin: 0 0 36px; }
.answer .hatch { position: absolute; inset: 12px -12px -12px 12px; }
.answer-in { position: relative; background: var(--card); border: 3px solid var(--ink); padding: 22px 24px 24px; }
.answer-in .lbl { display: inline-block; font-family: var(--pixel); font-size: 15px; line-height: 1; background: var(--ink); color: var(--paper); padding: 6px 9px; margin-bottom: 14px; }
.answer-in p { margin: 0; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.5; }
.toc { margin: 0 0 8px; padding: 16px 0 6px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.toc b { font-size: 16px; }
.toc ol { margin: 8px 0 10px; }
.toc li { margin: 4px 0; }

.author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 56px; padding: 20px; border: 3px solid var(--ink); background: var(--card); }
.author .avatar { width: 72px; height: 72px; border: 2px solid var(--ink); background: var(--paper); display: grid; place-items: center; text-align: center; font-size: 12px; color: var(--muted); overflow: hidden; }
.author .avatar img { width: 100%; height: 100%; object-fit: cover; }
.author p { margin: 0; font-size: 16px; color: var(--muted); }
.author p b { display: block; color: var(--ink); font-size: 18px; }
.post-cta { margin-top: 40px; padding: clamp(24px, 3vw, 32px); background: var(--signal); color: #14213D; border: 3px solid #14213D; }
.post-cta h2 { margin: 0 0 10px; font-size: clamp(24px, 2.6vw, 30px); }
.post-cta p { margin: 0 0 22px; }
.post-cta .btn { --ink: #14213D; background: #14213D; color: #FFD23F; box-shadow: 5px 5px 0 #B8901A; }
.post-cta .btn.ghost { background: transparent; color: #14213D; }
.post-cta :focus-visible { outline-color: #14213D; box-shadow: 0 0 0 6px #FFD23F; }
.sources { margin-top: 48px; padding-top: 18px; border-top: 2px solid var(--ink); font-size: 15px; color: var(--muted); }
.sources h2 { font-size: 20px; margin: 0 0 8px; color: var(--ink); }

.posts { list-style: none; margin: 0; padding: clamp(24px, 4vw, 40px) 0 clamp(64px, 9vw, 112px); }
.post-card { display: grid; gap: 8px; padding: 26px 0 28px; border-bottom: 2px solid var(--line); max-width: 46rem; }
.post-card h2 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.12; font-stretch: 88%; letter-spacing: -0.01em; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card .meta { font-size: 14px; color: var(--muted); }
.post-card p { color: var(--muted); }
.post-card .tag-ex { justify-self: start; font-size: 13px; font-weight: 700; padding: 3px 8px; background: var(--signal); color: var(--on-signal); }
.empty { max-width: 40rem; padding: 22px 24px; border: 3px dashed var(--line); color: var(--muted); }

.nf { padding: clamp(64px, 11vw, 150px) 0; }
.nf .wrap { display: grid; gap: clamp(36px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) { .nf .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.nf .lede { margin: 20px 0 32px; }
.nf .lede span { display: block; margin-top: 6px; font-size: 17px; }
.nf-card { position: relative; max-width: 380px; }
.nf-card .hatch { position: absolute; inset: 14px -14px -14px 14px; }
.nf-in { position: relative; border: 3px solid var(--ink); background: var(--card); padding: 18px; }
.nf-in .big { font-family: var(--pixel); font-size: clamp(88px, 14vw, 140px); line-height: .9; color: var(--miss); }
.nf-row { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--line); font-size: 15px; }
.nf-row i { width: 12px; height: 12px; flex: none; background: var(--miss); }
.nf-row + .nf-row i { background: var(--ok); }
