/* Upstream — shared styles (light, high-readability, 50+ friendly) */

/* ---------- palette: Cobalt + Coral ----------
   Core colors read AXL brand-style tokens (--color-*) when the page runs on AXL,
   and fall back to our own values in the local preview. */
:root {
  --bg: var(--color-background, #fafbfd);
  --surface: var(--color-surface, #ffffff);
  --surface-2: var(--color-secondary, #f2f5fa);
  --line: #dde3ec;
  --text: var(--color-text, #0e1626);
  --body: #243044;
  --muted: var(--color-text-muted, #4a566a);
  --dim: #6b7688;
  --accent: var(--color-primary, #1d4ed8);   /* cobalt */
  --accent-ink: #ffffff;
  --accent-soft: #e7eeff;
  --accent-2: var(--color-accent, #f0533f);  /* coral */
  --accent-2-soft: #ffece9;
  --glow-1: rgba(29, 78, 216, 0.16);
  --glow-2: rgba(240, 83, 63, 0.12);
}

:root {
  --ev-a: #0f7a4a; --ev-a-bg: #e3f5ec;
  --ev-b: #1d5fa8; --ev-b-bg: #e4effb;
  --ev-c: #7a3fc2; --ev-c-bg: #f1e9fb;
  --ev-d: #a35a00; --ev-d-bg: #fdf1df;
  --radius: 16px;
  --max: 1180px;
  --f-head: var(--font-heading, "Space Grotesk", system-ui, sans-serif);
  --f-body: var(--font-body, "Inter", system-ui, sans-serif);
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body::before {
  /* faint lab dot-grid */
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  pointer-events: none; z-index: -1;
}

a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--f-head); color: var(--text); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--f-mono); }
.label {
  font-family: var(--f-mono); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent);
}
.muted { color: var(--muted); }
.glow {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 1.05rem;
}
.logo small { font-family: var(--f-mono); font-weight: 600; font-size: 0.62rem; letter-spacing: 0.16em; color: var(--dim); text-transform: uppercase; margin-left: 2px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--body); font-size: 1rem; font-weight: 500; text-decoration: none; }
.nav a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-body); font-size: 1.02rem; font-weight: 600;
  padding: 15px 26px; border-radius: 12px;
  border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink);
  text-decoration: none; cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.btn:hover { box-shadow: 0 10px 28px var(--glow-1); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.small { padding: 9px 16px; font-size: 0.95rem; }
.nav a.btn, .nav a.btn:hover { color: var(--accent-ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- sections ---------- */
section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.12rem; }

/* hero */
.hero { padding: 88px 0 96px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: -1; }
.hero::before { width: 620px; height: 620px; right: -160px; top: -200px; background: radial-gradient(circle, var(--glow-1), transparent 65%); }
.hero::after { width: 480px; height: 480px; right: 220px; top: 160px; background: radial-gradient(circle, var(--glow-2), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lead { font-size: clamp(1.15rem, 2vw, 1.32rem); color: var(--body); max-width: 620px; margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 44px; font-size: 0.95rem; color: var(--muted); }
.hero-meta b { color: var(--text); font-family: var(--f-head); }

/* upstream trace (hero visual) */
.trace {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 26px 22px; box-shadow: 0 24px 60px -24px var(--glow-1);
}
.trace-head { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 0.74rem; color: var(--dim); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.trace ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.trace li { position: relative; padding: 10px 0 10px 34px; font-size: 1rem; color: var(--body); }
.trace li::before {
  content: ""; position: absolute; left: 8px; top: 18px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--accent);
}
.trace li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 32px; bottom: -8px; width: 2px; background: var(--line); }
.trace li span { display: block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.trace li.symptom b { color: var(--text); }
.trace li.root { margin-top: 6px; padding: 14px 14px 14px 34px; border-radius: 12px; background: var(--accent-soft); }
.trace li.root::before { background: var(--accent); left: 8px; top: 24px; box-shadow: 0 0 0 5px var(--glow-1); }
.trace li.root b { color: var(--accent); }
.trace-foot { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }

/* method chain */
.chain { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.chain-step { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.chain-step .num { font-family: var(--f-mono); font-weight: 600; color: var(--accent); font-size: 0.8rem; letter-spacing: .06em; }
.chain-step h3 { margin-top: 12px; }
.chain-step p { color: var(--muted); font-size: 1rem; margin: 0; }

/* evidence chips */
.evidence { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.ev { font-family: var(--f-mono); font-size: 0.78rem; font-weight: 600; padding: 6px 11px; border-radius: 8px; white-space: nowrap; }
.ev.a { color: var(--ev-a); background: var(--ev-a-bg); }
.ev.b { color: var(--ev-b); background: var(--ev-b-bg); }
.ev.c { color: var(--ev-c); background: var(--ev-c-bg); }
.ev.d { color: var(--ev-d); background: var(--ev-d-bg); }

/* hallmarks map */
.hallmarks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hm {
  display: block; padding: 22px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--body); text-decoration: none; transition: border-color .2s, box-shadow .2s;
}
a.hm:hover { border-color: var(--accent); box-shadow: 0 12px 30px -16px var(--glow-1); }
.hm .idx { font-family: var(--f-mono); font-size: 0.75rem; color: var(--dim); }
.hm h4 { font-size: 1.1rem; margin: 6px 0 4px; }
.hm p { color: var(--muted); font-size: 0.95rem; margin: 0; line-height: 1.5; }
.hm .tier { display: inline-block; margin-top: 12px; font-family: var(--f-mono); font-size: 0.7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.tier.primary { color: var(--accent); background: var(--accent-soft); }
.tier.antagonistic { color: var(--ev-c); background: var(--ev-c-bg); }
.tier.integrative { color: var(--ev-d); background: var(--ev-d-bg); }
.hm.live { border: 2px solid var(--accent); }
.hm.live .idx { color: var(--accent); font-weight: 600; }

/* article cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); color: var(--body); text-decoration: none; min-height: 260px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
a.card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 18px 40px -20px var(--glow-1); }
.card h3 { color: var(--text); }
.card.featured {
  grid-column: 1 / -1; min-height: 0; padding: 44px;
  background: linear-gradient(120deg, var(--accent-soft), var(--surface) 60%);
  border-color: var(--accent);
}
.card.featured h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.card .q { color: var(--muted); font-size: 1.02rem; flex: 1; }
.card .meta { font-family: var(--f-mono); font-size: 0.78rem; color: var(--dim); display: flex; gap: 16px; flex-wrap: wrap; }
.card.soon { background: var(--surface-2); }
.badge { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--surface-2); color: var(--muted); align-self: flex-start; }
.card.soon .badge { background: var(--surface); }
.badge.live { background: var(--accent); color: var(--accent-ink); }

/* levers */
.levers { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.lever { padding: 24px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.lever .ico { font-family: var(--f-mono); font-weight: 600; font-size: 0.95rem; color: var(--accent); background: var(--accent-soft); display: inline-block; padding: 4px 9px; border-radius: 8px; }
.lever h4 { margin: 14px 0 4px; font-size: 1.1rem; }
.lever p { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

/* newsletter */
.subscribe-box {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 52px; border-radius: 24px; color: #fff;
  background: linear-gradient(130deg, var(--accent), var(--accent-2));
  box-shadow: 0 30px 70px -30px var(--glow-1);
}
.subscribe-box h2, .subscribe-box .label { color: #fff; }
.subscribe-box p { color: rgba(255,255,255,.92); }
@media (max-width: 860px) { .subscribe-box { grid-template-columns: 1fr; padding: 30px; } }
.form { display: flex; gap: 10px; flex-wrap: wrap; }
.form input {
  flex: 1 1 220px; min-width: 0;
  padding: 16px 18px; border-radius: 12px; border: 2px solid transparent;
  background: #fff; color: var(--text); font-family: var(--f-body); font-size: 1.05rem;
}
.form input:focus { outline: none; border-color: var(--text); }
.subscribe-box .btn { background: var(--text); border-color: var(--text); color: #fff; }
.form-note { font-size: 0.9rem; color: rgba(255,255,255,.88); margin-top: 12px; }
.form-ok { font-weight: 600; color: #fff; }

/* footer */
.site-footer { padding: 56px 0 72px; color: var(--muted); font-size: 0.95rem; background: var(--surface-2); }
.site-footer .wrap { display: grid; gap: 18px; }
.disclaimer { border-left: 3px solid var(--ev-d); padding-left: 16px; color: var(--body); max-width: 860px; }

/* ---------- article ---------- */
.article-hero { padding: 72px 0 48px; }
.article-hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); max-width: 920px; }
.article-hero .dek { font-size: 1.28rem; color: var(--body); max-width: 760px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 0.95rem; color: var(--muted); margin-top: 26px; }
.crumbs { font-family: var(--f-mono); font-size: 0.85rem; color: var(--dim); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }

.article-layout { display: grid; grid-template-columns: 230px minmax(0, 740px); gap: 64px; padding: 40px 0 96px; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; gap: 0; } .toc { display: none; } }
.toc { position: sticky; top: 100px; align-self: start; font-size: 0.95rem; }
.toc ol { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; font-family: var(--f-mono); font-size: .8rem; color: var(--dim); }

.prose { font-size: 20px; }
.prose h2 { font-size: 1.9rem; margin-top: 2.2em; scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--body); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose sup a { font-family: var(--f-mono); font-size: 0.7em; text-decoration: none; }

.tldr { padding: 28px 30px; border-radius: var(--radius); background: var(--accent-soft); border-left: 5px solid var(--accent); }
.tldr ul { margin: 10px 0 0; }
.tldr li { color: var(--text); }

.myth { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 30px 0; }
.myth > div { padding: 24px 26px; }
.myth .said { background: var(--surface-2); border-right: 1px solid var(--line); }
.myth .actually { background: var(--surface); }
.myth p { margin: 8px 0 0; font-size: 1.02rem; }
.myth .said .label { color: var(--ev-d); }
@media (max-width: 640px) { .myth { grid-template-columns: 1fr; } .myth .said { border-right: 0; border-bottom: 1px solid var(--line); } }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 30px 0; }
.fact { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.fact b { display: block; font-family: var(--f-head); font-size: 1.8rem; color: var(--accent); line-height: 1.1; }
.fact span { font-size: 0.9rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 6px; }

.figure { margin: 34px 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.figure figcaption { font-size: 0.92rem; color: var(--muted); margin-top: 16px; }
.threshold { display: grid; gap: 14px; }
.cell-row { display: grid; grid-template-columns: 90px 1fr 52px; gap: 14px; align-items: center; font-family: var(--f-mono); font-size: 0.85rem; color: var(--muted); }
.bar { height: 16px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 8px; background: var(--accent); }
.bar i.hot { background: linear-gradient(90deg, #f59e0b, #dc2626); }
.bar-wrap { position: relative; }
.bar-wrap::after { content: ""; position: absolute; left: 70%; top: -6px; bottom: -6px; width: 2px; background: #dc2626; }

.interventions { display: grid; gap: 14px; margin: 24px 0; }
.iv { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.iv-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.iv h3 { margin: 0; font-size: 1.2rem; }
.iv p { margin: 10px 0 0; font-size: 1.02rem; }

.refs { font-size: 0.95rem; }
.refs ol { padding-left: 1.4em; }
.refs li { color: var(--muted); margin-bottom: .7em; }
.refs i { color: var(--body); }


/* ---------- blog structure (generator templates) ---------- */
.subnav { border-top: 1px solid var(--line); background: rgba(255,255,255,.6); }
.subnav .wrap { display: flex; gap: 6px; align-items: center; height: 52px; overflow-x: auto; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: 7px 14px; border-radius: 999px; color: var(--body); text-decoration: none; font-size: 0.97rem; font-weight: 500; }
.subnav a:hover { background: var(--surface-2); color: var(--accent); }
.subnav a[aria-current] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.site-header .btn.small, .site-header .btn.small:hover { color: var(--accent-ink); }

section.tight { padding: 8px 0 88px; border-bottom: 0; }
.page-hero { padding: 56px 0 36px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: 900px; }
.lede, .page-hero .lede p { font-size: 1.2rem; color: var(--body); max-width: 780px; }
.page-body { max-width: 820px; padding-bottom: 88px; }
.small { font-size: 0.9rem; }

.answer { display: block; padding: 24px 28px; border-radius: var(--radius); background: var(--accent-soft); border-left: 5px solid var(--accent); margin-bottom: 28px; }
.answer .label { display: block; margin-bottom: 8px; }
.answer p { color: var(--text); font-size: 1.04em; margin: 0; }
.prose .trace { margin: 28px 0 8px; box-shadow: none; }
a.term { color: inherit; text-decoration: underline dotted var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a.term:hover { color: var(--accent); }
.faq h3 { font-size: 1.15rem; margin: 1.4em 0 0.35em; }
.faq p { margin: 0; }
.terms-used { margin-top: 48px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.terms-used .label { margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--body); text-decoration: none; font-size: 0.95rem; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.after { padding: 64px 0; border-top: 1px solid var(--line); border-bottom: 0; background: var(--surface-2); }

.soon { margin-top: 40px; }
.soon .label { margin-bottom: 14px; }
.soon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.soon-list li { padding: 14px 18px; border: 1px dashed var(--line); border-radius: 12px; color: var(--muted); background: var(--surface); font-size: 1rem; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.tile { display: block; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--body); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.tile:hover { border-color: var(--accent); box-shadow: 0 14px 34px -18px var(--glow-1); }
.tile h3 { margin: 10px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 0.98rem; line-height: 1.5; }

.az { display: grid; gap: 32px; }
.az h2 { font-size: 1.6rem; color: var(--accent); margin-bottom: 12px; }
.az-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.az-item { display: block; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--body); text-decoration: none; transition: border-color .2s; }
.az-item:hover { border-color: var(--accent); }
.az-item b { display: block; color: var(--text); font-family: var(--f-head); font-size: 1.15rem; margin-bottom: 4px; }
.az-item span { display: block; font-size: 0.95rem; color: var(--muted); line-height: 1.5; }

.gl-box { padding: 24px 28px; border-radius: var(--radius); margin: 0 0 18px; }
.gl-box .label { display: block; margin-bottom: 8px; }
.gl-box p { margin: 0; }
.gl-box.def { background: var(--accent-soft); border-left: 5px solid var(--accent); }
.gl-def { font-size: 1.3rem; line-height: 1.5; color: var(--text); font-weight: 500; }
.gl-box.analogy { background: var(--accent-2-soft); border-left: 5px solid var(--accent-2); }
.gl-box.analogy .label { color: #c2341f; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--body); }
.page-body ol li, .page-body ul li { margin-bottom: .5em; }

/* ---------- typography: even right edge (no ragged "spikes") ---------- */
p, li, figcaption, dd, .dek, .lead, .lede, .q, .gl-def {
  text-wrap: pretty;            /* avoids orphans & big gaps at line ends */
  hyphens: auto;                /* splits long words like "mitochondrial" */
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 7 3 3; /* only hyphenate words of 7+ letters */
  overflow-wrap: break-word;
}
h1, h2, h3, h4, .card h3 { text-wrap: balance; hyphens: manual; }
@media (max-width: 600px) {
  body { font-size: 18px; }
  .prose { font-size: 18.5px; }
  .wrap { padding: 0 20px; }
  .answer, .tldr, .gl-box, .iv, .terms-used { padding: 20px 20px; }
  .myth > div { padding: 20px; }
  .hero .lead, .lede, .page-hero .lede p, .article-hero .dek { font-size: 1.1rem; }
}

/* tables in articles */
.table-wrap { overflow-x: auto; margin: 26px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.92em; min-width: 520px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); background: var(--surface-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose ol li::marker { color: var(--accent); font-weight: 600; }

/* ---------- AXL compatibility layer ----------
   On AXL, page content sits inside .page-container, which sets 16px / line-height 1.5 and a
   zero-specificity reset (lists without markers, headings without weight). Restore our typography. */
.page-container.ul-root { font-size: 19px; line-height: 1.7; color: var(--body); font-family: var(--f-body); background: transparent; }
@media (max-width: 600px) { .page-container.ul-root { font-size: 18px; } }
.ul-root h4 { font-weight: 600; }
.ul-root .prose ul { list-style: disc; padding-left: 1.2em; margin: 0 0 1em; }
.ul-root .prose ol, .ul-root .refs ol, .ul-root .page-body ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 1em; }
.ul-root .prose ul ul { list-style: circle; }
.ul-root .prose .trace ol { list-style: none; padding: 0; margin: 0; }
/* AXL lead form inside our subscribe box */
.ul-root .ez-form { position: relative; font-size: 1rem; }
.ul-root .ez-form form.form { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.ul-root .ez-form .form-control { flex: 1 1 220px; width: auto; }
.ul-root .ez-form .form-control.submit { flex: 0 0 auto; }
.ul-root .ez-form .form-control input:not([type=checkbox]) {
  width: 100%; padding: 16px 18px; border-radius: 12px; border: 2px solid transparent;
  background: #fff; color: var(--text); font-size: 1.05rem;
}
.ul-root .ez-form .ez-form-message { border-radius: 12px; background: #fff; color: var(--text); }
.ul-root .ez-form .field-error { color: #fff; font-size: 0.85rem; }
/* Shared header/footer on AXL sit outside .page-container: give them our type, and make the header wrapper sticky */
.ul-chrome { font-family: var(--f-body); font-size: 19px; line-height: 1.7; color: var(--body); }
.ul-chrome:has(> .site-header) { position: sticky; top: 0; z-index: 30; }
/* readable link on the gradient newsletter box */
.subscribe-box .form-note a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.7); }
