:root {
  color-scheme: dark;
  --bg: #101216;
  --panel: #171a20;
  --text: #eef2f6;
  --muted: #aab3bf;
  --line: #2b313b;
  --accent: #7c5cff;
  --accent-2: #35d39a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(124, 92, 255, 0.22), transparent 32rem),
    linear-gradient(180deg, #11131a 0%, var(--bg) 42%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.hero {
  padding: 36px 0 30px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.1rem;
}

.updated {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  color: var(--text);
  text-decoration: none;
  background: rgba(124, 92, 255, 0.14);
  border: 1px solid rgba(124, 92, 255, 0.42);
  border-radius: 8px;
}

.nav a:hover {
  border-color: var(--accent);
}

.nav a[aria-current="page"] {
  background: rgba(124, 92, 255, 0.24);
  border-color: var(--accent);
}

.content {
  display: grid;
  gap: 18px;
  padding-top: 28px;
}

.terms {
  margin-top: 20px;
}

.section-heading {
  background: rgba(53, 211, 154, 0.08);
  border-color: rgba(53, 211, 154, 0.32);
}

article {
  padding: 24px;
  background: rgba(23, 26, 32, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

article p:last-child,
article ul:last-child {
  margin-bottom: 0;
}

ul {
  padding-left: 1.25rem;
  color: var(--muted);
}

p {
  color: var(--muted);
}

a {
  color: #c8bbff;
}

a:hover {
  color: var(--text);
}

li + li {
  margin-top: 6px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 18px;
  width: 100%;
  margin: 0;
  padding: 28px max(22px, calc((100% - 960px) / 2)) 30px;
  background: #061016;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

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

.footer-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-brand strong {
  color: var(--text);
  font-size: 1.45rem;
}

.footer span {
  grid-column: 1 / -1;
}

.footer a {
  text-decoration: none;
}

.footer-discord {
  justify-self: end;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 24px, 960px);
    padding-top: 28px;
  }

  .hero {
    padding-top: 20px;
  }

  article {
    padding: 18px;
  }

  .footer {
    grid-template-columns: 1fr;
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-discord {
    justify-self: start;
  }
}
