/* ==========================================================================
   Logical Knight — site stylesheet
   Graphite base · warm gold accent · Instrument Sans / Serif · JetBrains Mono
   ========================================================================== */

@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Surfaces */
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --surface: #131315;
  --surface-2: #19191c;
  --surface-3: #202024;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.2);

  /* Text */
  --text: #f3f0e9;
  --text-2: #aba79f;
  --text-3: #8c8881;

  /* Gold — sampled from the Logical Knight mark */
  --gold: #d8b36c;
  --gold-hi: #ecd09a;
  --gold-lo: #9a7a3e;
  --gold-ink: #1a1408;
  --gold-wash: rgba(216, 179, 108, 0.1);
  --gold-line: rgba(216, 179, 108, 0.36);
  --gold-glow: rgba(216, 179, 108, 0.16);

  /* Type */
  --font-sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", ui-serif, Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Layout */
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 14px;
  --radius-sm: 9px;
  --nav-h: 68px;
  --section: clamp(96px, 12vw, 168px);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
code, pre, kbd, samp { font-family: var(--font-mono); }
::selection { background: rgba(216, 179, 108, 0.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 600;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.66); }
.section + .section { border-top: 1px solid var(--line); }
.section--flush-top { padding-top: 0; }
.section--nob { border-top: 0 !important; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow .idx { color: var(--gold); }
.eyebrow .rule { width: 28px; height: 1px; background: var(--line-3); }

.display {
  font-size: clamp(3.3rem, 9.2vw, 8.25rem);
  line-height: 0.9;
  letter-spacing: -0.052em;
  font-weight: 600;
  text-wrap: balance;
}
.h1 {
  font-size: clamp(2.75rem, 6.8vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.048em;
  font-weight: 600;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(2.2rem, 4.9vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.042em;
  font-weight: 600;
  text-wrap: balance;
}
.h3 {
  font-size: clamp(1.35rem, 2vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.muted { color: var(--text-2); }
.dim { color: var(--text-3); }
.gold { color: var(--gold); }
.lede {
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--text-2);
  max-width: 38em;
  text-wrap: pretty;
}
.lede strong { color: var(--text); font-weight: 500; }
.mono { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0; }

.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 880px; }
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: end;
  gap: 22px 64px;
}
.section-head--split .eyebrow { grid-column: 1 / -1; }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease), box-shadow 0.25s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary {
  background: var(--gold);
  color: var(--gold-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 0 0 1px rgba(216, 179, 108, 0.5), 0 10px 30px -12px rgba(216, 179, 108, 0.55);
}
.btn--primary:hover { background: var(--gold-hi); }
.btn--ghost {
  border: 1px solid var(--line-2);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, 0.05); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 500;
  border-bottom: 1px solid var(--line-3);
  padding-bottom: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.link-arrow:hover { color: var(--gold-hi); border-color: var(--gold); }

/* ---------- Badges / status ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}
.badge--gold { border-color: var(--gold-line); color: var(--gold-hi); background: var(--gold-wash); }
.badge--demo { border-style: dashed; }
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.dot--live { background: var(--gold); box-shadow: 0 0 0 0 var(--gold-glow); animation: pulse 2.4s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 179, 108, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(216, 179, 108, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 179, 108, 0); }
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.78);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex: none;
}
.brand img { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__cta { flex: none; }
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: rgba(10, 10, 11, 0.97);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 24px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s 0.3s;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s, transform 0.3s var(--ease), visibility 0s;
}
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.mobile-menu a:not(.btn) span { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); letter-spacing: 0.1em; }
.mobile-menu .btn { margin-top: 24px; --h: 54px; }
body.menu-open { overflow: hidden; }

/* ---------- Grid backdrop ---------- */
.gridbg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}

/* ==========================================================================
   HERO (company)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px));
  padding-bottom: clamp(72px, 9vw, 128px);
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 58%;
  width: min(1100px, 120vw);
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(216, 179, 108, 0.1), transparent 62%);
  pointer-events: none;
}
.hero__top { position: relative; display: grid; gap: 28px; }
.hero__title { max-width: 12.5ch; }
.hero__status {
  position: absolute;
  right: 0;
  top: 4px;
  width: 290px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(14, 14, 16, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 0.875rem;
}
.hero__status .k { display: block; padding: 11px 16px; border-bottom: 1px solid var(--line); }
.hero__status li { display: grid; grid-template-columns: 10px 1fr; gap: 2px 12px; align-items: center; padding: 12px 16px; }
.hero__status li + li { border-top: 1px solid var(--line); }
.hero__status li em { grid-column: 2; font-style: normal; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.hero__status li:first-child em { color: var(--gold); }
.hero__status .dot--off { background: transparent; border: 1px solid var(--text-3); }
.hero__title .serif { color: var(--gold-hi); padding-right: 0.06em; }
.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 48px;
  margin-top: 12px;
}
.hero__row .lede { max-width: 34em; }

/* System panel: problem → signal → verification → outcome */
.system {
  position: relative;
  margin-top: clamp(56px, 7vw, 88px);
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 40%),
    var(--bg-2);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.panel-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.panel-bar__title { color: var(--text-2); display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.panel-bar__spacer { flex: 1; }
.panel-bar .badge { height: 24px; font-size: 0.7rem; }
.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: border-color 0.2s, color 0.2s;
}
.motion-toggle:hover { border-color: var(--line-3); color: var(--text); }
.motion-toggle svg { width: 12px; height: 12px; }

.system__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 1fr 1.25fr;
  min-height: 380px;
}
.stage {
  position: relative;
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stage + .stage { border-left: 1px solid var(--line); }
.stage__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.stage__label b { color: var(--gold); font-weight: 500; }
.stage__desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.45; margin-top: auto; }

/* problem: scattered fragments */
.frags { display: grid; gap: 8px; }
.frag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.frag i { font-style: normal; color: var(--text-3); margin-left: auto; padding-left: 8px; }
.frag:nth-child(2) { margin-left: 14px; }
.frag:nth-child(3) { margin-left: 4px; opacity: 0.8; }
.frag:nth-child(4) { margin-left: 22px; opacity: 0.65; }
.frag:nth-child(5) { margin-left: 8px; opacity: 0.5; }

/* signal: lines converging */
.signal-svg { width: 100%; height: 220px; overflow: visible; }
.signal-svg .track { stroke: var(--line-2); stroke-width: 1; fill: none; }
.signal-svg .flow {
  stroke: var(--gold);
  stroke-width: 1.4;
  fill: none;
  stroke-dasharray: 3 14;
  animation: flow 1.8s linear infinite;
  opacity: 0.9;
}
.signal-svg .flow.f2 { animation-duration: 2.3s; opacity: 0.55; }
.signal-svg .flow.f3 { animation-duration: 2.9s; opacity: 0.4; }
.signal-svg .node { fill: var(--bg-2); stroke: var(--line-3); }
.signal-svg .node--hot { fill: var(--gold); stroke: none; }
@keyframes flow { to { stroke-dashoffset: -34; } }

/* verification checklist */
.checks { display: grid; gap: 10px; }
.check {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
}
.check__box {
  width: 22px; height: 22px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.02);
}
.check__box svg { width: 12px; height: 12px; }
.check--on { color: var(--text); }
.check--on .check__box { border-color: var(--gold-line); background: var(--gold-wash); }
.verify-seal {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--gold-line);
  background: linear-gradient(180deg, rgba(216, 179, 108, 0.1), rgba(216, 179, 108, 0.03));
  box-shadow: 0 0 40px -10px var(--gold-glow);
}
.verify-seal__ring {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  display: grid;
  place-items: center;
  color: var(--gold-hi);
  flex: none;
}
.verify-seal__ring svg { width: 15px; height: 15px; }
.verify-seal strong { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--gold-hi); font-weight: 500; }
.verify-seal span { font-size: 0.8rem; color: var(--text-2); }

/* outcome: layered record cards */
.stack { position: relative; padding-top: 14px; }
.stack::before, .stack::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  height: 20px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  background: var(--surface);
}
.stack::before { top: 0; left: 26px; right: 26px; opacity: 0.5; }
.stack::after { top: 7px; }
.record {
  position: relative;
  z-index: 1;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--surface-2);
  padding: 14px 16px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.record__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.record__type { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: var(--gold-hi); text-transform: uppercase; }
.record dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 0.82rem; }
.record dt { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); padding-top: 2px; }
.record dd { color: var(--text); min-width: 0; overflow-wrap: anywhere; }
.record__quote { font-family: var(--font-serif); font-style: italic; font-size: 0.95rem; color: var(--text-2); }
.swap { transition: opacity 0.35s, transform 0.35s var(--ease); }
.swap.is-out { opacity: 0; transform: translateY(4px); }

.system__foot {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 1fr 1.25fr;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.system__foot span { padding: 12px 22px; display: flex; align-items: center; gap: 10px; }
.system__foot span + span { border-left: 1px solid var(--line); }
.system__foot span::after { content: "→"; margin-left: auto; color: var(--gold-lo); }
.system__foot span:last-child::after { content: "●"; color: var(--gold); font-size: 0.6rem; }

/* ==========================================================================
   Product intro / flagship
   ========================================================================== */
.flagship__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px 72px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.flagship__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 26px; }
.flagship__name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}
.flagship__aside { display: grid; gap: 26px; }

/* ==========================================================================
   Live demo console
   ========================================================================== */
.demo {
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 4px);
  background: var(--bg-2);
  box-shadow: 0 50px 140px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.demo__tabs { display: flex; gap: 4px; margin-left: 6px; }
.scenario-tab {
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.scenario-tab:hover { color: var(--text); }
.scenario-tab[aria-selected="true"] { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.04); }

.demo__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr) minmax(0, 1.3fr);
  min-height: 520px;
}
.demo__col { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.demo__col + .demo__col { border-left: 1px solid var(--line); }
.col-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* sources */
.sources { display: grid; gap: 8px; }
.source {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.015);
  display: grid;
  gap: 6px;
  transition: border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
}
.source__url { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text); overflow-wrap: anywhere; }
.source__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); }
.source__status { display: inline-flex; align-items: center; gap: 7px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.source__status .dot { width: 6px; height: 6px; background: #6f6c66; }
.source.is-hot { border-color: var(--gold-line); background: var(--gold-wash); box-shadow: 0 0 30px -12px var(--gold-glow); }
.source.is-hot .source__status { color: var(--gold-hi); }
.source.is-hot .source__status .dot { background: var(--gold); animation: pulse 1.6s infinite; }
.source-note { font-size: 0.8rem; color: var(--text-3); margin-top: auto; line-height: 1.5; }

/* pipeline */
.pipeline { display: grid; gap: 0; position: relative; }
.pstep {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding-bottom: 22px;
}
.pstep:last-child { padding-bottom: 0; }
.pstep::before {
  content: "";
  position: absolute;
  left: 16.5px;
  top: 34px;
  bottom: 0;
  width: 1px;
  background: var(--line-2);
}
.pstep:last-child::before { display: none; }
.pstep::after {
  content: "";
  position: absolute;
  left: 16.5px;
  top: 34px;
  width: 1px;
  height: 0;
  background: linear-gradient(var(--gold), var(--gold-lo));
  transition: height 0.6s var(--ease);
}
.pstep.is-done::after { height: calc(100% - 34px); }
.pstep:last-child::after { display: none; }
.pstep__dot {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  background: var(--bg-2);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.pstep__name { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; transition: color 0.3s; }
.pstep__detail { font-size: 0.8rem; color: var(--text-3); line-height: 1.45; margin-top: 2px; min-height: 2.9em; transition: color 0.3s; }
.pstep.is-active .pstep__dot { border-color: var(--gold); color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(216, 179, 108, 0.1); }
.pstep.is-active .pstep__name, .pstep.is-done .pstep__name { color: var(--text); }
.pstep.is-active .pstep__detail, .pstep.is-done .pstep__detail { color: var(--text-2); }
.pstep.is-done .pstep__dot { border-color: var(--gold-line); background: var(--gold-wash); color: var(--gold-hi); }

/* event output */
.out-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 9px; }
.out-tab {
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.out-tab[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.event-wrap { position: relative; flex: 1; display: flex; flex-direction: column; }
.event-empty {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-3);
  padding: 24px;
  min-height: 300px;
}
.event-empty .scan { display: block; width: 120px; height: 2px; margin: 14px auto 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); background-size: 200% 100%; animation: scan 1.6s linear infinite; opacity: 0.7; }
@keyframes scan { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.event {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}
.event__head { padding: 18px 20px 16px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.event__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.event__type { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--gold-hi); text-transform: uppercase; }
.event__company { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; }
.event__place { color: var(--text-2); font-size: 0.95rem; }
.event__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr) minmax(0, 1.35fr); border-bottom: 1px solid var(--line); }
.event__fields .v.mono { overflow-wrap: normal; }
.event__fields > div { padding: 12px 20px; display: grid; gap: 3px; min-width: 0; }
.event__fields > div + div { border-left: 1px solid var(--line); }
.k { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.v { font-size: 0.9rem; color: var(--text); overflow-wrap: anywhere; }
.v.mono { font-size: 0.8rem; }
.event__evidence { padding: 16px 20px 18px; display: grid; gap: 8px; }
.event__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--text);
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}
.event__src { font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-2); overflow-wrap: anywhere; }

.json {
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: #0c0c0e;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-2);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.tk-k { color: #e9dcc0; }
.tk-s { color: var(--gold); }
.tk-b { color: #c9b3ec; }
.tk-n { color: #9fc3b5; }
.tk-p { color: var(--text-3); }
.tk-c { color: var(--text-3); font-style: italic; }
.tk-m { color: var(--gold-hi); font-weight: 500; }

.anim-in { animation: rise 0.6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(10px) scale(0.99); } to { opacity: 1; transform: none; } }

.demo__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--text-3);
}
.demo__foot .spacer { flex: 1; }
.demo__progress { flex: 1 1 160px; max-width: 280px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.demo__progress i { display: block; height: 100%; width: 0; background: var(--gold); }

/* ==========================================================================
   Comparison
   ========================================================================== */
.compare { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: 20px; align-items: stretch; }
.cmp {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: var(--bg-2);
}
.cmp__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.cmp--plain .alert {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-2);
}
.alert__title { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 600; color: var(--text); }
.diffline { display: block; padding: 2px 8px; border-radius: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.diffline.add { background: rgba(255, 255, 255, 0.04); }
.diffline.del { color: var(--text-3); text-decoration: line-through; text-decoration-color: rgba(255,255,255,0.25); }
.cmp--plain .q { margin-top: auto; font-size: 0.95rem; color: var(--text-3); }
.cmp--rich {
  border-color: var(--gold-line);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(216, 179, 108, 0.08), transparent 60%),
    var(--bg-2);
}
.cmp--rich .cmp__label { color: var(--gold); }
.facets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facet { background: var(--bg-2); padding: 16px 18px; display: grid; gap: 6px; align-content: start; }
.facet .k { color: var(--gold); }
.facet p { font-size: 0.95rem; color: var(--text); line-height: 1.4; }
.facet p.mono { font-size: 0.78rem; color: var(--text-2); }

/* ==========================================================================
   How it works — flow
   ========================================================================== */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.flow::before, .flow::after {
  content: "";
  position: absolute;
  left: 0;
  top: 64px;
  pointer-events: none;
}
.flow::before { right: 0; height: 1px; background: var(--line-2); }
.flow::after {
  top: 63px;
  width: 18%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: rail 6s var(--ease) infinite;
}
@keyframes rail { from { transform: translateX(-100%); } to { transform: translateX(560%); } }
.fstep { position: relative; padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fstep + .fstep { border-left: 1px solid var(--line); }
.fstep__num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold); letter-spacing: 0.1em; height: 20px; }
.fstep__node {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 1px solid var(--gold-line);
  background: var(--bg-2);
  position: relative;
  z-index: 1;
  margin: 7px 0 14px;
}
.fstep__node::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold); }
.fstep h3 { font-family: var(--font-mono); font-size: 0.95rem; font-weight: 500; letter-spacing: 0.12em; }
.fstep p { font-size: 0.95rem; color: var(--text-2); line-height: 1.5; }
.fstep__art {
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.015);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--text-3);
  min-height: 78px;
}
.fstep__art b { color: var(--gold-hi); font-weight: 500; }
.fstep__art s { color: var(--text-3); text-decoration-color: rgba(255, 255, 255, 0.3); }
.fstep__art em { font-style: normal; color: var(--text); }

/* ==========================================================================
   Use cases — explorer
   ========================================================================== */
.explorer { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.uc-list { display: grid; border-top: 1px solid var(--line); }
.uc-tab {
  display: grid;
  grid-template-columns: 44px 1fr 20px;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  transition: color 0.25s;
}
.uc-tab .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }
.uc-tab .t { font-size: clamp(1.3rem, 2.3vw, 1.85rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.uc-tab svg { width: 18px; height: 18px; opacity: 0; transform: translateX(-6px); transition: opacity 0.25s, transform 0.25s var(--ease); color: var(--gold); }
.uc-tab:hover { color: var(--text-2); }
.uc-tab[aria-selected="true"] { color: var(--text); }
.uc-tab[aria-selected="true"] .n { color: var(--gold); }
.uc-tab[aria-selected="true"] svg { opacity: 1; transform: none; }
.uc-panel {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
}
.uc-panel[hidden] { display: none; }
.uc-panel__intro { padding: 24px 24px 20px; display: grid; gap: 14px; border-bottom: 1px solid var(--line); }
.uc-panel__intro p { color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-size: 0.85rem;
  color: var(--text-2);
  white-space: nowrap;
}
.feed { display: grid; }
.feed__row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.feed__row:last-child { border-bottom: 0; }
.feed__type { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.feed__what { min-width: 0; }
.feed__what small { display: block; color: var(--text-3); font-size: 0.8rem; margin-top: 2px; font-family: var(--font-mono); overflow-wrap: anywhere; }
.feed__lang { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 2px 7px; }
.panel-note { padding: 12px 24px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); border-top: 1px solid var(--line); background: rgba(255,255,255,0.012); }

/* ==========================================================================
   Delivery — humans + machines
   ========================================================================== */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.lane {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}
.lane__head { display: grid; gap: 12px; }
.lane__kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.lane__list { display: grid; border-top: 1px solid var(--line); }
.lane__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.lane__list li span:first-child { font-weight: 500; }
.lane__list li span:last-child { color: var(--text-3); font-size: 0.9rem; text-align: right; }
.mini-table { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-size: 0.82rem; margin-top: auto; }
.mini-table__row { display: grid; grid-template-columns: 1.3fr 1fr 0.9fr 64px; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); align-items: center; }
.mini-table__row:first-child { border-top: 0; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); background: rgba(255,255,255,0.02); }
.mini-table__row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-table__row .t { font-family: var(--font-mono); font-size: 0.7rem; color: var(--gold); }
.ok { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--gold-hi); }
.ok svg { width: 11px; height: 11px; }
.exchange { margin-top: auto; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; font-family: var(--font-mono); font-size: 0.74rem; }
.exchange__row { display: grid; grid-template-columns: 60px 1fr; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); align-items: baseline; color: var(--text-2); }
.exchange__row:first-child { border-top: 0; }
.exchange__row .who { color: var(--text-3); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.exchange__row b { color: var(--gold-hi); font-weight: 500; }
.exchange__row em { font-style: normal; color: var(--text); }

/* ==========================================================================
   Code block (developer experience)
   ========================================================================== */
.devx { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.devx__points { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 32px; }
.devx__points li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.devx__points li b { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gold); font-weight: 500; padding-top: 4px; }
.devx__points li p { color: var(--text-2); }
.devx__points li p strong { color: var(--text); font-weight: 500; }
.code {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #0c0c0e;
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
  min-width: 0;
}
.code__bar { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.code__tabs { display: flex; gap: 4px; }
.code__tab {
  height: 32px;
  padding: 0 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-3);
  transition: color 0.2s, background-color 0.2s;
}
.code__tab:hover { color: var(--text); }
.code__tab[aria-selected="true"] { color: var(--text); background: var(--surface-3); }
.code__copy {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-3);
  border: 1px solid var(--line);
}
.code__copy:hover { color: var(--text); border-color: var(--line-2); }
.code__copy svg { width: 13px; height: 13px; }
.code pre {
  margin: 0;
  padding: 20px 0;
  font-size: 0.82rem;
  line-height: 1.75;
  overflow-x: auto;
  counter-reset: ln;
  color: var(--text-2);
}
.code pre[hidden] { display: none; }
.code .ln { display: block; padding: 0 22px 0 0; white-space: pre; }
.code .ln::before {
  counter-increment: ln;
  content: counter(ln);
  display: inline-block;
  width: 44px;
  padding-right: 18px;
  text-align: right;
  color: #4c4a46;
  user-select: none;
}
.code__note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--bg-2);
}

/* ==========================================================================
   Evidence
   ========================================================================== */
.evidence {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 90px minmax(0, 0.95fr);
  align-items: center;
}
.doc {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #111113;
  overflow: hidden;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.9);
}
.doc__chrome { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.doc__dots { display: flex; gap: 6px; }
.doc__dots i { width: 9px; height: 9px; border-radius: 50%; background: #2a2a2e; }
.doc__url {
  flex: 1;
  min-width: 0;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.doc__url svg { width: 11px; height: 11px; flex: none; color: var(--text-3); }
.doc__page { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; }
.doc__crumb { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }
.doc__h { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.doc__p { color: var(--text-3); font-size: 0.95rem; line-height: 1.65; }
.hl {
  color: var(--text);
  background-color: transparent;
  background-image: linear-gradient(rgba(216, 179, 108, 0.26), rgba(216, 179, 108, 0.26));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: inset 0 -1px 0 var(--gold);
  padding: 1px 2px;
  border-radius: 2px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size 1.1s var(--ease) 0.2s;
}
.doc__meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.doc__meta > div { padding: 12px 16px; display: grid; gap: 4px; min-width: 0; }
.doc__meta > div + div { border-left: 1px solid var(--line); }
.doc__meta .v { font-size: 0.76rem; overflow-wrap: normal; }
.tag-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-hi);
}
.tag-verified svg { width: 12px; height: 12px; }
.bridge { position: relative; height: 100%; min-height: 200px; }
.bridge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bridge__a, .bridge__b { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); top: 50%; margin-top: -3.5px; }
.bridge__a { left: -3px; } .bridge__b { right: -3px; }
.bridge--v { display: none; }
.bridge path { fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-dasharray: 4 7; animation: flow 1.6s linear infinite; }
.bridge circle { fill: var(--gold); }
.evidence__event .event { box-shadow: 0 0 0 1px var(--gold-line), 0 40px 90px -40px rgba(0, 0, 0, 0.9), 0 0 80px -30px var(--gold-glow); }

/* ==========================================================================
   Multilingual
   ========================================================================== */
.langs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.lang-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.lang-tab {
  min-width: 56px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.lang-tab:hover { color: var(--text); border-color: var(--line-3); }
.lang-tab[aria-selected="true"] { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.lang-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.lang-card__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: pretty;
  min-height: 3.75em;
}
.lang-card__src { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); margin-top: auto; overflow-wrap: anywhere; }
.lang-card .json { border: 0; padding: 0; background: none; font-size: 0.82rem; }
.lang-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); }
.lang-grid div { background: var(--bg-2); padding: 12px 14px; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); letter-spacing: 0.06em; }
.lang-grid b { display: block; color: var(--text); font-size: 0.85rem; font-weight: 500; margin-bottom: 2px; }

/* ==========================================================================
   Principles — large type
   ========================================================================== */
.principles { display: grid; border-top: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: 90px minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 16px 40px;
  align-items: baseline;
  padding: clamp(28px, 4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}
.principle__n { font-family: var(--font-mono); font-size: 0.8rem; color: var(--gold); }
.principle h3 { font-size: clamp(2.2rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -0.048em; font-weight: 600; }
.principle p { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-2); line-height: 1.5; max-width: 26em; }

/* ==========================================================================
   Proof — capability sheet
   ========================================================================== */
.sheet { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.sheet__row { display: grid; grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1.4fr) auto; gap: 20px; align-items: center; padding: 22px 26px; border-top: 1px solid var(--line); }
.sheet__row:first-child { border-top: 0; }
.sheet__row .n { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-3); }
.sheet__row h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.sheet__row p { color: var(--text-2); font-size: 0.98rem; }
.sheet__state { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-hi); white-space: nowrap; }
.sheet__foot { padding: 16px 26px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--text-3); background: rgba(255,255,255,0.012); }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--line-2);
  border-radius: calc(var(--radius) + 10px);
  padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 88px);
  background:
    radial-gradient(ellipse 60% 80% at 50% 120%, rgba(216, 179, 108, 0.16), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-2));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%);
  mask-image: linear-gradient(180deg, transparent, #000 70%);
  opacity: 0.6;
}
.cta::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.8;
}
.cta__copy { display: grid; gap: 24px; }
.cta__mail {
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(10, 10, 11, 0.7);
  overflow: hidden;
  font-size: 0.9rem;
}
.cta__mail-row { display: grid; grid-template-columns: 80px 1fr; gap: 12px; padding: 11px 16px; border-top: 1px solid var(--line); }
.cta__mail-row:first-child { border-top: 0; }
.cta__mail-row .k { padding-top: 3px; }
.cta__mail-row .v { color: var(--text-2); }
.cta__mail-body { padding: 14px 16px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.76rem; line-height: 1.8; color: var(--text-2); }
.cta__mail-body b { color: var(--gold-hi); font-weight: 500; }

/* ==========================================================================
   Company / approach
   ========================================================================== */
.approach { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.approach__lead { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 24px; }
.steps { counter-reset: step; display: grid; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 16px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-2);
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.step h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.1; padding-top: 4px; }
.step p { grid-column: 2; color: var(--text-2); max-width: 32em; }
.step:last-child .step__n { border-color: var(--gold); color: var(--gold-ink); background: var(--gold); }
.step:hover .step__n { border-color: var(--gold-line); color: var(--gold-hi); }
.step:last-child:hover .step__n { color: var(--gold-ink); }
.company {
  margin-top: clamp(64px, 8vw, 112px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px 64px;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.company__statement { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.25; letter-spacing: -0.03em; font-weight: 500; text-wrap: pretty; }
.company__statement .dim { color: var(--text-3); }
.company__side { display: grid; gap: 20px; }
.private {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  color: var(--text-2);
}
.private svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* ==========================================================================
   Product page specifics
   ========================================================================== */
.p-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 104px)); padding-bottom: clamp(48px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 28px; }
.crumbs a:hover { color: var(--text); }
.p-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px 72px; align-items: end; }
.p-hero__title { max-width: 11ch; }
.p-hero__side { display: grid; gap: 28px; }
.p-hero__index { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: clamp(40px, 5vw, 64px); padding-top: 20px; border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.p-hero__index a { transition: color 0.2s; }
.p-hero__index a:hover { color: var(--gold-hi); }

.monitors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.srcmap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; align-content: start; }
.srcmap__co { display: flex; align-items: center; gap: 12px; }
.srcmap__co .logo-sq { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold); background: var(--gold-wash); }
.srcmap__co strong { font-weight: 600; letter-spacing: -0.01em; }
.srcmap__co small { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-3); }
.tree { display: grid; gap: 0; border-left: 1px solid var(--line-2); margin-left: 17px; }
.tree li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 9px 0 9px 20px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-2); }
.tree li::before { content: ""; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--line-2); }
.tree li span:first-child { overflow-wrap: anywhere; min-width: 0; }
.tree li span:last-child { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types code { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2); font-size: 0.78rem; color: var(--text); background: rgba(255,255,255,0.02); }
.types code::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); margin-right: 9px; opacity: 0.85; }

.anatomy { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.fields { display: grid; border-top: 1px solid var(--line); }
.field {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 14px;
  width: 100%;
  text-align: left;
  padding: 18px 12px 18px 4px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s;
  border-radius: 0;
}
.field__n { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-3); padding-top: 4px; transition: color 0.2s; }
.field__t { font-weight: 600; font-size: 1.1rem; letter-spacing: -0.015em; }
.field__d { grid-column: 2; color: var(--text-2); font-size: 0.95rem; }
.field__d code { font-size: 0.8rem; color: var(--gold-hi); }
.field:hover, .field.is-on { background: rgba(255,255,255,0.025); }
.field.is-on .field__n { color: var(--gold); }
.code .ln.is-on { background: linear-gradient(90deg, rgba(216, 179, 108, 0.14), rgba(216, 179, 108, 0.03)); box-shadow: inset 2px 0 0 var(--gold); }
.code .ln { transition: background-color 0.25s; }
.anatomy .code { position: sticky; top: calc(var(--nav-h) + 24px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__brand p { color: var(--text-2); max-width: 26em; font-size: 0.98rem; }
.footer h2 { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: var(--text-2); font-size: 0.96rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--gold-hi); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding: 22px 0; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--text-3); }
.footer__word {
  font-size: calc((min(100vw, var(--max) + var(--gutter) * 2) - var(--gutter) * 2) / 7.1);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.8;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(243, 240, 233, 0.09), rgba(243, 240, 233, 0.015) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  margin-top: 24px;
  margin-bottom: -0.1em;
  user-select: none;
  text-align: center;
}

/* ==========================================================================
   Reveal on scroll (only when JS present)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: 0.08s; }
.js [data-reveal="3"] { transition-delay: 0.16s; }
.js .hl-wait .hl { background-size: 0% 100%; }

/* Paused motion (user toggle) */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .demo__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .demo__col--pipe { order: -1; grid-column: 1 / -1; border-left: 0 !important; border-bottom: 1px solid var(--line); }
  .demo__col--pipe .pipeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .demo__col--pipe .pstep { padding-bottom: 0; grid-template-columns: 1fr; gap: 10px; }
  .demo__col--pipe .pstep::before, .demo__col--pipe .pstep::after { left: 44px; right: 0; top: 16.5px; bottom: auto; width: auto; height: 1px; }
  .demo__col--pipe .pstep::after { width: 0; right: auto; transition: width 0.6s var(--ease); }
  .demo__col--pipe .pstep.is-done::after { height: 1px; width: calc(100% - 44px + 12px); }
  .demo__col--pipe .pstep:last-child::before { display: none; }
  .demo__col--pipe .pstep__detail { min-height: 0; }
  .demo__col--src { border-left: 0 !important; }
}

@media (max-width: 1080px) {
  .hero__status { display: none; }
  .nav__links a { padding: 0 10px; }
  .system__grid, .system__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage:nth-child(3) { border-left: 0; }
  .stage:nth-child(n+3) { border-top: 1px solid var(--line); }
  .system__foot span:nth-child(3) { border-left: 0; }
  .system__foot span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow::before, .flow::after { display: none; }
  .fstep + .fstep { border-left: 0; }
  .fstep:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fstep:nth-child(even) { border-left: 1px solid var(--line); }
  .fstep:last-child { grid-column: 1 / -1; }
  .principle { grid-template-columns: 60px minmax(0, 1fr); }
  .principle p { grid-column: 2; }
  .sheet__row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .sheet__row p { grid-column: 2; }
  .sheet__row .sheet__state { grid-column: 3; grid-row: 1; }
  .evidence { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bridge { min-height: 88px; height: 88px; }
  .bridge--h { display: none; } .bridge--v { display: block; }
  .bridge__a, .bridge__b { left: 50%; margin-left: -3.5px; margin-top: 0; }
  .bridge__a { top: -3px; } .bridge__b { top: auto; bottom: -3px; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .hero__row, .flagship__head, .section-head--split, .p-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .compare, .duo, .devx, .langs, .monitors, .anatomy, .approach, .company, .cta, .explorer { grid-template-columns: minmax(0, 1fr); }
  .approach__lead, .anatomy .code { position: static; }
  .explorer { gap: 28px; }
  .demo__body { grid-template-columns: minmax(0, 1fr); }
  .demo__col + .demo__col { border-left: 0; border-top: 1px solid var(--line); }
  .demo__col--pipe { border-bottom: 0; }
  .event-empty { min-height: 220px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  body { font-size: 1rem; }
  .hero__title { max-width: none; }
  .hero .eyebrow .idx, .hero .eyebrow .rule { display: none; }
  .code .ln { white-space: pre-wrap; overflow-wrap: anywhere; padding-left: 46px; text-indent: -46px; }
  .json { white-space: pre-wrap; overflow-wrap: anywhere; }
  .btn-row .btn { flex: 1 1 auto; }
  .system__grid, .system__foot { grid-template-columns: minmax(0, 1fr); }
  .stage + .stage { border-left: 0; border-top: 1px solid var(--line); }
  .system__foot { display: none; }
  .signal-svg { height: 120px; }
  .frag:nth-child(n) { margin-left: 0; }
  .frag:nth-child(n+4) { display: none; }
  .panel-bar { padding: 0 12px; gap: 10px; flex-wrap: wrap; padding-block: 8px; }
  .panel-bar .hide-sm { display: none; }
  .demo__tabs { margin-left: 0; order: 5; width: 100%; overflow-x: auto; }
  .demo__col { padding: 18px 16px; }
  .demo__col--pipe .pipeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .demo__col--pipe .pstep::before, .demo__col--pipe .pstep::after { left: 40px; }
  .demo__col--pipe .pstep__detail { display: none; }
  .demo__col--pipe .pstep__name { font-size: 0.7rem; letter-spacing: 0.08em; }
  .event__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .event__fields > div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .event__head, .event__evidence, .event__fields > div { padding-inline: 16px; }
  .facets { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .fstep:nth-child(even) { border-left: 0; }
  .fstep + .fstep { border-top: 1px solid var(--line); }
  .fstep { display: grid; grid-template-columns: 34px 1fr; gap: 6px 14px; padding: 20px 18px; }
  .fstep__num { grid-row: 1; grid-column: 1; }
  .fstep__node { display: none; }
  .fstep h3, .fstep p, .fstep .fstep__art { grid-column: 2; }
  .fstep .fstep__art { min-height: 0; margin-top: 6px; }
  .uc-tab { padding: 18px 2px; grid-template-columns: 36px 1fr 18px; }
  .feed__row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 18px; }
  .feed__type { grid-column: 1 / -1; }
  .uc-panel__intro { padding: 20px 18px; }
  .panel-note { padding: 12px 18px; }
  .mini-table__row { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; }
  .tree li { grid-template-columns: 1fr; }
  .tree li span:last-child { display: none; }
  .mini-table__row span:nth-child(3) { display: none; }
  .exchange__row { grid-template-columns: 1fr; gap: 2px; }
  .code pre { font-size: 0.74rem; }
  .code .ln::before { width: 34px; padding-right: 12px; }
  .code__tab { padding: 0 9px; font-size: 0.7rem; }
  .code__copy span { display: none; }
  .doc__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc__meta > div:nth-child(3) { border-left: 0; }
  .doc__meta > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lang-tab { flex: 1 1 calc(33.333% - 8px); }
  .principle { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .principle p { grid-column: auto; }
  .sheet__row { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 8px; }
  .sheet__row .n { display: none; }
  .sheet__row p { grid-column: 1; grid-row: 3; }
  .sheet__row .sheet__state { grid-column: 1; grid-row: 2; white-space: normal; }
  .sheet__foot { padding: 16px 20px; }
  .cta { padding: 36px 22px; border-radius: 20px; }
  .cta__mail-row { grid-template-columns: 64px 1fr; }
  .step { grid-template-columns: 52px 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid > div:last-child { grid-column: 1 / -1; }
  .lane__list li { flex-direction: column; gap: 2px; }
  .lane__list li span:last-child { text-align: left; }
}

@media (max-width: 380px) {
  .display { font-size: 2.85rem; }
  .h1 { font-size: 2.6rem; }
  .h2 { font-size: 2.05rem; }
  .event__company { font-size: 1.2rem; }
  .brand span { font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .flow::after { display: none; }
  .signal-svg .flow, .bridge path { stroke-dasharray: none; }
  .motion-toggle { display: none; }
}
