:root {
  color-scheme: dark;
  --canvas: oklch(10% 0.012 65);
  --surface-1: oklch(14% 0.012 65);
  --surface-2: oklch(18% 0.014 65);
  --surface-3: oklch(23% 0.016 65);
  --paper: oklch(90% 0.025 78);
  --muted: oklch(70% 0.026 78);
  --soft: oklch(55% 0.028 78);
  --amber: oklch(75% 0.14 72);
  --red: oklch(63% 0.19 31);
  --green: oklch(72% 0.13 150);
  --line: rgba(255, 244, 214, 0.1);
  --line-strong: rgba(255, 244, 214, 0.18);
  --max: 1160px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-display: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--canvas);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
}

a {
  color: inherit;
}

p {
  line-height: 1.7;
  text-wrap: pretty;
}

button,
a {
  touch-action: manipulation;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  transform: translateY(-160%);
  border-radius: var(--radius-sm);
  background: var(--amber);
  color: #16110a;
  padding: 10px 14px;
  font-weight: 800;
  transition-property: transform;
  transition-duration: 180ms;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.read-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 35;
  height: 3px;
  background: rgba(255, 244, 214, 0.06);
}

.read-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--amber);
}

.site-header {
  position: fixed;
  top: 3px;
  right: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 22px;
}

.brand {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  text-decoration: none;
  font-weight: 850;
}

.brand-mark {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 18px 0 0 var(--amber), 36px 0 0 var(--green);
}

.top-nav {
  display: flex;
  gap: 8px;
  border-radius: 999px;
  background: rgba(255, 244, 214, 0.06);
  padding: 4px;
}

.top-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  text-decoration: none;
  transition-property: background-color, color, transform;
  transition-duration: 160ms;
}

.top-nav a:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.source-list a:focus-visible,
.site-footer a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

@media (hover: hover) {
  .top-nav a:hover {
    background: rgba(255, 244, 214, 0.08);
    color: var(--paper);
  }
}

.top-nav a:active,
.button:active,
.site-footer a:active {
  transform: scale(0.96);
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  overflow: hidden;
  place-items: end start;
  padding: 132px 22px 78px;
  isolation: isolate;
}

#signalCanvas {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: 0.82;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(11, 10, 8, 0.64);
}

.hero-inner {
  width: min(760px, 100%);
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow,
.section-kicker,
.metric-label {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.status-pill {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 244, 214, 0.08);
  color: var(--muted);
  padding: 0 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.status-alert {
  background: rgba(238, 86, 66, 0.18);
  color: oklch(83% 0.08 35);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--paper);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 850;
}

h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
}

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

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-weight: 850;
  text-decoration: none;
  transition-property: background-color, color, transform;
  transition-duration: 160ms;
}

.button.primary {
  background: var(--amber);
  color: #181108;
}

.button.secondary {
  background: rgba(255, 244, 214, 0.08);
  color: var(--paper);
}

@media (hover: hover) {
  .button.primary:hover {
    background: oklch(82% 0.13 72);
  }

  .button.secondary:hover {
    background: rgba(255, 244, 214, 0.13);
  }
}

.answer-band,
.intent-section,
.source-section {
  background: var(--surface-1);
  padding: 82px 22px;
}

.article-page {
  padding-bottom: 48px;
}

.article-hero {
  padding: 132px 22px 72px;
  background: var(--surface-1);
}

.article-shell {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.breadcrumb {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition-property: color, transform;
  transition-duration: 160ms;
}

@media (hover: hover) {
  .breadcrumb:hover {
    color: var(--amber);
  }
}

.breadcrumb:active {
  transform: scale(0.96);
}

.article-hero h1 {
  max-width: 880px;
}

.article-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 60px;
  min-width: 0;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 72px 22px 0;
}

.article-aside {
  position: sticky;
  top: 88px;
  align-self: start;
  display: grid;
  gap: 1px;
  background: var(--line);
}

.aside-card {
  background: rgba(255, 244, 214, 0.035);
  padding: 22px;
}

.aside-card strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.1;
}

.aside-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-main {
  display: grid;
  gap: 42px;
  min-width: 0;
}

.article-main section {
  max-width: 780px;
  min-width: 0;
}

.article-main h2 {
  margin-bottom: 16px;
  font-size: 2rem;
}

.article-main p {
  color: var(--muted);
}

.callout {
  background: rgba(255, 244, 214, 0.05);
  padding: 28px;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.verdict-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.verdict-list li {
  background: rgba(255, 244, 214, 0.035);
  color: var(--muted);
  line-height: 1.6;
  padding: 18px;
}

.verdict-list strong {
  color: var(--paper);
}

.caution-list li {
  background: rgba(238, 86, 66, 0.08);
}

.article-faq {
  width: 100%;
  margin: 0;
}

.article-faq h2 {
  margin-bottom: 18px;
}

.source-note {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 54px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.answer-copy p:first-child {
  margin-top: 0;
}

.answer-copy p,
.section-head p {
  color: var(--muted);
  font-size: 1rem;
}

.snapshot-section,
.timeline-section,
.split-section,
.debate-section,
.guides-section,
.faq-section {
  padding: 88px 22px;
}

.snapshot-grid,
.split-grid,
.debate-grid,
.guide-grid,
.faq-list,
.section-head,
.timeline-list {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.snapshot-item {
  min-height: 210px;
  background: rgba(255, 244, 214, 0.035);
  padding: 24px;
}

.snapshot-item strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.snapshot-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.timeline-list {
  display: grid;
  gap: 1px;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.timeline-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 34px;
  background: var(--canvas);
  padding: 28px;
}

.timeline-list time {
  color: var(--amber);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.timeline-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.split-grid article {
  min-height: 280px;
  background: var(--surface-1);
  padding: 28px;
}

.number {
  display: block;
  margin-bottom: 40px;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
}

.split-grid p {
  color: var(--muted);
}

.intent-table-wrap {
  overflow-x: auto;
}

.intent-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.intent-table th,
.intent-table td {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  text-align: left;
  vertical-align: top;
}

.intent-table th {
  color: var(--amber);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.intent-table td:first-child {
  color: var(--paper);
  font-weight: 800;
}

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

.debate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.debate-column {
  background: rgba(255, 244, 214, 0.035);
  padding: 32px;
}

.debate-column.caution {
  background: rgba(238, 86, 66, 0.08);
}

.debate-column ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.debate-column li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.debate-column li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.debate-column.caution li::before {
  background: var(--red);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.guide-card {
  background: var(--surface-1);
  padding: 32px;
}

.guide-card h3 {
  max-width: 460px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.guide-card p:not(.metric-label) {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-top: 8px;
  color: var(--amber);
  font-weight: 850;
  text-decoration: none;
  transition-property: color, transform;
  transition-duration: 160ms;
}

@media (hover: hover) {
  .text-link:hover {
    color: oklch(82% 0.13 72);
  }
}

.text-link:active {
  transform: scale(0.96);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--surface-1);
}

.faq-list summary {
  min-height: 62px;
  cursor: pointer;
  padding: 20px 24px;
  color: var(--paper);
  font-weight: 850;
}

.faq-list summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: -4px;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--muted);
}

.source-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-list a {
  color: var(--paper);
  text-decoration-color: rgba(255, 244, 214, 0.35);
  text-underline-offset: 5px;
}

@media (hover: hover) {
  .source-list a:hover {
    color: var(--amber);
  }
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
  padding: 40px 0 56px;
  color: var(--soft);
}

.site-footer p {
  max-width: 760px;
  margin: 0;
  font-size: 0.92rem;
}

.site-footer a {
  min-height: 40px;
  white-space: nowrap;
  color: var(--paper);
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
  }

  .top-nav {
    display: none;
  }

  .hero {
    min-height: 720px;
    padding-top: 108px;
  }

  .article-hero {
    padding-top: 108px;
  }

  h1 {
    font-size: 3.2rem;
  }

  h2 {
    font-size: 2.05rem;
  }

  .content-grid,
  .debate-grid,
  .guide-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .site-header {
    padding: 16px;
  }

  .hero,
  .article-hero,
  .answer-band,
  .intent-section,
  .source-section,
  .snapshot-section,
  .timeline-section,
  .split-section,
  .debate-section,
  .guides-section,
  .faq-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    min-height: 760px;
    padding-bottom: 54px;
  }

  .hero::after {
    background: rgba(11, 10, 8, 0.72);
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.78rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .snapshot-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px;
  }

  .site-footer {
    display: grid;
    width: calc(100% - 32px);
  }

  .article-grid {
    gap: 34px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .callout {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
