:root {
  color-scheme: dark;
  --bg: #020b19;
  --surface: #08182b;
  --surface-2: #0c2238;
  --line: #1b334c;
  --text: #f4f8fc;
  --muted: #a7b8ca;
  --accent: #18b8f2;
  --accent-2: #48d2ff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 5%, rgba(24, 184, 242, .1), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

a { color: var(--accent-2); }
a:hover { color: #8be5ff; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(2, 11, 25, .9);
}

.header-inner,
.legal-wrap,
.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  display: block;
  width: auto;
  height: 66px;
}

.back-link {
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.legal-wrap { padding: 72px 0 96px; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { line-height: 1.2; }

h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 4.7rem);
  letter-spacing: -.045em;
}

.updated {
  margin: 16px 0 44px;
  color: var(--muted);
}

.legal-card {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(12, 34, 56, .96), rgba(5, 20, 36, .96));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.legal-card section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
}

h3 { margin: 24px 0 8px; font-size: 1.05rem; }
p { margin: 0 0 13px; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 10px 0 0; padding-left: 1.25rem; }
li + li { margin-top: 7px; }

.contact-block {
  padding: 22px;
  border: 1px solid rgba(24, 184, 242, .25);
  border-radius: 16px;
  background: rgba(24, 184, 242, .06);
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .9rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

@media (max-width: 640px) {
  .header-inner, .legal-wrap, .footer-inner { width: min(100% - 28px, 1120px); }
  .header-inner { min-height: 74px; }
  .brand img { height: 52px; }
  .legal-wrap { padding: 48px 0 70px; }
  .updated { margin-bottom: 30px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
