
/* Layout: one working column. Headline and a before/after pair on top, the drop tray directly under, results stack below it, then the trust list, steps and FAQ. */
:root {
  --bg: #F1F4F2;
  --surface: #FFFFFF;
  --surface-2: #E8EEEA;
  --ink: #10201A;
  --muted: #52645B;
  --line: #CCD7D1;
  --brand: #0B5C6B;
  --brand-ink: #FFFFFF;
  --good: #13744A;
  --good-bg: #DCF0E4;
  --warn: #8A5200;
  --warn-bg: #FBEBCB;
  --bad: #A8261E;
  --bad-bg: #FADBD7;
  --neutral-bg: #E3E9E6;
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1512; --surface: #16201B; --surface-2: #1E2A24; --ink: #E7EFEA; --muted: #9DB1A6; --line: #2E3D36;
    --brand: #5FC1D1; --brand-ink: #06242A; --good: #58D08F; --good-bg: #14301F; --warn: #F0B454; --warn-bg: #35270D;
    --bad: #FF8A80; --bad-bg: #3A1714; --neutral-bg: #222E28; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1512; --surface: #16201B; --surface-2: #1E2A24; --ink: #E7EFEA; --muted: #9DB1A6; --line: #2E3D36;
  --brand: #5FC1D1; --brand-ink: #06242A; --good: #58D08F; --good-bg: #14301F; --warn: #F0B454; --warn-bg: #35270D;
  --bad: #FF8A80; --bad-bg: #3A1714; --neutral-bg: #222E28; color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font-body);
  padding-block: 0 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { max-width: 1040px; margin: 0 auto; }
a { color: var(--brand); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.mono { font-family: var(--font-mono); }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 22px/1 var(--font-display); letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; flex: none; }
.nav { display: flex; gap: 4px 18px; flex-wrap: wrap; font-size: 14px; }
.nav a { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--brand); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; padding: 28px 0 24px; }
.hero h1 { font-size: clamp(32px, 5.2vw, 52px); font-weight: 800; }
.hero p.lede { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 56ch; }
.ba { display: grid; gap: 10px; justify-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.ba .arrow { color: var(--muted); font-size: 13px; padding-left: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.chip .ic { width: 24px; height: 24px; }
.chip.warn { background: var(--warn-bg); color: var(--warn); }
.chip.good { background: var(--good-bg); color: var(--good); }
.ba small { color: var(--muted); font-size: 13px; line-height: 1.45; }

/* icons */
.ic { display: inline-block; flex: none; }
.ic .mark { fill: none; stroke: var(--surface); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ic .disc { fill: currentColor; }
.ic-good { color: var(--good); } .ic-warn { color: var(--warn); } .ic-bad { color: var(--bad); } .ic-neutral { color: var(--muted); }

/* drop tray */
.tray {
  position: relative; background: var(--surface); border: 2px dashed var(--brand); border-radius: 16px;
  padding: 34px 20px 28px; text-align: center; display: grid; gap: 14px; justify-items: center;
  transition: background .15s, border-color .15s;
}
.tray::before { content: ""; position: absolute; top: -2px; right: -2px; width: 34px; height: 34px;
  background: linear-gradient(225deg, var(--bg) 50%, var(--surface-2) 50%); border-bottom-left-radius: 10px; border-top-right-radius: 16px; }
.tray.over { background: var(--surface-2); border-style: solid; }
.tray h2 { font-size: 24px; font-weight: 800; }
.tray p { color: var(--muted); max-width: 60ch; font-size: 15px; }
.btn { appearance: none; border: 0; cursor: pointer; border-radius: 10px; padding: 11px 20px; font-weight: 600; font-size: 15px; background: var(--brand); color: var(--brand-ink); }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--surface-2); filter: none; }
.btn.small { padding: 6px 12px; font-size: 13px; border-radius: 8px; }
.btn[disabled] { opacity: .55; cursor: default; }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: var(--muted); list-style: none; padding: 0; margin: 4px 0 0; }
.facts li::before { content: "\2713\00a0"; color: var(--good); font-weight: 700; }

/* summary bar */
.summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 26px 0 12px; }
.counts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.counts b { color: var(--ink); font-variant-numeric: tabular-nums; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.note { font-size: 13px; color: var(--muted); }

/* result cards */
.list { display: grid; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.card-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 16px; width: 100%; text-align: left; background: none; border: 0; cursor: pointer; }
.card-head .ic { width: 30px; height: 30px; }
.fname { font-weight: 600; overflow-wrap: anywhere; }
.sub { font-size: 13px; color: var(--muted); }
.pill { font-size: 13px; font-weight: 600; padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.pill.good { background: var(--good-bg); color: var(--good); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.neutral { background: var(--neutral-bg); color: var(--muted); }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; margin-left: 6px; vertical-align: middle; }
.card-body { padding: 4px 16px 18px; display: grid; gap: 16px; border-top: 1px solid var(--line); }
.verdict-line { padding-top: 14px; font-size: 15px; }
.who { display: grid; gap: 2px; font-size: 14px; }
.who b { font-weight: 600; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.chk { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.chk .ic { width: 22px; height: 22px; margin-top: 1px; }
.chk b { font-weight: 600; font-size: 15px; }
.chk p { font-size: 13.5px; color: var(--muted); margin-top: 1px; }
h3.sec-h { font-size: 15px; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
.chain { list-style: none; margin: 8px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); display: grid; gap: 10px; }
.chain li { font-size: 14px; position: relative; }
.chain li::before { content: ""; position: absolute; left: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.chain .role { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: block; }
.hash { font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pwd { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pwd input { font: inherit; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); min-width: 0; flex: 1 1 180px; }
.sig-block + .sig-block { border-top: 1px dashed var(--line); padding-top: 16px; }
.sample-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; }

/* sections */
.sec { margin-top: 64px; }
.sec h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 800; }
.sec > p.intro { color: var(--muted); margin-top: 10px; max-width: 70ch; }
.panel { margin-top: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 14px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.stats b { color: var(--ink); font-variant-numeric: tabular-nums; }
.certs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.certs li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.certs li:first-child { border-top: 0; }
.certs .cn { font-weight: 600; overflow-wrap: anywhere; }
.certs .meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.empty { color: var(--muted); font-size: 14px; padding: 6px 0; }
.steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px; counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); font: 800 15px var(--font-display); margin-bottom: 10px; }
.steps h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; }
details.faq { border-top: 1px solid var(--line); padding: 14px 0; }
details.faq:last-of-type { border-bottom: 1px solid var(--line); }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--brand); font-weight: 700; font-size: 20px; line-height: 1; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin-top: 8px; color: var(--muted); max-width: 72ch; font-size: 15px; }
.faqs { margin-top: 18px; }
footer { margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 12px; }
  .card-head { grid-template-columns: auto minmax(0, 1fr); }
  .card-head .pill { grid-column: 2; justify-self: start; }
  .certs li { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* site chrome */
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font: 800 20px/1 var(--font-display); flex: none; }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.page-head { padding: 28px 0 6px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; }
.page-head p { color: var(--muted); margin-top: 12px; max-width: 62ch; font-size: 17px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 22px; }
.tile { display: grid; gap: 8px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-decoration: none; color: var(--ink); }
.tile:hover { border-color: var(--brand); }
.tile h2 { font-size: 23px; font-weight: 800; }
.tile p { color: var(--muted); font-size: 15px; }
.tile .go { color: var(--brand); font-weight: 600; font-size: 14px; }
.prose { max-width: 70ch; display: grid; gap: 14px; margin-top: 22px; }
.prose h2 { font-size: 26px; font-weight: 800; margin-top: 22px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.callout { background: var(--surface-2); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; padding: 14px 16px; font-size: 15px; }
.field-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.field { display: grid; gap: 4px; flex: 1 1 200px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field select, .field input { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); min-width: 0; width: 100%; }
.contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; margin-top: 18px; }
.contact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 4px; min-width: 0; }
.contact b { font-weight: 600; overflow-wrap: anywhere; }
.contact a.call { color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; width: fit-content; }
.banner { background: var(--warn-bg); color: var(--warn); border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-top: 18px; }
.count-line { margin-top: 16px; color: var(--muted); font-size: 14px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-links a { color: var(--muted); }
