/* ============================================================
   Lumen Protocol — Stylesheet
   Modern minimalist design with dark mode + responsive layout
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --bg: #fafaf9;
  --bg-elev: #ffffff;
  --bg-subtle: #f4f4f3;
  --bg-accent: #fff7ed;
  --text: #1c1917;
  --text-muted: #57534e;
  --text-subtle: #78716c;
  --border: #e7e5e4;
  --border-strong: #d6d3d1;
  --accent: #c2410c;
  --accent-hover: #9a3412;
  --accent-soft: #fed7aa;
  --accent-bg: #fff7ed;
  --success: #15803d;
  --warning: #b45309;
  --danger: #b91c1c;
  --link: #c2410c;
  --link-hover: #9a3412;
  --code-bg: #f4f4f3;
  --table-stripe: #fafaf9;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1140px;
  --max-content: 760px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Charter', 'Georgia', 'Cambria', 'Times New Roman', serif;
  --font-mono: 'SF Mono', Menlo, Monaco, Consolas, monospace;
}

[data-theme="dark"] {
  --bg: #0c0a09;
  --bg-elev: #1c1917;
  --bg-subtle: #1c1917;
  --bg-accent: #2a1a10;
  --text: #fafaf9;
  --text-muted: #d6d3d1;
  --text-subtle: #a8a29e;
  --border: #292524;
  --border-strong: #44403c;
  --accent: #fb923c;
  --accent-hover: #fdba74;
  --accent-soft: #7c2d12;
  --accent-bg: #1c0f06;
  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;
  --link: #fb923c;
  --link-hover: #fdba74;
  --code-bg: #292524;
  --table-stripe: #1c1917;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  transition: background 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--link-hover); text-decoration: underline; }
ul, ol { padding-left: 1.4em; }
li { margin: 0.3em 0; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 1.5em 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin-top: 0; }
h2 { font-size: clamp(1.5rem, 3.5vw, 1.9rem); margin-top: 2em; padding-bottom: 0.3em; border-bottom: 1px solid var(--border); }
h3 { font-size: 1.3rem; margin-top: 1.6em; }
h4 { font-size: 1.1rem; }
p { margin: 0.9em 0; }
strong { color: var(--text); font-weight: 600; }
em { font-style: italic; }
code { font-family: var(--font-mono); background: var(--code-bg); padding: 0.15em 0.4em; border-radius: 4px; font-size: 0.9em; }
blockquote {
  margin: 1.5em 0; padding: 1em 1.5em;
  border-left: 4px solid var(--accent);
  background: var(--bg-accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
}
blockquote p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.content { max-width: var(--max-content); margin: 0 auto; padding: 0 1.25rem; }
.content-wide { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .site-header { background: rgba(12, 10, 9, 0.92); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.85rem; padding-bottom: 0.85rem; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.logo:hover { text-decoration: none; color: var(--text); }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  display: grid; place-items: center;
  color: white; font-weight: 800; font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(194, 65, 12, 0.25);
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small { font-size: 0.65rem; font-weight: 500; color: var(--text-subtle); letter-spacing: 0.02em; margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  color: var(--text-muted); padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm); font-size: 0.95rem; font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: var(--text); background: var(--bg-subtle); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.theme-toggle, .menu-toggle {
  background: var(--bg-subtle); border: 1px solid var(--border);
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: grid; place-items: center; cursor: pointer;
  color: var(--text); transition: all 0.15s ease;
}
.theme-toggle:hover, .menu-toggle:hover { background: var(--bg-accent); border-color: var(--accent); color: var(--accent); }
.theme-toggle svg, .menu-toggle svg { width: 18px; height: 18px; }
.menu-toggle { display: none; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
.icon-sun { display: none; }

@media (max-width: 880px) {
  .menu-toggle { display: grid; }
  .main-nav {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-elev); padding: 1rem;
    border-top: 1px solid var(--border);
    transform: translateY(-110%); transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 0.85rem 1rem; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
}

/* ---------- Disclosure banner ---------- */
.disclosure {
  background: var(--bg-accent); border-bottom: 1px solid var(--accent-soft);
  padding: 0.5rem 0; text-align: center; font-size: 0.82rem; color: var(--text-muted);
}
.disclosure strong { color: var(--accent); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { font-size: 0.85rem; color: var(--text-subtle); padding: 1.2rem 0 0; }
.breadcrumbs a { color: var(--text-subtle); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 0.4rem; opacity: 0.5; }

/* ---------- Article Hero ---------- */
.article-hero { padding: 1.5rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem; }
.article-hero h1 { margin-bottom: 0.5rem; }
.article-meta { font-size: 0.85rem; color: var(--text-subtle); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 0.75rem; }
.article-meta .meta-item { display: flex; align-items: center; gap: 0.4rem; }
.article-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-subtle); }
.lead {
  font-size: 1.18rem; line-height: 1.6; color: var(--text-muted);
  margin-top: 1rem; font-weight: 400;
}

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 2em 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; background: var(--bg-elev); }
thead th { background: var(--bg-subtle); text-align: left; padding: 0.85rem 1rem; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--text-muted); border-bottom: 2px solid var(--border); }
tbody td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:nth-child(even) { background: var(--table-stripe); }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--bg-accent); }
.table-pick { font-weight: 700; color: var(--accent); }
.table-check { color: var(--success); font-weight: 700; }
.table-x { color: var(--text-subtle); }

/* ---------- CTA Components ---------- */
.cta-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--accent); color: white !important;
  padding: 0.7rem 1.2rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem; text-decoration: none !important;
  transition: background 0.15s ease, transform 0.1s ease;
  box-shadow: var(--shadow-sm);
}
.cta-btn:hover { background: var(--accent-hover); text-decoration: none; transform: translateY(-1px); }
.cta-btn.secondary { background: var(--bg-elev); color: var(--text) !important; border: 1px solid var(--border-strong); }
.cta-btn.secondary:hover { background: var(--bg-subtle); border-color: var(--accent); color: var(--accent) !important; }

.product-card {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5em 0;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-card .pc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.product-card .pc-name { font-size: 1.15rem; font-weight: 700; color: var(--text); }
.product-card .pc-brand { font-size: 0.85rem; color: var(--text-subtle); margin-top: 0.2rem; }
.product-card .pc-price { background: var(--accent-bg); color: var(--accent); padding: 0.35rem 0.7rem; border-radius: 999px; font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.product-card .pc-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.75rem; margin: 0.75rem 0 1rem; font-size: 0.88rem; }
.product-card .pc-specs div { padding: 0.4rem 0; }
.product-card .pc-specs dt { color: var(--text-subtle); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.15rem; }
.product-card .pc-specs dd { color: var(--text); font-weight: 500; }
.product-card .pc-pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.5rem 0 1rem; font-size: 0.9rem; }
@media (max-width: 540px) { .product-card .pc-pros-cons { grid-template-columns: 1fr; } }
.product-card .pc-pros h4, .product-card .pc-cons h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 0.4rem; }
.product-card .pc-pros h4 { color: var(--success); }
.product-card .pc-cons h4 { color: var(--danger); }
.product-card .pc-pros ul, .product-card .pc-cons ul { list-style: none; padding: 0; }
.product-card .pc-pros li::before { content: "+"; color: var(--success); font-weight: 700; margin-right: 0.5rem; }
.product-card .pc-cons li::before { content: "\2212"; color: var(--danger); font-weight: 700; margin-right: 0.5rem; }
.product-card .pc-cta { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.5rem; }

.top-pick-banner {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: white; padding: 0.35rem 0.7rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; display: inline-block; margin-bottom: 0.5rem;
}

.callout {
  background: var(--bg-accent); border: 1px solid var(--accent-soft);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5em 0;
  font-size: 0.96rem;
}
.callout-title { font-weight: 700; color: var(--accent); margin-bottom: 0.4rem; font-size: 1rem; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- FAQ Accordion ---------- */
.faq-list { margin: 1.5em 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.1rem 0; font-size: 1.05rem; font-weight: 600; color: var(--text);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; font-family: inherit;
}
.faq-question:hover { color: var(--accent); }
.faq-icon { flex-shrink: 0; width: 18px; height: 18px; transition: transform 0.25s ease; color: var(--accent); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 0 1.1rem; color: var(--text-muted); }
.faq-item.open .faq-answer { max-height: 800px; }

/* ---------- TOC ---------- */
.toc {
  background: var(--bg-subtle); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 2em 0;
}
.toc h3 { margin: 0 0 0.75rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-subtle); }
.toc ol { padding-left: 1.3em; margin: 0; }
.toc li { margin: 0.35em 0; font-size: 0.95rem; }
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--accent); }

/* ---------- Related links ---------- */
.related { margin: 3em 0 0; padding: 2em 0; border-top: 1px solid var(--border); }
.related h3 { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1rem; }
.related-card {
  display: block; padding: 1rem 1.25rem; background: var(--bg-elev);
  border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: all 0.15s ease;
}
.related-card:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.related-card-title { font-weight: 600; color: var(--accent); font-size: 0.95rem; margin-bottom: 0.3rem; }
.related-card-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }

/* ---------- Homepage Hero ---------- */
.home-hero { padding: 3.5rem 0 3rem; text-align: center; position: relative; }
.home-hero h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); margin-bottom: 1rem; }
.home-hero .lead { font-size: 1.2rem; max-width: 640px; margin: 1rem auto 1.75rem; }
.home-hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.hero-glow {
  position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(194,65,12,0.18), transparent 60%);
  border-radius: 50%;
}
[data-theme="dark"] .hero-glow { background: radial-gradient(circle, rgba(251,146,60,0.18), transparent 60%); }

/* ---------- Homepage sections ---------- */
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-subtle); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { border: none; padding: 0; margin-top: 0; }
.section-head p { color: var(--text-muted); margin-top: 0.5rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: all 0.2s ease; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; height: 100%;
}
.card:hover { border-color: var(--accent); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none; }
.card-eyebrow { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); font-weight: 700; margin-bottom: 0.6rem; }
.card-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.card-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; flex: 1; }
.card-arrow { margin-top: 1rem; color: var(--accent); font-weight: 600; font-size: 0.9rem; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; text-align: center; }
.stat { padding: 1.5rem 1rem; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; margin: 1.5em 0; padding: 0; list-style: none; }
.steps li {
  counter-increment: step; position: relative; padding: 0 0 1.5em 3em;
  margin: 0;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; background: var(--accent); color: white;
  border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 0.95rem;
}
.steps li strong { display: block; margin-bottom: 0.3em; font-size: 1.05rem; }

/* ---------- Badges ---------- */
.badge {
  display: inline-block; padding: 0.15rem 0.55rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-fda { background: #dcfce7; color: #166534; }
[data-theme="dark"] .badge-fda { background: #14532d; color: #86efac; }
.badge-budget { background: #dbeafe; color: #1e40af; }
[data-theme="dark"] .badge-budget { background: #1e3a8a; color: #93c5fd; }
.badge-premium { background: #fef3c7; color: #92400e; }
[data-theme="dark"] .badge-premium { background: #78350f; color: #fcd34d; }
.badge-best { background: #fce7f3; color: #9f1239; }
[data-theme="dark"] .badge-best { background: #831843; color: #f9a8d4; }

/* ---------- Pros/cons inline ---------- */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 1.5em 0; }
@media (max-width: 540px) { .pros-cons-grid { grid-template-columns: 1fr; } }
.pros-cons-grid > div { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.pros-cons-grid h4 { margin: 0 0 0.75rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.pros-cons-grid .pros h4 { color: var(--success); }
.pros-cons-grid .cons h4 { color: var(--danger); }
.pros-cons-grid ul { list-style: none; padding: 0; }
.pros-cons-grid .pros li::before { content: "\2713"; color: var(--success); font-weight: 700; margin-right: 0.6rem; }
.pros-cons-grid .cons li::before { content: "\2717"; color: var(--danger); font-weight: 700; margin-right: 0.6rem; }

/* ---------- Spec sheet ---------- */
.spec-sheet { margin: 1.5em 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.spec-sheet dl { display: grid; grid-template-columns: 200px 1fr; margin: 0; }
@media (max-width: 540px) { .spec-sheet dl { grid-template-columns: 1fr; } }
.spec-sheet dt { background: var(--bg-subtle); padding: 0.7rem 1rem; font-weight: 600; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.spec-sheet dd { padding: 0.7rem 1rem; border-bottom: 1px solid var(--border); margin: 0; }
.spec-sheet dt:last-of-type, .spec-sheet dd:last-of-type { border-bottom: none; }
@media (max-width: 540px) { .spec-sheet dt { border-bottom: none; } }

/* ---------- Inline CTA ---------- */
.inline-cta {
  background: linear-gradient(135deg, var(--accent-bg), var(--bg-elev));
  border: 1px solid var(--accent-soft); border-radius: var(--radius-lg);
  padding: 1.75rem; margin: 2em 0; text-align: center;
}
.inline-cta h3 { margin-top: 0; color: var(--accent); }
.inline-cta p { color: var(--text-muted); margin-bottom: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-elev); border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem; margin-top: 4rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-subtle); margin: 0 0 0.85rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin: 0.4rem 0; }
.footer-col a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col a:hover { color: var(--accent); }
.footer-about p { color: var(--text-muted); font-size: 0.92rem; margin-top: 0.75rem; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-subtle); }
.footer-bottom a { color: var(--text-subtle); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Page hero ---------- */
.page-hero { padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--border); }
.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero .lead { margin-top: 0.75rem; }

/* ---------- Article body ---------- */
.article-body { padding: 1rem 0 3rem; }
.article-body p, .article-body ul, .article-body ol { font-size: 1.02rem; }
.article-body h2:first-child { margin-top: 0; }
.article-body img { border-radius: var(--radius); margin: 1.5em 0; }
.article-body ul, .article-body ol { margin: 1em 0; }
.article-body li { margin: 0.5em 0; }
.article-body a { text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 3px; }
.article-body a:hover { text-decoration-color: var(--accent); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--accent); color: white; padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0; text-decoration: none;
}
.skip-link:focus { left: 0; color: white; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .disclosure, .cta-btn, .related, .toc, .breadcrumbs, .faq-icon { display: none; }
  body { font-size: 12pt; }
}

::selection { background: var(--accent-soft); color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
