:root {
  color-scheme: dark;
  --bg: #050914;
  --bg-deep: #03060e;
  --bg-navy: #0f172a;
  --surface: rgba(15, 23, 42, 0.72);
  --surface-strong: rgba(11, 18, 34, 0.94);
  --surface-hover: rgba(19, 30, 56, 0.9);
  --fg: #f8fafc;
  --fg-secondary: #cbd5e1;
  --muted: #8b9bb4;
  --border: rgba(148, 163, 184, 0.14);
  --border-bright: rgba(148, 163, 184, 0.26);
  --border-cobalt: rgba(91, 140, 255, 0.42);
  --border-amber: rgba(251, 191, 36, 0.38);
  --cobalt-core: #2b5bd7;
  --cobalt: #5b8cff;
  --cobalt-bright: #93b4ff;
  --amber-core: #d97706;
  --amber: #fbbf24;
  --amber-bright: #fde68a;
  --emerald-ok: #34d399;
  --badge-ok-bg: rgba(52, 211, 153, 0.13);
  --badge-ok-fg: #6ee7b7;
  --badge-ok-border: rgba(52, 211, 153, 0.36);
  --badge-pend-bg: rgba(251, 191, 36, 0.13);
  --badge-pend-fg: #fbbf24;
  --badge-pend-border: rgba(251, 191, 36, 0.36);
  --mono: ui-monospace, SFMono-Regular, "SF Mono", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius-2xl: 24px;
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse 90% 42rem at 50% -10rem, rgba(43, 91, 215, 0.24), transparent 70%),
    radial-gradient(ellipse 55% 28rem at 85% 4rem, rgba(251, 191, 36, 0.08), transparent 68%),
    var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.68;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* --- Lightweight Static Top Grid Accent (Zero Fixed Repaint, 120fps Scroll) --- */
.ambient-canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36rem;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 140, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 140, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

@keyframes scanSweep {
  0% { transform: translateX(-120%) skewX(-18deg); }
  100% { transform: translateX(240%) skewX(-18deg); }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cobalt-core);
  color: #ffffff;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  z-index: 300;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Top Cryptographic Telemetry Ribbon --- */
.telemetry-bar {
  background: rgba(3, 6, 14, 0.92);
  border-bottom: 1px solid rgba(91, 140, 255, 0.18);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.telemetry-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1.25rem;
  padding: 0.44rem 0;
}

.telemetry-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #dbeafe;
}

.telemetry-slogan {
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.telemetry-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.75);
}

.telemetry-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.9rem;
}

.telemetry-pills a {
  color: var(--muted);
  border-bottom: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.telemetry-pills a:hover {
  color: var(--cobalt-bright);
}

.telemetry-sep {
  color: rgba(148, 163, 184, 0.28);
}

/* --- Sticky Crisp Header & Official CortexRouter V2 Wordmark (Zero Blur Lag) --- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 11, 24, 0.97);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 28px -18px rgba(0, 0, 0, 0.9);
}

.header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.82rem 0 0.68rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  border-bottom: none;
  color: var(--fg);
}

.brand:hover {
  border-bottom: none;
  color: #ffffff;
}

.brand-mark-box {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  background: linear-gradient(145deg, #0f172a 0%, #091022 100%);
  border: 1px solid rgba(91, 140, 255, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 26px rgba(43, 91, 215, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand:hover .brand-mark-box {
  transform: translateY(-1px);
  border-color: rgba(251, 191, 36, 0.58);
  box-shadow:
    0 0 32px rgba(91, 140, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand-mark-img {
  width: 1.75rem;
  height: 1.75rem;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-wordmark {
  font-family: var(--sans);
  font-size: 1.24rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: inline-flex;
  align-items: baseline;
  gap: 0.08rem;
}

.brand-word-cortex {
  font-weight: 500;
  color: #f8fafc;
}

.brand-word-router {
  font-weight: 800;
  color: #ffffff;
}

.brand-word-ai {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 6px;
  padding: 0.08rem 0.36rem;
  margin-left: 0.38rem;
  letter-spacing: 0.02em;
}

.brand-sub {
  font-size: 0.74rem;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-top: 0.14rem;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.header-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 650;
  color: #e0eaff;
  background: linear-gradient(135deg, rgba(43, 91, 215, 0.32), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(91, 140, 255, 0.48);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  text-decoration: none;
  box-shadow: 0 0 22px -6px rgba(43, 91, 215, 0.55);
  transition: transform 0.16s ease, border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.header-mail svg {
  width: 0.88rem;
  height: 0.88rem;
  color: var(--amber);
  flex-shrink: 0;
}

.header-mail:hover {
  color: #ffffff;
  border-color: var(--amber);
  background: linear-gradient(135deg, rgba(43, 91, 215, 0.48), rgba(217, 119, 6, 0.22));
  transform: translateY(-1px);
}

.lang-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.24rem;
  background: rgba(10, 16, 31, 0.88);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.lang-bar a,
.lang-bar span.active-lang {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.71rem;
  line-height: 1;
  padding: 0.35rem 0.56rem;
  border-radius: 999px;
  text-decoration: none;
  border-bottom: none;
  transition: all 0.16s ease;
}

.lang-bar a {
  color: var(--muted);
}

.lang-bar a:hover,
.lang-bar a:focus-visible {
  color: #ffffff;
  background: rgba(91, 140, 255, 0.14);
  border-bottom: none;
}

.lang-bar span.active-lang {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cobalt-core), #4374ee);
  font-weight: 800;
  box-shadow: 0 0 14px rgba(43, 91, 215, 0.55);
}

nav.primary-nav {
  border-top: 1px solid rgba(148, 163, 184, 0.09);
  padding: 0.42rem 0;
}

nav.primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.28rem 0.38rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav.primary-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 530;
  color: var(--muted);
  text-decoration: none;
  border-bottom: none;
  position: relative;
  transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

nav.primary-nav a svg {
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.75;
  flex-shrink: 0;
  transition: opacity 0.16s ease, color 0.16s ease;
}

nav.primary-nav a:hover,
nav.primary-nav a:focus-visible {
  color: #ffffff;
  background: rgba(91, 140, 255, 0.09);
  border-bottom: none;
}

nav.primary-nav a:hover svg {
  opacity: 1;
  color: var(--cobalt);
}

nav.primary-nav a[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(43, 91, 215, 0.28), rgba(91, 140, 255, 0.12));
  box-shadow: inset 0 0 0 1px rgba(91, 140, 255, 0.48), 0 4px 18px -6px rgba(43, 91, 215, 0.5);
  font-weight: 640;
}

nav.primary-nav a[aria-current="page"] svg {
  opacity: 1;
  color: var(--amber);
}

/* --- Compact, Swipeable Mobile Header & Navigation --- */
@media (max-width: 780px) {
  .container {
    padding: 0 1rem;
  }

  .telemetry-bar {
    display: none;
  }

  .header-top {
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.52rem 0 0.44rem;
  }

  .brand {
    gap: 0.58rem;
    min-width: 0;
  }

  .brand-mark-box {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 9px;
    flex-shrink: 0;
  }

  .brand-mark-img {
    width: 1.45rem;
    height: 1.45rem;
  }

  .brand-wordmark {
    font-size: 1.06rem;
  }

  .brand-word-ai {
    font-size: 0.66rem;
    padding: 0.05rem 0.28rem;
    margin-left: 0.26rem;
  }

  .brand-sub {
    display: none;
  }

  .header-actions {
    flex-wrap: nowrap;
    gap: 0.4rem;
    min-width: 0;
  }

  .header-mail {
    padding: 0.36rem 0.52rem;
  }

  .header-mail span {
    display: none;
  }

  .lang-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 9.8rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.18rem;
    gap: 0.12rem;
  }

  .lang-bar::-webkit-scrollbar {
    display: none;
  }

  .lang-bar a,
  .lang-bar span.active-lang {
    font-size: 0.66rem;
    padding: 0.28rem 0.44rem;
    white-space: nowrap;
  }

  nav.primary-nav {
    padding: 0.32rem 0 0.42rem;
  }

  nav.primary-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0.24rem;
    padding-bottom: 1px;
  }

  nav.primary-nav ul::-webkit-scrollbar {
    display: none;
  }

  nav.primary-nav li {
    flex-shrink: 0;
  }

  nav.primary-nav a {
    white-space: nowrap;
    padding: 0.36rem 0.68rem;
    font-size: 0.8rem;
    gap: 0.34rem;
  }

  main {
    padding: 1.65rem 0 3.2rem;
  }

  .eyebrow {
    font-size: 0.66rem;
    padding: 0.28rem 0.7rem;
    flex-wrap: wrap;
    border-radius: 12px;
  }

  .hero-wordmark-img {
    height: 2.55rem;
  }

  .action-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Main Content & Typography --- */
main {
  flex: 1;
  padding: 2.9rem 0 4.6rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.13), rgba(43, 91, 215, 0.14));
  border: 1px solid rgba(251, 191, 36, 0.34);
  padding: 0.36rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 26px -8px rgba(251, 191, 36, 0.35);
}

.eyebrow-sep {
  color: rgba(148, 163, 184, 0.45);
}

.eyebrow-sub {
  color: var(--cobalt-bright);
  font-weight: 600;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.75);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 2.3rem;
  align-items: stretch;
  margin-bottom: 2.3rem;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-wordmark-banner {
  margin-bottom: 1.05rem;
}

.hero-wordmark-img {
  height: 3.4rem;
  width: auto;
  max-width: 100%;
  display: block;
  filter: drop-shadow(0 8px 28px rgba(43, 91, 215, 0.38));
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.45rem);
  font-weight: 850;
  line-height: 1.07;
  margin: 0 0 1rem;
  letter-spacing: -0.038em;
  background: linear-gradient(135deg, #ffffff 22%, #dbeafe 62%, #93b4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-slogan-line {
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-slogan-line::before {
  content: "";
  display: inline-block;
  width: 1.6rem;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--cobalt));
  border-radius: 2px;
}

h1 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  font-weight: 830;
  line-height: 1.14;
  margin: 0 0 1.05rem;
  letter-spacing: -0.032em;
  color: #ffffff;
}

.hero-h1 {
  font-size: clamp(1.36rem, 2.2vw, 1.72rem);
  font-weight: 790;
  line-height: 1.25;
  margin: 0 0 0.85rem;
  letter-spacing: -0.024em;
  color: #f8fafc;
}

h2 {
  font-size: 1.3rem;
  font-weight: 740;
  line-height: 1.35;
  margin: 2.6rem 0 1.1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

h2::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 1.15em;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--amber), var(--cobalt));
  box-shadow: 0 0 12px rgba(91, 140, 255, 0.55);
}

h3 {
  font-size: 1.06rem;
  font-weight: 690;
  color: #ffffff;
  margin: 0 0 0.55rem;
}

p {
  margin: 0 0 1.05rem;
  color: var(--fg-secondary);
}

.mb-0 {
  margin-bottom: 0;
}

.lead {
  font-size: 1.14rem;
  line-height: 1.64;
  color: var(--fg);
  font-weight: 450;
  margin-bottom: 1.25rem;
}

a {
  color: var(--cobalt-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(91, 140, 255, 0.32);
  transition: color 0.16s ease, border-color 0.16s ease;
}

a:hover {
  color: var(--amber-bright);
  border-bottom-color: var(--amber);
}

/* --- Shimmering Zero-JS Buttons --- */
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.action-row-compact {
  margin-top: 0;
  margin-bottom: 1.55rem;
}

.action-row-tight {
  margin-top: 0.85rem;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.83rem;
  font-weight: 660;
  padding: 0.72rem 1.2rem;
  border-radius: 11px;
  border: 1px solid var(--border-bright);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #2b5bd7 0%, #3b72f6 60%, #4b83ff 100%);
  border-color: rgba(147, 180, 255, 0.55);
  color: #ffffff;
  box-shadow:
    0 10px 28px -8px rgba(43, 91, 215, 0.68),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: translateX(-160%) skewX(-18deg);
}

.btn-primary:hover {
  border-color: var(--amber);
  color: #ffffff;
  background: linear-gradient(135deg, #3266eb 0%, #4880ff 65%, #5b8cff 100%);
  box-shadow:
    0 14px 32px -6px rgba(43, 91, 215, 0.82),
    0 0 18px -4px rgba(251, 191, 36, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.btn-primary:hover::after {
  animation: scanSweep 0.75s ease forwards;
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.78);
  color: var(--fg-secondary);
  border-color: rgba(148, 163, 184, 0.25);
}

.btn-ghost:hover {
  border-color: rgba(91, 140, 255, 0.55);
  color: #ffffff;
  background: rgba(20, 32, 58, 0.92);
  transform: translateY(-2px);
}

/* --- CortexRouter Live Architecture & Cryptographic Verification Card --- */
.terminal-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(7, 12, 24, 0.98) 100%);
  border: 1px solid rgba(91, 140, 255, 0.28);
  border-radius: var(--radius-xl);
  box-shadow:
    0 26px 60px -20px rgba(0, 0, 0, 0.88),
    0 0 0 1px rgba(43, 91, 215, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
  position: relative;
}

.terminal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cobalt), var(--amber), var(--cobalt), transparent);
  opacity: 0.9;
}

.terminal-card-404 {
  max-width: 34rem;
  margin: 3rem auto;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.74rem 1.1rem;
  background: rgba(10, 17, 34, 0.92);
  border-bottom: 1px solid var(--border);
}

.terminal-dots {
  display: inline-flex;
  gap: 6px;
}

.terminal-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.terminal-dots span:nth-child(1) { background: #ef4444; opacity: 0.85; }
.terminal-dots span:nth-child(2) { background: #fbbf24; opacity: 0.95; }
.terminal-dots span:nth-child(3) { background: #5b8cff; opacity: 0.95; }

.terminal-label {
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--cobalt-bright);
}

.terminal-body {
  padding: 1.2rem 1.3rem;
}

.router-diagram-frame {
  background: radial-gradient(circle at 52% 50%, rgba(43, 91, 215, 0.18), rgba(4, 8, 18, 0.92) 72%);
  border: 1px solid rgba(91, 140, 255, 0.24);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.85rem;
  margin-bottom: 1rem;
}

.router-diagram-frame svg {
  width: 100%;
  height: auto;
  display: block;
}

.shell-probe {
  background: rgba(4, 7, 16, 0.85);
  border: 1px solid rgba(91, 140, 255, 0.24);
  border-radius: var(--radius-sm);
  padding: 0.68rem 0.88rem;
  margin-bottom: 1rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.55;
}

.shell-cmd {
  color: #e2e8f0;
  display: block;
}

.shell-prompt {
  color: var(--amber);
  margin-right: 0.4rem;
  font-weight: 700;
}

.shell-ok {
  color: var(--emerald-ok);
  display: block;
}

/* --- Vector Security Pipeline Strip --- */
.pipeline-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 1.6rem 0 2rem;
}

@media (max-width: 820px) {
  .pipeline-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .pipeline-strip {
    grid-template-columns: 1fr;
  }
}

.pipeline-node {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.88), rgba(8, 13, 26, 0.94));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pipeline-node:hover {
  border-color: var(--border-cobalt);
  transform: translateY(-2px);
}

.pipeline-step {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.pipeline-step svg {
  width: 1rem;
  height: 1rem;
  color: var(--cobalt);
}

.pipeline-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.pipeline-sub {
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--muted);
  margin-top: 0.16rem;
}

/* --- 4-Stat Telemetry Metrics Grid --- */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0 0 1.75rem;
}

@media (max-width: 820px) {
  .metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.metric-tile {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(8, 13, 26, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.metric-tile:hover {
  border-color: var(--border-cobalt);
  transform: translateY(-2px);
}

.metric-tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cobalt), var(--amber), transparent);
  opacity: 0.8;
}

.metric-num {
  font-family: var(--mono);
  font-size: 1.48rem;
  font-weight: 820;
  color: #ffffff;
  line-height: 1.15;
}

.metric-num-amber {
  color: var(--amber);
}

.metric-caption {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.32rem;
}

/* --- Bento Grids & Spotlight Cards --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.4rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.4rem 0;
}

@media (max-width: 860px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(8, 14, 28, 0.97) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.45rem 1.55rem;
  margin: 1.15rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 32px -18px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 140, 255, 0.55), rgba(251, 191, 36, 0.4), transparent);
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.card:hover {
  border-color: var(--border-cobalt);
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -18px rgba(0, 0, 0, 0.85), 0 0 32px -12px rgba(43, 91, 215, 0.32);
}

.card:hover::before {
  opacity: 1;
}

.grid-3 .card,
.grid-2 .card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  margin-bottom: 0.78rem;
}

.card-head h3 {
  margin: 0;
}

.icon-box {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(43, 91, 215, 0.24), rgba(251, 191, 36, 0.1));
  border: 1px solid rgba(91, 140, 255, 0.38);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cobalt-bright);
  flex-shrink: 0;
  box-shadow: 0 0 20px -5px rgba(43, 91, 215, 0.45);
}

.icon-box-amber {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.22), rgba(43, 91, 215, 0.14));
  border-color: rgba(251, 191, 36, 0.42);
  color: var(--amber);
}

.icon-box svg {
  width: 1.18rem;
  height: 1.18rem;
}

/* --- Hardware Cluster Visual Showcase (/support/) --- */
.hw-rack-card {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.94), rgba(7, 12, 24, 0.98));
  border: 1px solid rgba(91, 140, 255, 0.34);
  border-radius: var(--radius-xl);
  padding: 1.45rem 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  box-shadow: 0 20px 46px -18px rgba(0, 0, 0, 0.85);
  position: relative;
  overflow: hidden;
}

.hw-rack-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cobalt), var(--amber), transparent);
}

.hw-rack-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hw-tag {
  font-family: var(--mono);
  font-size: 0.71rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.34);
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
}

.hw-price-pill {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(43, 91, 215, 0.22);
  border: 1px solid rgba(91, 140, 255, 0.38);
  padding: 0.22rem 0.65rem;
  border-radius: 8px;
}

.hw-svg-frame {
  background: rgba(4, 7, 16, 0.85);
  border: 1px solid rgba(91, 140, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.hw-svg-frame svg {
  width: 100%;
  height: auto;
  display: block;
}

.hw-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hw-chip {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--fg-secondary);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border);
  padding: 0.22rem 0.58rem;
  border-radius: 6px;
}

.stat-value {
  font-family: var(--mono);
  font-size: 1.4rem;
  font-weight: 780;
  color: #ffffff;
  margin: 0.32rem 0 0;
}

.stat-value-email {
  font-family: var(--mono);
  font-size: 1.18rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--mono);
  font-weight: 700;
}

.notice {
  border: 1px solid var(--border-cobalt);
  border-left: 4px solid var(--amber);
  background: linear-gradient(90deg, rgba(43, 91, 215, 0.16), rgba(15, 23, 42, 0.84));
  border-radius: var(--radius-md);
  padding: 1.08rem 1.35rem;
  margin: 1.35rem 0;
  color: var(--fg);
  font-size: 0.95rem;
  box-shadow: 0 12px 30px -18px rgba(43, 91, 215, 0.38);
}

code, pre, .mono {
  font-family: var(--mono);
}

code {
  font-size: 0.85em;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(91, 140, 255, 0.28);
  padding: 0.16rem 0.45rem;
  border-radius: 6px;
  color: #bfdbfe;
}

pre {
  background: #040812;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin: 0;
  overflow-x: auto;
  line-height: 1.52;
  font-size: 0.78rem;
  color: #bfdbfe;
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.6);
}

.pgp-frame pre {
  border: none;
  border-radius: 0;
}

/* --- Key-Value Lists --- */
dl.kv-grid {
  display: grid;
  grid-template-columns: minmax(8.5rem, 11rem) 1fr;
  gap: 0.65rem 1rem;
  margin: 0;
}

dl.kv-grid dt {
  color: var(--muted);
  font-size: 0.79rem;
  font-family: var(--mono);
}

dl.kv-grid dd {
  margin: 0;
  color: var(--fg);
  font-size: 0.89rem;
  word-break: break-word;
}

@media (max-width: 560px) {
  dl.kv-grid {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  dl.kv-grid dd {
    margin-bottom: 0.7rem;
  }
}

/* --- Numbered Cyber Step Rail & Lists --- */
ul.step-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.6rem;
  display: grid;
  gap: 0.85rem;
  counter-reset: step-counter;
}

ul.step-list li {
  counter-increment: step-counter;
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.84), rgba(8, 14, 28, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem 1rem 3.5rem;
  color: var(--fg-secondary);
  position: relative;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

ul.step-list li:hover {
  border-color: var(--border-cobalt);
  transform: translateX(3px);
}

ul.step-list li::before {
  content: "0" counter(step-counter);
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  width: 1.78rem;
  height: 1.78rem;
  border-radius: 8px;
  background: rgba(43, 91, 215, 0.2);
  border: 1px solid rgba(91, 140, 255, 0.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.73rem;
  color: var(--cobalt-bright);
}

ul.boundary-list li::before {
  content: "⊘";
  background: rgba(251, 191, 36, 0.14);
  border-color: rgba(251, 191, 36, 0.38);
  color: var(--amber);
  font-size: 0.9rem;
}

/* --- Tables --- */
.table-wrap {
  overflow-x: auto;
  margin: 1.35rem 0;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.91rem;
}

th, td {
  text-align: left;
  padding: 0.94rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

th {
  background: rgba(7, 12, 24, 0.95);
  color: var(--cobalt-bright);
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:hover td {
  background: rgba(43, 91, 215, 0.07);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-weight: 650;
  white-space: nowrap;
}

.badge-published {
  background: var(--badge-ok-bg);
  color: var(--badge-ok-fg);
  border: 1px solid var(--badge-ok-border);
}

.badge-pending {
  background: var(--badge-pend-bg);
  color: var(--badge-pend-fg);
  border: 1px solid var(--badge-pend-border);
}

.rule-footnote {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 1.2rem;
}

/* --- CortexRouter Official Brand Showcase Banner --- */
.cortex-showcase {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.45rem 1.65rem;
  margin: 1.35rem 0 1.7rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(10, 18, 36, 0.92) 65%, rgba(43, 91, 215, 0.16) 100%);
  border: 1px solid rgba(91, 140, 255, 0.42);
  box-shadow:
    0 20px 46px -22px rgba(43, 91, 215, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  position: relative;
  overflow: hidden;
}

.cortex-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cobalt), var(--amber), transparent);
}

.cortex-logo-frame {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(91, 140, 255, 0.48);
  box-shadow: 0 0 32px rgba(43, 91, 215, 0.42);
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cortex-logo-img {
  width: 88px;
  height: 88px;
  display: block;
  object-fit: cover;
}

.cortex-showcase-body {
  flex: 1;
  min-width: 0;
}

.cortex-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 999px;
  padding: 0.2rem 0.68rem;
  margin-bottom: 0.45rem;
}

.cortex-showcase-body h2,
.cortex-showcase-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: #ffffff;
}

.cortex-showcase-body h2::before {
  display: none;
}

.cortex-showcase-body p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--fg-secondary);
}

.judge-showcase {
  border-color: rgba(251, 191, 36, 0.44);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(12, 20, 38, 0.94) 62%, rgba(251, 191, 36, 0.12) 100%);
  box-shadow:
    0 20px 46px -22px rgba(251, 191, 36, 0.34),
    0 0 0 1px rgba(91, 140, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.judge-showcase::before {
  background: linear-gradient(90deg, var(--amber), var(--cobalt), transparent);
}

.judge-specs {
  margin-top: 0.8rem;
}

.zero-showcase {
  align-items: flex-start;
  border-color: rgba(91, 140, 255, 0.58);
  background: linear-gradient(135deg, rgba(13, 22, 44, 0.98) 0%, rgba(10, 18, 36, 0.96) 58%, rgba(43, 91, 215, 0.22) 100%);
  box-shadow:
    0 24px 52px -22px rgba(43, 91, 215, 0.62),
    0 0 0 1px rgba(251, 191, 36, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.zero-showcase::before {
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--cobalt), #60a5fa, transparent);
}

.zero-policy-box {
  margin-top: 0.9rem;
  padding: 0.78rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.34);
  color: #f8fafc;
  font-size: 0.88rem;
  line-height: 1.58;
}

.hw-chip-amber {
  color: var(--amber-bright);
  border-color: rgba(251, 191, 36, 0.38);
  background: rgba(251, 191, 36, 0.1);
}

.hw-chip-ok {
  color: var(--badge-ok-fg);
  border-color: var(--badge-ok-border);
  background: var(--badge-ok-bg);
}

@media (max-width: 640px) {
  .cortex-showcase {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Frosted Pre-Patch Redaction & Countdown Pills (/advisories/) --- */
.adv-redacted-cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.36rem;
}

.redacted-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(9, 15, 30, 0.94);
  border: 1px dashed rgba(251, 191, 36, 0.42);
  border-radius: 7px;
  padding: 0.18rem 0.54rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  line-height: 1.2;
}

.redacted-blur {
  color: #94a3b8;
  filter: blur(3.4px);
  user-select: none;
  letter-spacing: -0.02em;
}

.redacted-tag {
  color: var(--amber);
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.adv-class-title {
  font-weight: 560;
  color: var(--fg);
  line-height: 1.42;
}

.badge-cve-pending {
  background: rgba(91, 140, 255, 0.12);
  color: var(--cobalt-bright);
  border: 1px solid rgba(91, 140, 255, 0.34);
}

.window-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  font-family: var(--mono);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--amber-bright);
  background: rgba(251, 191, 36, 0.11);
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 8px;
  padding: 0.24rem 0.58rem;
  white-space: nowrap;
}

/* --- Zero-JS Judge v1 80-Case Benchmark Explorer (/judge-v1/) --- */
.sc-target {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.explorer-shell {
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.95) 0%, rgba(8, 14, 28, 0.98) 100%);
  border: 1px solid var(--border-cobalt);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.5rem;
  margin: 1rem 0 2.2rem;
  box-shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.85);
}

.explorer-hint {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 0.95rem;
}

.bench-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-bottom: 1.15rem;
}

.bench-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid var(--border-bright);
  background: rgba(7, 12, 24, 0.92);
  color: var(--fg-secondary);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.bench-chip:hover {
  border-color: var(--cobalt);
  color: #ffffff;
}

.bench-chip.chip-all {
  background: linear-gradient(135deg, var(--cobalt-core), #4374ee);
  color: #ffffff;
  border-color: var(--cobalt-bright);
  box-shadow: 0 0 16px rgba(43, 91, 215, 0.45);
}

#sc-a:target ~ .explorer-shell .chip-all,
#sc-b:target ~ .explorer-shell .chip-all,
#sc-c:target ~ .explorer-shell .chip-all,
#sc-d:target ~ .explorer-shell .chip-all {
  background: rgba(7, 12, 24, 0.92);
  color: var(--fg-secondary);
  border-color: var(--border-bright);
  box-shadow: none;
}

#sc-a:target ~ .explorer-shell .chip-a,
#sc-b:target ~ .explorer-shell .chip-b,
#sc-c:target ~ .explorer-shell .chip-c,
#sc-d:target ~ .explorer-shell .chip-d {
  background: linear-gradient(135deg, var(--cobalt-core), #4374ee);
  color: #ffffff;
  border-color: var(--cobalt-bright);
  box-shadow: 0 0 16px rgba(43, 91, 215, 0.45);
}

#sc-a:target ~ .explorer-shell .bench-sc-B,
#sc-a:target ~ .explorer-shell .bench-sc-C,
#sc-a:target ~ .explorer-shell .bench-sc-D {
  display: none;
}

#sc-b:target ~ .explorer-shell .bench-sc-A,
#sc-b:target ~ .explorer-shell .bench-sc-C,
#sc-b:target ~ .explorer-shell .bench-sc-D {
  display: none;
}

#sc-c:target ~ .explorer-shell .bench-sc-A,
#sc-c:target ~ .explorer-shell .bench-sc-B,
#sc-c:target ~ .explorer-shell .bench-sc-D {
  display: none;
}

#sc-d:target ~ .explorer-shell .bench-sc-A,
#sc-d:target ~ .explorer-shell .bench-sc-B,
#sc-d:target ~ .explorer-shell .bench-sc-C {
  display: none;
}

#zr-auth:target ~ .explorer-shell .chip-all,
#zr-mem:target ~ .explorer-shell .chip-all,
#zr-crypto:target ~ .explorer-shell .chip-all,
#zr-web:target ~ .explorer-shell .chip-all {
  background: rgba(7, 12, 24, 0.92);
  color: var(--fg-secondary);
  border-color: var(--border-bright);
  box-shadow: none;
}

#zr-auth:target ~ .explorer-shell .chip-zr-auth,
#zr-mem:target ~ .explorer-shell .chip-zr-mem,
#zr-crypto:target ~ .explorer-shell .chip-zr-crypto,
#zr-web:target ~ .explorer-shell .chip-zr-web {
  background: linear-gradient(135deg, var(--cobalt-core), #4374ee);
  color: #ffffff;
  border-color: var(--cobalt-bright);
  box-shadow: 0 0 16px rgba(43, 91, 215, 0.45);
}

#zr-auth:target ~ .explorer-shell .zero-cat-mem,
#zr-auth:target ~ .explorer-shell .zero-cat-crypto,
#zr-auth:target ~ .explorer-shell .zero-cat-web {
  display: none;
}

#zr-mem:target ~ .explorer-shell .zero-cat-auth,
#zr-mem:target ~ .explorer-shell .zero-cat-crypto,
#zr-mem:target ~ .explorer-shell .zero-cat-web {
  display: none;
}

#zr-crypto:target ~ .explorer-shell .zero-cat-auth,
#zr-crypto:target ~ .explorer-shell .zero-cat-mem,
#zr-crypto:target ~ .explorer-shell .zero-cat-web {
  display: none;
}

#zr-web:target ~ .explorer-shell .zero-cat-auth,
#zr-web:target ~ .explorer-shell .zero-cat-mem,
#zr-web:target ~ .explorer-shell .zero-cat-crypto {
  display: none;
}

.bench-list {
  display: grid;
  gap: 0.55rem;
  max-height: 44rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

details.bench-case {
  background: rgba(6, 11, 22, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

details.bench-case:hover {
  border-color: rgba(91, 140, 255, 0.38);
}

details.bench-case[open] {
  border-color: var(--cobalt);
  background: rgba(10, 18, 36, 0.96);
  box-shadow: 0 10px 28px -14px rgba(43, 91, 215, 0.45);
}

summary.bench-summary {
  list-style: none;
  cursor: pointer;
  padding: 0.78rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  user-select: none;
}

summary.bench-summary::-webkit-details-marker {
  display: none;
}

.bench-sum-left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.85rem;
  min-width: 0;
}

.bench-cve {
  font-family: var(--mono);
  font-size: 0.79rem;
  font-weight: 750;
  color: var(--cobalt-bright);
  white-space: nowrap;
}

.bench-prod {
  font-size: 0.9rem;
  font-weight: 640;
  color: #ffffff;
}

.bench-sc-sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.bench-sum-right {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.bench-chevron {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
  transition: transform 0.16s ease, color 0.16s ease;
}

details.bench-case[open] .bench-chevron {
  transform: rotate(180deg);
  color: var(--amber);
}

.bench-badge-confirmed {
  background: rgba(52, 211, 153, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.42);
}

.bench-badge-ineffective {
  background: rgba(91, 140, 255, 0.15);
  color: #93b4ff;
  border: 1px solid rgba(91, 140, 255, 0.42);
}

.bench-badge-falsepos {
  background: rgba(251, 191, 36, 0.15);
  color: #fde68a;
  border: 1px solid rgba(251, 191, 36, 0.42);
}

.bench-detail {
  padding: 0.95rem 1.1rem 1.15rem;
  border-top: 1px solid var(--border);
  background: rgba(4, 8, 18, 0.72);
}

.bench-lbl {
  font-family: var(--mono);
  font-size: 0.71rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0.85rem 0 0.42rem;
}

.bench-lbl:first-child {
  margin-top: 0;
}

.bench-pre {
  white-space: pre-wrap;
  margin-bottom: 0.35rem;
}

.triage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.4rem;
}

@media (max-width: 760px) {
  .triage-grid {
    grid-template-columns: 1fr;
  }
  summary.bench-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}

.triage-field {
  background: rgba(11, 18, 34, 0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.78rem;
}

.tf-num {
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 750;
  color: var(--cobalt-bright);
}

.tf-val {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--fg-secondary);
  margin-top: 0.16rem;
}

.tf-val-ok {
  color: var(--badge-ok-fg);
}

.score-ok {
  color: var(--badge-ok-fg);
  font-weight: 750;
  font-family: var(--mono);
}

.row-num-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 750;
  color: var(--amber);
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 6px;
  padding: 0.14rem 0.42rem;
  white-space: nowrap;
}

/* --- Footer --- */
footer.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(4, 7, 16, 0.94);
  padding: 2rem 0;
  font-size: 0.83rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand-top {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--fg);
  font-weight: 600;
}

.footer-mark {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-slogan {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--amber);
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.79rem;
}

.footer-links a {
  color: var(--muted);
  border-bottom: none;
}

.footer-links a:hover {
  color: var(--cobalt-bright);
}
