/* ============================================================
   Intra-National Mortgage — Pre-Qualification Funnel
   style.css — v3 (Intra-Mortgage brand guide)
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-deep-navy: #002c66;
  --color-eastern-blue: #2399b4;
  --color-soft-coral: #e67571;
  --color-slate-gray: #2a2d31;

  --font-primary: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-secondary: "Merriweather", Georgia, serif;

  /* Semantic palette (aliases used across existing rules) */
  --color-navy: var(--color-deep-navy);
  --color-navy-hover: #001f49;
  --color-teal: var(--color-eastern-blue); /* accents, links, icons, active UI */
  --color-bg: #edf2f7;
  --color-white: #ffffff;
  --color-green: #22c55e;
  --color-text: var(--color-slate-gray);
  --color-muted: #5f656c;
  --color-border: #d8e0e8;
  --color-border-hover: var(--color-deep-navy);
  --color-border-active: var(--color-eastern-blue);
  --color-error: #ef4444;

  --radius-card: 12px;
  --radius-pill: 999px;
  --radius-tile: 10px;

  --shadow-card: 0 2px 8px rgba(0, 44, 102, 0.08);
  --shadow-card-hover: 0 4px 16px rgba(0, 44, 102, 0.14);

  --transition-fast: 150ms ease;
  --transition-screen: 250ms ease-in-out;

  --font-body: var(--font-primary);
  --font-accent: var(--font-secondary);

  --header-height: 72px;
  --progress-height: 4px;
}

::selection {
  background: rgba(230, 117, 113, 0.22);
  color: var(--color-deep-navy);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

b,
strong {
  font-weight: 600;
}

a {
  color: var(--color-teal);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: 16px; /* Prevents iOS zoom on focus */
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Focus Styles (Accessibility) ---------- */
:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Progress Bar Wrapper ---------- */
/*
  Single sticky header — one container owns the full chrome stack:
    1. .progress-bar-track  — var(--progress-height) = 4px, full width
    2. .header-inner        — var(--header-height) = 72px nav row
  Total visible header: ~68px. No margin-top offset needed on main content.
*/

/* ---------- Header ---------- */
.funnel-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-bg);
  border-bottom: 1px solid #D1DCE5;
}

.progress-bar-track {
  width: 100%;
  height: var(--progress-height);
  background-color: #d0dbe5;
}

.progress-bar-fill {
  height: 100%;
  background-color: #E67571;
  width: 10%;
  transition: width var(--transition-screen);
  border-radius: 0 2px 2px 0;
}

/* Nav row inside the header — logo centered, minimal chrome */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: var(--header-height);
}

/* Step counter — pushed to the right of the nav row */
.step-counter {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-eastern-blue);
  white-space: nowrap;
  padding-left: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin: 0;
  /* No background, border, shadow, or box — logo sits directly in the header */
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Back — lives in question area (.funnel-step-toolbar), not header */
.back-btn {
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-btn--step {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  margin: 0;
  border-radius: 6px;
  min-height: 36px;
  min-width: 0;
  align-self: flex-start;
  transition: color var(--transition-fast), background-color var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
}

.back-btn--step:hover,
.back-btn--step:focus-visible {
  color: var(--color-deep-navy);
  background-color: transparent;
}

.back-btn--step:focus-visible {
  outline: 2px solid var(--color-eastern-blue);
  outline-offset: 3px;
}

/* Top row above question — Back left; right slot for optional help */
.funnel-step-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px;
  min-height: 0;
}

.funnel-step-toolbar__start {
  display: flex;
  align-items: center;
  min-width: 0;
}

/* Keep row visible whenever Back is mounted (avoid :empty edge cases). */

.funnel-step-toolbar__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  margin-left: auto;
}

.funnel-step-toolbar--inactive {
  display: none !important;
}

/* Active step: toolbar must stay visible when Back is shown */
.screen.active .funnel-step-toolbar:not(.funnel-step-toolbar--inactive) {
  display: flex !important;
}

/* Ensure parked Back stays suppressed; visible Back wins over any stray rules */
#back-btn[hidden] {
  display: none !important;
}

#back-btn:not([hidden]) {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#funnel-back-parking {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Screen Viewport ---------- */
.screen-viewport {
  position: relative;
  overflow: hidden;
  /* No margin-top needed — header is sticky in normal flow, not fixed */
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
}

/* ---------- Screens ---------- */
.screen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);

  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform var(--transition-screen), opacity var(--transition-screen);
  will-change: transform, opacity;
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  position: relative;
}

.screen.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}

.screen.slide-in-right {
  transform: translateX(100%);
  opacity: 0;
}

.screen.slide-out-right {
  transform: translateX(100%);
  opacity: 0;
}

.screen.slide-in-left {
  transform: translateX(-100%);
  opacity: 0;
}

/* ---------- Screen Inner ---------- */
.screen-inner {
  flex: 1;
  width: 100%;
  margin: 0 auto;
  padding: 12px 20px 20px;
  max-width: 560px; /* Mobile: unchanged feel */
}

/* Tablet: widen content column */
@media (min-width: 600px) {
  .screen-inner {
    max-width: 720px;
  }
}

/* Desktop: use more horizontal space — less “tiny island” centered layout */
@media (min-width: 900px) {
  .screen-inner {
    max-width: 880px;
  }
}

/* ---------- Trust line (Screen 1) ---------- */
.trust-badge {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
  margin-bottom: 14px;
}

/* ---------- Label Tag ---------- */
.label-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-eastern-blue);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.label-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1.5px;
  background-color: var(--color-eastern-blue);
  flex-shrink: 0;
}

/* ---------- Headlines ---------- */
.headline {
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.teal-italic {
  color: var(--color-eastern-blue);
  font-style: italic;
  font-family: var(--font-accent);
  font-weight: 400;
}

.subheadline {
  font-size: 15px;
  font-weight: 300;
  color: var(--color-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

/* ---------- Option Cards ---------- */
.option-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 12px 44px 12px 14px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  min-height: 64px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-card);
  -webkit-tap-highlight-color: transparent;
}

.option-card:hover,
.option-card:focus-visible {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
}

.option-card.selected {
  border-color: var(--color-eastern-blue);
  background-color: rgba(35, 153, 180, 0.06);
  box-shadow: 0 0 0 1px var(--color-eastern-blue), var(--shadow-card-hover);
}

.option-card.selected .card-check {
  opacity: 1;
  transform: scale(1);
}

.card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: rgba(35, 153, 180, 0.1);
  color: var(--color-eastern-blue);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.option-card.selected .card-icon {
  background-color: var(--color-eastern-blue);
  color: #FFFFFF;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.card-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.3;
}

.card-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.4;
}

.card-check {
  position: absolute;
  top: 12px;
  right: 12px;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  flex-shrink: 0;
}


/* ---------- Option Tiles ---------- */
.option-tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .option-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.option-tile {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-tile);
  padding: 14px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  text-align: center;
  cursor: pointer;
  min-height: 52px;
  transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast), color var(--transition-fast);
  box-shadow: var(--shadow-card);
  -webkit-tap-highlight-color: transparent;
  line-height: 1.3;
}

.option-tile:hover,
.option-tile:focus-visible {
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-card-hover);
}

.option-tile.selected {
  background-color: rgba(35, 153, 180, 0.06);
  border-color: var(--color-eastern-blue);
  color: var(--color-navy);
  box-shadow: 0 0 0 1px var(--color-eastern-blue), var(--shadow-card-hover);
}

/* ---------- Next Button ---------- */
.next-btn-wrapper {
  margin-top: 20px;
  position: relative;
}

.next-btn-wrapper.is-disabled::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.funnel-lo-attribution {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-navy);
  opacity: 0.88;
  text-align: center;
}

.btn-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-deep-navy);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 0 28px;
  height: 52px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-deep-navy);
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  min-height: 52px;
}

.btn-next:hover:not(:disabled),
.btn-next:focus-visible:not(:disabled) {
  background-color: var(--color-navy-hover);
  border-color: var(--color-navy-hover);
  text-decoration: none;
  color: #ffffff;
}

.btn-next:active:not(:disabled) {
  transform: scale(0.98);
}

/* Disabled / inactive state — soft and recessive until user selects */
.btn-next:disabled,
.btn-next[aria-disabled="true"] {
  background-color: #d9e3ef;
  border-color: #c5d4e5;
  color: rgba(42, 45, 49, 0.45);
  opacity: 0.85;
  cursor: not-allowed;
  pointer-events: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

/* Active / enabled state */
.btn-next:not(:disabled):not([aria-disabled="true"]) {
  opacity: 1;
  cursor: pointer;
}

/* ---------- Helper Text ---------- */
.helper-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.55;
  padding: 12px 14px;
  background-color: rgba(35, 153, 180, 0.06);
  border-left: 3px solid var(--color-teal);
  border-radius: 0 6px 6px 0;
  margin-top: 4px;
  margin-bottom: 8px;
}

/* ---------- Inline Feedback ---------- */
.inline-feedback {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-eastern-blue);
  font-style: italic;
  min-height: 20px;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.inline-feedback.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Credit Notice ---------- */
.credit-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: rgba(35, 153, 180, 0.08);
  border: 1px solid rgba(35, 153, 180, 0.25);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 20px;
}

.credit-lock {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: rgba(35, 153, 180, 0.12);
  color: var(--color-eastern-blue);
}

.credit-lock svg {
  width: 18px;
  height: 18px;
  display: block;
}

.credit-notice strong {
  display: block;
  font-size: 14px;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.credit-notice span {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
}

/* ---------- Credit Score Screen — compact row layout ---------- */
/* Scoped to screen-9 so no other screen is affected */
#screen-9 .option-cards {
  gap: 8px;
  margin-bottom: 8px;
}

#screen-9 .option-card {
  min-height: 52px;
  height: auto;
  padding: 12px 44px 12px 16px;
  align-items: center;
}

/* Tighten the reassurance box on this screen only */
#screen-9 .credit-notice {
  padding: 10px 14px;
  margin-bottom: 14px;
}

/* Inline label — range layout */
.credit-row-inner {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex: 1;
  min-width: 0;
  flex-wrap: wrap;
}

.credit-row-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
}

.credit-row-sep {
  font-size: 14px;
  color: var(--color-muted);
  flex-shrink: 0;
}

.credit-row-range {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.3;
}

/* ---------- Interstitial Screen ---------- */
/* Fix 6: Vertically center the "Almost there" content in the viewport */
.screen-interstitial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 68px);
  min-height: calc(100dvh - 68px);
  padding-top: 24px;
  padding-bottom: 24px;
}

.interstitial-logo {
  margin-bottom: 20px;
}

.intra-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
}

.lo-headshot-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-teal);
}

.lo-name-interstitial {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 16px;
  margin-top: -8px;
}

.interstitial-headline {
  margin-bottom: 16px;
}

.interstitial-body {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 32px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-navy);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  padding: 0 28px;
  height: 52px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-navy);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  min-height: 52px;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-navy-hover);
  border-color: var(--color-navy-hover);
  text-decoration: none;
  color: var(--color-white);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 600;
  padding: 0 28px;
  height: 52px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-navy);
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  min-height: 52px;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: var(--color-bg);
  text-decoration: none;
  color: var(--color-navy);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-full {
  width: 100%;
}

/* ---------- Contact Form ---------- */
.security-statement {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}

.contact-intent-fieldset {
  border: none;
  margin: 0 0 8px;
  padding: 0;
}

.contact-intent-legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 12px;
  padding: 0;
}

.contact-intent-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intent-radio-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--color-navy);
  line-height: 1.35;
}

.intent-radio-row input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-teal);
}

.intent-radio-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.intent-radio-desc {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-muted);
}

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

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

.contact-preference-fieldset {
  border: none;
  margin: 12px 0 0;
  padding: 0;
}

.contact-preference-legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-slate-gray);
  margin: 0 0 8px;
  padding: 0;
}

/* Segmented toggle: two equal pill buttons, single row (mobile-safe) */
.contact-preference-segmented {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  gap: 8px;
}

.contact-pref-segment {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.contact-pref-input {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-pref-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-navy);
  background-color: var(--color-white);
  border: 2px solid var(--color-navy);
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

@media (max-width: 360px) {
  .contact-pref-pill {
    font-size: 14px;
    padding: 0 8px;
    min-height: 44px;
  }
}

.contact-pref-segment:hover .contact-pref-pill {
  background-color: var(--color-bg);
}

.contact-pref-input:checked + .contact-pref-pill {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.contact-pref-input:checked + .contact-pref-pill:hover {
  background-color: var(--color-navy-hover);
  border-color: var(--color-navy-hover);
}

.contact-pref-segment:active .contact-pref-pill {
  transform: scale(0.98);
}

.contact-pref-input:focus-visible + .contact-pref-pill {
  outline: 2px solid var(--color-eastern-blue);
  outline-offset: 2px;
}

.phone-optional-note {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.01em;
}

.required-star {
  color: var(--color-teal);
}

.form-group input {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 10px;
  padding: 0 14px;
  height: 52px;
  font-size: 16px;
  font-weight: 400;
  color: var(--color-navy);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: var(--color-border);
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(35, 153, 180, 0.15);
}

.form-group input.error {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.field-error {
  font-size: 12px;
  color: var(--color-error);
  min-height: 16px;
  font-weight: 500;
}

.field-hint {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-top: 2px;
}

.consent-text {
  font-size: 11px;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: center;
}

/* ---------- Result Screen ---------- */

.result-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .result-layout {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.result-right-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Hide empty flags div so it doesn't create a phantom gap */
#result-flags:empty {
  display: none;
}

/* On two-column layout, match the card's internal top padding */
@media (min-width: 900px) {
  .result-right-col {
    padding-top: 24px;
  }
}
.result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.result-check-badge {
  flex-shrink: 0;
}

.result-headline {
  margin-bottom: 0;
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 700;
  color: var(--color-deep-navy);
}

.result-secondary-nav {
  margin: -4px 0 10px;
}

.result-nav-subtle {
  display: inline;
  padding: 4px 0;
  margin: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  background: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}

.result-nav-subtle:hover,
.result-nav-subtle:focus-visible {
  color: var(--color-deep-navy);
}

.result-nav-subtle:focus-visible {
  outline: 2px solid rgba(35, 153, 180, 0.45);
  outline-offset: 2px;
}

.result-start-over-wrap {
  margin: 8px 0 0;
  text-align: center;
}

.result-card {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-radius: 16px;
  padding: 24px 22px;
  margin-bottom: 16px;
  box-shadow: 0 8px 32px rgba(0, 44, 102, 0.22);
}

.result-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Range block: default is body-like so path/unlicensed never inherit “price range” sizing. */
.result-range {
  color: var(--color-white);
  margin-bottom: 12px;
}

/* Purchase flow only: big numeric range typography on the container */
.result-card--buy .result-range {
  font-size: clamp(26px, 7vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.result-card--path .result-range {
  font-size: inherit;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: normal;
  margin-bottom: 14px;
}

.result-card--path .result-range p {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
  line-height: 1.45;
}

.result-path-hero {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  margin: 0 0 8px;
  line-height: 1.35;
}

.result-path-detail {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  line-height: 1.5;
}

.result-path-metric-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 16px 0 6px;
}

.result-path-numeric {
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--color-white);
}

.result-path-numeric--secondary {
  font-size: clamp(20px, 5vw, 28px);
  color: rgba(255, 255, 255, 0.92);
}

.result-card--buy .result-range-numeric {
  font-size: clamp(28px, 7.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--color-white);
}

.result-buy-context {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin: 0 0 10px;
}

.result-buy-support {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  margin: 0;
}

.result-range-sep {
  color: var(--color-eastern-blue);
  margin: 0 10px;
  font-size: 1em;
}

.result-summary-lead {
  font-size: clamp(15px, 3.8vw, 17px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
  margin: 0 0 12px;
}

.result-card-micro-disclaimer {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
  margin: 16px 0 0;
}

.result-loan-type {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 4px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.result-loan-type span {
  color: var(--color-eastern-blue);
  font-weight: 600;
}

.result-loan-type-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.result-based-on {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.result-based-on strong {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.result-based-on ul {
  list-style: none;
  padding: 0;
}

.result-based-on ul li::before {
  content: '· ';
  color: var(--color-eastern-blue);
}

.result-flags {
  margin-bottom: 12px;
}

.result-flag {
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
  background-color: rgba(35, 153, 180, 0.06);
  border-left: 3px solid var(--color-teal);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin-bottom: 8px;
  line-height: 1.5;
}

.result-floor-msg {
  font-size: 15px;
  color: var(--color-navy);
  font-weight: 600;
  text-align: center;
  padding: 20px;
  background-color: var(--color-white);
  border-radius: var(--radius-card);
  border: 2px solid var(--color-border);
  margin-bottom: 16px;
}

.result-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Shared base for all three result CTAs */
.result-cta-soft,
.result-cta-outline,
.result-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 0 28px;
  min-height: 52px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Send my results — lowest visual weight */
.result-cta-soft {
  background-color: rgba(35, 153, 180, 0.1);
  color: var(--color-deep-navy);
  border-color: var(--color-deep-navy);
}
.result-cta-soft:hover,
.result-cta-soft:focus-visible {
  background-color: rgba(35, 153, 180, 0.16);
}
.result-cta-soft:active {
  transform: scale(0.98);
}

/* Review my options — medium visual weight */
.result-cta-outline {
  background-color: transparent;
  color: var(--color-eastern-blue);
  border-color: var(--color-eastern-blue);
}
.result-cta-outline:hover,
.result-cta-outline:focus-visible {
  background-color: rgba(35, 153, 180, 0.08);
}
.result-cta-outline:active {
  transform: scale(0.98);
}

/* Start my application — primary CTA (Deep Navy) */
.result-cta-primary {
  background-color: var(--color-deep-navy);
  color: #ffffff;
  border-color: var(--color-deep-navy);
}
.result-cta-primary:hover,
.result-cta-primary:focus-visible {
  background-color: var(--color-navy-hover);
  border-color: var(--color-navy-hover);
  text-decoration: none;
  color: #ffffff;
}
.result-cta-primary:active {
  transform: scale(0.98);
}

.lo-personal-block {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 16px;
  margin: 24px 0;
  text-align: left;
}

.lo-photo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--color-eastern-blue);
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-eastern-blue);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
}

.lo-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lo-info-name {
  font-weight: 700;
  color: var(--color-navy);
  font-size: 16px;
}

.lo-info-sub {
  font-size: 14px;
  color: var(--color-muted);
  line-height: 1.4;
}

.result-disclaimer-new {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.45;
  margin: 12px 0 0;
  text-align: center;
}

/* Ghost button — lighter than secondary, clearly tappable, not a text link */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 600;
  padding: 0 28px;
  height: 52px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #94A3B8; /* color hierarchy: ghost button border */
  cursor: pointer;
  text-decoration: none;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  min-height: 52px;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background-color: var(--color-bg);
  border-color: #64748B;     /* color hierarchy: ghost button hover border */
  text-decoration: none;
  color: var(--color-navy);
}

.btn-ghost:active {
  transform: scale(0.98);
}

/* Screen 5 — inline waitlist (coming soon / not available states) */
.screen-5-waitlist-panel {
  margin-top: 14px;
  margin-bottom: 4px;
  padding: 18px 16px;
  background-color: rgba(35, 153, 180, 0.06);
  border: 1px solid rgba(35, 153, 180, 0.22);
  border-radius: 12px;
  scroll-margin-top: 88px;
}

.screen-5-waitlist-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  margin: 0 0 10px;
  line-height: 1.35;
}

.screen-5-waitlist-body {
  margin: 0 0 18px;
  color: var(--color-text);
  line-height: 1.55;
  font-size: 14px;
}

.s5w-optional-hint {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 0.9em;
}

/* Screen 16 — unlicensed state waitlist */
.unlicensed-waitlist-body {
  margin-bottom: 20px;
  color: var(--color-muted);
  line-height: 1.55;
}

.unlicensed-waitlist-form {
  margin-bottom: 8px;
}

.unlicensed-waitlist-secondary-wrap {
  padding-top: 4px;
}

.btn-text-link {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 12px 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
  -webkit-tap-highlight-color: transparent;
}

.btn-text-link:hover,
.btn-text-link:focus-visible {
  color: var(--color-deep-navy);
}

.btn-text-link:focus-visible {
  outline: 2px solid rgba(35, 153, 180, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.unlicensed-waitlist-success {
  text-align: center;
  padding: 8px 0 4px;
}

.unlicensed-waitlist-success-msg {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-deep-navy);
  line-height: 1.55;
}

/* CTA confirmation message — shown after a CTA is clicked on the result screen */
.cta-confirmation {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-deep-navy);
  text-align: center;
  line-height: 1.6;
  padding: 20px 12px;
  background-color: rgba(35, 153, 180, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(35, 153, 180, 0.2);
}

.cta-confirmation--with-followup {
  font-weight: 400;
}

.cta-confirmation-main {
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--color-deep-navy);
}

.result-cta-request-lo {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 6px 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.result-cta-request-lo:hover,
.result-cta-request-lo:focus-visible {
  color: var(--color-deep-navy);
}

.result-cta-request-lo:focus-visible {
  outline: 2px solid rgba(35, 153, 180, 0.45);
  outline-offset: 2px;
  border-radius: 4px;
}

/* LO fallback text — centered, muted, between disclaimer and CTAs */
.lo-fallback-text {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.55;
  padding: 0 0 12px;
  margin: 0;
}

.nobr {
  white-space: nowrap;
}

/* ---------- Fix 1: Suppress any X / close button in the funnel ---------- */
/* Removes the dark circular X button that must not appear anywhere in the funnel */
.funnel-header .close-btn:not(#back-btn),
.funnel-header [aria-label="Close"]:not(#back-btn),
.funnel-header [aria-label="close"]:not(#back-btn),
.funnel-header button[class*="close"]:not(#back-btn),
.screen .close-btn:not(#back-btn),
.screen [aria-label="Close"]:not(#back-btn),
.screen [aria-label="close"]:not(#back-btn),
.screen button[class*="close"]:not(#back-btn),
.screen-inner .close-btn:not(#back-btn),
.screen-inner [aria-label="Close"]:not(#back-btn),
.screen-inner [aria-label="close"]:not(#back-btn),
.screen-inner button[class*="close"]:not(#back-btn) {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Screen 1: extra top breathing room so trust badge clears the header */
#screen-1 .screen-inner {
  padding-top: 28px;
}

@media (max-width: 479px) {
  #screen-1 .screen-inner {
    padding-top: 20px;
  }
}

@media (min-width: 600px) {
  #screen-1 .screen-inner {
    padding-top: 36px;
  }
}

/* ---------- Compliance Footer ---------- */
.compliance-footer {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-muted);
  text-align: center;
  padding: 16px 20px max(24px, calc(12px + env(safe-area-inset-bottom, 0px)));
  line-height: 1.6;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg);
  margin-top: auto;
}

/* Equal Housing Lender icon (footer compliance, subtle) */
.ehl-footer-group {
  white-space: nowrap;
}

.ehl-link {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 4px;
  margin-right: 4px;
  text-decoration: none;
}

.ehl-link:focus-visible {
  outline: 2px solid var(--color-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

.ehl-icon {
  height: 18px;
  width: 23px;
  flex-shrink: 0;
  opacity: 0.75;
  vertical-align: middle;
  display: block;
  object-fit: contain;
}

.ehl-link:hover .ehl-icon,
.ehl-link:focus-visible .ehl-icon {
  opacity: 1;
}

/* ---------- Disclosure Trigger (inline footer button) ---------- */
.disclosure-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: inherit;
  color: var(--color-teal);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  -webkit-tap-highlight-color: transparent;
}

.disclosure-trigger:hover {
  color: #1a7fa1;
}

/* ---------- Disclosure Modal ---------- */
.disclosure-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.disclosure-modal[hidden] {
  display: none;
}

.disclosure-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.disclosure-modal-box {
  position: relative;
  z-index: 1;
  background: var(--color-white);
  border-radius: 16px 16px 0 0;
  padding: 24px 24px 32px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.12);
  animation: disclosureSlideUp 0.22s ease;
}

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

.disclosure-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--color-muted);
  cursor: pointer;
  padding: 4px 8px;
  -webkit-tap-highlight-color: transparent;
}

.disclosure-modal-close:hover {
  color: var(--color-navy);
}

.disclosure-modal-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 10px;
}

.disclosure-modal-body {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.disclosure-modal-body p {
  margin: 0 0 10px;
}

.disclosure-modal-body p:last-child {
  margin-bottom: 0;
}

.disclosure-modal-body a {
  color: var(--color-teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Loading State ---------- */
.btn-primary.loading,
.btn-primary[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary.loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Refi / Equity Variant Screens ---------- */
.variant-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.variant-screen .headline {
  margin-bottom: 16px;
}

.variant-screen p {
  font-weight: 400;
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 380px;
  margin-bottom: 28px;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 479px) {
  .screen-inner {
    padding: 24px 16px 20px;
    max-width: 560px; /* Preserve mobile column width */
  }

  .funnel-step-toolbar {
    margin-bottom: 10px;
  }

  .option-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .trust-badge {
    font-size: 12px;
  }

  .result-card--buy .result-range {
    font-size: 28px;
  }

  .result-card--path .result-range {
    font-size: inherit;
  }

  .contact-form {
    gap: 12px;
  }

  .form-group input {
    height: 48px;
  }

  .consent-text {
    margin-bottom: 8px;
  }
}

@media (min-width: 480px) {
  .option-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 600px) {
  .screen-inner {
    padding: 40px 32px 28px;
  }

  .option-tiles {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-muted);
}

/* ---------- Print ---------- */
@media print {
  .progress-bar-track,
  .funnel-header,
  .back-btn,
  .funnel-step-toolbar {
    display: none;
  }

  .screen-viewport {
    margin-top: 0;
  }
}

/* ============================================================
   State Selection Screen (Screen 5)
   ============================================================ */

.state-select {
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: 10px;
  padding: 0 40px 0 14px;
  height: 52px;
  font-size: 16px;
  color: var(--color-navy);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23D1E3EB' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.state-select:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(35, 153, 180, 0.15);
}

.state-status-hint {
  font-size: 14px;
  font-style: italic;
  color: var(--color-muted);
  min-height: 22px;
  margin-top: 10px;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.state-hint-active {
  color: #16a34a;
  font-style: normal;
  font-weight: 500;
}

.state-hint-coming-soon {
  color: var(--color-muted);
}

.state-hint-unlicensed {
  color: var(--color-muted);
}

/* ---- Result screen: unlicensed state message ---- */
.result-unlicensed-msg {
  padding: 24px;
  font-size: 16px;
  color: var(--color-navy);
  line-height: 1.6;
  text-align: center;
  background-color: var(--color-bg);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

/* ---- Result flag: informational (coming-soon) ---- */
.result-flag-info {
  background-color: rgba(35, 153, 180, 0.08);
  border-left: 3px solid var(--color-eastern-blue);
  color: var(--color-deep-navy);
}
