:root {
  --bg: #09090f;
  --panel: #111119;
  --panel-2: #171722;
  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f8f7ff;
  --muted: #aaa8b7;

  --violet: #8b5cf6;
  --violet-light: #a987ff;
  --discord: #5865f2;
  --mint: #65f4c4;

  --radius: 20px;
  --container: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;

  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(139, 92, 246, 0.16),
      transparent 32rem
    ),
    radial-gradient(
      circle at 90% 50%,
      rgba(88, 101, 242, 0.10),
      transparent 34rem
    ),
    var(--bg);

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.65;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(9, 9, 15, 0.88);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--border);
}

.nav {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 1.05rem;
  font-weight: 800;

  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;

  border-radius: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;

  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);

  font-size: 0.93rem;
  font-weight: 700;

  text-decoration: none;

  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #fff;
}

.nav-links .invite {
  padding: 10px 15px;

  border-radius: 10px;

  color: #fff;
  background: var(--discord);
}

/* Hero */

.page-hero {
  padding: 92px 0 58px;
}

.eyebrow {
  margin: 0 0 13px;

  color: var(--mint);

  font-size: 0.78rem;
  font-weight: 800;

  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 850px;

  margin-bottom: 19px;

  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1;

  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);

  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;

  font-size: 1.15rem;
}

.hero-description {
  max-width: 720px;

  margin: 0;

  color: var(--muted);

  font-size: 1.08rem;
}

/* Main content */

.section {
  padding: 36px 0 70px;
}

.section-title {
  margin-bottom: 25px;
}

.section-title p {
  max-width: 680px;

  margin: 8px 0 0;

  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;
}

.grid.two {
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
}

.card {
  padding: 24px;

  border: 1px solid var(--border);
  border-radius: var(--radius);

  background:
    linear-gradient(
      180deg,
      rgba(23, 23, 34, 0.95),
      rgba(17, 17, 25, 0.95)
    );
}

.card p {
  margin: 0;

  color: var(--muted);
}

.card a {
  color: var(--mint);
}

/* Commands */

.command {
  padding: 22px 0;

  border-bottom: 1px solid var(--border);
}

.command:first-child {
  border-top: 1px solid var(--border);
}

.command-top {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 8px;
}

.command code {
  color: var(--mint);

  font-size: 1rem;
  font-weight: 800;
}

.command p {
  margin: 0;

  color: var(--muted);
}

.permission {
  padding: 5px 10px;

  border: 1px solid var(--border);
  border-radius: 999px;

  color: #d9d5e8;
  background: rgba(255, 255, 255, 0.04);

  font-size: 0.76rem;
  font-weight: 700;

  white-space: nowrap;
}

/* Article content */

.article {
  max-width: 850px;
}

.article h2 {
  margin-top: 50px;
  margin-bottom: 14px;
}

.article h3 {
  margin-top: 30px;
}

.article p,
.article li {
  color: var(--muted);
}

.article a {
  color: var(--mint);
}

.article code {
  padding: 3px 7px;

  border: 1px solid var(--border);
  border-radius: 7px;

  color: var(--mint);
  background: var(--panel);
}

/* CTA */

.cta {
  margin-top: 50px;

  padding: 30px;

  border: 1px solid rgba(169, 135, 255, 0.24);
  border-radius: 24px;

  background:
    radial-gradient(
      circle at top right,
      rgba(139, 92, 246, 0.2),
      transparent 40%
    ),
    var(--panel);
}

.cta h2 {
  margin-bottom: 10px;
}

.cta p {
  margin: 0 0 20px;

  color: var(--muted);
}

.button {
  display: inline-block;

  padding: 12px 17px;

  border-radius: 11px;

  color: #fff;
  background: var(--discord);

  font-weight: 800;

  text-decoration: none;
}

/* FAQ */

details {
  border-bottom: 1px solid var(--border);
}

details:first-child {
  border-top: 1px solid var(--border);
}

summary {
  padding: 20px 0;

  cursor: pointer;

  font-weight: 800;
}

details p {
  max-width: 780px;

  margin: -5px 0 22px;

  color: var(--muted);
}

/* Footer */

footer {
  margin-top: 60px;

  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 38px 0;

  display: flex;
  justify-content: space-between;

  gap: 35px;
}

.footer-copy {
  max-width: 360px;

  color: var(--muted);

  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;

  gap: 12px 22px;
}

.footer-links a {
  color: var(--muted);

  font-size: 0.88rem;
  font-weight: 700;

  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 850px) {
  .nav {
    align-items: flex-start;

    padding: 18px 0;

    flex-direction: column;
  }

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

    gap: 13px 17px;
  }

  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 65px;
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .command-top {
    align-items: flex-start;

    flex-direction: column;

    gap: 8px;
  }

  h1 {
    font-size: 2.65rem;
  }
}