/* Live Set by LeadStore — mobile-first styles (320px+). */

:root {
  --ink: #0e1c27;
  --muted: #52616c;
  --canvas: #f4f7f8;
  --paper: #e7eef2;
  --surface: #ffffff;
  --brand: #0e7494;
  --brand-deep: #0c5f78;
  --brand-tint: #e3f1f6;
  --button: #0e1c27;
  --danger: #b42318;
  --line: #d5e0e6;
  --radius-sm: 14px;
  --radius: 18px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(14, 28, 39, 0.06), 0 8px 24px rgba(14, 28, 39, 0.06);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; }

a { color: var(--brand-deep); text-underline-offset: 3px; }
a:hover { color: var(--brand); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 10;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------------- Header ---------------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--ink); color: #fff;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.02em;
}
.brand-name { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.01em; }
.brand-parent { color: var(--muted); font-weight: 500; font-size: 0.9375rem; }

/* ---------------- Type ---------------- */
.h1, .hero-title, .h2, .h3, .step-title { letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; }
.h1 { font-size: clamp(1.75rem, 5vw + 0.5rem, 2.5rem); font-weight: 800; }
.h2 { font-size: clamp(1.375rem, 2.5vw + 0.75rem, 2rem); font-weight: 800; }
.h3 { font-size: 1.25rem; font-weight: 700; margin-top: 32px; }
p { margin: 0 0 16px; }
.lead-text { font-size: 1.125rem; color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 14px;
}
.eyebrow.center { display: block; text-align: center; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 24px;
  border: 0; border-radius: var(--radius-sm);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.25;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, transform .05s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--button); color: #fff; box-shadow: 0 6px 18px rgba(14, 28, 39, 0.18); }
.btn-primary:hover { background: #1c3344; color: #fff; }
.btn-primary:disabled {
  background: #9aa8b1; color: #f4f7f8; box-shadow: none; cursor: not-allowed; transform: none;
}
.btn-secondary { background: var(--surface); color: var(--ink); border: 1.5px solid var(--ink); }
.btn-secondary:hover { background: var(--paper); color: var(--ink); }
.btn-lg { min-height: 58px; font-size: 1.0625rem; padding: 16px 28px; }
.btn-block { width: 100%; }

/* ---------------- Sections ---------------- */
.section { padding: 56px 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: #e9f0f3; }
.section-ink .h2 { color: #fff; }
.section-ink p { color: #c9d6dd; font-size: 1.125rem; }
.section-ink p:last-child { margin-bottom: 0; color: #fff; font-weight: 600; }
.section-cta { margin-top: 28px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(14, 116, 148, 0.12), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(14, 116, 148, 0.07), transparent 60%),
    var(--canvas);
}
.hero-inner { max-width: 820px; }
.hero-title { font-size: clamp(2rem, 6.5vw + 0.25rem, 3.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
.hero-sub { font-size: clamp(1.0625rem, 1vw + 0.9rem, 1.25rem); color: var(--muted); max-width: 680px; margin-bottom: 28px; }
.hero-cta .btn { width: 100%; }

/* Problem */
.pull {
  margin: 24px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 1.1875rem; font-weight: 700; line-height: 1.4;
}

/* Offer */
.offer-card { padding: 28px 22px; }
.offer-card .h2 { font-size: clamp(1.25rem, 2vw + 0.75rem, 1.625rem); }
.checklist { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check {
  width: 24px; height: 24px; padding: 3px; margin-top: 2px;
  border-radius: 50%; background: var(--brand-tint); fill: var(--brand-deep);
}
.offer-card + .section-cta .btn { width: 100%; }

/* How it works */
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 16px; }
.step-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 22px;
}
.step-card p { margin: 0; color: var(--muted); }
.step-card strong { display: block; color: var(--ink); font-size: 1.125rem; margin-bottom: 6px; }
.step-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 16px;
  background: var(--brand); color: #fff; font-weight: 800;
}

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 700; line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: 0 0 22px; height: 22px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 2px; border-radius: 2px; background: var(--brand-deep);
  transition: transform .2s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }

/* Final CTA */
.final-cta { background: var(--paper); }
.final-cta .btn { width: 100%; }

/* ---------------- Quiz ---------------- */
.main-quiz { padding: 20px 0 48px; }
.quiz-shell { width: 100%; max-width: 620px; margin: 0 auto; padding: 0 16px; }
.quiz-top { margin-bottom: 16px; }
.progress-row { display: flex; align-items: center; justify-content: space-between; min-height: 36px; margin-bottom: 8px; }
.progress-label { margin-left: auto; font-size: 0.875rem; font-weight: 700; color: var(--muted); }
.progress-track { height: 8px; background: var(--paper); border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; width: 14%; background: var(--brand); border-radius: 99px; transition: width .3s ease; }
.link-back {
  background: none; border: 0; padding: 6px 2px; font: inherit; font-size: 0.9375rem; font-weight: 600;
  color: var(--brand-deep); cursor: pointer;
}
.link-back:hover { color: var(--brand); }

.quiz-card { padding: 26px 18px; }
.step-title { font-size: clamp(1.375rem, 3vw + 0.75rem, 1.875rem); font-weight: 800; outline: none; }
.step-hint { color: var(--muted); margin-top: -6px; }

.options { display: grid; gap: 10px; margin-top: 18px; }
.option {
  position: relative;
  display: flex; align-items: center; gap: 14px; width: 100%;
  min-height: 58px; padding: 14px 16px;
  background: var(--surface); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; text-align: left; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.option:hover { border-color: var(--brand); }
.option-radio, .option-box {
  flex: 0 0 22px; height: 22px; border: 2px solid #9aa8b1; background: #fff; position: relative;
}
.option-radio { border-radius: 50%; }
.option-box { border-radius: 6px; }
.option-single[aria-pressed="true"], .option-multi:has(input:checked) {
  border-color: var(--brand); background: var(--brand-tint);
}
.option-single[aria-pressed="true"] .option-radio { border-color: var(--brand); }
.option-single[aria-pressed="true"] .option-radio::after {
  content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--brand);
}
.option-multi input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option-multi input:checked + .option-box { background: var(--brand); border-color: var(--brand); }
.option-multi input:checked + .option-box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.option-multi input:focus-visible + .option-box { outline: 3px solid var(--brand); outline-offset: 2px; }

.soft-note {
  margin-top: 16px; padding: 14px 16px;
  background: var(--brand-tint); border: 1px solid #b9dbe7; border-radius: var(--radius-sm);
  color: var(--brand-deep); font-weight: 500;
}
.step-actions { margin-top: 22px; }

/* Forms */
.form { margin-top: 18px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.req { color: var(--danger); }
.optional { color: var(--muted); font-weight: 500; }
.field input[type=text], .field input[type=email], .field input[type=tel], .states-filter {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px;
}
.field input:focus, .states-filter:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(14, 116, 148, 0.18); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: 0.875rem; font-weight: 600; margin: 6px 0 0; }
.field-row { display: grid; gap: 0 14px; }

.states-tools { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.states-filter { min-height: 44px; flex: 1; }
.states-count { font-size: 0.875rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.states-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
  max-height: 300px; overflow-y: auto; padding: 8px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
}
.field .states-grid .state {
  display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 8px;
  border-radius: 8px; cursor: pointer; font-size: 0.9375rem; font-weight: 500; margin: 0;
}
.state:hover { background: var(--canvas); }
.state:has(input:checked) { background: var(--brand-tint); }
.state input { width: 18px; height: 18px; accent-color: var(--brand); flex: 0 0 18px; margin: 0; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.field .pill { position: relative; display: inline-block; margin: 0; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px;
  border: 1.5px solid var(--line); border-radius: 99px; background: #fff; font-weight: 600;
}
.pill input:checked + span { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-deep); }
.pill input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Consent */
.consent {
  margin-top: 8px; padding: 16px; background: var(--canvas);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
}
.consent-label { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; cursor: pointer; align-items: start; }
.consent-label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-box {
  width: 24px; height: 24px; margin-top: 1px; border: 2px solid #7d8c96; border-radius: 6px; background: #fff; position: relative;
}
.consent-label input:checked + .consent-box { background: var(--brand); border-color: var(--brand); }
.consent-label input:checked + .consent-box::after {
  content: ""; position: absolute; left: 7px; top: 2px; width: 6px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.consent-label input:focus-visible + .consent-box { outline: 3px solid var(--brand); outline-offset: 2px; }
.consent-text { font-size: 0.875rem; line-height: 1.55; color: var(--ink); }
.consent-links { margin: 12px 0 0 36px; font-size: 0.875rem; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; }

.sep { margin: 0 8px; color: var(--muted); }

.error-box {
  margin: 16px 0 0; padding: 12px 14px; border-radius: 12px;
  background: #fdecea; color: var(--danger); font-weight: 600; border: 1px solid #f5c2bc;
}

/* ---------------- Schedule ---------------- */
.schedule .h1 { margin-bottom: 14px; }
.clarifier { color: var(--muted); }
.calendar { margin: 28px 0 20px; }
.calendar-frame {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
}
.calendar-frame iframe { display: block; width: 100%; height: 960px; border: 0; overflow: hidden; }
.calendar-placeholder {
  padding: 40px 22px; text-align: center;
  border: 2px dashed #9aa8b1; border-radius: var(--radius-lg); background: var(--surface);
  color: var(--muted); font-weight: 600;
}
.calendar-placeholder p:last-child { margin: 0; }
.placeholder-tag {
  display: inline-block; margin: 0 0 12px; padding: 4px 10px; border-radius: 99px;
  background: #fff4e5; color: #8a4b00; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800;
}
.fallback { font-weight: 600; }
.booked { padding: 20px 22px; margin-top: 24px; outline: none; border-color: var(--brand); }
.booked-title { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.booked p:last-child { margin: 0; color: var(--muted); }

/* ---------------- Legal / simple pages ---------------- */
.prose { font-size: 1.0625rem; }
.plain-list { padding-left: 1.25em; }
.plain-list li { margin-bottom: 8px; }
.draft-banner {
  margin-bottom: 28px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: #fff4e5; border: 1.5px solid #f3c98b; color: #6b3b00;
}
.draft-banner strong { display: block; margin-bottom: 4px; }
.quote {
  margin: 8px 0 20px; padding: 16px 18px; background: var(--surface);
  border-left: 4px solid var(--brand); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 0.9375rem;
}
code { font-size: 0.9em; background: var(--paper); padding: 2px 6px; border-radius: 6px; }

/* ---------------- Footer ---------------- */
.site-footer {
  flex-shrink: 0;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 32px 0 40px; font-size: 0.8125rem; color: var(--muted);
}
.footer-legal { max-width: 860px; line-height: 1.6; }
.footer-links { margin: 0; font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; }
.footer-links a, .footer-links span { white-space: nowrap; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---------------- Larger screens ---------------- */
@media (min-width: 560px) {
  .hero-cta .btn, .offer-card + .section-cta .btn, .final-cta .btn { width: auto; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .states-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quiz-card { padding: 34px 32px; }
  .offer-card { padding: 36px 34px; }
}

@media (min-width: 880px) {
  .wrap { padding: 0 32px; }
  .section { padding: 88px 0; }
  .hero { padding: 96px 0 104px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step-card { padding: 28px 26px; }
  .main-quiz { padding-top: 40px; }
}

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