* {
  box-sizing: border-box;
}

:root {
  --bg: #eef4ff;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #dbe4f0;
  --primary: #1d4ed8;
  --primary-dark: #0f3ea9;
  --primary-soft: #eff6ff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 36%),
    linear-gradient(180deg, #f6f9ff 0%, var(--bg) 100%);
  color: var(--text);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
  padding: 36px 18px;
}

.layout {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-panel,
.form-panel {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(29, 78, 216, 0.92)),
    #0f172a;
  color: #ffffff;
}

.form-panel {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(219, 228, 240, 0.9);
  padding: 26px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-panel h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
}

.urgency-banner {
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(22, 163, 74, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.urgency-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.urgency-title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}

.urgency-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.trust-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-card strong {
  font-size: 15px;
}

.trust-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.trust-card.highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.26), rgba(22, 163, 74, 0.34));
}

.bullet-list {
  margin: 28px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.progress-card {
  padding: 0 0 18px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e8eef7;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #4f8cff);
  transition: width 0.28s ease;
}

.step {
  display: none;
  animation: fadeIn 0.25s ease;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question {
  margin: 8px 0 8px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.subtext,
.helper-text,
.footnote {
  color: var(--muted);
}

.subtext {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
}

.options {
  display: grid;
  gap: 12px;
}

.option {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.option:hover {
  border-color: #90b4ff;
  background: #f8fbff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.06);
}

.helper-text {
  margin: 12px 2px 0;
  font-size: 12px;
  line-height: 1.6;
}

.summary {
  margin: 8px 0 22px;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid #c9dafd;
  border-radius: 18px;
  color: #1e3a8a;
  font-size: 15px;
  line-height: 1.7;
}

.cta-stack {
  display: grid;
  gap: 12px;
}

.cta-button {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.6px;
  transition: all 0.15s ease;
}

.cta-button.primary {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow:
    0 5px 0 #1e3a8a,
    0 14px 32px rgba(0, 0, 0, 0.28);
}

.cta-button.primary:hover {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  box-shadow:
    0 7px 0 #1e3a8a,
    0 18px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.cta-button.primary:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 #1e3a8a,
    0 10px 20px rgba(0, 0, 0, 0.25);
}

.footnote {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.navigation {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.nav-btn {
  flex: 1;
  border: none;
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.nav-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.nav-btn.secondary {
  background: #edf2f8;
  color: #0f172a;
}

.nav-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
}

.nav-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  background: rgba(15, 23, 42, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .form-panel {
    padding: 24px;
  }

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

@media (max-width: 640px) {
  .page-shell {
    padding: 14px;
  }

  .hero-panel,
  .form-panel {
    border-radius: 22px;
    padding: 20px;
  }

  .question {
    font-size: 25px;
  }

  .navigation {
    position: sticky;
    bottom: 0;
    padding-top: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%);
  }

  .cta-button {
    font-size: 17px;
    padding: 17px 18px;
  }
}