:root {
  --bg: #050914;
  --bg-elevated: #0a1220;
  --panel: rgba(11, 21, 37, 0.88);
  --panel-strong: #0d1728;
  --panel-soft: rgba(15, 27, 45, 0.72);
  --line: rgba(101, 153, 255, 0.2);
  --line-strong: rgba(101, 182, 255, 0.45);
  --text: #f3f7fd;
  --muted: #95a8c5;
  --muted-strong: #bfccde;
  --blue: #4da3ff;
  --cyan: #4de4ff;
  --amber: #f3ab43;
  --red: #ff7664;
  --green: #62d2a2;
  --radius: 22px;
  --radius-sm: 16px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
  --font: "Aptos", "Segoe UI", "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(27, 78, 140, 0.22), transparent 32%),
    radial-gradient(circle at top right, rgba(13, 111, 160, 0.16), transparent 28%),
    linear-gradient(180deg, #04070f 0%, #06101b 46%, #04070f 100%);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 104px;
  max-height: 120px;
  backdrop-filter: blur(18px);
  background: rgba(5, 9, 20, 0.84);
  border-bottom: 1px solid rgba(104, 155, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
  max-height: 120px;
  padding: 12px 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0;
  max-height: 104px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0;
}

.brand-lockup img {
  width: auto;
  height: auto;
  max-width: 280px;
  max-height: 88px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.site-logo--default {
  filter: none;
}

.site-logo--dark {
  filter:
    brightness(0)
    saturate(100%)
    invert(92%)
    sepia(12%)
    saturate(486%)
    hue-rotate(181deg)
    brightness(104%)
    contrast(96%)
    drop-shadow(0 0 1px rgba(220, 228, 240, 0.18))
    drop-shadow(0 0 10px rgba(108, 191, 255, 0.12));
}

.brand-copy {
  display: none;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(9, 16, 29, 0.92);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 0;
  gap: 6px;
  position: relative;
  z-index: 2;
}

.site-nav a {
  padding: 11px 12px;
  color: var(--muted-strong);
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: #fff;
  background: rgba(24, 41, 68, 0.9);
  box-shadow: inset 0 0 0 1px rgba(73, 167, 255, 0.22), 0 0 24px rgba(27, 119, 218, 0.16);
  outline: none;
}

.nav-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button {
  background: linear-gradient(135deg, rgba(40, 111, 230, 0.95), rgba(32, 177, 255, 0.82));
  box-shadow: 0 16px 36px rgba(24, 108, 226, 0.28);
}

.button-secondary {
  border-color: rgba(71, 165, 255, 0.35);
  background: rgba(9, 18, 31, 0.7);
}

.button-ghost {
  border-color: rgba(243, 171, 67, 0.28);
  background: rgba(243, 171, 67, 0.08);
  color: #ffe2ba;
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.button:focus-visible,
.button-secondary:focus-visible,
.button-ghost:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

main {
  padding-bottom: 72px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.hero .hero-grid {
  padding: 44px;
  border-radius: 34px;
  border: 1px solid rgba(88, 157, 255, 0.16);
  background:
    radial-gradient(circle at 78% 45%, rgba(67, 164, 255, 0.12), transparent 22%),
    linear-gradient(160deg, rgba(8, 15, 28, 0.94), rgba(7, 13, 24, 0.82));
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, rgba(82, 210, 255, 0.1), rgba(82, 210, 255, 0.85));
}

h1,
h2,
h3,
h4 {
  margin: 0 0 16px;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 13ch;
}

.page-hero h1 {
  max-width: 850px;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

p,
li {
  color: var(--muted-strong);
  line-height: 1.7;
}

pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 16px;
  border: 1px solid rgba(101, 153, 255, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(5, 10, 19, 0.72);
  color: var(--text);
}

code {
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 0.9rem;
}

.lede {
  font-size: 1.12rem;
  max-width: 65ch;
}

.hero-copy .cta-row,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.prong-summary-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.prong-summary-list p {
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(88, 158, 255, 0.18);
  background: rgba(9, 18, 31, 0.58);
}

.prong-summary-list strong {
  color: var(--text);
}

.hero-mark {
  width: clamp(160px, 18vw, 220px);
  max-height: 124px;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.hero-brand-block {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-bottom: 18px;
}

.hero-brand-block::before {
  display: none;
}

.hero-visual,
.page-hero-visual {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(87, 154, 255, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(10, 18, 32, 0.95), rgba(9, 15, 25, 0.68)),
    radial-gradient(circle at 72% 52%, rgba(70, 182, 255, 0.2), transparent 24%),
    radial-gradient(circle at 86% 50%, rgba(255, 174, 82, 0.22), transparent 18%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero .hero-visual {
  min-height: 360px;
  border-color: transparent;
  background:
    radial-gradient(circle at 72% 52%, rgba(70, 182, 255, 0.16), transparent 24%),
    radial-gradient(circle at 86% 50%, rgba(255, 174, 82, 0.12), transparent 18%);
  box-shadow: none;
}

.hero-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero-field::before,
.hero-field::after {
  content: "";
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle, rgba(74, 167, 255, 0.9) 0 2px, transparent 2px 100%),
    linear-gradient(90deg, transparent 0%, rgba(76, 158, 255, 0.5) 40%, rgba(255, 163, 80, 0.5) 86%, transparent 100%);
  background-size: 120px 120px, 100% 2px;
  opacity: 0.28;
  filter: blur(0.2px);
}

.hero-field::before {
  animation: fieldDrift 22s linear infinite;
}

.hero-field::after {
  animation: fieldPulse 14s ease-in-out infinite;
}

.vector-streams {
  position: absolute;
  inset: 0;
}

.vector-stream {
  position: absolute;
  left: -6%;
  width: 72%;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(85, 172, 255, 0), rgba(85, 172, 255, 0.52), rgba(89, 229, 255, 0.12));
  filter: drop-shadow(0 0 12px rgba(89, 229, 255, 0.35));
  animation: streamFlow 8s linear infinite;
}

.vector-stream.red {
  background: linear-gradient(90deg, rgba(255, 126, 100, 0), rgba(255, 126, 100, 0.72), rgba(255, 126, 100, 0.08));
  filter: drop-shadow(0 0 10px rgba(255, 126, 100, 0.25));
}

.vector-gate {
  position: absolute;
  right: 16%;
  top: 50%;
  width: 180px;
  height: 180px;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(90, 207, 255, 0.3);
  box-shadow:
    0 0 0 18px rgba(48, 100, 176, 0.06),
    0 0 42px rgba(29, 119, 223, 0.18),
    inset 0 0 46px rgba(38, 123, 223, 0.14);
}

.vector-gate::before,
.vector-gate::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(88, 199, 255, 0.24);
  border-radius: 50%;
}

.vector-gate::after {
  inset: 44px;
}

.vector-core {
  position: absolute;
  inset: 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(47, 115, 210, 0.95), rgba(76, 216, 255, 0.9));
  box-shadow: 0 0 40px rgba(58, 151, 255, 0.45);
}

.vector-core::before {
  content: "IVD";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section {
  padding: 32px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.kicker {
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.feature-card,
.diagram-card,
.exploit-card,
.timeline-card,
.stat-card,
.portrait-card,
.contact-card {
  background: linear-gradient(180deg, rgba(11, 20, 36, 0.92), rgba(10, 18, 31, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.feature-card,
.diagram-card,
.stat-card,
.portrait-card,
.contact-card {
  padding: 24px;
}

.feature-card .label,
.stat-card .label,
.badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(75, 166, 255, 0.1);
  border: 1px solid rgba(75, 166, 255, 0.24);
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 600;
}

.card-list,
.check-list,
.ordered-list,
.timeline-list {
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.check-list,
.timeline-list {
  list-style: none;
}

.ordered-list {
  list-style: decimal;
  padding-left: 22px;
}

.check-list li,
.timeline-list li {
  position: relative;
  padding-left: 20px;
}

.check-list li::before,
.timeline-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(72, 207, 255, 0.3);
}

.doctrine-grid,
.prong-grid,
.stats-grid {
  display: grid;
  gap: 20px;
}

.doctrine-grid {
  grid-template-columns: 1.2fr 1fr;
}

.prong-grid,
.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card h3,
.stat-card h3,
.portrait-card h3,
.exploit-card h3 {
  margin-top: 14px;
}

.metric {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.status-pill {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--text);
  border: 1px solid rgba(91, 164, 255, 0.22);
  background: rgba(9, 18, 31, 0.66);
}

.status-pill.amber {
  color: #ffe3be;
  border-color: rgba(243, 171, 67, 0.26);
  background: rgba(243, 171, 67, 0.09);
}

.status-pill.green {
  color: #d2ffe8;
  border-color: rgba(98, 210, 162, 0.26);
  background: rgba(98, 210, 162, 0.09);
}

.diagram-card svg,
.diagram-card canvas {
  width: 100%;
  height: auto;
}

.two-prong-schematic {
  padding: 24px;
}

.schematic-grid {
  display: grid;
  gap: 18px;
}

.schematic-lane {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(91, 164, 255, 0.18);
  background: rgba(10, 18, 31, 0.72);
}

.schematic-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.schematic-node {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 16px 14px;
  text-align: center;
  border-radius: 18px;
  border: 1px solid rgba(91, 164, 255, 0.18);
  background: rgba(7, 14, 25, 0.8);
}

.schematic-node strong {
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.4;
}

.schematic-arrow {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(77, 163, 255, 0.18), rgba(77, 163, 255, 0.92));
}

.schematic-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid rgba(77, 163, 255, 0.92);
  border-right: 2px solid rgba(77, 163, 255, 0.92);
  transform: translateY(-50%) rotate(45deg);
}

.workflow-diagram h3 {
  margin-bottom: 18px;
}

.workflow-sequence {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.workflow-node {
  flex: 1 1 180px;
  min-width: 0;
  padding: 18px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(92, 162, 255, 0.18);
  background: linear-gradient(180deg, rgba(12, 23, 39, 0.92), rgba(8, 16, 29, 0.9));
}

.workflow-node strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.35;
}

.workflow-node span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.workflow-arrow {
  flex: 0 0 18px;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, rgba(77, 228, 255, 0.2), rgba(77, 228, 255, 0.8));
  position: relative;
}

.workflow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid rgba(77, 228, 255, 0.82);
}

.workflow-caption {
  margin-top: 18px;
  color: var(--muted-strong);
}

.workflow-caption strong {
  color: var(--text);
}

.architecture-stack,
.trl-track,
.acp-pipeline,
.macro-collapse {
  display: grid;
  gap: 16px;
}

.architecture-layer,
.trl-node,
.pipeline-stage,
.macro-node {
  position: relative;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(91, 164, 255, 0.18);
  background: rgba(12, 20, 33, 0.78);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.architecture-layer.active,
.trl-node.active,
.pipeline-stage.active,
.macro-node.active {
  transform: translateX(6px);
  border-color: rgba(82, 206, 255, 0.4);
  box-shadow: 0 0 24px rgba(36, 126, 228, 0.18);
}

.architecture-layer::before,
.pipeline-stage::before {
  content: "";
  position: absolute;
  inset: auto auto -18px 26px;
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, rgba(82, 206, 255, 0.4), transparent);
}

.architecture-layer:last-child::before,
.pipeline-stage:last-child::before {
  display: none;
}

.macro-layout {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 20px;
  align-items: center;
}

.macro-cluster {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.macro-cluster span,
.macro-object span {
  display: block;
  height: 18px;
  border-radius: 999px;
}

.macro-cluster span {
  background: linear-gradient(90deg, rgba(255, 119, 84, 0.9), rgba(255, 166, 70, 0.6));
  animation: packetBlink 3.2s ease-in-out infinite;
}

.macro-cluster span:nth-child(odd) {
  animation-delay: 0.35s;
}

.macro-arrow {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(77, 163, 255, 0.1), rgba(77, 163, 255, 0.95));
}

.macro-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-top: 2px solid rgba(77, 163, 255, 0.95);
  border-right: 2px solid rgba(77, 163, 255, 0.95);
  transform: translateY(-50%) rotate(45deg);
}

.macro-object {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid rgba(75, 174, 255, 0.24);
  background: rgba(8, 24, 46, 0.75);
  box-shadow: 0 0 30px rgba(24, 124, 224, 0.16);
}

.macro-object span {
  margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(79, 206, 255, 0.35), rgba(79, 206, 255, 0.94));
}

.pipeline-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.rail-outcome {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(91, 164, 255, 0.18);
  background: rgba(9, 16, 29, 0.76);
}

.rail-outcome.sandboxed {
  border-color: rgba(243, 171, 67, 0.28);
}

.rail-outcome.quarantined {
  border-color: rgba(255, 118, 100, 0.28);
}

.exploit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.exploit-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.exploit-preview {
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: #0b1320;
}

.exploit-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(0.95) brightness(0.82);
  transition: filter 0.3s ease;
}

.exploit-card:hover .exploit-preview-image {
  filter: saturate(0.78) contrast(1) brightness(0.92);
}

.exploit-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 16, 27, 0.16) 0%, rgba(10, 16, 27, 0.48) 54%, rgba(7, 11, 20, 0.88) 100%),
    linear-gradient(135deg, rgba(74, 163, 255, 0.16), transparent 36%);
  z-index: 1;
}

.exploit-preview::after {
  content: "Technical Exhibit";
  position: absolute;
  left: 28px;
  bottom: 26px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff0d3;
  border: 1px solid rgba(243, 171, 67, 0.28);
  background: rgba(243, 171, 67, 0.08);
  z-index: 2;
}

.exploit-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}

.exploit-disclaimer {
  margin-top: 24px;
  padding: 18px 20px;
}

.exploit-disclaimer p {
  margin: 0;
}

.exploit-fallback-copy {
  display: grid;
  gap: 10px;
}

.exploit-fallback-copy p {
  margin: 0;
}

.exploit-fallback-copy strong {
  color: var(--text);
}

.control-path-details {
  margin-top: 4px;
  border-top: 1px dashed rgba(88, 158, 255, 0.18);
  padding-top: 12px;
}

.control-path-details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}

.control-path-details .check-list {
  margin-top: 12px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted-strong);
  background: rgba(16, 28, 47, 0.82);
  border: 1px solid rgba(86, 154, 255, 0.15);
}

.meta-pill.acp {
  color: #c2fbff;
  border-color: rgba(77, 228, 255, 0.24);
}

.meta-pill.network {
  color: #d9ecff;
}

.meta-pill.both {
  color: #fff1d7;
  border-color: rgba(243, 171, 67, 0.24);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 26px;
}

.quote-panel {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(9, 20, 37, 0.92), rgba(6, 14, 24, 0.72));
  border: 1px solid rgba(88, 158, 255, 0.18);
}

.quote-panel p {
  font-size: 1.05rem;
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.portrait-card img {
  width: 100%;
  max-height: 220px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid rgba(87, 158, 255, 0.18);
  margin-bottom: 18px;
}

.portrait-card img.portrait-hawking {
  object-position: center 5%;
}

.portrait-card img.portrait-shannon {
  object-position: center 35%;
}

.portrait-card img.portrait-vonneumann {
  object-position: center 48%;
}

.caption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.origins-copy {
  display: grid;
  gap: 28px;
}

.origins-copy section {
  padding: 28px;
  border-radius: 24px;
  background: rgba(10, 18, 31, 0.72);
  border: 1px solid rgba(88, 158, 255, 0.15);
}

.origins-copy h2 {
  font-size: clamp(1.65rem, 2vw, 2.2rem);
}

.table-like {
  display: grid;
  gap: 14px;
}

.table-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) minmax(0, 2fr);
  gap: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  border: 1px solid rgba(88, 158, 255, 0.14);
  background: rgba(10, 18, 31, 0.7);
}

.table-row strong {
  display: block;
  color: var(--text);
}

.evidence-table-wrap {
  display: grid;
  gap: 14px;
  overflow-x: auto;
}

.evidence-table-wrap h3 {
  margin-bottom: 0;
}

.evidence-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(88, 158, 255, 0.14);
  background: rgba(10, 18, 31, 0.7);
}

.evidence-table th,
.evidence-table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(88, 158, 255, 0.12);
}

.evidence-table th {
  color: var(--text);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(8, 16, 29, 0.9);
}

.evidence-table td {
  color: var(--muted-strong);
}

.evidence-table tbody tr:last-child td {
  border-bottom: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(87, 158, 255, 0.18);
  background: rgba(10, 18, 31, 0.88);
  color: var(--text);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-route {
  display: grid;
  gap: 14px;
}

.contact-route a {
  color: var(--cyan);
}

.contact-route strong {
  color: var(--text);
}

.form-notice,
.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(243, 171, 67, 0.18);
  background: rgba(243, 171, 67, 0.08);
  color: #ffe2ba;
}

.form-note-muted {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-status.success {
  border-color: rgba(98, 210, 162, 0.2);
  background: rgba(98, 210, 162, 0.08);
  color: #d5ffe7;
}

.site-footer {
  border-top: 1px solid rgba(87, 158, 255, 0.14);
  background: rgba(4, 7, 15, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.7fr);
  gap: 48px;
  padding: 56px 0 48px;
  align-items: start;
}

.footer-brand img {
  width: auto;
  max-width: 240px;
  max-height: 128px;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-content: start;
}

.footer-link-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-column-title {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-meta {
  display: grid;
  gap: 8px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-meta p {
  margin: 0;
  line-height: 1.5;
}

.footer-meta a {
  color: var(--muted-strong);
  border-bottom: 1px dotted rgba(191, 204, 222, 0.4);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--text);
  border-bottom-color: rgba(243, 247, 253, 0.7);
}

.reveal {
  opacity: 1;
  transform: none;
}

body.reveal-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

body.reveal-enabled .reveal.visible,
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(2, 5, 10, 0.92);
  backdrop-filter: blur(10px);
}

.modal.open {
  display: flex;
}

.modal-inner {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(96vw, 1600px);
  height: min(94vh, 980px);
  padding: 18px;
  gap: 14px;
}

.modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.modal-toolbar h3 {
  margin: 0;
  font-size: 1.1rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.icon-button {
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(87, 158, 255, 0.2);
  background: rgba(8, 15, 27, 0.84);
  color: var(--text);
}

.modal-stage {
  overflow: hidden;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(87, 158, 255, 0.16);
  background: rgba(8, 14, 24, 0.95);
  cursor: grab;
}

.modal-stage.grabbing {
  cursor: grabbing;
}

.modal-stage img {
  width: auto;
  height: auto;
  max-width: min(96vw, 1600px);
  max-height: min(86vh, 980px);
  transform-origin: center center;
  user-select: none;
  pointer-events: none;
  filter: none;
}

.noscript-nav,
.noscript-footer {
  padding: 14px 0 18px;
}

.noscript-nav-links,
.noscript-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.noscript-nav a,
.noscript-footer a {
  white-space: nowrap;
  color: var(--muted-strong);
}

.trust-row,
.resource-grid,
.triad-grid {
  display: grid;
  gap: 18px;
}

.triad-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.compact-card {
  padding: 20px 22px;
  border-radius: 20px;
  border: 1px solid rgba(88, 158, 255, 0.16);
  background: rgba(10, 18, 31, 0.78);
}

.compact-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.related-read {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

.related-read a {
  color: var(--cyan);
  border-bottom: 1px dotted rgba(77, 228, 255, 0.4);
}

.ip-plain {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(91, 164, 255, 0.18);
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.resource-subtitle {
  color: var(--text);
  font-weight: 600;
  margin: -6px 0 10px;
}

@keyframes fieldDrift {
  from { transform: translateX(-3%) translateY(-1%); }
  50% { transform: translateX(2%) translateY(1%); }
  to { transform: translateX(-3%) translateY(-1%); }
}

@keyframes fieldPulse {
  0%, 100% { opacity: 0.16; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.03); }
}

@keyframes streamFlow {
  from { transform: translateX(0); opacity: 0.25; }
  50% { opacity: 0.7; }
  to { transform: translateX(6%); opacity: 0.25; }
}

@keyframes packetBlink {
  0%, 100% { opacity: 0.45; transform: scaleX(1); }
  50% { opacity: 1; transform: scaleX(1.08); }
}

/* IVD-N macro-collapse refinement */

.macro-arrow {
  overflow: hidden;
  box-shadow: 0 0 16px rgba(77, 163, 255, 0.18);
}

.macro-arrow::before {
  content: "";
  position: absolute;
  inset: -7px auto -7px -46%;
  width: 46%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(77, 228, 255, 0.28),
    rgba(77, 228, 255, 0.95),
    rgba(243, 171, 67, 0.35),
    transparent
  );
  filter: blur(0.2px);
  animation: macroArrowSweep 3.2s ease-in-out infinite;
}

.macro-object {
  position: relative;
  overflow: hidden;
  animation: macroDecisionPulse 5.6s ease-in-out infinite;
}

.macro-object::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(77, 228, 255, 0.18),
    transparent 42%
  );
  opacity: 0;
  animation: macroObjectScan 5.6s ease-in-out infinite;
}

.macro-object span {
  animation: macroBarsConfirm 4.8s ease-in-out infinite;
  transform-origin: left center;
}

.macro-object span:nth-child(1) {
  animation-delay: 0s;
}

.macro-object span:nth-child(2) {
  animation-delay: 0.22s;
}

.macro-object span:nth-child(3) {
  animation-delay: 0.44s;
}

@keyframes macroArrowSweep {
  0% { transform: translateX(0); opacity: 0; }
  18% { opacity: 1; }
  72% { opacity: 0.9; }
  100% { transform: translateX(390%); opacity: 0; }
}

@keyframes macroDecisionPulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(24, 124, 224, 0.16);
    border-color: rgba(75, 174, 255, 0.24);
    transform: scale(1);
  }
  48%, 56% {
    box-shadow:
      0 0 50px rgba(77, 228, 255, 0.34),
      inset 0 0 28px rgba(77, 228, 255, 0.08);
    border-color: rgba(77, 228, 255, 0.58);
    transform: scale(1.012);
  }
}

@keyframes macroObjectScan {
  0%, 42%, 100% {
    opacity: 0;
    transform: translateX(-18%);
  }
  52% {
    opacity: 1;
    transform: translateX(0);
  }
  68% {
    opacity: 0;
    transform: translateX(18%);
  }
}

@keyframes macroBarsConfirm {
  0%, 100% {
    opacity: 0.68;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.045);
  }
}

@media (prefers-reduced-motion: reduce) {
  .macro-cluster span,
  .macro-arrow::before,
  .macro-object,
  .macro-object::after,
  .macro-object span {
    animation: none !important;
  }
}

@media (max-width: 1080px) {
  .nav-actions {
    display: none;
  }

  .site-shell {
    width: min(100% - 28px, 1280px);
  }

  .nav-toggle {
    display: inline-grid;
    place-content: center;
  }

  .site-nav {
    position: fixed;
    top: 81px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
    background: rgba(6, 12, 22, 0.98);
    border: 1px solid rgba(87, 158, 255, 0.16);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .brand-lockup {
    padding: 0;
    max-height: 88px;
  }

  .brand-lockup img {
    max-width: 240px;
    max-height: 76px;
  }

  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .doctrine-grid,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.three,
  .exploit-grid,
  .portrait-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid.four,
  .field-grid,
  .prong-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .trust-row,
  .resource-grid,
  .triad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schematic-flow {
    grid-template-columns: 1fr;
  }

  .schematic-arrow {
    width: 2px;
    height: 28px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(77, 163, 255, 0.18), rgba(77, 163, 255, 0.92));
  }

  .schematic-arrow::after {
    right: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(50%) rotate(135deg);
  }

  .workflow-sequence {
    flex-direction: column;
  }

  .workflow-arrow {
    width: 2px;
    height: 18px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(77, 228, 255, 0.2), rgba(77, 228, 255, 0.8));
  }

  .workflow-arrow::after {
    right: -4px;
    top: auto;
    bottom: -1px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid rgba(77, 228, 255, 0.82);
    border-bottom: none;
  }
}

@media (max-width: 720px) {
  .hero,
  .page-hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(2.3rem, 11vw, 3.3rem);
  }

  .card-grid.two,
  .card-grid.three,
  .exploit-grid,
  .portrait-grid,
  .pipeline-rail {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .hero-visual,
  .page-hero-visual {
    min-height: 320px;
  }

  .brand-lockup {
    padding: 0;
    max-height: 80px;
  }

  .brand-lockup img {
    max-width: 220px;
    max-height: 68px;
  }

  .hero-brand-block {
    padding: 0;
    margin-bottom: 16px;
  }

  .hero-mark {
    width: min(180px, 100%);
    max-height: 102px;
  }

  .footer-brand img {
    max-width: 220px;
    max-height: 112px;
  }

  .table-row,
  .macro-layout {
    grid-template-columns: 1fr;
  }

  .macro-cluster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .modal-inner {
    width: 100vw;
    height: 100vh;
    padding: 12px;
  }

  .trust-row,
  .resource-grid,
  .triad-grid {
    grid-template-columns: 1fr;
  }
}

.form-status:empty {
  display: none;
}

.contact-form button.button,
.contact-form button[type="submit"] {
  cursor: pointer !important;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form button.button:hover,
.contact-form button[type="submit"]:hover,
.contact-form button.button:focus-visible,
.contact-form button[type="submit"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(24, 108, 226, 0.36);
}

.contact-form button.button:disabled,
.contact-form button[type="submit"]:disabled {
  cursor: wait !important;
  opacity: 0.68;
  transform: none;
}

.hp-wrap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.hp-wrap label,
.hp-wrap input {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-status:empty {
  display: none;
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body {
    font-size: 16px;
  }

  .site-shell,
  .shell,
  .container,
  main,
  section {
    max-width: 100%;
  }

  .site-shell {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .page-hero,
  .hero,
  .section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  h2 {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
    line-height: 1.1;
  }

  h3 {
    font-size: 1.15rem;
    line-height: 1.25;
  }

  p,
  li,
  .lede {
    font-size: 1rem;
    line-height: 1.55;
  }

  .grid,
  .card-grid,
  .feature-grid,
  .resource-grid,
  .triad-grid,
  .trust-row,
  .contact-layout,
  .split,
  .two-column,
  .three-column {
    grid-template-columns: 1fr !important;
  }

  .card,
  .contact-card,
  .resource-card,
  .exploit-card,
  .panel {
    width: 100%;
    max-width: 100%;
  }

  img,
  video,
  canvas,
  svg {
    max-width: 100%;
    height: auto;
  }

  .cta-row,
  .button-row,
  .modal-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .button,
  .button-secondary,
  button,
  input[type="submit"] {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }

  .site-header {
    max-width: 100%;
  }

  .site-nav,
  .nav-links {
    max-width: 100%;
  }

  .modal {
    align-items: stretch;
    justify-content: stretch;
  }

  .modal-inner {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    padding: 12px;
    gap: 10px;
  }

  .modal-toolbar {
    align-items: flex-start;
    gap: 10px;
  }

  .modal-toolbar h3 {
    font-size: 1rem;
    line-height: 1.25;
  }

  .modal-stage {
    border-radius: 16px;
    max-width: 100%;
    max-height: 100%;
  }

  .modal-stage img {
    max-width: 100%;
    max-height: 78vh;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }

  pre,
  code {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .eyebrow,
  .kicker,
  .badge {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .site-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  .page-hero,
  .hero,
  .section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  h1 {
    font-size: clamp(1.9rem, 11vw, 2.6rem);
  }

  .card,
  .contact-card,
  .resource-card,
  .exploit-card,
  .panel {
    padding: 18px;
    border-radius: 20px;
  }

  .modal-inner {
    padding: 10px;
  }

  .icon-button {
    min-width: 44px;
    min-height: 44px;
  }
}

/* IVD-ACP hero diagram: artifact admission, invariant gate, authority states */

.acp-diagram {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 34px;
  min-height: 420px;
}

.acp-flow-row {
  display: grid;
  grid-template-columns: 0.8fr 0.45fr 1fr 0.55fr;
  align-items: center;
  gap: 20px;
}

.acp-artifact-stack {
  display: grid;
  gap: 12px;
}

.acp-artifact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 42px;
  border-radius: 14px;
  color: #ffe2ba;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(255, 118, 100, 0.82), rgba(243, 171, 67, 0.62));
  box-shadow: 0 0 24px rgba(243, 171, 67, 0.16);
  animation: acpArtifactPulse 3.4s ease-in-out infinite;
}

.acp-artifact:nth-child(2) {
  animation-delay: 0.28s;
}

.acp-artifact:nth-child(3) {
  animation-delay: 0.56s;
}

.acp-flow-line {
  position: relative;
  height: 2px;
  min-width: 86px;
  background: linear-gradient(90deg, rgba(77, 228, 255, 0.12), rgba(77, 228, 255, 0.9));
  overflow: hidden;
}

.acp-flow-line::after {
  content: "";
  position: absolute;
  inset: -5px auto -5px -45%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(77, 228, 255, 0.95), transparent);
  animation: acpFlowSweep 3.2s ease-in-out infinite;
}

.acp-gate {
  position: relative;
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  border: 1px solid rgba(77, 228, 255, 0.34);
  background:
    radial-gradient(circle at 50% 50%, rgba(77, 228, 255, 0.18), transparent 54%),
    linear-gradient(160deg, rgba(10, 22, 38, 0.92), rgba(7, 13, 24, 0.96));
  box-shadow:
    0 0 40px rgba(77, 228, 255, 0.16),
    inset 0 0 28px rgba(77, 228, 255, 0.06);
  animation: acpGatePulse 5.2s ease-in-out infinite;
}

.acp-gate::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(77, 228, 255, 0.28);
  animation: acpGateRotate 18s linear infinite;
}

.acp-gate-core {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  text-align: center;
}

.acp-gate-core span {
  color: var(--muted-strong);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.acp-gate-core strong {
  color: #fff;
  font-size: 1.05rem;
}

.acp-split-lines {
  display: grid;
  gap: 16px;
}

.acp-split-lines span {
  display: block;
  width: 92px;
  height: 2px;
  background: linear-gradient(90deg, rgba(77, 228, 255, 0.9), rgba(77, 228, 255, 0.16));
  transform-origin: left center;
  animation: acpSplitConfirm 4.8s ease-in-out infinite;
}

.acp-split-lines span:nth-child(1) {
  transform: rotate(-17deg);
}

.acp-split-lines span:nth-child(2) {
  animation-delay: 0.18s;
}

.acp-split-lines span:nth-child(3) {
  transform: rotate(17deg);
  animation-delay: 0.36s;
}

.acp-outcome-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
}

.acp-outcome {
  min-height: 126px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(9, 18, 31, 0.74);
  border: 1px solid rgba(77, 163, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.015);
}

.acp-outcome strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.acp-outcome span {
  display: block;
  color: var(--muted-strong);
  font-size: 0.9rem;
  line-height: 1.55;
}

.acp-read {
  border-color: rgba(77, 228, 255, 0.28);
}

.acp-sandbox {
  border-color: rgba(243, 171, 67, 0.3);
}

.acp-quarantine {
  border-color: rgba(255, 118, 100, 0.3);
}

.acp-diagram .visual-caption {
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid rgba(77, 228, 255, 0.22);
  background: rgba(8, 17, 30, 0.78);
}

.acp-diagram .visual-caption strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
}

.acp-diagram .visual-caption p {
  margin: 0;
}

@keyframes acpArtifactPulse {
  0%, 100% {
    opacity: 0.68;
    transform: translateX(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(6px) scale(1.025);
  }
}

@keyframes acpFlowSweep {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(360%);
    opacity: 0;
  }
}

@keyframes acpGatePulse {
  0%, 100% {
    border-color: rgba(77, 228, 255, 0.3);
    box-shadow:
      0 0 36px rgba(77, 228, 255, 0.14),
      inset 0 0 24px rgba(77, 228, 255, 0.05);
  }
  48%, 56% {
    border-color: rgba(77, 228, 255, 0.58);
    box-shadow:
      0 0 54px rgba(77, 228, 255, 0.28),
      inset 0 0 30px rgba(77, 228, 255, 0.09);
  }
}

@keyframes acpGateRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes acpSplitConfirm {
  0%, 100% {
    opacity: 0.48;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .acp-artifact,
  .acp-flow-line::after,
  .acp-gate,
  .acp-gate::before,
  .acp-split-lines span {
    animation: none !important;
  }
}

@media (max-width: 720px) {
  .acp-diagram {
    padding: 24px;
  }

  .acp-flow-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .acp-artifact-stack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .acp-flow-line {
    width: 100%;
  }

  .acp-split-lines {
    display: none;
  }

  .acp-outcome-row {
    grid-template-columns: 1fr;
  }
}

/* Home hero core: read as a control-plane node, not a clickable button */

body[data-page="home"] .vector-core {
  background: transparent;
  border: 1px solid rgba(77, 228, 255, 0.45);
  border-radius: 50%;
  box-shadow:
    0 0 28px rgba(77, 228, 255, 0.18),
    inset 0 0 22px rgba(77, 228, 255, 0.08);
  width: 88px;
  height: 88px;
}

body[data-page="home"] .vector-core::before {
  color: rgba(220, 240, 255, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
}

body[data-page="home"] .vector-gate::before {
  border-style: dashed;
  border-color: rgba(77, 228, 255, 0.32);
}

body[data-page="home"] .vector-gate::after {
  border-style: dashed;
  border-color: rgba(77, 228, 255, 0.22);
}

.compact-card-title {
  display: block;
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
