/* ── RESET & BASE ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2C4A6E;
  --primary-dark: #1e3450;
  --accent: #B5762A;
  --accent-dark: #8f5c1f;
  --accent-light: #EFB765;   /* byline link on the dark .page-hero — 5.03:1 on --primary */
  --text: #1e1e1e;
  --gray-text: #555;
  --gray-light: #f5f4f1;
  --gray-mid: #ddd;
  --white: #fff;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'Source Sans 3', Arial, sans-serif;
  --max-width: 1080px;
  --pad: 18px;
}

/* F7 2026-08-15 — skip link, ported from the render-guide family. Off-screen until
   focused, so nothing changes visually for a mouse user; it is the first focusable
   element on every page and jumps to <main id="main">.
   White on --primary #2C4A6E measures 9.08:1. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-ui);
  padding: 12px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

/* ── HEADER ─────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--primary);
  padding: 14px var(--pad);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}
.logo-block { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
}
.logo-wordmark span { color: var(--accent); }
.logo-tagline {
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--gray-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: none;
}
.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: calc(-1 * var(--pad));
  right: calc(-1 * var(--pad));
  background: var(--white);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 2px solid var(--primary);
  padding: 8px var(--pad) 16px;
  flex-direction: column;
}
.site-nav.open { display: flex; }
.site-nav a {
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  padding: 11px 0;
  border-bottom: 1px solid var(--gray-mid);
  display: block;
  text-decoration: none;
}
.site-nav a:last-child { border-bottom: none; }
.site-nav a:hover, .site-nav a.active { color: var(--accent); text-decoration: none; }

@media (min-width: 768px) {
  :root { --pad: 24px; }
  .logo-wordmark { font-size: 21px; }
  .logo-tagline { display: block; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    border: none;
    padding: 0;
    gap: 22px;
    align-items: center;
    background: transparent;
  }
  .site-nav a {
    font-size: 14px;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s, color 0.15s;
  }
  .site-nav a:hover, .site-nav a.active {
    border-color: var(--accent);
    color: var(--accent);
  }
}

/* ── HOME HERO ──────────────────────────── */
.home-hero {
  background: var(--primary);
  padding: 40px var(--pad) 44px;
}
.home-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.home-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 680px;
}
.home-hero .hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 26px;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--accent-dark); color: var(--white); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.4);
  text-decoration: none;
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); text-decoration: none; }

/* ── STAT BAND ──────────────────────────── */
.stat-band {
  background: var(--gray-light);
  border-bottom: 1px solid var(--gray-mid);
  padding: 24px var(--pad);
}
.stat-band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-item { text-align: center; padding: 10px 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-label {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.4;
}
@media (min-width: 480px) { .stat-num { font-size: 34px; } .stat-label { font-size: 13px; } }

/* ── SECTION ────────────────────────────── */
.section { padding: 36px var(--pad); }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-alt { background: var(--gray-light); border-top: 1px solid var(--gray-mid); border-bottom: 1px solid var(--gray-mid); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 26px);
  color: var(--primary);
  margin-bottom: 6px;
}
.section-sub {
  font-family: var(--font-ui);
  font-size: 15px;
  color: var(--gray-text);
  margin-bottom: 24px;
  max-width: 560px;
  line-height: 1.6;
}

/* ── CHARGES GRID ───────────────────────── */
.charges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 480px) { .charges-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .charges-grid { grid-template-columns: repeat(3, 1fr); } }

.charge-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 16px;
  text-decoration: none;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.charge-card:hover {
  box-shadow: 0 2px 10px rgba(44,74,110,0.1);
  border-color: var(--primary);
  border-left-color: var(--accent);
  text-decoration: none;
}
.charge-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 5px;
}
.charge-card p {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
  margin: 0;
}

/* ── UNDERSTAND CARDS ───────────────────── */
.understand-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) { .understand-grid { grid-template-columns: repeat(3, 1fr); } }
.understand-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-top: 3px solid var(--primary);
  border-radius: 6px;
  padding: 18px;
}
.understand-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 8px;
}
.understand-card p {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 12px;
}
.understand-card a {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

/* ── INTERIOR PAGE HERO ─────────────────── */
.page-hero {
  background: var(--primary);
  padding: 32px var(--pad) 28px;
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 10px;
}
.page-hero .hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  line-height: 1.65;
}

/* ── CONTENT LAYOUT ─────────────────────── */
.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px var(--pad);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 900px) {
  .content-wrap { grid-template-columns: 1fr 270px; padding: 44px var(--pad); gap: 44px; }
}

/* ── MAIN CONTENT ───────────────────────── */
.main-content h2 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--primary);
  margin: 28px 0 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--gray-mid);
}
.main-content h2:first-child { margin-top: 0; }
.main-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--primary);
  margin: 18px 0 6px;
}
.main-content p { margin-bottom: 13px; }
.main-content ul, .main-content ol { padding-left: 20px; margin-bottom: 13px; }
.main-content li { margin-bottom: 5px; }

/* ── STATUTE BOX ────────────────────────── */
.statute-box {
  background: #eef2f8;
  border-left: 4px solid var(--primary);
  border-radius: 0 6px 6px 0;
  padding: 14px 16px;
  margin: 18px 0;
}
.statute-cite {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.statute-text {
  font-size: 14px;
  color: var(--text);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 8px;
}
.statute-plain {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ── FAQ ────────────────────────────────── */
.faq-section { margin-top: 36px; }
.faq-section h2 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-mid);
}
.faq-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-mid);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 6px;
}
.faq-item p { font-size: 15px; color: var(--gray-text); margin: 0; }

/* ── SIDEBAR ────────────────────────────── */
.sidebar-box {
  background: var(--gray-light);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}
.sidebar-box h4 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gray-mid);
}
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box ul li { margin-bottom: 7px; }
.sidebar-box ul li a { font-family: var(--font-ui); font-size: 14px; color: var(--primary); }
.sidebar-box ul li a::before { content: "→ "; color: var(--accent); }
.sidebar-box ul li a:hover { color: var(--accent); }
.courthouse-box {
  background: var(--primary);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}
.courthouse-box h4 { font-family: var(--font-display); font-size: 15px; color: var(--white); margin-bottom: 8px; }
.courthouse-box p, .courthouse-box address {
  font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.85); font-style: normal; line-height: 1.6;
}

/* ── FOOTER ─────────────────────────────── */
.site-footer {
  background: #1a2e47;
  padding: 36px var(--pad) 20px;
  margin-top: 48px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.footer-col h5 {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--white);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col p, .footer-col address {
  font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; font-style: normal;
}
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.footer-col a:hover { color: var(--white); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-col ul li a:hover { color: var(--white); text-decoration: underline; }
.sponsor-tag {
  font-family: var(--font-ui); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.08em; color: rgba(255,255,255,0.3); margin-bottom: 6px;
}
/* ---- Standard sponsor block (sb-) ---- */
.footer-col .sb-name {
  font-family: var(--font-display); font-size: 15px; font-weight: 600;
  line-height: 1.4; color: var(--white); margin-bottom: 8px;
}
.footer-col .sb-name a { color: var(--white); text-decoration: none; }
.footer-col .sb-name a:hover { text-decoration: underline; }
.footer-col .sb-bio {
  font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7;
}
.footer-col .sb-contact {
  font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.6);
  line-height: 1.9; margin-top: 10px;
}
.footer-col .sb-contact a { color: rgba(255,255,255,0.6); font-weight: 600; font-style: italic; text-decoration: none; }
.footer-col .sb-contact a:hover { color: var(--white); text-decoration: underline; }
.sb-sep { color: rgba(255,255,255,0.3); padding: 0 6px; }
.footer-col .sb-address {
  font-family: var(--font-ui); font-size: 12px; color: rgba(255,255,255,0.5);
  line-height: 1.6; margin-top: 6px;
}
.footer-col .sb-disclaimer {
  font-family: var(--font-ui); font-size: 11px; color: rgba(255,255,255,0.35);
  line-height: 1.5; margin-top: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  line-height: 1.6;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── MOBILE STICKY BAR ──────────────────── */
.mobile-cta {
  display: block;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 13px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 15px;
  z-index: 100;
  text-decoration: none;
}
.mobile-cta:hover { background: var(--accent-dark); color: var(--white); text-decoration: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 50px; } }

/* ── PENALTY TABLE (appended 2026-07-03) ── */
.penalty-table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-family: var(--font-ui); font-size: 14.5px; }
.penalty-table th { background: #2a3f5f; color: #fff; text-align: left; padding: 9px 12px; font-weight: 600; }
.penalty-table td { border: 1px solid #d8dee9; padding: 9px 12px; vertical-align: top; line-height: 1.5; }
.penalty-table tr:nth-child(even) td { background: #f4f6f9; }
@media (max-width: 600px) { .penalty-table { display: block; overflow-x: auto; } }

/* ── PAGE BYLINE (reviewed-by) ───────────── */
/* Ported from bloomington 2026-08-15 (F1), restyled for THIS site's dark hero.
   bloomington's .page-hero is light and its byline uses muted grey on cream; here
   .page-hero is background: var(--primary) #2C4A6E, so the byline is light-on-dark.
   Measured on that background: body text 6.27:1, link 5.03:1 — both clear AA. */
.page-byline {
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255,255,255,0.78);
  margin-top: 10px;
  line-height: 1.5;
}
.page-byline .byline-name { color: var(--accent-light); text-decoration: none; font-weight: 600; }
.page-byline .byline-name:hover { text-decoration: underline; }
.page-byline .byline-sep { opacity: 0.6; margin: 0 2px; }
