:root {
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --text: #f5f5f5;
  --muted: #b5b5b5;
  --muted-soft: #8e8e8e;
  --border: rgba(255,255,255,0.08);
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top center, rgba(234,88,12,0.18), transparent 28%),
    linear-gradient(180deg, #130707 0%, #080808 24%, #050505 100%);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ── Layout ── */
.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

/* ── Steps ── */
.step {
  display: none;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.step.active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}
.step.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

/* ── Logo ── */
.logo-wrap {
  width: 72px; height: 72px;
  border-radius: 18px; overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(92,92,92,0.95) 0%, rgba(48,48,48,0.96) 38%, rgba(18,18,18,1) 72%);
  border: 1px solid rgba(234,88,12,0.4);
  box-shadow:
    0 0 18px rgba(234,88,12,0.28),
    inset 0 0 12px rgba(255,255,255,0.06);
  display: grid; place-items: center;
  margin-bottom: 32px;
}

.logo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.95);
  filter: contrast(1.1) saturate(1.06);
}

/* ── Typography ── */
h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--accent);
  text-shadow: 0 0 55px rgba(234,88,12,0.28);
  margin-bottom: 16px;
}

.subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: #ffd8c9;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.supporting {
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* ── Features ── */
.features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
  max-width: 480px;
  text-align: left;
}

.features li {
  position: relative;
  padding-left: 24px;
  font-size: 0.97rem;
  color: #e0e0e0;
  line-height: 1.5;
}

.features li::before {
  content: "\2192";
  position: absolute;
  left: 0; top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── CTA row ── */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
  margin-bottom: 18px;
}

.cta-input {
  padding: 14px 18px;
  font-size: 0.97rem;
  font-family: inherit;
  color: #fff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  border-radius: 14px 0 0 14px;
  outline: none;
  width: 260px;
  transition: border-color 0.2s ease;
}

.cta-input::placeholder { color: var(--muted-soft); }
.cta-input:focus { border-color: rgba(234,88,12,0.45); }
.cta-input.error { border-color: #ef4444; }

.cta-btn {
  padding: 14px 28px;
  font-size: 0.97rem;
  font-weight: 800;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 0 14px 14px 0;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(234,88,12,0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

.cta-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
  filter: none;
}

.disclaimer {
  font-size: 0.82rem;
  color: var(--muted-soft);
  font-style: italic;
}

.error-msg {
  font-size: 0.85rem;
  color: #ef4444;
  margin-top: 8px;
  min-height: 20px;
}

/* ── Step 2: success ── */
.check-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(234,88,12,0.12);
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.step2-h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.step2-sub {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 420px;
  line-height: 1.55;
}

/* ── Step 2/3: role select ── */
.role-prompt {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffd8c9;
  margin-bottom: 8px;
}

.role-sub {
  font-size: 0.92rem;
  color: var(--muted-soft);
  margin-bottom: 28px;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 400px;
  width: 100%;
  margin-bottom: 28px;
}

.role-btn {
  padding: 18px 14px;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.role-btn:hover {
  border-color: rgba(234,88,12,0.4);
  color: var(--text);
  background: rgba(234,88,12,0.06);
}

.role-btn.selected {
  border-color: var(--accent);
  color: #fff;
  background: rgba(234,88,12,0.12);
  box-shadow: 0 0 16px rgba(234,88,12,0.18);
}

.role-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--muted-soft);
  margin-top: 4px;
}

.role-confirm {
  padding: 14px 36px;
  font-size: 0.97rem;
  font-weight: 800;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(234,88,12,0.22);
  transition: transform 0.15s ease, filter 0.15s ease, opacity 0.2s ease;
  opacity: 0.4;
  pointer-events: none;
}

.role-confirm.enabled {
  opacity: 1;
  pointer-events: auto;
}

.role-confirm.enabled:hover {
  transform: translateY(-1px);
  filter: brightness(1.07);
}

/* ── Step 4: final ── */
.final-h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.final-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 420px;
  line-height: 1.55;
}

.ghost-btn {
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  cursor: default;
  opacity: 0.5;
}

/* ── Scarcity line ── */
.scarcity {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 32px;
}

footer {
  padding: 24px;
  text-align: center;
  color: var(--muted-soft);
  font-size: 0.88rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 520px) {
  .cta-row { flex-direction: column; }
  .cta-input {
    width: 100%;
    border-right: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px 14px 0 0;
  }
  .cta-btn {
    border-radius: 0 0 14px 14px;
    width: 100%;
  }
  .role-grid { grid-template-columns: 1fr 1fr; }
}
