/* Conversion-focused public site layer
   Built around clarity, autonomy, progress, and one obvious next action. */

.conversion-reassurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid rgba(8, 43, 76, .12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(8, 43, 76, .06);
}

.conversion-reassurance > div {
  padding: 16px 18px;
  border-right: 1px solid #e7ecef;
}

.conversion-reassurance > div:last-child {
  border-right: 0;
}

.conversion-reassurance strong,
.conversion-reassurance span { display: block; }

.conversion-reassurance strong {
  color: var(--std-navy);
  font-size: .83rem;
}

.conversion-reassurance span {
  margin-top: 3px;
  color: var(--std-muted);
  font-size: .76rem;
  line-height: 1.5;
}

.conversion-one-step {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .7fr);
  gap: 36px;
  align-items: center;
  padding: 30px;
  border: 1px solid #dfe7ea;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff 0%, #f4faf9 100%);
}

.conversion-one-step h2 {
  margin: 0;
  color: var(--std-navy);
  font-size: clamp(1.8rem, 3.6vw, 3.25rem);
  line-height: 1.08;
}

.conversion-one-step p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--std-muted);
}

.conversion-action-box {
  padding: 22px;
  border: 1px solid #e2e8eb;
  border-radius: 8px;
  background: #fff;
}

.conversion-action-box strong {
  display: block;
  color: var(--std-navy);
  font-size: .9rem;
}

.conversion-action-box p {
  margin: 7px 0 16px;
  font-size: .82rem;
  line-height: 1.5;
}

.conversion-action-box .final-cta { width: 100%; }

.conversion-mini-note {
  display: block;
  margin-top: 10px;
  color: #74848d;
  font-size: .72rem;
  text-align: center;
}

.conversion-risk-reversal {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--std-teal);
  background: #f4faf9;
}

.conversion-risk-reversal strong {
  display: block;
  color: var(--std-navy);
}

.conversion-risk-reversal p {
  margin: 4px 0 0;
  color: var(--std-muted);
  font-size: .88rem;
}

.conversion-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.conversion-choice-card {
  padding: 24px;
  border: 1px solid var(--std-line);
  border-radius: 8px;
  background: #fff;
}

.conversion-choice-card h3 {
  margin: 0;
  color: var(--std-navy);
  font-size: 1.2rem;
}

.conversion-choice-card p {
  margin: 10px 0 0;
  color: var(--std-muted);
}

.conversion-choice-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.conversion-choice-card li {
  padding: 8px 0;
  border-top: 1px solid #edf1f3;
  color: #415864;
  font-size: .86rem;
}

.conversion-choice-card li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--std-teal);
  font-weight: 800;
}

.conversion-callout {
  padding: 30px;
  color: #fff;
  background: var(--std-navy);
}

.conversion-callout h2,
.conversion-callout h3 { color: #fff; }

.conversion-callout p { color: #d3e0e6; }

.final-section.navy {
  color: #fff;
  background: var(--std-navy);
}

.final-section.navy h2,
.final-section.navy h3 { color: #fff; }

.final-section.navy .final-lead,
.final-section.navy p { color: #d3e0e6; }

.final-section.navy .final-section-label { color: #8edbd4; }

.final-section.navy .final-secondary {
  border-color: rgba(255,255,255,.5);
  color: #fff;
  background: transparent;
}

.conversion-faq-intro {
  max-width: 760px;
  margin-bottom: 30px;
}

.conversion-faq-intro h2 { margin-bottom: 12px; }
.conversion-faq-intro p { color: var(--std-muted); }

.intake-trust-note {
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid #dfe7ea;
  border-radius: 6px;
  background: #f7fbfb;
  color: #5f737e;
  font-size: .8rem;
  line-height: 1.55;
}

.intake-trust-note strong { color: var(--std-navy); }

.field-help {
  display: block;
  margin-top: 5px;
  color: #7c8b94;
  font-size: .75rem;
}

.required-mark {
  color: #b84535;
  font-weight: 800;
}

/* Homepage header: quiet utility links, one dominant acquisition CTA. */
.idx-home .idx-header .navbar {
  min-height: 70px;
  gap: 18px;
}

.idx-home .idx-header .brand {
  width: 138px;
  min-height: 54px;
}

.idx-home .idx-header .brand img {
  width: 138px;
  height: 54px;
}

.idx-home .idx-header .nav-links {
  gap: 14px;
}

.idx-home .idx-header .nav-links > a:not(.nav-cta) {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  font-size: .78rem;
  font-weight: 600;
}

.idx-home .idx-header .portal-link {
  padding: 0 13px !important;
  border: 1px solid #d8e2e6 !important;
  border-radius: 7px;
  background: #fff;
  color: #23415b !important;
}

.idx-home .idx-header .portal-link:hover {
  border-color: #b9cbd2 !important;
  background: #f7fafb;
}

.idx-home .idx-header .nav-cta {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 7px;
  box-shadow: 0 5px 14px rgba(242, 107, 74, .18);
  font-size: .8rem;
  white-space: nowrap;
}

/* Homepage hero: keep the promise and the first action visually separate. */
.idx-home .idx-hero {
  min-height: 0;
  padding: 0 0 44px;
  overflow: hidden;
}

.idx-home .idx-hero-copy {
  padding-top: 76px;
}

.idx-home .idx-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 4.5vw, 4.65rem);
  line-height: 1.01;
}

.idx-home .idx-hero-copy > p:last-child {
  max-width: 690px;
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.56;
}

.idx-home .idx-search-wrap {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  margin-top: 30px;
}

.idx-home .idx-search-wrap > .container {
  width: min(calc(100% - 64px), 1080px);
}

.idx-home .idx-search-card {
  padding: 19px 21px 14px;
  border-radius: 11px;
  box-shadow: 0 14px 36px rgba(8, 43, 76, .16);
}

.idx-home .idx-search-heading {
  grid-template-columns: minmax(0, 1fr) minmax(250px, .52fr);
  gap: 26px;
  margin-bottom: 13px;
}

.idx-home .idx-search-heading span {
  font-size: .67rem;
}

.idx-home .idx-search-heading h2 {
  margin-top: 4px;
  font-size: 1.28rem;
  line-height: 1.16;
}

.idx-home .idx-search-heading p {
  max-width: 320px;
  font-size: .78rem;
  line-height: 1.45;
}

.idx-home .idx-search-form {
  grid-template-columns: minmax(0, 1fr) 205px;
  gap: 9px;
  align-items: start;
}

.idx-home .idx-search-input input {
  min-height: 55px;
  padding: 0 17px 0 48px;
  border-radius: 7px;
  font-size: .91rem;
}

.idx-home .idx-search-input svg {
  left: 17px;
  width: 18px;
  height: 18px;
}

.idx-home .idx-search-button {
  min-height: 55px;
  padding: 0 16px;
  border-radius: 7px;
  box-shadow: 0 5px 14px rgba(242, 107, 74, .16);
  font-size: .82rem;
  line-height: 1.25;
}

.idx-home .address-status {
  min-height: 16px;
  margin-top: 6px;
  font-size: .7rem;
}

.idx-home .address-manual-toggle {
  margin-top: 4px;
  font-size: .74rem;
}

.idx-home .idx-search-meta {
  gap: 18px;
  margin-top: 10px;
  font-size: .68rem;
}

.idx-home .idx-actions {
  padding-top: 36px;
}

@media (max-width: 980px) {
  .idx-home .idx-header .navbar {
    min-height: 66px;
  }

  .idx-home .idx-header .nav-links {
    gap: 8px;
  }

  .idx-home .idx-header .nav-links > a:not(.nav-cta) {
    padding-inline: 5px;
    font-size: .73rem;
  }

  .idx-home .idx-hero-copy {
    padding-top: 64px;
  }

  .idx-home .idx-hero h1 {
    max-width: 780px;
    font-size: clamp(2.8rem, 7vw, 4.2rem);
  }

  .idx-home .idx-search-wrap {
    margin-top: 28px;
  }

  .idx-home .idx-search-wrap > .container {
    width: min(calc(100% - 48px), 920px);
  }

  .idx-home .idx-search-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .idx-home .idx-search-heading p {
    justify-self: start;
  }
}

@media (max-width: 800px) {
  .conversion-reassurance,
  .conversion-one-step,
  .conversion-choice-grid {
    grid-template-columns: 1fr;
  }

  .conversion-reassurance > div {
    border-right: 0;
    border-bottom: 1px solid #e7ecef;
  }

  .conversion-reassurance > div:last-child { border-bottom: 0; }

  .conversion-one-step {
    gap: 22px;
    padding: 22px;
  }

  .idx-home .idx-hero {
    padding-bottom: 26px;
  }

  .idx-home .idx-hero-copy {
    padding-top: 48px;
  }

  .idx-home .idx-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.7rem);
  }

  .idx-home .idx-hero-copy > p:last-child {
    font-size: .96rem;
  }

  .idx-home .idx-search-wrap {
    margin-top: 24px;
  }

  .idx-home .idx-search-wrap > .container {
    width: min(calc(100% - 28px), 100%);
  }

  .idx-home .idx-search-card {
    padding: 17px;
    border-radius: 9px;
  }

  .idx-home .idx-search-form {
    grid-template-columns: 1fr;
  }

  .idx-home .idx-search-button {
    width: 100%;
  }
}
