:root {
  color-scheme: dark;
  --background: #08080c;
  --surface: #121218;
  --surface-raised: #181820;
  --text: #f8f7ff;
  --muted: #aaa7b8;
  --subtle: #777382;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #9a6bff;
  --accent-soft: rgba(154, 107, 255, 0.14);
  --content: 760px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 280px;
  background:
    radial-gradient(circle at 50% -12rem, rgba(121, 70, 255, 0.2), transparent 34rem),
    var(--background);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #c7adff;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffffff;
}

a:focus-visible {
  border-radius: 4px;
  outline: 3px solid rgba(154, 107, 255, 0.5);
  outline-offset: 4px;
}

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

.site-header__inner {
  display: flex;
  width: min(calc(100% - 40px), 980px);
  min-height: 64px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--text);
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: #e3d7ff;
}

.document {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 72px 0 84px;
}

.document-header {
  margin-bottom: 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 12px;
  color: #b89aff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.22;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2.15rem, 7vw, 3.75rem);
  letter-spacing: -0.045em;
}

.dates {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dates strong {
  color: var(--text);
  font-weight: 650;
}

.legal-copy > p:first-child {
  color: #d8d5e2;
  font-size: 1.08rem;
}

.legal-copy h2 {
  margin: 3.4rem 0 1rem;
  padding-top: 0.4rem;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  letter-spacing: -0.025em;
}

.legal-copy h3 {
  margin: 2.1rem 0 0.7rem;
  color: #e7e3ee;
  font-size: 1.08rem;
}

.legal-copy p {
  margin: 0 0 1.15rem;
  color: #c7c4d0;
}

.legal-copy ul {
  margin: 0.6rem 0 1.6rem;
  padding-left: 1.35rem;
}

.legal-copy li {
  margin: 0.65rem 0;
  padding-left: 0.35rem;
  color: #c7c4d0;
}

.legal-copy li::marker {
  color: var(--accent);
}

.legal-copy strong {
  color: #eeeaf5;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.site-footer__inner {
  display: flex;
  width: min(calc(100% - 40px), 980px);
  min-height: 92px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--subtle);
  font-size: 0.83rem;
}

.site-footer p {
  margin: 0;
}

.site-footer__links {
  display: flex;
  gap: 16px;
}

.site-footer__links a {
  color: var(--muted);
}

.legal-index {
  width: min(calc(100% - 40px), 880px);
  margin: 0 auto;
  padding: 88px 0 110px;
}

.legal-index h1 {
  max-width: 700px;
}

.legal-index__intro {
  max-width: 620px;
  margin: 20px 0 38px;
  color: var(--muted);
  font-size: 1.08rem;
}

.document-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.document-link {
  display: block;
  min-height: 168px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
  color: var(--text);
  text-decoration: none;
}

.document-link:hover {
  border-color: rgba(154, 107, 255, 0.5);
  color: var(--text);
}

.document-link strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.document-link span {
  color: var(--muted);
}

@media (max-width: 620px) {
  .site-header__inner {
    width: min(calc(100% - 28px), 980px);
    min-height: 58px;
  }

  .site-nav a {
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .document,
  .legal-index {
    width: min(calc(100% - 32px), var(--content));
    padding-top: 48px;
  }

  .document-header {
    margin-bottom: 36px;
  }

  .document-links {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    width: min(calc(100% - 32px), 980px);
    padding: 22px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
