/* ============================================================
   AI Native Governance 2026 — Tactical Briefing Stylesheet
   Color: Dark + Warm Gold (Claude Code lineage)
   ============================================================ */

:root {
  --bg: #0a0d13;
  --bg-2: #0f141c;
  --bg-3: #161d27;
  --panel: #1a222e;
  --panel-2: #232c3a;
  --line: #2a3340;
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #e6ecf4;
  --text-2: #b9c2cf;
  --muted: #8a94a3;
  --gold: #ffd166;
  --gold-2: #f7a82a;
  --gold-soft: rgba(255, 209, 102, 0.16);
  --gold-glow: rgba(255, 209, 102, 0.45);
  --blue: #7ab4ff;
  --green: #7affb5;
  --red: #ff6b6b;
  --orange: #ff9b54;
  --magenta: #ff7ed8;
  --edge: #2c3441;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 10px 40px rgba(255, 209, 102, 0.15);
  --t-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-mid: 320ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
  --font-jp: 'Noto Sans JP', 'Inter', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em { font-style: normal; color: var(--gold); font-weight: 500; }
strong { color: var(--text); font-weight: 700; }

/* Background base */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(255, 209, 102, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(120, 180, 255, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  z-index: -2;
  pointer-events: none;
}

#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-2) 100%);
  z-index: 1000;
  transition: width 80ms linear;
  box-shadow: 0 0 14px var(--gold-glow);
}

#cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 209, 102, 0.08) 0%, transparent 60%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  transition: opacity 600ms ease;
  opacity: 0;
}
body.cursor-active #cursor-glow { opacity: 1; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 13, 19, 0.7);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: transform var(--t-mid), background var(--t-mid);
}
.site-nav.hidden { transform: translateY(-100%); }
.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.logo-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--gold-glow);
  animation: pulseDot 1.8s ease-in-out infinite;
}
.logo-dot:nth-child(2) { animation-delay: 0.3s; background: var(--gold-2); }
.logo-dot:nth-child(3) { animation-delay: 0.6s; background: #fff; }
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.logo-text strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
  line-height: 1.2;
}
.logo-text em {
  display: block;
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 11px;
  border-radius: 8px;
  transition: all var(--t-fast);
  position: relative;
  color: var(--muted);
}
.nav-link:hover, .nav-link.active {
  background: rgba(255, 209, 102, 0.08);
  color: var(--gold);
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  opacity: 0.7;
}
.nav-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--t-fast);
}

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { padding: 12px 20px; }
  .site-nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(10, 13, 19, 0.95);
    padding: 14px;
    gap: 2px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open .nav-link { flex-direction: row; justify-content: flex-start; gap: 14px; padding: 10px 14px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 209, 102, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 209, 102, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  animation: gridSlide 30s linear infinite;
}
@keyframes gridSlide {
  from { background-position: 0 0; }
  to { background-position: 80px 80px; }
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--gold);
  top: -200px; left: -150px;
  animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: var(--blue);
  bottom: -150px; right: -100px;
  animation: orbFloat 24s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: var(--magenta);
  top: 50%; left: 50%;
  opacity: 0.15;
  animation: orbFloat 18s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -40px); }
}

.hero-content {
  max-width: 1240px;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: rgba(255, 209, 102, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 36px;
  animation: badgeIn 800ms ease-out both;
}
@keyframes badgeIn { from { opacity: 0; transform: translateY(-10px); } }
.pulse-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: relative;
}
.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.4;
  animation: pulseExpand 2s ease-out infinite;
}
@keyframes pulseExpand {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.4); opacity: 0; }
}

.hero-title {
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.title-line {
  display: inline-block;
  position: relative;
}
.title-line-1 {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: rgba(255, 107, 107, 0.6);
  opacity: 0.65;
  animation: lineStrike 1200ms 600ms ease-out both;
}
@keyframes lineStrike {
  from { opacity: 0; transform: translateY(20px); }
}
.title-line-2 {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 50%, #ffe9a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(255, 209, 102, 0.3);
  animation: lineRise 1200ms 1000ms ease-out both;
}
@keyframes lineRise {
  from { opacity: 0; transform: translateY(40px); }
}
.title-arrow {
  color: var(--gold);
  filter: drop-shadow(0 0 20px var(--gold-glow));
  animation: arrowDown 1.4s 800ms ease-out both, arrowBounce 2s 2400ms ease-in-out infinite;
}
@keyframes arrowDown {
  from { opacity: 0; transform: rotate(0deg) translateY(-30px); }
  to { opacity: 1; transform: rotate(90deg) translateY(0); }
}
.title-arrow svg { transform: rotate(90deg); }
@keyframes arrowBounce {
  0%, 100% { transform: rotate(90deg) translateY(0); }
  50% { transform: rotate(90deg) translateY(8px); }
}

.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.glitch::before {
  background: linear-gradient(135deg, var(--blue) 0%, var(--magenta) 100%);
  animation: glitchA 4s infinite linear alternate;
  opacity: 0;
}
.glitch::after {
  background: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);
  animation: glitchB 4s infinite linear alternate;
  opacity: 0;
}
@keyframes glitchA {
  0%, 88%, 100% { opacity: 0; transform: translate(0, 0); }
  90% { opacity: 0.4; transform: translate(-3px, 1px); }
  92% { opacity: 0; }
  94% { opacity: 0.4; transform: translate(2px, -1px); }
  95% { opacity: 0; }
}
@keyframes glitchB {
  0%, 92%, 100% { opacity: 0; transform: translate(0, 0); }
  93% { opacity: 0.3; transform: translate(2px, 2px); }
  95% { opacity: 0; }
  97% { opacity: 0.3; transform: translate(-2px, -2px); }
  98% { opacity: 0; }
}

.hero-lead {
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.85;
  color: var(--text-2);
  max-width: 920px;
  margin: 0 auto 56px;
  opacity: 0;
  animation: fadeUp 800ms 1600ms ease-out both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; } }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 0 auto 50px;
  opacity: 0;
  animation: fadeUp 800ms 2000ms ease-out both;
}
.stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--t-mid);
}
.stat:hover {
  border-color: rgba(255, 209, 102, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.stat::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-shadow: 0 0 30px rgba(255, 209, 102, 0.25);
}
.stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  line-height: 1.4;
}
.stat-label span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 800ms 2400ms ease-out both;
}
.btn-primary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #0c1117;
  box-shadow: 0 8px 30px rgba(255, 209, 102, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 40px rgba(255, 209, 102, 0.5);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer { to { left: 200%; } }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-marquee {
  margin-top: 72px;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 44px;
  animation: marqueeScroll 40s linear infinite;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 6px; }
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  z-index: 2;
}
.cue-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, transparent, var(--gold));
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 50%;
  background: var(--gold);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ============================================================
   SECTIONS - COMMON
   ============================================================ */
.section {
  position: relative;
  max-width: 1480px;
  margin: 0 auto;
  padding: 120px 32px;
}
.section-header {
  max-width: 1100px;
  margin: 0 auto 64px;
}
.section-header.center { text-align: center; margin: 0 auto 56px; }
.section-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-num::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
}
.section-title {
  margin: 0 0 24px;
  font-weight: 900;
  line-height: 1.2;
}
.section-title .title-jp {
  display: block;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.01em;
  color: var(--text);
}
.section-title .title-en {
  display: block;
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0;
  margin-top: 12px;
  line-height: 1.6;
}
.section-lead {
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--text-2);
  line-height: 1.85;
  max-width: 920px;
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 800ms, transform 800ms; }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* Source references */
.source-refs {
  margin-top: 48px;
  padding: 20px 24px;
  background: rgba(255, 209, 102, 0.04);
  border: 1px solid rgba(255, 209, 102, 0.18);
  border-radius: var(--radius);
}
.source-refs-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.source-refs ul { margin: 0; padding: 0; list-style: none; }
.source-refs li { padding: 6px 0; font-size: 13px; }
.source-refs a {
  color: var(--text-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  transition: color var(--t-fast);
}
.source-refs a:hover { color: var(--gold); }
.ref-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 2px 8px;
  border-radius: 4px;
}

/* ============================================================
   SECTION 1 — LANDSCAPE
   ============================================================ */
.vendor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.vendor-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--t-mid);
  position: relative;
}
.vendor-tab:hover { transform: translateY(-2px); border-color: var(--vc, var(--gold)); }
.vendor-tab.active {
  background: linear-gradient(135deg, var(--vc) 0%, color-mix(in srgb, var(--vc) 80%, white) 100%);
  border-color: var(--vc);
  color: #0c1117;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--vc) 35%, transparent);
}
.vendor-tab-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--vc);
  box-shadow: 0 0 8px var(--vc);
}
.vendor-tab.active .vendor-tab-dot { background: #0c1117; box-shadow: none; }

.vendor-panels { position: relative; }
.vendor-card {
  display: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.vendor-card.active {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  animation: vendorIn 600ms ease-out;
}
@keyframes vendorIn { from { opacity: 0; transform: translateY(20px); } }
.vendor-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--vc), transparent 50%);
  opacity: 0.07;
  pointer-events: none;
}
.vendor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  grid-column: 1 / -1;
}
.vendor-name {
  font-size: 32px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--vc) 0%, color-mix(in srgb, var(--vc) 70%, white) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.vendor-model {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}
.vendor-color-chip {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--vc);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--vc) 50%, transparent);
}
.vendor-leader {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--vc);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  position: relative;
  z-index: 1;
}
.leader-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--vc);
  letter-spacing: 0.2em;
  font-weight: 700;
}
.leader-name {
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 8px;
}
.leader-bg { font-size: 13px; color: var(--text-2); line-height: 1.7; margin: 0; }

.vendor-specs {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
  position: relative;
  z-index: 1;
}
.spec-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
  gap: 12px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-weight: 600;
  text-transform: uppercase;
}
.spec-val { font-size: 13px; font-weight: 600; color: var(--text); }
.spec-val.mono { font-family: var(--font-mono); }
.spec-val.small { font-size: 12px; }

.star {
  display: inline-block;
  width: 12px; height: 12px;
  background: var(--line);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  margin-right: 2px;
  transition: background var(--t-fast);
}
.star.on { background: var(--vc); }

.vendor-note {
  grid-column: 1 / -1;
  padding: 18px 22px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--vc);
  display: flex;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.vendor-note i { color: var(--vc); font-size: 18px; flex-shrink: 0; }
.vendor-note p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.75; }

@media (max-width: 768px) {
  .vendor-card.active { grid-template-columns: 1fr; }
}

.shift-board {
  margin-top: 48px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.06) 0%, rgba(120, 180, 255, 0.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.shift-board-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.shift-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.shift-card {
  background: rgba(10, 13, 19, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  grid-template-rows: auto auto;
  gap: 8px 14px;
  align-items: center;
}
.shift-from {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 107, 107, 0.5);
}
.shift-arrow {
  color: var(--gold);
  font-size: 14px;
}
.shift-to {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--gold);
  font-weight: 700;
}
.shift-card p {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-2);
  margin: 6px 0 0;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .shift-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 2 — GENNAI
   ============================================================ */
.gennai-arch {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
}
.arch-svg-wrap { overflow: auto; }
.arch-svg { width: 100%; min-width: 900px; height: auto; }
.arch-zone-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.arch-node rect {
  fill: var(--panel);
  stroke: var(--line);
  stroke-width: 1.5;
  transition: all var(--t-mid);
}
.arch-node.primary rect { stroke: rgba(120, 180, 255, 0.4); }
.arch-node.danger rect { stroke: rgba(120, 255, 180, 0.4); }
.arch-node:hover rect {
  stroke: var(--gold);
  stroke-width: 2;
  filter: drop-shadow(0 0 12px var(--gold-glow));
}
.n-title { fill: var(--text); font-size: 13px; font-weight: 700; text-anchor: middle; }
.n-sub { fill: var(--muted); font-size: 10.5px; text-anchor: middle; }
.arch-flow path {
  fill: none;
  stroke: rgba(255, 209, 102, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: dashFlow 2s linear infinite;
}
@keyframes dashFlow { to { stroke-dashoffset: -16; } }

.gennai-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.g-stat {
  background: rgba(255, 209, 102, 0.05);
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.g-stat-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}
.g-stat-label { font-size: 12px; color: var(--text-2); }

.debate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.debate-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: all var(--t-mid);
  position: relative;
}
.debate-card:hover {
  border-color: rgba(255, 209, 102, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.debate-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 10px;
}
.debate-card h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; }
.debate-card p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.8; }

@media (max-width: 768px) {
  .gennai-stats, .debate-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .gennai-stats, .debate-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 3 — CLAUDE CODE
   ============================================================ */
.claude-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
}
@media (max-width: 1024px) { .claude-grid { grid-template-columns: 1fr; } }

.claude-left { display: flex; flex-direction: column; gap: 20px; }

.terminal-card {
  background: #0a0e15;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line);
}
.t-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.t-dot.red { background: #ff5f57; }
.t-dot.yellow { background: #febc2e; }
.t-dot.green { background: #28c840; }
.t-title {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.terminal-body {
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--text-2);
  min-height: 380px;
}
.t-line { opacity: 0; animation: tLineIn 600ms ease-out both; }
.t-line:nth-child(1) { animation-delay: 0.1s; }
.t-line:nth-child(2) { animation-delay: 0.4s; }
.t-line:nth-child(3) { animation-delay: 0.7s; }
.t-line:nth-child(4) { animation-delay: 1s; }
.t-line:nth-child(5) { animation-delay: 1.3s; }
.t-line:nth-child(6) { animation-delay: 1.7s; }
.t-line:nth-child(7) { animation-delay: 2s; }
.t-line:nth-child(8) { animation-delay: 2.3s; }
.t-line:nth-child(9) { animation-delay: 2.7s; }
.t-line:nth-child(10) { animation-delay: 3s; }
.t-line:nth-child(11) { animation-delay: 3.3s; }
.t-line:nth-child(12) { animation-delay: 3.6s; }
@keyframes tLineIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; } }
.t-prompt { color: var(--gold); margin-right: 6px; }
.t-muted { color: var(--muted); }
.t-success { color: #4ade80; }
.t-warn { color: var(--gold); }
.t-accent { color: #60a5fa; }
.caret { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.visualizer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.visualizer-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 209, 102, 0.05);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
}
.visualizer-head i { color: var(--gold); }
.badge-live {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 3px 9px;
  background: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.4);
  border-radius: 4px;
  color: #ff8888;
  font-weight: 700;
}
.badge-live::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 5px;
  animation: pulseDot 1.4s ease-in-out infinite;
  vertical-align: 1px;
}
.visualizer-svg-wrap { padding: 16px; background: #0a0e15; }
.visualizer-svg { width: 100%; height: auto; }
.viz-node rect {
  fill: var(--panel-2);
  stroke: var(--line);
  stroke-width: 1.5;
  transition: all var(--t-mid);
}
.viz-node.highlighted rect {
  fill: rgba(255, 209, 102, 0.15);
  stroke: var(--gold);
  stroke-width: 2;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}
.viz-t { fill: var(--text); font-size: 11px; font-weight: 700; font-family: var(--font-mono); }
.viz-s { fill: var(--muted); font-size: 9px; font-family: var(--font-mono); }
.viz-edges path { fill: none; stroke: var(--edge); stroke-width: 1.5; }
.viz-active path {
  fill: none;
  stroke-width: 3;
  animation: dashFlow 1.2s linear infinite;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

.viz-controls {
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.viz-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  transition: all var(--t-fast);
}
.viz-btn.active, .viz-btn:hover {
  background: rgba(255, 209, 102, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}

.claude-right { display: flex; flex-direction: column; gap: 20px; }

.impact-block {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.impact-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--gold);
}
.impact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.impact-list li {
  display: flex;
  gap: 16px;
  padding: 14px;
  background: rgba(255, 209, 102, 0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--gold);
  transition: all var(--t-mid);
}
.impact-list li:hover { background: rgba(255, 209, 102, 0.08); transform: translateX(4px); }
.impact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255, 209, 102, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.impact-list strong { display: block; font-size: 14px; margin-bottom: 3px; }
.impact-list p { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.6; }

.rpa-debate {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 155, 84, 0.04) 100%);
  border: 1px solid rgba(255, 155, 84, 0.25);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.debate-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  padding: 3px 10px;
  background: rgba(255, 155, 84, 0.12);
  border: 1px solid rgba(255, 155, 84, 0.3);
  border-radius: 4px;
  margin-bottom: 14px;
}
.rpa-debate h3 { font-size: 18px; margin: 0 0 12px; font-weight: 800; }
.rpa-q {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 16px;
  color: var(--text-2);
}
.rpa-q i { color: var(--orange); margin-top: 2px; }
.rpa-answer h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin: 0 0 12px;
  text-transform: uppercase;
  font-weight: 700;
}
.rpa-comp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.rpa-old, .rpa-new {
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
}
.rpa-old { border-left: 3px solid var(--red); }
.rpa-new { border-left: 3px solid var(--gold); }
.rpa-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.rpa-tag.gold { color: var(--gold); }
.rpa-old p, .rpa-new p { margin: 0; font-size: 12.5px; color: var(--text-2); line-height: 1.7; }
.rpa-warn {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 209, 102, 0.06);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
}
.rpa-warn i { color: var(--gold); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.rpa-warn p { margin: 0; font-size: 13px; line-height: 1.75; }

@media (max-width: 540px) {
  .rpa-comp { grid-template-columns: 1fr; }
}

/* ============================================================
   SECTION 4 — SDLC
   ============================================================ */
.sdlc-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1024px) {
  .sdlc-compare { grid-template-columns: 1fr; }
  .sdlc-divider { display: none; }
}
.sdlc-side {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.sdlc-side.sdlc-new {
  background: linear-gradient(180deg, rgba(255, 209, 102, 0.05) 0%, rgba(255, 209, 102, 0.01) 100%);
  border-color: rgba(255, 209, 102, 0.3);
}
.sdlc-side-head { margin-bottom: 24px; }
.sdlc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--muted);
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.sdlc-label.gold { color: var(--gold); border-color: rgba(255, 209, 102, 0.4); background: rgba(255, 209, 102, 0.05); }
.sdlc-side-head h3 { margin: 12px 0 0; font-size: 22px; font-weight: 800; }
.sdlc-side.sdlc-old h3 { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(255, 107, 107, 0.4); }
.sdlc-side.sdlc-new h3 { color: var(--gold); }

.sdlc-pipe { display: flex; flex-direction: column; gap: 12px; }
.sdlc-phase {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  align-items: center;
  transition: all var(--t-mid);
}
.sdlc-phase:hover { transform: translateX(4px); }
.phase-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  text-align: center;
}
.sdlc-phase.gold .phase-num { color: var(--gold); }
.phase-name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.phase-desc { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.phase-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.phase-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--muted), var(--muted));
  transition: width 800ms cubic-bezier(0.4, 0, 0.2, 1);
}
.sdlc-phase.gold .phase-bar-fill {
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 12px var(--gold-glow);
}
.phase-bar-num {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: var(--text);
}

.sdlc-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100px;
}
.sdlc-divider-pulse {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation: pulseExpand 2s ease-out infinite;
  opacity: 0.4;
}
.sdlc-divider-arrow {
  color: var(--gold);
  font-size: 24px;
}
.sdlc-divider-text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  font-weight: 700;
}

.pmo-shifts {
  margin-top: 56px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(120, 180, 255, 0.04) 0%, rgba(255, 209, 102, 0.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.pmo-shifts-title {
  margin: 0 0 28px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}
.pmo-shift-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.pmo-shift-card {
  background: rgba(10, 13, 19, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  gap: 16px;
  align-items: center;
  transition: all var(--t-mid);
}
.pmo-shift-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.pmo-shift-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(255, 209, 102, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 18px;
  flex-shrink: 0;
}
.pmo-shift-body { flex: 1; }
.pmo-shift-from {
  font-size: 11.5px;
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 107, 107, 0.4);
}
.pmo-shift-arrow { color: var(--gold); margin: 2px 0; opacity: 0.6; }
.pmo-shift-to {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold);
}

@media (max-width: 900px) { .pmo-shift-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .pmo-shift-grid { grid-template-columns: 1fr; } }

.git-discipline {
  margin-top: 32px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.06) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: var(--radius);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.git-discipline-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-size: 24px;
  flex-shrink: 0;
}
.git-discipline-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 8px;
}
.git-discipline h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; }
.git-discipline p { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.75; }

/* ============================================================
   SECTION 5 — SECURITY THREATS
   ============================================================ */
.threat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .threat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .threat-grid { grid-template-columns: 1fr; } }

.threat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: all var(--t-mid);
  cursor: pointer;
  opacity: 0;
  animation: cardIn 600ms ease-out both;
  animation-delay: calc(var(--i) * 60ms);
}
@keyframes cardIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.threat-card:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.threat-card-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 209, 102, 0.1), transparent 40%);
  opacity: 0;
  transition: opacity var(--t-mid);
  pointer-events: none;
}
.threat-card:hover .threat-card-shine { opacity: 1; }
.threat-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.threat-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: rgba(255, 107, 107, 0.12);
  color: var(--red);
}
.threat-card.sev-high .threat-icon { background: rgba(255, 155, 84, 0.12); color: var(--orange); }
.threat-card.sev-medium .threat-icon { background: rgba(255, 209, 102, 0.12); color: var(--gold); }
.threat-sev {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255, 107, 107, 0.15);
  color: var(--red);
  border: 1px solid rgba(255, 107, 107, 0.3);
}
.threat-card.sev-high .threat-sev { background: rgba(255, 155, 84, 0.15); color: var(--orange); border-color: rgba(255, 155, 84, 0.3); }
.threat-card.sev-medium .threat-sev { background: rgba(255, 209, 102, 0.15); color: var(--gold); border-color: rgba(255, 209, 102, 0.3); }
.threat-name { font-size: 16px; font-weight: 800; margin: 0 0 10px; }
.threat-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.7; margin: 0 0 14px; }
.threat-mitig {
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--gold);
}
.mitig-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 3px;
}
.mitig-val { font-size: 12px; color: var(--text); line-height: 1.5; }

.control-plane {
  margin-top: 56px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(120, 180, 255, 0.05) 0%, rgba(120, 255, 180, 0.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cp-title { margin: 0 0 6px; font-size: 22px; font-weight: 800; color: var(--blue); }
.cp-sub { margin: 0 0 28px; color: var(--text-2); font-size: 13.5px; }
.cp-layers { display: flex; flex-direction: column; gap: 10px; }
.cp-layer {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  background: rgba(10, 13, 19, 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: all var(--t-mid);
}
.cp-layer:hover {
  border-color: var(--blue);
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(120, 180, 255, 0.15);
}
.cp-layer-num {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 900;
  color: var(--blue);
  text-align: center;
  background: rgba(120, 180, 255, 0.1);
  border: 1px solid rgba(120, 180, 255, 0.3);
  padding: 8px 0;
  border-radius: 8px;
}
.cp-layer-body h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.cp-layer-body p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.cp-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: pulseDot 1.8s ease-in-out infinite;
}

/* ============================================================
   SECTION 6 — MYTHOS TIMELINE
   ============================================================ */
.mythos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 1024px) { .mythos-grid { grid-template-columns: 1fr; } }

.tl-title { margin: 0 0 24px; font-size: 20px; font-weight: 800; color: var(--red); }
.timeline { position: relative; }
.tl-event {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  margin-bottom: 14px;
  opacity: 0;
  animation: tlIn 700ms ease-out both;
  animation-delay: calc(var(--i) * 150ms);
}
@keyframes tlIn { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
.tl-marker { display: flex; flex-direction: column; align-items: center; }
.tl-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--red), 0 0 16px var(--red);
  flex-shrink: 0;
  animation: dotPulse 2s ease-in-out infinite;
  z-index: 1;
}
.tl-event.tl-info .tl-dot { background: var(--blue); box-shadow: 0 0 0 1px var(--blue), 0 0 12px var(--blue); }
.tl-event.tl-warn .tl-dot { background: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 0 12px var(--orange); }
.tl-event.tl-crit .tl-dot { background: var(--red); box-shadow: 0 0 0 1px var(--red), 0 0 18px var(--red); animation: dotPulse 1s ease-in-out infinite; }
.tl-event.tl-resp .tl-dot { background: var(--green); box-shadow: 0 0 0 1px var(--green), 0 0 12px var(--green); }
@keyframes dotPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.tl-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--line) 0%, transparent 100%);
  margin-top: 4px;
}
.tl-event:last-child .tl-line { display: none; }
.tl-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all var(--t-mid);
}
.tl-event.tl-crit .tl-card {
  border-color: rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, var(--panel) 100%);
}
.tl-card:hover { transform: translateX(4px); border-color: var(--gold); }
.tl-phase {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 4px;
}
.tl-event-title { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.tl-event-body { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.7; }

.mythos-right { display: flex; flex-direction: column; gap: 20px; }
.vuln-card, .defense-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.vuln-card { border-color: rgba(255, 107, 107, 0.25); }
.vuln-title { margin: 0 0 18px; font-size: 16px; font-weight: 800; color: var(--red); }
.vuln-list { display: flex; flex-direction: column; gap: 12px; }
.vuln-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  background: rgba(255, 107, 107, 0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--red);
}
.vuln-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255, 107, 107, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-size: 15px;
  flex-shrink: 0;
}
.vuln-name { font-size: 13.5px; font-weight: 700; margin-bottom: 3px; }
.vuln-desc { font-size: 12px; color: var(--text-2); line-height: 1.6; }

.defense-card { border-color: rgba(255, 209, 102, 0.3); }
.defense-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.defense-list {
  margin: 0;
  padding: 0 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.defense-list li { font-size: 13px; line-height: 1.7; color: var(--text-2); }
.defense-list strong { display: block; color: var(--gold); margin-bottom: 4px; font-weight: 700; }
.defense-list p { margin: 0; }

/* ============================================================
   SECTION 7 — MONEY FORWARD
   ============================================================ */
.mfwd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
@media (max-width: 1024px) { .mfwd-grid { grid-template-columns: 1fr; } }

.mfwd-why h3, .mfwd-bars h3 { margin: 0 0 14px; font-size: 19px; font-weight: 800; }
.mfwd-bars-sub { margin: 0 0 24px; font-size: 13px; color: var(--muted); }

.mfwd-reason { display: flex; flex-direction: column; gap: 14px; }
.reason-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: flex-start;
  transition: all var(--t-mid);
}
.reason-row:hover { transform: translateY(-2px); border-color: var(--gold); }
.reason-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(255, 209, 102, 0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.reason-icon.danger { background: rgba(255, 107, 107, 0.12); color: var(--red); }
.reason-icon.warn { background: rgba(255, 155, 84, 0.12); color: var(--orange); }
.reason-row strong { display: block; font-size: 14px; margin-bottom: 6px; }
.reason-row p { margin: 0; font-size: 13px; color: var(--text-2); line-height: 1.7; }

.bar-chart { display: flex; flex-direction: column; gap: 8px; }
.bar-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
}
.bar-label { font-size: 12.5px; font-weight: 600; color: var(--text-2); }
.bar-track {
  background: rgba(255, 255, 255, 0.04);
  height: 26px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.bar-fill {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  color: #0c1117;
}
.bar-row.is-in .bar-fill { width: var(--w); }
.bar-mega .bar-fill { background: linear-gradient(90deg, #4ade80, #22c55e); }
.bar-net .bar-fill { background: linear-gradient(90deg, #60a5fa, #3b82f6); }
.bar-regional .bar-fill { background: linear-gradient(90deg, #f59e0b, #d97706); color: #fff; }
.bar-card .bar-fill { background: linear-gradient(90deg, #f87171, #dc2626); color: #fff; }

.bar-legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--muted); }
.bar-legend .dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: 1px;
}
.bar-legend .dot.mega { background: #4ade80; }
.bar-legend .dot.net { background: #60a5fa; }
.bar-legend .dot.regional { background: #f59e0b; }
.bar-legend .dot.card { background: #f87171; }

.lesson-banner {
  display: flex;
  gap: 20px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.07) 0%, rgba(0, 0, 0, 0.2) 100%);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: var(--radius);
  align-items: flex-start;
}
.lesson-banner i { color: var(--gold); font-size: 28px; flex-shrink: 0; }
.lesson-banner p { margin: 0; font-size: 14.5px; line-height: 1.85; color: var(--text); }

/* ============================================================
   SECTION 8 — GEOPOLITICS
   ============================================================ */
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
@media (max-width: 1024px) { .country-grid { grid-template-columns: 1fr; } }
.country-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--t-mid);
  position: relative;
  overflow: hidden;
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.country-card.sent-high { border-color: rgba(255, 107, 107, 0.25); }
.country-head { display: flex; gap: 14px; margin-bottom: 18px; align-items: center; }
.country-flag { font-size: 40px; line-height: 1; }
.country-name { margin: 0; font-size: 20px; font-weight: 800; }
.country-summary { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.country-body { display: flex; flex-direction: column; gap: 12px; }
.country-row { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; }
.country-row-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
}
.country-row-val { font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.country-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.country-tags.down .tag { color: var(--red); border-color: rgba(255, 107, 107, 0.3); }
.country-tags.up .tag { color: var(--green); border-color: rgba(120, 255, 180, 0.3); }
.country-sent { display: flex; align-items: center; gap: 10px; }
.sent-meter {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}
.sent-meter::after {
  content: '';
  position: absolute;
  inset: 0 70% 0 0;
  background: linear-gradient(90deg, var(--green), #fbbf24);
  border-radius: 99px;
}
.sent-meter.high::after { inset: 0 5% 0 0; background: linear-gradient(90deg, #fbbf24, var(--red)); }
.country-sent span { font-size: 11.5px; color: var(--text); font-weight: 600; }
.country-future {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 209, 102, 0.04);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  margin-top: 6px;
}
.country-future i { color: var(--gold); margin-top: 2px; }
.country-future p { margin: 0; font-size: 12px; color: var(--text-2); line-height: 1.6; font-style: italic; }

/* (legacy bushido-banner styles removed — Section 8 reorganized to Global Public Sector Policy) */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }
.case-col {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.case-col-head {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.case-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.case-list li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--gold);
  transition: all var(--t-fast);
}
.case-list li:hover { background: rgba(255, 209, 102, 0.06); transform: translateX(3px); }
.case-list strong { display: block; font-size: 13px; margin-bottom: 4px; font-weight: 700; }
.case-list span { font-size: 11.5px; color: var(--muted); line-height: 1.5; }

/* ============================================================
   HANDS-ON
   ============================================================ */
.ho-card {
  margin-top: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.ho-head {
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.05) 0%, transparent 100%);
}
.ho-pattern {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--gold);
  padding: 4px 12px;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: 4px;
  margin-bottom: 10px;
}
.ho-head h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.ho-sub { margin: 0; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

.ho-body { padding: 28px 32px; }

/* Pattern A — Injection */
.ho-injection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .ho-injection { grid-template-columns: 1fr; } }

.injection-doc, .injection-run {
  display: flex;
  flex-direction: column;
}
.doc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}
.doc-head i { color: var(--gold); }
.doc-textarea {
  width: 100%;
  min-height: 280px;
  background: #0a0e15;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.7;
  resize: vertical;
  outline: none;
  transition: border var(--t-fast);
}
.doc-textarea:focus { border-color: var(--gold); }
.doc-toolbar { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ho-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  transition: all var(--t-fast);
}
.ho-btn:hover { border-color: var(--gold); color: var(--gold); }
.ho-btn.warn:hover { border-color: var(--red); color: var(--red); }
.ho-btn.ghost { background: transparent; }

.toggle-row { margin-bottom: 16px; }
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 14px;
  background: rgba(255, 209, 102, 0.04);
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: var(--radius);
  user-select: none;
  width: 100%;
}
.toggle input { display: none; }
.toggle-slider {
  position: relative;
  width: 50px;
  height: 26px;
  background: var(--line);
  border-radius: 999px;
  transition: background var(--t-fast);
  flex-shrink: 0;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: all var(--t-mid);
}
.toggle input:checked + .toggle-slider {
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 16px var(--gold-glow);
}
.toggle input:checked + .toggle-slider::before { left: 27px; }
.toggle-label strong { display: block; font-size: 13.5px; }
.toggle-label em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}

.ho-run-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  color: #0c1117;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(255, 209, 102, 0.3);
  transition: all var(--t-mid);
  width: 100%;
  justify-content: center;
}
.ho-run-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255, 209, 102, 0.45); }
.ho-run-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.run-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 3s infinite;
}

.run-log {
  margin-top: 16px;
  padding: 16px;
  background: #0a0e15;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  min-height: 220px;
  max-height: 360px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.85;
}
.log-placeholder { color: var(--muted); font-style: italic; }
.log-line {
  opacity: 0;
  animation: logIn 400ms ease-out both;
  padding: 3px 0;
}
@keyframes logIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; } }
.log-line.kind-system { color: var(--blue); }
.log-line.kind-agent { color: var(--text); }
.log-line.kind-tool { color: var(--gold); }
.log-line.kind-guard { color: var(--green); }
.log-line.kind-safe { color: var(--green); font-weight: 700; }
.log-line.kind-danger { color: var(--red); font-weight: 700; }
.log-line.kind-inject { color: var(--orange); }

.run-verdict {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.7;
  display: none;
}
.run-verdict.visible { display: block; animation: verdictIn 400ms ease-out; }
@keyframes verdictIn { from { opacity: 0; transform: scale(0.95); } }
.run-verdict.safe {
  background: rgba(120, 255, 180, 0.08);
  border-left: 3px solid var(--green);
  color: var(--green);
}
.run-verdict.danger {
  background: rgba(255, 107, 107, 0.08);
  border-left: 3px solid var(--red);
  color: var(--red);
  animation: verdictIn 400ms ease-out, shake 0.6s 0.4s;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* Pattern B — Repo Viz */
.ho-repoviz {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.repo-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 768px) { .repo-input { grid-template-columns: 1fr; } }
.repo-meta { display: flex; flex-wrap: wrap; gap: 14px; }
.repo-meta > div {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 4px;
}
.repo-meta i { color: var(--gold); }

.repoviz-progress {
  background: #0a0e15;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 8px;
}
.repoviz-progress.active { display: flex; }
.rv-step {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  transition: all 400ms;
}
.rv-step i { width: 18px; }
.rv-step.active { color: var(--gold); opacity: 1; }
.rv-step.done { color: var(--green); opacity: 1; }

.repoviz-output {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: none;
}
.repoviz-output.visible { display: block; animation: verdictIn 500ms ease-out; }
.rv-output-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: rgba(120, 255, 180, 0.05);
  border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600;
}
.rv-output-head i { color: var(--gold); }
.badge-ready {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  padding: 3px 9px;
  background: rgba(120, 255, 180, 0.15);
  border: 1px solid rgba(120, 255, 180, 0.4);
  border-radius: 4px;
  color: var(--green);
  font-weight: 700;
}
.rv-output-body { padding: 20px; background: #0a0e15; }
.rv-svg { width: 100%; height: auto; }
.rv-node rect {
  fill: var(--panel-2);
  stroke: var(--gold);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 6px rgba(255, 209, 102, 0.2));
}
.rv-t { fill: var(--text); font-size: 10.5px; font-weight: 700; font-family: var(--font-mono); }
.rv-s { fill: var(--muted); font-size: 9px; font-family: var(--font-mono); }
.rv-edges path { fill: none; stroke: var(--edge); stroke-width: 1.5; }
.rv-active-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-dasharray: 6 4;
  animation: dashFlow 1s linear infinite;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}
.rv-output-foot {
  display: flex; flex-wrap: wrap; gap: 18px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--text-2);
}
.rv-output-foot i { color: var(--gold); margin-right: 4px; }

/* Pattern C — Builder */
.ho-builder {
  display: grid;
  grid-template-columns: 220px 1fr 240px;
  gap: 18px;
  min-height: 460px;
}
@media (max-width: 1024px) { .ho-builder { grid-template-columns: 1fr; } }

.builder-palette {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.palette-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.palette-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: grab;
  font-size: 12.5px;
  font-weight: 600;
  transition: all var(--t-fast);
  user-select: none;
}
.palette-item:active { cursor: grabbing; }
.palette-item:hover { transform: translateX(3px); border-color: var(--gold); }
.palette-item i { width: 18px; text-align: center; }
.palette-item.cat-io { border-left: 3px solid var(--blue); }
.palette-item.cat-process { border-left: 3px solid var(--magenta); }
.palette-item.cat-guard { border-left: 3px solid var(--green); }
.palette-item.cat-critical { border-left: 3px solid var(--red); }
.palette-item.cat-io i { color: var(--blue); }
.palette-item.cat-process i { color: var(--magenta); }
.palette-item.cat-guard i { color: var(--green); }
.palette-item.cat-critical i { color: var(--red); }
.palette-legend {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10.5px;
  font-family: var(--font-mono);
  color: var(--muted);
}
.leg-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: 0px;
}
.leg-dot.io { background: var(--blue); }
.leg-dot.process { background: var(--magenta); }
.leg-dot.guard { background: var(--green); }
.leg-dot.critical { background: var(--red); }

.builder-canvas {
  position: relative;
  background: #0a0e15;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 420px;
  overflow: hidden;
}
.canvas-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.canvas-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
}
.canvas-placeholder i { font-size: 32px; color: var(--gold); opacity: 0.5; }
.canvas-placeholder p { text-align: center; font-size: 13px; line-height: 1.7; margin: 0; }
.builder-canvas.has-items .canvas-placeholder { display: none; }
.builder-canvas.drag-over {
  border-color: var(--gold);
  box-shadow: inset 0 0 24px rgba(255, 209, 102, 0.15);
}
.canvas-flow {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 24px;
  min-height: 420px;
  align-content: flex-start;
}
.canvas-edges {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.canvas-node {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  position: relative;
  animation: nodeIn 400ms ease-out;
  cursor: pointer;
}
@keyframes nodeIn { from { opacity: 0; transform: scale(0.8); } }
.canvas-node.cat-io { border-color: var(--blue); }
.canvas-node.cat-process { border-color: var(--magenta); }
.canvas-node.cat-guard { border-color: var(--green); }
.canvas-node.cat-critical { border-color: var(--red); }
.canvas-node.cat-io i { color: var(--blue); }
.canvas-node.cat-process i { color: var(--magenta); }
.canvas-node.cat-guard i { color: var(--green); }
.canvas-node.cat-critical i { color: var(--red); }
.canvas-node .node-remove {
  margin-left: 6px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.2);
  border: 0;
  color: var(--red);
  cursor: pointer;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all var(--t-fast);
}
.canvas-node .node-remove:hover { background: var(--red); color: #fff; }

.builder-side {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.score-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.score-meter {
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 6px;
}
.score-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--green));
  border-radius: 99px;
  transition: width 600ms cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px var(--gold-glow);
}
.score-num {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}
.score-detail { font-size: 11.5px; color: var(--muted); }
.builder-checks { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--muted);
  transition: all var(--t-fast);
}
.check-item.done {
  color: var(--green);
  background: rgba(120, 255, 180, 0.06);
}
.check-item.done i::before { content: '\f058'; }

.handson-summary {
  margin-top: 36px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.07) 0%, rgba(120, 180, 255, 0.04) 100%);
  border: 1px solid rgba(255, 209, 102, 0.3);
  border-radius: var(--radius);
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.handson-summary i { color: var(--gold); font-size: 28px; }
.handson-summary p { margin: 0; font-size: 14.5px; line-height: 1.85; }

/* ============================================================
   CLOSING
   ============================================================ */
.section-closing .section-header { text-align: center; }
.closing-skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 64px;
}
@media (max-width: 1024px) { .closing-skills { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .closing-skills { grid-template-columns: 1fr; } }
.skill-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: skillIn 700ms ease-out both;
  animation-delay: calc(var(--i) * 140ms);
  transition: all var(--t-mid);
}
@keyframes skillIn { from { opacity: 0; transform: translateY(30px); } }
.skill-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.skill-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.skill-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 16px;
}
.skill-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.15), rgba(255, 209, 102, 0.05));
  border: 1px solid rgba(255, 209, 102, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
  font-size: 26px;
}
.skill-name { font-size: 16px; font-weight: 800; margin: 0 0 10px; color: var(--gold); }
.skill-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.75; margin: 0; }

.manifesto {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
  padding: 56px 32px;
  background: radial-gradient(ellipse at top, rgba(255, 209, 102, 0.07) 0%, transparent 70%);
  border-radius: var(--radius);
  position: relative;
}
.manifesto-mark { margin-bottom: 24px; display: inline-block; animation: float 3s ease-in-out infinite; }
.manifesto-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  margin: 0 0 20px;
  line-height: 1.3;
}
.manifesto-body {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
  max-width: 720px;
  margin: 0 auto 36px;
}
.manifesto-credo {
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.8;
  margin: 0;
  letter-spacing: 0.02em;
}

.closing-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1000px;
  margin: 0 auto;
}
.keyword-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  transition: all var(--t-fast);
  opacity: 0;
  animation: chipIn 400ms ease-out both;
  animation-delay: calc(var(--i) * 50ms);
}
@keyframes chipIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
.keyword-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 209, 102, 0.08);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: 80px;
  padding: 64px 32px 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
  border-top: 1px solid var(--line);
}
.footer-inner {
  max-width: 1480px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer-logo strong { font-size: 16px; font-weight: 800; display: block; }
.footer-logo em { font-size: 11px; color: var(--muted); font-style: normal; letter-spacing: 0.08em; }
.footer-disc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0;
}
.footer-refs-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-refs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-refs a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-2);
  font-size: 12.5px;
  padding: 6px 0;
  transition: color var(--t-fast);
}
.footer-refs a:hover { color: var(--gold); }
.footer-refs i { color: var(--muted); font-size: 11px; transition: color var(--t-fast); }
.footer-refs a:hover i { color: var(--gold); }
.footer-bottom {
  max-width: 1480px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-credo {
  font-family: var(--font-mono);
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ============================================================
   Reduce motion preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   ENRICHMENT v2 — Section 8 (Global Policy), Section 9 (Finance),
   Section 5 source bar / sev-critical, Section 6 Mythos capabilities & Glasswing,
   Closing credo stagger, Footer ref-groups
   ============================================================ */

/* ---------- Closing credo stagger ---------- */
.manifesto-credo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.credo-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(8px);
  animation: credoIn 700ms ease-out both;
  animation-delay: calc(800ms + var(--i) * 320ms);
}
@keyframes credoIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- Section 5 — sev-critical & threat-source-bar ---------- */
.threat-card.sev-critical .threat-icon { background: rgba(255, 107, 107, 0.14); color: var(--red); }
.threat-card.sev-critical .threat-sev { background: rgba(255, 107, 107, 0.18); color: var(--red); border-color: rgba(255, 107, 107, 0.4); }

.threat-source-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 18px;
  background: rgba(255, 209, 102, 0.04);
  border: 1px solid rgba(255, 209, 102, 0.18);
  border-radius: var(--radius);
}
.threat-source-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-2);
  padding: 7px 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all var(--t-fast);
  text-decoration: none;
}
.threat-source-bar a:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 209, 102, 0.25);
}
.threat-source-bar a i { font-size: 12px; }

/* ---------- Section 6 — Mythos capabilities ---------- */
.mythos-capabilities {
  margin: 22px 0 36px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.06) 0%, rgba(255, 209, 102, 0.04) 100%);
  border: 1px solid rgba(255, 107, 107, 0.22);
  border-radius: var(--radius);
}
.mythos-capabilities-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.mythos-capabilities-head i { font-size: 18px; }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-item {
  padding: 18px 18px 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
}
.cap-item:hover {
  border-color: rgba(255, 209, 102, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
}
.cap-num {
  font-family: var(--font-mono);
  font-size: 38px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.cap-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  margin-left: 4px;
  letter-spacing: 0;
}
.cap-title {
  font-size: 13.5px;
  font-weight: 700;
  margin: 8px 0 6px;
  color: var(--text);
}
.cap-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.65;
}

/* ---------- Section 6 — Glasswing & Alignment Update ---------- */
.glasswing-block {
  margin: 28px 0 24px;
  padding: 26px 32px;
  background: linear-gradient(135deg, rgba(122, 180, 255, 0.06) 0%, rgba(255, 209, 102, 0.04) 100%);
  border: 1px solid rgba(122, 180, 255, 0.22);
  border-radius: var(--radius);
}
.glasswing-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 640px) { .glasswing-head { grid-template-columns: 1fr; } }
.glasswing-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(122, 180, 255, 0.12);
  border: 2px solid rgba(122, 180, 255, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 30px;
}
.glasswing-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 6px;
}
.glasswing-head-text h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.5;
}
.glasswing-head-text p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--text-2);
}
.alignment-update {
  margin-top: 18px;
  padding: 16px 20px;
  background: rgba(255, 107, 107, 0.06);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
}
.alignment-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.alignment-update p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-2);
}

/* ---------- Section 8 — Policy Grid (5 countries) ---------- */
.section-geo { position: relative; }
.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}
.policy-card {
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 3px solid var(--pc, var(--gold));
  position: relative;
  transition: all var(--t-mid);
}
.policy-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.45);
  border-color: var(--pc, var(--gold));
}
.policy-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.policy-flag {
  font-size: 34px;
  line-height: 1;
}
.policy-code {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--pc, var(--gold));
}
.policy-name {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 800;
}
.policy-org {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.policy-pillars {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.policy-pillars li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.pillar-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--pc, var(--gold));
  color: var(--bg);
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
  align-self: start;
}
.pillar-text strong { color: var(--text); }
.policy-posture {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 209, 102, 0.05);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--gold);
  margin-bottom: 14px;
}
.policy-posture i { color: var(--gold); margin-top: 2px; font-size: 13px; }
.policy-posture p { margin: 0; font-size: 12.5px; color: var(--text); line-height: 1.7; font-style: italic; font-weight: 500; }
.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.policy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 5px 10px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t-fast);
}
.policy-link:hover {
  color: var(--bg);
  background: var(--pc, var(--gold));
  border-color: var(--pc, var(--gold));
}
.policy-link i { font-size: 9px; }

/* ---------- Section 8 — Framework Banner (NIST/MITRE/OWASP/MCP) ---------- */
.framework-banner {
  margin: 36px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(255, 209, 102, 0.06) 0%, rgba(122, 180, 255, 0.04) 100%);
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: var(--radius);
}
.framework-banner-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 14px;
}
.framework-banner-head i {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--gold);
  background: rgba(255, 209, 102, 0.1);
  border: 2px solid rgba(255, 209, 102, 0.3);
  border-radius: 50%;
}
.framework-banner-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-weight: 700;
}
.framework-banner-head h3 {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
}
.framework-banner-lead {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
}
.framework-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .framework-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .framework-cards { grid-template-columns: 1fr; } }
.framework-card {
  padding: 18px 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: all var(--t-fast);
  display: flex;
  flex-direction: column;
}
.framework-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}
.framework-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.framework-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.framework-desc {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}
.framework-cta {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Section 8 — Acquisition Board ---------- */
.acquisition-board {
  padding: 26px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.acquisition-board-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 20px;
  text-transform: uppercase;
}
.acquisition-board-title i { font-size: 18px; }
.acquisition-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .acquisition-cols { grid-template-columns: 1fr; } }
.acq-col {
  padding: 18px 20px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.acq-col-head {
  font-size: 14px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.acq-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.acq-col li {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-2);
  padding-left: 14px;
  position: relative;
}
.acq-col li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
}
.acq-col li strong { color: var(--text); }

/* ---------- Section 9 — Finance ---------- */
.section-finance {
  position: relative;
}
.section-finance::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.35), transparent);
}

.fin-templates {
  margin-bottom: 36px;
  padding: 26px 30px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fin-templates-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.fin-templates-title i { font-size: 18px; }
.fin-templates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
@media (max-width: 1200px) { .fin-templates-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .fin-templates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .fin-templates-grid { grid-template-columns: 1fr; } }
.fin-template-card {
  padding: 16px 14px 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all var(--t-fast);
  opacity: 0;
  transform: translateY(8px);
  animation: tmplIn 500ms ease-out both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
@keyframes tmplIn { to { opacity: 1; transform: translateY(0); } }
.fin-template-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.fin-template-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.25);
  border-radius: 8px;
  color: var(--gold);
  font-size: 16px;
  margin-bottom: 10px;
}
.fin-template-name {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.fin-template-desc {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.fin-cases {
  margin-bottom: 36px;
}
.fin-cases-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.fin-cases-title i { font-size: 18px; }
.fin-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .fin-cases-grid { grid-template-columns: 1fr; } }
.fin-case-card {
  padding: 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all var(--t-mid);
}
.fin-case-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.4);
}
.fin-case-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.fin-case-flag {
  font-size: 34px;
  line-height: 1;
}
.fin-case-name {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
}
.fin-case-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
}
.fin-case-desc {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
}
.fin-case-insight {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(255, 209, 102, 0.05);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}
.fin-case-insight i { color: var(--gold); margin-top: 3px; }
.fin-case-insight p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
}
.fin-case-insight strong { color: var(--gold); font-style: normal; }
.fin-case-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t-fast);
}
.fin-case-link:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}
.fin-case-link i { font-size: 10px; }

/* MAS regulatory board */
.mas-board {
  margin-bottom: 28px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(216, 31, 38, 0.05) 0%, rgba(255, 209, 102, 0.04) 100%);
  border: 1px solid rgba(216, 31, 38, 0.22);
  border-radius: var(--radius);
}
.mas-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}
@media (max-width: 640px) { .mas-head { grid-template-columns: 1fr; } }
.mas-flag {
  font-size: 50px;
  line-height: 1;
}
.mas-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: #ff6b6b;
  font-weight: 700;
  margin-bottom: 6px;
}
.mas-head h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.mas-head p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-2);
}
.mas-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 900px) { .mas-pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .mas-pillars { grid-template-columns: 1fr; } }
.mas-pillar {
  padding: 14px 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.mas-pillar-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 6px;
}
.mas-pillar-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.4;
}
.mas-pillar-desc {
  font-size: 11.5px;
  color: var(--text-2);
  line-height: 1.65;
}
.mas-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mas-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-2);
  text-decoration: none;
  transition: all var(--t-fast);
}
.mas-links a:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}
.mas-links a i { font-size: 10px; }

/* Finance warning banner */
.fin-warning {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.07) 0%, rgba(255, 155, 84, 0.04) 100%);
  border: 1px solid rgba(255, 107, 107, 0.25);
  border-radius: var(--radius);
  align-items: center;
}
@media (max-width: 640px) { .fin-warning { grid-template-columns: 1fr; } }
.fin-warning-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 107, 107, 0.12);
  border: 2px solid rgba(255, 107, 107, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-size: 26px;
}
.fin-warning-body h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
}
.fin-warning-body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-2);
}
.fin-warning-body strong { color: var(--text); }
.fin-warning-body em { color: var(--gold); font-style: normal; font-weight: 600; }

/* ---------- Footer — categorized ref groups ---------- */
.footer-ref-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}
@media (max-width: 700px) { .footer-ref-groups { grid-template-columns: 1fr; } }
.footer-ref-group {
  min-width: 0;
}
.footer-ref-group-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-ref-group-title i { font-size: 11px; }
.footer-ref-group .footer-refs a {
  padding: 4px 0;
  font-size: 12px;
}
.footer-ref-group .footer-refs span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Section 5 — title bump to support nest of source-bar ---------- */
.section-security .section-header { position: relative; }

