/* =========================================================
   OKA Aktionsprodukte — Style
   An das Corporate Design von oka.de angelehnt:
   – dunkler Anthrazit-Header, helles Grau als Fläche
   – Helvetica Neue (self-hosted analog zu oka.de), 400/700
   – scharfe Ecken (0px radius)
   – Türkis-Grün als sparsamer Aktionsakzent (aus OKA-Markenpalette)
   ========================================================= */

:root,
[data-theme='light'] {
  /* Surfaces */
  --bg: #f5f5f5;              /* OKA hellgrau */
  --surface: #ffffff;
  --surface-2: #ffffff;
  --surface-offset: #eaeaea;
  --divider: #dcdcdc;
  --border: #cfcfcf;

  /* Text */
  --text: #3c3c3c;            /* OKA Überschriften */
  --text-muted: #6b6b6b;
  --text-faint: #a0a0a0;
  --text-inverse: #f5f5f5;

  /* Ink / Dark surfaces */
  --ink: #3b3b39;             /* OKA dunkle Sektion */
  --ink-2: #414141;           /* OKA Header */

  /* Accent */
  --accent: #00b187;          /* OKA "creative" Türkis-Grün */
  --accent-hover: #00926f;
  --accent-soft: #d3f0e7;

  /* CTA Grau (OKA-Button-Ton) */
  --cta: #414141;
  --cta-hover: #3b3b39;

  /* Radius (OKA: 0px) */
  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 0px;
  --r-xl: 0px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.14);
  --t: 200ms cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Fonts — analog zum OKA-Stack, ergänzt um moderne System-Fonts */
  --font-body: 'Helvetica Neue', 'HelveticaNeue', Helvetica, 'Segoe UI', Arial, sans-serif;
  --font-display: 'Helvetica Neue', 'HelveticaNeue', Helvetica, 'Segoe UI', Arial, sans-serif;

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-24: 6rem;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.82rem);
  --text-sm: clamp(0.875rem, 0.83rem + 0.2vw, 0.95rem);
  --text-base: 1rem;
  --text-lg: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  --text-xl: clamp(1.35rem, 1.15rem + 0.9vw, 1.7rem);
  --text-2xl: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem);
  --text-hero: clamp(2.2rem, 1.4rem + 3.6vw, 4.2rem);

  --container: 1280px;
}

[data-theme='dark'] {
  --bg: #2a2a29;
  --surface: #333331;
  --surface-2: #3b3b39;
  --surface-offset: #414141;
  --divider: #4a4a48;
  --border: #555553;
  --text: #f0f0ee;
  --text-muted: #b6b6b6;
  --text-faint: #7c7c7a;
  --text-inverse: #2a2a29;
  --ink: #14140f;
  --ink-2: #1a1a17;
  --accent: #00b187;
  --accent-hover: #2fcfa8;
  --accent-soft: #143d34;
  --cta: #767676;
  --cta-hover: #8a8a8a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.55);
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.005em; color: var(--text); }
h1 { font-size: var(--text-hero); font-weight: 700; }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); font-weight: 700; letter-spacing: 0; }
p { max-width: 66ch; }
::selection { background: var(--accent-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(var(--container), 100% - 2rem); margin-inline: auto; }

/* =============================== HEADER =============================== */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink-2);   /* OKA dunkler Header */
  color: var(--text-inverse);
  border-bottom: 1px solid rgba(0,0,0,0.2);
}
.header-inner { display: flex; align-items: center; gap: var(--s-8); height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 16px; color: var(--text-inverse); }
.brand-logo { height: 38px; width: auto; display: block; }
.brand-sub-inline {
  font-size: 0.7rem; color: rgba(245,245,245,0.7); letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  padding-left: 16px; border-left: 1px solid rgba(255,255,255,0.2);
}
.nav { display: flex; gap: var(--s-8); margin-left: auto; }
.nav a {
  font-size: 0.8rem; color: rgba(245,245,245,0.85); font-weight: 700;
  padding: 8px 2px; border-bottom: 2px solid transparent;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: color var(--t), border-color var(--t);
}
.nav a:hover { color: #ffffff; border-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn-ghost { color: rgba(245,245,245,0.75); }
.header-cta .btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; color: var(--text-inverse); }
.nav-toggle span { width: 22px; height: 2px; background: currentColor; }

/* =============================== BUTTONS =============================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; font-size: 0.85rem; font-weight: 700;
  border-radius: 0; border: 1px solid transparent;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
  white-space: nowrap;
}
.btn-lg { padding: 16px 28px; font-size: 0.9rem; }
.btn-primary { background: var(--cta); color: var(--text-inverse); }
.btn-primary:hover { background: var(--accent); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--text-inverse); border-color: var(--ink); }
/* Auf dunklem Untergrund (Hero) */
.hero .btn-outline { color: #ffffff; }
.hero .btn-outline:hover { background: #ffffff; color: var(--ink); border-color: #ffffff; }
.btn-ghost { padding: 10px; color: var(--text-muted); }
.btn-ghost:hover { color: var(--text); background: var(--surface-offset); }
.btn-icon { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.btn-icon:hover { background: var(--surface-offset); }

/* =============================== HERO =============================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #ffffff;
  min-height: clamp(520px, 70vh, 760px);
  display: flex; align-items: center;
}
.hero-media {
  position: absolute; inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover; background-position: 70% center;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,20,18,0.92) 0%, rgba(20,20,18,0.72) 38%, rgba(20,20,18,0.30) 70%, rgba(20,20,18,0.15) 100%),
    linear-gradient(180deg, rgba(20,20,18,0.15) 0%, rgba(20,20,18,0.0) 30%, rgba(20,20,18,0.35) 100%);
}
.hero .container { position: relative; z-index: 2; width: min(var(--container), 100% - 2rem); padding-block: clamp(3rem, 8vw, 6rem); }
.hero-copy { max-width: 640px; }
.eyebrow-hero {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent);
  padding-bottom: 8px; border-bottom: 2px solid var(--accent);
  margin-bottom: var(--s-8);
}
.hero h1 {
  color: #ffffff; margin-bottom: var(--s-6);
  font-weight: 700; line-height: 1.05;
}
.hero .lead {
  font-size: var(--text-lg); color: rgba(245,245,245,0.85); max-width: 58ch; margin-bottom: var(--s-10);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: var(--s-12); }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); border-top: 1px solid rgba(255,255,255,0.18); padding-top: var(--s-6); max-width: 640px; }
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts dt { font-size: 0.7rem; color: rgba(245,245,245,0.6); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; }
.hero-facts dd { font-size: 1.15rem; color: #ffffff; font-weight: 700; }

/* =============================== SECTIONS =============================== */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--divider); }

/* =============================== FILTERS =============================== */
.filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--s-10); border-bottom: 1px solid var(--divider); padding-bottom: 0; }
.chip {
  padding: 12px 20px 14px; border: 0; border-bottom: 2px solid transparent;
  color: var(--text-muted); font-size: 0.82rem; font-weight: 700;
  background: transparent; transition: color var(--t), border-color var(--t);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.chip:hover { color: var(--text); }
.chip.is-active { color: var(--text); border-bottom-color: var(--accent); }

/* =============================== PRODUCT GRID =============================== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--s-6); }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--divider);
  border-radius: 0; overflow: hidden;
  transition: box-shadow var(--t), border-color var(--t);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--border); }
.card-media {
  position: relative; aspect-ratio: 4/3;
  background: #ffffff;
  display: grid; place-items: center; padding: 22px;
  border-bottom: 1px solid var(--divider);
}
.card-media img { max-width: 82%; max-height: 82%; object-fit: contain; transition: transform var(--t); }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: var(--s-6); flex: 1; }
.card-kicker { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.card-subtitle { font-size: 0.85rem; color: var(--text-muted); font-weight: 400; margin-top: -6px; }
.card-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.55; }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4); margin-top: auto; padding-top: var(--s-4); border-top: 1px solid var(--divider); }
.card-price { display: flex; flex-direction: column; }
.card-price small { color: var(--text-muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.card-price strong { font-size: 1.15rem; color: var(--text); font-weight: 700; }
.card-dims { font-size: 0.78rem; color: var(--text-muted); text-align: right; }
.card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; padding: 12px 16px; font-weight: 700;
  color: var(--text-inverse); background: var(--cta);
  align-self: flex-start; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: background var(--t);
}
.card-cta:hover { background: var(--accent); }
.card-cta svg { transition: transform var(--t); }
.card:hover .card-cta svg { transform: translateX(3px); }

/* =============================== BENEFITS =============================== */
.section-head { margin-bottom: var(--s-10); max-width: 900px; }
.section-head h2 { max-width: 22ch; margin-bottom: var(--s-4); }
.section-sub { color: var(--text-muted); font-size: var(--text-lg); max-width: 65ch; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--divider); background: var(--surface); }
.benefit {
  padding: var(--s-10) var(--s-8);
  display: flex; flex-direction: column; gap: 14px;
  border-right: 1px solid var(--divider); border-bottom: 1px solid var(--divider);
}
.benefit:nth-child(3n) { border-right: none; }
.benefit:nth-last-child(-n+3) { border-bottom: none; }
.benefit svg { width: 30px; height: 30px; color: var(--accent); }
.benefit h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.benefit p { color: var(--text-muted); font-size: 0.9rem; }

/* =============================== ANFRAGE =============================== */
.anfrage-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.anfrage-copy .eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); padding-bottom: 6px; border-bottom: 2px solid var(--accent); margin-bottom: var(--s-6); }
.anfrage-copy p { color: var(--text-muted); font-size: var(--text-lg); margin: var(--s-6) 0; }
.anfrage-list { list-style: none; display: grid; gap: 12px; }
.anfrage-list li { position: relative; padding-left: 22px; color: var(--text); }
.anfrage-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

.anfrage-form { background: var(--surface); border: 1px solid var(--divider); padding: var(--s-8); display: grid; gap: var(--s-4); }
.anfrage-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); font-weight: 700; }
.anfrage-form input, .anfrage-form textarea {
  padding: 12px 14px; background: var(--bg); border: 1px solid var(--border);
  border-radius: 0; font-size: 0.95rem; font-weight: 400;
  color: var(--text); text-transform: none; letter-spacing: 0;
}
.anfrage-form input:focus, .anfrage-form textarea:focus { outline: none; border-color: var(--ink); background: #ffffff; }
.anfrage-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.anfrage-form textarea { resize: vertical; }
.anfrage-form .check { flex-direction: row; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; font-size: 0.78rem; color: var(--text-muted); font-weight: 400; }

/* =============================== FOOTER =============================== */
.site-footer { background: var(--ink); color: var(--text-inverse); padding: var(--s-16) 0 var(--s-8); }
.site-footer .muted { color: rgba(245, 245, 245, 0.55); font-size: 0.9rem; margin-top: 12px; }
.brand-footer { color: var(--text-inverse); }
.brand-footer .brand-sub-inline { color: rgba(245, 245, 245, 0.6); border-color: rgba(255,255,255,0.15); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-8); padding-bottom: var(--s-10); border-bottom: 1px solid rgba(255,255,255,0.10); }
.site-footer h4 { color: #ffffff; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 16px; }
.footer-list { list-style: none; display: grid; gap: 10px; }
.footer-list a { color: rgba(245, 245, 245, 0.7); font-size: 0.9rem; }
.footer-list a:hover { color: #ffffff; }
.site-footer .copy { display: flex; justify-content: space-between; gap: var(--s-4); padding-top: var(--s-6); font-size: 0.78rem; color: rgba(245, 245, 245, 0.45); }

/* =============================== MODAL =============================== */
.modal {
  border: none; padding: 0; max-width: min(1180px, 96vw); width: 100%;
  max-height: 92vh; border-radius: 0;
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.modal::backdrop { background: rgba(20, 20, 18, 0.6); backdrop-filter: blur(4px); }
.modal[open] { animation: pop 200ms cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes pop { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 0;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--divider); font-size: 22px; line-height: 1;
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--surface-offset); }
.modal-inner { display: grid; grid-template-columns: 1.2fr 1fr; max-height: 92vh; overflow: hidden; }

.viewer {
  position: relative; background: #ffffff;
  border-right: 1px solid var(--divider);
  min-height: 480px;
}
.viewer model-viewer { width: 100%; height: 100%; --poster-color: transparent; background: transparent; }
.viewer-toolbar {
  position: absolute; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; justify-content: space-between; pointer-events: none;
}
.viewer-toolbar > * { pointer-events: auto; }
.viewer-badge {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700;
  padding: 6px 12px; border-radius: 0;
  background: rgba(59,59,57,0.9); color: #ffffff;
}
.viewer-actions { display: flex; gap: 8px; }
.viewer-fallback {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  color: var(--text-muted); padding: 2rem; gap: 6px;
}
.viewer-fallback code { background: var(--surface-offset); padding: 2px 6px; font-size: 0.85em; }

.details { padding: clamp(1.5rem, 3vw, 2.4rem); overflow: auto; display: flex; flex-direction: column; gap: var(--s-4); }
.details .eyebrow-sub { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); font-weight: 700; }
.details h3 { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); font-weight: 700; }
.details-desc { color: var(--text-muted); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; border-block: 1px solid var(--divider); padding-block: var(--s-4); margin-block: var(--s-2); }
.specs > div { display: flex; flex-direction: column; gap: 3px; }
.specs dt { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }
.specs dd { font-size: 1rem; color: var(--text); font-weight: 700; }
.feature-block h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 10px; font-weight: 700; }
.feature-block ul { list-style: none; display: grid; gap: 8px; }
.feature-block li { position: relative; padding-left: 22px; font-size: 0.92rem; }
.feature-block li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 12px; height: 2px; background: var(--accent); }

.variants { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.variants .variants-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); font-weight: 700; width: 100%; }
.variant {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border: 1px solid var(--border); border-radius: 0;
  font-size: 0.78rem; font-weight: 700; color: var(--text);
  background: var(--surface); text-transform: uppercase; letter-spacing: 0.06em;
}
.variant:hover { border-color: var(--ink); }
.variant.is-active { background: var(--ink); color: #ffffff; border-color: var(--ink); }
.variant .swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08); flex-shrink: 0; }
.variant.is-info { cursor: default; background: var(--surface-2); }
.variant.is-info:hover { border-color: var(--border); }
.variants-hint { width: 100%; margin: 8px 0 0; font-size: 0.78rem; color: var(--text-muted); font-style: normal; }
.variants-note { margin: 0; font-size: 0.9rem; color: var(--text); font-weight: 700; letter-spacing: 0.02em; }

.modal-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: var(--s-4); }

/* =============================== RESPONSIVE =============================== */
@media (max-width: 960px) {
  .nav, .header-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .hero-media { background-position: center; }
  .hero-media::after { background: linear-gradient(180deg, rgba(20,20,18,0.85) 0%, rgba(20,20,18,0.75) 100%); }
  .anfrage-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit { border-right: 1px solid var(--divider) !important; border-bottom: 1px solid var(--divider) !important; }
  .benefit:nth-child(2n) { border-right: none !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .modal-inner { grid-template-columns: 1fr; max-height: 92vh; overflow: auto; }
  .viewer { min-height: 340px; border-right: none; border-bottom: 1px solid var(--divider); }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .benefit { border-right: none !important; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer .copy { flex-direction: column; }
  .anfrage-form .row { grid-template-columns: 1fr; }
  .header-inner { height: 64px; gap: var(--s-3); }
  .brand-sub-inline { display: none; }
  .brand-logo { height: 30px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* =============================== LEGAL PAGES =============================== */
.legal-page { background: var(--bg); }
.legal-container { max-width: 820px; }
.legal-container h1 { margin-bottom: var(--s-6); }
.legal-container h2 { margin-top: var(--s-10); margin-bottom: var(--s-3); font-size: 1.25rem; letter-spacing: -0.005em; }
.legal-container h3 { margin-top: var(--s-6); margin-bottom: var(--s-2); font-size: 1.02rem; }
.legal-container p { color: var(--text); font-size: 0.95rem; line-height: 1.7; margin-bottom: var(--s-3); }
.legal-container ul, .legal-container ol { color: var(--text); font-size: 0.95rem; line-height: 1.7; padding-left: 1.4em; margin-bottom: var(--s-4); }
.legal-container li { margin-bottom: 4px; }
.legal-container a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-container a:hover { color: var(--text); }
.legal-container .eyebrow { color: var(--accent); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: var(--s-3); display: block; }
.legal-lead { font-size: 1.02rem; color: var(--text); background: var(--surface); border-left: 3px solid var(--accent); padding: 18px 22px; margin-block: var(--s-6) var(--s-6); }
.legal-source { margin-top: var(--s-10); padding-top: var(--s-6); border-top: 1px solid var(--divider); color: var(--text-muted); font-size: 0.82rem; }
.legal-actions { display: flex; gap: 12px; margin-block: var(--s-6); flex-wrap: wrap; }
.pdf-embed { border: 1px solid var(--divider); background: var(--surface); margin-block: var(--s-6) var(--s-10); }
.pdf-embed object { display: block; }
.legal-toc { columns: 1; }
@media (min-width: 640px) { .legal-toc { columns: 2; column-gap: var(--s-8); } }
