/* =========================================================
   ORIS · OTCP — v2
   Cool silver light theme · cyan-tinted glass · heavy Geist
   ========================================================= */

:root {
  /* --- Palette ------------------------------------------ */
  --bg:        #EEF1F4;          /* cool silver-white */
  --bg-lift:  #F6F8FA;            /* lifted surface */
  --bg-deep:  #E3E7EC;            /* recessed */
  --ink:      #0B0C10;            /* obsidian for type */
  --ink-2:    #2D3340;
  --ink-3:    #5A6070;
  --ink-4:    #8A8F9C;
  --line:     rgba(11,12,16,0.08);
  --line-2:   rgba(11,12,16,0.14);
  --line-3:   rgba(11,12,16,0.22);

  /* Cyan — the trust signal */
  --cyan:        #00B8D4;          /* readable on white */
  --cyan-bright: #00E5FF;          /* glow, dots, accents */
  --cyan-deep:   #006C7F;          /* deep accent on light */
  --cyan-08:    rgba(0,229,255,0.08);
  --cyan-12:    rgba(0,229,255,0.12);
  --cyan-22:    rgba(0,184,212,0.22);

  /* State (functional only — not brand) */
  --hot:      #FF3B2F;            /* deny / revocation */
  --hot-soft: rgba(255,59,47,0.10);
  --warn:     #FFB400;

  /* --- Glass ------------------------------------------- */
  --g-bg:        rgba(255,255,255,0.55);
  --g-bg-cy:     linear-gradient(140deg, rgba(255,255,255,0.7), rgba(0,229,255,0.05) 40%, rgba(255,255,255,0.55));
  --g-bg-dark:   rgba(11,12,16,0.85);
  --g-border:    rgba(255,255,255,0.95);
  --g-shadow:    0 36px 80px -28px rgba(11,12,16,0.20),
                 0 4px 10px -4px rgba(11,12,16,0.06),
                 inset 0 1px 0 rgba(255,255,255,1);
  --g-shadow-cy: 0 36px 80px -28px rgba(0,184,212,0.30),
                 0 4px 10px -4px rgba(11,12,16,0.06),
                 inset 0 1px 0 rgba(255,255,255,1);

  /* --- Type --------------------------------------------- */
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* --- Spacing / radii --------------------------------- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 40px;

  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background:
    radial-gradient(1400px 800px at 80% -10%, rgba(0,229,255,0.10), transparent 50%),
    radial-gradient(1000px 600px at 0% 100%, rgba(0,229,255,0.07), transparent 50%),
    linear-gradient(180deg, #F2F4F7 0%, var(--bg) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--cyan-bright); color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.wrap-narrow { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }
section { position: relative; }
.section-pad { padding: clamp(80px, 11vh, 140px) 0; }

/* ---------- Type system ---------- */
.h-hero {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(54px, 8.2vw, 132px);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.h-hero .accent { color: var(--cyan-deep); }
.h-1 {
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.h-2 {
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.0;
  letter-spacing: -0.028em;
}
.h-3 {
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 26px);
  letter-spacing: -0.018em;
  line-height: 1.18;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--cyan-deep);
  background: linear-gradient(135deg, var(--cyan-bright) 0%, var(--cyan-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: none;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  background: var(--cyan-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan-bright);
  display: inline-block;
  margin-right: 10px;
  vertical-align: 1px;
  -webkit-text-fill-color: initial;
}
.lede {
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400;
  text-wrap: pretty;
  letter-spacing: -0.01em;
}
.body-md { font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.mono { font-family: var(--mono); }

/* (ticker removed) */

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(238,241,244,0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.brand img {
  height: 36px;
  width: auto;
  display: block;
}
.brand.lg img { height: 44px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  transition: all .15s;
  letter-spacing: -0.005em;
}
.nav-links a:hover { color: var(--ink); background: rgba(11,12,16,0.04); }
.nav-links a.active { color: var(--ink); background: rgba(11,12,16,0.06); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 10px 6px 8px;
  border-radius: 100px;
  background: var(--bg-lift);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.status-pill .live-dot {
  width: 7px; height: 7px;
  background: var(--cyan-bright);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--cyan-bright);
  animation: pulse-cy 2s infinite;
}
@keyframes pulse-cy {
  0%   { box-shadow: 0 0 0 0 rgba(0,229,255,0.6); }
  70%  { box-shadow: 0 0 0 7px rgba(0,229,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,255,0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 16px 30px -14px rgba(11,12,16,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-cyan {
  background: var(--cyan-bright);
  color: var(--ink);
  box-shadow: 0 16px 36px -10px rgba(0,229,255,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
}
.btn-cyan:hover { transform: translateY(-1px); box-shadow: 0 20px 44px -10px rgba(0,229,255,0.7), inset 0 1px 0 rgba(255,255,255,0.5); }
.btn-secondary {
  background: rgba(255,255,255,0.6);
  border-color: var(--line-2);
  color: var(--ink);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.9); border-color: var(--line-3); }
.btn-ghost {
  background: transparent; color: var(--ink-3); padding: 10px 14px;
}
.btn-ghost:hover { color: var(--ink); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Glass primitives ---------- */
.glass {
  background: var(--g-bg-cy);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
  border: 1px solid var(--g-border);
  box-shadow: var(--g-shadow);
  border-radius: var(--r-lg);
  position: relative;
}
.glass-cy {
  background:
    linear-gradient(140deg, rgba(255,255,255,0.7) 0%, rgba(0,229,255,0.10) 50%, rgba(255,255,255,0.55) 100%);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  border: 1px solid var(--g-border);
  box-shadow: var(--g-shadow-cy);
  border-radius: var(--r-lg);
}
.glass-dark {
  background: var(--g-bg-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-lg);
  color: #E4E7EC;
  box-shadow: 0 30px 60px -24px rgba(11,12,16,0.4);
}
.glass-hairline {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 11px 6px 9px;
  border-radius: 100px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  backdrop-filter: blur(8px);
}
.chip.live { color: var(--cyan-deep); border-color: var(--cyan-22); background: var(--cyan-08); }
.chip .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 0 0 var(--cyan-bright);
  animation: pulse-cy 2s infinite;
}

/* ---------- Hairline grid bg ---------- */
.bp {
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ---------- Footer ---------- */
.foot {
  padding: 96px var(--pad) 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 400px at 80% 0%, rgba(0,229,255,0.10), transparent 60%);
  pointer-events: none;
}
.foot > * { position: relative; }
.foot-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
}
.foot-col h5 {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}
.foot-col a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.foot-col a:hover { color: var(--cyan-deep); }
.foot-bot {
  max-width: 1320px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-4);
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -0.005em;
}

@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .9s cubic-bezier(.2,.7,.2,1) both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }
.delay-5 { animation-delay: .40s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes scan {
  0%   { transform: translateY(-100%); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
@keyframes signal {
  0%   { stroke-dashoffset: 200; opacity: 0; }
  20%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* ---------- Helpers ---------- */
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; }
.accent { color: var(--cyan-deep); }
.accent-bright { color: var(--cyan); }

/* For data tables / dense grids */
.densegrid { font-family: var(--mono); font-size: 12px; letter-spacing: 0.01em; }

/* =========================================================
   NAV DROPDOWN (mega menu)
   Extends bundle .nav with Product/Platform/Solutions/Developers
   trigger + .nav-menu floating panel.
   ========================================================= */

.nav-group { position: relative; }
.nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px;
  border: 0; background: transparent;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px; font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all .15s;
}
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] {
  color: var(--ink);
  background: rgba(11,12,16,0.04);
}
.nav-trigger .caret { transition: transform .2s; opacity: 0.7; }
.nav-trigger:hover .caret,
.nav-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); opacity: 1; }

.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 280px;
  padding: 10px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(28px) saturate(1.5);
  -webkit-backdrop-filter: blur(28px) saturate(1.5);
  border: 1px solid var(--g-border);
  border-radius: var(--r-lg);
  box-shadow: var(--g-shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility 0s linear .18s;
  z-index: 60;
}
.nav-menu.wide { min-width: 460px; }
.nav-group:hover .nav-menu,
.nav-group:focus-within .nav-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .18s, transform .18s, visibility 0s;
}
.nav-menu a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition: background .12s;
}
.nav-menu a:hover { background: var(--cyan-08); }
.nav-menu a .lbl {
  font-size: 14px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em;
}
.nav-menu a:hover .lbl { color: var(--cyan-deep); }
.nav-menu a .sub {
  font-size: 12px; color: var(--ink-4);
  font-weight: 400; letter-spacing: -0.005em;
}
.nav-menu.wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* Mobile: collapse dropdowns into a single column list */
@media (max-width: 1080px) {
  .nav-links { display: none; }
}

/* =========================================================
   FOOTER EXTENSIONS — design system v2
   ========================================================= */

.foot-grid {
  grid-template-columns: 1.5fr repeat(5, 1fr);
  gap: 32px;
}
.foot-brand .brand { margin-bottom: 18px; display: inline-flex; }
.foot-brand .brand img { height: 40px; }
.foot-tag {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 280px;
  margin: 16px 0 6px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.foot-attribution {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-4);
  max-width: 280px;
  margin: 0 0 20px;
  font-weight: 400;
}
.foot-attribution a {
  display: inline;
  padding: 0;
  font-size: inherit;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  transition: color .15s;
}
.foot-attribution a:hover { color: var(--cyan-deep); }

/* Disclaimer paragraph between the link grid and the bottom row. */
.foot-disclaimer {
  max-width: 1320px;
  margin: 56px auto 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}
.foot-disclaimer p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-4);
  font-weight: 400;
}
.foot-disclaimer strong { color: var(--ink-3); font-weight: 600; }
.foot-disclaimer a {
  color: var(--ink-3);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  transition: color .15s, border-color .15s;
}
.foot-disclaimer a:hover { color: var(--cyan-deep); border-color: var(--cyan-deep); }

.foot-bot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  font-family: var(--sans);
}
.foot-legal {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.foot-legal a {
  color: var(--ink-3);
  transition: color .15s;
}
.foot-legal a:hover { color: var(--cyan-deep); }
.foot-legal .dot { color: var(--ink-4); }
.foot-copy {
  display: flex; gap: 8px;
  font-size: 13px;
  color: var(--ink-4);
  font-weight: 500;
}
.foot-copy .sep { opacity: 0.6; }

@media (max-width: 1080px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bot {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* =========================================================
   SHARED SECTION LABEL (eyebrow alternative used widely)
   ========================================================= */

.section-label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 14px;
}

/* =========================================================
   ACCESSIBILITY — skip link, focus-visible, contrast fix
   (Batch 1 review CRIT-C-2/C-3/C-4/C-5 fixes)
   ========================================================= */

/* Darkened --ink-4 for WCAG AA contrast on --bg.
   Previous: #8A8F9C (3.1:1) — Fail.
   New:     #6E7382 (~4.55:1 on #EEF1F4) — Pass. */
:root { --ink-4: #6E7382; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
  left: 16px;
  top: 16px;
  outline: 2px solid var(--cyan-bright);
  outline-offset: 2px;
}

/* Visible focus indicator for all interactive elements.
   Browsers may suppress the default outline; this restores
   a consistent 2px cyan-deep ring on keyboard focus only. */
.btn:focus-visible,
.nav-trigger:focus-visible,
.nav-menu a:focus-visible,
.nav-cta a:focus-visible,
.brand:focus-visible,
.l-toc a:focus-visible,
.status-pill:focus-visible,
.foot-col a:focus-visible,
.foot-legal a:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* =========================================================
   SHARED CTA SECTION (Batch 1 review CRIT-S-1 fix)
   Previously duplicated across protocol/veris/network/compliance
   page-level <style> blocks. Now canonical here.
   ========================================================= */

.cta-section { padding: clamp(80px, 11vh, 140px) 0; }
.cta-card {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(56px, 7vw, 96px) clamp(40px, 6vw, 80px);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 360px at 80% 20%, rgba(0,229,255,0.18), transparent 60%),
    radial-gradient(560px 280px at 10% 100%, rgba(0,229,255,0.10), transparent 65%);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card .section-label,
.cta-card .doc-eyebrow,
.cta-card .v-eyebrow,
.cta-card .nw-eyebrow,
.cta-card .c-eyebrow,
.cta-card .eyebrow {
  color: var(--cyan-bright);
  -webkit-text-fill-color: var(--cyan-bright);
  background: none;
}
.cta-card { text-align: center; }
.cta-card h2 {
  font-weight: 700;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 auto 18px;
  max-width: 820px;
  text-wrap: balance;
}
.cta-card h2 .accent {
  color: var(--cyan-bright);
  background: none;
  -webkit-text-fill-color: var(--cyan-bright);
}
.cta-card p {
  max-width: 620px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  margin: 0 auto 32px;
  text-wrap: pretty;
}
.cta-card .row { justify-content: center; }
.cta-card .btn-secondary {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(4px);
}
.cta-card .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.32);
}

/* Functional accent for "out of scope / never" copy. */
.accent-hot {
  color: var(--hot);
  background: none;
  -webkit-text-fill-color: var(--hot);
}

/* =========================================================
   SUB-PAGE PRIMITIVES (Batch 2+)
   Canonical layout primitives used across how-it-works,
   platform, use-cases, pricing, and developers pages.
   Authored once here so sub-page HTML stays free of bespoke
   <style> blocks.
   ========================================================= */

/* Hero: two-column with text + glass primitive */
.subpage-hero { padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 1080px) { .subpage-hero-grid { grid-template-columns: 1fr; } }
.subpage-hero h1 {
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 18px 0 22px;
  text-wrap: balance;
}
.subpage-hero h1 .accent { color: var(--cyan-deep); }
.subpage-hero .lede { max-width: 560px; }

/* Numbered section heading — centered, balanced, pretty wraps. */
.sect-head {
  position: relative;
  text-align: center;
  margin: 0 auto clamp(40px, 5vw, 64px);
  max-width: 820px;
}
.sect-head > div { display: contents; }
.sect-head h2 {
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 14px auto 0;
  max-width: 760px;
  text-wrap: balance;
}
.sect-head h2 .accent { color: var(--cyan-deep); }
.sect-head p {
  max-width: 640px;
  margin: 14px auto 0;
  text-wrap: pretty;
}
.sect-num {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .sect-num { position: static; display: block; margin-top: 12px; }
}

/* Stats bar */
.stats-bar {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background: var(--surface);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: 32px 0;
  text-align: center;
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat .n {
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--cyan-deep);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-4);
}

/* Step grid: 4-up numbered card row */
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1080px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .step-grid { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.step:hover {
  border-color: var(--cyan-22);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -28px rgba(0,108,127,0.32);
}
.step .pill {
  display: inline-flex;
  align-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--cyan-08);
  color: var(--cyan-deep);
  font-weight: 700;
  font-family: var(--mono);
  justify-content: center;
  margin-bottom: 20px;
}
.step h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; color: var(--ink); }
.step p  { font-size: 14px; line-height: 1.6; color: var(--ink-3); margin: 0; }

/* Two-column mockup section (mockup left or right + paragraph block) */
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 4vw, 72px);
  align-items: center;
}
.split-grid.reverse { grid-template-columns: 1fr 1.05fr; }
@media (max-width: 1080px) {
  .split-grid, .split-grid.reverse { grid-template-columns: 1fr; }
}

/* Generic mockup chrome (dashboard frame) */
.ui-mock {
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(11,12,16,0.18);
}
.ui-mock-head, .ui-mock-foot {
  padding: 16px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 12px;
}
.ui-mock-foot { border-bottom: 0; border-top: 1px solid var(--line-2); }
.ui-mock-head .left { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: 0.02em; }
.ui-mock-row {
  padding: 16px 22px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line-2);
}
.ui-mock-row:first-of-type { border-top: 0; }

/* Status badges used inside mockups */
.ui-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
}
.ui-badge .dot { width: 6px; height: 6px; border-radius: 999px; }
.ui-badge.active   { background: var(--cyan-08); color: var(--cyan-deep); }
.ui-badge.active .dot { background: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-22); }
.ui-badge.warn     { background: rgba(234,88,12,0.10); color: #c2410c; }
.ui-badge.warn .dot{ background: #ea580c; }
.ui-badge.hot      { background: rgba(255,90,79,0.10); color: var(--hot); }
.ui-badge.hot .dot { background: var(--hot); }
.ui-badge.neutral  { background: rgba(110,115,130,0.10); color: var(--ink-4); }
.ui-badge.neutral .dot { background: var(--ink-4); }

/* Dark terminal-style code block (richer than .term) */
.code-block {
  background: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid #1a1d24;
}
.code-block .bar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  background: #14171c;
  border-bottom: 1px solid #1a1d24;
}
.code-block .dots { display: flex; gap: 6px; }
.code-block .dots span { width: 10px; height: 10px; border-radius: 999px; }
.code-block .dots span:nth-child(1) { background: #f87171; }
.code-block .dots span:nth-child(2) { background: #fbbf24; }
.code-block .dots span:nth-child(3) { background: #34d399; }
.code-block .file { font-family: var(--mono); font-size: 12px; color: #a3a6ad; }
.code-block pre {
  margin: 0;
  padding: 26px 28px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: #e5e7eb;
  overflow-x: auto;
}
.code-block .c-com { color: #6b7280; }
.code-block .c-key { color: var(--cyan); }
.code-block .c-str { color: #a7f3d0; }
.code-block .c-fn  { color: #fbbf24; }
.code-block .c-num { color: #fbbf24; }
.code-block .c-type{ color: #c084fc; }

/* Security / capability card grid (3-up) */
.sec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 1080px) { .sec-grid { grid-template-columns: 1fr; } }
.sec-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.sec-card:hover {
  border-color: var(--cyan-22);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -28px rgba(0,108,127,0.32);
}
.sec-card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cyan-08);
  color: var(--cyan-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.sec-card .icon svg { width: 26px; height: 26px; }
.sec-card h3 { font-size: 19px; font-weight: 600; margin: 0 0 14px; color: var(--ink); }
.sec-card p  { font-size: 14px; line-height: 1.65; color: var(--ink-3); margin: 0; }

/* Highlighted scope card with mixed content */
.scope-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: clamp(40px, 4vw, 64px);
}
.scope-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 4vw, 72px);
  align-items: center;
}
@media (max-width: 1080px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-grid h2 { font-weight: 700; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 22px; color: var(--ink); }
.scope-grid p  { font-size: 15px; line-height: 1.65; color: var(--ink-3); margin: 0 0 12px; }

/* Provider / logo grid (3-up small cards) */
.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.provider-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  padding: 22px 16px;
  text-align: center;
  transition: transform .2s, border-color .2s;
}
.provider-card:hover { border-color: var(--cyan-22); transform: translateY(-2px); }
.provider-card .pv {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--cyan-08); color: var(--cyan-deep);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; margin-bottom: 12px;
}
.provider-card .nm { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--ink); }
.provider-card .ds { font-size: 11px; color: var(--ink-4); margin-top: 4px; letter-spacing: 0.02em; }

/* Trust-level / progression row (used by KYA hero and trust hierarchy) */
.lvl-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
}
.lvl-row + .lvl-row { border-top: 1px solid var(--line-2); }
.lvl-tag {
  width: 48px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700;
  background: var(--cyan-08); color: var(--cyan-deep);
  border: 1px solid var(--cyan-22);
}
.lvl-tag.t0 { background: rgba(110,115,130,0.10); color: var(--ink-4); border-color: var(--line-2); }
.lvl-tag.t1 { background: rgba(234,179,8,0.10);  color: #b45309;        border-color: rgba(234,179,8,0.30); }
.lvl-tag.t4 { background: rgba(11,12,16,0.06);   color: var(--ink);     border-color: rgba(11,12,16,0.18); }
.lvl-row .name { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.lvl-row .bar { height: 6px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.lvl-row .bar .fill { height: 100%; background: var(--cyan); border-radius: inherit; }
.lvl-row .bar .fill.f25 { width: 25%; background: var(--ink-4); }
.lvl-row .bar .fill.f50 { width: 50%; background: #b45309; }
.lvl-row .bar .fill.f75 { width: 75%; background: var(--cyan-deep); }
.lvl-row .bar .fill.f85 { width: 85%; background: var(--cyan-deep); }
.lvl-row .bar .fill.f100{ width: 100%; background: var(--ink); }

/* Two-column compare list (KYA vs KYC) */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 980px;
}
@media (max-width: 1080px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  padding: 32px;
}
.compare-col.accent { background: var(--surface); border-color: var(--cyan-22); }
.compare-col h3 { font-size: 18px; font-weight: 600; margin: 0 0 18px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.compare-col.muted h3 { color: var(--ink-4); }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.compare-col li {
  display: grid; grid-template-columns: 8px 1fr; gap: 12px;
  font-size: 14px; line-height: 1.6; color: var(--ink-3);
}
.compare-col li::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--cyan-deep); margin-top: 8px;
}
.compare-col.muted li { color: var(--ink-4); }
.compare-col.muted li::before { background: var(--line-3); }

/* Behavioral check row (used by safety-checks + KYA drift section) */
.check-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
}
.check-row + .check-row { border-top: 1px solid var(--line-2); }
.check-row .ico { color: var(--cyan-deep); }
.check-row .ico.warn { color: #ea580c; }
.check-row .ico.hot  { color: var(--hot); }
.check-row .lbl { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-bottom: 6px; display: flex; justify-content: space-between; }
.check-row .lbl .verdict { font-weight: 600; }
.check-row .lbl .verdict.ok   { color: var(--cyan-deep); }
.check-row .lbl .verdict.fail { color: var(--hot); }
.check-row .bar  { height: 5px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.check-row .bar .fill { height: 100%; }
.check-row .bar .fill.ok   { background: var(--cyan); }
.check-row .bar .fill.fail { background: var(--hot); }

/* Inline tag pills used in trust-hierarchy cards */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--cyan-22);
  background: var(--cyan-08);
  color: var(--cyan-deep);
  font-family: var(--mono); font-size: 11px; font-weight: 600;
}
.tag.muted { border-color: var(--line-2); background: #fff; color: var(--ink-4); }

/* L-row inside hero card (KYA progression visualization) */
.lvl-card { padding: 32px clamp(28px, 3vw, 40px); }
.lvl-card .env-label,
.lvl-card-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 22px;
}

/* Avatar-name-meta cell used inside .ui-mock rows */
.ui-cell { display: flex; align-items: center; gap: 12px; }
.ui-cell .av {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-weight: 700; font-size: 13px;
  background: var(--cyan-08); color: var(--cyan-deep);
}
.ui-cell .av.t { background: rgba(124, 58, 237, 0.10); color: #7c3aed; }
.ui-cell .av.f { background: rgba(234,  88, 12, 0.10); color: #ea580c; }
.ui-cell .av.c { background: rgba(0, 108, 127, 0.10); color: var(--cyan-deep); }
.ui-cell .av.g { background: rgba(110,115,130,0.10); color: var(--ink-4); }
.ui-cell .nm { font-size: 14px; font-weight: 600; color: var(--ink); }
.ui-cell .mt { font-family: var(--mono); font-size: 12px; color: var(--ink-4); margin-top: 3px; }
.ui-state { display: flex; align-items: center; gap: 14px; }
.ui-state .ver { font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
