/* Above Board — design system v7 "Signal Dark" (Oct 21, 2026)
   Graphite #141416 base, electric violet accent, a little lime. Display: Bricolage Grotesque. Text: Geist. IDs: IBM Plex Mono.
   Dark by default. Verification records (.docucard) stay a light "official document" on the dark page; their tokens are
   re-declared in the .docucard block at the end of this file.
   Contrast (WCAG AA, verified by tools/contrast.py). */

:root {
  color-scheme: dark;
  --paper: #141416; --surface: #1C1C21; --sunk: #24242B;
  --ink: #F4F2F8; --ink-2: #CFCDD8; --muted: #A9A7B3; --faint: #8E8C98;
  --rule: #2E2E36; --rule-2: #44444E;
  --violet: #6B3CFF; --violet-ink: #B9A4FF; --violet-hover: #5126E8; --violet-soft: rgba(124, 85, 255, .18); --violet-mid: #4A3A8F; --violet-dark: #B9A4FF;
  --lime: #C6F36B; --lime-soft: rgba(198, 243, 107, .12); --lime-ink: #C6F36B;
  --amber-ink: #FFC766; --amber-soft: rgba(255, 184, 77, .14); --red-ink: #FFA79A; --red-soft: rgba(255, 120, 100, .14); --info-ink: #A9C1FF; --info-soft: rgba(96, 140, 255, .16);
  --graphite: #141416; --graphite-2: #1E1E23; --graphite-3: #2A2A31; --on-dark: #B4B3BA;
  --on-ink: #141416; --btn-hover: #FFFFFF; --head-bg: rgba(20, 20, 22, .82);
  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --body: var(--sans);
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -16px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 80px -40px rgba(107, 60, 255, .5);
  --wrap: 1200px; --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .15s, text-decoration-color .15s; }
a:hover { color: var(--violet-ink); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 32px 0; }
b, strong { color: var(--ink); font-weight: 600; }
small, .small { font-size: 14px; }
code, .mono { font-family: var(--mono); font-size: .92em; letter-spacing: -.01em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1, .h1 { font: 700 clamp(40px, 6.4vw, 84px)/.96 var(--display); letter-spacing: -.035em; font-variation-settings: "wdth" 100; }
h2, .h2 { font: 700 clamp(30px, 3.8vw, 52px)/1.02 var(--display); letter-spacing: -.03em; }
h3, .h3 { font: 650 20px/1.25 var(--sans); letter-spacing: -.015em; }
h4, .h4 { font: 600 16px/1.35 var(--sans); letter-spacing: -.005em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2); max-width: 640px; }
.muted { color: var(--muted); }
.note { font-size: 14px; color: var(--muted); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.num { font: 700 clamp(44px, 5vw, 68px)/1 var(--display); letter-spacing: -.04em; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 800px; }
.band { padding: clamp(64px, 8vw, 112px) 0; }
.band.tight { padding: clamp(40px, 5vw, 64px) 0; }
.band.white, .band.alt { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band.sunk { background: var(--sunk); }
.band.dark, .dark { background: var(--graphite-2); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3, .dark h4, .dark b, .dark strong { color: #fff; }
.dark .muted, .dark .note, .dark .lede { color: var(--on-dark); }
.dark a:not(.btn) { color: #fff; text-decoration-color: rgba(255,255,255,.35); }
.dark a:not(.btn):hover { color: var(--violet-dark); }
.dark :focus-visible { outline-color: var(--violet-dark); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.split.rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; flex-wrap: wrap; }
.row-head h2 { margin: 0; }
.row-head p { margin: 8px 0 0; }
.stack > * + * { margin-top: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.page-head { padding: clamp(56px, 7vw, 104px) 0 clamp(40px, 5vw, 64px); }
.page-head .lede { margin-top: 8px; }
.page-head .crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.page-head .crumbs a { color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink); font: 600 15px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--on-ink); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary, .btn.violet, .btn.gold { background: var(--violet); border-color: var(--violet); color: #fff; }
.btn.primary:hover, .btn.violet:hover, .btn.gold:hover { background: var(--violet-hover); border-color: var(--violet-hover); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--sunk); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn.lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.dark .btn:not(.primary):not(.violet):not(.gold):not(.ghost) { background: #fff; border-color: #fff; color: var(--ink); }
.dark .btn:not(.primary):not(.violet):not(.gold):not(.ghost):hover { background: #EDEBE6; border-color: #EDEBE6; }
.dark .btn.ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.dark .btn.ghost:hover { border-color: #fff; }
button { font-family: inherit; }
a.more { font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 1.5px solid var(--violet); padding-bottom: 2px; }
a.more:hover { color: var(--violet-ink); }
.dark a.more { color: #fff; border-color: var(--violet-dark); }

/* ---------- chips & statuses ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 600 12.5px/1.5 var(--sans); letter-spacing: .005em; background: var(--sunk); color: var(--ink-2); white-space: nowrap; vertical-align: middle; }
.chip.green, .chip.lime { background: var(--lime-soft); color: var(--lime-ink); }
.chip.red { background: var(--red-soft); color: var(--red-ink); }
.chip.amber { background: var(--amber-soft); color: var(--amber-ink); }
.chip.info { background: var(--info-soft); color: var(--info-ink); }
.chip.violet { background: var(--violet-soft); color: var(--violet-ink); }
.chip.grey { background: var(--sunk); color: var(--ink-2); }
.chip.demo { background: transparent; color: var(--muted); border: 1px dashed var(--rule-2); }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border-radius: 999px; font: 650 13px/1.3 var(--sans); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.active { background: var(--lime-soft); color: var(--lime-ink); }
.status.active::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(198, 243, 107, .2); }
.status.suspended { background: var(--amber-soft); color: var(--amber-ink); }
.status.expired { background: var(--sunk); color: var(--ink-2); }
.status.revoked { background: var(--red-soft); color: var(--red-ink); }
.status.none { background: var(--sunk); color: var(--ink-2); }
.dark .status.active { background: rgba(198, 243, 107, .12); color: var(--lime); }
.dark .status.active::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(198, 243, 107, .2); }
.dark .chip.demo { color: var(--on-dark); border-color: rgba(255,255,255,.25); }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); position: relative; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
a.card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
a.card .go { display: inline-flex; margin-top: 14px; font-weight: 600; color: var(--violet-ink); }
.card.feature { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.card.flat { box-shadow: none; }
.dark .card { background: var(--graphite-3); border-color: #3A3A44; }
.dark a.card:hover { border-color: var(--violet-dark); }
.dark a.card .go { color: var(--violet-dark); }
.ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--violet-soft); color: var(--violet-ink); margin-bottom: 16px; flex: none; }
.ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dark .ico { background: rgba(185, 164, 255, .12); color: var(--violet-dark); }
.ico.lime { background: var(--lime-soft); color: var(--lime-ink); }
.price { font: 700 30px/1 var(--display); letter-spacing: -.03em; color: var(--ink); margin: 18px 0 4px; }
.price small { font: 500 14px var(--sans); color: var(--muted); letter-spacing: 0; }

/* ---------- topbar, header, footer ---------- */
.topbar { background: #0E0E10; border-bottom: 1px solid var(--rule); color: var(--on-dark); font-size: 13.5px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration-color: rgba(255,255,255,.35); font-weight: 600; }
.topbar .tb-short { display: none; }
.langs { display: flex; }
.langs a { color: var(--on-dark); text-decoration: none; font-weight: 500; padding: 4px 10px; }
.langs a + a { border-left: 1px solid rgba(255,255,255,.18); }
.langs a[aria-current], .langs a:hover { color: #fff; }
.site-head { position: sticky; top: 0; z-index: 50; background: var(--head-bg); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--rule); }
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo img { width: 32px; height: 32px; }
.logo b { font: 700 20px/1 var(--display); letter-spacing: -.03em; color: var(--ink); }
.logo:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 550; font-size: 15px; padding: 9px 13px; border-radius: 999px; }
.nav a:hover { background: var(--sunk); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--sunk); }
.nav .cta { background: var(--violet); color: #fff; padding: 10px 18px; margin-left: 6px; }
.nav .cta:hover, .nav .cta[aria-current="page"] { background: var(--violet-hover); color: #fff; }
.menu { position: relative; }
.menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 9px 14px; border: 1px solid var(--rule-2); border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); background: var(--surface); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { border-color: var(--ink); }
.menu summary svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(340px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; box-shadow: var(--shadow); padding: 10px; display: grid; }
.menu-panel a { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 550; }
.menu-panel a:hover { background: var(--sunk); }
.menu-panel a[aria-current="page"] { color: var(--violet-ink); }
.menu-panel .sep { height: 1px; background: var(--rule); margin: 6px 8px; }
.menu-panel a.cta { background: var(--violet); color: #fff; justify-content: center; margin-top: 6px; }
.menu-panel a.cta:hover { background: var(--violet-hover); }
.site-foot { background: #0E0E10; border-top: 1px solid var(--rule); color: var(--on-dark); padding: 64px 0 40px; font-size: 14.5px; }
.site-foot .logo b { color: #fff; }
.site-foot .foot-top { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 32px; }
.site-foot .foot-tag { margin: 16px 0 0; max-width: 320px; }
.site-foot h2 { font: 600 14px/1.4 var(--sans); color: #fff; letter-spacing: 0; margin: 4px 0 12px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot .base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--graphite-3); margin-top: 48px; padding-top: 24px; color: #8E8D95; font-size: 13.5px; }
.site-foot .base p { margin: 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); margin-bottom: 22px; }
.hero h1 .hl { color: var(--violet); }
.hero .lede { margin-bottom: 28px; }
.hero-search { display: flex; gap: 8px; background: var(--surface); border: 1px solid var(--rule-2); border-radius: 999px; padding: 6px; max-width: 560px; box-shadow: var(--shadow); }
.hero-search:focus-within { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft), var(--shadow); }
.hero-search svg { width: 20px; height: 20px; margin: 0 4px 0 14px; align-self: center; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.hero-search input[type="search"] { flex: 1; min-height: 46px; border: 0; box-shadow: none; border-radius: 999px; min-width: 0; border: 0; background: transparent; font: 500 16px var(--sans); color: var(--ink); padding: 0 4px; outline: none; }
.hero-search .btn { min-height: 46px; }
.hero .alt-cta { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; align-items: center; font-size: 15px; }
.hero .proofline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 14px; color: var(--muted); }
.hero .proofline span { display: inline-flex; align-items: center; gap: 8px; }
.hero .proofline svg { width: 16px; height: 16px; fill: none; stroke: var(--violet); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* the verification console (hero visual) */
.console { position: relative; background: var(--graphite-2); border: 1px solid var(--graphite-3); color: var(--on-dark); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--shadow-lg); isolation: isolate; }
.console::before { content: ""; position: absolute; inset: -40% -30% auto auto; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(107, 60, 255, .55), rgba(107, 60, 255, 0)); z-index: -1; pointer-events: none; }
.console .c-bar { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--on-dark); padding: 2px 4px 16px; border-bottom: 1px solid var(--graphite-3); }
.console .c-bar b { color: #fff; font-weight: 600; }
.console .c-q { display: flex; align-items: center; gap: 10px; margin: 16px 0; background: var(--graphite-2); border: 1px solid var(--graphite-3); border-radius: 14px; padding: 12px 14px; font-family: var(--mono); font-size: 14px; color: #fff; }
.console .c-q svg { width: 18px; height: 18px; fill: none; stroke: var(--violet-dark); stroke-width: 2; stroke-linecap: round; }
.console .c-q .caret { width: 2px; height: 18px; background: var(--lime); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console .c-card { border-radius: 20px; padding: 20px; }
.console .c-head { display: flex; gap: 14px; align-items: center; }
.console .c-head img { width: 64px; height: 64px; flex: none; }
.console .c-head b { display: block; font: 700 19px/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.console .c-head small { color: var(--muted); }
.console .c-head .status { margin-left: auto; align-self: start; }
.console dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 0; font-size: 14px; }
.console dt { color: var(--muted); }
.console dd { margin: 0; color: var(--ink); font-weight: 550; text-align: right; }
.console .c-foot { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--on-dark); }
.console .c-foot svg { width: 16px; height: 16px; fill: none; stroke: var(--lime); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.console .c-list { display: grid; gap: 8px; margin-top: 12px; }
.console .c-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--graphite-2); font-size: 14px; }
.console .c-row span:first-child { color: #fff; font-weight: 550; }

/* ---------- tools strip ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tools-grid a.card { padding: 22px; border-radius: 20px; }
.tools-grid h3 { font-size: 17px; margin-bottom: 6px; }
.tools-grid p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- stats ---------- */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); }
.stat-row > div { padding: 28px 24px 4px 0; }
.stat-row > div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.stat-row p { margin: 10px 0 0; font-size: 15px; color: var(--muted); max-width: 220px; }
.dark .stat-row { border-color: var(--graphite-3); }
.dark .stat-row > div + div { border-color: var(--graphite-3); }
.dark .num { color: #fff; }
.num .accent { color: var(--violet); }
.dark .num .accent { color: var(--lime); }
.bars { display: grid; gap: 14px; }
.bar { display: grid; grid-template-columns: minmax(120px, 1.2fr) 2fr 52px; align-items: center; gap: 14px; font-size: 15px; }
.bar .track { height: 10px; background: var(--sunk); border-radius: 99px; overflow: hidden; }
.bar .fill { height: 100%; background: var(--violet); border-radius: 99px; }
.bar b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- certification ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cert-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s; }
.cert-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); color: inherit; }
.cert-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cert-card .cc-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.cert-card h3 { font: 700 24px/1.1 var(--display); letter-spacing: -.025em; margin-bottom: 8px; }
.cert-card p { color: var(--muted); font-size: 15px; }
.cert-card .cc-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.cert-card .price { margin: 12px 0 0; }
.cert-card .go { font-weight: 600; color: var(--violet-ink); white-space: nowrap; }

/* process / steps */
ol.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: f; }
ol.flow li { counter-increment: f; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 22px; position: relative; }
ol.flow li::before { content: counter(f); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--violet); color: #fff; font: 700 15px/1 var(--display); margin-bottom: 16px; }
ol.flow h3 { font-size: 17px; margin-bottom: 6px; }
ol.flow p { margin: 0; font-size: 14.5px; color: var(--muted); }
.dark ol.flow li { background: var(--graphite-3); border-color: #3A3A44; }
ol.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 4px; }
ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--rule); }
ol.steps > li:first-child { border-top: 0; padding-top: 0; }
ol.steps > li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); font: 700 14px/1 var(--display); }
ol.steps h3 { font-size: 17px; margin: 5px 0 4px; }
ol.steps p { margin: 0; color: var(--muted); }
.dark ol.steps > li { border-color: var(--graphite-3); }
.dark ol.steps > li::before { border-color: var(--violet-dark); color: #fff; }

/* lists */
ul.ticks, ul.crosses, ul.plain { list-style: none; padding: 0; margin: 0 0 1em; }
ul.ticks li, ul.crosses li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--violet-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9A4FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
ul.crosses li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFA79A' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
.dark ul.ticks li::before { background-color: rgba(198, 243, 107, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C6F36B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
ul.ticks.big li { font-size: 17px; margin-bottom: 14px; }
ul.ticks.grid { display: grid; }

/* rule rows: label + text in a two-column list */
.rules { border-top: 1px solid var(--rule); }
.rules > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.rules h3 { margin: 0; font-size: 17px; }
.rules p { margin: 0; }
.rules p + p { margin-top: .6em; }
.dark .rules, .dark .rules > div { border-color: var(--graphite-3); }

/* faq / details */
.faq-list { border-top: 1px solid var(--rule); }
details.faq { border-bottom: 1px solid var(--rule); }
details.faq > summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; color: var(--ink); font-size: 17px; }
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
details.faq[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
details.faq > div { padding: 0 0 22px; color: var(--ink-2); max-width: 760px; }
.dark .faq-list, .dark details.faq { border-color: var(--graphite-3); }
.dark details.faq > summary { color: #fff; }
.dark details.faq > summary::after { border-color: #fff; }
.dark details.faq > div { color: var(--on-dark); }

/* pillars (standard) */
.pillar-list { border-top: 1px solid var(--rule); }
details.pillar { border-bottom: 1px solid var(--rule); }
details.pillar > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 0; }
details.pillar > summary::-webkit-details-marker { display: none; }
details.pillar .pn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--violet-soft); color: var(--violet-ink); font: 700 16px/1 var(--display); }
details.pillar .pt b { display: block; font: 650 18px/1.3 var(--sans); }
details.pillar .pt span { color: var(--muted); font-size: 15px; }
details.pillar .pc { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
details.pillar > summary:hover b { color: var(--violet-ink); }
details.pillar[open] > summary .pn { background: var(--violet); color: #fff; }
ul.criteria { list-style: none; padding: 0 0 20px 66px; margin: 0; display: grid; gap: 10px; }
ul.criteria li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: start; font-size: 15px; }
ul.criteria .id { font: 500 13px/1.7 var(--mono); color: var(--muted); }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; color: var(--ink); background: var(--paper); font-size: 14px; }
tr:last-child td { border-bottom: 0; }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }

/* banners */
.banner { background: var(--violet-soft); border-radius: var(--r); padding: 16px 18px; margin-bottom: 14px; color: var(--ink); font-size: 15px; }
.banner.warn { background: var(--amber-soft); }
.banner.brand { background: var(--lime-soft); }
.banner.demo { background: transparent; border: 1px dashed var(--rule-2); color: var(--ink-2); }
.callout { border-left: 3px solid var(--violet); padding: 4px 0 4px 18px; color: var(--ink); }

/* ---------- forms & tools ---------- */
.tool { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
label, .tag { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="number"], input[type="tel"], select, textarea { width: 100%; min-height: 48px; border: 1px solid var(--rule-2); border-radius: 14px; background: var(--surface); color: var(--ink); font: 16px var(--sans); padding: 10px 14px; transition: border-color .15s, box-shadow .15s; }
textarea { min-height: 220px; resize: vertical; line-height: 1.5; font-family: var(--sans); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
select { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CFCDD8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 40px; }
.form > * + * { margin-top: 18px; }
.field-hint { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.check-line input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.drop { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border: 1.5px dashed var(--rule-2); border-radius: 14px; padding: 14px 16px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.drop.over { border-color: var(--violet); background: var(--violet-soft); }
.seg { display: inline-flex; background: var(--sunk); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); cursor: pointer; min-height: 36px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.kv { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); font-weight: 550; overflow-wrap: anywhere; }

/* checker results */
.verdict { border-radius: var(--r-lg); padding: 24px; margin-top: 20px; background: var(--sunk); }
.verdict strong { display: block; font: 700 24px/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 6px; }
.verdict.red { background: var(--red-soft); } .verdict.red strong { color: var(--red-ink); }
.verdict.amber { background: var(--amber-soft); } .verdict.amber strong { color: var(--amber-ink); }
.verdict.clear { background: var(--lime-soft); } .verdict.clear strong { color: var(--lime-ink); }
ol.findings { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
ol.findings li { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 18px 20px; }
.f-title { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-weight: 650; color: var(--ink); }
.advice { margin: 10px 0 0; color: var(--ink-2); }
.quote { margin: 10px 0 0; padding: 10px 14px; background: var(--paper); border-radius: 10px; font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); overflow-wrap: anywhere; }
.pill-no { color: var(--muted); font-size: 13px; }
.empty-ok { color: var(--lime-ink); font-weight: 600; }

/* ---------- directory & profiles ---------- */
.dir-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.dir-search input { min-height: 56px; border-radius: 999px; padding-left: 50px; font-size: 17px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A9A7B3' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20.5 20.5L16 16'/%3E%3C/svg%3E") 18px center / 20px no-repeat; }
.dir-search .btn { min-height: 56px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 16px; }
.filters .seg button { font-size: 13.5px; }
.dir-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 28px 0 12px; font-size: 14px; color: var(--muted); }
.dir-list { display: grid; gap: 10px; }
.dir-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 16px 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
.dir-row:hover { border-color: var(--ink); box-shadow: var(--shadow); color: inherit; }
.dir-row img { width: 52px; height: 52px; }
.dir-row b { display: block; font: 650 17px/1.3 var(--sans); color: var(--ink); }
.dir-row small { color: var(--muted); font-size: 14px; }
.dir-row .id { font: 500 13.5px var(--mono); color: var(--muted); }
.dir-empty { padding: 28px; border: 1px dashed var(--rule-2); border-radius: 20px; background: var(--surface); }
.dir-empty h3 { margin-bottom: 6px; }
.profile-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.profile-head img.seal { width: 120px; height: 120px; }
.profile-head h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: 10px; }
.profile-head .sub { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: var(--muted); }
.record { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.record .kv { font-size: 16px; }
.record .kv dt, .record .kv dd { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 18px 20px; font-size: 15px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 2px solid var(--violet); }
.timeline li b { display: block; }
.timeline time { color: var(--muted); font-size: 14px; }
.status-key { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.status-key .card { padding: 22px; }
.status-key .status { margin-bottom: 12px; }
.status-key p { font-size: 15px; color: var(--ink-2); }

/* badge embed */
.badge-stage { display: grid; place-items: center; gap: 14px; padding: 40px 20px; background: var(--surface) radial-gradient(circle at 1px 1px, var(--rule) 1px, transparent 0) 0 0 / 18px 18px; border-radius: var(--r-lg); border: 1px solid var(--rule); }
pre.code { margin: 0; background: #0E0E10; border: 1px solid var(--rule); color: #E9E7F0; border-radius: var(--r); padding: 18px 20px; font: 13.5px/1.6 var(--mono); overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.ab-badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid #E7E4DE; text-decoration: none; color: #141416; font-family: var(--sans); box-shadow: var(--shadow-sm); }
.ab-badge img { width: 44px; height: 44px; }
.ab-badge b { display: block; font: 700 15px/1.2 var(--display); letter-spacing: -.01em; }
.ab-badge small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #3B5B0A; font-weight: 600; }
.ab-badge small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6BAF1F; }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.calc .inputs { display: grid; gap: 18px; }
.calc .money { position: relative; }
.calc .money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.calc .money input { padding-left: 30px; }
.range-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; align-items: center; }
input[type="range"] { width: 100%; accent-color: var(--violet); height: 28px; }
.calc-out { position: sticky; top: 96px; background: var(--graphite-2); border: 1px solid var(--graphite-3); color: var(--on-dark); border-radius: var(--r-xl); padding: 28px; }
.calc-out .num { color: #fff; font-size: clamp(44px, 5vw, 64px); }
.calc-out .num.lime { color: var(--lime); }
.waterfall { display: grid; gap: 10px; margin: 22px 0; font-size: 15px; }
.waterfall div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--graphite-3); }
.waterfall div b { color: #fff; font-variant-numeric: tabular-nums; }
.waterfall .minus b { color: #FFB4A9; }
.stackbar { display: flex; height: 14px; border-radius: 99px; overflow: hidden; background: var(--graphite-3); margin-top: 8px; }
.stackbar i { display: block; height: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }

/* media */
.photo { border-radius: var(--r-xl); overflow: hidden; background: var(--sunk); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.head-photo { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 3 / 2; }
.head-photo img { width: 100%; height: 100%; object-fit: cover; }

/* guide cards */
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.toc { position: sticky; top: 96px; font-size: 14.5px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); }

/* print */
@media print {
  .topbar, .site-head, .site-foot, .no-print, .skip { display: none !important; }
  body { background: #fff; }
  .tool { box-shadow: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav .quick { display: none; }
  .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  ol.flow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-foot .foot-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-foot .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero .wrap, .split, .split.even, .split.rev, .record, .calc { grid-template-columns: minmax(0, 1fr); }
  .g3, .g4, .cert-grid, .status-key { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .calc-out { position: static; }
  .toc { position: static; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar .tb-long { display: none; }
  .topbar .tb-short { display: inline; }
  .site-head .wrap { min-height: 64px; gap: 10px; }
  .nav .cta { padding: 9px 14px; font-size: 14px; }
  .menu summary span { display: none; }
  .menu summary { padding: 10px; }
  .g2, .g3, .g4, .cert-grid, .status-key, .guide-grid, .two { grid-template-columns: minmax(0, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tools-grid > :last-child { grid-column: 1 / -1; }
  .grid[style*="auto-fit"] { gap: 10px; }
  .grid[style*="auto-fit"] > a.card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; padding: 16px 18px; border-radius: 18px; }
  .grid[style*="auto-fit"] > a.card .ico { grid-row: span 2; margin: 0; }
  .grid[style*="auto-fit"] > a.card h3 { margin: 2px 0 2px; font-size: 17px; }
  .grid[style*="auto-fit"] > a.card p { font-size: 14.5px; }
  ol.flow { grid-template-columns: minmax(0, 1fr); }
  .rules > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hero-search { flex-wrap: wrap; border-radius: 22px; padding: 8px; }
  .hero-search svg { display: none; }
  .hero-search input[type="search"] { min-height: 44px; padding: 0 10px; flex-basis: 100%; }
  .hero-search .btn { width: 100%; }
  .dir-search { grid-template-columns: minmax(0, 1fr); }
  .dir-row { grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 14px 16px; }
  .dir-row img { width: 44px; height: 44px; }
  .dir-row .status, .dir-row .id { grid-column: 2; justify-self: start; }
  .profile-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .profile-head img.seal { width: 88px; height: 88px; }
  details.pillar > summary { grid-template-columns: 40px minmax(0, 1fr); }
  details.pillar .pc { grid-column: 2; }
  ul.criteria { padding-left: 0; }
  ul.criteria li { grid-template-columns: 40px minmax(0, 1fr); }
  ul.criteria li .chip { grid-column: 2; justify-self: start; }
  .bar { grid-template-columns: minmax(0, 1fr) 46px; }
  .bar .track { grid-column: 1 / -1; grid-row: 2; }
  .console { padding: 16px; border-radius: 24px; }
  .site-foot .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-row { grid-template-columns: minmax(0, 1fr); }
  .stat-row > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .dark .stat-row > div + div { border-color: var(--graphite-3); }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .kv dd { margin-bottom: 10px; }
  .record .kv dt { border-bottom: 0; padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.dark .stat-row p { color: var(--on-dark); }
.site-foot .base a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); }
.dark ol.steps p, .dark ol.flow p, .dark .rules p, .calc-out .note, .calc-out p { color: var(--on-dark); }
@media (max-width: 760px) { .filters .seg { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; } .filters .seg button { flex: none; } }

/* v6.1 declutter (Oct 19): one-row footer, language link in header */
.site-foot { padding: 48px 0 32px; }
.site-foot .foot-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.site-foot .foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot .foot-links a { color: var(--on-dark); text-decoration: none; }
.site-foot .foot-links a:hover { color: #fff; }
.site-foot .base { margin-top: 32px; }
.nav a.lang { font-size: 13px; font-weight: 650; letter-spacing: .02em; color: var(--muted); padding: 9px 10px; }
.nav a.lang:hover { color: var(--ink); }
/* tools: compact one-line rows on phones */
@media (max-width: 760px) {
  .tools-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 10px; }
  .tools-grid > :last-child { grid-column: auto; }
  .tools-grid a.card { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; }
  .tools-grid a.card .ico { grid-row: span 2; margin: 0; }
  .tools-grid h3 { margin: 0; font-size: 16.5px; }
  .tools-grid p { margin: 0; }
}
/* compact step cards on phones */
@media (max-width: 760px) {
  ol.flow { gap: 8px; }
  ol.flow li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; }
  ol.flow li::before { grid-row: span 2; margin: 0; }
  ol.flow h3 { margin: 0; }
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
}

/* Founding-cohort call to action: a violet panel set on paper, so it never runs into the dark footer */
.cta-wrap { padding: 72px 0 88px; }
.cta-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; background: var(--violet); color: #fff; border-radius: var(--r-xl); padding: 56px 64px; box-shadow: var(--shadow-lg); }
.cta-panel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.08); pointer-events: none; }
.cta-panel h2 { color: #fff; margin: 0 0 12px; font-size: clamp(34px, 5vw, 56px); line-height: 1.02; }
.cta-panel p { color: rgba(255,255,255,.88); font-size: 18px; max-width: 34em; margin: 0; }
.cta-panel .cta-kicker { display: inline-block; background: var(--lime); color: #141416; font: 600 14px/1 var(--sans); padding: 9px 14px; border-radius: 999px; margin-bottom: 20px; }
.cta-panel .actions { margin-top: 28px; }
.cta-seal { position: relative; z-index: 1; width: 200px; height: 200px; padding: 18px; background: #fff; border-radius: 50%; box-shadow: 0 20px 40px -20px rgba(20,20,22,.5); transform: rotate(-8deg); }
.btn.lime { background: var(--lime); border-color: var(--lime); color: #141416; }
.btn.lime:hover { background: #B4E64F; border-color: #B4E64F; color: #141416; }
.btn.on-violet { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn.on-violet:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
@media (max-width: 720px) {
  .cta-wrap { padding: 48px 0 56px; }
  .cta-panel { grid-template-columns: 1fr; padding: 36px 24px 40px; gap: 0; text-align: left; }
  .cta-seal { display: none; }
  .cta-panel .cta-kicker { font-size: 13px; }
  .cta-panel .actions { flex-direction: column; align-items: stretch; }
  .cta-panel .actions .btn { width: 100%; }
}

/* Footer, decluttered: logo + five links, then copyright and three legal links */
.site-foot { padding: 40px 0 28px; }
.site-foot .foot-links { gap: 10px 26px; font-size: 15px; }
.site-foot .base { margin-top: 28px; padding-top: 20px; align-items: center; }
.site-foot .base .legal { display: flex; gap: 20px; }
.site-foot .base .legal a { text-decoration: none; color: #8E8D95; }
.site-foot .base .legal a:hover { color: #fff; }
.band.dark + .site-foot, main > .band.dark:last-child { border-bottom: 1px solid var(--graphite-3); }


/* ---------- v7: light "official document" cards on the dark page ----------
   Verification records stay light so screenshots read as a certificate. Everything inside re-declares the light tokens. */
.docucard, .console .c-card {
  color-scheme: light;
  --paper: #FAF8F4; --surface: #FFFFFF; --sunk: #F3F0EA;
  --ink: #141416; --ink-2: #3B3B42; --muted: #6B6A72; --faint: #9A98A0;
  --rule: #E7E4DE; --rule-2: #D6D2CA;
  --violet-ink: #5126E8; --violet-soft: #EFEAFF; --violet-hover: #5126E8;
  --lime-soft: #F1FBD9; --lime-ink: #3B5B0A; --amber-ink: #8A5300; --amber-soft: #FFF2D6; --red-ink: #B42318; --red-soft: #FDECEA; --info-ink: #1D4ED8; --info-soft: #E8EFFE;
  --on-ink: #FFFFFF; --btn-hover: #3B3B42;
  --shadow-sm: 0 1px 2px rgba(20, 20, 22, .05);
  background: var(--surface); color: var(--ink-2);
}
.docucard .status.active::before, .console .c-card .status.active::before { background: #6BAF1F; box-shadow: 0 0 0 3px rgba(107, 175, 31, .18); }
.docucard { border: 1px solid #E7E4DE; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .04); position: relative; }
.docucard::before { content: ""; position: absolute; inset: 10px; border: 1px solid #E7E4DE; border-radius: calc(var(--r-xl) - 8px); pointer-events: none; }
.docucard > * { position: relative; }
.docucard .banner.demo { border-color: #D6D2CA; }
.docucard .btn.ghost:hover { background: var(--sunk); }
.docucard .card.flat { background: var(--paper); border-color: var(--rule); }
.docucard .record { margin-top: 28px; }

/* /verify directory rows are records too: same light document treatment */
.dir-row { color-scheme: light; --paper: #FAF8F4; --surface: #FFFFFF; --sunk: #F3F0EA; --ink: #141416; --ink-2: #3B3B42; --muted: #6B6A72; --rule: #E7E4DE; --rule-2: #D6D2CA; --lime-soft: #F1FBD9; --lime-ink: #3B5B0A; --amber-ink: #8A5300; --amber-soft: #FFF2D6; --red-ink: #B42318; --red-soft: #FDECEA; background: #fff; border-color: #E7E4DE; }
.dir-row:hover { border-color: var(--violet); }
.dir-row .status.active::before { background: #6BAF1F; box-shadow: 0 0 0 3px rgba(107, 175, 31, .18); }
.dir-empty { background: var(--surface); }
::placeholder { color: #8E8C98; opacity: 1; }
.docucard ::placeholder, .dir-row ::placeholder { color: #6B6A72; }

/* ---------- v7: Disclosure Checked (a checklist mark, deliberately not a seal) ---------- */
.dc-kicker { font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--violet-ink); margin: 0 0 10px; }
.dc-card .profile-head { grid-template-columns: auto minmax(0, 1fr); }
.dc-wording { margin: 22px 0 0; font-size: 18px; line-height: 1.45; color: var(--ink); font-weight: 550; max-width: 46em; }
.dc-scope { margin: 24px 0 0; padding: 18px 20px; border: 1px dashed var(--rule-2); border-radius: var(--r); background: var(--paper); }
.dc-scope h2 { margin: 0 0 6px; }
.dc-scope p { margin: 0 0 .6em; }
.dc-scope p:last-child { margin: 0; }
.dc-tests { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.dc-tests li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 14px; }
.dc-tests b { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.dc-ok, .dc-off { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.dc-ok { background: var(--violet-soft); color: var(--violet-ink); }
.dc-off { background: var(--sunk); color: var(--muted); }
.dc-next { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.dc-card.is-lapsed .dc-kicker { color: var(--muted); }
.tier-note { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 24px 28px; border: 1px solid var(--rule-2); border-radius: var(--r-lg); background: var(--surface); }
.tier-note img { width: 72px; height: 72px; }
.tier-note h3 { margin: 0 0 4px; font-size: 20px; }
.tier-note p { margin: 0; color: var(--ink-2); }
.tier-steps { counter-reset: t; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tier-steps li { counter-increment: t; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 14px; align-items: start; }
.tier-steps li::before { content: counter(t); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--violet-soft); color: var(--violet-ink); font: 700 14px/1 var(--display); }
.claim-box { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.claim-box pre.code { margin-top: 8px; }
.claim-state { margin-top: 16px; padding: 14px 16px; border-radius: var(--r); background: var(--sunk); color: var(--ink); }
.claim-state.ok { background: var(--lime-soft); }
.claim-state.bad { background: var(--red-soft); }
@media (max-width: 760px) { .dc-next, .tier-note { grid-template-columns: minmax(0, 1fr); } .tier-note img { width: 56px; height: 56px; } .dc-tests li { grid-template-columns: 28px minmax(0, 1fr); } .dc-tests b { grid-column: 2; } }

.page-head:has(+ .band > .wrap > .docucard) { padding-bottom: 0; }
.page-head:has(+ .band > .wrap > .docucard) + .band { padding-top: 24px; }
