:root {
  color-scheme: dark;
  --ink: #f6f7fb;
  --muted: #a1a1aa;
  --panel: rgba(8, 10, 15, 0.9);
  --line: rgba(148, 163, 184, 0.22);
  --cyan: #00d9ff;
  --pink: #ff006e;
  --green: #39ff14;
  --yellow: #ffd000;
}

* { box-sizing: border-box; }

html { max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 217, 255, 0.13), transparent 30rem),
    radial-gradient(circle at 88% 28%, rgba(255, 0, 110, 0.12), transparent 32rem),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    #040508;
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62;
}

a { color: var(--cyan); }
a:hover { color: white; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: white; text-decoration: none; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.brand img { width: 42px; height: 42px; border-radius: 11px; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 18px; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.nav-links a { text-decoration: none; color: #d4d4d8; }
.nav-links .cta { color: #001014; background: var(--cyan); border-radius: 8px; padding: 10px 14px; box-shadow: 0 0 24px rgba(0,217,255,.24); }

main { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 72px 0 100px; }

.eyebrow { margin: 0 0 12px; color: var(--green); font: 800 .76rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; letter-spacing: .025em; text-transform: uppercase; line-height: 1.04; }
h1 { max-width: 980px; margin: 0; font-size: clamp(3rem, 8vw, 6.8rem); }
h2 { margin: 0 0 20px; font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { margin: 0 0 9px; font-size: 1.35rem; }
.gradient { color: transparent; background: linear-gradient(90deg, var(--cyan), #7986ff, var(--pink)); background-clip: text; -webkit-background-clip: text; }
.lede { max-width: 850px; margin: 24px 0 0; color: #d4d4d8; font-size: clamp(1.08rem, 2vw, 1.34rem); }
.date { margin-top: 20px; color: var(--muted); font: 700 .78rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; text-transform: uppercase; letter-spacing: .08em; overflow-wrap: anywhere; word-break: break-word; }

.verdict, .panel, .metric, .step, figure, table { border: 1px solid var(--line); background: var(--panel); box-shadow: 0 18px 70px rgba(0,0,0,.28); }
.verdict { margin: 48px 0 0; padding: clamp(22px, 4vw, 38px); border-top: 2px solid var(--cyan); border-radius: 16px; }
.verdict strong { color: var(--green); }
.notice { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--yellow); background: rgba(255,208,0,.07); color: #e4e4e7; }

section { margin-top: 76px; scroll-margin-top: 92px; }
.grid-2, .grid-3, .metrics, .steps { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, .metric, .step { border-radius: 14px; padding: 22px; }
.metric b { display: block; color: var(--green); font: 900 clamp(1.65rem, 4vw, 2.45rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.metric span { display: block; margin-top: 9px; color: var(--muted); font-size: .88rem; }
.step small { color: var(--cyan); font: 800 .74rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.step p, .panel p { color: #c4c4cc; }
.step p:last-child, .panel p:last-child { margin-bottom: 0; }

.image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
figure { margin: 0; overflow: hidden; border-radius: 14px; }
figure img { display: block; width: 100%; height: auto; background: #16181d; }
figcaption { padding: 14px 16px; color: #c4c4cc; font-size: .9rem; }
figcaption b { color: white; }

.table-wrap { width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; min-width: 760px; border: 0; border-collapse: collapse; }
th, td { padding: 15px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--cyan); font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; }
tr:last-child td { border-bottom: 0; }
td:first-child { width: 19%; color: white; font-weight: 800; }

.tag { display: inline-flex; align-items: center; border: 1px solid rgba(57,255,20,.35); border-radius: 999px; background: rgba(57,255,20,.08); padding: 6px 11px; color: var(--green); font: 800 .72rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; }
.sources li { margin: 9px 0; color: #c4c4cc; }
.sources a { overflow-wrap: anywhere; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid var(--cyan); border-radius: 8px; padding: 10px 16px; background: linear-gradient(135deg, rgba(0,217,255,.18), rgba(57,255,20,.10)); color: white; font-weight: 900; text-decoration: none; text-transform: uppercase; letter-spacing: .055em; }
.button.primary { color: #001014; background: var(--cyan); }

footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 30px 0 50px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .nav { min-height: 64px; }
  .brand span { display: none; }
  .nav-links { gap: 11px; font-size: .68rem; }
  .nav-links a:first-child { display: none; }
  main { padding-top: 48px; }
  .grid-2, .grid-3, .metrics, .steps, .image-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.5rem); }
  section { margin-top: 56px; }
}

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