/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg:          #0d0f14;
  --surface:     #161b22;
  --surface-2:   #1e2530;
  --border:      #2d3748;
  --text:        #e2e8f0;
  --text-muted:  #8b9ab0;
  /* --accent : réconcilié sur l'accent CDS §2.1 (vert corpus #16a34a). Remplace la valeur
     locale #4ade80 ; jamais le bleu halluciné du run c27ad850 (≠ CDS). Sur --bg #0d0f14 :
     contraste 5.82:1 ≥ AA (table de contrastes en description de PR). */
  --accent:      #16a34a;
  --accent-dim:  #0f2d1b;
  --warn:        #facc15;
  --warn-dim:    #1a1600;
  --info:        #60a5fa;
  --info-dim:    #0a1628;
  --purple:      #c084fc;
  --purple-dim:  #1a0a2e;
  --danger:      #f87171;
  --font-mono: 'Cascadia Code', 'Fira Code', 'JetBrains Mono', 'Courier New', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-w: 1080px;

  /* ── Design tokens CDS — valeurs EXACTES de CDS-corpus-design-system §2.1/2.3/2.4/2.5.
     Posés en :root (source unique), additifs. Aucune valeur inventée ni reprise du run
     halluciné c27ad850. Palette santé/statut §2.1 (fill · tint · ink/text · on-fill). ── */
  --fresh: #16a34a;   --fresh-tint: #dcfce7;   --fresh-ink: #15803d;   --fresh-on: #ffffff;
  --review: #d97706;  --review-tint: #fef3c7;  --review-ink: #b45309;  --review-on: #1c1917;
  --dormant: #9ca3af; --dormant-tint: #f3f4f6; --dormant-ink: #6b7280; --dormant-on: #ffffff;
  --accent-tint: #dcfce7; --accent-ink: #15803d; --accent-on: #ffffff;
  /* §2.3 Espacement — échelle 4 */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px;
  /* §2.4 Typographie — tailles */
  --fs-micro: 11px; --fs-secondary: 12px; --fs-body: 14px; --fs-title: 15px;
  /* §2.5 Rayons — spine 2 · sm 4 · pill 9 · card 12 */
  --radius-spine: 2px; --radius-sm: 4px; --radius-pill: 9px; --radius-card: 12px;
  --r: var(--radius-sm);  /* rayon générique = radius-sm CDS (4px, valeur inchangée) */
}

/* ── Skip link — accessibilité clavier ──────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  z-index: 200;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-decoration: none;
  border-radius: 0 0 var(--r) 0;
}
.skip-link:focus { top: 0; outline: 2px solid var(--bg); outline-offset: 2px; }

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--surface-2);
  padding: 0.1em 0.35em;
  border-radius: 2px;
}

/* ── Focus visible — WCAG 2.4.7 ─────────────────────────────────────
   Anneau toujours visible au clavier, jamais au clic (focus-visible).
   Priorité max : surcharge les règles outline spécifiques aux composants.
────────────────────────────────────────────────────────────────────── */
:focus { outline: none; }  /* retiré UNIQUEMENT au profit de l'anneau :focus-visible ci-dessous */
:focus-visible {
  outline: 2px solid var(--accent);  /* CDS §2.6 : anneau = accent, jamais supprimé sans remplacement */
  outline-offset: 2px;               /* CDS §2.6 : offset 2px */
  border-radius: var(--r);
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

/* Mobile-first : padding réduit ; élargi dès 480 px */
section { padding: 2.5rem 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

@media (min-width: 480px) {
  .container { padding: 0 1.5rem; }
  section { padding: 4rem 0; }
}

/* ── Typography ─────────────────────────────────────────────────────── */
h2 {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
h3 { line-height: 1.3; }
.section-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.sourcer {
  color: var(--warn);
  font-style: italic;
  font-size: 0.8rem;
}
.src-note {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── Nav ────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.25rem;
}
.nav-brand {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

/* Liens nav masqués sur mobile ; visibles à partir de 720 px */
.nav-links {
  list-style: none;
  display: none;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .nav-links { display: flex; }
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.nav-links a:hover { color: var(--accent); text-decoration: none; }

/* Cible de tap minimale 44 × 44 px — WCAG 2.5.5 */
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.25rem;
}

/* ── 1. HÉRO ────────────────────────────────────────────────────────── */
#hero { padding: 3rem 0 2.5rem; }

@media (min-width: 480px) {
  #hero { padding: 5rem 0 4rem; }
}

.hero-tag {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
#hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
#hero h1 em { color: var(--accent); font-style: normal; }
.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2rem;
  line-height: 1.75;
}
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.chip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.45rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.chip strong { color: var(--text); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.55rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  border-radius: var(--r);
  transition: background 0.15s, color 0.15s;
}
.btn-primary:hover {
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
}

/* CTA secondaire + groupe d'actions du héro (patch surfaces : /signup, /app, statut) */
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.55rem 1.4rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  border-radius: var(--r);
  transition: background 0.15s, color 0.15s;
}
.btn-ghost:hover { background: var(--accent-dim); text-decoration: none; }
/* CTA dans la nav — accentué pour relier la porte d'onboarding */
.nav-cta {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.35rem 0.9rem;
  border-radius: var(--r);
}
.nav-cta:hover { background: var(--accent); color: var(--bg); text-decoration: none; }

/* ── 2. BOUCLE ──────────────────────────────────────────────────────── */
.sandbox-center { text-align: center; }
.pipeline-note { margin-top: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.pipeline {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem 1rem;
  overflow-x: auto;
}

@media (min-width: 480px) {
  .pipeline { padding: 2rem 1.5rem; }
}

.pipeline-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.pipeline-arrow {
  font-size: 1.4rem;
  color: var(--text-muted);
  line-height: 1;
}
.cluster {
  border: 1px dashed var(--border);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  width: 100%;
  max-width: 540px;
}
.cluster-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}
.pill {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  border: 1px solid;
  white-space: nowrap;
}
.pill-llm  { background: var(--info-dim);   border-color: var(--info);   color: var(--info);   }
.pill-cg   { background: var(--purple-dim); border-color: var(--purple); color: var(--purple); }
.pill-gate { background: var(--warn-dim);   border-color: var(--warn);   color: var(--warn);   }
.pill-hitl { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); }

.sandbox-badge {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--purple-dim);
  border: 1px solid var(--purple);
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.15rem 0.55rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
}
.gate-box {
  background: var(--warn-dim);
  border: 1px solid var(--warn);
  border-radius: var(--r);
  padding: 0.9rem 1.2rem;
  width: 100%;
  max-width: 320px;
}
.gate-box .gate-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--warn);
  margin-bottom: 0.5rem;
}
.gate-box ul {
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 2;
}
.gate-box ul li::before { content: '✓ '; color: var(--warn); }
.hitl-box {
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--r);
  padding: 0.9rem 1.2rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
}
.hitl-box .hitl-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.hitl-box p { font-size: 0.78rem; color: var(--text-muted); }

.pipeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  justify-content: center;
}
.legend-item { display: flex; align-items: center; gap: 0.4rem; }
.legend-dot {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid currentColor; flex-shrink: 0;
}
.ld-llm  { color: var(--info); }
.ld-cg   { color: var(--purple); }
.ld-gate { color: var(--warn); }
.ld-hitl { color: var(--accent); }

/* ── 3. CATALOGUE ───────────────────────────────────────────────────── */
.wave-block { margin-bottom: 2.75rem; }
.wave-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}
.wave-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}
.badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  border: 1px solid;
}
.badge-op   { background: var(--accent-dim); color: var(--accent); border-color: var(--accent); }
.badge-part { background: var(--warn-dim);   color: var(--warn);   border-color: var(--warn);   }

.missions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .missions-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
}

.mission-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1rem 1.1rem;
  transition: border-color 0.15s;
}
.mission-card:hover { border-color: var(--text-muted); }
.mission-card h3 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.mission-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }
.mission-status {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}
.ms-op   { color: var(--accent); }
.ms-part { color: var(--warn); }

/* ── 4. CAS RÉELS ───────────────────────────────────────────────────── */
#cas-reels .src-note { margin-top: 1.25rem; }
.facts-notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--info);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.facts-notice strong { color: var(--text); font-family: var(--font-mono); }

.facts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 560px) {
  .facts-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
}

.fact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1.1rem 1.2rem;
}
.fact-id {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.07em;
  margin-bottom: 0.3rem;
}
.fact-card h3 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.45rem;
}
.fact-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }
.fact-tag {
  display: inline-block;
  margin-top: 0.65rem;
  background: var(--surface-2);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

/* ── 5. DIFFÉRENCIATEURS ────────────────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 560px) {
  .diff-grid { grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
}
.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem 1.2rem;
}
.diff-card h3 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--info);
  margin-bottom: 0.4rem;
}
.diff-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

/* ── 6. SÛRETÉ / GOUVERNANCE ────────────────────────────────────────── */
.gov-subtitle {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.gov-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.25rem 0 2rem;
}
@media (min-width: 560px) {
  .gov-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}
.gov-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem;
}
.gov-name {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.gov-name.auto { color: var(--info); }
.gov-name.gate { color: var(--warn); }
.gov-name.hitl { color: var(--accent); }
.gov-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.55; }

.criticite-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.crit {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.8rem 1.1rem;
  min-width: 90px;
  text-align: center;
  font-family: var(--font-mono);
}
.crit .cl {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.crit p { font-size: 0.7rem; color: var(--text-muted); }
.crit.a { border-color: var(--danger); }
.crit.a .cl { color: var(--danger); }
.crit.b { border-color: var(--warn); }
.crit.b .cl { color: var(--warn); }
.crit.c { border-color: var(--text-muted); }
.crit.c .cl { color: var(--text-muted); }

.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.2rem;
  margin-top: 1.5rem;
}
.info-box h3 {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.info-box p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

/* ── 7. CTA ─────────────────────────────────────────────────────────── */
#contact { background: var(--surface); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
}

.contact-info h3 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.contact-info p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.75rem; }
.contact-notice {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-form { display: flex; flex-direction: column; gap: 0.75rem; }
.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Champs de formulaire — focus explicite sans outline: none */
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  min-height: 2.75rem;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 0;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select option { background: var(--bg); }

.btn-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--r);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.55rem 1.4rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn-submit:hover { background: var(--accent); color: var(--bg); }

/* ── Footer ─────────────────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ── Page 404 ────────────────────────────────────────────────────────── */
.page-404 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 2rem;
}
.page-404-inner {
  max-width: 40rem;
  text-align: center;
}
.page-404-inner h1 {
  font-family: var(--font-mono);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.page-404-inner p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* ── Focus clavier visible sur liens et boutons (a11y — apport de la mission
   d'accessibilité cc7, conservé lors de la refonte commerciale de la vitrine).
   Source : CDS-corpus-design-system §2.6 — anneau 2px, jamais supprimé. ── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── Pages légales (mentions, confidentialité, CGV) ─────────────────────────
   Colonne de lecture étroite : ces pages se lisent en continu, pas en survol.
   Réutilise les tokens du site — aucune couleur ni police nouvelle. */
.legal { max-width: 46rem; }
.legal h1 { margin-bottom: 0.35rem; }
.legal .legal-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: 1.05rem;
  margin: 2.25rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal h3 { font-size: 0.95rem; margin: 1.25rem 0 0.4rem; }
.legal p, .legal li { line-height: 1.65; margin-bottom: 0.75rem; }
.legal ul { padding-left: 1.15rem; margin-bottom: 1rem; }
.legal .legal-id {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 1rem;
}
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
