/* Inter (SIL OFL 1.1, see ../fonts/LICENSE-Inter.txt), self-hosted: the CSP allows no
   third-party font hosts, and loading from Google would send visitors' IPs there. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --navy: #102d43;
  --navy-2: #1d4a6b;
  --navy-deep: #0b2233;
  --text: #334155;
  --muted: #5b6878;
  --line: #e2e6e9;
  --field-line: #8a96a2;
  --option-line: #cdd4da;
  --sand: #f7f5f0;
  --tint: #eef2f5;
  --white: #ffffff;
  --on-navy: #d3dee8;
  --on-navy-muted: #a9bccc;
  --accent: #c94a20;
  --accent-hover: #ad3e19;
  --accent-tint: #fbf1ec;
  --ok: #1d8a4e;
  --error: #b42318;
  --error-bg: #fef3f2;
  --warn-bg: #fff6e0;
  --warn-line: #f0c36d;
  --radius: 12px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 45, 67, .06), 0 16px 40px -20px rgba(4, 18, 30, .55);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; }
a { color: var(--navy-2); text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { color: var(--navy); font-weight: 600; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #7cb3ff; outline-offset: 2px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* --- development / missing owner details ---------------------------------------- */
.dev-banner {
  background: var(--warn-bg);
  border-bottom: 1px solid var(--warn-line);
  padding: 8px 16px;
  font-size: 14px;
  text-align: center;
}
.missing {
  background: var(--warn-bg);
  border: 1px dashed #c98a12;
  color: #7a4d00;
  border-radius: 4px;
  padding: 0 4px;
  font-size: .9em;
  font-weight: 600;
}
.dev-note {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
}

/* --- header ----------------------------------------------------------------------- */
.site-header { background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; font-weight: 600; font-size: 19px; letter-spacing: -.015em; }
.logo:hover { color: inherit; }
.logo-badge {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent); color: var(--white); font-size: 18px; font-weight: 600;
}
.logo-tld { opacity: .6; font-weight: 400; }
.header-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--on-navy-muted);
}
.header-pill svg { width: 16px; height: 16px; }
@media (max-width: 420px) { .header-pill { display: none; } }

/* --- hero ------------------------------------------------------------------------- */
.hero { background: var(--navy); color: var(--white); padding: 28px 0 40px; }
.hero-grid { display: grid; gap: 24px; align-items: start; }
.eyebrow { font-size: 15px; font-weight: 500; color: var(--on-navy-muted); margin-bottom: 12px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 5.4vw, 52px); line-height: 1.08; letter-spacing: -.025em;
  margin-bottom: 16px;
}
.h1-line { display: block; }
.hero-lead { font-size: 17px; color: var(--on-navy); max-width: 32em; margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--on-navy); }
.checks svg { width: 18px; height: 18px; flex: none; color: var(--on-navy-muted); }

@media (max-width: 879px) {
  .checks { display: none; }
}
@media (min-width: 880px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1fr 440px; gap: 64px; }
  .hero-copy { padding-top: 20px; }
  .hero-lead { font-size: 18px; }
}

/* --- funnel card ------------------------------------------------------------------ */
.funnel {
  background: var(--white);
  color: var(--text);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 22px 18px 18px;
  scroll-margin-top: 12px;
}
@media (min-width: 480px) { .funnel { padding: 26px 26px 22px; } }
.funnel-head { padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.funnel-progress { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: .01em; margin: 0 0 6px; }
.funnel-title { font-size: 22px; margin-bottom: 2px; }
.funnel-sub { color: var(--muted); font-size: 15px; margin: 0; }

.step-q { display: block; color: var(--navy); font-weight: 600; font-size: 17px; margin-bottom: 10px; outline: none; }
.hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

.input {
  width: 100%;
  font: inherit;
  font-size: 17px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--field-line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  min-height: 52px;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #7b8794; }
.input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16, 45, 67, .14); }
.input[aria-invalid="true"] { border-color: var(--error); }
.input:disabled { background: #f3f5f7; color: #4b5563; }

.ac { position: relative; }
.ac-icon { position: absolute; left: 14px; top: 17px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.ac-input { min-height: 56px; padding-left: 44px; }
.ac-list {
  position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 4px);
  list-style: none; margin: 0; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px -12px rgba(16, 45, 67, .35);
  max-height: 320px; overflow-y: auto;
}
.ac-list li { padding: 11px 12px; border-radius: 8px; cursor: pointer; font-size: 16px; color: var(--navy); }
.ac-list li:hover, .ac-list li.active { background: var(--tint); }
.ac-status { font-size: 14px; margin-top: 8px; color: var(--muted); }
.ac-status:empty { margin: 0; }
.ac-status .linklike { margin-left: 4px; }

.options { display: grid; gap: 8px; }
.option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--option-line); border-radius: var(--radius-sm);
  padding: 13px 14px; min-height: 52px;
  cursor: pointer; font-weight: 500; color: var(--navy);
  transition: border-color .15s, background .15s;
}
.option:hover { border-color: var(--navy); }
.option input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex: none; }
.option:has(input:checked) { border-color: var(--accent); background: var(--accent-tint); }

.field { margin-bottom: 12px; }
.field label { display: block; font-weight: 500; font-size: 15px; color: var(--navy); margin-bottom: 5px; }

.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin-top: 6px; cursor: pointer; }
.consent-check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.consent-link { font-size: 14px; margin: 6px 0 0 30px; }
.disclosure { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.step-error { color: var(--error); font-size: 14px; font-weight: 500; margin: 6px 0 0; }
.step-error:empty { display: none; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 18px; min-height: 54px; padding: 14px 22px;
  font: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.005em;
  color: var(--white); background: var(--accent);
  border: 0; border-radius: var(--radius-sm); cursor: pointer; text-decoration: none;
  transition: background .15s, transform .05s;
}
.cta:hover { background: var(--accent-hover); color: var(--white); }
.cta:active { transform: translateY(1px); }
.cta:disabled { opacity: .7; cursor: progress; }
.cta-inline { width: auto; margin-top: 0; }
.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 18px;
  font: inherit; font-weight: 600; color: var(--navy);
  background: var(--white); border: 1px solid var(--navy); border-radius: var(--radius-sm); cursor: pointer;
}
.btn-secondary:hover { background: var(--tint); }
.btn-secondary:disabled { opacity: .55; cursor: not-allowed; }

.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: var(--navy-2);
  text-decoration: underline; cursor: pointer;
}

.back {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px; background: none; border: 0; padding: 4px 0;
  font: inherit; font-size: 15px; font-weight: 500; color: var(--muted); cursor: pointer;
}
.back:hover { color: var(--navy); }
.back svg { width: 16px; height: 16px; }

.funnel-note {
  display: flex; gap: 8px; align-items: flex-start;
  margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: 13.5px; line-height: 1.5; color: var(--muted);
}
.funnel-note .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--navy-2); }

.funnel-status {
  margin-top: 14px; padding: 12px 14px;
  background: var(--error-bg); border: 1px solid #f5c2bd; border-radius: var(--radius-sm);
  font-size: 15px;
}
.funnel-status p { margin: 0 0 8px; font-weight: 500; }
.funnel-status p:last-child { margin: 0; }

.funnel-unavailable { text-align: center; background: #f3f5f7; border-radius: var(--radius-sm); padding: 18px; }
.funnel-unavailable p { margin: 0 0 4px; }
.funnel-receipt { text-align: center; padding: 8px 4px 4px; outline: none; }
.funnel-receipt svg { width: 56px; height: 56px; color: var(--ok); margin: 0 auto 12px; }
.receipt-title { color: var(--navy); font-weight: 600; font-size: 18px; }
.funnel-receipt p:last-child { color: var(--muted); font-size: 15px; margin: 0; }

/* Server-side test mode (BM_LEADS_TEST_MODE=true) */
.test-notice {
  margin: 0 0 16px; padding: 8px 12px;
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; color: #7a4d00; text-align: center;
}
.funnel-test-receipt {
  text-align: center; padding: 16px; outline: none;
  background: var(--warn-bg); border: 1px dashed var(--warn-line); border-radius: var(--radius-sm);
}
.funnel-test-receipt .receipt-title { color: #7a4d00; }
.funnel-test-receipt p:last-child { color: var(--muted); font-size: 15px; margin: 0; }

/* --- content sections ------------------------------------------------------------- */
.section { padding: 56px 0; }
@media (min-width: 880px) { .section { padding: 80px 0; } }
.section-title { font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -.02em; }

.how { background: var(--sand); }
.how-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.how-list li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.how-list h3 { font-size: 18px; margin: 18px 0 6px; }
.how-list p { color: var(--text); margin: 0; }
.how-icon {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--radius-sm); background: var(--tint); color: var(--navy);
}
@media (min-width: 760px) { .how-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.info-copy { max-width: 40em; }
.info-copy p { color: var(--text); }
.info-grid { display: grid; gap: 28px; }
.info-list {
  list-style: none; padding: 22px; margin: 0; display: grid; gap: 12px; align-self: start;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.info-list li { display: flex; gap: 10px; color: var(--navy); }
.info-list svg { width: 18px; height: 18px; flex: none; color: var(--navy-2); margin-top: 4px; }
@media (min-width: 880px) { .info-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; } }

.compare { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 24px; }
.compare li { border-top: 2px solid var(--navy); padding-top: 18px; }
.compare h3 { font-size: 20px; margin-bottom: 6px; }
.compare p { margin: 0; }
@media (min-width: 760px) { .compare { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

.faq { background: var(--sand); }
.faq-wrap { max-width: 820px; }
.faq .section-title { margin-bottom: 24px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 48px 16px 20px; color: var(--navy); font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 13px; font-size: 22px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--text); }

.cta-band { background: var(--navy); color: var(--white); padding: 44px 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.cta-band h2 { color: var(--white); font-size: clamp(22px, 3.2vw, 28px); letter-spacing: -.02em; margin: 0; }

.cities { padding: 32px 0 36px; border-top: 1px solid var(--line); }
.cities-title { font-size: 15px; letter-spacing: 0; margin-bottom: 12px; }
.city-links {
  list-style: none; padding: 0; margin: 0;
  columns: 2; column-gap: 24px; font-size: 15px; line-height: 1.9;
}
.city-links a { color: var(--muted); text-decoration: none; }
.city-links a:hover { color: var(--navy); text-decoration: underline; }
@media (min-width: 560px) { .city-links { columns: 3; } }
@media (min-width: 880px) { .city-links { columns: 5; } }

.prose { max-width: 760px; padding-top: 40px; padding-bottom: 56px; }
.prose h1 { font-size: clamp(28px, 5vw, 40px); letter-spacing: -.02em; }
.prose h2 { font-size: 21px; margin-top: 1.6em; }
.prose-center { text-align: center; }

/* --- footer ----------------------------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: #b4c3d0; font-size: 15px; padding: 48px 0 24px; }
.site-footer a { color: #dce6ef; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer h2 { font-size: 14px; letter-spacing: 0; color: var(--white); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.logo-footer { color: var(--white); margin-bottom: 14px; }
.footer-about { max-width: 30em; }
.footer-contact { font-style: normal; line-height: 1.75; margin-bottom: 10px; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 32px; padding-top: 18px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
