/* Autopliance — design tokens.
 *
 * Inherited from the existing token system per the identity brief; the
 * three Autopliance-only levers are the indigo secondary, calmer layout
 * density, and the wordmark set in Inter rather than the parent's display
 * face.
 *
 * ── THE ONE CONSTRAINT THAT IS NOT TASTE ──────────────────────────────
 * --accent STAYS CYAN. Green (#10B981) and amber (#F59E0B) are VERDICT
 * colours in the product: green means the chain walked intact, amber
 * means verification is incomplete. A brand accent that collides with a
 * verdict colour makes every report ambiguous at a glance — the reader
 * cannot tell decoration from finding. Moving the accent to green is the
 * single change a designer is most likely to want and it must not happen.
 * ──────────────────────────────────────────────────────────────────────
 */

:root {
  --bg: #0A1628;
  --bg-alt: #0F1E36;
  --panel: #142340;
  --panel-2: #1A2B4D;
  --accent: #22D3EE;
  --accent-2: #0891B2;
  --indigo: #818CF8;      /* non-CTA accents only. Never a button. */
  --btn: #E5EE9C;
  --btn-h: #D8E287;
  --text: #FFFFFF;
  --text-2: #CBD5E1;
  --muted: #94A3B8;
  --faint: #475569;
  --line: #1E293B;
  --line-2: #2B3A55;
  --good: #10B981;        /* VERDICT: chain intact */
  --warn: #F59E0B;        /* VERDICT: incomplete / unverified */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
}

/* Light is a paper-like reading mode and the correct choice for print,
 * where a dark ground is an ink problem. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FAF8F4; --bg-alt: #F6F3EC; --panel: #FFFFFF; --panel-2: #F6F3EC;
    --accent: #0E7490; --accent-2: #155E75; --indigo: #4F46E5;
    --btn: #D8E287; --btn-h: #C6D269;
    --text: #1B2434; --text-2: #334155; --muted: #64748B; --faint: #94A3B8;
    --line: #EEE9DF; --line-2: #E2DCCE;
    --good: #047857; --warn: #B45309;
  }
}

/* Self-hosted. No Google Fonts request — originally a GDPR decision, kept
 * because "your visit does not phone anyone" has to be structurally true
 * to be worth saying. */
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url('/fonts/jetbrains-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url('/fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text-2);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
.mono, code, pre { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 780px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--panel); color: var(--text);
  padding: 12px 18px; border: 1px solid var(--accent); border-radius: 6px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ── header ─────────────────────────────────────────────────────────── */
header.site {
  border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
}
header.site .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
/* The wordmark. Inter at heavy weight with tight tracking — a compliance
 * buyer reads "instrument" here and "toy" in an arcade-derived face. */
.wordmark {
  font-size: 22px; font-weight: 800; letter-spacing: -0.035em; color: var(--text);
  line-height: 1; white-space: nowrap;
}
.wordmark .dot { color: var(--accent); }
.wordmark:hover { text-decoration: none; }
nav.main { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
nav.main a { color: var(--text-2); font-size: 15px; font-weight: 500; }
nav.main a[aria-current="page"] { color: var(--text); }
nav.main a:hover { color: var(--accent); text-decoration: none; }
header.site .cta { margin-left: 6px; }
@media (max-width: 860px) {
  header.site .wrap { height: auto; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; gap: 14px; }
  nav.main { margin-left: 0; width: 100%; gap: 16px; }
  nav.main a { font-size: 14px; }
}

/* ── buttons ────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 6px; font-weight: 650;
  font-size: 15px; letter-spacing: -0.01em; transition: all 0.25s var(--ease);
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--btn); color: #14200A; }
.btn-primary:hover { background: var(--btn-h); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 30px; }

/* ── type scale ─────────────────────────────────────────────────────── */
.eyebrow {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700;
  color: var(--accent); margin-bottom: 18px;
}
h1 {
  font-size: clamp(40px, 5vw, 72px); font-weight: 800; letter-spacing: -0.028em;
  line-height: 1.02; color: var(--text);
}
h2 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.024em;
  line-height: 1.12; color: var(--text); margin-bottom: 18px;
}
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.012em; color: var(--text); margin-bottom: 10px; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--text-2); max-width: 46em; }
p + p { margin-top: 16px; }
.section-note { font-size: 15px; color: var(--muted); }

/* Calmer, more spacious than the parent brand — the reader is a
 * compliance professional under time pressure, not a protocol engineer
 * browsing for pleasure. */
section.band { padding: clamp(64px, 8vw, 108px) 0; border-bottom: 1px solid var(--line); }
section.band.tight { padding: clamp(48px, 5vw, 72px) 0; }
.hero { padding: clamp(72px, 10vw, 132px) 0 clamp(56px, 7vw, 92px); }

/* ── verdict badge ──────────────────────────────────────────────────────
 * Three states. The honest ones must read as RIGOROUS, not apologetic —
 * same weight, same confidence, different information. If the incomplete
 * badge looks like a failure, people hide it, and the whole honesty
 * discipline collapses (including the standing tests in the codebase that
 * enforce it). Hence: identical geometry and type across all three; only
 * the hue and the word change. */
.verdict {
  display: inline-flex; align-items: center; gap: 9px; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 5px; border: 1px solid currentColor; white-space: nowrap;
}
.verdict::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none;
}
.verdict.ok { color: var(--good); background: color-mix(in srgb, var(--good) 10%, transparent); }
.verdict.partial { color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); }

/* ── cards & grids ──────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .g2, .g3 { grid-template-columns: 1fr; } }
.card {
  background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px;
  padding: 26px 28px;
}
.card .num {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
  color: var(--indigo); letter-spacing: 0.1em; margin-bottom: 12px; display: block;
}
.card p { font-size: 16px; }

/* Pull quote — indigo rule, the Autopliance-only accent. Never a button. */
.pull {
  border-left: 3px solid var(--indigo); padding: 6px 0 6px 24px; margin: 34px 0;
  font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.3; color: var(--text);
}

/* Honest limits: body copy, body size, never a grey 9pt footnote. A
 * challenger that publishes its own weaknesses is doing what its product
 * does, and shrinking the type would undo exactly that. */
.limits { background: var(--bg-alt); border: 1px solid var(--line-2); border-radius: 8px; padding: 32px 34px; }
.limits h2 { font-size: clamp(22px, 2.4vw, 30px); }
.limits p { font-size: 17px; color: var(--text-2); }

.steps { counter-reset: step; display: grid; gap: 18px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 20px; align-items: start; }
.step .k {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 700; color: var(--accent);
  border: 1px solid var(--line-2); border-radius: 6px; height: 44px; display: grid; place-items: center;
}

/* ── framework grid ─────────────────────────────────────────────────── */
.regimes { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.regime {
  border: 1px solid var(--line-2); border-radius: 6px; padding: 13px 15px; background: var(--panel);
  font-size: 15px; color: var(--text-2);
}
.regime.sov { border-color: var(--indigo); }
.regime .tag {
  display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--muted); margin-top: 3px;
}
.regime.sov .tag { color: var(--indigo); }

/* ── pricing ────────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line-2); border-radius: 8px; padding: 28px; }
.plan.feature { border-color: var(--accent); }
.plan .name { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
.plan .price { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); margin: 12px 0 4px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .who { font-size: 15px; color: var(--muted); min-height: 3em; }
.plan ul { list-style: none; margin: 20px 0; }
.plan li { position: relative; padding-left: 22px; margin-bottom: 9px; font-size: 15px; }
.plan li::before { content: "·"; position: absolute; left: 6px; color: var(--accent); font-weight: 700; }
.plan .btn { width: 100%; text-align: center; }

details.qa { border-bottom: 1px solid var(--line); }
details.qa summary {
  padding: 20px 0; cursor: pointer; font-size: 18px; font-weight: 650; color: var(--text);
  list-style: none; display: flex; gap: 14px; align-items: baseline;
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::before { content: "+"; color: var(--accent); font-weight: 700; flex: none; }
details.qa[open] summary::before { content: "–"; }
details.qa .a { padding: 0 0 22px 28px; max-width: 62em; }

/* ── footer ─────────────────────────────────────────────────────────── */
footer.site { padding: 56px 0 72px; font-size: 15px; color: var(--muted); }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 940px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  font-weight: 700; margin-bottom: 14px;
}
footer.site nav a { display: block; color: var(--text-2); font-size: 15px; margin-bottom: 9px; }
footer.site .legal { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
/* EdSSA appears here and on /technology and nowhere else. Body-caption
 * size, muted — a technology credit, never a second logo. */
footer.site .credit { color: var(--faint); font-size: 13px; }
