/* Injured In Auto — lp.injured-in-auto.com
 * Colors come from the logo: brand blue #0977c8 (and its darker stroke
 * #0276c5), tints #b4d5ee / #e7f1f9. Merriweather headlines, Karla body,
 * pill buttons (from the current injured-in-auto.com). */

:root {
  --navy: #0977c8;      /* logo blue — primary */
  --navy-2: #0268b0;    /* hover / pressed */
  --ink: #12263a;
  --muted: #55657a;
  --orange: #b4d5ee;    /* logo light tint — accents, borders */
  --orange-dk: #0977c8;
  --paper: #ffffff;
  --mist: #e7f1f9;      /* logo palest tint — section backgrounds */
  --line: #d3e2ef;
  --card: #fafafa;
  --error: #b42318;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(9, 60, 110, .08), 0 12px 32px -8px rgba(9, 60, 110, .28);
  --serif: "Merriweather", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Honeypot — present for bots, invisible to people and screen readers. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { width: 150px; height: auto; }
.header-cta {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 8px 18px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--navy); color: #fff; }

/* ── Shared type ────────────────────────────────────── */
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
.eyebrow, .section-kicker {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-dk);
  margin: 0 0 14px;
}
.rule { display: inline-block; width: 28px; height: 3px; background: var(--navy); border-radius: 2px; }

.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 700; font-size: 17px;
  text-decoration: none; color: #fff; background: var(--navy);
  border: 2px solid var(--navy); border-radius: 999px;
  padding: 14px 32px;
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(9, 119, 200, .6); }
.btn-center { display: table; margin: 36px auto 0; }

/* ── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 44px 0 64px;
  background:
    linear-gradient(180deg, var(--mist) 0, var(--mist) 62%, var(--paper) 62%);
}
.hero::before {
  /* Faint diagonal hatch — a nod to road markings. */
  content: ""; position: absolute; inset: 0 0 38% 0; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, rgba(9, 119, 200, .05) 0 2px, transparent 2px 22px);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.hero h1 { font-size: clamp(32px, 7vw, 54px); font-weight: 900; letter-spacing: -.01em; margin-bottom: 16px; }
.hero-sub { font-size: 19px; margin: 0 0 18px; max-width: 34em; }
.hero-sub strong { color: var(--navy); }
.hero-points { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.hero-points li { position: relative; padding-left: 22px; font-weight: 700; font-size: 15px; color: var(--navy); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 12px; height: 7px;
  border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy);
  transform: rotate(-45deg);
}
.hero-photo { display: none; mix-blend-mode: multiply; }

/* ── Quiz card ──────────────────────────────────────── */
.quiz-card {
  background: var(--paper);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 5px solid var(--orange);
  scroll-margin-top: 16px;
  animation: rise .5s ease-out both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.quiz-card-head {
  display: flex; justify-content: space-between; align-items: baseline;
  background: var(--navy); color: #fff; padding: 14px 22px;
}
.quiz-card-title { font-family: var(--serif); font-weight: 700; font-size: 17px; }
.progress-text { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.progress-bar { height: 5px; background: var(--mist); }
.progress-fill { height: 100%; width: 0; background: var(--navy); transition: width .35s ease; }

#quiz { padding: 22px 22px 26px; scroll-margin-top: 16px; }
.step { display: none; }
.step.active { display: block; animation: stepin .3s ease-out; }
@keyframes stepin { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: 22px; margin-bottom: 14px; }
.step-help { color: var(--muted); margin: -6px 0 14px; font-size: 15px; }

.choices { display: grid; gap: 10px; }
.choices-row { grid-template-columns: 1fr 1fr; }
.choice {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  font: 700 16px/1.3 var(--sans); color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--line); border-radius: 12px;
  padding: 15px 18px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .1s;
}
button.choice::after {
  content: ""; margin-left: auto; width: 9px; height: 9px; flex: none;
  border-right: 2.5px solid currentColor; border-top: 2.5px solid currentColor;
  transform: rotate(45deg); opacity: .35; transition: opacity .15s, transform .15s;
}
.choices-row button.choice { justify-content: center; }
.choices-row button.choice::after { display: none; }
.choice:hover { border-color: var(--navy); background: #f3f8fc; }
.choice:hover::after { opacity: 1; transform: translateX(2px) rotate(45deg); }
.choice:active { transform: scale(.99); }
.choice.selected { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice:focus-visible, .next-btn:focus-visible, .submit-btn:focus-visible, .btn:focus-visible, .header-cta:focus-visible {
  outline: 3px solid var(--navy); outline-offset: 2px;
}
.choices-multi .choice { font-weight: 500; color: var(--ink); }
.choices-multi input { width: 20px; height: 20px; accent-color: var(--navy); flex: none; margin: 0; }
.choices-multi .choice:has(input:checked) { border-color: var(--navy); background: var(--mist); }

.next-btn, .submit-btn {
  display: block; width: 100%; margin-top: 16px;
  font: 700 18px/1 var(--sans); color: #fff;
  background: var(--navy); border: 0; border-radius: 999px;
  padding: 17px 24px; cursor: pointer;
  box-shadow: 0 6px 16px -6px rgba(9, 119, 200, .7);
  transition: background .15s, transform .1s;
}
.next-btn:hover, .submit-btn:hover { background: var(--navy-2); }
.next-btn:active, .submit-btn:active { transform: translateY(1px); }
.submit-btn:disabled { opacity: .65; cursor: wait; }

textarea, .field input {
  width: 100%;
  font: 400 16px/1.4 var(--sans); color: var(--ink);
  border: 2px solid var(--line); border-radius: 10px;
  padding: 12px 14px; background: #fff;
  transition: border-color .15s;
}
textarea { resize: vertical; min-height: 110px; }
textarea:focus, .field input:focus { outline: none; border-color: var(--navy); }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 5px; }
.field input.invalid { border-color: var(--error); background: #fff6f5; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }

.submit-status { margin: 10px 0 0; font-size: 15px; min-height: 0; }
.submit-status.error { color: var(--error); font-weight: 700; }
.consent { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
.consent a { color: var(--muted); }

.step-success { text-align: center; padding: 10px 0 6px; }
.success-mark {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  box-shadow: 0 0 0 8px var(--mist);
}
.success-mark svg { width: 32px; height: 32px; }
.muted { color: var(--muted); font-size: 15px; }

/* ── Header badge + featured band ───────────────────── */
.header-right { display: flex; align-items: center; gap: 14px; }
.header-badge { width: 96px; height: auto; }
@media (max-width: 480px) { .header-cta { display: none; } }
.featured { background: var(--navy); padding: 30px 0 34px; text-align: center; }
.featured-h { font-family: var(--serif); color: #fff; font-size: clamp(20px, 3.6vw, 26px); margin: 0 0 16px; }
.featured-logos { margin: 0 auto; max-width: 560px; width: 100%; background: #fff; border-radius: var(--radius); padding: 8px 18px; }

/* ── Process ────────────────────────────────────────── */
.process { padding: 64px 0; text-align: center; }
.process .section-kicker { justify-content: center; }
.process h2 { font-size: clamp(28px, 5vw, 38px); margin-bottom: 36px; }
.process-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr; gap: 34px;
}
.process-grid li { max-width: 300px; margin: 0 auto; }
.process-grid img { width: 150px; margin: 0 auto 14px; }
.process-grid p { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0; }

/* ── Split sections ─────────────────────────────────── */
.split { padding: 56px 0; }
.split-reverse { background: var(--mist); }
.split-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.split-photo { margin: 0 auto; max-width: 520px; width: 100%; }
.split-reverse .split-photo { mix-blend-mode: multiply; }
.split h2 { font-size: clamp(26px, 4.6vw, 36px); }
.lead { font-size: 19px; margin: 0 0 24px; }
.lead strong { color: var(--navy); }

/* ── FAQ — navy question bars over orange-bordered cards (brand signature) */
.faq { padding: 64px 0 72px; }
.faq-inner { max-width: 820px; }
.faq .section-kicker { justify-content: center; }
.faq h2 { text-align: center; font-size: clamp(26px, 4.6vw, 36px); margin-bottom: 30px; }
.faq details {
  border: 3px solid var(--orange); border-radius: 12px;
  background: var(--card); margin-bottom: 14px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 17px; line-height: 1.4;
  padding: 15px 52px 15px 20px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font: 400 26px/1 var(--sans); color: #fff; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 16px 20px 18px; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { background: #000; color: #d9d9d9; padding: 34px 0 40px; font-size: 13.5px; line-height: 1.6; }
.site-footer a { color: #fff; }
.footer-disclaimer { margin: 0 0 14px; max-width: 70em; }
.footer-links { margin: 0; }
.footer-links span { margin: 0 6px; opacity: .6; }

/* ── Legal pages ────────────────────────────────────── */
.legal { max-width: 820px; padding-top: 40px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(28px, 5vw, 38px); margin-bottom: 24px; }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 1.2em; }
.legal > img { width: 150px; margin-bottom: 24px; }

/* ── Wider screens ──────────────────────────────────── */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (min-width: 920px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero-photo { display: block; margin-top: 8px; }
  .split-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split-reverse .split-photo { order: 2; }
  .quiz-card { position: sticky; top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
