:root {
  --bg: #0b1220;
  --surface: #111827;
  --surface-2: #172033;
  --card: #ffffff;
  --card-soft: #f8fafc;
  --ink: #111827;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --blue: #2563eb;
  --blue-dark: #1e40af;
  --gold: #b08d57;
  --success: #0f766e;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.28);
  --radius: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(37, 99, 235, 0.22), transparent 32rem),
    radial-gradient(circle at 85% 18%, rgba(176, 141, 87, 0.14), transparent 28rem),
    linear-gradient(135deg, #0b1220 0%, #111827 54%, #0f172a 100%);
  color: white;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.7) 1px, transparent 1px);
  background-size: 42px 42px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(11, 18, 32, 0.78);
  border-bottom: 1px solid var(--line-dark);
}

.nav-shell {
  max-width: 1160px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.28);
}

.brand-text { font-size: 0.98rem; }

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.92rem;
}

.nav-link:hover { color: white; }

.section-pad {
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: center;
  min-height: 690px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #bfdbfe;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

h1, h2, h3 {
  line-height: 1.04;
  margin-top: 0;
}

h1 {
  font-size: clamp(3.1rem, 6.4vw, 6.35rem);
  margin-bottom: 24px;
  letter-spacing: -0.075em;
  max-width: 880px;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.55rem);
  margin-bottom: 20px;
  letter-spacing: -0.055em;
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  margin-bottom: 16px;
  letter-spacing: -0.035em;
}

p { color: rgba(255, 255, 255, 0.78); }

.hero-lede {
  font-size: 1.18rem;
  max-width: 700px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 18px;
}

.button {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border 0.16s ease;
  font-size: 0.95rem;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: white;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.30);
}

.button.secondary,
.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid var(--line-dark);
}

.button.ghost {
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
}

.button[disabled] {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

.micro-note {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.91rem;
  max-width: 700px;
}

.hero-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.panel-label {
  color: rgba(255,255,255,0.66);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.path-list {
  display: grid;
  gap: 10px;
}

.path-list span {
  display: block;
  padding: 14px 15px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.88);
  font-weight: 750;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.split-section p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 740px;
}

.process-steps {
  display: grid;
  gap: 22px;
  padding: 10px 0;
}

.process-step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.process-number {
  color: rgba(255,255,255,0.96);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.08em;
}

.process-text {
  display: block;
  color: rgba(255,255,255,0.84);
  font-weight: 760;
  border-bottom: 1px solid rgba(255,255,255,0.16);
  padding: 9px 0 16px;
}

.quiz-section { padding-top: 34px; }

.quiz-shell {
  background: var(--card);
  color: var(--ink);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.18);
}

.quiz-shell p,
.quiz-shell .micro-note {
  color: var(--muted);
}

.quiz-shell .eyebrow {
  color: var(--blue);
}

.quiz-shell h2,
.quiz-shell h3 {
  color: var(--ink);
}

.quiz-intro {
  max-width: 800px;
}

.progress-wrap {
  margin: 30px 0 22px;
}

.progress-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

#progressText,
#progressHint {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 760;
  color: var(--muted);
}

.progress-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

#progressFill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: inherit;
  transition: width 0.22s ease;
}

.question-card,
.contact-card,
.result-card {
  background: var(--card-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(20px, 4vw, 34px);
}

.question-title {
  margin-bottom: 18px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.option-card {
  text-align: left;
  padding: 18px;
  border-radius: 16px;
  background: white;
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--ink);
  transition: border 0.16s ease, background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
  min-height: 116px;
}

.option-card:hover,
.option-card.selected {
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10);
  transform: translateY(-1px);
}

.option-card.is-advancing {
  border-color: var(--blue);
  background: #eff6ff;
}

.option-card strong {
  display: block;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 1rem;
}

.option-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.option-card:disabled {
  cursor: default;
}

.quiz-controls {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 760;
  color: var(--ink);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  background: white;
  color: var(--ink);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: rgba(37, 99, 235, 0.74);
}

textarea { resize: vertical; }

.full-label { margin-top: 8px; }

.contact-note { color: var(--muted); }

.consent-line {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 650;
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.hidden-field,
.is-hidden { display: none !important; }

.result-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.result-path {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 0 0 14px;
}

.result-description {
  max-width: 820px;
  color: var(--muted);
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.result-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: white;
}

.result-box h4 {
  margin: 0 0 8px;
  color: var(--ink);
}

.result-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.disclaimer-section {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line-dark);
  border-radius: 28px;
  margin-bottom: 56px;
}

.disclaimer-section p {
  max-width: 980px;
}

.footer {
  border-top: 1px solid var(--line-dark);
  padding: 28px 24px 42px;
  text-align: center;
}

.footer p {
  margin: 0;
  color: rgba(255,255,255,0.86);
}

.footer-small {
  color: rgba(255,255,255,0.58) !important;
  font-size: 0.88rem;
  margin-top: 4px !important;
}

@media (max-width: 900px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero {
    gap: 34px;
  }

  .section-pad {
    padding: 58px 18px;
  }

  .option-grid,
  .form-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .progress-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .option-card {
    min-height: auto;
  }

  .quiz-controls .button {
    flex: 1 1 140px;
  }
}
