@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Space+Grotesk:wght@600;700&display=swap');

:root {
  --accent-primary-rgb: 105 235 215;
  --accent-secondary-rgb: 255 166 41;
  --accent-tertiary-rgb: 178 132 255;
  --text-primary: #f8f3ea;
  --text-secondary: rgb(248 243 234 / 0.76);
  --text-muted: rgb(248 243 234 / 0.58);
  --surface-panel: rgb(22 23 25 / 0.78);
  --border-subtle: rgb(255 255 255 / 0.13);
  --shadow-panel: 0 28px 90px rgb(0 0 0 / 0.52);
  --ease-standard: cubic-bezier(0.2, 0.65, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #060807;
  color: var(--text-primary);
  font-family: Sora, sans-serif;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 35% 18%, rgb(var(--accent-primary-rgb) / 0.16), transparent 34%),
    radial-gradient(circle at 76% 12%, rgb(var(--accent-secondary-rgb) / 0.14), transparent 32%),
    linear-gradient(180deg, rgb(6 8 7), rgb(2 3 3));
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: '';
  background:
    linear-gradient(rgb(255 255 255 / 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.024) 1px, transparent 1px);
  background-size: 116px 116px;
  mask-image: radial-gradient(circle at 50% 12%, black, transparent 78%);
}

a {
  color: rgb(var(--accent-primary-rgb));
  font-weight: 800;
  text-decoration: none;
  text-shadow: 0 0 12px rgb(var(--accent-primary-rgb) / 0.22);
  transition:
    color 170ms var(--ease-standard),
    text-shadow 170ms var(--ease-standard);
}

a:hover,
a:focus-visible {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-shell {
  width: min(100% - 32px, 980px);
  margin: 0 auto;
  padding: 42px 0 64px;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
}

.brand-link img {
  width: 42px;
  height: 42px;
  padding: 5px;
  border: 1px solid rgb(var(--accent-secondary-rgb) / 0.36);
  border-radius: 14px;
  background: rgb(10 14 16 / 0.72);
  box-shadow: 0 0 28px rgb(var(--accent-primary-rgb) / 0.14);
}

.back-link {
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--border-subtle);
  border-radius: clamp(26px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.055), rgb(255 255 255 / 0.015)),
    var(--surface-panel);
  box-shadow:
    var(--shadow-panel),
    0 0 72px rgb(var(--accent-primary-rgb) / 0.08),
    0 0 82px rgb(var(--accent-secondary-rgb) / 0.07);
  backdrop-filter: blur(18px);
}

.kicker {
  margin: 0 0 14px;
  color: rgb(var(--accent-secondary-rgb));
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  letter-spacing: -0.035em;
}

.updated {
  margin: 0 0 32px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

p,
li {
  color: var(--text-secondary);
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.78;
}

p {
  margin: 16px 0 0;
}

ul {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding-left: 24px;
}

li strong,
p strong {
  color: var(--text-primary);
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media (max-width: 620px) {
  .legal-shell {
    width: min(100% - 22px, 420px);
    padding-top: 24px;
  }

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

  .legal-card {
    padding: 24px;
  }
}
