:root {
  --bg: #050607;
  --bg2: #090b0e;
  --panel: rgba(255,255,255,.035);
  --panel2: rgba(255,255,255,.058);
  --line: rgba(255,255,255,.12);
  --line2: rgba(255,255,255,.075);
  --text: #f4f4f1;
  --muted: #a5abb3;
  --dim: #737b86;
  --blue: #6f9fb8;
  --green: #9fb89c;
  --red: #d14f4f;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.04), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(111,159,184,.08), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 46%, var(--bg) 100%);
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  display: block;
  height: 34px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.page-label {
  border-left: 1px solid var(--line);
  padding-left: 13px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

.nav a:hover { color: #fff; }

.hero {
  border-bottom: 1px solid var(--line2);
  background:
    linear-gradient(90deg, rgba(255,255,255,.035), transparent 42%),
    radial-gradient(circle at 22% 4%, rgba(111,119,130,.13), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(255,255,255,.055), transparent 30%);
}

.hero-inner {
  padding: clamp(56px, 8vw, 92px) 0 clamp(42px, 7vw, 76px);
}

.kicker {
  margin: 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 20px 0 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: .96;
  letter-spacing: -.055em;
}

.lede {
  max-width: 780px;
  margin: 24px 0 0;
  color: #c7ccd3;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.meta-strip {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line2);
  box-shadow: 0 24px 70px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
}

.meta-strip div {
  background: rgba(5,7,10,.82);
  padding: 16px;
  color: var(--muted);
  font-size: 13px;
}

.meta-strip strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: 14px;
}

.main {
  padding: 42px 0 72px;
}

.legal-grid {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 28px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.05);
}

.toc-title {
  margin: 0 0 12px;
  color: var(--dim);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid var(--line2);
  color: #c9ced6;
  font-size: 14px;
  text-decoration: none;
}

.toc a:hover { color: #fff; }

.legal-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.026)),
    rgba(5,7,10,.68);
  box-shadow: 0 22px 70px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(18px);
  padding: clamp(22px, 3vw, 34px);
}

.legal-card + .legal-card { margin-top: 18px; }

h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.1;
  letter-spacing: -.025em;
}

.legal-card p,
.legal-card li {
  color: #c3c9d1;
  font-size: 15px;
  line-height: 1.68;
}

.legal-card p { margin: 14px 0 0; }

.legal-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.callout {
  margin-top: 18px;
  border: 1px solid rgba(111,159,184,.28);
  background: rgba(111,159,184,.08);
  padding: 16px;
  color: #d9e8f0;
  font-size: 14px;
  line-height: 1.6;
}

.warning {
  border-color: rgba(209,79,79,.32);
  background: rgba(209,79,79,.08);
  color: #f0dada;
}

.actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.055);
  padding: 0 18px;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  border-color: rgba(111,159,184,.38);
  background: rgba(111,159,184,.14);
  color: #e0f2fe;
}

.button:hover {
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.09);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.45);
  box-shadow: 0 -18px 48px rgba(0,0,0,.44), inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter: blur(20px);
}

.footer-inner {
  min-height: 86px;
  display: grid;
  grid-template-columns: 1.2fr auto 1.2fr;
  gap: 18px;
  align-items: center;
}

.footer-tag {
  color: #6f7782;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  color: #7f8792;
  font-size: 12px;
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #cfd5dd; }

.footer-logos {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.footer-logos img {
  display: block;
  max-height: 25px;
  max-width: 106px;
  object-fit: contain;
  opacity: .78;
}

.footer-logos img:hover { opacity: 1; }

@media (max-width: 820px) {
  .header-inner,
  .footer-inner {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav { justify-content: flex-start; }

  .meta-strip {
    grid-template-columns: 1fr;
  }

  .legal-grid {
    grid-template-columns: 1fr;
  }

  .toc {
    position: static;
  }

  .footer-logos {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-tag { display: none; }
}
