/* groundnetic.com: one stylesheet for every page. Self-hosted fonts (no
   third-party requests), no tracking. Colors meet WCAG 2.1 AA on their
   grounds. */
@font-face { font-family: "Space Grotesk"; src: url("fonts/space-grotesk.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/plex-sans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ink: #101828; --text: #3d4659; --muted: #5b6478; --line: #e4e7ee; --soft: #f5f7fb; --card: #ffffff;
  --accent: #2b44ae; --accent-ink: #1c2f80; --accent-soft: #e9edfb;
  --ok: #1d6b45; --warn-bg: #fff1d6; --warn: #7a4a00; --bad: #9a3412;
  --night: #101828; --night-text: #b9c2d3;
  --display: "Space Grotesk", system-ui, sans-serif; --body: "IBM Plex Sans", system-ui, sans-serif; --mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 12px; --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.6 var(--body); }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
code, pre, kbd { font-family: var(--mono); font-size: .92em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header and navigation */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font: 700 21px/1 var(--display); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.tm { font-size: .55em; vertical-align: super; margin-left: .05em; font-weight: 400; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; font: inherit; color: var(--ink); min-height: 44px; }
.nav { display: flex; align-items: center; gap: 4px 22px; flex: 1; flex-wrap: wrap; }
.nav-links { display: flex; gap: 4px 22px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; flex: 1; }
.nav-links a, .nav-aside a.plain { color: #344054; text-decoration: none; font-size: 15px; padding: 10px 0; display: inline-block; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); }
.nav-links a[aria-current="page"] { font-weight: 600; }
.nav-aside { display: flex; gap: 14px; align-items: center; }
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 18px; }
  .nav.open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); display: block; }
  .nav-aside { padding-top: 12px; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 8px; border: 1px solid transparent; line-height: 1.2; min-height: 44px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; }
.btn-secondary { color: var(--ink); border-color: #c9cfdb; background: #fff; }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); color: var(--ink); }
.btn-small { font-size: 15px; padding: 10px 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* Type */
h1, h2, h3 { font-family: var(--display); letter-spacing: -.015em; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 60px); letter-spacing: -.025em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; font-family: var(--body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.eyebrow { font: 500 14px/1.4 var(--mono); letter-spacing: .04em; color: var(--accent); text-transform: uppercase; margin: 0 0 14px; }
.lead { font-size: 20px; color: var(--text); max-width: 680px; margin: 22px 0 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
p { margin: 0 0 1em; }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--night); color: #e9edf5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: var(--night-text); }
.section-dark a { color: #b9c7ff; }
.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head p { color: var(--text); margin-top: 16px; }
.hero { padding: 88px 0 72px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.hero-art { flex: 1 1 420px; min-width: 0; }
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 760px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* Grids and cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--text); margin: 0; }
.card p + p { margin-top: .75em; }
.card .eyebrow { margin-bottom: 8px; }
a.card { text-decoration: none; color: inherit; display: block; transition: border-color .15s; }
a.card:hover { border-color: var(--accent); color: inherit; }
a.card .more { color: var(--accent); font-weight: 600; margin-top: 12px; display: inline-block; }
.section-dark .card { background: #172034; border-color: #26324a; }
.section-dark .card p { color: var(--night-text); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.steps li { border-top: 3px solid var(--accent); padding-top: 16px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 14px var(--mono); color: var(--accent); display: block; margin-bottom: 6px; }
.steps li strong { display: block; font-size: 18px; margin-bottom: 4px; }
.steps li span { color: var(--text); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.checks li strong { color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.tags li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; background: #fff; }
.badge { display: inline-block; font: 500 12px/1.4 var(--mono); padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-ok { background: #e1f3e8; color: var(--ok); }
.badge-planned { background: #eef0f4; color: #475066; }
.badge-bad { background: #fde7e1; color: #8a2b0d; }

/* Product clips: short silent recordings of the real console. They play
   and loop only without a reduced-motion preference (the sources carry
   the media query, so nothing downloads otherwise); the native controls
   pause them (WCAG 2.2.2). With reduced motion: the still and a link. */
.clip { margin: 40px auto 0; max-width: 1100px; }
.clip video, .clip-still { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border: 1px solid #dfe3ec; border-radius: 12px;
  background: var(--soft); box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .35); }
.clip-small { margin: 0; max-width: 620px; }
.clip-small video, .clip-small .clip-still { aspect-ratio: 852 / 720; }
.clip-small figcaption { font-size: 14px; }
.page-hero-clip .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.page-hero-clip .hero-copy { flex: 1 1 440px; min-width: 0; }
.page-hero-clip .hero-art { flex: 1.15 1 480px; min-width: 0; max-width: 620px; }
.clip-still, .clip-play { display: none; }
.clip figcaption { margin-top: 12px; font-size: 15px; color: var(--text); max-width: 760px; }
.clip-note { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .clip video { display: none; } .clip-still { display: block; } .clip-play { display: inline; } }

/* The walkthrough film (/why/): narrated, so it never plays by itself;
   captions offered (CC), and the transcript below it. */
.section-film { padding-top: 56px; }
/* Home page: the film sits right under the hero. */
.hero:has(+ .section-film-home) { padding-bottom: 32px; }
.section-film-home { padding-top: 24px; }
.section-film-home .section-head { margin-bottom: 20px; }
.film { margin: 8px auto 0; max-width: 1100px; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; background: var(--night);
  box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .45); }
.film figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); }
.film .transcript { margin-top: 12px; font-size: 16px; }
.film .transcript summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.film .transcript p { margin: 8px 0; max-width: 760px; }
.film-wide video { aspect-ratio: 16 / 9; }

/* Product figures */
.figure-card { margin: 0; background: var(--soft); border: 1px solid #dfe3ec; border-radius: 14px; padding: 24px; font-size: 15px; }
.figure-card .row { display: flex; justify-content: space-between; gap: 12px; background: #fff; border: 1px solid #dfe3ec; border-radius: 8px; padding: 12px 14px; flex-wrap: wrap; }
.figure-card .rows { display: grid; gap: 10px; }
.code { margin: 0; background: var(--night); color: #e9edf5; border-radius: 12px; padding: 22px 24px; overflow-x: auto; font: 14px/1.7 var(--mono); white-space: pre; }
.code .c { color: #93a1bb; } .code .g { color: #7ce3b4; } .code .y { color: #ffc46b; } .code .r { color: #ff9b8a; }
.figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Long-form text: legal, help, regulation */
.prose { max-width: 74ch; }
.prose h2 { font-size: 28px; margin: 48px 0 14px; }
.prose h3 { margin: 28px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1.5em; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); background: var(--soft); }
.doc { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.doc .prose { flex: 999 1 560px; min-width: 0; }
.toc { flex: 1 1 220px; position: sticky; top: 92px; font-size: 15px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--accent); }
@media (max-width: 960px) { .toc { position: static; } }
.draft { background: var(--warn-bg); color: var(--warn); border: 1px solid #f0d49a; border-radius: 10px; padding: 14px 18px; margin: 0 0 28px; font-size: 15px; }
.draft strong { color: #5c3700; }
.note { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; margin: 0 0 1.2em; }
.meta { font-size: 14px; color: var(--muted); margin-top: 14px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px/1 var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--text); }

/* Forms (contact, partners, privacy settings) */
.form { display: grid; gap: 18px; max-width: 640px; }
.form label { display: block; font-weight: 500; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; color: inherit; border: 1px solid #c9cfdb; border-radius: 8px; padding: 11px 12px; background: #fff; min-height: 44px; }
.form .hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.switch { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.switch input { width: 22px; height: 22px; margin-top: 3px; flex: none; accent-color: var(--accent); }

/* Call to action band and footer */
.cta-band { background: var(--accent); color: #fff; }
.cta-band .wrap { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta-band h2 { color: #fff; max-width: 720px; }
.cta-band p { color: #dfe5ff; margin: 10px 0 0; }
.site-footer { border-top: 1px solid var(--line); background: #fff; font-size: 15px; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding: 56px 0 32px; }
.site-footer h2 { font: 600 14px/1.4 var(--body); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .legal { border-top: 1px solid var(--line); padding: 24px 0 40px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; color: var(--muted); font-size: 14px; }
@media print { .site-header, .site-footer, .cta-band, .toc { display: none; } body { font-size: 12pt; } }
/* Accessibility fixes: links inside text are underlined; muted copy on
   dark sections keeps its contrast; scrollable boxes are reachable by
   keyboard (tabindex="0" in the markup). */
.site-footer .legal a { text-decoration: underline; color: var(--text); }
.section-dark .section-head p { color: var(--night-text); }
.code:focus-visible, .prose table:focus-visible { outline: 3px solid #9db0ff; outline-offset: 2px; }

/* Icons: stroke icons as masks, colored by currentColor (CSP allows data: images). */
:root { --arrow: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h15M13%206l6%206-6%206%22/%3E%3C/svg%3E"); }
.icon { display: inline-flex; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); align-items: center; justify-content: center; margin-bottom: 14px; flex: none; }
.icon::before { content: ""; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.section-dark .icon { background: #1f2b45; color: #a9b8ff; }
.i-evidence { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%204h10l4%204v12H5z%22/%3E%3Cpath%20d%3D%22M15%204v4h4%22/%3E%3Cpath%20d%3D%22M8%2013h8M8%2017h5%22/%3E%3C/svg%3E"); }
.i-belief { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228%22/%3E%3Cpath%20d%3D%22M8.5%2012.5l2.5%202.5%204.5-5%22/%3E%3C/svg%3E"); }
.i-why { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2211%22%20cy%3D%2211%22%20r%3D%226.5%22/%3E%3Cpath%20d%3D%22M16%2016l4.5%204.5%22/%3E%3Cpath%20d%3D%22M11%208v3.5l2%201.5%22/%3E%3C/svg%3E"); }
.i-outcome { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2018l5-6%204%203%207-9%22/%3E%3Cpath%20d%3D%22M15%206h5v5%22/%3E%3C/svg%3E"); }
.i-shield { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203l7.5%203v6c0%204.6-3.2%207.8-7.5%209.5C7.7%2019.8%204.5%2016.6%204.5%2012V6z%22/%3E%3Cpath%20d%3D%22M9%2012l2.2%202.2L15.5%2010%22/%3E%3C/svg%3E"); }
.i-people { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%228.5%22%20r%3D%223%22/%3E%3Ccircle%20cx%3D%2216.5%22%20cy%3D%229.5%22%20r%3D%222.5%22/%3E%3Cpath%20d%3D%22M3.5%2019c.6-3.3%202.7-5%205.5-5s4.9%201.7%205.5%205%22/%3E%3Cpath%20d%3D%22M15%2014.2c2.6-.3%204.8%201.2%205.5%204.3%22/%3E%3C/svg%3E"); }
.i-stop { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8.5%203h7L21%208.5v7L15.5%2021h-7L3%2015.5v-7z%22/%3E%3Cpath%20d%3D%22M9%2012h6%22/%3E%3C/svg%3E"); }
.i-record { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%225%22%20width%3D%2216%22%20height%3D%2215%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M4%209.5h16M8%203v4M16%203v4M8%2013.5h3M8%2016.5h6%22/%3E%3C/svg%3E"); }
.i-key { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2212%22%20r%3D%224%22/%3E%3Cpath%20d%3D%22M12%2012h9M18%2012v3M21%2012v2%22/%3E%3C/svg%3E"); }
.i-globe { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22/%3E%3Cpath%20d%3D%22M3.5%2012h17M12%203.5c2.5%202.4%203.6%205.3%203.6%208.5s-1.1%206.1-3.6%208.5c-2.5-2.4-3.6-5.3-3.6-8.5S9.5%205.9%2012%203.5z%22/%3E%3C/svg%3E"); }
.i-lock { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210.5%22%20width%3D%2214%22%20height%3D%2210%22%20rx%3D%222%22/%3E%3Cpath%20d%3D%22M8%2010.5V8a4%204%200%200%201%208%200v2.5%22/%3E%3C/svg%3E"); }
.i-code { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8.5%207L3.5%2012l5%205M15.5%207l5%205-5%205M13.5%205l-3%2014%22/%3E%3C/svg%3E"); }
.i-plug { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203v5M15%203v5M6.5%208h11v3.5a5.5%205.5%200%200%201-11%200z%22/%3E%3Cpath%20d%3D%22M12%2017v4%22/%3E%3C/svg%3E"); }
.i-alert { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203.5l9%2016H3z%22/%3E%3Cpath%20d%3D%22M12%2010v4.5M12%2017.2v.3%22/%3E%3C/svg%3E"); }
.i-clock { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%228.5%22/%3E%3Cpath%20d%3D%22M12%207.5V12l3%202%22/%3E%3C/svg%3E"); }
.i-layers { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%204l8.5%204.5L12%2013%203.5%208.5z%22/%3E%3Cpath%20d%3D%22M3.5%2012.5L12%2017l8.5-4.5M3.5%2016L12%2020.5l8.5-4.5%22/%3E%3C/svg%3E"); }
.i-robot { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%228%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222.5%22/%3E%3Cpath%20d%3D%22M12%204v4M9%2013h.01M15%2013h.01M9.5%2016.5h5%22/%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%223.5%22%20r%3D%221%22/%3E%3C/svg%3E"); }
.i-chart { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2020h16%22/%3E%3Cpath%20d%3D%22M7%2016v-4M11%2016V7M15%2016v-6M19%2016V5%22/%3E%3C/svg%3E"); }
.i-handshake { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011l4-4%204%202%203-2%204%201%203%203%22/%3E%3Cpath%20d%3D%22M7%207v6l4%204%202-1%203%202%204-4%22/%3E%3Cpath%20d%3D%22M11%2017l-2%202%22/%3E%3C/svg%3E"); }
.i-doc { --i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h8l4%204v14H6z%22/%3E%3Cpath%20d%3D%22M9%2011h6M9%2014.5h6M9%2018h4%22/%3E%3C/svg%3E"); }

/* Polish: depth, rhythm and the signature flow diagram. */
.hero, .page-hero { position: relative; background-image: radial-gradient(#d6dbe7 1px, transparent 1.2px); background-size: 22px 22px; background-position: -11px -11px; }
.hero::after, .page-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; }
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 1; }
.page-hero { padding: 80px 0 64px; border-bottom: 0; }
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 2px; background: currentColor; vertical-align: middle; margin: -3px 10px 0 0; }
.section-dark .eyebrow { color: #a9b8ff; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 232px), 1fr)); }
.card { box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
a.card { transition: border-color .15s, transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(16, 24, 40, .25); }
@media (prefers-reduced-motion: reduce) { a.card, a.card:hover { transition: none; transform: none; } html { scroll-behavior: auto; } }
.num { font: 600 15px/1 var(--mono); color: var(--accent); display: block; margin-bottom: 14px; }
.section-dark .num { color: #a9b8ff; }
.problem { border-top: 1px solid #2a3550; padding-top: 22px; }
.stack { position: relative; padding-bottom: 88px; }
.figure-card { box-shadow: 0 30px 60px -30px rgba(16, 24, 40, .35); background: #fff; }
.permit-card { position: absolute; left: -28px; bottom: 0; width: min(380px, 92%); background: var(--night); color: #e9edf5; border-radius: 12px; padding: 16px 18px; font: 13px/1.6 var(--mono); box-shadow: 0 24px 50px -20px rgba(16, 24, 40, .6); }
.permit-card .k { color: #93a1bb; }
.permit-card .allow { display: inline-block; background: #1e7a4f; color: #fff; border-radius: 999px; padding: 1px 9px; font-weight: 500; margin-right: 6px; }
@media (max-width: 700px) { .permit-card { position: relative; left: 0; margin-top: -40px; margin-left: 12px; } .stack { padding-bottom: 0; } }

.flow { display: flex; align-items: stretch; gap: 0; margin: 8px 0 0; padding: 0; list-style: none; }
.flow > li { flex: 1 1 0; min-width: 0; display: flex; align-items: stretch; }
.flow-node { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 18px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.flow-node h3 { font-size: 17px; margin: 0 0 6px; }
.flow-node p { font-size: 15px; color: var(--text); margin: 0; }
.flow-node .icon { width: 38px; height: 38px; margin-bottom: 12px; }
.flow-node .icon::before { width: 20px; height: 20px; }
.flow-node.core { border-color: var(--accent); background: var(--accent-soft); }
.flow-arrow { flex: 0 0 34px; display: flex; align-items: center; justify-content: center; color: #9aa4b8; }
.flow-arrow::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; }
.flow-loop { margin: 18px 0 0; font: 14px/1.5 var(--mono); color: var(--muted); display: flex; align-items: center; gap: 10px; }
.flow-loop::before { content: ""; flex: 1; max-width: 64px; border-top: 2px dashed #c3cad8; }
.mini { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mini li { font: 12px/1.4 var(--mono); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; color: var(--text); }
@media (max-width: 960px) {
  .flow { flex-direction: column; }
  .flow > li { flex-direction: column; }
  .flow-arrow { flex-basis: 30px; transform: rotate(90deg); }
}
.statband { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.statband > div { background: #fff; padding: 22px 24px; }
.statband strong { display: block; font: 600 20px/1.3 var(--display); color: var(--ink); margin-bottom: 4px; }
.statband span { color: var(--text); font-size: 15px; }


/* Trust and control layer: the tagline, the three questions, the layer
   diagram, an illustrative timeline, the autonomy stepper, commitments,
   limits and proof tables. */
.tagline { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; font: 600 clamp(20px, 2.4vw, 26px)/1.35 var(--display); color: var(--ink); letter-spacing: -.01em; }
.tagline li::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); margin-right: 14px; vertical-align: middle; }
.section-dark .tagline { color: #fff; }
.section-dark .tagline li::before { background: #a9b8ff; }

.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: q; }
.questions li { counter-increment: q; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; box-shadow: 0 1px 2px rgba(16,24,40,.04); position: relative; overflow: hidden; }
.questions li::before { content: counter(q, decimal-leading-zero); position: absolute; right: 18px; top: 10px; font: 700 54px/1 var(--display); color: var(--accent-soft); }
.questions .q { display: block; font: 700 26px/1.2 var(--display); color: var(--accent-ink); margin: 0 0 10px; position: relative; }
.questions p { color: var(--text); margin: 0; position: relative; }
.questions .today { display: block; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #d5dae4; font-size: 15px; color: var(--muted); }

.layer { display: grid; gap: 0; max-width: 1040px; margin: 0 auto; }
.layer-row { border: 1px dashed #c3cad8; border-radius: 14px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; background: #fff; }
.layer-row .label { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); min-width: 120px; }
.layer-row .mini { margin: 0; }
.layer-link { height: 34px; display: flex; justify-content: center; gap: 120px; }
.layer-link span { width: 2px; background: repeating-linear-gradient(to bottom, #9aa4b8 0 5px, transparent 5px 9px); }
.layer-core { background: var(--accent); color: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 30px 60px -32px rgba(28,47,128,.7); }
.layer-core .label { font: 500 13px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: #dfe5ff; margin: 0 0 14px; display: block; }
.layer-core ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.layer-core li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 16px; }
.layer-core li strong { display: block; font: 600 17px/1.3 var(--display); color: #fff; margin-bottom: 4px; }
.layer-core li span { font-size: 15px; color: #e6eaff; }
.layer-core li em { display: block; font: 500 13px/1.4 var(--mono); font-style: normal; color: #fff; margin-bottom: 6px; }

.timeline { list-style: none; margin: 0; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 88px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 72px 1fr; gap: 0 36px; padding: 0 0 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 82px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.timeline li.tl-ok::before { border-color: var(--ok); background: #e1f3e8; }
.timeline li.tl-deny::before { border-color: var(--bad); background: #fde7e1; }
.timeline .t { font: 500 14px/1.6 var(--mono); color: var(--muted); text-align: right; }
.timeline h3 { font-size: 17px; margin: 0 0 4px; }
.timeline p { color: var(--text); margin: 0; font-size: 16px; }
.timeline .badge { margin-left: 8px; vertical-align: 2px; }
@media (max-width: 600px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; padding-left: 32px; }
  .timeline li::before { left: 1px; }
  .timeline .t { text-align: left; }
}

.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: stage; }
.stepper li { counter-increment: stage; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; position: relative; }
.stepper li::before { content: counter(stage); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font: 700 16px/1 var(--display); margin-bottom: 14px; }
.stepper li:last-child::before { background: var(--accent); color: #fff; }
.stepper .level { display: flex; gap: 3px; margin-bottom: 12px; }
.stepper .level i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.stepper .level i.on { background: var(--accent); }
.stepper strong { display: block; font: 600 17px/1.3 var(--display); margin-bottom: 6px; }
.stepper span { display: block; font-size: 15px; color: var(--text); }
.stepper .who { margin-top: 10px; font: 500 12px/1.5 var(--mono); color: var(--muted); }
@media (max-width: 1000px) { .stepper { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); } }

.commitments { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: c; }
.commitment { counter-increment: c; display: grid; grid-template-columns: 64px 1fr; gap: 0 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.commitment::before { content: counter(c); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent); color: #fff; font: 700 24px/1 var(--display); }
.commitment h3 { font: 700 22px/1.25 var(--display); letter-spacing: -.01em; margin: 4px 0 6px; }
.commitment > div > p { color: var(--text); margin: 0 0 14px; }
.commitment dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 15px; border-top: 1px solid var(--line); padding-top: 14px; }
.commitment dt { font: 500 13px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.commitment dd { margin: 0; color: var(--text); }
@media (max-width: 640px) {
  .commitment { grid-template-columns: 1fr; }
  .commitment::before { margin-bottom: 12px; }
  .commitment dl { grid-template-columns: 1fr; gap: 2px; }
  .commitment dd { margin-bottom: 8px; }
}

.crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.crosses li { padding-left: 34px; position: relative; color: var(--text); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 16px; height: 2.5px; background: var(--bad); transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.crosses li strong { color: var(--ink); }
.section-dark .crosses li { color: var(--night-text); }
.section-dark .crosses li strong { color: #fff; }
.section-dark .crosses li::before, .section-dark .crosses li::after { background: #ff9b8a; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.table { border-collapse: collapse; width: 100%; font-size: 15px; min-width: 640px; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { font-weight: 600; color: var(--ink); background: var(--soft); }
.table td { color: var(--text); }
.table td.n { font: 600 15px/1.5 var(--mono); color: var(--ink); white-space: nowrap; }
.table-wrap:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.steps-5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }

/* Launch banner: shown under the header by a coming-soon build only
   (deploy/stage0/build-site.py --coming-soon); the same on knownvault.com
   and authvertex.com. */
.launch-banner { background: var(--night); color: #fff; font-size: 15px; }
.launch-banner .wrap { padding-top: 10px; padding-bottom: 10px; text-align: center; }
.launch-banner p { margin: 0; }
.launch-banner a { color: #fff; font-weight: 600; }
.launch-banner a:hover { color: var(--accent-soft); }
