:root {
  --ref-bg: #090c14;
  --ref-surface: #101521;
  --ref-surface-2: #141a28;
  --ref-border: rgba(255, 255, 255, 0.075);
  --ref-text: #f6f7fb;
  --ref-muted: #8c93a5;
  --ref-purple: #7c5cff;
  --ref-blue: #20b9ff;
  --ref-pink: #c64cff;
}

body {
  color: var(--ref-text);
  background: var(--ref-bg);
}

body::before {
  background:
    radial-gradient(circle at 14% 7%, rgba(70, 87, 255, 0.08), transparent 16%),
    radial-gradient(circle at 84% 9%, rgba(255, 80, 130, 0.06), transparent 14%),
    var(--ref-bg);
}

.noise {
  opacity: 0.018;
}

.grid-bg {
  display: none;
}

.nav {
  position: absolute;
  top: 0;
  width: 100%;
  height: 84px;
  grid-template-columns: 1fr auto 1fr;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.nav .brand {
  grid-column: 1;
  justify-self: start;
}

.nav .brand img {
  width: 30px;
  height: 24px;
}

.nav .brand span {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.nav nav {
  display: none;
}

.nav-actions {
  grid-column: 3;
}

.nav-actions .button {
  display: none;
}

.language-picker {
  overflow: hidden;
  padding: 2px;
  border-color: var(--ref-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.language-picker button {
  border-radius: 6px;
  font-family: "Inter", sans-serif;
}

.language-picker button.active {
  color: white;
  background: rgba(124, 92, 255, 0.75);
}

.hero {
  min-height: 780px;
  padding: 145px 24px 105px;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border: 0;
  text-align: center;
}

.hero::before {
  display: none;
}

.hero::after {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  opacity: 0.8;
  background:
    radial-gradient(circle at 11% 20%, rgba(87, 72, 255, 0.6) 0 3px, transparent 7px),
    radial-gradient(circle at 23% 8%, rgba(33, 149, 255, 0.45) 0 5px, transparent 12px),
    radial-gradient(circle at 78% 17%, rgba(255, 73, 109, 0.42) 0 4px, transparent 10px),
    radial-gradient(circle at 91% 9%, rgba(125, 67, 255, 0.3) 0 3px, transparent 8px),
    radial-gradient(circle at 17% 64%, rgba(34, 151, 255, 0.25) 0 4px, transparent 10px),
    radial-gradient(circle at 82% 59%, rgba(220, 78, 255, 0.23) 0 5px, transparent 12px);
  filter: blur(1px);
}

.hero .eyebrow {
  padding: 7px 11px;
  border: 1px solid rgba(124, 92, 255, 0.25);
  border-radius: 999px;
  color: #aa98ff;
  background: rgba(124, 92, 255, 0.08);
  font-family: "Inter", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.hero .eyebrow .pulse {
  display: none;
}

.hero h1 {
  max-width: 800px;
  margin: 22px 0 18px;
  font-family: "Inter", sans-serif;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span,
.hero h1 em {
  display: inline;
}

.hero h1 span::after {
  content: " ";
}

.hero h1 em {
  background: linear-gradient(90deg, var(--ref-blue), #7686ff 50%, var(--ref-pink));
  background-clip: text;
}

.hero > p {
  max-width: 530px;
  margin-bottom: 28px;
  color: var(--ref-muted);
  font-size: 14px;
  line-height: 1.65;
}

.hero-actions {
  width: min(100%, 480px);
  gap: 10px;
}

.hero-actions .button {
  min-height: 48px;
  flex: 1;
  border: 0;
  border-radius: 8px;
  color: white;
  background: linear-gradient(100deg, #6552ef, #8a50f7);
  box-shadow: 0 12px 35px rgba(104, 73, 241, 0.23);
  clip-path: none;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-actions .text-link {
  min-height: 48px;
  padding: 0 18px;
  justify-content: center;
  border: 1px solid var(--ref-border);
  border-radius: 8px;
  color: #c7cbd7;
  background: rgba(255, 255, 255, 0.025);
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
}

.hero-mark {
  z-index: -3;
  top: 49%;
  right: auto;
  left: 50%;
  width: min(70vw, 740px);
  transform: translate(-50%, -50%);
  opacity: 0.035;
}

.mark-glow {
  inset: 20%;
  opacity: 0.3;
  background: #6654ff;
  filter: blur(100px);
}

.stats {
  position: absolute;
  top: 535px;
  left: 50%;
  z-index: 2;
  width: min(calc(100% - 48px), 520px);
  transform: translateX(-50%);
  border: 0;
}

.stats article {
  min-height: 76px;
  padding: 14px 20px;
  align-items: center;
  border-right: 1px solid var(--ref-border);
  background: transparent;
  text-align: center;
}

.stats strong {
  color: #8e7aff;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.stats span {
  margin-top: 6px;
  color: #6f7586;
  font-size: 7px;
  letter-spacing: 0.08em;
}

.section {
  max-width: 1040px;
  padding: 120px 24px;
  border: 0;
}

.section-label {
  margin-bottom: 18px;
  color: #8370ff;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 700;
}

.section-heading {
  display: block;
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.section-heading h2,
.application-copy h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading p,
.application-copy > p {
  max-width: 530px;
  margin: 18px auto 0;
  color: var(--ref-muted);
  font-size: 13px;
  line-height: 1.7;
}

.feature-grid {
  margin-top: 58px;
  gap: 14px;
  border: 0;
}

.feature-grid article {
  min-height: 240px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--ref-border);
  border-radius: 14px;
  background:
    radial-gradient(circle at 90% 0, rgba(80, 78, 255, 0.1), transparent 37%),
    linear-gradient(145deg, rgba(20, 26, 40, 0.95), rgba(13, 17, 27, 0.95));
}

.feature-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(124, 92, 255, 0.26);
  border-radius: 9px;
  color: #9785ff;
  background: rgba(124, 92, 255, 0.08);
  font-family: "Inter", sans-serif;
  font-size: 9px;
}

.feature-grid h3 {
  margin: 54px 0 11px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.feature-grid p {
  color: #7f8798;
  font-size: 11px;
  line-height: 1.65;
}

.access {
  max-width: none;
  padding: 120px max(24px, calc((100% - 1040px) / 2)) 140px;
  background:
    radial-gradient(circle at 50% 100%, rgba(94, 67, 239, 0.11), transparent 32%),
    transparent;
}

.application-shell {
  display: block;
  max-width: 920px;
  margin: 0 auto;
}

.application-copy {
  max-width: 650px;
  margin: 0 auto 46px;
  padding: 0;
  text-align: center;
}

.application-copy .eyebrow {
  width: max-content;
  margin: 0 auto;
  color: #8f7cff;
  font-family: "Inter", sans-serif;
}

.application-copy h2 {
  margin: 18px 0 0;
}

.application-copy ol {
  display: none;
}

.application-card {
  width: min(100%, 580px);
  min-height: 380px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--ref-border);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(117, 79, 255, 0.1), transparent 35%),
    var(--ref-surface);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
  clip-path: none;
}

.application-card::before {
  display: none;
}

.state-panel {
  min-height: 310px;
}

.state-panel h3 {
  font-family: "Inter", sans-serif;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.discord-icon {
  border: 0;
  border-radius: 13px;
  background: linear-gradient(145deg, #6975f3, #5865f2);
}

.discord-button,
.submit-button {
  border: 0;
  border-radius: 8px;
  background: linear-gradient(100deg, #6552ef, #8751f3);
  clip-path: none;
  font-family: "Inter", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.profile {
  border-color: var(--ref-border);
}

.profile small,
.section-label,
.application-copy .eyebrow {
  color: #927fff;
}

.status-banner {
  border-color: rgba(124, 92, 255, 0.22);
  border-radius: 8px;
  color: #ae9fff;
  background: rgba(124, 92, 255, 0.07);
}

form label:not(.consent) {
  color: #9da4b4;
  letter-spacing: 0.04em;
  text-transform: none;
}

input,
textarea {
  border-color: var(--ref-border);
  border-radius: 8px;
  background: rgba(5, 8, 14, 0.5);
}

input:focus,
textarea:focus {
  border-color: rgba(124, 92, 255, 0.7);
}

.consent input {
  accent-color: var(--ref-purple);
}

footer {
  max-width: 1040px;
  min-height: 110px;
  border: 0;
  border-top: 1px solid var(--ref-border);
}

footer .brand {
  font-family: "Inter", sans-serif;
  font-size: 11px;
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr 1fr;
  }

  .nav .brand {
    grid-column: 1;
    justify-self: start;
  }

  .nav-actions {
    grid-column: 2;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 0 18px;
  }

  .nav .brand span {
    display: block;
  }

  .hero {
    min-height: 720px;
    padding-top: 135px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .text-link {
    display: none;
  }

  .stats {
    top: 540px;
  }

  .stats article {
    min-height: 70px;
    padding: 10px 6px;
  }

  .stats span {
    font-size: 6px;
  }

  .section {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .section-heading h2,
  .application-copy h2 {
    font-size: 34px;
  }

  .application-card {
    padding: 24px 18px;
  }
}
