:root {
  --cream: #fdfcf9;
  --deep-navy: #0a0a0f;
  --ocean-blue: #162c3d;
  --bright-blue: #588fdc;
  --bright-blue-hover: #6ba0ea;
  --charcoal: #1a1a1a;
  --text: #2a2a2a;
  --text-light: #6b6b6b;
  --border-dark: rgba(255, 255, 255, 0.2);
  --border-light: rgba(10, 10, 15, 0.15);
  --container: 1120px;
  --line-light-strong: rgba(10, 10, 15, 0.22);
  --glow: rgba(88, 143, 220, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.5;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.dark {
  background: linear-gradient(180deg, #0a0a0f 0%, #081019 100%);
  color: #ffffff;
}

.light {
  background: var(--cream);
  color: var(--text);
}

.glow-line {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(88, 143, 220, 0),
    rgba(88, 143, 220, 0.8),
    rgba(88, 143, 220, 0)
  );
}

.eyebrow {
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 600;
  opacity: 0.9;
}

.site-header {
  position: relative;
  z-index: 40;
  background: rgba(10, 10, 15, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
}

.header-inner {
  min-height: 4.25rem;
  padding-block: 0.35rem;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.brand-mark img {
  display: block;
  height: clamp(2.75rem, 8.5vw, 3.75rem);
  width: auto;
  max-width: min(92vw, 280px);
  object-fit: contain;
}

/* Tighter than default .section so headline + CTA + video fit above the fold on desktop. */
.section.hero {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.hero-stack {
  display: grid;
  gap: clamp(1.35rem, 3.5vw, 2.25rem);
}

.centered-copy {
  text-align: center;
}

.centered-copy h1,
.centered-copy h2,
.centered-copy .lede,
.centered-copy .section-intro {
  margin-inline: auto;
}

.hero-copy {
  width: 100%;
  max-width: 100%;
}

.hero-copy h1 {
  font-size: clamp(1.9rem, 6.2vw, 3.15rem);
  /* Full row width — do NOT use text-wrap: balance; it forces short “balanced” lines. */
  max-width: 100%;
  width: 100%;
}

.lede {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.86);
}

.support-text {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Same footprint as a standard YouTube embed: max ~853×480, always 16:9. */
.hero-proof {
  width: min(100%, 853px);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  margin-top: 0.35rem;
}

.video-embed-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: #000;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

/* Responsive 16:9 box (iframe-style); height comes only from width × 9/16. */
.video-embed-shell::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 56.25%;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  padding: clamp(0.75rem, 2.5vw, 1.25rem);
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.35rem;
  background: linear-gradient(165deg, #0b1218 0%, #162c3d 55%, #0d1722 100%);
}

.hero-proof .video-placeholder-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #ffffff;
  max-width: 32ch;
  margin-inline: auto;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.video-placeholder-hint {
  margin: 0.35rem 0 0;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 40ch;
  margin-inline: auto;
}

.video-placeholder p,
.video-placeholder li {
  color: rgba(255, 255, 255, 0.85);
}

.video-placeholder ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
}

.proof-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.25rem 0.45rem;
  margin-bottom: 0.9rem;
}

.hero-cta-wrap {
  text-align: center;
}

.btn-hero {
  min-width: min(100%, 320px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  text-decoration: none;
  min-height: 48px;
  padding: 0.7rem 1rem;
}

.btn-primary {
  margin-top: 1.25rem;
  background: var(--bright-blue);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.section h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  max-width: 18ch;
}

.section-intro {
  margin-top: 0.8rem;
  max-width: 48ch;
  color: var(--text-light);
}

.trust-grid,
.card-grid {
  margin-top: 1.4rem;
  display: grid;
  gap: 1rem;
}

.card {
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 1.15rem;
}

.card-light {
  border-color: var(--border-light);
  box-shadow: 0 10px 24px rgba(10, 10, 15, 0.08);
  background: #ffffff;
}

.card-dark {
  border-color: var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
}

.compact-grid {
  max-width: 960px;
  margin-inline: auto;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.steps li {
  border: 1px solid var(--border-dark);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.02);
}

.steps span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  opacity: 0.75;
  margin-bottom: 0.45rem;
}

.qualification .container {
  max-width: 680px;
}

.qualification-prompt {
  text-align: left;
}

.qualification-prompt .section-intro {
  font-size: clamp(1rem, 2vw, 1.12rem);
}

.progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  margin-bottom: 0;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

.progress-label strong,
#progress-text {
  color: var(--deep-navy);
}

.progress-track {
  width: 100%;
  background: var(--line-light-strong);
  height: 6px;
  position: relative;
  overflow: hidden;
}

.progress-fill {
  position: relative;
  width: 11%;
  height: 100%;
  background: var(--deep-navy);
  transition: width 420ms var(--ease-out);
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 3px;
  background: var(--bright-blue);
  box-shadow: 0 0 8px var(--glow);
}

.wizard-steps .step {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  background: transparent;
}

.wizard-steps .step.active,
.wizard-steps .step.is-active {
  display: flex;
  animation: step-in 420ms var(--ease-out);
}

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

.step legend {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0;
  padding: 0;
}

.step-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #274a73;
  font-weight: 700;
}

.step-title {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--deep-navy);
}

.hint,
.step-hint {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.option-grid {
  display: grid;
  gap: 0.75rem;
}

.option-grid label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 60px;
  border: 1px solid var(--line-light-strong);
  padding: 1rem 1.25rem;
  background: #ffffff;
  cursor: pointer;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  transition: border-color 120ms var(--ease), background 120ms var(--ease),
    box-shadow 120ms var(--ease), transform 120ms var(--ease);
}

.option-grid label:hover {
  border-color: var(--deep-navy);
}

.option-grid input[type="radio"],
.option-grid input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid var(--line-light-strong);
  background: transparent;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  transition: border-color 120ms var(--ease), background 120ms var(--ease);
}

.option-grid input[type="radio"]::after,
.option-grid input[type="checkbox"]::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--bright-blue);
  transform: scale(0);
  transition: transform 120ms var(--ease);
}

.option-grid label:has(input:checked) {
  border-color: var(--deep-navy);
  background: var(--cream);
  box-shadow: 4px 4px 0 var(--deep-navy);
  transform: translate(-2px, -2px);
}

.option-grid label:has(input:checked) input {
  border-color: var(--deep-navy);
  background: var(--deep-navy);
}

.option-grid label:has(input:checked) input::after {
  transform: scale(1);
}

.option-grid label:has(input:focus-visible) {
  outline: 2px solid var(--bright-blue);
  outline-offset: 2px;
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
}

input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line-light-strong);
  padding: 1rem;
  font: inherit;
  font-size: 1rem;
  background: #ffffff;
  color: var(--text);
  transition: border-color 120ms var(--ease);
}

input:focus {
  border-color: var(--deep-navy);
  outline: 2px solid var(--bright-blue);
  outline-offset: 2px;
}

.wizard-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(10, 10, 15, 0.1);
  flex-wrap: wrap;
}

.error-message {
  min-height: 1.2rem;
  margin-top: 0.7rem;
  color: #b42318;
  font-size: 0.9rem;
}

.status-message {
  margin-top: 0.8rem;
  min-height: 1.3rem;
  font-size: 0.92rem;
}

.status-message.is-loading {
  color: var(--text-light);
}

.status-message.is-success {
  color: #067647;
  font-weight: 600;
}

.status-message.is-error {
  color: #b42318;
  font-weight: 600;
}

#submit-lead[aria-busy="true"] {
  position: relative;
  opacity: 0.88;
}

.faq-list {
  margin-top: 1.2rem;
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 700;
  padding: 1rem 0;
  cursor: pointer;
  color: var(--charcoal);
  -webkit-appearance: none;
  appearance: none;
}

.faq-answer {
  display: none;
  padding-bottom: 1rem;
  color: var(--text-light);
}

.faq-item.open .faq-answer {
  display: block;
}

.final-cta-inner {
  max-width: 58ch;
}

#lead-form {
  margin-top: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--line-light-strong);
  border-radius: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 6px 6px 0 var(--deep-navy);
  text-align: left;
}

#lead-form .btn-primary {
  margin-top: 0;
  min-height: 52px;
  border-radius: 0;
  background: var(--bright-blue);
  border-color: var(--bright-blue);
  color: var(--deep-navy);
  font-weight: 700;
  transition: background 220ms var(--ease), border-color 220ms var(--ease),
    transform 120ms var(--ease);
}

#lead-form .btn-primary:hover {
  background: var(--bright-blue-hover);
  border-color: var(--bright-blue-hover);
}

#lead-form .btn-primary:active {
  transform: translateY(1px);
}

#lead-form .btn-secondary {
  border: 0;
  background: transparent;
  color: var(--text-light);
  padding-inline: 0;
  font-weight: 600;
}

#lead-form .btn-secondary:hover {
  color: var(--deep-navy);
}

#prev-step[disabled] {
  visibility: hidden;
}

.thank-you {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #0a0a0f 0%, #06080f 100%);
  color: #ffffff;
  isolation: isolate;
}

.thank-you--inline {
  margin-top: 1.25rem;
  border: 1px solid rgba(88, 143, 220, 0.22);
  border-radius: 24px;
  background: linear-gradient(180deg, #0a0a0f 0%, #081019 100%);
  color: #ffffff;
  box-shadow: 0 18px 44px rgba(10, 10, 15, 0.18);
}

.thank-you--inline .thank-you-bg {
  display: block;
}

.thank-you .glow-line {
  z-index: 2;
}

.thank-you-bg {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(
    ellipse 80% 55% at 50% 0%,
    rgba(88, 143, 220, 0.22),
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

.thank-you-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-block: 0.5rem;
}

.thank-you-card {
  width: min(100%, 520px);
  margin-inline: auto;
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 4vw, 2rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(255, 255, 255, 0.02) 50%,
    rgba(10, 14, 22, 0.65) 100%
  );
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.thank-you-figure {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
}

.thank-you-mark {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(88, 143, 220, 0.35));
}

.thank-you-ring {
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.5;
  fill: none;
  transform-origin: 60px 60px;
}

.thank-you-ring--outer {
  animation: thank-you-orbit 22s linear infinite;
}

.thank-you-ring--inner {
  stroke: rgba(88, 143, 220, 0.35);
  stroke-dasharray: 8 14;
  animation: thank-you-orbit-reverse 28s linear infinite;
}

@keyframes thank-you-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes thank-you-orbit-reverse {
  to {
    transform: rotate(-360deg);
  }
}

.thank-you-disc {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(88, 143, 220, 0.45);
  stroke-width: 1.25;
}

.thank-you-check {
  fill: none;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: thank-you-draw 0.85s cubic-bezier(0.33, 1, 0.68, 1) 0.15s forwards;
}

.thank-you-spark {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 12px rgba(126, 179, 245, 0.9);
  opacity: 0;
  animation: thank-you-spark 1.1s ease-out 0.5s forwards;
}

.thank-you-spark--1 {
  top: 8%;
  right: 4%;
  animation-delay: 0.45s;
}

.thank-you-spark--2 {
  bottom: 18%;
  left: 0;
  width: 4px;
  height: 4px;
  animation-delay: 0.62s;
}

.thank-you-spark--3 {
  top: 38%;
  right: -2%;
  width: 5px;
  height: 5px;
  animation-delay: 0.78s;
}

@keyframes thank-you-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes thank-you-spark {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}

.thank-you[data-tier="hot"] .thank-you-disc {
  stroke: rgba(245, 198, 108, 0.55);
}

.thank-you[data-tier="hot"] .thank-you-mark {
  filter: drop-shadow(0 12px 28px rgba(245, 198, 108, 0.28));
}

.thank-you[data-tier="hot"] .thank-you-ring--inner {
  stroke: rgba(245, 198, 108, 0.4);
}

.thank-you[data-tier="cold"] .thank-you-disc {
  stroke: rgba(120, 200, 180, 0.4);
}

.thank-you[data-tier="cold"] .thank-you-ring--inner {
  stroke: rgba(120, 200, 180, 0.28);
}

.thank-you-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  border: 1px solid rgba(88, 143, 220, 0.45);
  background: rgba(88, 143, 220, 0.12);
}

.thank-you[data-tier="hot"] .thank-you-badge {
  border-color: rgba(245, 198, 108, 0.5);
  background: rgba(245, 198, 108, 0.12);
}

.thank-you[data-tier="cold"] .thank-you-badge {
  border-color: rgba(120, 200, 180, 0.45);
  background: rgba(120, 200, 180, 0.1);
}

.thank-you-card h2 {
  margin-bottom: 0.85rem;
  color: #ffffff;
  max-width: 22ch;
  margin-inline: auto;
}

.thank-you-lede {
  margin: 0 auto;
  max-width: 38ch;
  font-size: clamp(1rem, 2.2vw, 1.08rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.thank-you-footnote {
  margin: 1.15rem auto 0;
  max-width: 42ch;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.thank-you-cta {
  margin-top: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .thank-you-check {
    stroke-dashoffset: 0;
    animation: none;
  }

  .thank-you-spark {
    opacity: 0.75;
    animation: none;
  }

  .thank-you-ring--outer,
  .thank-you-ring--inner {
    animation: none;
  }
}

.hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .section {
    padding: 6rem 0;
  }

  .section.hero {
    padding-top: 2.75rem;
    padding-bottom: 3.25rem;
  }

  .hero-stack {
    gap: clamp(1.35rem, 2.8vw, 2rem);
  }

  #lead-form {
    padding: 1.25rem;
  }

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

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

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

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

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

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