:root {
  color-scheme: dark;
  --canvas: oklch(11% 0.012 132);
  --canvas-2: oklch(14% 0.012 132);
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.055);
  --panel-soft: rgba(255, 255, 255, 0.022);
  --line: rgba(238, 255, 232, 0.11);
  --line-soft: rgba(238, 255, 232, 0.065);
  --text: oklch(93% 0.01 120);
  --muted: oklch(73% 0.018 124);
  --quiet: oklch(58% 0.018 124);
  --accent: oklch(78% 0.22 136);
  --accent-2: oklch(72% 0.18 84);
  --danger: oklch(70% 0.18 35);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-rise: 0 24px 80px rgba(0, 0, 0, 0.38);
  --font-display: "Satoshi", "Aptos Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Aptos", "Segoe UI", system-ui, sans-serif;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(110, 255, 81, 0.045), transparent 34rem),
    radial-gradient(circle at 52% -14rem, rgba(153, 255, 105, 0.12), transparent 30rem),
    var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 72%);
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

button,
.button,
.nav-link,
.filter-chip,
.source-link,
.timeline-node,
.faq-toggle {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 10, 9, 0.88);
}

.topbar-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 2px;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0;
}

.brand-mark span {
  color: var(--accent);
}

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

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  transition-property: color, background-color, transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link[aria-current="page"],
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.nav-link:active,
.button:active,
.filter-chip:active,
.timeline-node:active,
.faq-toggle:active {
  transform: scale(0.96);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  text-decoration: none;
  cursor: pointer;
  transition-property: transform, background-color, color, box-shadow;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.button.primary {
  background: var(--accent);
  color: #07100a;
  box-shadow: 0 0 0 1px rgba(157, 255, 113, 0.38), 0 16px 48px rgba(101, 255, 79, 0.24);
  font-weight: 800;
}

.button.secondary {
  background: var(--panel-strong);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button.ghost {
  background: transparent;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.button:hover {
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  width: 44px;
  padding: 0;
}

.hamburger span {
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.hamburger span::before,
.hamburger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hamburger span::before {
  top: -6px;
}

.hamburger span::after {
  top: 6px;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.ad-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 8px;
}

.ad-slot {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 100%;
  overflow: hidden;
  padding: 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px var(--line-soft);
}

.ad-slot iframe {
  max-width: 100%;
  border: 0;
}

.ad-label {
  color: var(--quiet);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.ad-leaderboard {
  min-height: 128px;
}

.ad-native {
  margin-top: 24px;
  min-height: 120px;
}

.ad-box {
  min-height: 292px;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  gap: 32px;
  padding-top: 34px;
  padding-bottom: 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.2fr);
  gap: 44px;
  align-items: center;
}

.kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: 6.2rem;
  line-height: 0.88;
  max-width: 720px;
}

h1 .muted-line,
.muted-line {
  color: rgba(240, 243, 237, 0.54);
}

h2 {
  margin: 0;
  font-size: 4rem;
  line-height: 0.94;
}

h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1;
}

p {
  color: var(--muted);
  line-height: 1.7;
  text-wrap: pretty;
}

.lede {
  max-width: 620px;
  font-size: 1.2rem;
  margin: 24px 0 0;
}

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

.notice {
  margin-top: 28px;
  max-width: 520px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 17px;
  border-radius: var(--radius-md);
  background: rgba(255, 187, 54, 0.075);
  box-shadow: inset 0 0 0 1px rgba(255, 197, 68, 0.22);
}

.notice strong {
  color: var(--accent-2);
}

.notice p {
  margin: 2px 0 0;
  font-size: 0.94rem;
}

.notice-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 188, 40, 0.13);
  color: var(--accent-2);
}

.meta-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--quiet);
  font-size: 0.94rem;
}

.meta-row strong {
  color: var(--accent);
}

.dashboard {
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--panel-strong), var(--panel-soft));
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-rise);
  overflow: hidden;
}

.dashboard-head,
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.86rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  white-space: nowrap;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(127, 255, 83, 0.8);
}

.dot.warn {
  background: var(--accent-2);
  box-shadow: 0 0 18px rgba(255, 192, 62, 0.75);
}

.dot.neutral {
  background: var(--quiet);
  box-shadow: none;
}

.evidence-table {
  width: 100%;
  border-collapse: collapse;
}

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

.evidence-table th {
  color: var(--quiet);
  font-weight: 700;
  font-size: 0.8rem;
}

.evidence-table td {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.source-link {
  color: var(--accent);
  text-decoration: none;
}

.source-link:hover {
  text-decoration: underline;
}

.dashboard-foot {
  padding: 20px 24px 24px;
  display: flex;
  justify-content: center;
}

.timeline {
  margin-top: 32px;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow-x: auto;
}

.timeline-track {
  min-width: 920px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
}

.timeline-track::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent), rgba(255, 255, 255, 0.36), transparent);
}

.timeline-node {
  position: relative;
  display: grid;
  gap: 12px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.node-mark {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(122, 255, 78, 0.14);
  box-shadow: inset 0 0 0 2px rgba(127, 255, 83, 0.42), 0 0 30px rgba(127, 255, 83, 0.18);
  color: var(--accent);
  font-weight: 900;
}

.node-mark.pending {
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
  color: var(--muted);
}

.node-copy strong {
  display: block;
  color: var(--text);
}

.node-copy span {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-size: 0.86rem;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.45fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.section-head p {
  margin: 0;
}

.evidence-board,
.plain-panel {
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

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

.filter-chip {
  min-height: 40px;
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 0 14px;
  cursor: pointer;
  transition-property: color, background-color, transform;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-chip.is-active {
  color: #061008;
  background: var(--accent);
}

.search-field {
  min-height: 40px;
  min-width: min(320px, 100%);
  border: 0;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 0 14px;
}

.evidence-list {
  display: grid;
}

.evidence-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1.1fr) 130px;
  gap: 18px;
  padding: 20px 24px;
  border-top: 1px solid var(--line-soft);
}

.evidence-item[hidden] {
  display: none;
}

.evidence-item p {
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.page-hero {
  padding-top: 76px;
  padding-bottom: 52px;
  display: grid;
  gap: 28px;
}

.page-hero h1 {
  font-size: 5.6rem;
  max-width: 980px;
}

.hero-summary {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.3fr);
  gap: 28px;
  align-items: start;
}

.summary-panel {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}

.summary-panel dl {
  margin: 0;
  display: grid;
  gap: 16px;
}

.summary-panel dt {
  color: var(--quiet);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
  font-weight: 800;
}

.summary-panel dd {
  margin: 4px 0 0;
  color: var(--text);
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 32px;
  align-items: start;
}

.article-flow {
  display: grid;
  gap: 28px;
}

.article-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}

.article-card h2,
.article-card h3 {
  margin-bottom: 14px;
}

.article-card p:first-of-type {
  margin-top: 0;
}

.article-card p:last-child,
.article-card ul:last-child,
.article-card ol:last-child {
  margin-bottom: 0;
}

.article-card li {
  color: var(--muted);
  line-height: 1.65;
  margin: 9px 0;
}

.article-card strong {
  color: var(--text);
}

.side-stack {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 96px;
}

.source-box,
.cta-box {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
}

.source-box h3,
.cta-box h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.source-box ul {
  padding-left: 18px;
  margin: 0;
}

.source-box li {
  margin: 10px 0;
  color: var(--muted);
  line-height: 1.45;
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.comparison th,
.comparison td {
  border-top: 1px solid var(--line-soft);
  padding: 16px;
  text-align: left;
  vertical-align: top;
}

.comparison th {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

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

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

.faq-item {
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.faq-toggle {
  width: 100%;
  min-height: 56px;
  border: 0;
  color: var(--text);
  background: transparent;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 0 18px;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition-property: grid-template-rows;
  transition-duration: 180ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel-inner {
  overflow: hidden;
}

.faq-panel p {
  padding: 0 18px 18px;
  margin: 0;
}

.mockup-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.43fr) minmax(0, 0.57fr);
  gap: 28px;
  align-items: center;
}

.mockup-image {
  border-radius: var(--radius-lg);
  outline: 1px solid rgba(255, 255, 255, 0.1);
  outline-offset: -1px;
  box-shadow: var(--shadow-rise);
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 14px;
}

.subscribe-form input {
  min-height: 44px;
  min-width: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  padding: 0 14px;
}

.form-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--quiet);
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  margin-top: 48px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

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

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition-property: opacity, transform;
  transition-duration: 540ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (max-width: 980px) {
  .topbar-inner {
    grid-template-columns: 1fr auto;
  }

  .header-actions .button.secondary {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .nav {
    grid-column: 1 / -1;
    display: none;
    justify-content: flex-start;
    padding-bottom: 16px;
  }

  .topbar.is-open .nav {
    display: flex;
  }

  .hero-grid,
  .section-head,
  .hero-summary,
  .content-grid,
  .mockup-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 56px;
  }

  .side-stack {
    position: static;
  }

  .evidence-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  h1,
  .page-hero h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 3.1rem;
  }
}

@media (max-width: 720px) {
  .section {
    width: min(100% - 24px, var(--max));
    padding: 52px 0;
  }

  .ad-section {
    width: min(100% - 24px, var(--max));
  }

  .ad-leaderboard {
    min-height: 92px;
  }

  h1 {
    font-size: 3.1rem;
  }

  .page-hero h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 1.28rem;
  }

  .lede {
    font-size: 1.05rem;
  }

  .dashboard-head,
  .panel-head {
    display: grid;
    padding: 20px;
  }

  .evidence-table,
  .evidence-table thead,
  .evidence-table tbody,
  .evidence-table tr,
  .evidence-table th,
  .evidence-table td,
  .comparison,
  .comparison thead,
  .comparison tbody,
  .comparison tr,
  .comparison th,
  .comparison td {
    display: block;
  }

  .evidence-table thead,
  .comparison thead {
    display: none;
  }

  .evidence-table tr,
  .comparison tr {
    border-bottom: 1px solid var(--line-soft);
  }

  .evidence-table td,
  .comparison td {
    border-bottom: 0;
    padding: 12px 20px;
  }

  .evidence-table td:first-child,
  .comparison td:first-child {
    padding-top: 18px;
  }

  .evidence-table td:last-child,
  .comparison td:last-child {
    padding-bottom: 18px;
  }

  .hero-actions,
  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .subscribe-form .button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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