:root {
  --royal-blue: #0047AB;
  --royal-blue-dark: #003399;
  --royal-blue-light: #1a6fd4;
  --charcoal: #1A1A1A;
  --charcoal-soft: #222222;
  --navy: #0f1f3d;
  --deep-blue: #0047AB;
  --red: #0047AB;
  --red-dark: #003399;
  --white: #FFFFFF;
  --light-bg: #f0f4fc;
  --text-gray: #5E6A7D;
  --text-on-dark: rgba(255, 255, 255, 0.78);
  --border: #DDE6F5;
  --shadow-soft: 0 18px 48px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.2);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes floatSoft {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes glowDrift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(18px, -14px) scale(1.08);
  }
}

@keyframes patternDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 120px 80px, -90px 120px, 100px -60px, -70px 90px;
  }
}

@keyframes stripeFloat {
  0%,
  100% {
    transform: rotate(-9deg) translateY(0);
  }

  50% {
    transform: rotate(-9deg) translateY(-12px);
  }
}

@keyframes kenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.06);
  }
}

@keyframes accentPulse {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(215, 25, 32, 0);
  }

  50% {
    text-shadow: 0 0 18px rgba(215, 25, 32, 0.22);
  }
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-130%);
  }

  100% {
    transform: translateX(130%);
  }
}

@keyframes arrowNudge {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

@keyframes cardPop {
  0% {
    transform: scale(0.98);
  }

  55% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shieldPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.06);
    opacity: 0.88;
  }
}

@keyframes meshShift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-2%, 1.5%) scale(1.04);
  }
}

@keyframes spotlightPulse {
  0%,
  100% {
    opacity: 0.55;
    transform: translateX(-50%) scale(1);
  }

  50% {
    opacity: 0.75;
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes urgencyGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(215, 25, 32, 0);
  }

  50% {
    box-shadow: 0 0 20px rgba(215, 25, 32, 0.18);
  }
}

@keyframes eyebrowPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.4);
  }
}

@keyframes formGlow {
  0%,
  100% {
    box-shadow: 0 22px 56px rgba(7, 30, 85, 0.14), 0 0 0 1px rgba(0, 59, 142, 0.08);
  }

  50% {
    box-shadow: 0 28px 64px rgba(7, 30, 85, 0.18), 0 0 0 1px rgba(215, 25, 32, 0.14);
  }
}

@keyframes titleShine {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

.reveal {
  opacity: 0;
  animation: fadeUp 0.85s var(--ease-out) both;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { animation-delay: 0.08s; }
.reveal-delay-2 { animation-delay: 0.18s; }
.reveal-delay-3 { animation-delay: 0.28s; }
.reveal-delay-4 { animation-delay: 0.4s; }
.reveal-delay-5 { animation-delay: 0.52s; }

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", "Poppins", "Montserrat", Arial, sans-serif;
  color: var(--white);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 600px) minmax(380px, 540px);
  gap: 20px clamp(48px, 5vw, 88px);
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 1.6vh, 20px) 48px 32px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--royal-blue-dark) 0%, var(--royal-blue) 28%, var(--charcoal-soft) 72%, var(--charcoal) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hero-bg__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-bg__blob--blue {
  top: -15%;
  right: -12%;
  width: min(60vw, 600px);
  height: min(60vw, 600px);
  background: radial-gradient(circle, rgba(26, 111, 212, 0.22) 0%, transparent 68%);
}

.hero::before,
.hero::after {
  display: none;
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 10px);
  min-width: 0;
}

.brand--solo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.brand--solo img {
  width: clamp(140px, 18vw, 240px);
  height: clamp(86px, 11vw, 147px);
  object-fit: contain;
}

.brand img {
  width: clamp(118px, 13vw, 200px);
  height: clamp(72px, 8vw, 123px);
  flex: 0 1 auto;
  object-fit: contain;
  transition: transform 0.35s var(--ease-out);
}

.brand:hover img {
  transform: scale(1.02);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 3px;
  border: 1px solid rgba(7, 30, 85, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 14px rgba(7, 30, 85, 0.06);
}

.language-switcher--below {
  display: flex;
  width: 100%;
  margin-top: 14px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.language-switcher--below button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy);
  background: transparent;
}

.language-switcher--below button:hover {
  background: rgba(0, 71, 171, 0.08);
}

.language-switcher button {
  min-width: 38px;
  border: 0;
  border-radius: 8px;
  padding: 6px 10px;
  color: var(--navy);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.language-switcher button.active {
  color: var(--white);
  background: var(--royal-blue);
  box-shadow: 0 6px 14px rgba(0, 71, 171, 0.35);
}

.language-switcher--below button.active {
  color: var(--white);
  background: linear-gradient(90deg, var(--royal-blue-dark), var(--royal-blue-light));
  box-shadow: 0 6px 16px rgba(0, 71, 171, 0.35);
}

@media (min-width: 769px) {
  .brand--solo {
    justify-content: flex-start;
  }
}

.hero-content {
  width: 100%;
  max-width: 660px;
  align-self: center;
  justify-self: end;
}

.hero-intro {
  margin-bottom: 20px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--royal-blue-light);
  border: 0;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-eyebrow__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  animation: eyebrowPulse 1.8s ease-in-out infinite;
}

.hero-urgency {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-title {
  max-width: 640px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  display: inline;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #c5e0ff 22%,
    #ffffff 45%,
    #7eb8ff 68%,
    #ffffff 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShine 3.5s linear infinite;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.28));
}

.hero-subtitle .accent-sub {
  color: var(--white);
  font-weight: 900;
}

.hero-subtitle {
  max-width: 580px;
  margin: 14px 0 0;
  color: var(--text-on-dark);
  font-size: clamp(0.95rem, 1.5vw, 1.12rem);
  line-height: 1.58;
  font-weight: 600;
}

.hero-subtitle .accent {
  color: var(--white);
  font-weight: 900;
}


.form-card {
  position: relative;
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(221, 230, 245, 0.96);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.form-card--lead {
  padding-top: 28px;
  scroll-margin-top: 24px;
  box-shadow: 0 20px 50px rgba(7, 30, 85, 0.1);
}

.form-card__accent {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--royal-blue-dark), var(--royal-blue-light));
}

.form-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(0, 51, 153, 0.35), rgba(26, 111, 212, 0.2), rgba(0, 71, 171, 0.25));
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.form-card:focus-within::before {
  opacity: 1;
}

.form-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(7, 30, 85, 0.14);
}

.form-card h2 {
  margin: 0 0 18px;
  color: var(--navy);
  text-align: center;
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#application-form {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field-label {
  color: var(--text-gray);
  font-size: 0.82rem;
  font-weight: 800;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--ease-out);
}

.input-shell:focus-within {
  border-color: var(--deep-blue);
  box-shadow: 0 0 0 4px rgba(0, 59, 142, 0.1);
  transform: translateY(-1px);
}

.input-shell:focus-within svg {
  color: var(--deep-blue);
  transform: scale(1.08);
}

.input-shell svg {
  position: absolute;
  left: 16px;
  width: 22px;
  height: 22px;
  color: var(--text-gray);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  transition: color 0.25s ease, transform 0.25s var(--ease-out);
}

.input-shell input,
.input-shell select {
  width: 100%;
  min-width: 0;
  height: 58px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px 0 52px;
  color: var(--navy);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 650;
  outline: none;
}

.input-shell input::placeholder {
  color: #8B96A8;
  font-weight: 600;
}

.select-shell::after {
  content: "";
  position: absolute;
  right: 18px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--text-gray);
  border-bottom: 2px solid var(--text-gray);
  transform: rotate(45deg) translateY(-3px);
  pointer-events: none;
}

.input-shell select {
  appearance: none;
  padding-right: 48px;
}

.submit-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 62px;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(90deg, var(--royal-blue-dark), var(--royal-blue-light));
  box-shadow: 0 14px 28px rgba(0, 71, 171, 0.35);
  font-size: 1.06rem;
  font-weight: 900;
  transition: transform 0.25s var(--ease-out), background 0.25s ease, box-shadow 0.25s ease;
}

.submit-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.28) 50%, transparent 72%);
  transform: translateX(-130%);
  animation: shimmer 3.8s ease-in-out infinite;
}

.submit-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(90deg, var(--royal-blue), #2b7fe8);
  box-shadow: 0 16px 32px rgba(0, 71, 171, 0.42);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.submit-button svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: arrowNudge 1.8s ease-in-out infinite;
}

.submit-button span {
  position: relative;
  z-index: 1;
}

.privacy-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 0 12px;
  color: var(--text-gray);
}

.privacy-note svg {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  color: var(--deep-blue);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: shieldPulse 3s ease-in-out infinite;
}

.privacy-note p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  font-weight: 600;
}

.hero-poster {
  width: min(100%, 540px);
  max-height: min(88vh, 720px);
  aspect-ratio: 3 / 4;
  justify-self: start;
  align-self: center;
  border-radius: 28px;
  overflow: hidden;
  opacity: 1;
  background: var(--charcoal-soft);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeUp 0.85s var(--ease-out) 0.18s both, floatSoft 7s ease-in-out 1.05s infinite;
}

.hero-poster img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px;
    min-height: 100vh;
    min-height: 100dvh;
    align-content: center;
    justify-items: center;
  }

  .hero-content {
    max-width: 760px;
    order: 2;
    justify-self: center;
  }

  .hero-poster {
    width: min(100%, 500px);
    max-height: min(75vh, 667px);
    aspect-ratio: 3 / 4;
    justify-self: center;
    order: 3;
  }
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    gap: 20px;
    padding:
      calc(10px + env(safe-area-inset-top, 0px))
      calc(18px + env(safe-area-inset-right, 0px))
      calc(24px + env(safe-area-inset-bottom, 0px))
      calc(18px + env(safe-area-inset-left, 0px));
  }

  .hero::after {
    display: none;
  }

  .brand--solo {
    margin-bottom: 14px;
  }

  .brand--solo img {
    width: 132px;
    height: 80px;
  }

  .hero-content {
    order: 1;
    width: 100%;
    align-self: auto;
  }

  .hero-poster {
    order: 2;
    width: min(100%, 460px);
    max-height: min(70vh, 613px);
    aspect-ratio: 3 / 4;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(7, 30, 85, 0.16);
    animation: fadeUp 0.85s var(--ease-out) 0.18s both;
    align-self: center;
    margin-top: 0;
  }

  .hero-poster img {
    object-position: center top;
  }

  .brand--solo img {
    width: 132px;
    height: 80px;
  }

  .language-switcher--below button {
    min-height: 42px;
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: clamp(1.72rem, 8.2vw, 2.2rem);
    line-height: 1.08;
    max-width: none;
  }

  .hero-subtitle {
    margin-top: 12px;
    font-size: 0.98rem;
    line-height: 1.55;
    max-width: none;
  }

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

  .form-card {
    padding: 18px 16px;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(7, 30, 85, 0.1);
  }

  .form-card h2 {
    margin-bottom: 14px;
    font-size: 1.02rem;
  }

  .input-shell {
    min-height: 54px;
  }

  .input-shell input,
  .input-shell select {
    height: 54px;
    font-size: 16px;
  }

  .submit-button {
    min-height: 56px;
    font-size: 1rem;
  }

  .privacy-note {
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
    padding: 0;
  }

  .privacy-note svg {
    width: 32px;
    height: 32px;
    margin-top: 2px;
  }

  .privacy-note p {
    font-size: 0.86rem;
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .hero {
    gap: 16px;
    padding:
      calc(14px + env(safe-area-inset-top, 0px))
      calc(14px + env(safe-area-inset-right, 0px))
      calc(20px + env(safe-area-inset-bottom, 0px))
      calc(14px + env(safe-area-inset-left, 0px));
  }

  .brand--solo img {
    width: 120px;
    height: 73px;
  }

  .language-switcher--below button {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .hero-urgency {
    font-size: 0.74rem;
    padding: 6px 10px;
  }

  .hero-title {
    font-size: 1.68rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .hero-poster {
    width: min(100%, 420px);
    max-height: min(65vh, 560px);
    border-radius: 16px;
  }

  .form-card {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .field-label {
    font-size: 0.78rem;
  }

  .submit-button svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.52rem;
  }

  .brand img {
    width: 88px;
    height: 54px;
  }

  .brand--solo img {
    width: 104px;
    height: 63px;
  }

  .language-switcher button {
    min-width: 30px;
    padding: 7px 8px;
  }
}

/* ── Multi-step form ── */
.step-progress {
  margin-bottom: 18px;
}

.step-progress__bar {
  height: 5px;
  border-radius: 999px;
  background: #e8edf7;
  overflow: hidden;
}

.step-progress__fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--royal-blue-dark), var(--royal-blue-light));
  transition: width 0.35s var(--ease-out);
}

.step-progress__labels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 8px;
}

.step-progress__labels span {
  font-size: 0.62rem;
  font-weight: 800;
  text-align: center;
  color: #9aa5b8;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.step-progress__labels span.active {
  color: var(--deep-blue);
}

.form-step.is-hidden {
  display: none;
}

.step-hint {
  margin: 0 0 14px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-gray);
}

.program-cards {
  display: grid;
  gap: 10px;
}

.program-card {
  cursor: pointer;
}

.program-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.program-card__inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.program-card__inner strong {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
}

.program-card__inner small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-gray);
}

.program-card input:checked + .program-card__inner {
  border-color: var(--deep-blue);
  box-shadow: 0 0 0 3px rgba(0, 59, 142, 0.12);
  transform: translateY(-1px);
}

.field-group {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
}

.field-group .field-label,
.field-group legend {
  display: block;
  margin-bottom: 8px;
  color: var(--text-gray);
  font-size: 0.82rem;
  font-weight: 800;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
  color: var(--navy);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.radio-pill input {
  accent-color: var(--deep-blue);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.radio-pill:has(input:checked) {
  border-color: var(--deep-blue);
  background: #f3f7ff;
}

.cost-block {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #eef4ff;
  border: 1px solid rgba(0, 71, 171, 0.18);
}

.cost-block__range {
  margin: 0 0 10px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--royal-blue);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.45;
  color: var(--navy);
  cursor: pointer;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--deep-blue);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-row--consent {
  margin-bottom: 10px;
}

.lead-tier-note {
  margin: 0 0 4px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
}

.lead-tier-note--cold {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.lead-tier-note--warm {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.lead-tier-note--hot {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.summary-box {
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 12px;
  background: var(--light-bg);
  border: 1px solid var(--border);
}

.summary-box p {
  margin: 0 0 6px;
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--navy);
  line-height: 1.45;
}

.summary-box p:last-child {
  margin-bottom: 0;
}

.form-nav {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  flex: 1;
  border: 0;
  border-radius: 14px;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-button--back {
  color: var(--navy);
  background: #eef0f4;
}

.nav-button--next {
  color: var(--white);
  background: linear-gradient(90deg, var(--royal-blue-dark), var(--royal-blue));
  box-shadow: 0 10px 22px rgba(0, 71, 171, 0.3);
}

.nav-button--back:hover,
.nav-button--next:hover {
  transform: translateY(-1px);
}

.nav-button.is-hidden,
.submit-button.is-hidden {
  display: none;
}

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

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

#application-form {
  gap: 0;
}

@media (max-width: 768px) {
  .step-progress__labels span {
    font-size: 0.56rem;
  }

  .form-nav {
    flex-direction: column-reverse;
  }

  .nav-button,
  .submit-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
