:root {
  color-scheme: dark;
  --bg: #070911;
  --bg-soft: #10131d;
  --card: rgba(255, 255, 255, 0.07);
  --card-strong: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f7f7fb;
  --muted: rgba(247, 247, 251, 0.66);
  --dim: rgba(247, 247, 251, 0.48);
  --purple: #9654f4;
  --cyan: #24c9c5;
  --green: #74d56f;
  --coral: #fa7469;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 12%, rgba(150, 84, 244, 0.26), transparent 26rem),
    radial-gradient(circle at 80% 30%, rgba(36, 201, 197, 0.12), transparent 22rem),
    linear-gradient(135deg, #070911 0%, #120d1d 55%, #071117 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 28px rgba(150, 84, 244, 0.34);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-weight: 650;
}

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

.hero,
.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 88px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 22px 0 72px;
}

.hero-copy {
  max-width: 980px;
  text-align: center;
}

.hero-logo-wrap {
  position: relative;
  width: clamp(220px, 28vw, 360px);
  height: clamp(220px, 28vw, 360px);
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(150, 84, 244, 0.46), rgba(36, 201, 197, 0.12) 46%, transparent 70%);
  filter: blur(18px);
}

.hero-logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: clamp(34px, 4vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.42),
    0 0 72px rgba(150, 84, 244, 0.40);
}

.eyebrow {
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.35rem, 6.2vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 0;
}

.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.25rem);
  line-height: 1.65;
  max-width: 760px;
  margin: 22px 0 0;
  margin-left: auto;
  margin-right: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 800;
}

.button.primary {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: white;
}

.button.secondary {
  background: var(--card);
  border: 1px solid var(--border);
  color: rgba(255, 255, 255, 0.86);
}

.panel,
.document {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.panel {
  padding: 22px;
  display: grid;
  gap: 14px;
}

.hero-panel {
  width: min(920px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat {
  padding: 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-label {
  display: block;
  color: var(--dim);
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 850;
  margin-bottom: 8px;
}

.stat strong {
  display: block;
  font-size: 1.28rem;
}

.page {
  padding: 44px 0 80px;
}

.document {
  max-width: 880px;
  padding: clamp(24px, 5vw, 48px);
}

.document h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  margin-bottom: 14px;
}

.document h2 {
  margin: 34px 0 12px;
  font-size: 1.24rem;
}

.document p,
.document li {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.document ul {
  padding-left: 1.15rem;
}

.inline-link {
  color: var(--cyan);
  font-weight: 800;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.faq-item {
  padding: 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
}

.document-actions {
  justify-content: flex-start;
}

.notice {
  margin-top: 18px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(36, 201, 197, 0.10);
  border: 1px solid rgba(36, 201, 197, 0.18);
}

.redirect-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.redirect-card {
  width: min(440px, 100%);
  text-align: center;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.redirect-logo {
  width: 112px;
  height: 112px;
  border-radius: 24px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 44px rgba(150, 84, 244, 0.40);
  margin-bottom: 18px;
}

.loader {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  border-top-color: var(--cyan);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 780px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }
}
