:root {
  --text: #f6f8ff;
  --muted: #aeb7d4;
  --line: rgba(255, 255, 255, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(58, 168, 255, 0.22), transparent 34rem),
    radial-gradient(circle at top right, rgba(139, 92, 246, 0.28), transparent 36rem),
    linear-gradient(180deg, #070912 0%, #090b15 42%, #05060c 100%);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: #5eead4; }
a:focus-visible { outline: 2px solid #5eead4; outline-offset: 5px; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
header { background: rgba(7, 9, 18, 0.74); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 15px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; }
.site-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 14px; }
.brand span { display: block; line-height: 1.05; }
.brand small { color: var(--muted); font-weight: 600; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.nav-links, .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.nav-links { color: var(--muted); font-size: 14px; }
.legal { max-width: 820px; padding-block: 64px 76px; overflow-wrap: anywhere; }
h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.08; letter-spacing: -0.055em; margin-bottom: 20px; }
h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; letter-spacing: -0.025em; margin-bottom: 14px; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal p + p { margin-top: 14px; }
.legal section { margin-top: 32px; }
.legal ul { padding-left: 24px; }
.legal li + li { margin-top: 8px; }
.legal a { color: #8ed6ff; }
footer { padding: 34px 0 46px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; }
.footer-grid strong { color: var(--text); }
@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1180px); }
  .nav { min-height: 70px; }
  .legal { padding-block: 44px 54px; }
}
