:root {
  --bg: #0b0f14;
  --panel: #111821;
  --text: #f4f7fb;
  --muted: #a4afbd;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #76a9ff;
  --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Inter Tight", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { color-scheme: dark; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 5%, rgba(70, 119, 196, 0.16), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
}

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--blue); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.7rem 1rem;
  background: var(--text);
  color: var(--bg);
  border-radius: 0.25rem;
}

.skip-link:focus { top: 1rem; }

.legal-nav {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.88);
}

.legal-nav-inner,
.legal-shell {
  width: min(100% - 2rem, 820px);
  margin: 0 auto;
}

.legal-nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.legal-brand { display: inline-flex; align-items: center; text-decoration: none; }
.legal-brand img { display: block; width: 132px; height: auto; }
.legal-nav-links { display: flex; gap: 1.25rem; font-size: 0.9rem; }

.legal-shell { padding: 5rem 0 6rem; }

.legal-eyebrow,
.legal-updated {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
}

.legal-eyebrow { color: var(--blue); }

h1 {
  margin: 0.75rem 0 1rem;
  max-width: 14ch;
  font-size: clamp(2.7rem, 8vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.legal-intro { max-width: 66ch; color: var(--muted); font-size: 1.15rem; }
.legal-updated { margin-top: 1.5rem; color: var(--muted); }

.legal-content {
  margin-top: 3.5rem;
  padding: clamp(1.4rem, 4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 24, 33, 0.7);
}

.legal-content section + section {
  margin-top: 2.6rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 500;
}

p { margin: 0.8rem 0 0; }
ul { margin: 0.9rem 0 0; padding-left: 1.25rem; }
li + li { margin-top: 0.5rem; }
.legal-content p,
.legal-content li { color: var(--muted); }
.legal-content strong { color: var(--text); font-weight: 500; }

.legal-callout {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--blue);
  background: rgba(118, 169, 255, 0.08);
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .legal-nav-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  .legal-nav-links { flex-wrap: wrap; }
  .legal-shell { padding-top: 3.5rem; }
  .legal-footer { flex-direction: column; }
}
