/* ================================================================
   Santala Research — style.css  ("Block ledger", 2026-11-08)
   One file for every page, incl. bot-generated news/radar/brief pages
   and the research publishers' inline-styled figures.
   The token NAMES below are a contract (inline styles in generated pages
   use var(--ink), var(--rule-soft), var(--loss)…) — change values, never names.
   Design notes:
   - Brand = the logo: green pixel blocks. Green is a FILL (buttons, rail squares,
     focus), never body text on light paper; text-safe green is --accent-ink.
   - One bold element per page (homepage: the chain rail). Everything else quiet:
     no shadows, no gradients, no marquee, no pulsing, no scroll reveals.
   - Sentence case everywhere; mono only for hashes, addresses and code.
   ================================================================ */

/* ── 1. Tokens ─────────────────────────────────────────────────── */
:root {
  --bg: #F4F7F3;            /* sage paper */
  --bg-raised: #FFFFFF;     /* sheet */
  --ink: #102318;           /* forest ink: text + structural rules */
  --muted: #4A5A50;
  --faint: #5F6E65;
  --rule: #102318;
  --rule-soft: #D6DFD7;
  --green: #5AD95F;         /* logo green — fills only */
  --green-ink: #102318;     /* text that sits on --green */
  --accent: #5AD95F;        /* legacy name: highlight fill */
  --accent-ink: #1A6B33;    /* text-safe green */
  --gain: #1A6B33;
  --loss: #B42318;
  --hl-fill: rgba(90,217,95,.30);
  --day: #CBD6CD;           /* empty rail square */
  --font-display: 'Red Hat Display', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-ui: 'Red Hat Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Menlo, monospace;
  --measure: 68ch;
  --rule-w: 1.5px;
  --r-ctl: 6px;             /* controls: buttons, inputs, chips */
  --r-panel: 10px;          /* panels: boxes, TOC, quest band */
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1610;
    --bg-raised: #142019;
    --ink: #E4ECE5;
    --muted: #A6B5AA;
    --faint: #8B9A90;
    --rule: #E4ECE5;
    --rule-soft: #26352B;
    --accent: #5AD95F;
    --accent-ink: #6BE070;
    --gain: #6BE070;
    --loss: #FF8A7A;
    --hl-fill: rgba(90,217,95,.22);
    --day: #22322A;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1610;
  --bg-raised: #142019;
  --ink: #E4ECE5;
  --muted: #A6B5AA;
  --faint: #8B9A90;
  --rule: #E4ECE5;
  --rule-soft: #26352B;
  --accent: #5AD95F;
  --accent-ink: #6BE070;
  --gain: #6BE070;
  --loss: #FF8A7A;
  --hl-fill: rgba(90,217,95,.22);
  --day: #22322A;
}

/* ── 2. Self-hosted fonts (latin subset; variable weight axes) ─── */
@font-face { font-family:'Red Hat Display'; font-style:normal; font-weight:400 900; font-display:swap; src:url('/fonts/redhat-display-var.woff2') format('woff2'); }
@font-face { font-family:'Red Hat Text'; font-style:normal; font-weight:400 700; font-display:swap; src:url('/fonts/redhat-text-var.woff2') format('woff2'); }
@font-face { font-family:'Red Hat Text'; font-style:italic; font-weight:400 700; font-display:swap; src:url('/fonts/redhat-text-italic-var.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:400; font-display:swap; src:url('/fonts/jetbrains-mono-400.woff2') format('woff2'); }
@font-face { font-family:'JetBrains Mono'; font-style:normal; font-weight:700; font-display:swap; src:url('/fonts/jetbrains-mono-700.woff2') format('woff2'); }

/* ── 3. Reset & base ───────────────────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:72px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
img, svg, video { max-width:100%; height:auto; display:inline-block; }
a { color: inherit; text-decoration-color: var(--rule-soft); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent-ink); }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--green); color: var(--green-ink); }
.container { width: min(1180px, 100% - 3rem); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 2rem); } }
.skip-link { position:absolute; left:-9999px; top:0; background:var(--ink); color:var(--bg); padding:.5rem 1rem; z-index:3000; }
.skip-link:focus { left:0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 2px; }

/* ── 4. Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); }
h3 { font-size: 1.3125rem; font-weight: 700; letter-spacing: -0.01em; }
p { text-wrap: pretty; }
.eyebrow {                    /* small label above a heading — sentence case */
  display:inline-block; font-family: var(--font-ui); font-size: .875rem; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--accent-ink);
}
.mark { background: none; padding: 0; }   /* single-word highlight retired */
.mono, time { font-family: var(--font-ui); font-size: .875rem; font-variant-numeric: tabular-nums; }
code, kbd, samp, pre { font-family: var(--font-mono); }
.gain { color: var(--gain); }
.loss { color: var(--loss); }
.neutral { color: var(--muted); }

/* ── 5. Masthead ───────────────────────────────────────────────── */
.masthead {
  position: sticky; top: 0; z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--rule-soft);
}
.masthead .nav-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .7rem 0; min-height: 60px;
}
.masthead .logo { display:flex; align-items:center; gap:.6rem; text-decoration:none; }
.masthead .logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.1875rem; letter-spacing: -0.02em; }
.masthead .logo-img { width: 28px; height: 28px; }
.nav-links { display:flex; align-items:center; gap:1.35rem; list-style:none; }
@media (max-width: 1080px) { .nav-links { gap:1rem; } }
.nav-links a {
  font-family: var(--font-ui); font-size: .9375rem; font-weight: 500;
  letter-spacing: 0; text-transform: none; text-decoration: none; color: var(--muted);
  padding: .3rem 0; border-bottom: 3px solid transparent;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active, .nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--green); }
.lang-switch a { font-weight: 600; color: var(--ink); border: 1px solid var(--rule-soft); border-radius: var(--r-ctl); padding: .2rem .5rem; }
.lang-switch a:hover { border-color: var(--ink); }
.theme-toggle { border: 1px solid var(--rule-soft); width: 34px; height: 34px; display:grid; place-items:center; border-radius: var(--r-ctl); }
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle .icon-sun { display:none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display:block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display:none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display:block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display:none; }
}
/* nav groups (site_chrome.py, 2026-11-08 IA): Learn ▾ and Live ▾ */
.nav-group { position: relative; }
@media (min-width: 901px) { .nav-links > li > a, .nav-group-btn { display:inline-flex; align-items:center; line-height: 1.5; } }
.nav-group-btn { display:inline-flex; align-items:center; gap:.4rem; font-family: var(--font-ui); font-size: .9375rem; font-weight: 500;
  color: var(--muted); padding: .3rem 0; border-bottom: 3px solid transparent; }
.nav-group-btn::after { content:""; width:.4em; height:.4em; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor;
  transform: translateY(-.15em) rotate(45deg); }
.nav-group-btn:hover, .nav-group-btn[aria-expanded="true"] { color: var(--ink); }
.nav-group.has-active > .nav-group-btn { color: var(--ink); border-bottom-color: var(--green); }
.nav-sub { list-style:none; display:none; position:absolute; top: 100%; left: -1rem; z-index: 1100; min-width: 19rem;
  margin-top: .55rem; padding: .35rem; background: var(--bg-raised); border: 1px solid var(--rule-soft); border-radius: var(--r-panel);
  box-shadow: 0 12px 28px rgba(16,35,24,.10); }
.nav-sub::before { content:""; position:absolute; left:0; right:0; top:-.7rem; height:.7rem; }   /* hover bridge */
.nav-group:hover > .nav-sub, .nav-group:focus-within > .nav-sub, .nav-group-btn[aria-expanded="true"] + .nav-sub { display:block; }
.nav-group.is-dismissed > .nav-sub { display:none; }
.nav-links .nav-sub a { display:block; padding:.55rem .7rem; border:0; border-radius: var(--r-ctl); color: var(--ink); }
.nav-links .nav-sub a:hover { background: var(--bg); }
.nav-links .nav-sub a.active { background: var(--hl-fill); }
.nav-sub b { display:block; font-weight: 600; font-size: .9375rem; }
.nav-sub span { display:block; font-size: .8125rem; color: var(--muted); line-height: 1.35; margin-top: .1rem; }
.mobile-toggle { display:none; flex-direction:column; gap:5px; padding:8px; border:1px solid var(--rule-soft); border-radius: var(--r-ctl); }
.mobile-toggle span { width:20px; height:2px; background:var(--ink); display:block; }
@media (max-width: 900px) {
  .mobile-toggle { display:flex; }
  .nav-links {
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--bg); border-bottom:1px solid var(--rule-soft); padding:.4rem 1.25rem 1rem;
  }
  .nav-links.active { display:flex; }
  .nav-links li { width:100%; border-bottom:1px solid var(--rule-soft); }
  .nav-links li:last-child, .nav-links li.lang-switch { border-bottom:0; }
  .nav-links a { display:block; padding:.75rem 0; font-size:1.0625rem; color: var(--ink); border-bottom:0; }
  .nav-links a.active { box-shadow: inset 4px 0 0 var(--green); padding-left: .8rem; }
  .nav-links .lang-switch { padding-top:.8rem; }
  .nav-links .lang-switch a { display:inline-block; padding:.25rem .6rem; }
  .nav-links li:has(.theme-toggle) { position:absolute; right:1.25rem; bottom:1rem; width:auto; border:0; }
  .nav-links { max-height: calc(100vh - 61px); overflow-y: auto; }
  .nav-group-btn { display:block; width:100%; text-align:left; padding:.85rem 0 .2rem; font-size:.8125rem; font-weight:600; color: var(--faint); border:0; pointer-events:none; }
  .nav-group-btn::after { display:none; }
  .nav-group.has-active > .nav-group-btn { color: var(--faint); }
  .nav-sub { display:block; position:static; min-width:0; margin:0 0 .4rem; padding:0; background:none; border:0; box-shadow:none; }
  .nav-sub::before { display:none; }
  .nav-sub li { border-bottom: 0 !important; }
  .nav-links .nav-sub a { padding:.5rem 0 .5rem .9rem; border-left: 2px solid var(--rule-soft); border-radius: 0; }
  .nav-links .nav-sub a.active { background: none; border-left-color: var(--green); box-shadow:none; }
  .nav-sub span { display:none; }
  .nav-group.is-dismissed > .nav-sub { display:block; }
}

/* ── 6. Ticker strip — retired (live prices live in the market panel and on News) ── */
.ticker-bar { display:none; }
.tick-item { display:inline-flex; gap:.45rem; align-items:center; }
.tick-name { font-weight:700; }
.tick-price { color: var(--muted); }

/* ── 7. Frame box (market panel, bot newsroom) ─────────────────── */
.frame-box {
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-panel);
  background: var(--bg-raised);
  overflow: hidden;
}
.frame-box-head {
  display:flex; align-items:center; justify-content:space-between;
  padding:.75rem 1rem; border-bottom: 1px solid var(--rule-soft);
}
.frame-box-title { font-family:var(--font-display); font-size:1rem; font-weight:700; letter-spacing:0;
  text-transform:none; display:flex; align-items:center; gap:.55rem; }
.live-dot { width:8px; height:8px; background:var(--green); box-shadow: 0 0 0 1.5px var(--ink); flex:none; }
.frame-row {
  display:flex; justify-content:space-between; align-items:baseline; gap:1rem;
  padding:.6rem 1rem; border-bottom:1px solid var(--rule-soft);
  font-family: var(--font-ui); font-size:.9375rem; font-variant-numeric: tabular-nums;
}
.frame-row:last-of-type { border-bottom:none; }
.frame-row .mono { font-size: .875rem; }
.frame-label { font-family:var(--font-ui); font-size:.875rem; font-weight:500;
  letter-spacing:0; text-transform:none; color:var(--muted); }
.frame-value { font-family: var(--font-display); font-weight:700; font-size: 1.0625rem; }
.frame-foot { padding:.6rem 1rem; border-top:1px solid var(--rule-soft);
  font-family:var(--font-ui); font-size:.8125rem; color:var(--faint); }
.frame-box .gas-tier, .metric-card .gas-tier { display:flex; gap:.5rem; align-items:baseline; font-size:.8125rem; }
.frame-box .gas-tier-sub, .frame-box .gas-tier-usd,
.metric-card .gas-tier-sub, .metric-card .gas-tier-usd { display:none; }
.frame-box .movers-table { font-size:.875rem; }
.frame-box .movers-table thead { display:none; }
.frame-box .movers-table tbody tr:nth-child(n+4) { display:none; }   /* top-3 movers only */
.frame-box .movers-table td { padding:.35rem 1rem; border-bottom:1px solid var(--rule-soft); }
.movers-mini > .frame-label { display:block; padding:.6rem 1rem .2rem; }
.hero-market .frame-row { min-height:2.6rem; }
.hero-market .movers-mini { min-height:7rem; }
.hero-market .frame-foot { min-height:2rem; }
.hero-market-static { font-family:var(--font-ui); font-size:.8125rem; color:var(--muted);
  padding:.6rem 1rem; border-bottom:1px solid var(--rule-soft); margin:0; font-variant-numeric: tabular-nums; }
.hero-market-static:empty { display:none; }

/* ── 8. Buttons ────────────────────────────────────────────────── */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:.45rem;
  font-family:var(--font-ui); font-size:.9375rem; font-weight:600; line-height:1.2;
  letter-spacing:0; text-transform:none; text-decoration:none;
  padding:.72rem 1.15rem; border:var(--rule-w) solid var(--ink); border-radius: var(--r-ctl);
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}
.btn-ink, .btn-primary { background:var(--green); color:var(--green-ink); border-color:#102318; }
.btn-ink:hover, .btn-primary:hover { background:#102318; color:var(--green); }
.btn-outline { background:transparent; color:var(--ink); border-color: var(--rule-soft); }
.btn-outline:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* ── 9. Cards & entries ────────────────────────────────────────── */
.research-card {                          /* generic: read-next, products band, blog fallback */
  display:flex; flex-direction:column; text-decoration:none;
  border-top: 2px solid var(--ink); padding: 1rem 0 0;
}
.research-card h3 { font-size:1.25rem; margin:.4rem 0 .5rem; line-height:1.2; }
.research-card:hover h3, .research-card:focus-visible h3 { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.card-category { font-family:var(--font-ui); font-size:.875rem; font-weight:600;
  letter-spacing:0; text-transform:none; color:var(--accent-ink); }
.card-excerpt { color:var(--muted); font-size:1rem; line-height:1.55; }
.research-card .card-excerpt { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.card-date { display:block; margin-top:.7rem; font-family:var(--font-ui); font-size:.875rem; color:var(--faint); font-variant-numeric: tabular-nums; }

.blog-entry {                              /* blog + briefs listings */
  display:block; text-decoration:none;
  padding:1.4rem 0; border-bottom:1px solid var(--rule-soft);
}
.blog-entry:first-of-type { border-top: 2px solid var(--ink); }
.blog-entry h3 { font-size:1.4375rem; margin:.3rem 0 .4rem; max-width: 40ch; }
.blog-entry p { color: var(--muted); max-width: 70ch; }
.blog-entry:hover h3 { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ── 10. Tables ────────────────────────────────────────────────── */
.movers-table { font-family: var(--font-ui); font-size:.875rem; font-variant-numeric: tabular-nums; }
.movers-table th {
  font-family:var(--font-ui); font-size:.8125rem; font-weight:600; letter-spacing:0;
  text-transform:none; text-align:left; color:var(--muted);
  padding:.5rem .6rem; border-bottom: var(--rule-w) solid var(--rule);
}
.movers-table td { padding:.5rem .6rem; border-bottom:1px solid var(--rule-soft); }
.coin-name { font-weight:700; margin-right:.4rem; }
.coin-sym { color:var(--faint); text-transform:uppercase; font-size:.75rem; }
.pct { font-weight:700; }

/* ── 11. Follow band ───────────────────────────────────────────── */
.cta-band { background: var(--bg-raised); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.cta-band .container { padding: 3rem 0; display:grid; grid-template-columns: 1fr auto; gap: 1rem 3rem; align-items: center; }
.cta-band .eyebrow { grid-column: 1; }
.cta-band h2 { grid-column: 1; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.cta-band p { grid-column: 1; color: var(--muted); max-width: 52ch; }
.cta-band .hero-actions { grid-column: 2; grid-row: 1 / span 3; justify-content:flex-end !important; }
@media (max-width: 760px) {
  .cta-band .container { grid-template-columns: 1fr; }
  .cta-band .hero-actions { grid-column: 1; grid-row: auto; justify-content:flex-start !important; }
}

/* ── 12. Footer ────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--rule-soft); margin-top: 4rem; font-family: var(--font-ui); }
.cta-band + .footer { margin-top: 0; }
.footer-top { display:grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap:2.5rem 2rem; padding:3rem 0 2.5rem; }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(4, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-mail { font-size: .9375rem; color: var(--ink); }
.footer-brand p { color: var(--muted); font-size:.9375rem; max-width: 34ch; margin:.9rem 0 .5rem; }
.footer-brand .mono { font-size: .9375rem; }
.footer-col h4 { font-family:var(--font-ui); font-size:.875rem; font-weight:700;
  letter-spacing:0; text-transform:none; margin-bottom:.7rem; color:var(--ink); }
.footer-col a { display:block; padding:.28rem 0; font-size:.9375rem; text-decoration:none; color:var(--muted); }
.footer-col a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); }
.footer-logo-img { height:30px; width:auto; }
.footer-social { display:flex; align-items:center; gap:.9rem; margin-top:.8rem; }
.footer-bottom { display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  border-top:1px solid var(--rule-soft); padding:1.1rem 0 2rem;
  font-size:.875rem; color:var(--faint); }
.footer-legal-links { display:flex; gap:1.25rem; }
.footer-legal-links a { text-decoration: none; }

/* ── 13. Live value tick (live-data.js adds .value-tick) ───────── */
@keyframes value-tick { from { background-color: var(--hl-fill); } to { background-color: transparent; } }
.value-tick { animation: value-tick .6s ease-out; }

/* ── 14. Scroll reveal — retired (content is visible immediately) ── */
.reveal, .reveal-visible { opacity: 1; transform: none; }

/* ── 15. Homepage hero ─────────────────────────────────────────── */
.front-hero { padding: clamp(2.5rem, 6vw, 4.75rem) 0 0; }
.front-hero > .container { display:block; }
.hero-headline {
  font-family: var(--font-display); font-style: normal; font-weight: 900;
  font-size: clamp(2.5rem, 1.1rem + 5.2vw, 5rem); line-height: .98; letter-spacing: -0.045em;
  max-width: 15ch; margin: 0;
}
.hero-sub { display:grid; grid-template-columns: minmax(0, 34rem) auto; gap: 1.25rem 3rem; align-items: end; justify-content: space-between; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.hero-deck { color:var(--muted); font-size:1.1875rem; line-height:1.55; max-width:52ch; margin:1rem 0 1.6rem; }
.hero-sub .hero-deck { margin: 0; }
.hero-actions { display:flex; gap:.7rem; flex-wrap:wrap; align-items:center; }
.hero-sub .hero-actions { justify-content: flex-end; }
.hero-textlink { flex-basis: 100%; text-align: right; font-family:var(--font-ui); font-size:.9375rem; font-weight:600; padding:.2rem 0;
  text-decoration-color:var(--green); text-decoration-thickness: 2px; }
@media (max-width: 860px) {
  .hero-sub { grid-template-columns: 1fr; }
  .hero-sub .hero-actions { justify-content: flex-start; }
  .hero-textlink { text-align: left; }
}
@media (max-width: 520px) {
  .hero-actions .btn { flex:1 1 100%; }
}
/* legacy hero bits other pages may still carry */
.latest-report { font-family:var(--font-ui); font-size:.9375rem; color:var(--muted); margin:1rem 0 0; }
.latest-report a { color:var(--ink); }
.latest-report:empty { display:none; }

/* ── 15b. Chain rail: reports pinned to Bitcoin block heights (render_home_cards.py) ── */
.rail { margin: clamp(2.5rem, 5vw, 3.75rem) 0 0; padding: 1.6rem 0 clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--rule-soft); }
.rail-head { display:flex; justify-content:space-between; align-items:baseline; gap:.5rem 2rem; flex-wrap:wrap; margin-bottom: 1.1rem; }
.rail-head h2 { font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.01em; }
.rail-note { color: var(--muted); font-size: .9375rem; max-width: 60ch; }
.rail-body { position: relative; display:grid; grid-template-rows: var(--lane) 18px var(--lane); --lane: 5.1rem; }
.rail-track { grid-row: 2; display:grid; grid-template-columns: repeat(var(--days, 100), minmax(0, 1fr)); gap: 3px; height: 18px; }
.rail-day { background: var(--day); }
.rail-day.is-pin { background: var(--ink); }
.rail-day.is-now { background: var(--green); box-shadow: inset 0 0 0 1.5px var(--ink); }
.rail-pins { list-style:none; position:absolute; inset: 0; margin:0; pointer-events: none; }
/* row 0 hangs ABOVE the track, row 1 BELOW it: stems of one lane never cross labels of the other */
.rail-pin { position:absolute; left: var(--x); top: 0; height: var(--lane); width: 0; }
.rail-pin[data-row="1"] { top: calc(var(--lane) + 18px); }
.rail-pin > a, .rail-pin > div {
  position:absolute; left: -1px; top: 0; bottom: 0; display:flex; flex-direction: column; justify-content: flex-start;
  width: max-content; max-width: 14rem; padding: 0 0 0 .7rem; border-left: 2px solid var(--ink);
  text-decoration: none; line-height: 1.28; pointer-events: auto;
}
.rail-pin[data-row="0"] > a, .rail-pin[data-row="0"] > div { justify-content: flex-end; padding-bottom: .55rem; }
.rail-pin[data-row="1"] > a, .rail-pin[data-row="1"] > div { padding-top: .55rem; }
.rail-pin[data-align="end"] > a, .rail-pin[data-align="end"] > div { left: auto; right: -1px; border-left: 0; border-right: 2px solid var(--ink); padding-left: 0; padding-right: .7rem; text-align: right; align-items: flex-end; }
.rail-block { display:block; font-family: var(--font-display); font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.rail-block time { font-family: var(--font-ui); font-weight: 500; font-size: .8125rem; color: var(--faint); margin-left: .5rem; }
.rail-what { display:block; font-family: var(--font-display); font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--ink); }
.rail-fig { display:block; font-size: .9375rem; font-weight: 600; color: var(--loss); font-variant-numeric: tabular-nums; }
.rail-fig[data-kind="info"] { color: var(--muted); font-weight: 500; }
.rail-ago { display:block; font-size: .875rem; color: var(--muted); }
.rail-pin > a:hover .rail-what { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.rail-now .rail-what { color: var(--accent-ink); }
.rail-now > div { border-color: var(--accent-ink) !important; }
@media (max-width: 760px) {        /* phones: the track stays as a bar, pins become a list (newest first) */
  .rail-body { display:block; }
  .rail-track { gap: 1px; height: 14px; }
  .rail-pins { position: static; display:flex; flex-direction: column-reverse; margin-top: .9rem; pointer-events: auto; }
  .rail-pin, .rail-pin[data-row="1"] { position: static; width: auto; height: auto; }
  .rail-pin > a, .rail-pin > div, .rail-pin[data-align="end"] > a, .rail-pin[data-align="end"] > div,
  .rail-pin[data-row="0"] > a, .rail-pin[data-row="0"] > div {
    position: static; max-width: none; width: auto; text-align: left; align-items: stretch;
    display:grid; grid-template-columns: 8.4rem 1fr; gap: 0 .9rem; align-items: baseline;
    border: 0; border-top: 1px solid var(--rule-soft); padding: .65rem 0;
  }
  .rail-pin .rail-block { grid-row: 1 / span 2; white-space: normal; }
  .rail-block time { display:block; margin-left: 0; }
  .rail-now > div { border-color: var(--rule-soft) !important; }
}
/* the one orchestrated moment: squares fill left to right, pins drop in, the tip lights last */
@media (prefers-reduced-motion: no-preference) {
  .rail-day { animation: rail-fill .32s ease-out both; animation-delay: calc(var(--i, 0) * 7ms); }
  .rail-day.is-now { animation: rail-tip 1s ease-out both; animation-delay: calc(var(--i, 0) * 7ms + .1s); }
  .rail-pin > * { animation: rail-pin .45s ease-out both; animation-delay: calc(var(--i, 0) * 7ms + .15s); }
  .rail-day.is-now.is-new { animation: rail-tip 1s ease-out; }
}
@keyframes rail-fill { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
@keyframes rail-pin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes rail-tip { 0% { opacity: 0; } 40% { opacity: 1; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 6px var(--hl-fill); } 100% { box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 0 transparent; } }
@media (max-width: 760px) { .rail-pin > * { animation: none !important; } }

/* ── 16. Section scaffolding ───────────────────────────────────── */
.section { padding:clamp(2.75rem, 6vw, 4.25rem) 0; }
.section-rule { border-top:1px solid var(--rule-soft); }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:1rem 2rem; margin-bottom:1.75rem; flex-wrap: wrap; }
.section-head h2 { margin-top: .15rem; }
.section-head .btn { flex: none; }
.section-head > .eyebrow { flex-basis: 100%; margin-bottom: -.6rem; }
.latest-research-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:2rem 1.75rem; }
@media (max-width: 760px) { .latest-research-grid { grid-template-columns:1fr; gap: 1.6rem; } }

/* homepage "Latest reports": lead story across the top, the next three in a row */
.home-latest .latest-research-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2rem; }
.home-latest .research-card:first-child {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: 3rem; align-items: end;
  border-top: 0; padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--bg-raised);
  border: 1px solid var(--rule-soft); border-radius: var(--r-panel);
}
.home-latest .research-card:first-child > .card-category { grid-column: 1; grid-row: 1; }
.home-latest .research-card:first-child > h3 { grid-column: 1; grid-row: 2 / span 2; align-self: start;
  font-size: clamp(1.75rem, 1.1rem + 2.1vw, 2.75rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.03; margin: .5rem 0 0; }
.home-latest .research-card:first-child > .card-excerpt { grid-column: 2; grid-row: 2; font-size: 1.0625rem; -webkit-line-clamp: 6; color: var(--ink); align-self: end; }
.home-latest .research-card:first-child > .card-date { grid-column: 2; grid-row: 3; }
.home-latest .research-card:first-child:hover h3 { text-decoration-thickness: 4px; }
.home-latest .research-card:not(:first-child) h3 { font-size: 1.1875rem; }
.home-latest .research-card:not(:first-child) .card-excerpt { -webkit-line-clamp: 3; font-size: .9375rem; }
@media (max-width: 860px) {
  .home-latest .latest-research-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .home-latest .research-card:first-child { display: flex; align-items: stretch; padding: 1.4rem; }
  .home-latest .research-card:first-child > h3 { margin: .4rem 0 .7rem; }
}
.home .learn-quest { display: none; }        /* the quest band follows right after */

/* ── 17. "Right now" band: newsroom + market + glossary ────────── */
.split-band { display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; }
@media (max-width: 860px) { .split-band { grid-template-columns:1fr; } }
.now-grid { display:grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr); gap: 1.5rem; align-items: start; }
@media (max-width: 1000px) { .now-grid { grid-template-columns: 1fr 1fr; } .now-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 680px) { .now-grid { grid-template-columns: 1fr; } }
.term-chip, .related-chip { display:inline-block; border:1px solid var(--rule-soft); border-radius: var(--r-ctl); padding:.3rem .65rem;
  margin:.3rem .3rem 0 0; font-family:var(--font-ui); font-size:.875rem; text-decoration:none; background: var(--bg-raised); }
.term-chip:hover, .related-chip:hover { border-color:var(--ink); }
.news-teaser-body { padding:1rem; }
.news-teaser-link { display:block; text-decoration:none; }
.news-teaser-link h3 { font-size:1.375rem; margin:.3rem 0 .6rem; line-height: 1.2; }
.news-teaser-link:hover h3 { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; }
.news-teaser-link .mono { color: var(--muted); }
.gloss-teaser h2, .radar-teaser h2 { font-size: 1.375rem; margin-bottom: .5rem; }
.gloss-teaser p, .radar-teaser p { color: var(--muted); }
.gloss-teaser > a:last-child, .radar-teaser > a:last-child { display:inline-block; margin-top: .9rem; font-weight: 600; text-decoration-color: var(--green); }
.now-col { padding-top: .2rem; display: grid; gap: 2rem; }
.radar-teaser { padding-bottom: 1.6rem; border-bottom: 1px solid var(--rule-soft); }

/* ── 17b. Homepage groups (2026-11-08 IA: Research → Learn → Live → Products → About) ── */
.section-deck { color: var(--muted); max-width: 62ch; margin-top: .5rem; }
.home-group--learn { background: var(--bg-raised); border-top: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.home-group--learn > .section { border-top: 0; }
.home-group--learn > .section + .section { padding-top: 0; }
.home-group--learn + .section { border-top: 0; }
.home-group--learn .quest-band { margin-top: .5rem; }
.glossary-strip .gloss-row { display:grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: center;
  border-top: 1px solid var(--rule-soft); padding-top: 2rem; }
.glossary-strip h2 { font-size: 1.375rem; }
.glossary-strip .gloss-row p { color: var(--muted); font-size: .9375rem; margin-top: .3rem; }
.glossary-strip .gloss-chips { margin: 0; }
.glossary-strip .term-chip { background: var(--bg); }
@media (max-width: 900px) { .glossary-strip .gloss-row { grid-template-columns: 1fr; } .glossary-strip .btn { justify-self: start; } }
.radar-top h3 { font-size: 1.25rem; }
.radar-top > p { color: var(--muted); font-size: .9375rem; margin: .3rem 0 .8rem; }
.radar-top-list { list-style: none; counter-reset: rt; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.radar-top-list li { counter-increment: rt; display: grid; grid-template-columns: 1.6rem 1fr; column-gap: .4rem; padding: .7rem 0; border-bottom: 1px solid var(--rule-soft); }
.radar-top-list li::before { content: counter(rt); grid-row: 1 / span 2; font-family: var(--font-display); font-weight: 900; font-size: 1.125rem; color: var(--faint); line-height: 1.3; }
.radar-top-list a { font-weight: 600; line-height: 1.35; text-decoration: none; }
.radar-top-list a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.radar-top-list span { font-size: .8125rem; color: var(--faint); }
.now-brief { font-size: .9375rem; color: var(--muted); margin-top: .8rem; }
.now-more { display: inline-block; margin-top: .9rem; font-weight: 600; text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.frame-box-head > a { font-size: .875rem; color: var(--muted); }
.home #faq .faq-title { margin-bottom: 1.2rem; }

/* ── 18. Articles ──────────────────────────────────────────────── */
.blog-article-full { max-width:var(--measure); margin:2.5rem auto; }
.article-header .card-category { display:inline-block; margin-bottom: .2rem; }
.article-header h1 { font-size:clamp(2rem, 1.3rem + 2.8vw, 3.1rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.04; margin:.5rem 0 .7rem; }
.article-meta { font-family:var(--font-ui); font-size:.875rem; color:var(--muted); line-height:1.6;
  border-top:0; border-bottom:1px solid var(--rule-soft); padding:.2rem 0 .9rem; margin:.6rem 0 1.4rem; font-variant-numeric: tabular-nums; }
.article-meta a { color:var(--ink); text-decoration-color:var(--green); }
.article-body { font-size: 1.125rem; line-height: 1.7; overflow-wrap: break-word; }
.article-body :not(pre) > code, .article-body li, .article-body p { overflow-wrap: anywhere; }
@media (max-width: 640px) { .article-body { font-size: 1.0625rem; } }
.article-body p { margin:1.05rem 0; }
.article-body a { text-decoration-color: var(--accent-ink); text-decoration-thickness: 1px; }
.article-body a:hover { text-decoration-color: var(--green); text-decoration-thickness: 3px; }
.article-body h2 { margin-top:2.6rem; font-size:1.625rem; }
.article-body h3 { margin-top:1.8rem; font-size:1.25rem; }
.article-body strong { font-weight: 700; }
.article-body blockquote { border-left: 3px solid var(--green); padding: .2rem 0 .2rem 1.1rem; margin: 1.4rem 0; color: var(--muted); }
.blog-back-link { display:inline-block; font-family:var(--font-ui); font-size:.9375rem; text-transform:none; letter-spacing:0; color: var(--muted); text-decoration: none; margin-bottom: .6rem; }
.blog-back-link:hover { color: var(--ink); }
.breadcrumb a { color: var(--muted); }
.reading .article-body img { border-radius: var(--r-ctl); }

/* research report */
.research-article .article-body h2 { margin-top:2.8rem; padding-top:1rem; border-top:1px solid var(--rule-soft); font-size:1.5625rem; }
.research-article .article-body h3 { margin-top:1.8rem; font-size:1.1875rem; }
.research-article .article-body ol, .research-article .article-body ul { padding-left:1.3rem; }
.research-article .article-body li { margin:.5rem 0; }
.research-article .article-body code { font-size:.84em; background:var(--hl-fill); padding:.05em .35em; border-radius:3px; }
.research-article .article-body sup { font-size:.7em; }
.key-findings ol { padding-left: 1.6rem; }
.key-findings li::marker { font-family: var(--font-display); font-weight: 800; color: var(--accent-ink); }
.key-findings li { padding-left: .3rem; }

.level-badge { display:inline-flex; align-items:center; gap:.4rem; font-family:var(--font-ui); font-size:.8125rem; font-weight:600;
  letter-spacing:0; text-transform:none; padding:0; border:0; border-radius:0;
  color:var(--muted); margin-left:.7rem; vertical-align:middle; }
.level-badge::before {        /* filled blocks = depth: 1 beginner, 2 intermediate, 3 developer */
  content:""; width:7px; height:7px; background: var(--day); margin-right: 14px;
  box-shadow: 9px 0 0 var(--day), 18px 0 0 var(--day);
}
.level-badge[data-level="beginner"]::before { background: var(--accent-ink); }
.level-badge[data-level="intermediate"]::before { background: var(--accent-ink); box-shadow: 9px 0 0 var(--accent-ink), 18px 0 0 var(--day); }
.level-badge[data-level="developer"]::before { background: var(--accent-ink); box-shadow: 9px 0 0 var(--accent-ink), 18px 0 0 var(--accent-ink); }

.article-body .callout { border:1px solid var(--rule-soft); border-radius: var(--r-panel); background:var(--bg-raised); padding:1.1rem 1.3rem; margin:1.8rem 0; }
.article-body .callout > strong:first-child { display:block; font-family:var(--font-display); font-size:1rem; font-weight:800; letter-spacing:0; text-transform:none; color:var(--ink); margin-bottom:.35rem; }
.article-body .callout ul, .article-body .callout ol { margin:.4rem 0 0; padding-left:1.2rem; }
.article-body .callout li { margin:.3rem 0; }
.article-body table { font-size:.9375rem; margin:1.4rem 0; font-variant-numeric: tabular-nums; }
.article-body th, .article-body td { text-align:left; padding:.55rem .65rem; border-bottom:1px solid var(--rule-soft); vertical-align:top; }
.article-body th { font-family:var(--font-ui); font-size:.875rem; font-weight:700; letter-spacing:0; text-transform:none; color:var(--ink); border-bottom:var(--rule-w) solid var(--rule); }
.article-body pre { background:var(--bg-raised); border:1px solid var(--rule-soft); border-radius: var(--r-ctl); padding:.9rem 1rem; overflow:auto; font-size:.84rem; line-height:1.55; }
.article-body code { font-size:.86em; }
.article-body ul, .article-body ol { padding-left:1.3rem; }
.article-body li { margin:.45rem 0; }
.article-body .next-steps { margin-top:2.2rem; padding-top:1rem; border-top:1px solid var(--rule-soft); }

.tldr { background: var(--bg-raised); border: 1px solid var(--rule-soft); border-left: 5px solid var(--green);
  border-radius: 0 var(--r-panel) var(--r-panel) 0; padding:1.1rem 1.3rem; margin:1.4rem 0; font-size:1.0625rem; line-height:1.6; }
.tldr > strong:first-child { display:block; font-family:var(--font-display); font-size:1rem; font-weight:800;
  letter-spacing:0; text-transform:none; color:var(--ink); margin-bottom:.3rem; }
.status-note { font-family:var(--font-ui); font-size:.9375rem; color:var(--muted); border:1px dashed var(--rule-soft); border-radius: var(--r-ctl);
  padding:.65rem .95rem; margin:1rem 0 1.4rem; }
details.toc { border:1px solid var(--rule-soft); border-radius: var(--r-panel); background:var(--bg-raised); padding:.8rem 1.1rem; margin:1.6rem 0; }
details.toc summary { cursor:pointer; list-style:none; font-family:var(--font-display); font-size:1rem; font-weight:800;
  letter-spacing:0; text-transform:none; color:var(--ink); }
details.toc summary::-webkit-details-marker { display:none; }
details.toc summary::before { content:""; display:inline-block; width:8px; height:8px; background: var(--green); box-shadow: 0 0 0 1.5px var(--ink); margin-right:.6rem; vertical-align: .1em; }
details.toc ol { margin:.7rem 0 .2rem; padding-left:1.5rem; font-size:.9688rem; line-height:1.5; }
details.toc li { margin:.32rem 0; }
details.toc a { color:var(--ink); text-decoration:none; }
details.toc a:hover { text-decoration:underline; text-decoration-color:var(--green); }
.read-next { margin-top:3rem; padding-top:1.4rem; border-top:2px solid var(--ink); }
.read-next h2 { font-size:1.375rem; margin:0 0 1.2rem; }
.read-next .research-card { border-top-width: 1px; border-top-color: var(--rule-soft); }
.read-next .research-card h3 { font-size:1.125rem; }
.read-next .card-excerpt { -webkit-line-clamp:3; font-size: .9375rem; }
.research-article .read-next h2 { border-top:0; margin-top:0; padding-top:0; }
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; margin:1.4rem 0; }
.table-wrap > table { margin:0; }
.ai-label { display:flex; flex-wrap:wrap; align-items:center; gap:.55rem; font-family:var(--font-ui); font-size:.875rem;
  color:var(--muted); margin:.6rem 0 1rem; }
.ai-label::before { content:"AI"; font-family:var(--font-ui); font-size:.75rem; font-weight:700; letter-spacing:.02em;
  border:1px solid var(--rule-soft); border-radius:var(--r-ctl); padding:.05rem .45rem; color:var(--muted); }
.ai-label a { color:var(--ink); }
.article-body::after { content: none; }
.share-bar a, .share-bar button { font-family: var(--font-ui) !important; border-radius: var(--r-ctl) !important; }
.share-bar a:hover, .share-bar button:hover { border-color: var(--ink) !important; }
.method-box { border-radius: 0 var(--r-panel) var(--r-panel) 0 !important; border-left-color: var(--green) !important; }
.brief-nav a { text-decoration: none; }
.brief-nav a:hover { text-decoration: underline; text-decoration-color: var(--green); }
.brief-nav-label { font-size: .875rem; color: var(--muted); }
.revisions { font-variant-numeric: tabular-nums; }
.article-disclaimer { font-family: var(--font-ui); }

/* ── 19. Listings + glossary ───────────────────────────────────── */
.blog-hero, .glossary-hero { padding-bottom:1.4rem; }
.blog-hero h1, .glossary-hero h1, .page-hero h1 { font-style:normal; font-weight:900; font-size:clamp(2.3rem, 1.4rem + 3.6vw, 3.75rem); letter-spacing:-0.04em; line-height: 1; max-width: 18ch; margin-top: .3rem; }
.blog-hero .hero-deck, .glossary-hero .hero-deck { margin-top: 1rem; }
.blog-filters-section { padding: .4rem 0 1.2rem; }
.blog-filters-section .filter-group { display:inline-flex; flex-wrap:wrap; gap:.4rem; margin:0 1.4rem .5rem 0; }
.blog-filters-section .filter-label { font-family:var(--font-ui); font-size:.875rem; font-weight:600; color:var(--muted); margin-right:.3rem; align-self:center; }
.alpha-btn, .filter-btn { font-family:var(--font-ui); font-size:.875rem; font-weight:500; padding:.3rem .65rem;
  border:1px solid var(--rule-soft); border-radius: var(--r-ctl); background: var(--bg-raised); }
.alpha-btn { min-width: 2rem; padding: .25rem .4rem; }
.alpha-btn:hover, .filter-btn:hover { border-color: var(--ink); }
.alpha-btn.active, .filter-btn.active { border-color:var(--ink); background:var(--green); color: var(--green-ink); }
.alpha-btn--disabled { color:var(--rule-soft); cursor:default; background: transparent; }
.alpha-btn--disabled:hover { border-color: var(--rule-soft); }
.glossary-grid { columns:2; column-gap:3rem; }
@media (max-width: 860px) { .glossary-grid { columns:1; } }
.glossary-card { break-inside:avoid; border-top:1px solid var(--rule-soft); padding:1.1rem 0 1.3rem; }
.glossary-card:target { background: var(--hl-fill); box-shadow: 0 0 0 .75rem var(--hl-fill); }
.glossary-card-header { display:flex; align-items:baseline; justify-content:space-between; gap: 1rem; }
.glossary-term { font-size:1.3125rem; }
.glossary-cat-badge { font-family:var(--font-ui); font-size:.8125rem; font-weight:600; letter-spacing:0; text-transform:none; color:var(--accent-ink); }
.glossary-def { color:var(--muted); font-size:1rem; margin-top: .3rem; }
.related-label { font-size: .875rem; font-weight: 600; color: var(--faint); margin-right: .2rem; }
.glossary-related { margin-top: .5rem; }
.glossary-controls { position:sticky; top:60px; z-index:900; background:var(--bg);
  border-bottom:1px solid var(--rule-soft); padding:.8rem 0; }
.glossary-controls > * + * { margin-top: .5rem; }
#glossary-search { font:inherit; border:1px solid var(--rule-soft); border-radius: var(--r-ctl);
  background:var(--bg-raised); padding:.55rem .8rem; width:min(360px,100%); }
#glossary-search:focus { border-color: var(--ink); }

/* ── 20. Legal + 404 + misc ────────────────────────────────────── */
.legal-page, .error-page { max-width:var(--measure); margin:2.5rem auto; padding:0 1.5rem; }
.legal-content h2 { margin: 2rem 0 .6rem; font-size: 1.375rem; }
.legal-content p, .legal-content li { margin: .6rem 0; }
.legal-date { font-family:var(--font-ui); font-size:.875rem; color:var(--faint); }
.error-code { font-family:var(--font-display); font-weight: 900; font-size:clamp(4.5rem,16vw,9rem); line-height: .9; letter-spacing: -0.05em; color:var(--ink); }
.error-code::after { content:""; display:inline-block; width:.16em; height:.16em; background: var(--green); box-shadow: 0 0 0 2px var(--ink); margin-left:.06em; }
.error-lead { color: var(--muted); font-size: 1.125rem; margin: .8rem 0 1.5rem; }
.error-actions { display:flex; flex-wrap:wrap; gap:.6rem; margin-bottom: 2.4rem; }
.error-suggest ul { padding-left: 1.2rem; color: var(--muted); }
.error-suggest h3 { margin-bottom: .5rem; }
.back-to-top { position:fixed; right:1.2rem; bottom:1.2rem; width:44px; height:44px; border-radius: var(--r-ctl);
  border:1px solid var(--rule-soft); background:var(--bg-raised); display:grid; place-items:center;
  opacity:0; pointer-events:none; transition:opacity .2s; z-index: 900; }
.back-to-top:hover { border-color: var(--ink); }
.back-to-top.visible { opacity:1; pointer-events:auto; }
.reading-progress { position:fixed; top:0; left:0; right:0; height:3px; z-index:2500; }
.reading-progress-fill { height:100%; width:0; background:var(--green); }
.faq-list { max-width: 72ch; }
.faq-list .faq-item { border-top:1px solid var(--rule-soft); padding:.9rem 0; }
.faq-list .faq-item:last-child { border-bottom:1px solid var(--rule-soft); }
.faq-item summary { font-family:var(--font-display); font-weight:700; font-size:1.125rem; cursor:pointer; list-style: none; display:flex; justify-content:space-between; gap:1rem; }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; font-weight: 500; color: var(--muted); }
.faq-item[open] summary::after { content:"−"; }
.faq-item summary:hover { color:var(--accent-ink); }
.faq-item p { margin:.5rem 0 .2rem; color:var(--muted); max-width:68ch; }
.eeat-note { margin-top:1.6rem; font-size:.9375rem; color:var(--muted); max-width:68ch; }

/* ── 21. News page components (crypto_bot.py template contract) ── */
.news-page .news-hero { padding: 2.6rem 0 2.2rem; }
.news-hero-inner { display:grid; grid-template-columns: 1.3fr .8fr; gap:2.5rem; align-items:start; }
@media (max-width: 900px) { .news-hero-inner { grid-template-columns: 1fr; } }
.news-hero h1 { font-style: normal; font-weight:900; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 3.5rem); letter-spacing: -0.04em; line-height: 1; }
.bot-online { display:inline-flex; align-items:center; gap:.5rem; font-family:var(--font-ui);
  font-size:.875rem; font-weight:700; color:var(--gain); }
.bot-dot { width:8px; height:8px; background:var(--green); box-shadow: 0 0 0 1.5px var(--ink); }
.bot-meta, .bot-next-line { display:block; font-family:var(--font-ui); font-size:.875rem; color:var(--muted); margin-top:.4rem; }
.rule-divider, .section-divider { display:flex; align-items:center; gap:1rem; margin:3rem 0 1.5rem; }
.rule-divider::after, .section-divider::after { content:""; flex:1; border-top: 1px solid var(--rule-soft); }
.rule-divider-label, .section-divider-label { font-family:var(--font-display); font-size:1.25rem; font-weight:800;
  letter-spacing:-0.01em; text-transform:none; color:var(--ink); }
.snapshot-bar, .bot-status-bar { display:grid; grid-template-columns:repeat(6,1fr); border:1px solid var(--rule-soft); border-radius: var(--r-panel);
  background:var(--bg-raised); overflow: hidden; }
@media (max-width: 900px) { .snapshot-bar, .bot-status-bar { grid-template-columns:repeat(3,1fr); } }
@media (max-width: 560px) { .snapshot-bar { grid-template-columns:repeat(2,1fr); } }
.snap-cell, .bot-stat { padding:.85rem 1rem; border-right:1px solid var(--rule-soft); }
.snap-label, .bot-stat-label, .metric-label { font-family:var(--font-ui); font-size:.8125rem; font-weight:500; letter-spacing:0;
  text-transform:none; color:var(--muted); }
.snap-value { font-family:var(--font-display); font-weight:800; font-size:1.1875rem; margin-top:.1rem; font-variant-numeric: tabular-nums; }
.snap-change, .metric-change { font-family:var(--font-ui); font-size:.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.movers-section { display:grid; grid-template-columns:1fr 1fr; gap:1.5rem; margin-top:1.5rem; }
@media (max-width: 760px) { .movers-section { grid-template-columns:1fr; } }
.movers-panel { border:1px solid var(--rule-soft); border-radius: var(--r-panel); background:var(--bg-raised); overflow:hidden; }
.movers-header { padding:.7rem 1rem; border-bottom:1px solid var(--rule-soft); }
.movers-header-label { font-family:var(--font-display); font-size:1rem; font-weight:800; letter-spacing:0; }
.gain-label { color:var(--gain); } .loss-label { color:var(--loss); }
.metrics-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:1.2rem; }
@media (max-width: 1000px) { .metrics-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 560px) { .metrics-grid { grid-template-columns:1fr; } }
.metric-card, .fg-card { border:1px solid var(--rule-soft); border-radius: var(--r-panel); background:var(--bg-raised); padding:1rem 1.1rem; }
.metric-value { font-family:var(--font-display); font-weight:800; font-size:1.5rem; margin:.25rem 0 .1rem; font-variant-numeric: tabular-nums; }
.metric-sub { font-family:var(--font-ui); font-size:.8125rem; color:var(--faint); margin-top:.35rem; }
.fg-visual { margin:.8rem 0; }
.fg-bar { height:10px; background:linear-gradient(90deg,var(--loss),#E8B931,var(--green)); position:relative; border-radius: 2px; }
.fg-pointer { position:absolute; top:-4px; width:4px; height:18px; background:var(--ink); }
.fg-bar-labels { display:flex; justify-content:space-between; font-family:var(--font-ui);
  font-size:.75rem; color:var(--faint); margin-top:.3rem; }
.fg-info { color:var(--muted); font-size:.9375rem; }
.fg-badge { font-family:var(--font-ui); font-size:.8125rem; font-weight:600; border:1px solid var(--rule-soft); border-radius: var(--r-ctl); padding:.15rem .5rem; }
.crypto-article { max-width: var(--measure); margin: 0 auto; }
.crypto-article .article-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 900; letter-spacing: -0.03em; margin:.5rem 0 1rem; }
.crypto-article .article-eyebrow { display:flex; gap:1rem; align-items:baseline; }
.crypto-article .article-cat { font-family:var(--font-ui); font-size:.875rem; font-weight:600; letter-spacing:0; text-transform:none; color:var(--accent-ink); }
.crypto-article .article-timestamp { color:var(--faint); }
.crypto-article .disclaimer { border:1px solid var(--rule-soft); border-radius: var(--r-panel); background:var(--bg-raised);
  padding:.9rem 1rem; font-size:.9375rem; color:var(--muted); margin-top:1.6rem; }
.article-archive .archive-list { list-style:none; }
.article-archive .archive-list li { border-top:1px solid var(--rule-soft); padding:.6rem 0; }
.archive-date { font-family:var(--font-ui); font-size:.875rem; color:var(--faint); margin-right:1rem; font-variant-numeric: tabular-nums; }
.bot-stat-value { font-family:var(--font-display); font-weight:800; font-size:1rem; margin-top:.2rem; }
.bot-stat-value.online { color: var(--gain); }
.explainer-grid { max-width: 760px; margin: 0 auto; }
.explainer-card { display:block; border-top:1px solid var(--rule-soft); padding:1.1rem 0 1.3rem; }
.explainer-card h3 { font-size:1.1875rem; display:inline; margin-right:.5rem; }
.explainer-icon { margin-right:.5rem; }
.explainer-card p { color:var(--muted); font-size:1rem; margin:.4rem 0; }
.explainer-badge { font-family:var(--font-ui); font-size:.8125rem; border:1px solid var(--rule-soft); border-radius: var(--r-ctl); padding:.15rem .5rem; }

/* ── 22. Learning path band (blog-build/publish_blog.py) ──────── */
.learn-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:2rem; }
@media (max-width: 860px) { .learn-grid { grid-template-columns:1fr; gap: 1.6rem; } }
.learn-col { border-top:2px solid var(--ink); padding-top:1rem; }
.learn-step { display:flex; align-items:center; font-family: var(--font-ui); font-size:.875rem; font-weight:600; color:var(--muted); letter-spacing:0; text-transform:none; }
.learn-step::before { content:""; width:8px; height:8px; margin-right: 26px; background: var(--day);
  box-shadow: 10px 0 0 var(--day), 20px 0 0 var(--day); }
.learn-col:nth-child(1) .learn-step::before { background: var(--accent-ink); }
.learn-col:nth-child(2) .learn-step::before { background: var(--accent-ink); box-shadow: 10px 0 0 var(--accent-ink), 20px 0 0 var(--day); }
.learn-col:nth-child(3) .learn-step::before { background: var(--accent-ink); box-shadow: 10px 0 0 var(--accent-ink), 20px 0 0 var(--accent-ink); }
.learn-col h3 { font-size:1.5rem; font-weight: 800; margin:.5rem 0 .2rem; }
.learn-sub { color:var(--muted); font-size:1rem; margin:0 0 .9rem; }
.learn-col ol { list-style:none; padding:0; margin:0; }
.learn-col li { padding:.6rem 0; border-top:1px solid var(--rule-soft); line-height: 1.4; }
.learn-col li a { text-decoration:none; color:var(--ink); font-weight: 500; }
.learn-col li a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; }
.learn-more { display:inline-block; margin-top:.8rem; font-family: var(--font-ui); font-size:.9375rem; font-weight:600; color:var(--accent-ink); }
.learn-more:hover { color:var(--ink); }
.learn-quest { margin:2rem 0 0; display:flex; gap:1rem; align-items:center; flex-wrap:wrap; }
.learn-quest .learn-sub { margin:0; }
#learn .section-head .hero-deck { font-size: 1.0625rem; }

/* ── 23. "Read in English" bar on Spanish pages ────────────────── */
.lang-bar { display:flex; align-items:center; justify-content:center; gap:1rem; background:var(--ink); color:var(--bg);
  font-family:var(--font-ui); font-size:.875rem; padding:.5rem 1rem; }
.lang-bar[hidden] { display:none; }
.lang-bar a { font-weight:700; color: var(--bg); text-decoration-color: var(--green); }
.lang-bar button { font-size:1.15rem; line-height:1; padding:.1rem .45rem; color:var(--bg); opacity: .75; }
.lang-bar button:hover { opacity: 1; }

/* ── 24. Homepage quest band (quest/build_quest.py; dark panel on either theme) ── */
.quest-band { display:grid; grid-template-columns:auto 1fr auto; gap:1.4rem 2.2rem; align-items:center;
  background:#10261A; color:#E4ECE5; border-radius:var(--r-panel); padding:1.8rem 2rem; box-shadow:none; }
.quest-band-seasons { display:flex; gap:.8rem; }
.quest-season { display:flex; flex-direction:column; align-items:center; gap:.4rem; text-decoration:none;
  color:#A6B5AA; font-family:var(--font-ui); font-size:.75rem; }
.quest-season span { width:72px; height:72px; display:block; }
.quest-season svg { width:100%; height:100%; display:block; }
.quest-season:hover { color:#FFFFFF; }
.quest-season:hover span { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 50%; }
.quest-season b { font-weight:500; white-space:nowrap; }
.quest-band-copy .eyebrow { color:var(--green); }
.quest-band-copy h2 { font-size:clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin:.15rem 0 .45rem; color:#FFFFFF; }
.quest-band-copy p { color:#BCC9BF; font-size:1rem; line-height:1.55; max-width:56ch; margin:0; }
.quest-band-cta { display:flex; flex-direction:column; align-items:flex-start; gap:.55rem; margin:0; }
.quest-band-cta .btn-ink { background:var(--green); color:#102318; border-color:var(--green); font-weight:700; white-space:nowrap; }
.quest-band-cta .btn-ink:hover { background:#FFFFFF; border-color:#FFFFFF; color:#102318; }
.quest-band-cta .mono { font-size:.8125rem; color:#A6B5AA; }
@media (max-width: 900px) {
  .quest-band { grid-template-columns:minmax(0,1fr); padding:1.5rem 1.25rem; gap:1.1rem; }
  .quest-season b { white-space: normal; text-align: center; max-width: 7rem; line-height: 1.3; }
  .quest-band-cta { flex-direction: row; flex-wrap: wrap; align-items:center; }
}
@media (max-width: 640px) { .quest-season span { width:56px; height:56px; } }

/* ── 24b. Radar page (radar.py ships its own <style> after this file; body-prefixed to win) ── */
body .radar-meta, body .radar-stat, body .radar-status, body .radar-links .src { font-family: var(--font-ui); }
body .radar-meta { margin: 0 0 1.4rem; font-size: .875rem; }
body .radar-stat { font-size: .8125rem; }
body .radar-links .src { font-size: .75rem; font-weight: 600; }
body .radar-rank { font-style: normal; font-weight: 900; color: var(--faint); letter-spacing: -0.03em; }
body .radar-item { border-top-color: var(--rule-soft); }
body .radar-item:first-child { border-top: 2px solid var(--ink); }
body .radar-flag { text-transform: none; letter-spacing: 0; font-size: .75rem; border-radius: var(--r-ctl); }
body .radar-bar { height: 8px; }
body .radar-bar i { background: var(--green); }
body .radar-item h3 a:hover { background: none; text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 3px; }

/* ── 24c. Product pages (publish_products.py ships its own <style>; body-prefixed to win) ── */
body .prod-meta { border-top: 2px solid var(--ink); }
body .prod-meta dt, body .chat-head, body .cmd-table th { text-transform: none; letter-spacing: 0; font-size: .875rem; }
body .prod-meta dt { color: var(--muted); font-weight: 500; }
body .prod-meta dd { font-family: var(--font-ui); font-size: .9375rem; font-weight: 600; }
body .prod-stat { border-radius: var(--r-panel); }
body .prod-stat b { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: -0.02em; }
body .chat-phone { box-shadow: none; border: 1px solid var(--rule-soft); border-radius: 16px; overflow: hidden; }
body .chat-head { border-bottom: 1px solid var(--rule-soft); font-weight: 700; }
body .chat-msg.user { background: var(--green); color: var(--green-ink); border-color: transparent; }
body .cmd-table th { color: var(--ink); font-weight: 700; }
body .prod-entry .prod-links { font-family: var(--font-ui); font-size: .875rem; }

/* ── 25. Inline-styled generated figures: sentence case over inline uppercase labels ── */
[style*="text-transform:uppercase"] { text-transform:none !important; letter-spacing:0 !important; }
/* stat-tile numbers in research/brief figures: display face, not mono */
[style*="font-family:var(--font-mono);font-size:1.35rem"] { font-family: var(--font-display) !important; font-weight: 800 !important; letter-spacing: -0.02em; }

/* ── 26. Motion guard ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  .value-tick { animation:none; }
  .btn, .nav-links a { transition:none; }
}

/* ── 27. Print ── */
@media print {
  .masthead, .ticker-bar, .cta-band, .back-to-top, .lang-bar, .reading-progress, details.toc, .mobile-toggle, .rail-track { display:none !important; }
  body { background:#fff; color:#000; }
}

/* ── 22. Pictures (2026-11-10): block covers, diagrams ─────────────
   Covers are files in /img/covers/ drawn by ~/covers.py: fixed colours on the forest
   plate, so they look the same in both themes. Diagrams (.gfig) are inline SVG that
   use classes only; they were born in the glossary and are shared with the articles. */
.cover { display:block; width:100%; height:auto; aspect-ratio: 4 / 3; object-fit: contain; background:#102318;
  border:1px solid #1F3A2A; border-radius: var(--r-ctl); }
.cover-fig { display:grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); align-items:center; gap: 0 1.5rem;
  background:#102318; border:1px solid #1F3A2A; border-radius: var(--r-panel); margin: 1.5rem 0 1.6rem; padding: .5rem 1.5rem .5rem .5rem; }
.cover-fig img { display:block; width:100%; height:auto; aspect-ratio: 4 / 3; border-radius: 0 !important; }
.cover-fig figcaption { color:#C9D6CC; font-family: var(--font-ui); font-size:.9375rem; line-height:1.5; }
.cover-fig figcaption b { display:block; color:#5AD95F; font-size:.8125rem; font-weight:600; margin-bottom:.3rem; }
@media (max-width: 600px) {
  .cover-fig { grid-template-columns: 1fr; padding: .3rem .3rem 1rem; }
  .cover-fig img { max-width: 20rem; margin: 0 auto; }
  .cover-fig figcaption { padding: 0 .8rem; }
}

/* listing rows with a thumbnail (research, blog, products) */
.blog-entry.has-cover { display:grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 0 1.6rem; align-items:center; }
.blog-entry.has-cover > .cover { width: 11rem; }
@media (max-width: 640px) {
  .blog-entry.has-cover { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0 1rem; align-items:start; }
  .blog-entry.has-cover > .cover { width: 5.5rem; margin-top: .35rem; }
}

/* homepage cards: picture above the three small cards, beside the lead */
.research-card > .cover { aspect-ratio: 3 / 2; margin-bottom: .9rem; }
.read-next .research-card > .cover { display:none; }
.home-latest .research-card:first-child { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; }
.home-latest .research-card:first-child > .cover { grid-column: 2; grid-row: 1 / span 4; aspect-ratio: 4 / 3; margin: 0; align-self: center; }
.home-latest .research-card:first-child > .card-excerpt { grid-column: 1; grid-row: 3; align-self: start; margin-top: .9rem; }
.home-latest .research-card:first-child > h3 { grid-row: 2; }
.home-latest .research-card:first-child > .card-date { grid-column: 1; grid-row: 4; }
.home-latest .research-card:not(:first-child) { border-top: 0; padding-top: 0; }
@media (max-width: 860px) {
  .home-latest .research-card:first-child > .cover { order: -1; margin-bottom: 1rem; aspect-ratio: 3 / 2; }
}
#productos .research-card { border-top: 0; padding-top: 0; }

/* diagrams */
.gfig{margin:.9rem 0 .1rem;background:var(--bg-raised);border:1px solid var(--rule-soft);border-radius:var(--r-panel);padding:.8rem .8rem .65rem}
.gfig svg{display:block;width:100%;height:auto;max-width:460px;margin:0 auto;font-family:var(--font-body);overflow:visible}
.gfig figcaption{color:var(--muted);font-size:.875rem;line-height:1.5;margin-top:.55rem}
.gfig text{fill:var(--ink);font-size:16px;font-weight:500}
.gfig .tb{font-weight:700}.gfig .tm{fill:var(--muted);font-size:14px;font-weight:400}.gfig .ts{font-size:14px}.gfig .tx{font-size:13px}
.gfig .tg{fill:var(--green-ink)}.gfig .tr{fill:var(--loss)}.gfig .ta{fill:var(--accent-ink)}
.gfig .mono{font-family:var(--font-mono);font-size:13px;font-weight:400;font-variant-ligatures:none}.gfig .ms{font-size:12px}
.gfig .big{font-family:var(--font-display);font-weight:800;font-size:28px;letter-spacing:-.02em}
.gfig .b{fill:var(--bg-raised);stroke:var(--ink);stroke-width:1.5}
.gfig .g{fill:var(--green);stroke:var(--ink);stroke-width:1.5}.gfig .gn{fill:var(--green)}
.gfig .d{fill:var(--day)}.gfig .ds{fill:var(--day);stroke:var(--ink);stroke-width:1.5}
.gfig .s{fill:none;stroke:var(--ink);stroke-width:1.5}.gfig .sk{fill:none;stroke:var(--ink);stroke-width:3;stroke-linecap:round}
.gfig .sm{fill:none;stroke:var(--faint);stroke-width:1.2}
.gfig .sd,.gfig .bd{fill:none;stroke:var(--faint);stroke-width:1.5;stroke-dasharray:4 4}
.gfig .r{fill:none;stroke:var(--loss);stroke-width:2;stroke-linecap:round}.gfig .rf{fill:var(--loss)}.gfig .op{opacity:.55}.gfig .op8{opacity:.8}
.gfig .rb{fill:var(--bg-raised);stroke:var(--loss);stroke-width:1.5}
.gfig .gl{fill:none;stroke:var(--accent-ink);stroke-width:2.5;stroke-linejoin:round}
.gfig .ah{fill:var(--ink)}.gfig .ahm{fill:var(--faint)}.gfig .ahr{fill:var(--loss)}
.gfig .ck{fill:none;stroke:var(--green-ink);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gfig .hl{fill:var(--hl-fill)}.gfig .hlp{fill:var(--hl-fill)}
/* figure palette: dataviz-validated categorical steps (light / dark), one hue per entity: B dollars, O bitcoin, V ether, R attack/loss */
.gfig{--cB:#2a78d6;--cO:#eb6834;--cA:#1baf7a;--cY:#eda100;--cM:#e87ba4;--cV:#6250d6;--cR:#e34948;--cG:var(--green);--onS:#fff}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .gfig{--cB:#3987e5;--cO:#d95926;--cA:#199e70;--cY:#c98500;--cM:#d55181;--cV:#9085e9;--cR:#e66767;--onS:#102318}}
:root[data-theme="dark"] .gfig{--cB:#3987e5;--cO:#d95926;--cA:#199e70;--cY:#c98500;--cM:#d55181;--cV:#9085e9;--cR:#e66767;--onS:#102318}
.gfig .kB{fill:var(--cB);stroke:var(--ink);stroke-width:1.5}.gfig .kO{fill:var(--cO);stroke:var(--ink);stroke-width:1.5}.gfig .kA{fill:var(--cA);stroke:var(--ink);stroke-width:1.5}.gfig .kY{fill:var(--cY);stroke:var(--ink);stroke-width:1.5}.gfig .kM{fill:var(--cM);stroke:var(--ink);stroke-width:1.5}.gfig .kV{fill:var(--cV);stroke:var(--ink);stroke-width:1.5}.gfig .kR{fill:var(--cR);stroke:var(--ink);stroke-width:1.5}
.gfig .fB{fill:var(--cB)}.gfig .fO{fill:var(--cO)}.gfig .fA{fill:var(--cA)}.gfig .fY{fill:var(--cY)}.gfig .fM{fill:var(--cM)}.gfig .fV{fill:var(--cV)}.gfig .fR{fill:var(--cR)}.gfig .fG{fill:var(--cG)}
.gfig .pB{fill:color-mix(in srgb,var(--cB) 16%,transparent)}.gfig .pO{fill:color-mix(in srgb,var(--cO) 16%,transparent)}.gfig .pA{fill:color-mix(in srgb,var(--cA) 16%,transparent)}.gfig .pY{fill:color-mix(in srgb,var(--cY) 16%,transparent)}.gfig .pM{fill:color-mix(in srgb,var(--cM) 16%,transparent)}.gfig .pV{fill:color-mix(in srgb,var(--cV) 16%,transparent)}.gfig .pR{fill:color-mix(in srgb,var(--cR) 16%,transparent)}.gfig .pG{fill:color-mix(in srgb,var(--cG) 16%,transparent)}
.gfig .lB{fill:none;stroke:var(--cB);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.gfig .lO{fill:none;stroke:var(--cO);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.gfig .lA{fill:none;stroke:var(--cA);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.gfig .lY{fill:none;stroke:var(--cY);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.gfig .lM{fill:none;stroke:var(--cM);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.gfig .lV{fill:none;stroke:var(--cV);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.gfig .lR{fill:none;stroke:var(--cR);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}
.gfig .lG{fill:none;stroke:var(--accent-ink);stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.gfig .dsh{stroke-dasharray:6 5}.gfig .oW{fill:var(--onS)}.gfig .hlo{fill:none;stroke:var(--ink);stroke-width:2}
.gfig figcaption{padding:0 12px}}
.gfig { max-width: 100%; }
.article-body .gfig { margin: 1.8rem 0; padding: 1rem 1rem .8rem; }
.article-body .gfig svg { max-width: 520px; }
.article-body .gfig figcaption { font-family: var(--font-ui); max-width: 60ch; margin: .6rem auto 0; }

/* news page (bot) */
.bot-status-bar { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .bot-status-bar { grid-template-columns: repeat(2, 1fr); } }
.archive-heading { font-size: 1.25rem; margin: 3rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--rule-soft); }
p.fg-badge { display: inline-block; margin-top: .4rem; }
#productos .research-card { display:grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 0 1.3rem; align-content: start; }
#productos .research-card > .cover { grid-column: 1; grid-row: 1 / span 4; aspect-ratio: 4 / 3; margin: 0; }
#productos .research-card > :not(.cover) { grid-column: 2; }
#productos .research-card h3 { margin-top: .2rem; }
@media (max-width: 520px) { #productos .research-card { grid-template-columns: 5.5rem minmax(0, 1fr); gap: 0 1rem; } }
.article-faq h3 { font-size: 1.125rem; margin-top: 1.5rem; }
.article-faq p { margin-top: .4rem; }
.entry-text { min-width: 0; }
.cite-this { font-family: var(--font-ui); font-size: .9375rem; background: var(--bg-raised); border: 1px solid var(--rule-soft); border-radius: var(--r-ctl); padding: .8rem 1rem; overflow-wrap: anywhere; }
