/* PoliceReport.info — rebuild 2026 */
:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem;

  --navy-950: #0d1b2e;
  --navy-900: #13253d;
  --navy-800: #1b3a5c;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --ink: #1a2332;
  --ink-soft: #44506a;
  --ink-faint: #6b7690;
  --paper: #ffffff;
  --surface: #f5f7fa;
  --surface-2: #eceff4;
  --line: #d9dfe8;
  --gold: #b98a2f;
  --green-700: #15803d;
  --green-50: #f0fdf4;

  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", sans-serif;

  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 46, 0.06);
  --shadow-md: 0 2px 8px rgba(13, 27, 46, 0.08);
  --maxw: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 var(--space-4); color: var(--navy-950); }
h1 { font-size: var(--text-2xl); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: var(--text-xl); font-weight: 600; }
h3 { font-size: var(--text-lg); font-weight: 600; }
p { margin: 0 0 var(--space-4); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--space-5); }

/* Header */
.site-header {
  background: var(--navy-950);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: var(--space-4); padding-bottom: var(--space-4);
}
.brand { display: flex; align-items: center; gap: var(--space-3); color: #fff; font-weight: 700; font-size: var(--text-base); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 34px; height: 34px; flex: none; }
.brand small { display: block; font-weight: 400; font-size: var(--text-xs); color: #9fb3cc; letter-spacing: 0.02em; }
.site-nav { display: flex; gap: var(--space-6); }
.site-nav a { color: #cdd9e8; font-size: var(--text-sm); font-weight: 500; }
.site-nav a:hover { color: #fff; text-decoration: none; }

/* Notice bar */
.notice-bar {
  background: var(--blue-50);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-xs);
  color: var(--ink-soft);
  text-align: center;
  padding: var(--space-2) var(--space-4);
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%); padding: var(--space-16) 0 var(--space-12); }
.hero .kicker { font-size: var(--text-sm); font-weight: 600; color: var(--blue-700); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-3); }
.hero p.lede { font-size: var(--text-lg); color: var(--ink-soft); max-width: 46rem; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-10); align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 3fr 2fr; } }

/* Breadcrumbs */
.crumbs { font-size: var(--text-xs); color: var(--ink-faint); padding: var(--space-4) 0 0; }
.crumbs a { color: var(--ink-faint); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* Sections */
.section { padding: var(--space-12) 0; }
.section.alt { background: var(--surface); }
.section-head { max-width: 46rem; margin-bottom: var(--space-8); }
.section-head p { color: var(--ink-soft); }

/* Cards */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: var(--space-2); }

/* Agency cards */
.agency-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue-600);
  border-radius: var(--radius);
  background: var(--paper);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-4);
}
.agency-card h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; color: var(--navy-950); }
.agency-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-1) var(--space-6); font-size: var(--text-sm); color: var(--ink-soft); }
@media (min-width: 640px) { .agency-grid { grid-template-columns: 1fr 1fr; } }
.agency-grid strong { color: var(--ink); font-weight: 600; }
.agency-foot { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); font-size: var(--text-xs); color: var(--ink-faint); }

/* Facts table */
.facts { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.facts th, .facts td { text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { color: var(--ink-faint); font-weight: 600; white-space: nowrap; width: 40%; }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 0 var(--space-6) var(--space-12); counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--navy-950); color: #fff;
  font-weight: 700; font-size: var(--text-sm);
  display: flex; align-items: center; justify-content: center;
}
.steps li::after {
  content: ""; position: absolute; left: calc(1rem - 1px); top: 2.25rem; bottom: 0.25rem;
  width: 2px; background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-family: var(--font-body); font-size: var(--text-base); font-weight: 700; margin-bottom: var(--space-1); }
.steps p { font-size: var(--text-sm); color: var(--ink-soft); margin-bottom: 0; }

/* Form */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue-600);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-8);
}
.form-panel h2 { font-size: var(--text-lg); }
.form-panel .sub { font-size: var(--text-sm); color: var(--ink-soft); margin-bottom: var(--space-6); }
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-1); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: var(--text-sm);
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-600); outline: 2px solid var(--blue-100); }
.form-panel .err { display: none; color: #b91c1c; font-size: var(--text-xs); margin: var(--space-1) 0 var(--space-2); }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 var(--space-4); }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.checkbox-field { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-4); font-size: var(--text-xs); color: var(--ink-soft); }
.checkbox-field input { margin-top: 3px; flex: none; width: 1rem; height: 1rem; }
.checkbox-field.offer {
  background: var(--green-50);
  border: 1px solid #bbe5c8;
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font: inherit; font-size: var(--text-sm); font-weight: 700;
  background: var(--blue-700); color: #fff;
  border: 0; border-radius: var(--radius);
  padding: var(--space-4) var(--space-6);
  width: 100%;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--navy-800); }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.form-note { font-size: var(--text-xs); color: var(--ink-faint); margin-top: var(--space-3); }
.form-success { display: none; text-align: center; padding: var(--space-8) var(--space-4); }
.form-success h3 { color: var(--green-700); }

/* City / state link grids */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); gap: var(--space-2) var(--space-6); padding: 0; margin: 0; list-style: none; }
.link-grid a { font-size: var(--text-sm); }
.link-grid .meta { color: var(--ink-faint); font-size: var(--text-xs); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: var(--space-4) 0; }
.faq summary { font-weight: 600; font-size: var(--text-base); cursor: pointer; color: var(--navy-950); }
.faq details p { margin: var(--space-3) 0 0; font-size: var(--text-sm); color: var(--ink-soft); }

/* Callouts */
.callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin: var(--space-6) 0;
}
.callout strong { color: var(--ink); }

/* Footer */
.site-footer { background: var(--navy-950); color: #9fb3cc; font-size: var(--text-sm); margin-top: var(--space-16); }
.site-footer .wrap { padding-top: var(--space-12); padding-bottom: var(--space-10); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-8); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: var(--text-sm); margin: 0 0 var(--space-3); }
.site-footer a { color: #cdd9e8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.footer-legal { border-top: 1px solid #24405e; margin-top: var(--space-8); padding-top: var(--space-6); font-size: var(--text-xs); color: #7e93ad; }

/* Utility */
.muted { color: var(--ink-faint); font-size: var(--text-sm); }
.two-col { display: grid; grid-template-columns: 1fr; gap: var(--space-10); }
@media (min-width: 900px) { .two-col { grid-template-columns: 2fr 1fr; } }
.sticky-side { position: sticky; top: var(--space-6); }

/* Legal pages */
.legal-body { font-size: var(--text-sm); line-height: 1.7; color: var(--ink-soft); }
.legal-body h2 { font-size: var(--text-lg); margin: var(--space-8) 0 var(--space-3); color: var(--ink); }
.legal-body h3 { font-size: var(--text-base); margin: var(--space-6) 0 var(--space-2); color: var(--ink); }
.legal-body p { margin: 0 0 var(--space-3); }
.legal-body ul { margin: 0 0 var(--space-3) var(--space-5); }
.legal-body li { margin-bottom: var(--space-1); }
.legal-body strong { color: var(--ink); }
