@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --indigo: #4f46e5;
  --violet: #8b5cf6;
  --violet-strong: #7c3aed;
  --ink: #ffffff;
  --muted: #cbd5e1;
}

html {
  background: #080d1b;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 0%, rgb(79 70 229 / 0.13), transparent 30rem),
    #0f172a;
  color: #cbd5e1;
  font-family: "Inter", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #b8a3ff;
  text-underline-offset: 0.22em;
}

.container {
  width: min(100%, 1020px);
  padding-inline: clamp(20px, 5vw, 56px);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(8 13 27 / 0.86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.legal-nav {
  min-height: 72px;
}

.brand {
  min-height: 44px;
  color: #ffffff;
}

.brand img {
  width: auto;
  height: 48px;
}

.brand span {
  display: none;
}

.btn {
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
}

.btn-primary {
  border: 1px solid rgb(255 255 255 / 0.18);
  background: linear-gradient(115deg, var(--indigo), var(--violet-strong));
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.2),
    0 12px 28px rgb(25 18 88 / 0.28);
  color: #ffffff;
}

.legal-hero {
  padding: clamp(64px, 10vw, 112px) 0 30px;
}

.eyebrow {
  border: 1px solid rgb(139 92 246 / 0.35);
  border-radius: 999px;
  background: rgb(139 92 246 / 0.1);
  color: #c4b5fd;
}

.text-gradient {
  background: none;
  color: #ffffff;
  -webkit-text-fill-color: currentColor;
}

h1 {
  color: #ffffff;
  font-size: clamp(40px, 7vw, 68px);
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

h2,
h3 {
  color: #ffffff;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.muted,
.compact,
.toc-list li {
  color: #94a3b8;
}

.legal-card {
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 16px;
  background: rgb(20 30 51 / 0.72);
  box-shadow: 0 28px 80px rgb(0 0 0 / 0.16);
}

.notice {
  border-color: rgb(139 92 246 / 0.35);
  background: rgb(139 92 246 / 0.1);
  color: #ddd6fe;
}

.legal-footer {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  background: #080d1b;
  color: #94a3b8;
}

.legal-footer a {
  color: #cbd5e1;
}

:focus-visible {
  outline: 3px solid #a98bfa;
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .legal-nav {
    height: auto;
    padding-block: 10px;
    flex-direction: row;
    align-items: center;
  }

  .brand img {
    height: 42px;
  }

  .btn {
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .legal-header {
    background: #080d1b;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
