/* Explainer article pages. Same tokens as the homepage. */
:root {
  --bg: #111A33;
  --surface: #17224A;
  --surface-2: #1D2A58;
  --line: #2A3768;
  --fg: #E8E8E8;
  --muted: #9BA4BF;
  --old: #8A8F9C;
  --accent: #A6E313;
  --accent-soft: rgba(166, 227, 19, 0.14);
  --accent-ink: #111A33;
  --display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--body); font-size: 18px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg);
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap {
  max-width: 1180px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

/* Reading progress */
.progress {
  position: fixed; left: 0; top: env(safe-area-inset-top, 0px); height: 3px; width: 100%; z-index: 70;
  transform-origin: 0 50%; transform: scaleX(0);
  background: var(--accent); box-shadow: 0 0 12px rgba(166,227,19,.7);
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(17, 26, 51, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand svg { width: 26px; height: 30px; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .16em; }
.nav-back { font-size: 14px; color: var(--muted); text-decoration: none; }
.nav-back:hover { color: var(--fg); }

/* Article hero */
.hero { border-bottom: 1px solid var(--line); background: radial-gradient(60% 120% at 90% 0%, rgba(166,227,19,.09), transparent 60%); }
.hero-inner { padding-block: clamp(40px, 7vw, 88px) clamp(32px, 5vw, 56px); display: grid; gap: 20px; max-width: 860px; }
.meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.level {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .1em;
  padding: 4px 9px; border-radius: 6px; border: 1px solid currentColor;
}
.level[data-l="1"] { color: var(--fg); }
.level[data-l="2"] { color: #C9EE6A; }
.level[data-l="3"] { color: var(--accent); background: var(--accent-soft); }
.topic { color: var(--accent); }
.hero h1 { font-size: clamp(32px, 5.6vw, 60px); font-weight: 800; letter-spacing: -.02em; }
.dek { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 52ch; }

/* Layout: article + sticky outline */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 64px;
  padding-block: clamp(40px, 6vw, 72px);
}
.outline { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); align-self: start; display: grid; gap: 10px; }
.outline p { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.outline a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; padding: 4px 0 4px 14px; border-left: 2px solid var(--line); transition: color .2s, border-color .2s; }
.outline a:hover { color: var(--fg); }
.outline a.on { color: var(--accent); border-left-color: var(--accent); }
@media (max-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr); } .outline { display: none; } }

.article { min-width: 0; max-width: 720px; display: grid; gap: 22px; }
.article h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 600; margin-top: 28px; scroll-margin-top: 96px; }
.article h3 { font-size: 19px; font-weight: 600; margin-top: 8px; }
.article p, .article li { color: #D6D9E2; }
.article strong { color: var(--fg); }
.article ul, .article ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.article li::marker { color: var(--accent); }

.tldr { border: 1px solid rgba(166,227,19,.35); background: var(--surface); border-radius: 18px; padding: 24px 26px; display: grid; gap: 12px; }
.tldr h2 { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.tldr ul { gap: 10px; }

.callout { border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 14px 14px 0; padding: 18px 22px; }
.callout p { color: var(--fg); }

/* Old vs New table */
.ovn { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ovn-scroll { overflow-x: auto; }
.ovn table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 480px; }
.ovn th, .ovn td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ovn tr:last-child td { border-bottom: 0; }
.ovn thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; background: var(--surface-2); }
.ovn thead th:nth-child(2) { color: var(--old); }
.ovn thead th:nth-child(3) { color: var(--accent); }
.ovn tbody th { font-weight: 600; color: var(--muted); font-size: 14px; width: 26%; }
.ovn td.old { color: var(--old); }
.ovn td.new { color: var(--fg); }

/* Hype verdict */
.verdict { border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 22px 24px; display: grid; gap: 14px; }
.verdict-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.verdict-head span { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.verdict-head strong { font-family: var(--display); font-size: 18px; color: var(--accent); }
.track { position: relative; height: 10px; border-radius: 999px; background: var(--surface-2); }
.track-fill { position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 999px; background: linear-gradient(90deg, rgba(166,227,19,.15), var(--accent)); }
.track-dot { position: absolute; top: 50%; left: var(--v); width: 18px; height: 18px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.scale span { text-align: center; }
.verdict p { font-size: 15px; color: var(--muted); }

/* Timeline list (MiCA) */
.dates { list-style: none; padding: 0 !important; display: grid; gap: 0 !important; border-left: 2px solid var(--line); margin-left: 6px !important; }
.dates li { position: relative; padding: 0 0 18px 24px; }
.dates li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.dates b { font-family: var(--mono); font-size: 13px; color: var(--accent); display: block; font-weight: 600; }

/* Key terms */
.terms { display: grid; gap: 14px; margin: 0; }
.terms div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.terms dt { font-weight: 700; color: var(--fg); }
.terms dd { margin: 0; color: #D6D9E2; font-size: 16px; }
@media (max-width: 600px) { .terms div { grid-template-columns: 1fr; gap: 4px; } }

.sources { font-size: 15px; }
.sources li { color: var(--muted); }
.disclaimer { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 12px; }

/* End-of-article */
.next { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-bottom: clamp(48px, 8vw, 96px); }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }
.next a {
  display: grid; gap: 8px; padding: 24px; border-radius: 18px; text-decoration: none; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .25s, transform .25s;
}
.next a:hover { border-color: rgba(166,227,19,.5); transform: translateY(-3px); }
.next small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.next strong { font-family: var(--display); font-size: 18px; font-weight: 600; line-height: 1.3; }
.next .cta { background: radial-gradient(80% 120% at 100% 100%, rgba(166,227,19,.2), transparent 60%), var(--surface); border-color: rgba(166,227,19,.35); }
.next .cta strong { color: var(--accent); }

.site-footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: 14px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Shared: nav, newsletter box, ad slots, disclosure ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nav-mini { display: flex; align-items: center; gap: 22px; }
.nav-mini a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-mini a:hover { color: var(--fg); }
@media (max-width: 760px) { .nav-mini a:not(.nav-back) { display: none; } }

.practice { border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; display: grid; gap: 12px; background: linear-gradient(135deg, rgba(166,227,19,.08), transparent 55%), var(--surface); }
.article .practice-title { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.practice ul { list-style: none; padding: 0; }
.practice li a { font-weight: 700; color: var(--fg); text-decoration: none; }
.practice li a::before { content: "↗ "; color: var(--accent); }
.practice li a:hover { color: var(--accent); }

.nl-box {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 28px; align-items: center;
  border: 1px solid rgba(166,227,19,.35); border-radius: 22px; padding: clamp(22px, 3.5vw, 32px);
  background: radial-gradient(70% 140% at 100% 0%, rgba(166,227,19,.18), transparent 60%), var(--surface);
}
.nl-box::after { content: ""; position: absolute; inset: -40% auto auto -20%; width: 60%; height: 180%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.05), transparent); transform: rotate(8deg); animation: sheen 7s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 60% { left: -40%; } 100% { left: 120%; } }
@media (max-width: 680px) { .nl-box { grid-template-columns: 1fr; } }
.nl-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.article .nl-title, .nl-title { margin: 6px 0 8px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; }
.nl-box p { font-size: 15px; color: var(--muted); }
.nl-form { display: grid; gap: 8px; position: relative; z-index: 1; }
.nl-field { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-field input { flex: 1 1 200px; min-width: 0; font: 500 16px var(--body); color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.nl-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.nl-field button { font: 700 15px var(--body); color: var(--accent-ink); background: var(--accent); border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; transition: box-shadow .3s; }
.nl-field button:hover { box-shadow: 0 0 0 6px var(--accent-soft), 0 10px 30px rgba(166,227,19,.3); }
.nl-field button:disabled { opacity: .6; cursor: wait; }
.nl-box .nl-msg { font-size: 14px; min-height: 1.5em; }
.nl-box .nl-msg.ok { color: var(--accent); }

.ad-slot:empty { display: none; }
.ad-slot { display: grid; gap: 6px; }
.ad-label { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.house-ad {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; padding: 18px 22px; border-radius: 16px;
  border: 1px dashed rgba(166,227,19,.45); background: rgba(166,227,19,.05); color: var(--fg); text-decoration: none; transition: background .25s, border-color .25s;
}
.house-ad:hover { background: rgba(166,227,19,.1); border-style: solid; }
.house-ad strong { font-family: var(--display); font-size: 16px; font-weight: 600; }
.house-ad span { font-size: 14px; color: var(--muted); }
.house-ad em { font-style: normal; font-weight: 700; color: var(--accent); white-space: nowrap; }

.aff-note { font-size: 14px; color: var(--muted) !important; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; background: rgba(23,34,74,.6); }
.aff-note strong { color: var(--fg); }
.aff-inline { font-size: 13px; color: var(--muted); margin: 12px 0 0; max-width: 62ch; }
.aff-inline a { color: inherit; }
.aff-tag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-left: 6px; text-decoration: none; }

/* ---------- Guides: pick cards ---------- */
.picks { display: grid; gap: 14px; }
.pick {
  --gx: 50%; --gy: 0%;
  position: relative; display: grid; gap: 12px; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(240px circle at var(--gx) var(--gy), rgba(166,227,19,.12), transparent 70%), var(--surface);
  transition: border-color .25s, transform .25s;
}
.pick:hover { border-color: rgba(166,227,19,.5); transform: translateY(-2px); }
.pick-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.pick-head h3 { font-size: 20px; font-weight: 600; }
.pick-best { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 4px 9px; border-radius: 6px; }
.pick p { font-size: 16px; }
.pick-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
@media (max-width: 600px) { .pick-cols { grid-template-columns: 1fr; } }
.pick-cols h4 { margin: 0 0 6px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.pick-cols .pro h4 { color: var(--accent); }
.pick-cols .con h4 { color: #FF8A7E; }
.pick-cols ul { padding-left: 1.1em; gap: 4px; font-size: 15px; }
.pick-cols .con li::marker { color: #FF8A7E; }
.pick-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pick-cta {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none; transition: box-shadow .3s;
}
.pick-cta:hover { box-shadow: 0 0 0 6px var(--accent-soft); }
.pick-alt { font-size: 14px; }

/* ---------- Hub ---------- */
.hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; padding-block: clamp(40px, 6vw, 72px); }
.hub a {
  --gx: 50%; --gy: 0%;
  display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; border: 1px solid var(--line); text-decoration: none; color: var(--fg);
  background: radial-gradient(260px circle at var(--gx) var(--gy), rgba(166,227,19,.14), transparent 70%), var(--surface);
  transition: border-color .25s, transform .25s;
}
.hub a:hover { border-color: rgba(166,227,19,.5); transform: translateY(-3px); }
.hub small { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hub strong { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.25; }
.hub span { color: var(--muted); font-size: 15px; }
.hub-section { padding-top: clamp(32px, 5vw, 56px); }
.hub-section h2 { font-size: clamp(22px, 3vw, 32px); font-weight: 600; }
.level.tool-tag { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.cmp table { min-width: 560px; }
.cmp td { color: #D6D9E2; }
.cmp thead th:nth-child(n) { color: var(--muted); }
