/* Börsenmechanik Lexikon — style.css
   Layout-Archetyp: einspaltiger, schmaler Lesefluss + A–Z/Themen-Sidebar.
   Palette: Neutralgrau + akademisches Blau-Punktakzent, Off-White, Zinc-900 Text.
   Typografie: System-Sans für Fließtext, Mono-Akzent für Begriffe/Kennzahlen.
   Selbstständig, keine externen Ressourcen. Mobile-first. em-getriebene Abstände.
*/

/* ---------- Design-Token ---------- */
:root {
  --bg: #f6f7f9;              /* Off-White Hintergrund */
  --surface: #ffffff;        /* Kartenflächen */
  --surface-2: #eef1f4;      /* dezente Fläche */
  --text: #18181b;           /* Zinc-900, kein reines Schwarz */
  --text-soft: #3f3f46;      /* Zinc-700 */
  --muted: #52525b;          /* Zinc-600 */
  --border: #d9dde3;         /* Neutralgrau-Rahmen */
  --border-soft: #e6e9ee;
  --accent: #1f4e8c;         /* akademisches Blau */
  --accent-soft: #eaf0f8;    /* Blau-Hauch */
  --accent-dot: #2f6fbf;     /* Punktakzent */
  --accent-contrast: #ffffff;
  --focus: #1f4e8c;
  --mono-bg: #eef1f4;
  --radius: 4px;             /* kleiner Radius */
  --radius-lg: 6px;
  --maxw: 1120px;
  --readw: 68ch;             /* Lesebreite */
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 6px 18px rgba(15, 23, 42, .04);

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;

  /* em-getriebene Abstandsstufen */
  --sp-1: .375em;
  --sp-2: .75em;
  --sp-3: 1.25em;
  --sp-4: 2em;
  --sp-5: 3em;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;              /* ≥16px */
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.4rem); margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.6rem); margin: 1.6em 0 .5em; }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.25rem); margin: 1.4em 0 .4em; }
p { margin: 0 0 1em; max-width: var(--readw); }
ul, ol { max-width: var(--readw); }
code, kbd, samp { font-family: var(--font-mono); font-size: .92em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
:target { scroll-margin-top: 5rem; }

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1200;
  background: var(--accent); color: var(--accent-contrast);
  padding: .6em 1em; border-radius: var(--radius);
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Container ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }

/* ---------- Kopfzeile / Navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(6px);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-2); min-height: 60px;
}
.brand { display: flex; align-items: center; gap: .6em; text-decoration: none; color: var(--text); }
.brand__mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface);
}
.brand__mark .dot { fill: var(--accent-dot); }
.brand__name { font-weight: 700; font-size: 1.02rem; letter-spacing: -.01em; }
.brand__sub { display: block; font-weight: 400; font-size: .74rem; color: var(--muted); letter-spacing: .01em; }

/* mobile Navigation via native <details> */
.nav-disclosure { position: relative; }
.nav-disclosure > summary {
  list-style: none; cursor: pointer;
  min-height: 44px; min-width: 44px;
  display: inline-flex; align-items: center; gap: .5em;
  padding: 0 .75em; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
  font: inherit; color: var(--text);
}
.nav-disclosure > summary::-webkit-details-marker { display: none; }
.nav-disclosure > summary .label { font-size: .95rem; }
.nav-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: .5em; min-width: 220px; z-index: 950;
}
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  display: block; padding: .6em .75em; border-radius: var(--radius);
  text-decoration: none; color: var(--text-soft); min-height: 44px;
  display: flex; align-items: center;
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }

@media (min-width: 768px) {
  .nav-disclosure > summary { display: none; }
  .nav-menu {
    position: static; box-shadow: none; border: none; padding: 0;
    background: transparent; min-width: 0;
  }
  .nav-menu ul { display: flex; gap: .25em; align-items: center; }
  .nav-menu a { padding: .5em .7em; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  min-height: 100dvh;
  display: grid; align-items: center;
  background-color: #1a2c44; /* CSS-Fallback, bis Bild vorliegt */
  background-image: linear-gradient(180deg, rgba(15, 26, 45, .72), rgba(15, 26, 45, .82)), url("../img/home-hero.jpg");
  background-size: cover; background-position: center;
}
.hero__inner { padding-block: clamp(3rem, 8vh, 6rem); }
.hero h1 { color: #fff; max-width: 20ch; }
.hero p { color: #e8edf4; max-width: 60ch; font-size: 1.08rem; }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: .82rem; letter-spacing: .06em;
  text-transform: uppercase; color: #cdd9ea; margin-bottom: 1em;
}
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-dot); display: inline-block; }

/* Sucheinstieg-Kachel im Hero (nur Anker, kein JS) */
.index-tile {
  margin-top: 1.6em; background: rgba(255, 255, 255, .96);
  color: var(--text); border-radius: var(--radius-lg);
  padding: 1.1em 1.2em; max-width: 640px; box-shadow: var(--shadow);
}
.index-tile h2 { margin: 0 0 .5em; font-size: 1.05rem; color: var(--text); }
.az-strip { display: flex; flex-wrap: wrap; gap: .3em; margin-top: .5em; }
.az-strip a {
  font-family: var(--font-mono); font-size: .9rem; text-decoration: none;
  min-width: 34px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius); color: var(--accent); background: var(--surface);
}
.az-strip a:hover { background: var(--accent-soft); }

/* ---------- Layout: Inhalt + Sidebar ---------- */
.layout { display: block; padding-block: var(--sp-4); }
.layout__main { min-width: 0; }
.layout__main > * { max-width: none; }

@media (min-width: 1024px) {
  .layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: var(--sp-4);
    align-items: start;
  }
  /* Sidebar oberhalb des Inhalts auf Desktop links, sticky */
  .layout__sidebar { order: 0; position: sticky; top: 76px; }
  .layout__main { order: 1; }
}

/* Sidebar (A–Z / Themen) — zählt als Inhaltsnavigation */
.sidebar-nav {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1em; box-shadow: var(--shadow);
  margin-bottom: var(--sp-3);
}
.sidebar-nav h2 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted); margin: 0 0 .6em;
}
.sidebar-nav ul { list-style: none; margin: 0 0 .4em; padding: 0; }
.sidebar-nav li { margin: 0; }
.sidebar-nav a {
  display: block; padding: .45em .55em; border-radius: var(--radius);
  text-decoration: none; color: var(--text-soft); font-size: .95rem;
  border-left: 2px solid transparent;
}
.sidebar-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.sidebar-nav a[aria-current="page"] {
  background: var(--accent-soft); color: var(--accent);
  border-left-color: var(--accent-dot); font-weight: 600;
}
.sidebar-nav .group-label {
  font-family: var(--font-mono); font-size: .74rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .05em; margin: .8em 0 .3em;
}

/* ---------- Karten / Inhaltsverzeichnis ---------- */
.section { padding-block: var(--sp-3); }
.section__lead { color: var(--text-soft); max-width: var(--readw); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .5em;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-dot); display: inline-block; }

.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); margin-top: var(--sp-2); }
@media (min-width: 560px) { .card-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: 1fr 1fr 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.1em 1.2em;
  display: flex; flex-direction: column; gap: .4em;
}
.card h3 { margin: 0; font-size: 1.08rem; }
.card h3 a { text-decoration: none; color: var(--text); }
.card h3 a:hover { color: var(--accent); text-decoration: underline; }
.card p { margin: 0; color: var(--text-soft); font-size: .96rem; }
.card__meta {
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: .4em 1em; margin-top: auto; padding-top: .4em;
}
.card__count { color: var(--accent); }

/* Themen-Chips (keine Inhaltsnavigation) */
.chips { display: flex; flex-wrap: wrap; gap: .4em; margin: .5em 0 0; padding: 0; list-style: none; }
.chip {
  font-family: var(--font-mono); font-size: .8rem; color: var(--text-soft);
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: .3em .8em;
}
.chip--link { text-decoration: none; }
.chip--link:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: .85rem; color: var(--muted); margin: 0 0 1em; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35em; margin: 0; padding: 0; }
.breadcrumb li::after { content: "›"; margin-left: .35em; color: var(--border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--text-soft); }

/* ---------- Definitionsliste (Glossar) ---------- */
.term-intro { max-width: var(--readw); color: var(--text-soft); }
.glossary {
  margin: var(--sp-3) 0 0;
  border-top: 1px solid var(--border);
}
.glossary dt {
  font-weight: 700; font-size: 1.15rem; margin-top: 1.4em;
  padding-top: 1.2em; border-top: 1px solid var(--border-soft);
  display: flex; align-items: baseline; gap: .5em;
  scroll-margin-top: 5.5rem;
}
.glossary dt:first-of-type { border-top: none; padding-top: 0; }
.glossary dt .term-key {
  font-family: var(--font-mono); font-size: .72rem; color: var(--accent);
  background: var(--mono-bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .1em .5em; letter-spacing: .03em;
  white-space: nowrap;
}
.glossary dt .anchor {
  font-family: var(--font-mono); font-size: .8rem; text-decoration: none;
  color: var(--muted); opacity: 0; margin-left: auto;
}
.glossary dt:hover .anchor, .glossary dt:focus-within .anchor { opacity: 1; }
.glossary dt:target { }
.glossary dt:target .term-key { background: var(--accent); color: #fff; border-color: var(--accent); }
.glossary dd {
  margin: .5em 0 0; color: var(--text-soft); max-width: var(--readw);
}
.glossary dd + dd { margin-top: .4em; }
.glossary .term-tags {
  list-style: none; margin: .6em 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .35em;
}
.glossary .term-tags li {
  font-family: var(--font-mono); font-size: .72rem; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: .15em .6em;
}

/* ---------- A–Z Index (glossar.html) ---------- */
.az-jump { display: flex; flex-wrap: wrap; gap: .35em; margin: var(--sp-2) 0 var(--sp-3); }
.az-jump a, .az-jump span {
  font-family: var(--font-mono); min-width: 40px; min-height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; color: var(--accent); background: var(--surface);
}
.az-jump a:hover { background: var(--accent-soft); }
.az-jump span { color: var(--border); background: var(--surface-2); }

.az-group { margin-top: var(--sp-3); border-top: 1px solid var(--border); padding-top: var(--sp-2); }
.az-group h2 {
  font-family: var(--font-mono); font-size: 1.1rem; color: var(--accent);
  margin: 0 0 .4em; scroll-margin-top: 5.5rem;
}
.az-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .3em; }
@media (min-width: 640px) { .az-list { grid-template-columns: 1fr 1fr; column-gap: var(--sp-3); } }
.az-list li { border-bottom: 1px solid var(--border-soft); padding: .35em 0; }
.az-list a { text-decoration: none; color: var(--text); }
.az-list a:hover { color: var(--accent); text-decoration: underline; }
.az-list .src { display: block; font-size: .82rem; color: var(--muted); }

/* ---------- Byline / Prüfhinweis ---------- */
.byline {
  display: flex; flex-wrap: wrap; gap: .4em 1em; align-items: center;
  font-size: .85rem; color: var(--muted); margin: var(--sp-2) 0;
  padding: .7em 0; border-block: 1px solid var(--border-soft);
}
.byline .who { font-weight: 600; color: var(--text-soft); }
.byline time { font-family: var(--font-mono); }

/* ---------- Hinweis-Asides (role=note) ---------- */
.note {
  background: var(--accent-soft); border: 1px solid #cfdcef;
  border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: .9em 1.1em; margin: var(--sp-3) 0; color: var(--text-soft);
}
.note p { margin: 0 0 .5em; max-width: none; font-size: .92rem; }
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--text); }

/* Kurzer Rechtshinweis (Boilerplate) */
.legal-aside {
  background: var(--surface); border: 1px dashed var(--border);
  border-radius: var(--radius); padding: .8em 1em; margin: var(--sp-3) 0;
  color: var(--muted); font-size: .88rem;
}
.legal-aside p { margin: 0; max-width: none; }

/* ---------- Prev/Next ---------- */
.pager {
  display: grid; gap: var(--sp-2); margin: var(--sp-4) 0 var(--sp-2);
  border-top: 1px solid var(--border); padding-top: var(--sp-3);
}
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager a {
  display: block; padding: .9em 1.1em; border: 1px solid var(--border);
  border-radius: var(--radius-lg); text-decoration: none; background: var(--surface);
}
.pager a:hover { border-color: var(--accent); background: var(--accent-soft); }
.pager .dir { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.pager .ttl { display: block; color: var(--text); font-weight: 600; margin-top: .2em; }
.pager .next { text-align: right; }
.pager-back { margin: var(--sp-2) 0 0; }
.pager-back a { text-decoration: none; color: var(--accent); font-weight: 600; }
.pager-back a:hover { text-decoration: underline; }

/* ---------- Prose (Redaktion / Legal) ---------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent); }
.source-list { list-style: none; padding: 0; margin: var(--sp-2) 0; }
.source-list li {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: .9em 1.1em; margin-bottom: .8em; background: var(--surface);
}
.source-list .src-name { font-weight: 700; display: block; margin-bottom: .2em; }
.source-list .src-url { font-family: var(--font-mono); font-size: .85rem; word-break: break-all; }

/* ---------- Figure ---------- */
.figure {
  margin: var(--sp-3) 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.figure__img {
  background-color: var(--surface-2);
  background-size: cover; background-position: center;
  aspect-ratio: 16 / 7; min-height: 160px;
}
.figure figcaption {
  padding: .7em 1em; font-size: .85rem; color: var(--muted);
  border-top: 1px solid var(--border);
}

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: var(--sp-3); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.4em;
}
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1em; }
.contact-list li { display: flex; gap: .8em; align-items: flex-start; }
.contact-list svg { flex: none; color: var(--accent); margin-top: .15em; }
.contact-list .lbl { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form-field { margin-bottom: 1em; }
.form-field label { display: block; font-weight: 600; margin-bottom: .35em; font-size: .95rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: .7em .8em; font: inherit;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg); color: var(--text); min-height: 44px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--accent); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: .5em; }

.map-shell {
  margin-top: 1em; border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--surface-2);
}
.map-placeholder { padding: 1.4em; text-align: center; }
.map-placeholder p { margin: 0 auto 1em; max-width: 46ch; color: var(--text-soft); font-size: .92rem; }
.map-frame { width: 100%; aspect-ratio: 16 / 9; min-height: 260px; border: 0; display: block; }

/* ---------- Buttons ---------- */
.btn {
  min-height: 44px; padding: 10px 16px; border-radius: var(--radius);
  border: 1px solid var(--border); font: inherit; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  text-decoration: none; line-height: 1.2;
}
.btn--solid { background: var(--accent); color: var(--accent-contrast); border-color: var(--accent); }
.btn--solid:hover { background: #163c6e; }
.btn--ghost { background: transparent; color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #12203a; color: #cdd6e3;
  margin-top: var(--sp-5); padding-block: var(--sp-4);
  font-size: .9rem;
}
.site-footer a { color: #d9e4f2; }
.footer-top { display: grid; gap: var(--sp-3); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { color: #9fb0c8; max-width: 42ch; }
.footer-col h2 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 .6em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .4em; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: var(--sp-3);
  padding-top: var(--sp-3); display: flex; flex-wrap: wrap; gap: .6em 1.2em; align-items: center;
  color: #9fb0c8; font-size: .84rem;
}
.footer-bottom .cmp-reopen { color: #d9e4f2; }

/* ---------- CMP ---------- */
.cmp {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--surface); color: var(--text);
  border-top: 1px solid var(--border); box-shadow: 0 -6px 24px rgba(15, 23, 42, .10);
  padding: 16px; max-height: 85dvh; overflow: auto;
}
.cmp__bar { display: grid; gap: 12px; max-width: var(--maxw); margin: 0 auto; }
@media (min-width: 768px) { .cmp__bar { grid-template-columns: 1fr auto; align-items: center; } }
.cmp__text { margin: 0; font-size: .93rem; line-height: 1.55; color: var(--text-soft); max-width: none; }
.cmp__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp__panel { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 12px; }
.cmp__bar[hidden], .cmp__panel[hidden] { display: none; }
.cmp__title { font-size: 1.1rem; margin: 0; }
.cmp__row { border-top: 1px solid var(--border); padding-top: 10px; }
.cmp__rowhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cmp__cat { font-weight: 600; }
.cmp__state { font-size: .82rem; color: var(--muted); font-family: var(--font-mono); }
.cmp__toggle { width: 44px; height: 26px; accent-color: var(--accent); }
.cmp__more { margin-top: .5em; }
.cmp__more summary { cursor: pointer; color: var(--accent); font-size: .88rem; min-height: 44px; display: inline-flex; align-items: center; }
.cmp__more p { margin: .4em 0 0; font-size: .88rem; color: var(--muted); max-width: none; }
.cmp__more code { background: var(--mono-bg); padding: .05em .35em; border-radius: 3px; }

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.lead { font-size: 1.1rem; color: var(--text-soft); max-width: 62ch; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.divider { border: none; border-top: 1px solid var(--border); margin: var(--sp-4) 0; }

/* footer heading compliance (audit: footer allows only simple tags) */
.site-footer .footer-title{font-weight:700;font-size:.8rem;letter-spacing:.04em;text-transform:uppercase;margin:0 0 .6rem;line-height:1.3;opacity:.9}
.site-footer .footer-strong{font-weight:700}
.site-footer p{margin:.25rem 0}
