:root {
  --navy: #0b2545;
  --navy-dark: #071a33;
  --gold: #c9a227;
  --gold-dark: #a9860f;
  --ink: #1a1f2b;
  --muted: #5b6472;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --border: #e2e6ee;
  --success: #1f8a4c;
  --error: #c0392b;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; width: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p, a, span, label, li { overflow-wrap: break-word; word-wrap: break-word; }

img { max-width: 100%; display: block; }
a { color: var(--navy); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: clamp(22px, 4vw, 30px); margin-top: 0; }
h3 { font-size: clamp(18px, 3vw, 21px); }
p { margin: 0 0 16px; }
.lead { font-size: clamp(16px, 2.5vw, 19px); color: var(--muted); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- */
/* Top disclaimer strip                                               */
/* ---------------------------------------------------------------- */
.ad-strip {
  background: var(--navy-dark);
  color: #c7d2e3;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
}
.ad-strip a { color: #fff; text-decoration: underline; }

/* ---------------------------------------------------------------- */
/* Header / nav                                                       */
/* ---------------------------------------------------------------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(180%) blur(6px);
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img, .brand svg { height: 60px; width: auto; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: none; }
.nav-toggle-icon { width: 20px; height: 2px; background: var(--navy); position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--navy);
}
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

nav.main-nav {
  position: fixed;
  inset: 64px 0 0 0;
  background: #fff;
  padding: 12px 20px 32px;
  display: none;
  overflow-y: auto;
}
nav.main-nav.open { display: block; }
nav.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
/* :not(.btn) keeps these plain-link styles off the nav-cta slot, which
   renders a real .btn — without it, this rule's higher specificity (an
   element+class selector beats a bare class) stomps the button's own
   display/padding/color, breaking its centering and text color */
nav.main-nav a:not(.btn) {
  display: block;
  padding: 14px 8px;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
nav.main-nav a.current { color: var(--gold-dark); }
nav.main-nav .nav-cta { margin-top: 16px; }
nav.main-nav .nav-cta .btn { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  nav.main-nav {
    position: static;
    display: block;
    inset: auto;
    padding: 0;
    background: transparent;
    overflow: visible;
  }
  nav.main-nav ul { flex-direction: row; align-items: center; gap: 28px; }
  nav.main-nav a:not(.btn) { padding: 4px 0; border-bottom: none; font-size: 15px; }
  nav.main-nav .nav-cta .btn { width: auto; white-space: nowrap; }
  nav.main-nav .nav-cta { margin-top: 0; }
}

/* ---------------------------------------------------------------- */
/* Buttons                                                            */
/* ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------------------------------------------------------------- */
/* Hero                                                                */
/* ---------------------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 48px 0 56px;
}
.hero h1 { color: #fff; }
.hero .lead { color: #cfd8e8; }
.hero-audience {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 720px) {
  .hero-audience { grid-template-columns: 1fr 1fr; }
}
.audience-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 24px;
}
.audience-card h3 { color: #fff; }
.audience-card p { color: #cfd8e8; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 0 1 auto; }

.case-select-row { display: flex; flex-direction: column; gap: 12px; }
.case-select-row select { background: #fff; color: var(--ink); }
@media (min-width: 480px) {
  .case-select-row { flex-direction: row; }
  .case-select-row select { flex: 1; }
  .case-select-row .btn { flex: none; }
}

.btn-case { color: #fff; }
.btn-case:hover { filter: brightness(0.92); }
.btn-case.rideshare { background: var(--gold); color: var(--navy-dark); }
.btn-case.roblox { background: #1f8a4c; }
.btn-case.afff { background: #1f6fb2; }
.btn-case.hair-relaxer { background: #9b3fa0; }
.btn-case.ozempic { background: #2098b0; }
.btn-case.camp-lejeune { background: #8a6d1f; }
.btn-case.paraquat { background: #3a7d2c; }
.btn-case.talc { background: #b2651f; }

/* ---------------------------------------------------------------- */
/* Sections / cards                                                   */
/* ---------------------------------------------------------------- */
section { padding: 48px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 700px; margin-bottom: 32px; }

.case-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) { .case-grid { grid-template-columns: 1fr 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.case-card { display: flex; flex-direction: column; gap: 12px; }
.case-card .tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--bg-alt);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}

.stat-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
  margin: 32px 0;
}
@media (min-width: 720px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat .num { font-size: 28px; font-weight: 800; color: var(--navy); }
.stat .label { font-size: 13px; color: var(--muted); }

/* "How it works" steps — same numbered layout as .stat-row/.stat but left-aligned */
.steps-row { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); margin: 32px 0; }
@media (min-width: 720px) { .steps-row { grid-template-columns: repeat(4, 1fr); } }
.step { text-align: left; }
.step .num { font-size: 28px; font-weight: 800; color: var(--navy); }
.step .label { font-size: 13px; color: var(--muted); }

/* Tag pill used on hero sections (dark background) vs. case cards (light) */
.tag-on-hero { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Subtitle line directly under a form-card heading */
.form-subtitle { color: var(--muted); margin-top: -8px; margin-bottom: 16px; }

/* Small helper text under a field */
.field-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* Narrower reading-width container for text-heavy legal/about pages */
.container-narrow { max-width: 760px; }

.section-subhead { margin-top: 40px; }

/* ---------------------------------------------------------------- */
/* FAQ (native details/summary — no JS needed, mobile friendly)      */
/* ---------------------------------------------------------------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 18px;
  margin-bottom: 12px;
  background: #fff;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
  position: relative;
  padding-right: 28px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  font-size: 22px;
  color: var(--gold-dark);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p:last-child { margin-bottom: 16px; }

/* ---------------------------------------------------------------- */
/* Forms                                                              */
/* ---------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.field { margin-bottom: 18px; }
.grid2 { display: grid; gap: 18px; }
@media (min-width: 600px) { .grid2 { grid-template-columns: 1fr 1fr; } }

label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
label .opt { color: var(--muted); font-weight: 400; font-style: italic; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], select, textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { resize: vertical; min-height: 100px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); }
select { appearance: none; -webkit-appearance: none; background-image: none; }

fieldset { border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; margin: 0 0 18px; }
fieldset legend { font-size: 14px; font-weight: 600; padding: 0 6px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.radio-row label { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 14px; margin-bottom: 0; }
.radio-row input { width: 18px; height: 18px; }

.consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.consent span { font-size: 13px; color: var(--muted); line-height: 1.5; }

.msg { margin-top: 14px; font-size: 14px; }
.msg.error { color: var(--error); }
.msg.success { color: var(--success); }

/* ---------------------------------------------------------------- */
/* Disclaimer blocks                                                  */
/* ---------------------------------------------------------------- */
.disclaimer {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 13px;
  color: var(--muted);
}
.disclaimer h3 { font-size: 14px; margin-bottom: 8px; }

/* ---------------------------------------------------------------- */
/* Footer                                                             */
/* ---------------------------------------------------------------- */
footer.site-footer { background: var(--navy-dark); color: #b9c4d8; padding: 40px 0 24px; margin-top: 24px; }
footer.site-footer a { color: #fff; text-decoration: none; }
footer.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 24px; margin-bottom: 24px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid ul { list-style: none; margin: 10px 0 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-legal { font-size: 12px; line-height: 1.6; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; }
.footer-logo { height: 42px; margin-bottom: 12px; }
.footer-blurb { max-width: 420px; color: #b9c4d8; }
.footer-col-title { color: #fff; }

/* ---------------------------------------------------------------- */
/* Utility                                                            */
/* ---------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1.1fr 0.9fr; align-items: start; } }
.sticky-form { position: sticky; top: 90px; }
