:root {
  color-scheme: dark;
  --surface: #04070f;
  --panel: #0b101b;
  --accent: #d08cff;
  --accent-strong: #88dcff;
  --text: #f6f7ff;
  --text-soft: #b9bfdb;
  --border: rgba(255, 255, 255, 0.08);
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top right, #2b0a3c 0%, #04070f 55%);
  color: var(--text);
}

.page-shell {
  padding: 3rem clamp(1.25rem, 3vw, 3rem) 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: clamp(2rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(208, 140, 255, 0.4), transparent 45%);
  pointer-events: none;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.1;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost,
.hero__stats dd {
  font-family: inherit;
}

.btn-primary,
.btn-ghost {
  border-radius: 999px;
  padding: 0.9rem 1.8rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #04070f;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.grid {
  display: grid;
  gap: 2rem;
  border-radius: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--panel);
  border: 1px solid var(--border);
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.grid p {
  color: var(--text-soft);
  line-height: 1.6;
}

.cta {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: radial-gradient(circle at 80% 10%, rgba(136, 220, 255, 0.35), transparent 40%);
  text-align: center;
}

.cta h3 {
  margin-top: 0;
  font-size: 1.75rem;
}

.cta p {
  color: var(--text-soft);
  max-width: 60ch;
  margin: 0 auto 1.25rem;
}

.cta__links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__stats {
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero__stats dt {
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
}

.hero__stats dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 1rem;
}

@media (max-width: 600px) {
  .hero__actions,
  .cta__links {
    flex-direction: column;
  }
}
