/* =============================================================================
   SENTINEL — Design System  ·  "black-ops cyberpunk security"
   Reusable design-token + component layer powering the Sentinel landing and console.
   Accent: blade ice-cyan (--blade); Matchain amber (--gold) is the pedigree marker.
   No external runtime deps. Fonts loaded via <link> in the host document.
   ============================================================================= */

/* ----------------------------------------------------------------------------
   0 · TOKENS
   The system is mostly void + a single "blade" (ice-cyan) accent. Restraint is
   the aesthetic: gold (Matchain pedigree), crimson (threat) and mint (verified)
   are functional signals only — used sparingly. Silence = power.
---------------------------------------------------------------------------- */
:root {
  /* void scale */
  --void:        #05070a;
  --void-2:      #070a0f;
  --panel:       #0a0e15;
  --panel-2:     #0d121b;
  --panel-hi:    #121925;
  --panel-glass: rgba(10, 14, 21, 0.72);

  /* hairlines */
  --line:        #161d29;
  --line-2:      #202938;
  --line-3:      #2c384a;
  --line-glow:   rgba(78, 159, 212, 0.20);

  /* ink */
  --ink:         #e9f1f6;
  --ink-2:       #9db0c1;
  --ink-3:       #5e6e80;
  --ink-4:       #3a4555;

  /* the blade — primary accent (ice cyan) */
  --blade:       #4e9fd4;
  --blade-hi:    #7dbce6;
  --blade-lo:    #3578a8;
  --blade-dim:   rgba(78, 159, 212, 0.10);
  --blade-dim-2: rgba(78, 159, 212, 0.18);
  --blade-glow:  rgba(78, 159, 212, 0.42);

  /* functional signals */
  --gold:        #ffa723;   /* Matchain pedigree */
  --gold-dim:    rgba(255, 167, 35, 0.12);
  --threat:      #ff3b46;
  --threat-dim:  rgba(255, 59, 70, 0.12);
  --verify:      #24e39a;   /* chain verified */
  --verify-dim:  rgba(36, 227, 154, 0.12);

  /* type */
  --f-display: "IBM Plex Mono", "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --f-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* scale / motion */
  --maxw:      1240px;
  --radius:    6px;
  --radius-lg: 8px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:    140ms;
  --t-med:     280ms;
  --t-slow:    560ms;
  --t-tilt:    130ms;

  /* glows */
  --shadow-panel: 0 1px 0 rgba(255,255,255,0.02) inset, 0 18px 50px -20px rgba(0,0,0,0.9);
  --shadow-blade: 0 0 0 1px var(--blade-dim-2), 0 0 24px -6px var(--blade-glow);
}

/* ----------------------------------------------------------------------------
   1 · RESET / BASE
---------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ----------------------------------------------------------------------------
   A11Y · keyboard focus, skip-link, screen-reader-only
   focus-visible only (no mouse-click outlines); blade ring on keyboard nav.
---------------------------------------------------------------------------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--blade);
  outline-offset: 2px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--blade);
  color: var(--void);
  font: 600 14px/1 var(--f-sans, sans-serif);
  letter-spacing: .01em;
  border-radius: var(--radius, 4px);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .18s var(--ease, ease);
}
.skip-link:focus { transform: translateY(0); outline: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--blade-dim-2); color: var(--blade-hi); }

/* ambient field — fixed, behind everything */
.field {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(78,159,212,0.06), transparent 60%),
    radial-gradient(900px 600px at 6% 4%, rgba(255,167,35,0.035), transparent 55%),
    linear-gradient(180deg, var(--void) 0%, var(--void-2) 40%, var(--void) 100%);
}
.field::before {  /* engineering grid */
  content: ""; position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(to right, rgba(140,170,200,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(140,170,200,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 78%);
          mask-image: radial-gradient(circle at 50% 18%, #000 0%, transparent 78%);
}
#telemetry-canvas { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; }

/* scanline overlay */
.scanlines {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.5;
  background: repeating-linear-gradient(180deg, transparent 0, transparent 2px, rgba(0,0,0,0.18) 3px, transparent 4px);
  mix-blend-mode: overlay;
}
.scanlines::after {
  content: ""; position: absolute; left: 0; right: 0; height: 140px;
  background: linear-gradient(180deg, transparent, rgba(78,159,212,0.05), transparent);
  animation: sweep 7.5s linear infinite;
}
@keyframes sweep { 0% { top: -140px; } 100% { top: 100%; } }

/* ----------------------------------------------------------------------------
   2 · LAYOUT PRIMITIVES
---------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
main { position: relative; z-index: 1; }
section { position: relative; padding: 104px 0; }
.section-tag {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--blade); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.section-tag::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, var(--blade), transparent); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.7vw, 44px);
  line-height: 1.04; letter-spacing: -0.022em; color: var(--ink); text-wrap: balance;
}
.section-head p { margin-top: 18px; color: var(--ink-2); font-size: 17px; line-height: 1.65; max-width: 620px; }
.eyebrow { color: var(--blade); }

/* HUD frame — corner brackets on any panel */
.hud { position: relative; }
.hud::before, .hud::after,
.hud > .hud-tr, .hud > .hud-bl {
  content: ""; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--line-3); border-style: solid; opacity: 0.9;
}
.hud::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hud::after  { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.hud > .hud-bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.hud > .hud-tr { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.hud:hover::before, .hud:hover::after,
.hud:hover > .hud-tr, .hud:hover > .hud-bl { border-color: var(--blade); }

/* ----------------------------------------------------------------------------
   3 · TOPBAR
---------------------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  background: linear-gradient(180deg, rgba(5,7,10,0.86), rgba(5,7,10,0.42));
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .mark { width: 30px; height: 30px; }
.brand .name {
  font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand .name b { color: var(--blade); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: 18px; }
.nav a {
  font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.05em; color: var(--ink-2);
  padding: 8px 12px; border-radius: var(--radius); transition: color var(--t-fast), background var(--t-fast);
}
.nav a:hover { color: var(--ink); background: var(--panel-hi); }
.topbar-spacer { flex: 1; }
.lang {
  display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
}
.lang button { padding: 5px 11px; font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-3); }
.lang button.on { background: var(--blade-dim-2); color: var(--blade); }

/* ----------------------------------------------------------------------------
   4 · BUTTONS
---------------------------------------------------------------------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.04em; font-weight: 500;
  padding: 12px 20px; border-radius: var(--radius); border: 1px solid var(--line-2);
  color: var(--ink); background: var(--panel-2); transition: all var(--t-med) var(--ease);
  text-transform: uppercase; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%), var(--blade-dim-2), transparent 70%);
  transition: opacity var(--t-med);
}
.btn:hover { border-color: var(--blade); color: var(--blade-hi); transform: translateY(-1px); }
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: linear-gradient(180deg, rgba(78,159,212,0.16), rgba(78,159,212,0.06));
  border-color: var(--blade-lo); color: var(--blade-hi);
  box-shadow: var(--shadow-blade);
}
.btn-primary:hover { box-shadow: 0 0 0 1px var(--blade), 0 0 32px -4px var(--blade-glow); }
.btn .tick { width: 6px; height: 6px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.btn-ghost { background: transparent; }

/* ----------------------------------------------------------------------------
   5 · HERO
---------------------------------------------------------------------------- */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono);
  font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--blade);
  border: 1px solid var(--blade-dim-2); border-radius: 999px; padding: 6px 14px;
  background: var(--blade-dim); margin-bottom: 26px;
}
.hero-kicker .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--blade); box-shadow: 0 0 10px var(--blade); animation: blink 2.2s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.hero h1 {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(40px, 6vw, 74px);
  line-height: 0.98; letter-spacing: -0.02em; color: var(--ink);
}
.hero h1 .blade { color: transparent; background: linear-gradient(180deg, var(--blade-hi), var(--blade)); -webkit-background-clip: text; background-clip: text; }
.hero h1 .stroke {
  color: transparent; -webkit-text-stroke: 1px var(--ink-3);
}
.hero-sub { margin-top: 24px; font-size: 18.5px; line-height: 1.6; color: var(--ink-2); max-width: 540px; }
.hero-term {
  margin-top: 26px; font-family: var(--f-mono); font-size: 13.5px; color: var(--ink-2);
  border-left: 2px solid var(--blade); padding: 4px 0 4px 16px; min-height: 24px;
}
.hero-term .cur { display: inline-block; width: 9px; height: 16px; background: var(--blade); vertical-align: text-bottom; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.hero-cta { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-meta .m { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.hero-meta .m b { color: var(--ink); font-weight: 600; }
.hero-meta .m .ok { color: var(--verify); }

/* hero right: seal + telemetry console */
.hero-stack { display: flex; flex-direction: column; gap: 18px; }
.seal-wrap { position: relative; display: grid; place-items: center; padding: 18px; }
.seal { width: min(360px, 80%); aspect-ratio: 1; }
.console {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--panel-glass);
  box-shadow: var(--shadow-panel); overflow: hidden; backdrop-filter: blur(6px);
}
.console-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3);
}
.console-bar .dot { width: 8px; height: 8px; border-radius: 50%; }
.console-bar .dot.r { background: var(--threat); } .console-bar .dot.y { background: var(--gold); } .console-bar .dot.g { background: var(--verify); }
.console-bar .ttl { margin-left: 6px; }
.console-bar .stat { margin-left: auto; color: var(--verify); display: inline-flex; align-items: center; gap: 6px; }
.console-bar .stat .led { width: 6px; height: 6px; border-radius: 50%; background: var(--verify); box-shadow: 0 0 8px var(--verify); animation: blink 1.8s infinite; }
.console-feed { padding: 12px 14px; height: 188px; overflow: hidden; font-family: var(--f-mono); font-size: 11.5px; line-height: 1.9; }
.feed-line { display: flex; gap: 10px; white-space: nowrap; opacity: 0; transform: translateY(6px); animation: feedin var(--t-med) var(--ease) forwards; }
@keyframes feedin { to { opacity: 1; transform: none; } }
.feed-line .t { color: var(--ink-4); }
.feed-line .v { color: var(--verify); } .feed-line .b { color: var(--blade); } .feed-line .g2 { color: var(--gold); } .feed-line .x { color: var(--threat); }
.feed-line .id { color: var(--ink-2); }

/* ----------------------------------------------------------------------------
   6 · MARQUEE / TRUST STRIP
---------------------------------------------------------------------------- */
.strip { border-block: 1px solid var(--line); background: linear-gradient(180deg, var(--void-2), var(--void)); padding: 0; }
.strip-inner { display: flex; align-items: stretch; }
.strip .cell { flex: 1; padding: 26px 24px; border-left: 1px solid var(--line); }
.strip .cell:first-child { border-left: 0; }
.strip .cell .n { font-family: var(--f-display); font-weight: 700; font-size: clamp(26px,3vw,38px); color: var(--ink); letter-spacing: -0.01em; }
.strip .cell .n .u { color: var(--blade); font-size: 0.6em; }
.strip .cell .l { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }

/* ----------------------------------------------------------------------------
   7 · FEATURE CARDS (the posture)
---------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); padding: 30px;
  isolation: isolate; overflow: hidden;
  --rx: 0deg; --ry: 0deg; --lift: 0px;
}
.card:hover { border-color: var(--line-3); --lift: -4px; box-shadow: var(--shadow-panel); }
.card .ic { width: 46px; height: 46px; margin-bottom: 22px; color: var(--blade); }
.card h3 { font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: 0.01em; color: var(--ink); }
.card p { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.62; }
.card .meta { margin-top: 18px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--ink-3); text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.card .meta .chip { color: var(--blade); border: 1px solid var(--blade-dim-2); padding: 2px 8px; border-radius: 999px; }

/* ----------------------------------------------------------------------------
   8 · CHAIN VISUALIZER (the proof)
---------------------------------------------------------------------------- */
.proof-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.proof-quote { font-family: var(--f-display); font-weight: 600; font-size: clamp(24px,3vw,34px); line-height: 1.18; letter-spacing: -0.01em; }
.proof-quote .blade { color: var(--blade); }
.proof-note { margin-top: 20px; color: var(--ink-2); font-size: 16px; }
.proof-controls { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }

.chain { display: flex; flex-direction: column; gap: 12px; }
.link {
  position: relative; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel-2);
  padding: 14px 16px; transition: border-color var(--t-med), background var(--t-med);
}
.link + .link::before {
  content: ""; position: absolute; top: -13px; left: 35px; width: 2px; height: 12px;
  background: var(--line-3);
}
.link.ok + .link::before, .link.ok::after { background: var(--verify); }
.link .seq { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); text-align: center; }
.link .body .h { font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-2); letter-spacing: 0.02em; word-break: break-all; }
.link .body .sub { font-family: var(--f-mono); font-size: 10.5px; color: var(--ink-4); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.1em; }
.link .state { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); }
.link .state .glyph { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink-4); display: grid; place-items: center; transition: all var(--t-med); }
.link.ok { border-color: var(--verify-dim); background: linear-gradient(180deg, rgba(36,227,154,0.05), var(--panel-2)); }
.link.ok .state { color: var(--verify); }
.link.ok .state .glyph { border-color: var(--verify); background: var(--verify-dim); box-shadow: 0 0 14px -2px var(--verify); }
.link.ok .h { color: var(--ink); }
.link.bad { border-color: var(--threat); background: linear-gradient(180deg, rgba(255,59,70,0.07), var(--panel-2)); animation: shake 0.4s var(--ease); }
.link.bad .state { color: var(--threat); }
.link.bad .state .glyph { border-color: var(--threat); background: var(--threat-dim); }
.link.scan { border-color: var(--blade); box-shadow: var(--shadow-blade); }
.link.scan .state { color: var(--blade); }
@keyframes shake { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-4px)} 75%{transform:translateX(4px)} }
.chain-verdict { margin-top: 16px; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: 0.04em; padding: 12px 16px; border: 1px dashed var(--line-3); border-radius: var(--radius); color: var(--ink-2); }
.chain-verdict.ok { color: var(--verify); border-color: var(--verify-dim); }
.chain-verdict.bad { color: var(--threat); border-color: var(--threat-dim); }

/* ----------------------------------------------------------------------------
   9 · LADDER / PHASES
---------------------------------------------------------------------------- */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.rung { position: relative; padding: 28px 22px 30px; border-left: 1px solid var(--line); background: var(--panel); transition: background var(--t-med); }
.rung:first-child { border-left: 0; }
.rung:hover { background: var(--panel-hi); }
.rung .ph { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--blade); text-transform: uppercase; }
.rung .bar { height: 3px; margin: 16px 0; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.rung .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blade-lo), var(--blade)); width: 0; transition: width 1.1s var(--ease-out); }
.rung h4 { font-family: var(--f-display); font-weight: 600; font-size: 16px; color: var(--ink); }
.rung p { margin-top: 8px; font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.rung .tagx { margin-top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.rung.done .tagx { color: var(--verify); } .rung.live .tagx { color: var(--gold); } .rung.next .tagx { color: var(--ink-3); }

/* ----------------------------------------------------------------------------
   10 · TIERS
---------------------------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--panel); padding: 24px 20px; position: relative; isolation: isolate;
  --rx: 0deg; --ry: 0deg; --lift: 0px;
}
.tier:hover { border-color: var(--line-3); --lift: -4px; }
.tier.feature { border-color: var(--blade-lo); background: linear-gradient(180deg, rgba(78,159,212,0.06), var(--panel)); box-shadow: var(--shadow-blade); }
.tier .tn { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.tier .tp { font-family: var(--f-mono); font-size: 22px; color: var(--blade-hi); margin-top: 10px; letter-spacing: -0.01em; }
.tier .tp small { font-size: 11px; color: var(--ink-3); letter-spacing: 0.05em; }
.tier .tq { font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.tier .tl { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.tier .tl li { font-size: 12.5px; color: var(--ink-2); display: flex; gap: 9px; line-height: 1.4; }
.tier .tl li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 7px; background: var(--blade); transform: rotate(45deg); }
.tier .tcta { margin-top: 20px; }
.tier .tcta a { font-family: var(--f-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blade); display: inline-flex; align-items: center; gap: 7px; }
.tier .tcta a:hover { color: var(--blade-hi); }
.tiers-foot { margin-top: 18px; display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.tiers-foot .pin { color: var(--verify); }

/* ----------------------------------------------------------------------------
   11 · DOCTRINE ("what we do not sell")
---------------------------------------------------------------------------- */
.doctrine { border: 1px solid var(--line-2); border-radius: var(--radius-lg); background:
   radial-gradient(700px 300px at 100% 0%, rgba(255,167,35,0.05), transparent 60%), var(--panel); padding: 48px; }
.doctrine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.dn { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; background: var(--void-2); }
.dn .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--threat); display: flex; align-items: center; gap: 9px; }
.dn .k .no { width: 16px; height: 16px; border: 1.5px solid var(--threat); border-radius: 50%; position: relative; }
.dn .k .no::after { content: ""; position: absolute; inset: 6px 1px; width: 12px; height: 1.5px; background: var(--threat); transform: rotate(45deg); top: 6px; left: 1px; }
.dn p { margin-top: 10px; color: var(--ink-2); font-size: 13.5px; }
.dn.keep .k { color: var(--verify); } .dn.keep .k .no { border-color: var(--verify); } .dn.keep .k .no::after { background: var(--verify); }

/* ----------------------------------------------------------------------------
   12 · FOUNDING PARTNER (CTA band)
---------------------------------------------------------------------------- */
.fp { position: relative; border: 1px solid var(--blade-lo); border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(800px 400px at 20% 0%, rgba(78,159,212,0.10), transparent 60%), var(--panel-2); padding: 56px; }
.fp::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(78,159,212,0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(78,159,212,0.05) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(circle at 80% 120%, #000, transparent 70%); mask-image: radial-gradient(circle at 80% 120%, #000, transparent 70%); }
.fp .slots { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blade); }
.fp h2 { font-family: var(--f-display); font-weight: 700; font-size: clamp(28px,3.6vw,44px); margin-top: 14px; line-height: 1.05; max-width: 680px; }
.fp p { margin-top: 18px; color: var(--ink-2); max-width: 560px; font-size: 16px; }
.fp .fp-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ----------------------------------------------------------------------------
   13 · FOOTER (Matchain pedigree)
---------------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); background: var(--void-2); padding: 56px 0 40px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot .brand .name { font-size: 16px; }
.foot .tagline { margin-top: 16px; color: var(--ink-3); font-size: 13.5px; max-width: 320px; line-height: 1.6; }
.foot h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot ul a { color: var(--ink-2); font-size: 13.5px; }
.foot ul a:hover { color: var(--blade); }
.foot-base { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pedigree { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); }
.pedigree svg { width: 18px; height: auto; }
.pedigree b { color: var(--ink-2); font-weight: 500; }
.foot-base .legal { font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-4); }
.resolve { font-family: var(--f-mono); font-size: 12px; color: var(--ink-3); font-style: italic; }
.resolve .blade { color: var(--blade); font-style: normal; }

/* ----------------------------------------------------------------------------
   14 · REVEAL / UTIL
---------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
[data-reveal].in { opacity: 1; }
[data-reveal]:not(.card):not(.tier) { transform: translateY(22px); }
[data-reveal]:not(.card):not(.tier).in { transform: none; }
.mono { font-family: var(--f-mono); }
.blade-text { color: var(--blade); }

/* ----------------------------------------------------------------------------
   15 · RESPONSIVE
---------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-stack { max-width: 560px; }
  .proof-grid { grid-template-columns: 1fr; gap: 30px; }
  .ladder, .tiers { grid-template-columns: repeat(2, 1fr); }
  .rung:nth-child(-n+2) { border-top: 0; }
  .doctrine-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  section { padding: 72px 0; }
  .wrap { padding: 0 20px; }
  .nav { display: none; }
  .cards, .tiers, .ladder { grid-template-columns: 1fr; }
  .strip-inner { flex-wrap: wrap; }
  .strip .cell { flex: 1 1 50%; border-top: 1px solid var(--line); }
  .doctrine, .fp { padding: 32px 24px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(38px, 12vw, 56px); }
}

/* ----------------------------------------------------------------------------
   16 · REDUCED MOTION
---------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .scanlines::after, .hero-kicker .pulse, .console-bar .stat .led, .hero-term .cur { animation: none; }
  [data-reveal] { transition: none !important; opacity: 1 !important; transform: none !important; }
  #telemetry-canvas { display: none; }
}

/* ----------------------------------------------------------------------------
   17 · HOW IT WORKS · USE CASES · FAQ   (front-door explainer layer)
   Reuses .card / .hud / .section-head tokens. No new runtime deps.
---------------------------------------------------------------------------- */
/* numbered steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step .step-n {
  font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.14em;
  color: var(--blade); border: 1px solid var(--blade-dim-2); background: var(--blade-dim);
  width: 38px; height: 38px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px; box-shadow: 0 0 18px -6px var(--blade-glow);
}

/* plain-English glossary */
.glos { position: relative; margin-top: 16px; padding: 30px 32px;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel)); }
.glos > .section-tag { margin-bottom: 24px; }
.glos dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 30px; }
.glos dt { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--ink);
  display: flex; align-items: center; gap: 9px; }
.glos dt::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--blade);
  transform: rotate(45deg); box-shadow: 0 0 8px var(--blade-glow); }
.glos dd { margin-top: 8px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }

/* use cases — 3-up card grid */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* faq — native <details>, zero-JS, keyboard-accessible */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq-item { border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: var(--panel); position: relative; isolation: isolate;
  transition: border-color var(--t-fast) var(--ease); }
.faq-item:hover { border-color: var(--line-3); }
.faq-item[open] { border-color: var(--blade-lo); }
.faq-item > summary { list-style: none; cursor: pointer; padding: 19px 24px;
  font-family: var(--f-display); font-weight: 600; font-size: 16px; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: color var(--t-fast) var(--ease); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: "+"; font-family: var(--f-mono); font-size: 22px; line-height: 1;
  color: var(--blade); flex: none; transition: transform var(--t-med) var(--ease); }
.faq-item[open] > summary { color: var(--blade-hi); }
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item > summary:hover { color: var(--blade-hi); }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--ink-2); font-size: 14.5px; line-height: 1.65; max-width: 72ch; }

@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .glos dl { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .steps, .cases { grid-template-columns: 1fr; }
  .glos dl { grid-template-columns: 1fr; }
  .glos { padding: 26px 22px; }
}
/* 8 nav links need ~930px of topbar; collapse the top nav earlier than the
   grid breakpoints so it never overflows (footer nav covers mid-range). */
@media (max-width: 940px) { .nav { display: none; } }

/* ----------------------------------------------------------------------------
   18 · HERO ELEVATION — scroll blade, what-you-get, depth
---------------------------------------------------------------------------- */
#scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: linear-gradient(90deg, var(--blade), var(--blade-hi));
  transform: scaleX(0); transform-origin: 0 50%;
  box-shadow: 0 0 10px var(--blade-glow); will-change: transform;
}
.hero-get { margin-top: 26px; display: flex; flex-direction: column; gap: 12px; }
.hero-get .g { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.hero-get .gi {
  flex: none; width: 18px; height: 18px; border-radius: 50%; position: relative;
  border: 1px solid var(--blade-dim-2); background: var(--blade-dim);
}
.hero-get .gi::after {
  content: ""; position: absolute; left: 4px; top: 4px; width: 8px; height: 8px;
  background: var(--verify); border-radius: 50%; box-shadow: 0 0 9px var(--verify);
}
.hero-sub b { color: var(--ink); font-weight: 600; }
.hero-stack[data-depth] { transition: transform .2s var(--ease-out); will-change: transform; }
@media (prefers-reduced-motion: reduce) {
  .hero-stack[data-depth] { transition: none; transform: none !important; }
}

/* ----------------------------------------------------------------------------
   19 · ELEVATION — cursor spotlight, step-flow, staggered reveals
   Rolls the hero's depth treatment across cards, tiers, faq, and #how.
   .spot is injected by app.js (so it only exists with JS); tilt + spotlight
   are JS-gated on prefers-reduced-motion. Custom props (--mx/--my) inherit
   from the surface to its .spot child. No new runtime deps.
---------------------------------------------------------------------------- */
/* cursor-follow spotlight — sits above the panel bg, beneath content + HUD */
.spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  border-radius: inherit;
  background: radial-gradient(340px 240px at var(--mx, 50%) var(--my, 0%), var(--blade-dim-2), transparent 62%);
  transition: opacity var(--t-med) var(--ease);
}
.card:hover .spot, .tier:hover .spot, .faq-item:hover .spot { opacity: 1; }

/* directional + scale reveal variants — slide applies to non-tilt surfaces only
   (cards/tiers own their transform for tilt; they reveal via opacity fade). */
[data-reveal="left"]:not(.card):not(.tier)  { transform: translateX(-30px); }
[data-reveal="right"]:not(.card):not(.tier) { transform: translateX(30px); }
[data-reveal="scale"]:not(.card):not(.tier) { transform: scale(0.94); }

/* tilt surfaces: transform = cursor tilt + hover lift; opacity drives the reveal */
.card, .tier {
  transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)) translate3d(0, var(--lift), 0);
  transition: border-color var(--t-med), background var(--t-med), box-shadow var(--t-med),
              transform var(--t-tilt) var(--ease-out), opacity var(--t-slow) var(--ease-out);
}

/* #how — animated step-flow trace, visible through the card gaps */
.steps { position: relative; isolation: isolate; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 5%; right: 5%; top: 49px; height: 2px;
  z-index: -1; pointer-events: none; border-radius: 2px;
}
.steps::before { background: linear-gradient(90deg, transparent, var(--line-3) 10%, var(--line-3) 90%, transparent); }
.steps::after {
  background: linear-gradient(90deg, transparent, var(--blade-hi), transparent);
  background-size: 26% 100%; background-repeat: no-repeat; background-position: -30% 0;
  filter: drop-shadow(0 0 6px var(--blade-glow));
  animation: stepflow 3.4s var(--ease-out) infinite;
}
@keyframes stepflow { to { background-position: 130% 0; } }
.steps.in .step .step-n { animation: stepPop 0.55s var(--ease) backwards; }
.steps.in .step:nth-child(1) .step-n { animation-delay: 0.05s; }
.steps.in .step:nth-child(2) .step-n { animation-delay: 0.20s; }
.steps.in .step:nth-child(3) .step-n { animation-delay: 0.35s; }
.steps.in .step:nth-child(4) .step-n { animation-delay: 0.50s; }
@keyframes stepPop {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
@media (max-width: 1080px) { .steps::before, .steps::after { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .steps::after { display: none; }
  .steps.in .step .step-n { animation: none; }
  .card, .tier { transform: none !important; }
}

/* ----------------------------------------------------------------------------
   20 · DEVELOPERS — quickstart code, receipt anatomy, doc cards
   Doc cards reuse .card (inherit tilt + spotlight). Code panes are .hud-framed,
   no tilt (legibility). No new runtime deps.
---------------------------------------------------------------------------- */
:where(section[id]) { scroll-margin-top: 84px; }   /* sticky topbar offset for #anchors */

.dev-grid { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: 16px; align-items: start; }
.code-pane, .receipt-pane {
  position: relative; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow: var(--shadow-panel); overflow: hidden; transition: border-color var(--t-med);
}
.code-pane:hover, .receipt-pane:hover { border-color: var(--line-3); }
.code-tabs {
  display: flex; align-items: center; gap: 4px; padding: 9px 12px;
  border-bottom: 1px solid var(--line); background: var(--void-2);
}
.code-tab {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--ink-3);
  padding: 6px 13px; border-radius: var(--radius); border: 1px solid transparent;
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.code-tab:hover { color: var(--ink); }
.code-tab.on { color: var(--blade); background: var(--blade-dim); border-color: var(--blade-dim-2); }
.code-spacer { flex: 1; }
.code-copy {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: var(--radius);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.code-copy:hover { color: var(--blade); border-color: var(--blade-dim-2); }
.code-copy.done { color: var(--verify); border-color: var(--verify-dim); }
.code-body {
  margin: 0; padding: 20px 22px; overflow-x: auto; -webkit-overflow-scrolling: touch;
  font-family: var(--f-mono); font-size: 12.5px; line-height: 1.85; color: var(--ink-2);
}
.code-body code { font: inherit; white-space: pre; display: block; }
.code-body .c { color: var(--ink-4); }   /* comment */
.code-body .s { color: var(--blade-hi); } /* string  */
.code-body .k { color: var(--gold); }     /* keyword */
.code-body .n { color: var(--verify); }   /* number  */
.code-body .o { color: var(--ink-3); }    /* output  */

.receipt-pane { padding: 20px 22px; }
.receipt-pane > .section-tag { margin-bottom: 14px; }
.receipt-json { padding: 0; font-size: 12px; line-height: 1.7; overflow-x: auto; }
.receipt-foot { margin-top: 16px; color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.receipt-foot b { color: var(--blade); font-weight: 600; }

.dev-avail {
  margin-top: 16px; display: flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.01em;
}
.dev-avail .dot-live {
  flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--verify);
  box-shadow: 0 0 9px var(--verify); animation: blink 2.2s ease-in-out infinite;
}

.dev-cards { margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.doc-card { display: flex; flex-direction: column; padding: 22px 22px 20px; }
.doc-card .ic { width: 26px; height: 26px; margin-bottom: 16px; color: var(--blade); }
.doc-card h3 { font-family: var(--f-display); font-weight: 600; font-size: 16px; color: var(--ink); }
.doc-card p { margin-top: 8px; font-size: 13px; color: var(--ink-2); line-height: 1.55; flex: 1; }
.doc-card .doc-go {
  margin-top: 16px; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--blade); transition: color var(--t-fast);
}
.doc-card:hover .doc-go { color: var(--blade-hi); }

@media (max-width: 1080px) {
  .dev-grid { grid-template-columns: 1fr; }
  .dev-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .dev-cards { grid-template-columns: 1fr; }
  .code-body { font-size: 11.5px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .dev-avail .dot-live { animation: none; } }

/* ----------------------------------------------------------------------------
   21 · DOCS PAGE (docs.html) — sticky rail + content, tables, callouts
   Reuses tokens, .card, .hud, .btn, .code-pane/.code-body, .foot. No new deps.
---------------------------------------------------------------------------- */
.brand-sub {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--blade); border-left: 1px solid var(--line-2); margin-left: 10px; padding-left: 10px;
}
.nav-back { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); transition: color var(--t-fast); }
.nav-back:hover { color: var(--blade); }

.docs-shell { display: grid; grid-template-columns: 212px 1fr; gap: 54px; align-items: start; padding-top: 46px; padding-bottom: 92px; }

.docs-rail { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 1px; }
.docs-rail-h { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); padding: 0 14px 12px; }
.docs-rail a {
  font-family: var(--f-mono); font-size: 12.5px; color: var(--ink-3);
  padding: 7px 14px; border-left: 2px solid transparent; margin-left: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.docs-rail a:hover { color: var(--ink); }
.docs-rail a.active { color: var(--blade); border-left-color: var(--blade); }
.docs-rail-foot { margin-top: 18px; padding: 14px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 8px; }

.docs-main { min-width: 0; }
.doc-section { padding: 30px 0 38px; border-bottom: 1px solid var(--line); scroll-margin-top: 84px; }
.doc-section:last-of-type { border-bottom: 0; }
.doc-h1 { font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 4vw, 46px); line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); margin-top: 14px; }
.doc-h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); display: flex; align-items: center; gap: 14px; letter-spacing: -0.01em; }
.doc-n { font-family: var(--f-mono); font-size: 13px; color: var(--blade); border: 1px solid var(--blade-dim-2); background: var(--blade-dim); width: 34px; height: 34px; border-radius: 999px; display: inline-grid; place-items: center; flex: none; }
.doc-lead { margin-top: 14px; color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 72ch; }
.doc-lead b { color: var(--ink); font-weight: 600; }
.doc-p { margin-top: 16px; color: var(--ink-2); font-size: 15px; line-height: 1.66; max-width: 74ch; }

/* inline code (not the code blocks) */
.docs-main :not(pre) > code, .callout code {
  font-family: var(--f-mono); font-size: 0.88em; color: var(--blade-hi);
  background: var(--blade-dim); padding: 1.5px 6px; border-radius: 4px;
}

.doc-duo { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.doc-verb { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--gold); }
.doc-verb.verify { color: var(--verify); }
.doc-duo .card h3 { margin-top: 8px; }
.doc-go { display: inline-block; margin-top: 14px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blade); transition: color var(--t-fast); }
.doc-go:hover { color: var(--blade-hi); }

.callout { margin-top: 24px; border: 1px solid var(--line-2); border-left: 2px solid var(--blade); border-radius: var(--radius); background: var(--panel); padding: 18px 22px; }
.callout-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blade); }
.callout p { margin-top: 8px; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.callout a { color: var(--blade-hi); border-bottom: 1px solid var(--blade-dim-2); }

.doc-steps { margin-top: 22px; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.doc-steps li { color: var(--ink-2); font-size: 15px; line-height: 1.6; padding-left: 6px; }
.doc-steps li::marker { color: var(--blade); font-family: var(--f-mono); font-size: 13px; }
.doc-steps li b { color: var(--ink); }

.doc-list { margin-top: 18px; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.doc-list li { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; display: flex; gap: 11px; }
.doc-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; background: var(--blade); transform: rotate(45deg); }
.doc-list li b { color: var(--ink); }

.endpoint { margin-top: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--void-2); }
.verb { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 4px; }
.verb.post { color: var(--gold); background: var(--gold-dim); }
.verb.get { color: var(--verify); background: var(--verify-dim); }
.route { font-family: var(--f-mono); font-size: 14px; color: var(--ink); background: transparent; padding: 0; }
.endpoint-d { font-size: 13px; color: var(--ink-3); margin-left: auto; }

.doc-table-wrap { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.doc-table th { text-align: left; font-family: var(--f-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--void-2); white-space: nowrap; }
.doc-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; line-height: 1.5; }
.doc-table tr:last-child td { border-bottom: 0; }

.doc-sdks { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.doc-sdks .card { padding: 22px; }
.doc-sdks .card h3 { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 14px; }
.doc-sdks .code-body { padding: 0; font-size: 11.5px; line-height: 1.8; box-shadow: none; }

.concepts { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.concepts .card h3 { font-family: var(--f-display); font-weight: 600; font-size: 17px; color: var(--ink); }
.concepts .card p { margin-top: 10px; color: var(--ink-2); font-size: 14px; line-height: 1.62; }

.docs-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .docs-shell { grid-template-columns: 1fr; gap: 0; }
  .docs-rail { display: none; }
  .doc-duo, .concepts, .doc-sdks { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-back, .brand-sub { display: none; }
  .endpoint-d { margin-left: 0; flex-basis: 100%; }
}
