/* Consumer Wins — design tokens inherited from consumerlit.com so the two
   firms read as siblings. Same navy/green/gold, same Playfair + Source Sans
   pairing. Consumer Wins skews slightly warmer and more direct because its
   audience is consumers arriving from Meta ads, not referral counsel. */

:root {
  --navy: #1E3A8A;
  --navy-deep: #14265e;
  --navy-ink: #0d1b47;
  --green: #037f40;
  --green-deep: #02663a;
  --gold: #DDAA64;
  --gold-deep: #b8863f;
  --ivory: #faf8f4;
  --paper: #ffffff;
  --fog: #f4f5f8;
  --rule: #d9dbe3;
  --ink: #15182a;
  --ink-soft: #3d4256;
  --mute: #6b7280;

  --serif: "Playfair Display", "Times New Roman", Georgia, serif;
  --sans: "Source Sans 3", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1200px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(13,27,71,.06), 0 8px 24px rgba(13,27,71,.07);
  --shadow-lift: 0 4px 10px rgba(13,27,71,.09), 0 18px 44px rgba(13,27,71,.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 800px; }
.center { text-align: center; }
.strong { font-weight: 600; }
.muted { color: var(--mute); }

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--navy-ink); color: #fff; padding: 12px 18px;
  font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.skip-link:focus { left: 12px; top: 12px; outline: 2px solid var(--gold); outline-offset: 2px; }

section[id], main [id] { scroll-margin-top: 84px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); color: var(--navy-ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.08; letter-spacing: -.015em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.16; }
h3 { font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 1em;
}
.hl {
  background: linear-gradient(180deg, transparent 62%, rgba(221,170,100,.42) 62%);
  padding: 0 .06em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 30px;
  border-radius: var(--radius); border: 1px solid transparent;
  font-family: var(--sans); font-size: 1.02rem; font-weight: 600;
  line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(30,58,138,.04); }
.btn-block { width: 100%; }
.btn-lg { min-height: 58px; padding: 16px 38px; font-size: 1.1rem; }
.btn:active { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.wordmark { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.wordmark-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--navy-ink); letter-spacing: .01em; }
.wordmark-rule { display: none; }
.wordmark-sub { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--navy); }
.site-nav .nav-cta {
  background: var(--green); color: #fff; padding: 11px 20px;
  border-radius: var(--radius); font-weight: 600; white-space: nowrap; min-height: 44px;
  display: inline-flex; align-items: center;
}
.site-nav .nav-cta:hover { background: var(--green-deep); color: #fff; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  width: 46px; height: 46px; padding: 10px; background: none;
  border: 1px solid var(--rule); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--navy-ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(168deg, var(--ivory) 0%, #fff 62%); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.lede { font-size: 1.14rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }

.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; }
.trust-row li { font-size: .92rem; color: var(--ink-soft); font-weight: 500; position: relative; padding-left: 22px; }
.trust-row li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 12px; height: 7px; border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green); transform: rotate(-45deg);
}

/* ---------- Form ---------- */
.form-card {
  background: #fff; border: 1px solid var(--rule); border-radius: 14px;
  padding: 30px 28px; box-shadow: var(--shadow);
}
.form-title { font-size: 1.5rem; margin-bottom: .25em; }
.form-note { font-size: .93rem; color: var(--mute); margin-bottom: 1.4em; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 6px; }
.req { color: var(--green); }
.opt { font-weight: 400; color: var(--mute); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font-family: var(--sans); font-size: 16px; /* 16px prevents iOS zoom-on-focus */
  color: var(--ink); background: #fff;
  border: 1px solid var(--rule); border-radius: 9px;
}
.field input:focus, .field select:focus { border-color: var(--navy); }
.field input[aria-invalid="true"] { border-color: #c0392b; background: #fdf6f5; }
.form-consent { font-size: .8rem; color: var(--mute); margin: 14px 0 0; line-height: 1.5; }
.form-error {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 8px;
  background: #fdf1f0; border: 1px solid #e4b4ae; color: #8c2c20; font-size: .92rem;
}
.form-success h3 { color: var(--green-deep); }
.form-success ul { margin: 0 0 1em; padding-left: 1.25em; }
.form-success li { margin-bottom: .4em; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--fog); }
.section-title { text-align: center; }
.section-lede { text-align: center; max-width: 40em; margin: 0 auto 2.4em; color: var(--ink-soft); font-size: 1.06rem; }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--gold);
  border-radius: var(--radius); padding: 26px 24px;
}
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); margin-bottom: .9em; }
.card-link { color: var(--green-deep); font-weight: 600; text-decoration: none; font-size: .95rem; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Damages table ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 1.5em; }
.worth-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.worth-table th, .worth-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--rule); }
.worth-table thead th { background: var(--navy-ink); color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.worth-table tbody th { font-weight: 600; color: var(--ink); }
.worth-table tbody tr:last-child th, .worth-table tbody tr:last-child td { border-bottom: 0; }
.amt { font-weight: 700; color: var(--green-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.eg { color: var(--mute); font-size: .95rem; font-variant-numeric: tabular-nums; }
.fineprint { font-size: .88rem; color: var(--mute); max-width: 46em; margin: 0 auto 2em; text-align: center; line-height: 1.6; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0 0 2em; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { position: relative; padding-top: 8px; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  border-radius: 50%; background: var(--navy-ink); color: #fff;
  font-family: var(--serif); font-size: 1.3rem; font-weight: 700;
}
.step p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 600; color: var(--navy-ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-deep); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }

/* ---------- Closer ---------- */
.closer { background: var(--navy-ink); color: #fff; padding: 74px 0; }
.closer h2 { color: #fff; }
.closer p { color: rgba(255,255,255,.8); font-size: 1.08rem; margin-bottom: 1.8em; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1436; color: rgba(255,255,255,.72); padding: 52px 0 34px; font-size: .93rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap; margin-bottom: 30px; }
.footer-mark { font-family: var(--serif); font-size: 1.25rem; color: #fff; margin-bottom: .2em; }
.footer-line { margin: 0 0 .35em; }
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.disclaimer { font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.6); border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; margin-bottom: 1em; }
.copyright { font-size: .8rem; color: rgba(255,255,255,.5); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--rule); padding: 8px 24px 18px;
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--rule); min-height: 44px; display: flex; align-items: center; }
  .site-nav .nav-cta { justify-content: center; margin-top: 12px; border-bottom: 0; }
  .header-inner { position: relative; }

  .hero { padding: 38px 0 46px; }
  .section { padding: 54px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .form-card { padding: 24px 20px; }
  .worth-table th, .worth-table td { padding: 12px 13px; font-size: .93rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .btn:hover { transform: none; }
}

/* ---------- Legal pages ---------- */
.legal h1 { margin-bottom: .2em; }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal p { color: var(--ink-soft); }
.legal .muted { font-size: .9rem; margin-bottom: 2em; }

/* ---------- TCPA consent block ----------
   Unchecked by default and one box per channel: bundled or pre-ticked consent
   is not valid prior express written consent under the TCPA. Kept visually
   quiet so it reads as disclosure, not as a wall blocking the CTA. */
.consent-set { border: 0; margin: 18px 0 4px; padding: 16px 0 0; border-top: 1px solid var(--rule); }
.consent-intro { font-size: .84rem; color: var(--ink-soft); margin: 0 0 12px; line-height: 1.55; }
.consent-intro a { color: var(--navy); }
.consent-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .8rem; line-height: 1.5; color: var(--mute);
  margin-bottom: 11px; cursor: pointer; font-weight: 400;
}
.consent-item input[type="checkbox"] {
  flex: 0 0 auto; width: 17px; height: 17px; margin: 2px 0 0;
  accent-color: var(--green); cursor: pointer;
}
.consent-item span { flex: 1 1 auto; }
.consent-rates { font-size: .76rem; color: var(--mute); margin: 10px 0 0; }
