/* The Lead Faucet: site styles
   Brand: navy #0B2545, aqua #13C4D9. CTA uses the warm complement (course: CTA opposite the primary color). */

:root {
  --navy: #0b2545;
  --navy-2: #12325c;
  --navy-3: #1b4275;
  --aqua: #13c4d9;
  --aqua-soft: #e3f8fb;
  --cta: #ff8a3d;
  --cta-hover: #ff7a24;
  --ink: #142033;
  --muted: #55627a;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.12);
  --max: 1140px;
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d9e3f0; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aqua);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.section--navy .lead { color: #b9c7da; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn--cta { background: var(--cta); color: var(--navy); box-shadow: 0 8px 20px rgba(255, 138, 61, 0.35); }
.btn--cta:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--small { padding: 10px 20px; font-size: 0.95rem; }
.btn-note { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.section--navy .btn-note, .hero .btn-note { color: #9fb2cb; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 37, 69, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: #d9e3f0; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: #fff; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(19, 196, 217, 0.18), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #d9e3f0;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--aqua); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero .lead { color: #b9c7da; max-width: 560px; }
.hero-actions { margin-top: 30px; }
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 34px;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: #d9e3f0;
}
.check-row li::before { content: "✓"; color: var(--aqua); font-weight: 700; margin-right: 8px; }

/* Lead notification mock (hero visual) */
.phone {
  width: min(360px, 100%);
  margin-left: auto;
  background: #0e2d52;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  padding: 22px 18px 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.phone-top { display: flex; justify-content: space-between; font-size: 0.78rem; color: #8fa6c4; margin-bottom: 18px; padding: 0 6px; }
.notif {
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 16px 16px 14px;
  margin-bottom: 12px;
}
.notif--faded { opacity: 0.55; transform: scale(0.97); }
.notif-head { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.notif-head img { width: 26px; height: 26px; border-radius: 7px; }
.notif-head strong { color: var(--navy); font-family: var(--font-head); }
.notif-head span:last-child { margin-left: auto; }
.notif h4 { margin: 0 0 6px; font-family: var(--font-head); font-size: 1rem; color: var(--navy); }
.notif dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; margin: 0; font-size: 0.88rem; }
.notif dt { color: var(--muted); }
.notif dd { margin: 0; font-weight: 500; }
.tag-example {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: #8fa6c4;
  margin-top: 10px;
  letter-spacing: 0.04em;
}

/* Cards and grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--aqua-soft);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.section--navy .card { background: var(--navy-2); border-color: rgba(255, 255, 255, 0.1); color: #c9d6e6; }

/* Problem: shared vs exclusive */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare .card h3 { display: flex; align-items: center; gap: 10px; }
.compare ul { margin: 0; padding-left: 0; list-style: none; }
.compare li { padding: 8px 0 8px 30px; position: relative; border-top: 1px solid var(--line); }
.compare li:first-child { border-top: 0; }
.compare .bad li::before { content: "✕"; position: absolute; left: 4px; color: #d9534f; font-weight: 700; }
.compare .good { border: 2px solid var(--aqua); box-shadow: var(--shadow); }
.compare .good li::before { content: "✓"; position: absolute; left: 4px; color: #0aa5b8; font-weight: 700; }
.pill { font-size: 0.72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--aqua-soft); color: var(--navy); font-family: var(--font-body); }

/* Calculator */
.calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  color: var(--ink);
}
.calc-inputs { padding: 36px; }
.calc-out { background: var(--aqua-soft); padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; font-weight: 600; color: var(--navy); margin-bottom: 8px; font-size: 0.95rem; }
.field output { font-family: var(--font-head); color: var(--navy); }
.field input[type="range"] { width: 100%; accent-color: var(--navy); }
.field small { color: var(--muted); font-size: 0.82rem; }
.stat { margin-bottom: 18px; }
.stat-label { font-size: 0.9rem; color: var(--muted); }
.stat-value { font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.calc-note { font-size: 0.82rem; color: var(--muted); margin: 6px 0 0; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.step p { color: var(--muted); }

/* Lists: what's included / not sent */
.tick-list, .cross-list { list-style: none; margin: 0; padding: 0; }
.tick-list li, .cross-list li { padding: 7px 0 7px 30px; position: relative; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: #0aa5b8; font-weight: 700; }
.cross-list li::before { content: "✕"; position: absolute; left: 0; color: #d9534f; font-weight: 700; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--aqua); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band .lead { margin-inline: auto; max-width: 620px; }

/* Footer */
.site-footer { background: #081b33; color: #8fa6c4; padding: 48px 0 32px; font-size: 0.92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-grid img { height: 34px; width: auto; margin-bottom: 12px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #b9c7da; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 28px; padding-top: 20px; font-size: 0.82rem; }

/* Funnel pages (/apply, /book, /thanks) */
.funnel-header { background: var(--navy); }
.funnel-header .container { display: flex; align-items: center; justify-content: center; height: 72px; }
.funnel-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #d9e3f0; padding: 48px 0 140px; text-align: center; }
.funnel-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.funnel-hero .lead { color: #b9c7da; max-width: 640px; margin-inline: auto; }
.embed-wrap { margin-top: -110px; position: relative; z-index: 2; }
.embed-card { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 28px; max-width: 760px; margin-inline: auto; }
.placeholder {
  border: 2px dashed #b7c6d8;
  border-radius: 14px;
  background: var(--bg-soft);
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
  color: var(--muted);
}
.placeholder strong { display: block; font-family: var(--font-head); color: var(--navy); font-size: 1.15rem; margin-bottom: 6px; }
.reassure { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 0.92rem; color: var(--muted); }
.reassure li::before { content: "✓"; color: #0aa5b8; font-weight: 700; margin-right: 8px; }
.next-steps { max-width: 760px; margin: 56px auto 0; }
.price-chip { display: inline-block; background: rgba(19, 196, 217, 0.15); color: var(--aqua); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.92rem; margin-top: 8px; }

/* Buyer quiz (/apply/) */
.quiz { text-align: left; }
.quiz-progress { height: 6px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--aqua); transition: width 0.3s; }
.quiz-count { font-size: 0.85rem; color: var(--muted); margin: 10px 0 18px; }
.quiz-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz-step legend { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.25rem, 2.6vw, 1.55rem); color: var(--navy); margin-bottom: 6px; padding: 0; }
.quiz-hint { color: var(--muted); font-size: 0.92rem; margin: 0 0 14px; }
.quiz-step legend + .opt { margin-top: 16px; }
.opt { display: block; margin-bottom: 10px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  font-weight: 500;
  transition: border-color 0.15s, background 0.15s;
}
.opt span::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border: 2px solid #b7c6d8;
  border-radius: 50%;
}
.opt input[type="checkbox"] + span::before { border-radius: 6px; }
.opt:hover span { border-color: #b7c6d8; }
.opt input:checked + span { border-color: var(--aqua); background: var(--aqua-soft); }
.opt input:checked + span::before { border-color: var(--navy); background: var(--navy); box-shadow: inset 0 0 0 3px #fff; }
.opt input:focus-visible + span { outline: 3px solid rgba(19, 196, 217, 0.5); outline-offset: 2px; }
.quiz-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.quiz-fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.quiz-fields .full { grid-column: 1 / -1; }
.quiz-fields input {
  font: inherit;
  font-weight: 400;
  padding: 13px 14px;
  border: 2px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
}
.quiz-fields input:focus { outline: none; border-color: var(--aqua); }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 0.85rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.quiz-legal { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quiz-error { color: #c0392b; font-weight: 600; font-size: 0.92rem; margin: 14px 0 0; }
.quiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.quiz-nav .quiz-next, .quiz-nav .quiz-submit { margin-left: auto; }
.quiz-back { background: transparent; border-color: var(--line); color: var(--navy); }
.quiz-back:hover { border-color: var(--navy); }
.quiz-submit[disabled] { opacity: 0.7; cursor: wait; }
@media (max-width: 560px) {
  .quiz-fields { grid-template-columns: 1fr; }
  .quiz-nav .btn { padding: 14px 20px; }
}

/* Legal pages */
.legal { max-width: 780px; margin-inline: auto; padding: 64px 0; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }

/* Mobile sticky CTA */
.mobile-cta { display: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { margin: 10px auto 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav a:not(.btn) { display: none; }
  .grid-3, .grid-2, .compare, .calc { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .calc-inputs, .calc-out { padding: 26px; }
  .hero { padding: 56px 0 72px; }
  .hero-actions .btn { width: 100%; }
  .brand img { height: 40px; }
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(11, 37, 69, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(110%);
    transition: transform 0.25s;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; }
  .site-footer { padding-bottom: 96px; }
  .embed-card { padding: 16px; }
}
