:root {
  color-scheme: dark;
  --bg: #050505;
  --surface: rgba(14, 14, 14, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f3f3f3;
  --muted: #b8b8b8;
  --dim: #8f8f8f;
  --blue: #30c0f0;
  --green: #40b0a0;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(48, 192, 240, 0.16), transparent 34rem),
    radial-gradient(circle at 86% 18%, rgba(64, 176, 160, 0.13), transparent 30rem),
    linear-gradient(180deg, #050505 0%, #080909 48%, #050505 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 50px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  padding: 10px 14px;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: rgba(48, 192, 240, 0.45);
  background: rgba(48, 192, 240, 0.1);
  color: white;
}

.legal-hero {
  padding: clamp(52px, 9vw, 96px) 0 28px;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 10px 14px;
  font-size: 0.92rem;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  max-width: 780px;
  margin-top: 22px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.06;
  text-wrap: balance;
}

.hero-copy {
  max-width: 820px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  padding: 9px 12px;
  font-size: 0.92rem;
}

.legal-card {
  margin-bottom: 80px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(48, 192, 240, 0.08), transparent 28%),
    var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 48px);
}

.legal-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-sections {
  display: grid;
  gap: 28px;
  margin-top: 30px;
}

.legal-section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.legal-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-section h2 {
  margin-bottom: 12px;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.2;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.8;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section ul + p,
.legal-section p + ul,
.legal-section p + p {
  margin-top: 14px;
}

.legal-section li + li {
  margin-top: 10px;
}

.legal-note {
  border: 1px solid rgba(64, 176, 160, 0.22);
  border-radius: 18px;
  background: rgba(64, 176, 160, 0.08);
  color: #d9f5ef;
  padding: 18px 20px;
}

.legal-note strong {
  color: white;
}

.legal-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
}

.legal-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--dim);
  font-size: 0.95rem;
}

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

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: white;
}

.focus-ring:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1080px);
  }

  .nav,
  .legal-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-copy strong {
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}
