/* Auto Injury Team — Klawd-MVA landing page
 *
 * Conservative, professional palette. No imagery. No outcome claims.
 * Mobile-first. Single column on small screens, two-column form rows
 * on desktop.
 */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #1a2433;
  --ink-soft: #4a5666;
  --muted: #7a8290;
  --line: #e1e5ec;
  --primary: #0f3a5b;
  --primary-2: #176192;
  --primary-ink: #ffffff;
  --accent: #c98c1f;
  --error: #b1392c;
  --success: #1f7a4d;
  --shadow: 0 1px 2px rgba(20, 35, 60, 0.06), 0 4px 14px rgba(20, 35, 60, 0.05);
  --radius: 8px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--ink);
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Header ── */
.site-header {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 14px 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Type logo: shield mark + two-line wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary-ink);
  line-height: 1;
}
.brand:hover { color: var(--primary-ink); }
.brand-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  color: var(--accent);
}
.brand-words {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  letter-spacing: 0.2px;
}
.brand-line-1 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.78);
}
.brand-line-2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-ink);
}
@media (min-width: 540px) {
  .brand-line-1 { font-size: 12px; }
  .brand-line-2 { font-size: 20px; }
}

/* Phone CTA on the right of the header */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--primary-ink);
  font-size: 13px;
  line-height: 1;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  transition: background 0.15s, border-color 0.15s;
  background: rgba(255, 255, 255, 0.04);
}
.header-phone:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.45);
}
.header-phone svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--accent);
}
.header-phone-text {
  display: none;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.header-phone-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.7);
}
.header-phone-number {
  font-size: 14px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 540px) {
  .header-phone-text { display: inline-flex; }
}

/* Trust band — thin horizontal strip below the header */
.trust-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
  align-items: center;
}
@media (min-width: 760px) {
  .trust-row {
    grid-template-columns: repeat(4, auto);
    justify-content: space-around;
    gap: 18px;
  }
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex: 0 0 auto;
}
@media (min-width: 540px) {
  .trust-item { font-size: 13px; }
}

/* ── Hero / form area ── */
.hero {
  padding: 32px 0 64px;
}
.hero h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 700;
}
.subhead {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
@media (min-width: 640px) {
  .hero h1 { font-size: 34px; }
}

/* ── Form / steps ── */
form#quiz {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  border: 1px solid var(--line);
}
@media (min-width: 640px) {
  form#quiz { padding: 36px 32px; }
}

.step { display: none; }
.step.active { display: block; }
.step h2 {
  font-size: 22px;
  margin: 0 0 14px;
  color: var(--ink);
  font-weight: 600;
}
.step-help {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ── Choice buttons (single-select) ── */
.choices {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.05s;
  font-family: inherit;
}
.choice:hover {
  border-color: var(--primary-2);
  background: #f2f7fc;
}
.choice:active { transform: translateY(1px); }
.choice.selected {
  border-color: var(--primary);
  background: #eaf2f9;
}
/* Multi-select label-wrapped checkboxes */
.choices-multi .choice {
  display: flex;
  align-items: center;
  gap: 12px;
}
.choices-multi input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  margin: 0;
}

/* ── "Continue" / submit buttons ── */
.next-btn,
.submit-btn {
  display: inline-block;
  margin-top: 22px;
  padding: 14px 22px;
  background: var(--primary);
  color: var(--primary-ink);
  border: 0;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: background 0.15s, transform 0.05s;
}
.next-btn:hover,
.submit-btn:hover { background: var(--primary-2); }
.next-btn:active,
.submit-btn:active { transform: translateY(1px); }
.next-btn:disabled,
.submit-btn:disabled {
  background: var(--muted);
  cursor: not-allowed;
}
@media (min-width: 640px) {
  .next-btn,
  .submit-btn { width: auto; min-width: 200px; }
}

/* ── Form inputs (step 5 contact form) ── */
.field {
  display: block;
  margin-bottom: 16px;
}
.field > span {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.field input,
.field select,
textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field input:focus,
.field select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 3px rgba(23, 97, 146, 0.15);
}
.field input.invalid,
.field select.invalid {
  border-color: var(--error);
}

textarea {
  resize: vertical;
  min-height: 110px;
  margin-bottom: 8px;
}

.grid-2 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 540px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

/* ── Consent block ── */
.consent {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 18px 0;
}
.consent a {
  color: var(--primary-2);
}

/* ── Submit status / errors ── */
.submit-status {
  margin: 12px 0 0;
  font-size: 14px;
  min-height: 20px;
}
.submit-status.error { color: var(--error); }
.submit-status.success { color: var(--success); }

.muted { color: var(--muted); }

/* ── Progress bar ── */
.progress-wrap {
  margin-top: 18px;
  text-align: center;
}
.progress-bar {
  background: var(--line);
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  background: var(--primary);
  height: 100%;
  width: 0%;
  transition: width 0.25s;
}
.progress-text {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}

/* ── Claim value ranges ── */
.value-ranges {
  background: #06122a;            /* deep navy, brand anchor */
  color: #ffffff;
  padding: 56px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.value-ranges h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0;
  color: #ffffff;
}
.value-divider {
  width: 96px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin: 18px auto 36px;
}
.value-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}
@media (min-width: 760px) {
  .value-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.value-card {
  text-align: center;
  padding: 0 8px;
}
.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  color: #ffffff;
  display: block;
}
.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: #ffffff;
}
.value-card p {
  font-size: 16px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.value-disclaimer {
  margin: 36px auto 0;
  max-width: 520px;
  text-align: center;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

/* ── Testimonials ── */
.testimonials {
  background: #ffffff;
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.testimonials h2 {
  text-align: center;
  font-size: 24px;
  margin: 0 0 32px;
  color: var(--ink);
}
.testimonial-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.testimonial {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.testimonial .recovered {
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.testimonial .quote {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 12px;
}
.testimonial .attribution {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-weight: 600;
}

/* ── FAQ ── */
.faq {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 48px 0;
}
.faq h2 {
  text-align: center;
  font-size: 24px;
  margin: 0 0 28px;
  color: var(--ink);
}
.faq details {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 10px;
  padding: 14px 18px;
  transition: box-shadow 0.15s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 24px;
  outline: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--primary-2);
  font-weight: 400;
  transition: transform 0.15s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 28px 0 36px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}
.site-footer p { margin: 0 0 14px; }
.site-footer a { color: var(--ink-soft); margin: 0 6px; }
.site-footer .footer-disclaimer {
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
  text-align: left;
  max-width: 100%;
}
.site-footer .footer-disclaimer strong {
  color: var(--ink-soft);
  letter-spacing: 0.4px;
}
.site-footer .footer-links {
  text-align: center;
  margin-top: 18px;
}
