:root {
  --bg: #020613;
  --bg-elevated: rgba(10, 15, 32, 0.86);
  --card: rgba(13, 18, 38, 0.88);
  --card-strong: rgba(15, 21, 46, 0.96);
  --border: rgba(127, 144, 196, 0.18);
  --border-strong: rgba(127, 144, 196, 0.26);
  --text: #f4f7ff;
  --muted: #8e95b3;
  --muted-strong: #b0b6ce;
  --green: #11f0a2;
  --green-deep: #0db776;
  --cyan: #22c9ff;
  --blue: #7188ff;
  --gold: #ffbe3d;
  --coral: #ff7569;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  --radius: 22px;
  --container: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(17, 240, 162, 0.09), transparent 24%),
    radial-gradient(circle at top right, rgba(113, 136, 255, 0.08), transparent 22%),
    radial-gradient(circle at 50% 20%, rgba(34, 201, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #020613 0%, #030711 100%);
}

body.no-scroll {
  overflow: hidden;
}

a,
button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-shell {
  position: relative;
  overflow-x: clip;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
}

.ambient-a {
  top: 6rem;
  left: -8rem;
  width: 16rem;
  height: 16rem;
  background: rgba(17, 240, 162, 0.18);
}

.ambient-b {
  top: 20rem;
  right: -6rem;
  width: 18rem;
  height: 18rem;
  background: rgba(113, 136, 255, 0.18);
}

.ambient-c {
  bottom: 8rem;
  left: 40%;
  width: 16rem;
  height: 16rem;
  background: rgba(255, 190, 61, 0.1);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header,
.hero,
.stats-grid,
.content-section,
.community-strip,
.waitlist-section,
.final-cta,
.site-footer {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand-small {
  gap: 0.55rem;
}

.brand-mark {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background:
    linear-gradient(140deg, var(--green) 0%, var(--cyan) 60%, var(--blue) 100%);
  box-shadow: 0 0 14px rgba(17, 240, 162, 0.28);
}

.brand-text {
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.status-pill,
.results-pill,
.preview-badge,
.results-level-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--border);
  background: rgba(17, 240, 162, 0.08);
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 600;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-cta {
  color: #03110d;
  background: linear-gradient(135deg, var(--green) 0%, #21e2c6 100%);
  box-shadow: 0 12px 24px rgba(17, 240, 162, 0.12);
}

.primary-cta:hover,
.secondary-cta:hover,
.ghost-link:hover,
.quiz-option:hover {
  transform: translateY(-1px);
}

.secondary-cta {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.ghost-link {
  color: var(--muted-strong);
  background: transparent;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.nav-cta {
  min-height: 2.8rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 2rem;
  align-items: center;
  padding: 5.5rem 0 2.3rem;
}

.eyebrow,
.section-kicker,
.preview-label,
.level-label {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--green);
}

.hero h1,
.content-section h2,
.community-strip h2,
.waitlist-card h2,
.final-cta h2,
.quiz-panel h2,
.results-section-title h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.65rem, 6vw, 4.35rem);
  max-width: 11.2ch;
}

.hero-title-static {
  display: block;
}

.role-rotator {
  display: block;
  min-height: 1.15em;
  margin-top: 0.08em;
  font-size: 0.72em;
  line-height: 1.06;
  max-width: 10ch;
}

.gradient-text {
  display: inline-block;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 52%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-intro,
.community-strip p,
.waitlist-card p,
.final-cta p,
.quiz-description,
.results-intro,
.results-level-description,
.results-note,
.coming-soon-card p {
  color: var(--muted-strong);
  line-height: 1.65;
}

.hero-text {
  max-width: 38rem;
  margin-top: 1.2rem;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.subnote {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.preview-card,
.stat-card,
.info-card,
.level-card,
.persona-card,
.waitlist-card,
.community-strip,
.faq-list details,
.quiz-shell,
.results-note,
.lesson-card,
.coming-soon-card,
.results-email-card,
.quiz-option,
.choice-grid .quiz-option {
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.preview-card {
  padding: 1.4rem;
  border-radius: var(--radius);
}

.preview-header,
.preview-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.preview-profile {
  justify-content: flex-start;
  margin: 1.1rem 0 1rem;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 18px;
  color: var(--text);
  background: linear-gradient(135deg, var(--blue) 0%, #6f46ff 100%);
  font-weight: 700;
}

.profile-name {
  font-weight: 700;
}

.profile-meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.preview-lessons {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.preview-lessons li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  color: var(--muted-strong);
  padding: 0.8rem 0.9rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.preview-lessons li span:last-child {
  color: var(--green);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stats-grid,
.steps-grid,
.levels-grid,
.persona-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem 0 0;
}

.stat-card,
.info-card,
.level-card,
.persona-card {
  border-radius: 22px;
  padding: 1.2rem;
}

.stat-value {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.stat-label {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.5;
}

.content-section,
.waitlist-section,
.final-cta {
  padding-top: 7rem;
}

.content-section h2,
.community-strip h2,
.waitlist-card h2,
.final-cta h2,
.quiz-panel h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
}

.section-intro,
.community-strip p,
.waitlist-card p,
.final-cta p {
  max-width: 42rem;
  margin-top: 1rem;
}

.steps-grid,
.levels-grid,
.persona-grid {
  margin-top: 2rem;
}

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

.info-number {
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(113, 136, 255, 0.2);
}

.info-card h3,
.level-card h3,
.persona-card h3 {
  margin: 0.8rem 0 0.5rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.26rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.info-card p,
.level-card p,
.persona-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.level-card {
  min-height: 15.2rem;
  position: relative;
  overflow: hidden;
}

.level-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}

.level-blue::after { background: var(--blue); }
.level-cyan::after { background: var(--cyan); }
.level-green::after { background: var(--green); }
.level-gold::after { background: var(--gold); }
.level-coral::after { background: var(--coral); }

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

.persona-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.persona-blue {
  background: rgba(113, 136, 255, 0.12);
  color: #b7c3ff;
}

.persona-teal {
  background: rgba(34, 201, 255, 0.12);
  color: #9eeaff;
}

.persona-gold {
  background: rgba(255, 190, 61, 0.14);
  color: #ffd88a;
}

.persona-coral {
  background: rgba(255, 117, 105, 0.12);
  color: #ffb0a9;
}

.community-strip {
  width: min(calc(100% - 2rem), var(--container));
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 1.5rem;
  margin-top: 7rem;
  border-radius: 24px;
  padding: 1.45rem;
}

.community-list {
  display: grid;
  gap: 0.8rem;
  align-self: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.community-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--muted-strong);
}

.community-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.waitlist-card {
  border-radius: 26px;
  padding: 1.7rem;
  text-align: center;
  max-width: 1080px;
  margin-inline: auto;
}

.waitlist-card h2 {
  font-size: clamp(1.95rem, 3.6vw, 2.9rem);
}

.waitlist-kicker {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  margin-bottom: 0.4rem;
  background: rgba(255, 190, 61, 0.12);
  border: 1px solid rgba(255, 190, 61, 0.18);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
}

.email-form {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 1.4rem;
}

.email-form.stacked {
  flex-direction: column;
  max-width: 28rem;
  margin-inline: auto;
}

.email-form input {
  min-height: 3rem;
  min-width: min(100%, 19rem);
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: rgba(4, 8, 20, 0.9);
  color: var(--text);
  outline: none;
}

.email-form input:focus {
  border-color: rgba(17, 240, 162, 0.55);
  box-shadow: 0 0 0 2px rgba(17, 240, 162, 0.08);
}

.waitlist-card .email-form {
  width: min(100%, 660px);
  margin-inline: auto;
  margin-top: 1.5rem;
}

.waitlist-card p {
  margin-inline: auto;
  max-width: 44rem;
}

.perk-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-message {
  min-height: 1.4rem;
  margin-top: 0.75rem;
  color: var(--muted-strong);
  font-size: 0.95rem;
}

.form-message.is-success {
  color: #8de6c9;
}

.form-message.is-error {
  color: #ffb1a7;
}

.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  border-radius: 20px;
  padding: 1.15rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list p {
  margin: 0.85rem 0 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

.final-cta {
  padding-bottom: 6rem;
  text-align: center;
}

.final-cta p {
  margin-inline: auto;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.quiz-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
  background: rgba(2, 6, 19, 0.92);
  backdrop-filter: blur(14px);
}

.quiz-overlay.is-open {
  display: grid;
  place-items: center;
}

.quiz-shell {
  width: min(calc(100% - 1.5rem), 920px);
  max-height: min(100vh - 1.5rem, 980px);
  overflow: auto;
  border-radius: 26px;
  padding: 1rem 1rem 1.35rem;
  background: rgba(6, 10, 24, 0.98);
}

.quiz-back {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 0.65rem 0.9rem;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.quiz-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  width: min(24rem, 100%);
  margin: 1rem auto 0;
}

.progress-dot {
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-dot.is-complete {
  background: linear-gradient(135deg, var(--green), var(--cyan));
}

.progress-dot.is-active {
  background: linear-gradient(135deg, var(--blue), #6f46ff);
}

.quiz-panel {
  padding: 1.5rem 0 0.3rem;
}

.quiz-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.9rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.quiz-description {
  max-width: 36rem;
  margin-top: 0.85rem;
  font-size: 1rem;
}

.quiz-options {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

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

.quiz-option {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
  justify-content: center;
  border-radius: 18px;
  padding: 1.05rem;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.quiz-option.is-selected {
  border-color: rgba(17, 240, 162, 0.58);
  background: rgba(17, 240, 162, 0.08);
}

.quiz-option-title {
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.quiz-option-subtitle {
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.quiz-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.35rem 0.55rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--green);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.quiz-continue {
  width: 100%;
  margin-top: 1.6rem;
}

.quiz-continue:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  box-shadow: none;
}

.gate-emoji,
.mail-emoji {
  color: var(--gold);
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.86rem;
}

.results-head,
.results-badges,
.results-actions,
.results-section-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.results-head {
  justify-content: space-between;
  margin-bottom: 1rem;
}

.results-intro {
  max-width: 44rem;
  margin-top: 1rem;
}

.results-badges {
  margin-top: 1rem;
}

.results-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  font-size: 0.9rem;
}

.results-note,
.coming-soon-card,
.results-email-card {
  border-radius: 20px;
  padding: 1.15rem;
  margin-top: 1.4rem;
}

.results-section-title {
  justify-content: space-between;
  margin-top: 2rem;
}

.results-section-title h3 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.results-level-description {
  margin-top: 0.8rem;
}

.results-lessons {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.lesson-card {
  border-radius: 20px;
  padding: 1.2rem;
}

.lesson-kicker {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lesson-card h4 {
  margin: 0.8rem 0 0.6rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.lesson-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.lesson-meta {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.lesson-meta span {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.86rem;
}

.coming-soon-card h3,
.results-email-card h3 {
  margin: 0.5rem 0 0.65rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.results-actions {
  justify-content: center;
  margin-top: 1.4rem;
}

.hidden {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  animation: reveal-in 680ms ease forwards;
}

.reveal:nth-child(2) { animation-delay: 80ms; }
.reveal:nth-child(3) { animation-delay: 140ms; }
.reveal:nth-child(4) { animation-delay: 180ms; }

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .levels-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .community-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .stats-grid,
  .steps-grid,
  .persona-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

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

  .email-form {
    flex-direction: column;
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .stats-grid,
  .content-section,
  .community-strip,
  .waitlist-section,
  .final-cta,
  .site-footer {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero {
    padding-top: 4rem;
  }

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

  .quiz-shell {
    width: min(calc(100% - 0.8rem), 920px);
    padding-inline: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
