:root {
  --bg-1: #07111f;
  --bg-2: #0d1f2f;
  --bg-3: #112f3b;
  --surface: rgba(7, 17, 31, 0.78);
  --surface-strong: rgba(10, 22, 38, 0.92);
  --line: rgba(131, 214, 255, 0.12);
  --text: #edf7ff;
  --muted: #a8c0d3;
  --accent: #71f0d3;
  --accent-2: #ff8a5b;
  --accent-3: #8ab4ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(113, 240, 211, 0.14), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(255, 138, 91, 0.14), transparent 30%),
    radial-gradient(circle at 65% 80%, rgba(138, 180, 255, 0.14), transparent 28%),
    linear-gradient(135deg, var(--bg-1), var(--bg-2) 52%, var(--bg-3));
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
strong {
  color: var(--text);
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.9rem);
  line-height: 0.94;
  max-width: 24ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.98;
}

h3,
p,
li,
button,
a,
span {
  line-height: 1.6;
}

p {
  margin: 0;
  color: var(--muted);
}

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

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  transition: opacity 0.35s ease, transform 0.25s ease;
}

.ambient--grid {
  background-image:
    linear-gradient(rgba(131, 214, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(131, 214, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 100%);
  opacity: 0.7;
}

.ambient--glow {
  background:
    radial-gradient(circle at center, rgba(113, 240, 211, 0.09), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(255, 138, 91, 0.12), transparent 32%);
  filter: blur(28px);
  opacity: 0.95;
}

body:not(.show-grid) .ambient--grid {
  opacity: 0.08;
}

body.reduce-motion * {
  animation: none !important;
  transition-duration: 0.01ms !important;
}

.hero,
.overview,
.timeline,
.lab,
.footer {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 36px;
  padding: 72px 0 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.lede {
  font-size: 1.05rem;
  max-width: 60ch;
  margin-top: 18px;
}

.hero__meta,
.hero__actions,
.overview__stats,
.controls,
.footer__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__meta {
  margin-top: 26px;
}

.pill,
.scene__badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.hero__actions {
  margin-top: 22px;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #08121c;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
}

.status__label {
  color: var(--accent);
  font-weight: 700;
}

.status__text,
.stream-tag,
.stat-card__label,
.lens-card__label {
  font-family: "IBM Plex Mono", monospace;
}

.hero__visual {
  position: relative;
}

.neural-panel,
.floating-panel,
.overview__panel,
.stat-card,
.topic,
.lab__panel,
.lab__scene,
.era-section__head {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.neural-panel {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

.neural-panel::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% -10%;
  height: 42%;
  background: radial-gradient(circle, rgba(113, 240, 211, 0.18), transparent 60%);
  animation: drift 8s ease-in-out infinite;
}

.neural-panel__bar {
  display: grid;
  grid-template-columns: auto auto auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.signal {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.signal--red { background: #ff6b6b; }
.signal--gold { background: #f4b860; }
.signal--green { background: #4fffb0; }

.neural-panel__title,
.neural-panel__badge {
  font-size: 0.92rem;
  font-weight: 700;
}

.neural-panel__badge {
  color: var(--accent);
}

.neural-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 10px;
  padding: 22px;
  align-items: center;
}

.node-stream {
  display: grid;
  gap: 12px;
}

.stream-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transform: translateX(0);
  animation: streamShift 6s ease-in-out infinite;
}

.stream-row:nth-child(2) { animation-delay: 0.8s; }
.stream-row:nth-child(3) { animation-delay: 1.6s; }
.stream-row:nth-child(4) { animation-delay: 2.4s; }

.stream-row--accent {
  background: linear-gradient(120deg, rgba(113, 240, 211, 0.12), rgba(138, 180, 255, 0.1));
}

.stream-tag {
  color: var(--accent);
  font-size: 0.85rem;
}

.stream-text {
  color: var(--text);
}

.neural-map {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
}

.neural-map__ring,
.neural-map__pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(113, 240, 211, 0.22);
}

.neural-map__ring--a {
  width: 230px;
  height: 230px;
}

.neural-map__ring--b {
  width: 150px;
  height: 150px;
  border-color: rgba(255, 138, 91, 0.3);
}

.neural-map__core {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 34px rgba(113, 240, 211, 0.7);
  z-index: 2;
}

.neural-map__pulse {
  width: 20px;
  height: 20px;
  background: rgba(138, 180, 255, 0.2);
  border-color: rgba(138, 180, 255, 0.35);
}

.neural-map__pulse--1 {
  top: 42px;
  left: 90px;
  animation: orbitA 11s linear infinite;
}

.neural-map__pulse--2 {
  right: 70px;
  bottom: 58px;
  animation: orbitB 9s linear infinite;
}

.neural-map__pulse--3 {
  left: 44px;
  bottom: 70px;
  animation: orbitC 10s linear infinite;
}

.floating-panel {
  position: absolute;
  right: -18px;
  bottom: -28px;
  width: min(320px, 82%);
  border-radius: 22px;
  padding: 18px 18px 18px 20px;
}

.floating-list,
.scene-list {
  margin: 0;
  padding-left: 18px;
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: 18px 0 36px;
}

.overview__panel,
.stat-card,
.topic,
.lab__panel,
.lab__scene,
.era-section__head {
  border-radius: var(--radius);
}

.overview__panel {
  padding: 24px;
}

.overview__stats {
  align-items: stretch;
}

.stat-card {
  flex: 1 1 220px;
  padding: 20px;
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.3rem;
}

.stat-card--highlight {
  background: linear-gradient(145deg, rgba(113, 240, 211, 0.12), rgba(255, 138, 91, 0.1));
}

.timeline {
  padding: 18px 0 42px;
}

.timeline__head,
.scene__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.timeline__note {
  max-width: 44ch;
}

.era-section + .era-section {
  margin-top: 34px;
}

.era-section__head {
  padding: 18px 20px;
  margin-bottom: 16px;
}

.era-section__head h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
}

.topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.topic {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 212px;
  padding: 18px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.3s ease;
}

.topic::before {
  content: attr(data-era);
  position: absolute;
  top: 12px;
  right: 14px;
  color: rgba(237, 247, 255, 0.14);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
}

.topic:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border-color: rgba(113, 240, 211, 0.26);
}

.topic h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1;
}

.topic__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(113, 240, 211, 0.1);
  color: var(--accent);
  font-weight: 700;
}

.topic__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.chip--tone {
  background: rgba(255, 138, 91, 0.14);
  color: #ffc1ab;
}

.chip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 700;
}

.chip-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.topic:hover .chip-link::after {
  transform: translateX(4px);
}

.scene-list li + li {
  margin-top: 8px;
}

.lab {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  padding: 24px 0 88px;
}

.lab__panel,
.lab__scene {
  padding: 24px;
}

.lens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0 18px;
}

.lens-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.lens-card--accent {
  background: linear-gradient(145deg, rgba(138, 180, 255, 0.12), rgba(113, 240, 211, 0.1));
}

.controls {
  margin-top: 8px;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.switch input {
  display: none;
}

.switch__track {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  position: relative;
}

.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  transition: transform 0.25s ease;
}

.switch input:checked + .switch__track::after {
  transform: translateX(20px);
}

.switch__label {
  color: var(--muted);
  font-weight: 700;
}

.scene-list {
  margin-top: 14px;
}

.quote {
  margin: 20px 0 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.04rem;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 30px;
  color: var(--muted);
}

.footer__brand {
  color: var(--accent);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.04); }
}

@keyframes streamShift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes orbitA {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(28px, -12px); }
  50% { transform: translate(52px, 18px); }
  75% { transform: translate(14px, 42px); }
}

@keyframes orbitB {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-26px, -24px); }
  66% { transform: translate(-44px, 8px); }
}

@keyframes orbitC {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(18px, -26px); }
  66% { transform: translate(40px, 8px); }
}

@media (max-width: 1060px) {
  .hero,
  .overview,
  .lab {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .neural-panel__body {
    grid-template-columns: 1fr;
  }

  .floating-panel {
    position: static;
    width: auto;
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  h1 {
    max-width: none;
    font-size: clamp(2.8rem, 15vw, 4.1rem);
  }

  .hero,
  .overview,
  .timeline,
  .lab,
  .footer {
    width: min(100% - 24px, 1240px);
  }

  .neural-panel__bar {
    grid-template-columns: auto auto auto 1fr;
  }

  .neural-panel__badge {
    grid-column: 1 / -1;
  }
}

.detail-page .ambient--grid {
  opacity: 0.48;
}

.detail-shell,
.article,
.footer--detail {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.detail-shell {
  padding: 32px 0 96px;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  backdrop-filter: blur(16px);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.subhero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.subhero__panel,
.subhero__side,
.section,
.toc-card,
.fact-card,
.dialog-card,
.pull-quote,
.stat-strip__item,
.code-card,
.legacy-card,
.reading-card {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}

.subhero__panel,
.subhero__side,
.section,
.toc-card {
  padding: 24px;
}

.subhero__title {
  max-width: none;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.92;
}

.subhero__lede {
  margin-top: 18px;
  font-size: 1.08rem;
  max-width: 64ch;
}

.subhero__meta,
.subhero__actions,
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.subhero__meta {
  margin-top: 22px;
}

.subhero__actions {
  margin-top: 20px;
}

.subhero__side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-orbit {
  position: relative;
  min-height: 240px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at center, rgba(113, 240, 211, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.hero-orbit__ring,
.hero-orbit__node,
.hero-orbit__pulse {
  position: absolute;
  border-radius: 50%;
}

.hero-orbit__ring {
  inset: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(113, 240, 211, 0.2);
}

.hero-orbit__ring--lg {
  width: 210px;
  height: 210px;
}

.hero-orbit__ring--sm {
  width: 120px;
  height: 120px;
  border-color: rgba(255, 138, 91, 0.22);
}

.hero-orbit__node {
  width: 14px;
  height: 14px;
  background: linear-gradient(120deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 20px rgba(113, 240, 211, 0.45);
}

.hero-orbit__node--a {
  top: 44px;
  left: 88px;
  animation: orbitA 10s linear infinite;
}

.hero-orbit__node--b {
  right: 80px;
  bottom: 58px;
  animation: orbitB 8s linear infinite;
}

.hero-orbit__node--c {
  left: 50px;
  bottom: 48px;
  animation: orbitC 9s linear infinite;
}

.hero-orbit__pulse {
  inset: 50%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(113, 240, 211, 0.92), rgba(113, 240, 211, 0.06));
  box-shadow: 0 0 36px rgba(113, 240, 211, 0.55);
  animation: corePulse 2.6s ease-in-out infinite;
}

.hero-orbit__terminal {
  position: absolute;
  right: 14px;
  left: 14px;
  bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(5, 11, 20, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  color: #b7f9ec;
}

.hero-orbit__terminal span {
  color: #ffd0bf;
}

.stat-strip__item {
  flex: 1 1 150px;
  padding: 16px;
}

.stat-strip__item strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(260px, 0.22fr);
  gap: 24px;
  margin-top: 26px;
  align-items: start;
}

.article__main {
  display: grid;
  gap: 22px;
}

.article__side {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}

.toc-card h3,
.section h2 {
  margin: 0;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 8px;
}

.toc-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.toc-list a:hover,
.toc-list a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(113, 240, 211, 0.18);
}

.section {
  scroll-margin-top: 24px;
}

.section__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.section__lede {
  max-width: 56ch;
}

.info-grid,
.legacy-grid,
.reading-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.fact-card,
.legacy-card,
.reading-card {
  padding: 18px;
}

.fact-card h3,
.legacy-card h3,
.reading-card h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 16px;
}

.longform p + p {
  margin-top: 12px;
}

.dialog-card,
.code-card,
.pull-quote {
  padding: 18px;
}

.dialog-card__line + .dialog-card__line {
  margin-top: 12px;
}

.dialog-card__speaker {
  display: inline-block;
  margin-bottom: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--accent);
}

.dialog-card__line p {
  color: var(--text);
}

.dialog-card pre {
  margin: 14px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  color: #d9fff6;
}

.code-card pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  color: #d9fff6;
}

.timeline-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.timeline-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  color: var(--accent);
  background: rgba(113, 240, 211, 0.08);
}

.pull-quote {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.7;
}

.pull-quote cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 14px 16px;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.compare-table th {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.04);
}

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

.footer--detail {
  padding-bottom: 30px;
}

.progress-rail {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.04);
  z-index: 20;
}

.progress-rail__bar {
  width: 0;
  height: 100%;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 20px rgba(113, 240, 211, 0.45);
}

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.92; }
  50% { transform: translate(-50%, -50%) scale(1.24); opacity: 1; }
}

@media (max-width: 1100px) {
  .subhero,
  .article,
  .split-panel {
    grid-template-columns: 1fr;
  }

  .article__side {
    position: static;
  }
}

@media (max-width: 720px) {
  .detail-shell,
  .article,
  .footer--detail {
    width: min(100% - 24px, 1240px);
  }

  .subhero__title {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }
}
