/* ==========================================================
   WhatIsLQM — design system
   ========================================================== */

:root {
  --ink: #07080c;
  --ink-2: #0c0e14;
  --panel: #10131b;
  --panel-2: #151925;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef3;
  --muted: #9aa1b2;
  --dim: #646b7d;
  --signal: #c8ff4d;          /* acid lime */
  --signal-ink: #0b1000;
  --violet: #8b7bff;
  --cyan: #4de1ff;
  --grad: linear-gradient(110deg, #c8ff4d 0%, #4de1ff 48%, #8b7bff 100%);
  --radius: 18px;
  --radius-sm: 10px;
  --max: 1240px;
  --read: 720px;
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--signal); color: var(--signal-ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }

/* subtle grain + grid backdrop */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: .55;
}
main, header, footer { position: relative; z-index: 1; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.display {
  font-size: clamp(44px, 8.4vw, 116px);
  letter-spacing: -0.045em;
  line-height: .95;
  font-weight: 600;
}
.display em, .h2 em, .article-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.035em; }
.h3 { font-size: clamp(22px, 2.4vw, 28px); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 640px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  background: rgba(7, 8, 12, .62);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.brand-mark { width: 28px; height: 28px; }
.brand b { font-weight: 600; }
.brand span { color: var(--dim); font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14px; color: var(--muted);
  padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.05); }
.nav-cta { margin-left: 8px; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line-2); color: var(--text);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
}
.menu-btn span { display: block; width: 16px; height: 1.5px; background: currentColor; margin: 4px auto; transition: transform .3s var(--ease), opacity .2s; }
@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(7,8,12,.97); border-bottom: 1px solid var(--line);
    padding: 12px 16px 24px;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease);
  }
  .nav-links a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .nav-cta { margin: 10px 0 0; text-align: center; }
  body.nav-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  body.nav-open .menu-btn span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  body.nav-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-btn span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid var(--line-2); color: var(--text);
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.btn-primary { background: var(--signal); color: var(--signal-ink); border-color: transparent; font-weight: 600; }
.btn-primary:hover { box-shadow: 0 10px 40px -10px rgba(200,255,77,.6); border-color: transparent; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 110px 0 90px; min-height: min(92vh, 900px); display: flex; align-items: center; overflow: hidden; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(7,8,12,.86) 0%, rgba(7,8,12,.4) 55%, rgba(7,8,12,0) 100%),
              linear-gradient(to bottom, rgba(7,8,12,0) 70%, var(--ink) 100%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero .display { margin: 26px 0 28px; max-width: 980px; }
.hero .lead { margin-bottom: 40px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 64px; display: flex; gap: 36px; flex-wrap: wrap;
  font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .06em; text-transform: uppercase;
}
.hero-meta b { color: var(--text); font-weight: 500; }

/* ---------- ticker ---------- */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: var(--ink-2); }
.ticker-track { display: flex; width: max-content; animation: tick 48s linear infinite; }
.ticker-item { font-family: var(--mono); font-size: 13px; color: var(--muted); padding: 16px 28px; white-space: nowrap; display: flex; gap: 12px; align-items: center; }
.ticker-item b { color: var(--signal); font-weight: 500; }
.ticker-item::after { content: "/"; color: var(--dim); margin-left: 28px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 130px 0; }
.section-tight { padding: 90px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.section-head .h2 { margin-top: 18px; }
@media (max-width: 880px) { .section { padding: 90px 0; } .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; } }

/* definition block */
.definition {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel) 0%, var(--ink-2) 100%);
  padding: clamp(28px, 5vw, 64px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  position: relative; overflow: hidden;
}
.definition::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(139,123,255,.22) 0%, transparent 65%);
}
.definition blockquote {
  margin: 0; font-size: clamp(24px, 3vw, 38px); line-height: 1.2; letter-spacing: -0.02em; position: relative;
}
.definition blockquote em { font-family: var(--serif); font-weight: 400; }
.definition .pron { font-family: var(--mono); color: var(--dim); font-size: 13px; margin-bottom: 22px; letter-spacing: .04em; }
.def-list { list-style: none; margin: 0; padding: 0; position: relative; }
.def-list li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 12px; color: var(--muted); font-size: 15px; }
.def-list li:last-child { border-bottom: 1px solid var(--line); }
.def-list li b { color: var(--text); font-weight: 500; display: block; margin-bottom: 2px; }
.def-list .n { font-family: var(--mono); color: var(--signal); font-size: 12px; padding-top: 4px; }
@media (max-width: 880px) { .definition { grid-template-columns: 1fr; gap: 36px; } }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: var(--panel); }
.compare-card.lqm { background: linear-gradient(160deg, rgba(200,255,77,.08), rgba(77,225,255,.04) 60%, var(--panel)); border-color: rgba(200,255,77,.25); }
.compare-card h3 { font-size: 22px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.tag { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-weight: 400; }
.compare-card.lqm .tag { color: var(--signal); border-color: rgba(200,255,77,.35); }
.compare-row { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; font-size: 15px; }
.compare-row span:first-child { font-family: var(--mono); font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; padding-top: 3px; }
@media (max-width: 880px) { .compare { grid-template-columns: 1fr; } .compare-row { grid-template-columns: 1fr; gap: 4px; } }

/* demo */
.demo { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); overflow: hidden; }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.demo-bar .q { font-size: 15px; }
.demo-bar .q b { font-weight: 500; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); }
.seg button { background: none; border: 0; color: var(--muted); font: 500 13px var(--font); padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: all .25s; }
.seg button.on { background: var(--text); color: var(--ink); }
.demo-body { display: grid; grid-template-columns: 1fr 300px; min-height: 280px; }
.demo-chart { padding: 22px; border-right: 1px solid var(--line); }
.demo-chart svg { width: 100%; height: 240px; }
.demo-side { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.demo-stat .k { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.demo-stat .v { font-size: 34px; letter-spacing: -0.03em; font-weight: 600; margin-top: 4px; }
.demo-note { font-size: 13px; color: var(--dim); line-height: 1.5; }
@media (max-width: 880px) { .demo-body { grid-template-columns: 1fr; } .demo-chart { border-right: 0; border-bottom: 1px solid var(--line); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 34px 28px; border-right: 1px solid var(--line); background: var(--ink-2); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(40px, 4.4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat .num small { font-size: .45em; color: var(--muted); font-weight: 500; margin-left: 2px; }
.stat p { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.stat .src { display: block; margin-top: 12px; font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .04em; }
@media (max-width: 880px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

/* landscape / players */
.players { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.player {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  background: var(--panel); position: relative; overflow: hidden;
  transition: border-color .3s, transform .4s var(--ease);
}
.player:hover { border-color: var(--line-2); transform: translateY(-3px); }
.player-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.player h3 { font-size: 24px; }
.player .kind { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin-top: 8px; }
.player p { color: var(--muted); font-size: 15px; margin: 0 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--mono); font-size: 11.5px; padding: 6px 10px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--muted); }
@media (max-width: 880px) { .players { grid-template-columns: 1fr; } }

/* articles grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .45s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card-art { aspect-ratio: 16/10; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--ink-2); }
.card-art svg { width: 100%; height: 100%; transition: transform .8s var(--ease); }
.card:hover .card-art svg { transform: scale(1.04); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); display: flex; gap: 12px; margin-bottom: 14px; }
.card-meta .cat { color: var(--signal); }
.card h3 { font-size: 21px; line-height: 1.2; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; margin: 0 0 22px; flex: 1; }
.card .more { font-size: 14px; font-weight: 500; display: inline-flex; gap: 8px; align-items: center; }
.card.feature { grid-column: span 2; flex-direction: row; }
.card.feature .card-art { aspect-ratio: auto; flex: 1.1; border-bottom: 0; border-right: 1px solid var(--line); min-height: 340px; }
.card.feature .card-body { flex: 1; padding: 36px; justify-content: center; }
.card.feature h3 { font-size: clamp(26px, 2.6vw, 34px); }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .cards { grid-template-columns: 1fr; }
  .card.feature { grid-column: auto; flex-direction: column; }
  .card.feature .card-art { min-height: 0; aspect-ratio: 16/10; border-right: 0; border-bottom: 1px solid var(--line); }
  .card.feature .card-body { padding: 24px; }
}

/* timeline */
.timeline { position: relative; display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 30px 0; border-top: 1px solid var(--line); }
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-date { font-family: var(--mono); font-size: 13px; color: var(--signal); letter-spacing: .04em; padding-top: 4px; }
.tl-item h3 { font-size: 21px; margin-bottom: 8px; }
.tl-item p { margin: 0; color: var(--muted); font-size: 15px; max-width: 680px; }
@media (max-width: 700px) { .tl-item { grid-template-columns: 1fr; gap: 8px; } }

/* outlook horizon */
.horizon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hz { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: var(--panel); position: relative; }
.hz .when { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.hz h3 { font-size: 24px; margin: 14px 0 14px; }
.hz ul { margin: 0; padding: 0; list-style: none; }
.hz li { font-size: 15px; color: var(--muted); padding: 10px 0 10px 22px; position: relative; border-top: 1px solid var(--line); }
.hz li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 1.5px; background: var(--signal); }
.hz .bar { height: 3px; border-radius: 3px; background: var(--line); margin-top: 22px; overflow: hidden; }
.hz .bar i { display: block; height: 100%; background: var(--grad); }
@media (max-width: 960px) { .horizon { grid-template-columns: 1fr; } }

/* CTA */
.cta {
  border-radius: 28px; padding: clamp(40px, 7vw, 96px);
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(139,123,255,.35), transparent 60%),
    radial-gradient(ellipse 60% 90% at 0% 100%, rgba(200,255,77,.18), transparent 60%),
    var(--panel);
  border: 1px solid var(--line-2);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end;
}
.cta .h2 { margin-top: 18px; }
.cta p { color: var(--muted); margin: 0 0 26px; }
.cta-roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
@media (max-width: 880px) { .cta { grid-template-columns: 1fr; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; margin-top: 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot p { color: var(--dim); font-size: 14px; max-width: 360px; margin: 16px 0 0; }
.foot h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 16px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 10px; }
.foot li a { color: var(--muted); font-size: 14px; transition: color .2s; }
.foot li a:hover { color: var(--text); }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; color: var(--dim); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }

/* ---------- article page ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--grad); z-index: 60; }
.article-hero { padding: 90px 0 40px; }
.crumbs { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .06em; margin-bottom: 30px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.article-title { font-size: clamp(38px, 6vw, 80px); letter-spacing: -0.04em; line-height: 1; max-width: 1000px; margin: 22px 0 26px; }
.article-dek { font-size: clamp(19px, 1.9vw, 23px); color: var(--muted); max-width: 760px; line-height: 1.5; }
.byline { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .05em; text-transform: uppercase; }
.byline b { color: var(--text); font-weight: 500; }
.article-cover { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21/9; background: var(--ink-2); margin: 20px 0 70px; }
.article-cover svg { width: 100%; height: 100%; }
@media (max-width: 640px) { .article-cover { aspect-ratio: 16/10; } }

.article-layout { display: grid; grid-template-columns: 220px minmax(0, var(--read)) 1fr; gap: 56px; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 13px; }
.toc h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 14px; }
.toc a { display: block; color: var(--dim); padding: 7px 0 7px 14px; border-left: 1px solid var(--line); transition: color .2s, border-color .2s; line-height: 1.35; }
.toc a:hover, .toc a.active { color: var(--text); border-left-color: var(--signal); }
@media (max-width: 1080px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .toc { display: none; } .prose { width: 100%; max-width: var(--read); margin: 0 auto; } }

.article-layout > * { min-width: 0; }
.prose { min-width: 0; font-size: 18.5px; line-height: 1.75; color: #d6d9e2; }
.prose > * + * { margin-top: 1.25em; }
.prose p { margin: 0; }
.prose p + p { margin-top: 1.2em; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin-top: 2.4em; margin-bottom: .2em; color: var(--text); scroll-margin-top: 100px; }
.prose h3 { font-size: 22px; margin-top: 2em; color: var(--text); }
.prose a { color: var(--text); background-image: linear-gradient(var(--signal), var(--signal)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: color .2s; }
.prose a:hover { color: var(--signal); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .5em 0; }
.prose li::marker { color: var(--signal); }
.prose .first::first-letter {
  font-family: var(--serif); float: left; font-size: 5.2em; line-height: .8; padding: 8px 12px 0 0; color: var(--signal);
}
.pull {
  margin: 2.2em 0 !important; padding: 8px 0 8px 28px; border-left: 2px solid var(--signal);
  font-size: clamp(23px, 2.4vw, 29px); line-height: 1.3; letter-spacing: -0.02em; color: var(--text);
}
.pull em { font-family: var(--serif); }
.callout {
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px 28px; background: var(--panel);
  font-size: 16px; line-height: 1.65;
}
.callout .k { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); display: block; margin-bottom: 10px; }
.figure { border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2); padding: 22px; margin: 2.2em 0 !important; }
.figure svg { width: 100%; height: auto; }
.figure figcaption { font-size: 13px; color: var(--dim); margin-top: 14px; font-family: var(--mono); letter-spacing: .02em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); font-weight: 400; background: var(--panel); }
.prose tr:last-child td { border-bottom: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 2em 0 !important; }
.kpi { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: var(--panel); }
.kpi b { display: block; font-size: 30px; letter-spacing: -0.03em; color: var(--signal); line-height: 1.1; }
.kpi span { font-size: 13px; color: var(--muted); line-height: 1.4; display: block; margin-top: 6px; }
@media (max-width: 560px) { .kpis { grid-template-columns: 1fr; } }
.sources { margin-top: 3.4em !important; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.sources h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 12px; }
.sources ol { color: var(--muted); padding-left: 1.2em; }
.sources li { margin: 6px 0; }
.sources a { background: none; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

.next-read { margin-top: 90px; }
.next-read .cards { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .next-read .cards { grid-template-columns: 1fr; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

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

/* 404 */
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound .display { font-size: clamp(90px, 18vw, 220px); }
