/* ---------- Tokens ---------- */
:root {
  --color-bg: #F6F5F1;
  --color-bg-dark: #14181C;
  --color-bg-dark-soft: #1D2328;
  --color-ink: #1B2024;
  --color-ink-soft: #4B5359;
  --color-paper-line: #DCD8CE;
  --color-paper-line-dark: #313A40;
  --color-steel: #4C6B7A;
  --color-steel-dark: #35505C;
  --color-steel-tint: #E4EAEB;
  --color-red: #C0392B;
  --color-amber: #C68A1F;
  --color-green: #3F7D58;

  --font-display: 'IBM Plex Serif', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, Segoe UI, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --container-width: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-ink);
}

h1 { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: -0.01em; max-width: 32ch; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--color-steel-dark); }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.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: -999px; top: 0; background: var(--color-ink); color: #fff;
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible {
  outline: 2px solid var(--color-steel-dark);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-steel-dark);
  margin: 0 0 0.9em;
}
.eyebrow--light { color: #9FC2CF; }

.section-lede {
  max-width: 62ch;
  color: var(--color-ink-soft);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn-primary {
  background: var(--color-steel-dark);
  color: #fff;
}
.btn-primary:hover { background: var(--color-ink); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-paper-line);
}
.btn-ghost:hover { border-color: var(--color-ink); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,245,241,0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--color-paper-line);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.wordmark em { font-style: normal; color: var(--color-steel-dark); }
.wordmark-mark { color: var(--color-steel-dark); font-size: 0.9em; }

.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav a {
  font-size: 0.92rem; color: var(--color-ink-soft); text-decoration: none;
}
.primary-nav a:hover { color: var(--color-ink); }
.nav-cta {
  background: var(--color-steel-dark); color: #fff !important;
  padding: 9px 16px; border-radius: var(--radius);
}
.nav-cta:hover { background: var(--color-ink); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-ink); display: block; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--color-bg-dark);
  background-image: linear-gradient(90deg, rgba(10,14,18,0.62), rgba(10,14,18,0.32)), url('images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #EDEBE4;
  padding: 72px 0 84px;
}
.hero .eyebrow { color: #9FC2CF; }
.hero h1 { color: #F6F5F1; }
.ink-mark { color: #E6A23C; }
.hero-lede { color: #C7CBCC; font-size: 1.08rem; max-width: 46ch; }
.hero-footnote { font-family: var(--font-mono); font-size: 0.78rem; color: #7C868B; margin-top: 22px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero .btn-ghost { color: #EDEBE4; border-color: #3C4750; }
.hero .btn-ghost:hover { border-color: #EDEBE4; }

/* Status board (signature element) */
.hero-panel {
  background: var(--color-bg-dark-soft);
  border: 1px solid var(--color-paper-line-dark);
  border-radius: 6px;
  padding: 22px 22px 18px;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: #7C868B; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--color-paper-line-dark);
}
.panel-title { color: #C7CBCC; }

.status-board { list-style: none; margin: 0; padding: 0; }
.status-row {
  display: grid;
  grid-template-columns: 14px auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid #262E33;
  opacity: 0;
  animation: rowIn 0.5s ease forwards;
}
.status-row:last-child { border-bottom: none; }
.status-row:nth-child(1) { animation-delay: 0.05s; }
.status-row:nth-child(2) { animation-delay: 0.15s; }
.status-row:nth-child(3) { animation-delay: 0.25s; }
.status-row:nth-child(4) { animation-delay: 0.35s; }
.status-row:nth-child(5) { animation-delay: 0.45s; }
.status-row:nth-child(6) { animation-delay: 0.55s; }

@keyframes rowIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.led {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--color-ink-soft);
}
.status-row[data-status="red"] .led { background: var(--color-red); box-shadow: 0 0 0 3px rgba(192,57,43,0.18); }
.status-row[data-status="amber"] .led { background: var(--color-amber); box-shadow: 0 0 0 3px rgba(198,138,31,0.18); }
.status-row[data-status="green"] .led { background: var(--color-green); box-shadow: 0 0 0 3px rgba(63,125,88,0.18); }
.status-row[data-status="red"] .led,
.status-row[data-status="amber"] .led {
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(192,57,43,0.18); }
  50% { box-shadow: 0 0 0 5px rgba(192,57,43,0.06); }
}

.status-name { font-family: var(--font-mono); font-size: 0.86rem; color: #EDEBE4; white-space: nowrap; }
.status-detail { font-size: 0.82rem; color: #8B9296; text-align: right; }

.panel-note { font-size: 0.8rem; color: #7C868B; margin: 16px 0 0; }
.panel-note a { color: #9FC2CF; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--muted { background: #EFEDE5; }

/* Problem contrast */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
  margin: 36px 0 40px;
}
.contrast-card {
  border: 1px solid var(--color-paper-line);
  border-radius: 6px;
  padding: 26px 24px;
  background: #fff;
}
.contrast-card--risk { border-color: rgba(192,57,43,0.35); background: #FBF3F1; }
.contrast-label { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-ink-soft); margin-bottom: 10px; }
.contrast-line { font-size: 1.05rem; margin: 0; }
.contrast-divider { width: 1px; background: var(--color-paper-line); }

.risk-list {
  columns: 2; column-gap: 40px;
  padding-left: 20px; max-width: 900px;
  color: var(--color-ink-soft);
}
.risk-list li { margin-bottom: 10px; break-inside: avoid; }

/* Lifecycle table */
.table-wrap { overflow-x: auto; margin: 32px 0 18px; }
.lifecycle-table {
  width: 100%; border-collapse: collapse; min-width: 560px;
  font-size: 0.95rem;
  background: #fff;
}
.lifecycle-table th {
  text-align: left; font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--color-ink-soft); font-weight: 500;
  padding: 10px 16px; border-bottom: 2px solid var(--color-ink);
}
.lifecycle-table td { padding: 12px 16px; border-bottom: 1px solid var(--color-paper-line); }
.lifecycle-table tr:last-child td { border-bottom: none; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; }
.dot--red { background: var(--color-red); }
.dot--amber { background: var(--color-amber); }
.dot--green { background: var(--color-green); }

.table-footnote { color: var(--color-ink-soft); font-size: 0.92rem; max-width: 68ch; }

.hoster-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hoster-cta-fallback { margin: 0; font-size: 0.9rem; color: var(--color-ink-soft); }
.hoster-cta-fallback a { color: var(--color-steel-dark); }

/* Hub-and-spokes diagram (literalizes "UpgradeHub", reuses the site's dot language) */
.hub-diagram { display: flex; flex-direction: column; align-items: center; margin: 40px 0 8px; }
.hub-node {
  background: var(--color-steel-dark); color: #fff; border-radius: 8px;
  padding: 14px 26px; text-align: center;
}
.hub-node-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.hub-node-sub {
  display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.05em; color: #BFD8DE; margin-top: 4px;
}
.hub-connector { width: 2px; height: 24px; background: var(--color-paper-line); }
.hub-spokes {
  display: flex; list-style: none; margin: 0; padding: 20px 0 0; width: 100%; max-width: 760px;
  border-top: 2px solid var(--color-paper-line);
}
.hub-spoke { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 16px; }
.hub-spoke .dot { width: 10px; height: 10px; margin: 0; }
.hub-spoke-name { font-family: var(--font-mono); font-size: 0.8rem; text-align: center; color: var(--color-ink); padding: 0 6px; }

@media (max-width: 640px) {
  .hub-spokes { flex-wrap: wrap; }
  .hub-spoke { flex: 1 1 50%; margin-bottom: 16px; }
}

/* Migration path (custom graphic, no stock imagery) */
.migration-path-label {
  font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-steel-dark); margin: 40px 0 20px;
}
.migration-path { display: flex; flex-direction: column; gap: 30px; margin-bottom: 8px; }
.migration-track { display: flex; align-items: flex-start; gap: 18px; }
.migration-track-label {
  font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-ink-soft); width: 48px; flex-shrink: 0; padding-top: 4px;
}
.migration-stops {
  display: flex; flex: 1; list-style: none; margin: 0; padding: 0; position: relative;
}
.migration-stops::before {
  content: ""; position: absolute; top: 7px; left: 8%; right: 8%; height: 2px;
  background: var(--color-paper-line); z-index: 0;
}
.migration-stop {
  flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; position: relative; z-index: 1;
}
.migration-stop .migration-node {
  width: 14px; height: 14px; margin: 0; box-shadow: 0 0 0 4px #EFEDE5;
}
.migration-stop-name { font-family: var(--font-mono); font-size: 0.85rem; color: var(--color-ink); font-weight: 500; }
.migration-stop-detail { font-size: 0.76rem; color: var(--color-ink-soft); }
.migration-stop--target .migration-stop-name { color: var(--color-steel-dark); }

@media (max-width: 560px) {
  .migration-stop-name { font-size: 0.76rem; }
  .migration-stop-detail { font-size: 0.68rem; }
  .migration-track-label { width: 40px; font-size: 0.65rem; }
}

.target-system {
  margin-top: 32px; padding: 24px; background: var(--color-steel-tint);
  border-radius: 6px; max-width: 620px;
}
.target-system-label { font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-steel-dark); margin-bottom: 10px; }
.target-system ul { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; }
.target-system li { margin-bottom: 6px; }

/* Pull quote */
.quote-section { padding: 56px 0; }
.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  line-height: 1.4;
  max-width: 46ch;
  margin: 0 auto; text-align: center;
  color: var(--color-ink);
  border: none;
  position: relative;
}
.pull-quote::before { content: "„"; }
.pull-quote::after { content: "“"; }

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.package-card {
  background: #fff;
  border: 1px solid var(--color-paper-line);
  border-radius: 6px;
  padding: 26px 22px;
  display: flex; flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.package-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(27,32,36,0.08); }
.package-card--featured {
  border-color: var(--color-steel-dark);
  background: #F2F6F6;
  position: relative;
}
.package-icon { width: 72px; height: 72px; border-radius: 8px; margin-bottom: 14px; display: block; }
.package-stage {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-steel-dark); margin-bottom: 10px;
}
.package-card h3 { margin-bottom: 6px; }
.package-price { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; margin-bottom: 16px; }
.package-price span { font-size: 0.75rem; color: var(--color-ink-soft); font-weight: 400; }
.package-card ul { padding-left: 18px; margin: 0 0 12px; color: var(--color-ink-soft); font-size: 0.92rem; flex-grow: 1; }
.package-card li { margin-bottom: 6px; }
.package-note { font-size: 0.8rem; color: var(--color-ink-soft); font-style: italic; margin: 0; }

/* Process */
.process-list {
  list-style: none; padding: 0; margin: 40px 0 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid var(--color-paper-line);
  border-left: 1px solid var(--color-paper-line);
}
.process-list li {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px 18px;
  border-right: 1px solid var(--color-paper-line);
  border-bottom: 1px solid var(--color-paper-line);
}
.process-num { font-family: var(--font-mono); color: var(--color-steel-dark); font-size: 0.85rem; }
.process-text { font-size: 0.95rem; }

/* EOL section */
.eol-section { background: var(--color-bg-dark); color: #EDEBE4; }
.eol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.eol-copy h2 { color: #F6F5F1; }
.eol-copy p { color: #C7CBCC; }
.ampel-legend { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.ampel-item { font-size: 0.92rem; color: #C7CBCC; }
.ampel-item .dot { width: 9px; height: 9px; }

.eol-form {
  background: var(--color-bg-dark-soft);
  border: 1px solid var(--color-paper-line-dark);
  border-radius: 6px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 6px;
}
.eol-form label { font-size: 0.82rem; color: #9FA6AA; margin-top: 12px; }
.eol-form label:first-child { margin-top: 0; }
.eol-form input, .eol-form textarea, .eol-form select {
  background: #14181C; border: 1px solid var(--color-paper-line-dark); border-radius: var(--radius);
  color: #EDEBE4; font-family: var(--font-body); font-size: 0.95rem; padding: 10px 12px; width: 100%;
}
.eol-form input:focus, .eol-form textarea:focus, .eol-form select:focus { outline-color: #9FC2CF; }
.eol-form button { margin-top: 18px; }
.form-note { font-size: 0.76rem; color: #7C868B; margin: 10px 0 0; }
.eol-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 0.85rem; margin: 12px 0 0; padding: 10px 12px; border-radius: var(--radius); }
.form-status[data-state="ok"] { background: rgba(122, 187, 143, 0.15); color: #9FE0B4; border: 1px solid rgba(122, 187, 143, 0.35); }
.form-status[data-state="error"] { background: rgba(214, 122, 122, 0.15); color: #F0A5A5; border: 1px solid rgba(214, 122, 122, 0.35); }

/* FAQ */
.faq-list { max-width: 760px; margin-top: 32px; }
.faq-item {
  border-bottom: 1px solid var(--color-paper-line);
  padding: 18px 0;
}
.faq-item summary {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--color-steel-dark); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--color-ink-soft); }

.trademark-note { margin-top: 36px; font-size: 0.8rem; color: var(--color-ink-soft); max-width: 70ch; }

/* Closing CTA */
.closing-cta { text-align: center; background: var(--color-steel-tint); }
.closing-cta h2 { margin: 0 auto 0.4em; max-width: 26ch; }
.closing-cta p { max-width: 46ch; margin: 0 auto 28px; color: var(--color-ink-soft); }

/* Footer */
.site-footer { background: var(--color-bg-dark); color: #9FA6AA; padding: 48px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.wordmark--footer { color: #EDEBE4; margin-bottom: 10px; }
.footer-line { max-width: 40ch; font-size: 0.9rem; }
.footer-contact a { color: #9FC2CF; }
.footer-small { font-size: 0.78rem; color: #6B7378; }
.footer-legal { font-size: 0.85rem; margin-top: 10px; }
.footer-legal a { color: #9FC2CF; }
.footer-legal-btn {
  background: none; border: none; padding: 0; margin: 0;
  font-family: var(--font-body); font-size: 0.85rem; color: #9FC2CF;
  text-decoration: underline; cursor: pointer;
}
.footer-legal-btn:hover { color: #EDEBE4; }

/* ---------- Cookie consent ---------- */
.btn-small { padding: 9px 16px; font-size: 0.88rem; }

.consent-banner {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,24,28,0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.consent-banner[hidden] { display: none; }
.consent-inner {
  max-width: 560px; width: 100%; margin: 0 auto;
  background: var(--color-bg-dark-soft);
  border: 1px solid var(--color-paper-line-dark);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.consent-text { color: #C7CBCC; font-size: 0.92rem; margin: 0; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.consent-banner .btn-ghost { color: #EDEBE4; border-color: #3C4750; }
.consent-banner .btn-ghost:hover { border-color: #EDEBE4; }

.consent-modal {
  position: fixed; inset: 0; z-index: 310;
  background: rgba(20,24,28,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.consent-modal[hidden] { display: none; }
.consent-modal-inner {
  background: var(--color-bg); color: var(--color-ink);
  border-radius: 8px; max-width: 520px; width: 100%;
  padding: 32px; max-height: 86vh; overflow-y: auto;
}
.consent-modal-inner h2 { margin-bottom: 20px; }
.consent-category {
  padding: 16px 0; border-top: 1px solid var(--color-paper-line);
}
.consent-category:first-of-type { border-top: none; }
.consent-category-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.consent-category-name { font-weight: 600; flex: 1; }
.consent-locked { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-ink-soft); }
.consent-category p { font-size: 0.88rem; color: var(--color-ink-soft); margin: 0; }

.consent-switch { position: relative; display: inline-block; width: 38px; height: 22px; flex-shrink: 0; }
.consent-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.consent-switch-track {
  position: absolute; inset: 0; background: #C9C4B6; border-radius: 999px; transition: background 0.15s ease;
}
.consent-switch-track::before {
  content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px;
  background: #fff; border-radius: 50%; transition: transform 0.15s ease;
}
.consent-switch input:checked + .consent-switch-track { background: var(--color-steel-dark); }
.consent-switch input:checked + .consent-switch-track::before { transform: translateX(16px); }
.consent-switch input:focus-visible + .consent-switch-track { outline: 2px solid var(--color-steel-dark); outline-offset: 2px; }

.consent-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .consent-inner { flex-direction: column; align-items: stretch; }
  .consent-actions { justify-content: stretch; }
  .consent-actions .btn { flex: 1; text-align: center; }
}

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-page { padding: 64px 0 96px; max-width: 760px; }
.legal-page h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.legal-page h2 { font-size: 1.2rem; margin-top: 2em; max-width: none; }
.legal-page p, .legal-page li { color: var(--color-ink-soft); font-size: 0.98rem; }
.legal-page a { color: var(--color-steel-dark); }
.legal-page .back-link { display: inline-block; margin-bottom: 28px; font-family: var(--font-mono); font-size: 0.85rem; }
.legal-page dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 1.2em 0; }
.legal-page dt { font-weight: 600; color: var(--color-ink); }
.legal-page dd { margin: 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .eol-grid { grid-template-columns: 1fr; }
  .contrast-grid { grid-template-columns: 1fr; }
  .contrast-divider { display: none; }
  .risk-list { columns: 1; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .target-system ul { columns: 1; }

  .nav-toggle { display: flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-paper-line);
    flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 16px;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .nav-cta { margin-top: 6px; }
}

@media (max-width: 560px) {
  .process-list { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
}
