:root {
  --ink: #05070e;
  --panel: #101522;
  --line: rgba(255,255,255,.1);
  --gold: #ffd75a;
  --white: #f7f7f4;
  --muted: #a8b0c2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(79,94,151,.12), transparent 28%),
    radial-gradient(circle at 12% 18%, rgba(255,215,90,.05), transparent 26%),
    var(--ink);
  color: var(--white);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.72;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .25;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.3px);
  background-size: 137px 137px;
}

a { color: inherit; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(5,7,14,.9);
  backdrop-filter: blur(16px);
}

.legal-nav {
  width: min(1100px, calc(100% - 36px));
  min-height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-brand {
  color: var(--gold);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 1.18rem;
  letter-spacing: .12em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link {
  color: #c6cbd5;
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.back-link:hover { color: var(--gold); }

.legal-main {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0 100px;
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--white);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .95;
  text-transform: uppercase;
}

.legal-lead {
  max-width: 700px;
  margin: 23px 0 40px;
  color: var(--muted);
  font-size: 1rem;
}

.legal-card {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17,22,36,.96), rgba(8,11,19,.98));
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
}

.legal-card h2 {
  margin: 48px 0 15px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--gold);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.15;
  text-transform: uppercase;
}

.legal-card h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.legal-card p {
  margin: 0 0 16px;
  color: #c3c8d2;
  font-size: .92rem;
}

.legal-card a { color: var(--gold); text-underline-offset: 3px; }

.source-note {
  margin: 30px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: rgba(255,215,90,.055);
  color: var(--muted);
  font-size: .8rem;
}

.legal-footer {
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  color: #778095;
  font-size: .75rem;
}

.legal-footer-row {
  width: min(1100px, calc(100% - 36px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 680px) {
  .legal-main { padding-top: 58px; }
  .legal-card { border-radius: 18px; }
  .legal-footer-row { align-items: flex-start; flex-direction: column; }
}
