:root {
  color-scheme: dark;
  --bg: #0c0f10;
  --panel: #181c1f;
  --panel-soft: #20272a;
  --text: #f0f3f4;
  --muted: #aeb8bd;
  --line: rgba(255, 255, 255, .12);
  --accent: #8fd3e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--accent); }
.legal-shell { width: min(920px, calc(100% - 32px)); margin: 24px auto 72px; }
.legal-nav, .legal-card {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}
.legal-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.brand { color: var(--text); font-size: 20px; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.brand img { width: 28px; height: 28px; margin-right: 8px; vertical-align: middle; filter: invert(1); }
.legal-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.legal-card { margin-top: 16px; padding: clamp(24px, 5vw, 56px); }
.kicker { color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .16em; }
h1 { margin: 10px 0 12px; font-size: clamp(36px, 7vw, 64px); line-height: .98; letter-spacing: -.065em; }
h2 { margin: 42px 0 12px; font-size: 26px; line-height: 1.15; letter-spacing: -.04em; }
h3 { margin: 26px 0 8px; font-size: 18px; }
p, li { color: var(--muted); }
strong { color: var(--text); }
.notice { margin: 24px 0; padding: 16px 18px; border: 1px solid rgba(143, 211, 232, .28); border-radius: 16px; background: rgba(143, 211, 232, .08); }
.notice p { margin: 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}
.button-primary { background: var(--accent); color: #073342; }
.button-primary:hover { filter: brightness(1.06); }
.meta { color: var(--muted); font-size: 14px; }
footer { padding: 24px 4px 0; color: var(--muted); font-size: 13px; }
@media (max-width: 640px) {
  .legal-nav { align-items: flex-start; flex-direction: column; }
  .legal-links { gap: 10px; }
}
