:root {
  color-scheme: dark;
  --ink: #050910;
  --panel: #0b1421;
  --text: #f5f8fc;
  --muted: #aab5c3;
  --gold: #f3c34f;
  --blue: #73b8e7;
  --line: rgba(255, 255, 255, .13);
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-underline-offset: 3px; }
.legal-nav {
  position: sticky;
  z-index: 5;
  top: 0;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1080px, calc(100% - 36px));
  margin: auto;
  background: rgba(5, 9, 16, .78);
  backdrop-filter: blur(20px);
}
.legal-nav::before { content: ""; position: fixed; z-index: -1; inset: 0 0 auto; height: 68px; border-bottom: 1px solid var(--line); background: rgba(5, 9, 16, .78); }
.legal-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: .85rem; font-weight: 750; letter-spacing: .15em; }
.legal-brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; }
.legal-back { color: var(--muted); text-decoration: none; font-size: .83rem; }
.legal-back:hover { color: #fff; }
.legal-hero { position: relative; overflow: hidden; padding: 120px 18px 100px; text-align: center; }
.legal-hero::before { content: ""; position: absolute; inset: -100% 0 auto; width: 70vw; max-width: 850px; aspect-ratio: 1; margin: auto; border-radius: 50%; background: #176eb0; filter: blur(150px); opacity: .22; }
.legal-hero p { position: relative; margin: 0 0 20px; color: var(--gold); font-size: .7rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; }
.legal-hero h1 { position: relative; margin: 0; font-size: clamp(3.7rem, 9vw, 7.8rem); line-height: .9; letter-spacing: -.07em; }
.legal-content { width: min(820px, calc(100% - 36px)); margin: 0 auto 120px; padding: 44px clamp(22px, 6vw, 68px); border: 1px solid var(--line); border-radius: 30px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); box-shadow: 0 40px 100px rgba(0,0,0,.3); }
.legal-content > p:first-child { color: #dce3eb; font-size: 1.08rem; }
.legal-content h2 { margin: 54px 0 16px; padding-top: 6px; color: #fff; font-size: clamp(1.55rem, 3vw, 2.15rem); letter-spacing: -.035em; }
.legal-content h2::before { display: block; width: 34px; height: 2px; margin-bottom: 18px; background: var(--gold); content: ""; }
.legal-content p, .legal-content li { color: var(--muted); line-height: 1.78; }
.legal-content ul { margin: 18px 0 28px; padding-left: 22px; }
.legal-content li { margin: 7px 0; }
.legal-content strong { color: #fff; }
.legal-footer { padding: 30px 18px; border-top: 1px solid var(--line); color: #788392; text-align: center; font-size: .78rem; }
@media (max-width: 560px) {
  .legal-hero { padding: 90px 18px 70px; }
  .legal-content { margin-bottom: 70px; border-radius: 22px; }
  .legal-content h2 { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
