:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e2e8f0;
  background: #0f172a;
  --bg: #0f172a;
  --surface: #172033;
  --surface-2: #1e293b;
  --cyan: #06b6d4;
  --cyan-soft: #67e8f9;
  --red: #ef4444;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.2);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: #e2e8f0; line-height: 1.65; }
a { color: var(--cyan-soft); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 20; padding: 10px 14px; background: #fff; color: #0f172a; }

.site-header, .legal-header {
  min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px max(22px, calc((100vw - var(--max)) / 2)); border-bottom: 1px solid var(--line);
  background: rgba(15, 23, 42, .92); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 10;
}
.brand { display: flex; align-items: center; gap: 12px; color: #f8fafc; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(103,232,249,.45); border-radius: 50%; box-shadow: 0 0 26px rgba(6,182,212,.24); }
.brand-mark::before { content: "∿"; color: var(--cyan-soft); font-size: 30px; font-weight: 900; transform: rotate(-8deg); }
.brand span { display: grid; }
.brand strong { letter-spacing: .02em; }
.brand small { color: var(--muted); }
.site-header nav, .legal-header nav { display: flex; gap: 22px; }
.site-header nav a, .legal-header nav a { color: #cbd5e1; text-decoration: none; font-weight: 700; font-size: .92rem; }
.site-header nav a:hover, .legal-header nav a:hover, .legal-header nav a[aria-current="page"] { color: var(--cyan-soft); }
.header-cta, .button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 10px; text-decoration: none; font-weight: 900; }
.header-cta, .button-primary { background: var(--cyan); color: #06202a; box-shadow: 0 0 30px rgba(6,182,212,.2); }
.button-secondary { border: 1px solid var(--line); color: #e2e8f0; }

.hero { position: relative; overflow: hidden; padding: 110px max(22px, calc((100vw - var(--max)) / 2)) 96px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 75% 35%, rgba(6,182,212,.17), transparent 28%), linear-gradient(rgba(6,182,212,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(6,182,212,.035) 1px, transparent 1px); background-size: auto, 42px 42px, 42px 42px; }
.hero-copy, .hero-console { position: relative; }
.eyebrow { color: var(--cyan-soft); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 900; }
h1, h2, h3 { line-height: 1.12; color: #f8fafc; }
h1 { margin: 12px 0 22px; font-size: clamp(2.75rem, 7vw, 5.5rem); letter-spacing: -.055em; }
h1 em, h2 em { color: var(--cyan-soft); font-style: normal; }
.hero-lead { max-width: 680px; color: #cbd5e1; font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 24px; padding: 0; list-style: none; color: var(--muted); }
.hero-proof strong { display: block; color: #f8fafc; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hero-console { padding: 30px; border: 1px solid rgba(103,232,249,.26); border-radius: 24px; background: linear-gradient(145deg, rgba(30,41,59,.96), rgba(15,23,42,.98)); box-shadow: 0 30px 70px rgba(0,0,0,.34), inset 0 0 46px rgba(6,182,212,.04); }
.scope { height: 190px; display: flex; align-items: center; overflow: hidden; }
.scope svg { width: 100%; filter: drop-shadow(0 0 10px rgba(6,182,212,.75)); }
.readout { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.readout div { padding: 14px; border-radius: 12px; background: rgba(6,182,212,.07); border: 1px solid var(--line); }
.readout small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.readout strong { color: var(--cyan-soft); font: 900 1.35rem ui-monospace, monospace; }

.band { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; border: 1px solid var(--line); background: var(--surface); }
.band div { padding: 22px; border-right: 1px solid var(--line); }
.band div:last-child { border: 0; }
.band strong { color: var(--cyan-soft); display: block; }
.band span { color: var(--muted); font-size: .9rem; }
.section { max-width: var(--max); margin: 0 auto; padding: 100px 22px; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section h2 { margin: 8px 0 16px; font-size: clamp(2rem, 5vw, 3.6rem); letter-spacing: -.035em; }
.section-heading > p:last-child, .card p, .safety p { color: var(--muted); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); }
.card-index { color: var(--cyan-soft) !important; font: 800 .8rem ui-monospace, monospace; letter-spacing: .13em; }
.card h3 { font-size: 1.3rem; }
.safety { padding: 34px; border: 1px solid rgba(239,68,68,.45); border-left: 5px solid var(--red); border-radius: 16px; background: rgba(239,68,68,.06); }
.safety strong { color: #fca5a5; }
.legal-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }

.legal-hero { padding: 72px 22px 55px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 75% 10%, rgba(6,182,212,.15), transparent 30%); }
.legal-hero-inner { max-width: var(--max); margin: auto; }
.legal-kicker { color: var(--cyan-soft); font-weight: 900; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
.legal-hero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); margin-bottom: 12px; }
.legal-updated { color: var(--muted); }
.legal-shell { max-width: var(--max); margin: auto; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 60px; padding: 60px 22px 100px; }
.legal-toc { position: sticky; top: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.legal-toc p { margin-top: 0; font-weight: 900; color: #f8fafc; }
.legal-toc ol { padding-left: 20px; margin-bottom: 0; }
.legal-toc a { color: var(--muted); text-decoration: none; }
.legal-content { min-width: 0; }
.legal-lead { font-size: 1.2rem; color: #cbd5e1; }
.legal-summary, .legal-callout { margin: 28px 0; padding: 20px 22px; border-radius: 12px; background: rgba(6,182,212,.08); border: 1px solid rgba(6,182,212,.25); }
.legal-section { padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.legal-section h2 { font-size: 1.55rem; }
.legal-section p, .legal-section li { color: #cbd5e1; }
.legal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.legal-action { padding: 14px 18px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 800; }
.legal-footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px max(22px, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); color: var(--muted); }
.legal-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-footer a { color: #cbd5e1; }

@media (max-width: 820px) {
  .site-header nav, .header-cta { display: none; }
  .legal-header { align-items: flex-start; flex-direction: column; }
  .legal-header nav { gap: 14px; flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .band, .card-grid { grid-template-columns: 1fr 1fr; }
  .legal-shell { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; }
}
@media (max-width: 560px) {
  .band, .card-grid { grid-template-columns: 1fr; }
  .band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .legal-footer { flex-direction: column; }
}
