/* ═══════════════════════════════════════════════════════════════
   mona.expert — Design System v2
   Merges cleanly over v1: every variable name from styles.css is
   preserved, so existing pages keep working while these load.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand. Kept from v1 so the identity carries over. ── */
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --primary-glow: rgba(124, 58, 237, 0.22);

  --accent: #f59e0b;
  --accent-dark: #d97706;

  /* ── Signal colours. In a security tool colour carries meaning,
        so these are semantic, never decorative. ── */
  --pass:   #0d9488;   /* teal — inspected, nothing found */
  --review: #d97706;   /* amber — flagged for a human */
  --block:  #dc2626;   /* red — refused */
  --success: var(--pass);
  --error: var(--block);
  --warning: var(--review);

  /* ── Surfaces ── */
  --bg: #ffffff;
  --bg-alt: #f7f7fb;
  --bg-card: #ffffff;
  --bg-elevated: #f1f0f9;
  --bg-code: #12101c;

  --text: #0b0e14;
  --text-secondary: #4a4f5e;
  --text-muted: #8b90a0;
  --text-inverse: #ffffff;
  --text-link: var(--primary);

  --border: #e5e3ef;
  --border-light: #f1f0f9;
  --shadow: 0 1px 2px rgba(11,14,20,.04), 0 8px 24px rgba(11,14,20,.05);
  --shadow-lg: 0 2px 4px rgba(11,14,20,.04), 0 16px 48px rgba(11,14,20,.09);
  --shadow-glow: 0 0 0 4px var(--primary-glow);

  --header-bg: rgba(255,255,255,.86);
  --footer-bg: #0b0e14;
  --footer-text: #8b90a0;

  /* ── Geometry. Tightened from v1: 28px radius reads consumer-app;
        this is an instrument. ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;

  /* ── Type. Inter kept for body; Archivo added for display, because
        Inter set large reads like every other SaaS page. ── */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Archivo', var(--font);
  --font-mono: 'JetBrains Mono', ui-monospace, 'Fira Code', monospace;

  --max-width: 1200px;
  --nav-height: 64px;

  --transition: all .25s cubic-bezier(.4,0,.2,1);
  --transition-fast: all .12s ease;
}

[data-theme="dark"] {
  --primary: #a78bfa;
  --primary-dark: #8b5cf6;
  --primary-light: #c4b5fd;
  --primary-glow: rgba(167,139,250,.2);

  --accent: #fbbf24;
  --accent-dark: #f59e0b;

  --pass:   #2dd4bf;
  --review: #fbbf24;
  --block:  #f87171;

  --bg: #0b0e14;
  --bg-alt: #12151d;
  --bg-card: #12151d;
  --bg-elevated: #1b1f2a;
  --bg-code: #080a0f;

  --text: #edeef2;
  --text-secondary: #9aa1b1;
  --text-muted: #646b7d;
  --text-inverse: #0b0e14;
  --text-link: var(--primary-light);

  --border: #232836;
  --border-light: #1b1f2a;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 16px 48px rgba(0,0,0,.45);

  --header-bg: rgba(11,14,20,.86);
  --footer-bg: #080a0f;
}

/* ═══ Base ═══ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
  transition: background .25s ease, color .25s ease;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--text-link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; vertical-align: -0.125em; }
.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--primary); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ═══ Type scale ═══ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
.lead { font-size: 1.1rem; color: var(--text-secondary); max-width: 60ch; }

/* ═══ Layout ═══ */
main { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section + .section { border-top: 1px solid var(--border); }
@media (max-width: 640px) { .section { padding: 56px 0; } }

/* ═══ Header ═══ */
header {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-height);
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
header nav {
  max-width: var(--max-width); height: 100%; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -.02em; color: var(--text); text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.logo-icon {
  width: 27px; height: 27px; display: grid; place-items: center;
  background: var(--primary); color: #fff;
  border-radius: 7px; font-size: .82rem; font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a:not(.btn) {
  padding: 7px 11px; border-radius: var(--radius-sm);
  color: var(--text-secondary); font-size: .92rem; font-weight: 500;
  text-decoration: none; transition: var(--transition-fast);
}
.nav-links a:not(.btn):hover { color: var(--text); background: var(--bg-elevated); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.theme-toggle {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: var(--radius-sm); color: var(--text-secondary);
  transition: var(--transition-fast);
}
.theme-toggle:hover { background: var(--bg-elevated); color: var(--text); }
.mobile-nav-toggle { display: none; width: 34px; height: 34px; place-items: center; }

@media (max-width: 860px) {
  .mobile-nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: var(--nav-height); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 11px 12px; }
}

/* ═══ Buttons ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius-md);
  font-size: .94rem; font-weight: 600; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: var(--transition-fast);
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-elevated); border-color: var(--text-muted); }
.btn-sm { padding: 7px 14px; font-size: .87rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .73rem; font-weight: 500;
  background: var(--bg-elevated); color: var(--text-secondary);
  border: 1px solid var(--border);
}
.badge-secure { background: color-mix(in srgb, var(--pass) 12%, transparent); color: var(--pass); border-color: color-mix(in srgb, var(--pass) 30%, transparent); }
.badge-warn   { background: color-mix(in srgb, var(--review) 12%, transparent); color: var(--review); border-color: color-mix(in srgb, var(--review) 30%, transparent); }
.badge-down   { background: color-mix(in srgb, var(--block) 12%, transparent); color: var(--block); border-color: color-mix(in srgb, var(--block) 30%, transparent); }

.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
}

/* ═══════════════════════════════════════════════════════════════
   SIGNATURE — Die Prüfkammer (the inspection chamber)
   The hero is the product: type into the slot, watch which of the
   22 rules fire and what each one contributes to the score.
   ═══════════════════════════════════════════════════════════════ */

.hero { padding: 60px 0 40px; }
.hero-head { max-width: 62ch; margin-bottom: 34px; }
.hero h1 { margin: 14px 0 16px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, var(--primary-glow) 62%);
  padding: 0 2px;
}

.chamber {
  display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  gap: 0; border: 1px solid var(--border); border-radius: var(--radius-xl);
  overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) { .chamber { grid-template-columns: 1fr; } }

.chamber-in { padding: 20px; display: flex; flex-direction: column; min-width: 0; }
.chamber-out {
  padding: 20px; background: var(--bg-alt);
  border-left: 1px solid var(--border); min-width: 0;
}
@media (max-width: 900px) { .chamber-out { border-left: none; border-top: 1px solid var(--border); } }

.chamber-label {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}

#probe {
  width: 100%; min-height: 132px; resize: vertical;
  font-family: var(--font-mono); font-size: .87rem; line-height: 1.6;
  padding: 14px; color: var(--text);
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: var(--transition-fast);
}
#probe:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-glow); }
#probe::placeholder { color: var(--text-muted); }

.samples { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.samples button {
  padding: 5px 10px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg);
  font-family: var(--font-mono); font-size: .74rem; color: var(--text-secondary);
  transition: var(--transition-fast);
}
.samples button:hover { border-color: var(--primary); color: var(--primary); }

/* ── The verdict readout ── */
.verdict { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.verdict-score {
  font-family: var(--font-display); font-size: 2.9rem; font-weight: 800;
  letter-spacing: -.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted); transition: color .3s ease;
}
.verdict-state { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.verdict-note { font-size: .85rem; color: var(--text-secondary); min-height: 2.6em; margin-bottom: 14px; }

[data-state="pass"]   .verdict-score, [data-state="pass"]   .verdict-state { color: var(--pass); }
[data-state="review"] .verdict-score, [data-state="review"] .verdict-state { color: var(--review); }
[data-state="block"]  .verdict-score, [data-state="block"]  .verdict-state { color: var(--block); }

.meter { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 18px; }
.meter i { display: block; height: 100%; width: 0; background: var(--text-muted); transition: width .35s cubic-bezier(.4,0,.2,1), background .3s; }
[data-state="pass"]   .meter i { background: var(--pass); }
[data-state="review"] .meter i { background: var(--review); }
[data-state="block"]  .meter i { background: var(--block); }

/* ── The 22 rules. Every cell is a real pattern in the guard. ── */
.rules {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 4px;
}
.rule {
  aspect-ratio: 1; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 6px; overflow: hidden;
  transition: border-color .2s, background .2s, transform .2s;
}
.rule-w {
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  color: var(--text-muted); font-variant-numeric: tabular-nums;
}
.rule-n {
  font-size: .61rem; line-height: 1.25; color: var(--text-muted);
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}
.rule.hit {
  background: color-mix(in srgb, var(--block) 9%, var(--bg));
  border-color: var(--block);
  transform: translateY(-1px);
}
.rule.hit .rule-w { color: var(--block); }
.rule.hit .rule-n { color: var(--text); }

.chamber-foot {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--text-muted);
}
.chamber-foot code { font-family: var(--font-mono); font-size: .95em; color: var(--text-secondary); }

/* ═══ Content blocks ═══ */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap: 18px; }

.feat { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-card); }
.feat-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px;
  background: color-mix(in srgb, var(--primary) 11%, transparent); color: var(--primary); margin-bottom: 13px; }
.feat-ico .ico { width: 18px; height: 18px; }
.feat h3 { margin-bottom: 7px; }
.feat p { font-size: .9rem; color: var(--text-secondary); }

pre.code {
  background: var(--bg-code); color: #e6e3f5;
  border-radius: var(--radius-md); padding: 16px 18px;
  font-family: var(--font-mono); font-size: .84rem; line-height: 1.7;
  overflow-x: auto; border: 1px solid var(--border);
}
pre.code .c { color: #7b7f9e; }
pre.code .p { color: var(--primary-light); }

/* ═══ Install checklist (installed.html) ═══ */
.check {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.check:last-child { border-bottom: none; }
.check-dot {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; margin-top: 2px;
  border: 2px solid var(--border); color: var(--text-muted);
  font-family: var(--font-mono); font-size: .68rem; font-weight: 600;
}
.check[data-status="ok"]      .check-dot { border-color: var(--pass); background: var(--pass); color: #fff; }
.check[data-status="warn"]    .check-dot { border-color: var(--review); background: var(--review); color: #fff; }
.check[data-status="fail"]    .check-dot { border-color: var(--block); background: var(--block); color: #fff; }
.check[data-status="pending"] .check-dot { animation: spin 1.1s linear infinite; border-top-color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }
.check-body { flex: 1; min-width: 0; }
.check-body h3 { font-size: .97rem; margin-bottom: 2px; }
.check-body p { font-size: .86rem; color: var(--text-secondary); }
.check-body code {
  font-family: var(--font-mono); font-size: .82rem;
  background: var(--bg-elevated); padding: 1px 5px; border-radius: 4px;
  word-break: break-all;
}

.copy-row {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-code); border-radius: var(--radius-md);
  padding: 12px 14px; margin: 10px 0;
}
.copy-row code { flex: 1; font-family: var(--font-mono); font-size: .83rem; color: #e6e3f5; overflow-x: auto; }
.copy-row button { color: #9aa1b1; padding: 4px; border-radius: 5px; flex-shrink: 0; }
.copy-row button:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ═══ Footer ═══ */
footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 80px; padding: 52px 20px 26px; }
.footer-grid {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr repeat(auto-fit, minmax(130px,1fr)); gap: 34px;
}
.footer-brand h3 { color: #fff; font-size: 1.05rem; margin-bottom: 7px; }
.footer-brand p { font-size: .86rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em;
  font-family: var(--font-mono); font-weight: 500; margin-bottom: 11px; }
.footer-col a { display: block; color: var(--footer-text); font-size: .88rem; padding: 3px 0; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max-width); margin: 34px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .82rem;
}

/* ═══ Motion, used once, on load ═══ */
.animate-in { opacity: 0; transform: translateY(10px); animation: rise .5s cubic-bezier(.4,0,.2,1) forwards; }
.animate-in:nth-child(2) { animation-delay: .06s; }
.animate-in:nth-child(3) { animation-delay: .12s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ═══════════════════════════════════════════════════════════════
   Bausteine der übrigen Seiten
   ═══════════════════════════════════════════════════════════════ */

main.wide { max-width: 1400px; }

/* Tabellen */
.tbl { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tbl th {
  text-align: left; padding: 11px 18px; background: var(--bg-alt);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .09em;
  text-transform: uppercase; color: var(--text-muted); font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.tbl td { padding: 11px 18px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.tbl tr:last-child td { border-bottom: none; }
.tbl code { font-family: var(--font-mono); font-size: .86rem; color: var(--primary); }

/* Kennzahlen */
.stat {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 800;
  letter-spacing: -.04em; line-height: 1.05; margin-top: 6px;
  font-variant-numeric: tabular-nums; color: var(--text);
}
.stat-review { color: var(--review); }
.stat-block { color: var(--block); }
.stat-label { font-size: .82rem; color: var(--text-secondary); }

.empty { padding: 30px 18px; text-align: center; color: var(--text-muted); font-size: .9rem; }

/* Preise */
.price { display: flex; flex-direction: column; }
.price-featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.price-tag {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  letter-spacing: -.03em; margin-bottom: 10px;
}
.ticks { list-style: none; margin-bottom: 20px; flex: 1; }
.ticks li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: .88rem; color: var(--text-secondary); padding: 5px 0;
}
.ticks .ico { color: var(--pass); flex-shrink: 0; margin-top: .25em; width: 15px; height: 15px; }

/* Formulare */
.auth-wrap { display: grid; place-items: center; min-height: 72vh; padding: 40px 0; }
.auth-card { width: 100%; max-width: 400px; padding: 30px; }
.auth-card label {
  display: block; font-size: .84rem; font-weight: 500;
  margin: 15px 0 5px; color: var(--text-secondary);
}
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
  width: 100%; padding: 10px 13px; font: inherit; font-size: .94rem;
  color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  transition: var(--transition-fast);
}
.auth-card input:focus { outline: none; border-color: var(--primary); box-shadow: var(--shadow-glow); }
.auth-card input[aria-invalid="true"] { border-color: var(--block); }
.hint { font-size: .79rem; color: var(--text-muted); margin-top: 5px; }
.auth-note {
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: .8rem; color: var(--text-muted); line-height: 1.55;
}
.form-msg { margin-top: 12px; font-size: .87rem; min-height: 1.3em; }
.form-msg[data-kind="error"] { color: var(--block); }
.form-msg[data-kind="ok"] { color: var(--pass); }

.pw-meter { height: 3px; background: var(--border); border-radius: 2px; margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--block); transition: width .25s, background .25s; }
.pw-meter[data-level="2"] i { background: var(--review); }
.pw-meter[data-level="3"] i { background: var(--pass); }

.check-inline {
  display: flex !important; gap: 9px; align-items: flex-start;
  margin-top: 18px !important; font-size: .84rem; color: var(--text-secondary);
}
.check-inline input { margin-top: .2em; accent-color: var(--primary); }

/* App-Kopfzeile */
.app-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; padding: 34px 0 24px;
}
.app-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Zeilen in Listen */
.row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 13px 18px; border-bottom: 1px solid var(--border-light);
  font-size: .9rem;
}
.row:last-child { border-bottom: none; }
.row-main { min-width: 0; }
.row-title { font-weight: 500; color: var(--text); }
.row-meta { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }
.row code { font-family: var(--font-mono); font-size: .82rem; }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 0 20px; }
.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 10px; }
.legal h3 { font-size: 1rem; margin: 22px 0 6px; color: var(--text-secondary); }
.legal p, .legal li { color: var(--text-secondary); line-height: 1.75; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal code {
  font-family: var(--font-mono); font-size: .85em;
  background: var(--bg-elevated); padding: 1px 5px; border-radius: 4px;
}
