/* ═══════════════════════════════════════════════
   TOKENS
═══════════════════════════════════════════════ */
:root {
  --bg: #000000;
  --bg-alt: #000000;
  --surface: #220c0c66;
  --surface2: #111111;
  --surface3: #171717;
  --border: rgb(139 49 70 / 18%);
  --border-hi: rgb(130 51 51 / 25%);
  --red: #db061d;
  /* WCAG AA text weight: --red is 4.06:1 on black, which fails AA 4.5 for
       normal text. Every small red label therefore uses --red-text (5.51:1).
       --red stays as the FILL colour (buttons, bars, borders) where the
       threshold is 3.0 and the saturated value is the design intent. */
  --red-text: #ff2036;
  --red-dim: rgba(184, 25, 42, 0.1);
  --red-mid: rgba(184, 25, 42, 0.22);
  --red-glow: rgba(184, 25, 42, 0.35);
  --text: #dce6ef;
  --text-hi: #ffffff;
  --text-soft: #d2deec;
  --red-bright: #ff1313;
  --green: #1a9e5c;
  --green-dim: rgba(26, 158, 92, 0.14);
  --amber: #c8820f;

  --sans: 'Poppins', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.18s ease;
  --hover-glow: 0 0 24px rgb(195 9 29 / 26%), 0 0 1px rgba(184, 25, 42, 0.35);
  --hover-glow-green: 0 0 24px rgb(26 158 92 / 32%), 0 0 1px rgba(26, 158, 92, 0.45);
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box; /* margin: 0; */
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
}
body {
  font-family: var(--sans);
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Matrix rain background — red, alleen in hero-zone */
.mx-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  opacity: 0.42;
}

/* ═══════════════════════════════════════════════
   NAVIGATION (agent-aix.com style)
═══════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.6) 80%, transparent 100%);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(219, 6, 29, 0.15);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 40px;
  color: var(--text-hi);
  text-decoration: none;
}

.nav-logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.nav-brand-name {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-brand-tag {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-soft);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: clamp(10px, 1.1vw, 20px);
  align-items: center;
  margin: 0 auto;
  position: absolute;
  /* full-width track — left:50% capped the box at half the nav width and
       forced the longer labels onto a second line */
  /* 2026-10-29: an 8th label (XCOM-AGI) made a truly full-width track render the
       leftmost link UNDER the logo (measured in the browser). The track is therefore
       inset past both the logo block and the language switcher. */
  left: 168px;
  right: 104px;
  justify-content: center;
  flex-wrap: nowrap;
  pointer-events: none;
}
.nav-links a,
.nav-links .nav-sep {
  pointer-events: auto;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #b8b8b8;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 1560px) {
  .nav-brand-copy {
    display: none;
  }
  .nav-links {
    left: 92px;
    right: 92px;
  }
}
@media (max-width: 1320px) {
  /* the nav link points at /whitepaper.html — a [href="#whitepaper"] selector never
       matched it (measured 2026-10-29: label stayed visible at 1024px) */
  nav .nav-links a[href='/whitepaper.html'] {
    display: none;
  }
  /* a hidden last link must not leave its trailing separator floating */
  nav .nav-links .nav-sep:last-of-type {
    display: none;
  }
}
@media (max-width: 1180px) {
  nav .nav-links a[href='/roadmap.html'] {
    display: none;
  }
  nav .nav-links .nav-sep:nth-of-type(5) {
    display: none;
  }
}

.nav-links .nav-sep {
  color: var(--red-text);
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.nav-links a:hover {
  color: var(--red-text) !important;
}
.nav-links a:active {
  color: #555 !important;
}

.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.lang-btn {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #f6f6f6;
  text-transform: uppercase;
  background: rgba(219, 6, 29, 0.08);
  border: 1px solid rgba(219, 6, 29, 0.35);
  padding: 0.22rem 0.55rem;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
  line-height: 1;
  white-space: nowrap;
}

.lang-btn:hover {
  background: rgba(219, 6, 29, 0.2);
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 5px);
  background: #0a0a0a;
  border: 1px solid rgba(219, 6, 29, 0.35);
  min-width: 64px;
  z-index: 9999;
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown a {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-soft);
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  text-decoration: none;
  transition:
    color 0.15s,
    background 0.15s;
}

.lang-dropdown a:hover,
.lang-dropdown a.lang-active {
  color: #fff;
  background: rgba(219, 6, 29, 0.14);
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  nav {
    padding: 12px 20px;
  }
  .nav-brand-tag {
    display: none;
  }
  .nav-logo img {
    height: 30px;
  }
}

@media (max-width: 420px) {
  .lang-switcher {
    margin-left: 0.5rem;
  }
  .lang-btn {
    padding: 0.18rem 0.4rem;
    font-size: 0.6rem;
  }
  .lang-dropdown {
    right: 0;
  }
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background-image:
        radial-gradient(circle, rgba(184,25,42,.12) 1px, transparent 1px),
        radial-gradient(circle, rgba(49,91,139,.10) 1px, transparent 1px); */
  background-size:
    40px 40px,
    20px 20px;
  background-position:
    0 0,
    10px 10px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid rgba(29, 185, 84, 0.4);
  color: #1db954;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  flex-shrink: 0;
}

@keyframes logo-appear {
  0% {
    opacity: 0;
    transform: scale(0.55) rotate(-360deg);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
.hero-logo-img {
  display: block;
  width: clamp(189px, 23.6vw, 297px);
  height: auto;
  margin: 0 auto 6px;
}
.hero-headline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(135deg, var(--red) 0%, #e03050 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@font-face {
  font-family: 'Vipnagorgialla';
  src: url('/fonts/Vipnagorgialla%20Bd.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.hero-intro h1 {
  font-family: 'Vipnagorgialla', 'Poppins', sans-serif;
  font-size: clamp(88px, 8vw, 99px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.4;
  text-transform: uppercase;
  margin-bottom: 0;
  color: #ffffff;
  display: inline-block;
  position: relative;
}
.hero-intro h1::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 9, 9, 0.75) 25%, rgba(232, 0, 0, 0.75) 75%, transparent);
  margin-top: 24px;
  margin-bottom: 20px;
}
.hero-stripe {
  display: none;
}
.hero-intro h1 span {
  display: inline-block;
  text-shadow: 0 0 4px rgba(219, 6, 29, 0.25);
  animation: hero-elec 2.4s ease-in-out calc(3s + var(--i) * 0.18s) forwards;
}

@keyframes hero-elec {
  0%,
  100% {
    text-shadow: 0 0 4px rgba(219, 6, 29, 0.25);
  }
  50% {
    text-shadow:
      0 0 10px rgba(255, 50, 70, 0.85),
      0 0 28px rgba(219, 6, 29, 0.65),
      0 0 48px rgba(219, 6, 29, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro h1 span {
    animation: none;
  }
}
.hero-xcom-word {
  display: inline-block;
  color: #ffffff;
}
.hero-typer-wrap {
  margin: 0 auto 16px;
  text-align: center;
}
.hero-typer {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  color: #fe0303;
}
.hero-sub {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--red-text);
  max-width: 900px;
  margin: 4px auto 36px;
  line-height: 1.55;
  border: none;
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-shadow:
    0 0 12px rgba(219, 6, 29, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}
.hero-sub::after {
  content: '|';
  color: var(--red-text);
  margin-left: 2px;
  animation: cursor-blink 0.8s step-end infinite;
}
.hero-sub.typing-done::after {
  animation: none;
  opacity: 0;
}

@keyframes cursor-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    background var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.btn-primary:hover {
  background: #9e1524;
  box-shadow:
    0 0 32px var(--red-glow),
    0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid var(--border-hi);
  transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
}
.btn-secondary:hover {
  border-color: rgba(184, 25, 42, 0.4);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-1px);
}
.btn-arrow {
  font-size: 16px;
  transition: transform var(--transition);
}
.btn-primary:hover .btn-arrow,
.btn-secondary:hover .btn-arrow {
  transform: translateX(3px);
}

/* Trust badges */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--red-bright);
}
.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.trust-dot.amber {
  background: var(--amber);
}
.trust-sep {
  color: rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

/* ═══════════════════════════════════════════════
   CREDIBILITY STRIP
═══════════════════════════════════════════════ */
.cred-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 24px;
}
.cred-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.cred-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.cred-dot {
  flex-shrink: 0;
  line-height: 1;
}
.cred-dot::before {
  content: '✓';
  color: var(--green);
  font-weight: 900;
  font-size: 14px;
}
.cred-sep {
  color: var(--border-hi);
  font-size: 12px;
}

/* ═══════════════════════════════════════════════
   SOCIAL PROOF STRIP
═══════════════════════════════════════════════ */
.proof-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  display: flex;
  justify-content: center;
}
.proof-bar-inner {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.proof-cell {
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.proof-cell:last-child {
  border-right: none;
}
.proof-num {
  font-family: var(--mono);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.proof-num strong {
  color: var(--red-text);
  font-weight: 700;
}
.proof-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-bright);
}
@media (max-width: 600px) {
  .proof-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .proof-cell:nth-child(2) {
    border-right: none;
  }
}

/* ═══════════════════════════════════════════════
   SECTION SHARED
═══════════════════════════════════════════════ */
.section {
  padding: 96px 24px;
}
.section-sm {
  padding: 64px 24px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}
.section-title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--text-hi);
  margin-bottom: 16px;
}
.section-title::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(219, 6, 29, 0.75) 25%, rgba(219, 6, 29, 0.75) 75%, transparent);
  margin-top: 16px;
}
.section-desc {
  font-size: 15px;
  color: rgb(232, 232, 232);
  max-width: 800px;
  line-height: 1.65;
  padding: 12px 14px;
  border: none;
}
.section-head {
  margin-bottom: 56px;
}

.rule {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(219, 6, 29, 0.75) 25%, rgba(219, 6, 29, 0.75) 75%, transparent);
  margin: 0;
}

/* ═══════════════════════════════════════════════
   PROBLEM SECTION
═══════════════════════════════════════════════ */
.problem-section {
  background: var(--bg-alt);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.problem-card {
  background: var(--surface);
  padding: 36px 32px;
  border: 1px solid rgb(130 32 55 / 50%);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.problem-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--hover-glow);
}
.problem-card:hover::before {
  opacity: 1;
}
.problem-number {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--red-bright);
  margin-bottom: 20px;
}
.problem-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.problem-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 14px;
  line-height: 1.3;
  padding-bottom: 10px;
  border-bottom: 2px solid #db061d78;
  display: block;
}
.problem-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   PILLARS / MODULES — XCOM Intel dashboard style
═══════════════════════════════════════════════ */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.pillar {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
  cursor: default;
}
.pillar:hover {
  border-color: rgba(219, 6, 29, 0.5);
  box-shadow: 0 0 24px rgba(219, 6, 29, 0.12);
}

/* ── header bar ── */
.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #080808;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pillar-product {
  font-family: 'Poppins', sans-serif;
  font-size: 33px;
  font-weight: 900;
  text-transform: uppercase;
  color: #eb0707;
}
.pillar-icon {
  display: none;
}

/* ── body: split grid ── */
.pillar-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
}
.pillar-title {
  grid-column: 1 / -1;
  display: block;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-transform: none;
  line-height: 1;
  padding: 10px 14px;
  background: rgba(219, 6, 29, 0.07);
  border: none;
  margin: 0;
  border-radius: 0;
}
.pillar-audience {
  display: none;
}
.pillar-desc {
  grid-column: 1;
  grid-row: 2;
  font-size: 14px;
  color: rgb(232, 232, 232);
  line-height: 1.65;
  padding: 12px 14px;
  border: none;
}
.pillar-feats {
  grid-column: 2;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: column;
  border: none;
}
.pillar-feat {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.58);
  padding: 9px 12px 9px 22px;
  position: relative;
  border: none;
  display: flex;
  align-items: center;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.pillar-feat::before {
  content: '✓';
  position: absolute;
  left: 7px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  line-height: 1;
  color: #1db954;
  font-weight: 700;
}
.pillar:hover .pillar-feat {
  color: rgba(255, 255, 255, 0.85);
}
.pillar:hover .pillar-feat::before {
  color: #00e664;
  font-size: 13px;
  font-weight: 900;
}
.pillar-tags {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 14px;
  border: none;
  align-content: flex-start;
}
.ptag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--red);
  border: none;
  padding: 4px 10px;
  border-radius: 2px;
  transition: background 0.15s ease;
}
.pillar:hover .ptag {
  background: #a80015;
}
.electric {
  color: #ffffff;
  text-shadow:
    0 0 4px #ffffff,
    0 0 14px rgba(255, 255, 255, 0.8),
    0 0 32px rgba(255, 255, 255, 0.45),
    0 0 64px rgba(200, 220, 255, 0.2);
}
.pillar-preview {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px;
  background: #080808;
}
.pillar-preview img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-radius: 3px;
  opacity: 0.88;
  transition:
    opacity 0.2s ease,
    border 0.2s ease;
}
.pillar:hover .pillar-preview img {
  opacity: 1;
  border: 1px solid #1db954;
}
.pillar-preview-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}
@keyframes label-blink-red {
  0%,
  100% {
    color: #ff1a2e;
    text-shadow: 0 0 8px rgba(255, 26, 46, 0.7);
  }
  50% {
    color: rgba(255, 255, 255, 0.35);
    text-shadow: none;
  }
}
.pillar-preview-label.label-blinking {
  animation: label-blink-red 0.5s ease 6;
}
.pillar-preview-label.label-green {
  color: #1db954;
  text-shadow: 0 0 6px rgba(29, 185, 84, 0.4);
  animation: none;
}
.pillar-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: none;
}
.pillar-section {
  display: flex;
  flex-direction: column;
  border: none;
}
.pillar-dual .pillar-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.pillar-dual .pillar-title {
  grid-column: unset;
}
.pillar-dual .pillar-desc {
  grid-column: unset;
  grid-row: unset;
  border-right: none;
}
.pillar-dual .pillar-feats {
  grid-column: unset;
  grid-row: unset;
  border-left: none;
  flex: 1;
}
.pillar-dual .pillar-tags {
  grid-column: unset;
  grid-row: unset;
  border-right: none;
}
@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .pillar-body {
    grid-template-columns: 1fr;
  }
  .pillar-title {
    grid-column: 1;
  }
  .pillar-desc {
    grid-column: 1;
    grid-row: 2;
    border-right: none;
  }
  .pillar-feats {
    grid-column: 1;
    grid-row: 3;
    border: none;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pillar-feat {
    flex: 0 0 50%;
  }
  .pillar-tags {
    grid-column: 1;
    grid-row: 4;
    border-right: none;
  }
}

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how-section {
  background: var(--bg-alt);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(33.33% - 1px);
  right: calc(33.33% - 1px);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.how-step {
  padding: 40px 32px;
  text-align: center;
}
.how-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--red-text);
  position: relative;
  z-index: 1;
}
.how-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 10px;
}
.how-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
}
@media (max-width: 700px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-grid::before {
    display: none;
  }
}

/* ═══════════════════════════════════════════════
   FEATURE DEEP-DIVE
═══════════════════════════════════════════════ */
.feature-section {
  background: var(--bg);
}
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.feature-split + .feature-split {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--border);
}
.feature-split.reverse {
  direction: rtl;
}
.feature-split.reverse > * {
  direction: ltr;
}
.feature-module {
  position: relative;
}
.feature-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 12px;
}
.feature-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--text-hi);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.feature-body {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.feature-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}
.feature-visual {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: sticky;
  top: 80px;
}
.feature-vis-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 20px;
}
.fv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}
.fv-row:last-child {
  border-bottom: none;
}
.fv-key {
  color: var(--text-soft);
  font-size: 12px;
}
.fv-val {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
}
.fv-val.ok {
  color: #1a9e5c;
  background: var(--green-dim);
  border: 1px solid rgba(26, 158, 92, 0.25);
}
.fv-val.warn {
  color: var(--amber);
  background: rgba(200, 130, 15, 0.1);
  border: 1px solid rgba(200, 130, 15, 0.25);
}
.fv-val.fail {
  color: #e05060;
  background: rgba(184, 25, 42, 0.1);
  border: 1px solid rgba(184, 25, 42, 0.25);
}
.fv-val.info {
  color: #5b9bd5;
  background: rgba(42, 108, 181, 0.1);
  border: 1px solid rgba(42, 108, 181, 0.25);
}
@media (max-width: 900px) {
  .feature-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-split.reverse {
    direction: ltr;
  }
  .feature-visual {
    position: static;
  }
}

/* ═══════════════════════════════════════════════
   COMPLIANCE WALL
═══════════════════════════════════════════════ */
.about-mission {
  background: rgba(184, 25, 42, 0.05);
  border-left: 3px solid var(--red);
  padding: 20px 26px;
  margin: 28px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0 4px 4px 0;
}
.about-mission strong {
  color: #ffffff;
  font-weight: 700;
}
.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}
.gov-card {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 20px 20px 22px;
}
.gov-card-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.gov-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.gov-list li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.gov-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 1px;
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
}
.about-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 36px 0 32px;
}
.about-leadership-head {
  margin-bottom: 22px;
}
.about-leadership-head .section-eyebrow {
  margin-bottom: 4px;
}
.about-leadership-head h3 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}
.team-specs-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 14px 0 8px;
}
.team-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.team-specs li {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  padding-left: 14px;
  position: relative;
  line-height: 1.45;
}
.team-specs li strong {
  color: #ffffff;
}
.team-specs li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--red-text);
  font-size: 9px;
  top: 2px;
}
.team-intro {
  margin-bottom: 36px;
}
.team-intro-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 10px;
}
.team-intro-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 18px;
  line-height: 1.4;
}
.team-intro p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
  margin: 0 0 12px;
}
.about-vision {
  margin-top: 44px;
  padding: 28px 28px 26px;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  border-left: 3px solid var(--red);
}
.about-vision-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 16px;
}
.about-vision p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.78;
  margin: 0 0 14px;
}
.about-vision p:last-child {
  margin-bottom: 0;
}
.about-vision strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 18px;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .governance-grid {
    grid-template-columns: 1fr;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-radius: 4px;
}
.team-card {
  background: #0a0a0a;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
  position: relative;
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.team-card:hover {
  background: #0f0f0f;
  border-color: rgba(255, 255, 255, 0.38);
}
.team-card:hover::before {
  opacity: 1;
}
.team-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 4px;
  object-fit: cover;
  object-position: top center;
  border: 3px solid rgba(219, 6, 29, 0.18);
  outline: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.team-meta {
  flex: 1;
}
.team-bio {
  font-size: 13.5px;
  color: rgb(255 255 255 / 89%);
  line-height: 1.6;
  margin-top: 8px;
  margin-bottom: 14px;
}
.team-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2ecc71;
  text-decoration: none;
  border: 1px solid rgba(46, 204, 113, 0.25);
  padding: 5px 12px;
  border-radius: 3px;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.team-linkedin:hover {
  color: #4fffa0;
  border-color: rgba(46, 204, 113, 0.55);
  background: rgba(46, 204, 113, 0.08);
}
.team-linkedin svg {
  flex-shrink: 0;
}
.team-name {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  padding-bottom: 8px;
  border-bottom: 2px solid rgb(255 255 255 / 24%);
  display: block;
  margin-bottom: 10px;
}
.team-role {
  font-size: 12px;
  font-weight: 700;
  color: var(--red-text);
  font-family: var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 8px 0;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  min-width: 60px;
}
.contact-email {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
  border-bottom: 1px solid rgba(219, 6, 29, 0.4);
  padding-bottom: 2px;
}
.contact-email:hover {
  color: var(--red-text);
  border-color: var(--red);
}
.compliance-section {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 48px;
}
.comp-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}
.comp-badge:hover {
  border-color: var(--border-hi);
  background: var(--surface2);
  box-shadow: var(--hover-glow);
}
.comp-icon {
  font-size: 22px;
  margin-bottom: 8px;
}
.comp-name {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-hi);
  margin-bottom: 4px;
}
.comp-desc {
  font-size: 11px;
  color: var(--red-bright);
}

/* ═══════════════════════════════════════════════
   CUSTOMERS
═══════════════════════════════════════════════ */
.customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 40px;
}
.customer-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}
.customer-cell:hover {
  border-color: var(--border-hi);
  background: var(--surface2);
  box-shadow: var(--hover-glow);
}
.customer-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 4px;
}
.customer-sector {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red-bright);
}

/* ═══════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 56px 24px 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand-section {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}
.footer-brand-left {
  max-width: 420px;
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand-logo img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.footer-brand-name {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
}
.footer-brand-name span {
  color: var(--red-text);
}
.footer-tagline {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.6;
}
.footer-tagline-sub {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-top: 10px;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: flex-start;
  padding-top: 4px;
}
.footer-social-btn {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 3px;
  transition:
    color var(--transition),
    border-color var(--transition);
}
.footer-social-btn:hover {
  color: var(--text-hi);
  border-color: rgba(255, 255, 255, 0.25);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.footer-col-title {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--red-bright);
  margin-bottom: 14px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 12px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--text-hi);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-copy {
  font-size: 12px;
  color: var(--red-bright);
}
@media (max-width: 1100px) {
  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-brand-section {
    flex-direction: column;
  }
  .footer-trust {
    justify-content: flex-start;
    max-width: none;
  }
}
@media (max-width: 640px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 400px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   METHODOLOGIE
═══════════════════════════════════════════════ */
.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.method-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--transition);
}
.method-item:hover {
  border-color: var(--border-hi);
}
.method-icon {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red-text);
}
.method-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
  line-height: 1.3;
}
.method-desc {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 560px) {
  .method-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════ */
.cta-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 24px;
  text-align: center;
}
.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 16px;
}
.cta-title {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 12px;
  line-height: 1.1;
}
.cta-sub {
  font-size: 15px;
  color: var(--text-soft);
  margin-bottom: 32px;
}
.cta-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
.cta-btn:hover {
  background: #9e111f;
  box-shadow: var(--hover-glow);
}

/* ═══════════════════════════════════════════════
   HOE HET WERKT
═══════════════════════════════════════════════ */
.how-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.how-intro p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}
.how-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  counter-reset: step;
}
.how-step {
  flex: 1;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: border-color var(--transition);
}
.how-step:not(:last-child) {
  border-radius: var(--radius) 0 0 var(--radius);
  margin-right: -1px;
}
.how-step:not(:first-child) {
  border-radius: 0;
}
.how-step:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}
.how-step:hover {
  border-color: var(--red);
  z-index: 1;
}
.how-step-num {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red-text);
  margin-bottom: 10px;
}
.how-step-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-hi);
}
@media (max-width: 768px) {
  .how-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .how-steps {
    flex-direction: column;
  }
  .how-step,
  .how-step:not(:last-child),
  .how-step:not(:first-child),
  .how-step:last-child {
    border-radius: var(--radius);
    margin-right: 0;
  }
}

/* ═══════════════════════════════════════════════
   UNIFIED ARCHITECTURE DIAGRAM
═══════════════════════════════════════════════ */
.arch-section {
  background: var(--bg-alt);
}
.arch-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.arch-layer {
  background: #080808;
  border: 1px solid rgba(219, 6, 29, 0.2);
  border-radius: 3px;
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}
.arch-layer:hover {
  border-color: rgba(219, 6, 29, 0.4);
  box-shadow: 0 0 28px rgba(219, 6, 29, 0.07);
}
.arch-layer-header {
  background: rgba(219, 6, 29, 0.06);
  border-bottom: 1px solid rgba(219, 6, 29, 0.15);
  padding: 11px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.arch-layer-name {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-text);
}
.arch-layer-tag {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 2px 8px;
  border-radius: 2px;
}
.arch-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px;
  gap: 1px;
}
.arch-item {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.arch-item:hover {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.03);
}
.arch-item::before {
  content: '▸';
  font-size: 9px;
  color: rgba(219, 6, 29, 0.45);
  flex-shrink: 0;
  transition: color 0.15s ease;
}
.arch-item:hover::before {
  color: rgba(219, 6, 29, 0.75);
}
.arch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 0;
}
.arch-arrow-line {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, rgba(219, 6, 29, 0.2), rgba(219, 6, 29, 0.55));
}
.arch-arrow-head {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid rgba(219, 6, 29, 0.55);
}
.arch-caption {
  margin-top: 32px;
  padding: 22px 28px;
  background: rgba(219, 6, 29, 0.04);
  border: 1px solid rgba(219, 6, 29, 0.15);
  border-left: 3px solid rgba(219, 6, 29, 0.5);
  border-radius: 0 3px 3px 0;
}
.arch-caption p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  margin: 0;
}
.arch-caption p strong {
  color: #ffffff;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   INTELLIGENCE WORKFLOW
═══════════════════════════════════════════════ */
.workflow-section {
  background: var(--bg);
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.workflow-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.workflow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.workflow-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--hover-glow);
}
.workflow-card:hover::before {
  opacity: 1;
}
.workflow-step-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--red-text);
  margin-bottom: 16px;
}
.workflow-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-hi);
  margin-bottom: 10px;
  line-height: 1.3;
}
.workflow-step-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 900px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════
   MOBILE — nav wordmark + hero
   Placed last so it wins over the base rules above.
═══════════════════════════════════════════════ */
@media (max-width: 760px) {
  nav {
    padding: 10px 16px;
  }
  .nav-logo {
    height: 34px;
    gap: 8px;
  }
  .nav-logo img {
    height: 26px;
  }
  .nav-brand-name {
    font-size: 11px;
    letter-spacing: 1.1px;
  }
}

@media (max-width: 420px) {
  .nav-logo img {
    height: 24px;
  }
  .nav-brand-name {
    font-size: 10px;
    letter-spacing: 0.7px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 74vh;
    padding: 96px 18px 48px;
  }

  /* 189px floor made the hero mark ~6x the size of the nav icon */
  .hero-logo-img {
    width: clamp(112px, 42vw, 168px);
    margin-bottom: 10px;
  }

  /* 88px floor needs ~380px of line box — overflows below ~428px viewport
       and was silently clipped by .hero { overflow: hidden } */
  .hero-intro h1,
  .hero-intro .hero-elec {
    font-size: clamp(38px, 13.5vw, 76px);
    letter-spacing: -0.035em;
    line-height: 1;
  }
  .hero-intro h1::after,
  .hero-intro .hero-elec::after {
    margin-top: 16px;
    margin-bottom: 14px;
  }

  /* !important is required only because of the inline
       class="uic-433de30b" on the .hero-sub element */
  .hero-sub {
    white-space: normal;
    font-size: 11px !important;
    letter-spacing: 0.2px;
    line-height: 1.5;
    max-width: 34ch;
    margin-bottom: 28px;
  }

  /* Photo is 160px + 24px gap + 3px border left the flex row needing
       ~420px, so the whole page scrolled sideways on phones.
       display:contents lifts .team-meta's children into the card's flex box
       so the photo can be ordered between the role line and the bio. */
  .team-card {
    padding: 24px 18px;
  }
  .team-card-inner {
    flex-direction: column;
    gap: 0;
  }
  .team-meta {
    display: contents;
  }
  .team-meta > * {
    order: 4;
  }
  .team-name {
    order: 1;
  }
  .team-role {
    order: 2;
  }
  .team-photo {
    order: 3;
    width: 116px;
    height: 116px;
    margin: 12px 0 8px;
  }
}

/* ═══════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════
   LIVE HONEYPOT TELEMETRY (2026-10-19)
   Data: /honeypot-corpus.json (native ClickHouse, published by
   tools/honeypot-corpus-publish.py) + /api/metrics (live arrival rate).
═══════════════════════════════════════════════ */
.hp-section {
  padding: 64px 0;
  border-top: 1px solid #1b1d24;
}
.hp-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.hp-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.hp-eyebrow {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0001d;
  font-weight: 700;
}
.hp-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fb950;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(63, 185, 80, 0.7);
  animation: hp-pulse 2.4s infinite;
}
@keyframes hp-pulse {
  70% {
    box-shadow: 0 0 0 7px rgba(63, 185, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 185, 80, 0);
  }
}
.hp-lede {
  color: #9aa1ad;
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 780px;
  margin: 0 0 26px;
}
.hp-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 22px;
}
.hp-card {
  background: #0b0b0f;
  border: 1px solid #1b1d24;
  border-radius: 12px;
  padding: 18px 20px;
}
.hp-card-label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5f6a;
  margin-bottom: 8px;
}
.hp-card-value {
  font-size: 30px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.hp-card-value.hp-accent {
  color: #f0001d;
}
.hp-card-sub {
  font-size: 11.5px;
  color: #5a5f6a;
  margin-top: 6px;
}
.hp-two {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.hp-panel {
  background: #0b0b0f;
  border: 1px solid #1b1d24;
  border-radius: 12px;
  padding: 18px 20px;
}
.hp-panel h3 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a5f6a;
  margin: 0 0 14px;
  font-weight: 700;
}
.hp-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  font-size: 12.5px;
}
.hp-row-name {
  color: #d7dae0;
  min-width: 118px;
}
.hp-geo {
  color: #5a5f6a;
  font-size: 10.5px;
  margin-left: 4px;
  letter-spacing: 0.04em;
}
.hp-bar {
  flex: 1;
  height: 6px;
  background: #16181f;
  border-radius: 99px;
  overflow: hidden;
}
.hp-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #f0001d, #7a0410);
  border-radius: 99px;
}
.hp-row-val {
  color: #9aa1ad;
  font-variant-numeric: tabular-nums;
  min-width: 62px;
  text-align: right;
}
.hp-meta {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #1b1d24;
  font-size: 11.5px;
  color: #5a5f6a;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.hp-meta code {
  color: #9aa1ad;
}
.hp-flag {
  color: #ffbd2e;
}
.hp-flag-ok {
  color: #3fb950;
}
@media (max-width: 620px) {
  .hp-card-value {
    font-size: 24px;
  }
  .hp-row-name {
    min-width: 92px;
  }
}

/* ═══════════════════════════════════════════════
   XCOM-AGI — AUTONOME ESTATE (2026-10-29)
   Every number in this block is BOUND to /agi-state.json
   (tools/agi-state-publish.py, allow-list projection of the
   classified estate snapshot). Default is "—", never a literal:
   an unmeasured zero is a lie, a measured null is information.
   ═══════════════════════════════════════════════ */
.agi-section {
  position: relative;
  padding: 132px 24px 66px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: #000;
}
.agi-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(820px 440px at 78% 0%, rgba(219, 6, 29, 0.2), transparent 62%),
    radial-gradient(680px 380px at 6% 18%, rgba(219, 6, 29, 0.09), transparent 66%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 96px);
}
.agi-section .container {
  position: relative;
  z-index: 1;
}
.agi-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 18px;
  justify-content: space-between;
}
.agi-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-text);
  border: 1px solid rgba(219, 6, 29, 0.45);
  border-radius: 999px;
  background: rgba(219, 6, 29, 0.08);
  padding: 5px 11px;
}
.agi-badge .agi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  /* Green = live evidence (same family as agi-tile-acc / stage chips),
     distinct from the red badge text. Controller directive 2026-10-29. */
  background: #28d17c;
  box-shadow: 0 0 10px rgba(40, 209, 124, 0.6);
  animation: xp-pulse 2.4s infinite;
}
.agi-title {
  font-family: var(--sans);
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  margin: 16px 0 14px;
  max-width: 22ch;
}
.agi-title .agi-grad {
  background: linear-gradient(96deg, #ffffff 0%, #ff2036 58%, #7a0d18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.agi-lead {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 72ch;
  margin: 0 0 14px;
}
.agi-lead strong {
  color: var(--text-hi);
  font-weight: 600;
}
.agi-lead code {
  font-family: var(--mono);
  font-size: 0.88em;
  color: #ffb3bb;
  background: rgba(219, 6, 29, 0.12);
  border-radius: 3px;
  padding: 1px 5px;
}
.agi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 34px;
}
.agi-tiles {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.agi-tile {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, #0a0a0d 0%, rgba(219, 6, 29, 0.055) 100%);
  padding: 14px 15px 13px;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.agi-tile::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 46%;
  background: linear-gradient(90deg, rgba(219, 6, 29, 0.85), transparent);
}
.agi-tile:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.agi-tile-v {
  display: block;
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.agi-tile-v .agi-unit {
  font-size: 11px;
  color: #7d8a98;
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.agi-tile-l {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f7c8a;
  margin-top: 6px;
}
.agi-src {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #6f7c8a;
  margin: 0 0 34px;
  line-height: 1.55;
}
.agi-src b {
  color: #9fb0c0;
  font-weight: 600;
}
.agi-src .ok {
  color: #3ddc8a;
}
.agi-src .warn {
  color: #f0b23f;
}
.agi-src .fail {
  color: var(--red-text);
}
.agi-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.agi-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 70%);
  padding: 17px 18px 15px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.agi-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--hover-glow);
  transform: translateY(-2px);
}
.agi-card-k {
  display: block;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 7px;
}
.agi-card-t {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0 0 10px;
  line-height: 1.3;
}
.agi-rows {
  display: grid;
  gap: 5px;
  margin: 0;
}
.agi-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  color: #93a2b1;
  border-bottom: 1px dotted rgba(139, 49, 70, 0.22);
  padding-bottom: 4px;
}
.agi-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.agi-rows-gap {
  margin-top: 8px;
}
.agi-src-foot {
  margin: 9px 0 0;
  font-size: 9px;
}
.agi-verdict-val {
  color: #dce6ef;
}
.agi-alerts {
  color: #7d8a98;
}
.agi-row-v {
  color: var(--text-hi);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.agi-row-v.dim {
  color: #7d8a98;
  font-weight: 400;
}
.agi-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
  margin-top: 9px;
  overflow: hidden;
}
/* No width transition here on purpose: the fill's width is set by JS while the page is
   still painting, and a pending transition on an element that has not been laid out yet
   never advances — measured 2026-10-29, the bar reported a computed width of 0px even
   with an inline !important rule, while the same width applied with transition:none
   resolved immediately. A measured bar that renders 0 is worse than an instant bar. */
.agi-bar > .agi-bar-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red), #ff6b7a);
}
.agi-verdict {
  margin-top: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.014);
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  color: #7d8a98;
}
.agi-verdict-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.agi-chip {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid;
}
.agi-chip-ok {
  color: #3ddc8a;
  border-color: rgba(26, 158, 92, 0.5);
  background: rgba(26, 158, 92, 0.1);
}
.agi-chip-no {
  color: #f0b23f;
  border-color: rgba(200, 130, 15, 0.5);
  background: rgba(200, 130, 15, 0.1);
}
@media (max-width: 620px) {
  .agi-section {
    padding: 118px 18px 54px;
  }
  .agi-tile-v {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .agi-tile,
  .agi-card {
    transition: none;
  }
}

/* ═══════════════════════════════════════════════
   XCOM PLATFORM HERO (NL, eerste blok)
   ═══════════════════════════════════════════════ */
.xp-hero {
  position: relative;
  padding: 138px 24px 72px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.xp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 14% 0%, rgba(219, 6, 29, 0.16), transparent 64%),
    radial-gradient(620px 340px at 88% 12%, rgba(219, 6, 29, 0.07), transparent 68%);
}
.xp-hero .container {
  position: relative;
  z-index: 1;
}
.xp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red-text);
  border-left: 2px solid var(--red);
  padding-left: 11px;
  margin-bottom: 22px;
}
.xp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: xp-pulse 2.4s infinite;
}
@keyframes xp-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
.xp-title {
  font-family: var(--sans);
  font-size: clamp(32px, 5.4vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.028em;
  color: var(--text-hi);
  margin: 0 0 18px;
  max-width: 15ch;
}
.xp-title .red {
  color: var(--red-text);
}
.xp-lead {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.68;
  color: var(--text-soft);
  max-width: 68ch;
  margin: 0 0 26px;
}
.xp-lead strong {
  color: var(--text-hi);
  font-weight: 600;
}
.xp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}
.xp-metrics {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
}
.xp-metric {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #0b0b0f, rgba(219, 6, 29, 0.05));
  padding: 15px 16px;
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.xp-metric::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.xp-metric:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.xp-metric-v {
  display: block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.xp-metric-l {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6f7c8a;
  margin-top: 6px;
}
/* Provenance line for the bound values above: a metric with no visible measurement
   time is indistinguishable from a marketing number. */
.xp-metrics-src {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: #6f7c8a;
  margin: -22px 0 34px;
  line-height: 1.5;
}
.xp-metrics-src b {
  color: #9fb0c0;
  font-weight: 600;
}
.xp-metrics-src .stale {
  color: #d99a2b;
}
.xp-metrics-src .unavail {
  color: var(--red-text);
}
.xp-cards {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.xp-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 20px 20px 18px;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}
.xp-card:hover {
  border-color: var(--border-hi);
  box-shadow: var(--hover-glow);
  transform: translateY(-2px);
}
.xp-card-k {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 9px;
}
.xp-card-t {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0 0 8px;
  line-height: 1.3;
}
.xp-card-d {
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-soft);
  margin: 0;
}

/* ═══════════════════════════════════════════════
   WHITEPAPER — EVIDENCE-BOUND SECTIE
   ═══════════════════════════════════════════════ */
.xp-paper {
  position: relative;
  padding: 78px 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(219, 6, 29, 0.035), transparent 42%);
}
.xp-paper .container {
  max-width: 1200px;
}
.xp-paper-head {
  margin-bottom: 34px;
}
.xp-paper-title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-hi);
  line-height: 1.14;
  margin: 0 0 12px;
  max-width: 30ch;
}
.xp-paper-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #6f7c8a;
  margin: 0 0 18px;
  line-height: 1.6;
}
.xp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}
.xp-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid;
}
.xp-tag-live {
  color: #3ddc8a;
  border-color: rgba(26, 158, 92, 0.55);
  background: rgba(26, 158, 92, 0.12);
}
.xp-tag-beta {
  color: #f0b23f;
  border-color: rgba(200, 130, 15, 0.55);
  background: rgba(200, 130, 15, 0.12);
}
.xp-tag-rd {
  color: #7db4ec;
  border-color: rgba(42, 108, 181, 0.55);
  background: rgba(42, 108, 181, 0.14);
}
.xp-tag-concept {
  color: #a3b0bd;
  border-color: rgba(95, 106, 118, 0.55);
  background: rgba(95, 106, 118, 0.14);
}
.xp-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 30px;
}
.xp-quote {
  border: 1px solid var(--border-hi);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  background: linear-gradient(100deg, rgba(219, 6, 29, 0.1), rgba(0, 0, 0, 0.25));
  padding: 20px 24px;
  margin: 0 0 28px;
}
.xp-quote-label {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 9px;
  font-weight: 700;
}
.xp-quote p {
  font-size: 13.8px;
  line-height: 1.72;
  color: var(--text-soft);
  margin: 0 0 8px;
  font-style: italic;
}
.xp-quote p:last-child {
  margin-bottom: 0;
}
.xp-quote p.en {
  font-style: normal;
  color: var(--text);
}
.xp-actions-center {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ═══════════════════════════════════════════════
   MEMORANDUM v2.0 — READING PATHS & PHASES
   ═══════════════════════════════════════════════ */
.xp-paths {
  margin: 0 0 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0b0b0f, rgba(0, 0, 0, 0.35));
  padding: 20px 22px 18px;
}
.xp-paths-h {
  display: block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f0001d;
  margin-bottom: 4px;
}
.xp-paths-t {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text-hi);
  margin: 0 0 16px;
  line-height: 1.3;
}
.xp-path-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
}
.xp-path {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #08070a;
  padding: 13px 14px;
  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}
.xp-path:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(219, 6, 29, 0.13);
  text-decoration: none;
}
.xp-path b {
  display: block;
  font-family: var(--mono);
  font-size: 8.8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f0001d;
  margin-bottom: 7px;
}
.xp-path strong {
  display: block;
  font-size: 12.6px;
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.35;
  margin-bottom: 6px;
}
.xp-path span {
  display: block;
  font-size: 11.2px;
  color: #6f7c8a;
  line-height: 1.5;
}
.xp-phases {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  grid-template-columns: repeat(auto-fit, minmax(206px, 1fr));
}
.xp-phase {
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
  border-radius: 0 0 var(--radius) var(--radius);
  background: #08070a;
  padding: 12px 13px 13px;
}
.xp-phase .k {
  display: block;
  font-family: var(--mono);
  font-size: 8.6px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0001d;
  margin-bottom: 5px;
  line-height: 1.5;
}
.xp-phase .t {
  display: block;
  font-size: 12.4px;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 7px;
  line-height: 1.35;
}
.xp-phase ul {
  margin: 0;
  padding-left: 14px;
}
.xp-phase li {
  font-size: 11.2px;
  line-height: 1.55;
  color: var(--text-soft);
  margin-bottom: 3px;
}
.xp-phase li::marker {
  color: var(--red-text);
}
@media (max-width: 640px) {
  .xp-paths {
    padding: 16px 14px;
  }
  .xp-phase .t {
    font-size: 11.8px;
  }
}
.xp-note {
  font-family: var(--mono);
  font-size: 11px;
  color: #6f7c8a;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════
   ATTACHMENT 4.1 — EQUIPMENT PROCUREMENT (BOM)
   ═══════════════════════════════════════════════ */
.xp-hw {
  margin: 34px 0 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0b0b0f, rgba(0, 0, 0, 0.35));
  padding: 24px 24px 22px;
}
.xp-hw-head {
  margin-bottom: 18px;
}
.xp-hw-title {
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--text-hi);
  margin: 6px 0 8px;
  line-height: 1.22;
}
.xp-hw-sub {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
  color: #6f7c8a;
  letter-spacing: 0.03em;
  margin: 0;
}
.xp-hw-sub b {
  color: #f0001d;
  font-weight: 600;
}
.xp-hw-grid {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
}
.xp-hw-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0a0508;
  padding: 13px 14px;
  position: relative;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.xp-hw-item:hover {
  border-color: var(--border-hi);
  transform: translateY(-2px);
}
.xp-hw-item .n {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-text);
  display: block;
  margin-bottom: 7px;
}
.xp-hw-item .t {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.38;
  margin-bottom: 7px;
}
.xp-hw-item .v {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  display: block;
  font-variant-numeric: tabular-nums;
}
.xp-hw-item .p {
  display: block;
  font-family: var(--mono);
  font-size: 9.5px;
  color: #6f7c8a;
  margin-top: 4px;
  letter-spacing: 0.04em;
}
.xp-hw-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: center;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.xp-hw-foot .tot {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text-hi);
  font-weight: 600;
}
.xp-hw-foot .tot span {
  color: #f0001d;
}

/* bordered strategic-value callout — must read as a boxed argument */
.xp-strategic {
  margin: 30px 0 24px;
  border: 2px solid rgb(219 6 29 / 45%);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(219, 6, 29, 0.14), rgba(0, 0, 0, 0.6) 62%);
  box-shadow:
    inset 0 0 0 1px rgba(219, 6, 29, 0.14),
    0 0 40px rgba(219, 6, 29, 0.12);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
}
.xp-strategic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), rgba(219, 6, 29, 0.18), transparent);
}
.xp-strategic .label {
  display: inline-block;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-hi, #ff2036);
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  padding: 3px 9px;
  background: rgba(219, 6, 29, 0.13);
  margin-bottom: 13px;
}
.xp-strategic p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-soft);
  margin: 0 0 12px;
  max-width: 84ch;
}
.xp-strategic p:last-of-type {
  margin-bottom: 0;
}
.xp-strategic p strong {
  color: #fff;
  font-weight: 600;
}
.xp-strategic .keys {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  grid-template-columns: repeat(auto-fit, minmax(212px, 1fr));
}
.xp-strategic .k {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #0a0508;
  padding: 12px 14px;
}
.xp-strategic .k b {
  display: block;
  font-family: var(--mono);
  font-size: 11.2px;
  color: #ff2036;
  margin-bottom: 5px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.xp-strategic .k span {
  display: block;
  font-size: 11.8px;
  line-height: 1.55;
  color: var(--text-soft);
}
.xp-strategic .k span em {
  font-style: normal;
  color: var(--text-hi);
}

/* ═══════════════════════════════════════════════
   INFINITY LOOP (commercial flywheel)
   ═══════════════════════════════════════════════ */
.xp-loop {
  margin: 34px 0 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #0b0b0f, rgba(0, 0, 0, 0.35));
  padding: 24px 24px 22px;
}
.xp-loop-head {
  margin-bottom: 20px;
}
.xp-loop-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: stretch;
  margin-bottom: 12px;
}
.xp-lane {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #08070a;
  padding: 13px 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.xp-lane.is-client {
  border-color: rgba(244, 114, 182, 0.42);
}
.xp-lane.is-attack {
  border-color: rgba(239, 68, 68, 0.5);
  background: #12060a;
}
.xp-lane.is-core {
  border-color: rgba(34, 211, 238, 0.42);
}
.xp-lane-h {
  display: block;
  font-family: var(--mono);
  font-size: 8.6px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.55;
  color: #6f7c8a;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}
.xp-lane.is-client .xp-lane-h {
  color: #f472b6;
}
.xp-lane.is-attack .xp-lane-h {
  color: #ef4444;
}
.xp-lane.is-core .xp-lane-h {
  color: #22d3ee;
}
.xp-step {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.xp-step > b {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border-hi);
  background: rgba(219, 6, 29, 0.14);
  color: #ff2036;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.xp-step > div {
  min-width: 0;
}
.xp-step strong {
  display: block;
  font-size: 12px;
  color: var(--text-hi);
  font-weight: 600;
  line-height: 1.4;
}
.xp-step em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  color: #6f7c8a;
  line-height: 1.5;
  margin-top: 2px;
}
.xp-step .v {
  font-family: var(--mono);
  color: #f0001d;
  font-weight: 600;
  font-style: normal;
}
.xp-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red-text);
  font-family: var(--mono);
  font-size: 15px;
  opacity: 0.85;
}
.xp-loop-return {
  border: 1px dashed var(--border-hi);
  border-radius: var(--radius);
  background: linear-gradient(100deg, rgba(219, 6, 29, 0.09), rgba(0, 0, 0, 0.3));
  padding: 13px 14px 14px;
  margin-bottom: 16px;
}
.xp-loop-return-h {
  display: block;
  font-family: var(--mono);
  font-size: 8.6px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #f0001d;
  font-weight: 700;
  margin-bottom: 10px;
}
.xp-loop-return-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.xp-rcard {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.xp-rcard > b {
  flex: none;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 600;
  color: #ff2036;
  border: 1px solid var(--border-hi);
  border-radius: 4px;
  padding: 1px 5px;
  margin-top: 1px;
}
.xp-rcard strong {
  display: block;
  font-size: 11.8px;
  color: var(--text-hi);
  font-weight: 600;
  line-height: 1.4;
}
.xp-rcard em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  color: #6f7c8a;
  line-height: 1.5;
  margin-top: 2px;
}
.xp-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.xp-brand {
  font-family: var(--mono);
  font-size: 10.4px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3.5px 10px;
  background: #08070a;
}
.xp-brand b {
  color: var(--text-hi);
  font-weight: 600;
}
.xp-brand i {
  font-style: normal;
  color: #f0001d;
  font-size: 9px;
  letter-spacing: 0.1em;
  margin-left: 5px;
}
.xp-seed {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding-top: 15px;
  border-top: 1px solid var(--border);
}
.xp-seed div {
  border-left: 2px solid rgba(219, 6, 29, 0.5);
  padding-left: 10px;
}
.xp-seed .v {
  display: block;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-hi);
  line-height: 1.2;
}
.xp-seed .l {
  display: block;
  font-family: var(--mono);
  font-size: 8.8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6f7c8a;
  margin-top: 5px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .xp-loop-flow {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .xp-arrow {
    transform: rotate(90deg);
    height: 16px;
  }
}
@media (max-width: 640px) {
  .xp-loop {
    padding: 18px 16px;
  }
  .xp-seed .v {
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .xp-hw {
    padding: 18px 16px;
  }
  .xp-strategic {
    padding: 18px 16px;
  }
  .xp-hw-item .v {
    font-size: 14px;
  }
}

/* single-h1 document: brand wordmark is now an h2 */
.hero-intro .hero-elec {
  font-family: 'Vipnagorgialla', 'Poppins', sans-serif;
  font-size: clamp(88px, 8vw, 99px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.4;
  text-transform: uppercase;
  margin-bottom: 0;
  color: #ffffff;
  display: inline-block;
  position: relative;
}
.hero-intro .hero-elec::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190, 9, 9, 0.75) 25%, rgba(232, 0, 0, 0.75) 75%, transparent);
  margin-top: 24px;
  margin-bottom: 20px;
}
.hero-intro .hero-elec span {
  display: inline-block;
  text-shadow: 0 0 4px rgba(219, 6, 29, 0.25);
  animation: hero-elec 2.4s ease-in-out calc(3s + var(--i) * 0.18s) forwards;
}
/* The stagger index used to be eight inline `style="--i:N"` attributes, which forced
   style-src 'unsafe-inline' for the whole page. The spans are fixed children of the
   wordmark, so their order IS the index — :nth-child expresses it with no markup and no
   CSP exception. --i defaults to 0 so a ninth character can never inherit a broken delay. */
.hero-intro .hero-elec span:nth-child(1) {
  --i: 0;
}
.hero-intro .hero-elec span:nth-child(2) {
  --i: 1;
}
.hero-intro .hero-elec span:nth-child(3) {
  --i: 2;
}
.hero-intro .hero-elec span:nth-child(4) {
  --i: 3;
}
.hero-intro .hero-elec span:nth-child(5) {
  --i: 4;
}
.hero-intro .hero-elec span:nth-child(6) {
  --i: 5;
}
.hero-intro .hero-elec span:nth-child(7) {
  --i: 6;
}
.hero-intro .hero-elec span:nth-child(8) {
  --i: 7;
}
@media (prefers-reduced-motion: reduce) {
  .hero-intro .hero-elec span {
    animation: none;
  }
}

@media (max-width: 768px) {
  .xp-hero {
    padding: 118px 18px 56px;
  }
  .xp-title {
    max-width: none;
  }
  .xp-paper {
    padding: 56px 18px;
  }
  .xp-metric-v {
    font-size: 19px;
  }
}

/* inline-style sweep (2026-10-28): static style attributes promoted to utilities */
.uic-2da8a848 {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.8;
}
.uic-2ef2044a {
  color: #f0001d;
}
.uic-433de30b {
  font-size: 14px;
}
.uic-81b51ace {
  margin: 28px 0;
}
.uic-82460327 {
  margin: 10px 0 0;
}
.uic-871632a5 {
  display: inline-block;
  position: relative;
}
.uic-8ea8ebc3 {
  color: #5a5f6a;
}
.uic-97073edd {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.7;
}
.uic-97807ed5 {
  color: #eb0707;
}
.uic-a26bda7d {
  margin-top: 20px;
}
.uic-b55b31dd {
  color: #ffffff;
}
.uic-d6f2af6e {
  margin-top: 14px;
}
.uic-e0a970a3 {
  color: #6f7c8a;
}
.uic-f1797352 {
  color: #f0001d;
  text-decoration: none;
}

/* ═══ XCOM-AGI v2 (2026-10-29) — provenance-first evidence board ═══
   Every number on this board is a DASH in the markup and is filled only from an
   endpoint that carries generated_at (or from the verified ClickHouse block whose
   query ships in the JSON). Nothing here is a typed-in literal: the doctrine is
   "the model may write the query, never the number". */
.agi-prov {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}
.agi-prov-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8494a3;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.02);
  padding: 6px 9px;
}
.agi-prov-chip b {
  color: #dce6ef;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.agi-prov-chip .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3ddc8a;
  box-shadow: 0 0 8px #3ddc8a;
}
.agi-prov-chip.stale .dot {
  background: #f0b23f;
  box-shadow: 0 0 8px #f0b23f;
}
.agi-prov-chip.down .dot {
  background: var(--red-text);
  box-shadow: 0 0 8px var(--red-text);
}

.agi-doctrine {
  border-left: 2px solid var(--red);
  background: rgba(219, 6, 29, 0.055);
  padding: 13px 16px;
  margin: 0 0 30px;
  border-radius: 0 6px 6px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.75;
  color: #9fb0c0;
}
.agi-doctrine b {
  color: #fff;
}

.agi-tile-src {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: #5d6b78;
  margin-top: 5px;
  text-transform: lowercase;
}

.agi-card-wide {
  grid-column: 1 / -1;
}
.agi-sub {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f7c8a;
  margin: 16px 0 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(139, 49, 70, 0.2);
}
.agi-sub:first-child {
  margin-top: 0;
}

.agi-mech {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.agi-mech-row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(139, 49, 70, 0.22);
}
.agi-mech-row:last-child {
  border-bottom: 0;
}
.agi-mech-k {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-text);
  padding-top: 2px;
}
.agi-mech-d {
  font-size: 12.5px;
  line-height: 1.62;
  color: #a8b6c4;
}
.agi-mech-d em {
  color: #dce6ef;
  font-style: normal;
  font-weight: 600;
}
.agi-mech-v {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.agi-mech-v small {
  display: block;
  font-size: 8px;
  color: #5d6b78;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.agi-lanes {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 12px;
}
.agi-lane {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 13px;
  background: linear-gradient(165deg, #0a0a0d, rgba(255, 255, 255, 0.015));
}
.agi-lane-k {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f7c8a;
}
.agi-lane-v {
  display: block;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin: 6px 0 3px;
  font-variant-numeric: tabular-nums;
}
.agi-lane-d {
  font-size: 11px;
  line-height: 1.55;
  color: #8494a3;
}
.agi-lane-d code {
  font-family: var(--mono);
  font-size: 9.5px;
  color: #c3d0dc;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 4px;
  border-radius: 3px;
}

.agi-ledger {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.agi-ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-family: var(--mono);
  font-size: 11px;
  color: #93a2b1;
  border-bottom: 1px dotted rgba(139, 49, 70, 0.2);
  padding-bottom: 5px;
}
.agi-ledger-row:last-child {
  border-bottom: 0;
}
.agi-ledger-row b {
  color: #fff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.agi-fix {
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 6px;
  border: 1px solid rgba(200, 130, 15, 0.4);
  background: rgba(200, 130, 15, 0.07);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  color: #e0b872;
}
.agi-fix b {
  color: #f0b23f;
}
.agi-fix code {
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 1px 4px;
  border-radius: 3px;
}

.agi-dashlegend {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 9.5px;
  line-height: 1.8;
  color: #6f7c8a;
}
.agi-dashlegend b {
  color: #9fb0c0;
}
.agi-dashlegend .d {
  color: #fff;
  font-size: 12px;
}

@media (max-width: 720px) {
  .agi-mech-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .agi-mech-v {
    text-align: left;
  }
}

/* ═══ XCOM-AGI v3 — sharp pass (2026-10-29) ═══
   Less prose, bigger numbers. The section must read as an instrument panel, not a
   document: one line per mechanism, figures dominant, sources kept but quiet. */
.agi-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.agi-nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(58px, 1fr));
  gap: 2px;
  margin: 4px 0 10px;
}
.agi-nums > div {
  padding: 7px 0 6px;
  border-top: 1px solid rgba(139, 49, 70, 0.22);
}
.agi-nums b {
  display: block;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.agi-nums span {
  display: block;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #64717e;
  margin-top: 3px;
}
.agi-nums-tight b {
  font-size: 15px;
}
.agi-nums-tight span {
  font-size: 7.5px;
}

/* mechanism rows: one line of evidence, figure right */
.agi-mech-row {
  grid-template-columns: 78px 1fr auto;
  padding: 9px 0;
}
.agi-mech-d {
  font-size: 12px;
  line-height: 1.55;
  color: #93a2b1;
}
.agi-mech-v {
  font-size: 17px;
}
.agi-mech-v small {
  font-size: 7.5px;
  color: #55626e;
  margin-top: 2px;
}
.agi-mech-k {
  font-size: 9.5px;
  letter-spacing: 0.12em;
}

.agi-ledger-row {
  font-size: 10.5px;
  padding-bottom: 4px;
}
.agi-sub {
  margin: 12px 0 6px;
  font-size: 8px;
}

.agi-title {
  max-width: 20ch;
  margin-bottom: 12px;
}
.agi-lead {
  margin-bottom: 16px;
  font-size: 15px;
}
.agi-prov {
  margin-bottom: 20px;
}
.agi-prov-chip {
  font-size: 8.5px;
  padding: 5px 8px;
}
.agi-src-foot {
  font-size: 9px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.agi-verdict {
  margin-top: 18px;
  font-size: 9.5px;
}

@media (max-width: 720px) {
  .agi-mech-row {
    grid-template-columns: 1fr;
  }
  .agi-mech-v {
    text-align: left;
    font-size: 15px;
  }
}

/* ═══ XCOM-AGI v4 — "in ontwikkeling" label (2026-10-29) ═══
   A cell with a small or zero count must not look like a finished capability, and must
   not be hidden either. The real number stays visible; this chip says what stage it is at.
   Deliberately quieter than the number so the measurement still reads first. */
.agi-dev {
  display: inline-block;
  font-family: var(--mono);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #8fb4d9;
  border: 1px solid rgba(90, 140, 190, 0.4);
  border-radius: 3px;
  background: rgba(90, 140, 190, 0.1);
  padding: 1px 5px;
  margin-left: 6px;
  white-space: nowrap;
}
.agi-card-k .agi-dev {
  margin-left: 7px;
  opacity: 0.85;
}
/* A stage chip carries the lane's stage from the projection. "corpus" must not read
   like "live": historical research data is not our sensor, so it gets its own hue. */
.agi-dev[data-stage='corpus'] {
  color: #c9a96b;
  border-color: rgba(201, 169, 107, 0.36);
  background: rgba(201, 169, 107, 0.1);
}
.agi-dev[data-stage='live'] {
  color: #7fc1a3;
  border-color: rgba(127, 193, 163, 0.32);
  background: rgba(127, 193, 163, 0.09);
}
/* Clickable provenance tiles: the tile is the link into the projection,
   where the SQL that produced the number is published. Hover shows the table. */
.agi-tile-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.agi-tile-link:hover {
  border-color: rgba(143, 180, 217, 0.6);
  transform: translateY(-1px);
}
.agi-tile-link:hover .agi-tile-l::after {
  content: ' \2197';
} /* North-east arrow on hover */

.agi-tile-dev {
  border-color: rgba(90, 140, 190, 0.32);
}
.agi-tile-dev::after {
  background: linear-gradient(90deg, rgba(90, 140, 190, 0.85), transparent);
}
/* A physically measured tile (mesh dBm) earns the accent gradient: the strongest
   real number on the board reads first. Same border family as the dev tile. */
.agi-tile-acc {
  border-color: rgba(120, 205, 160, 0.38);
}
.agi-tile-acc::after {
  background: linear-gradient(90deg, rgba(120, 205, 160, 0.8), transparent);
}
.agi-tile-acc .agi-tile-v {
  color: #a7dbbd;
}
/* Gradient family = live evidence. The 96deg white->red ramp is the board
   title's ramp; accent tiles share it so colour reads as data status, not decor
   (2026-10-29, controller-rec). */
.agi-tile-acc .agi-tile-v,
.agi-tile[data-agi-grad] .agi-tile-v {
  background: linear-gradient(96deg, #ffffff 0%, #ff2036 58%, #7a0d18 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
@media (prefers-reduced-colors: reduce) {
  .agi-tile-acc .agi-tile-v,
  .agi-tile[data-agi-grad] .agi-tile-v {
    background: none;
    color: #a7dbbd;
  }
}
/* The lead ends in a live pulse: one breathing dot = the board is wired to
   instruments, not a screenshot. Pure CSS animation, no JS, no inline style. */
.agi-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-radius: 50%;
  background: #7fc1a3;
  vertical-align: middle;
  animation: agi-pulse-key 2.4s ease-in-out infinite;
}
/* The infinity glyph in the lead: the site's mark, set in the accent red so it
   reads as brand punctuation between the doctrine and the hardware line. */
.agi-infinity {
  display: inline-block;
  margin: 0 2px;
  font-size: 1.1em;
  color: var(--red-text, #db061d);
  line-height: 1;
  vertical-align: -0.06em;
}
.agi-infinity::before {
  content: '\221E';
}
@keyframes agi-pulse-key {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .agi-pulse {
    animation: none;
  }
}
/* Hardware provenance spans: the machines the board runs on. A dotted hairline
   invites the hover; the title carries the lane facts so the claim self-verifies. */
.agi-hw {
  border-bottom: 1px dotted rgba(143, 180, 217, 0.55);
  cursor: help;
  white-space: nowrap;
}
/* PLC-topologie mini-map: SVG rendered client-side from
   verified.rf_lanes.plc.segments (GROUP BY published in the projection).
   Three location rows, chained sections, color = tx_active_share. */
.agi-plcmap {
  margin: 14px 0 6px;
  padding: 12px 14px;
  border: 1px solid rgba(219, 6, 29, 0.28);
  border-radius: 6px;
  background: rgba(4, 8, 15, 0.5);
}
.agi-plcmap svg {
  width: 100%;
  height: auto;
  display: block;
}
.agi-plcmap rect {
  transition: opacity 0.15s;
}
.agi-plcmap rect:hover {
  opacity: 0.85;
}

.agi-dev-note {
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: 6px;
  border: 1px solid rgba(90, 140, 190, 0.3);
  background: rgba(90, 140, 190, 0.06);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
  color: #9fc0dd;
}
.agi-dev-note b {
  color: #cfe4f5;
}

/* loop glyph + author in the lead: red, no underline (directive 2026-10-29) */
.agi-evidence .agi-loop {
  color: #ff2036;
  font-style: normal;
  text-decoration: none;
}
.agi-evidence .agi-author {
  color: #ff2036;
  text-decoration: none;
  font-size: 0.78em;
  letter-spacing: 0.06em;
}
.agi-evidence .agi-author:hover {
  text-decoration: none;
  opacity: 0.85;
}

/* API INTEL badge: linked, no underline, blinking green dot (directive 2026-10-29) */
a.agi-badge {
  text-decoration: none;
}
a.agi-badge:hover {
  text-decoration: none;
  opacity: 0.9;
}
@keyframes agi-blink-key {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0.15;
  }
}
a.agi-badge .agi-dot,
.agi-badge .agi-dot {
  animation: agi-blink-key 1.2s steps(1) infinite;
}
@media (prefers-reduced-motion: reduce) {
  a.agi-badge .agi-dot,
  .agi-badge .agi-dot {
    animation: none;
  }
}

/* h1 AUTONOMOUS INTELLIGENCE: subtle red shock pulses (2026-10-29, very subtle per controller) */
@keyframes h1-shock-key {
  0%,
  100% {
    color: #fff;
  }
  50% {
    color: #ffb4bd;
  }
}
h1.agi-title {
  animation: h1-shock-key 14s ease-in-out infinite;
  /* gradient softened -30% (controller directive 2026-11-01: stops blended 30% toward white) */
  background: linear-gradient(96deg, #fffbfc 0%, #fdcfda 45%, #ff97a3 78%, #ff8292 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* gradient wins; keyframe tints peak toward very light red */
@media (prefers-reduced-motion: reduce) {
  h1.agi-title {
    animation: none;
  }
}

/* h1 whitepaper-grade title (directive 2026-10-29): same font/style as whitepaper h1.
   2026-10-31: restructured — 'XCOM' oversized wordmark, two descriptor lines;
   gradient RESTORED (the override below had killed it with background:none). */
h1.agi-title.wp-title {
  font-size: clamp(28px, 4.1vw, 46px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--text-hi, #f2f6fa);
  animation: h1-shock-key 14s ease-in-out infinite;
  /* gradient softened -30% (controller directive 2026-11-01: stops blended 30% toward white) */
  background: linear-gradient(96deg, #fffafa 0%, #ffcad1 42%, #ff8392 76%, #ff6372 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
/* XCOM wordmark: bigger than the descriptor lines (directive 2026-10-31);
   2026-11-01: reduced 40% on controller directive (clamp(52px,8vw,96px) -> clamp(31px,4.8vw,58px)) */
h1.agi-title.wp-title .agi-xcom {
  display: inline-block;
  font-size: clamp(31px, 4.8vw, 58px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  vertical-align: baseline;
}
/* .wp-accent rule retired 2026-10-31 (audit: zero HTML pages use the class
   since the 'Cyber-Physical' span was removed from the hero). */

#wpRefLine {
  margin-top: 18px;
}


