/* Siting Radar — one small stylesheet, no build step. WCAG AA contrast throughout. */

/* ==========================================================================
   Design tokens — the only place colors, type sizes and spacing are defined.
   Contrast ratios are against white unless noted.
   ========================================================================== */
:root {
  /* color: text */
  --ink: #16202a;              /* body text, 16:1 */
  --heading: #0d1b2a;          /* headings */
  --muted: #56616d;            /* secondary text, 6.3:1 (5.8:1 on --bg-soft) */
  --faint: #667380;            /* tertiary text on white only, 4.9:1 */
  /* color: surfaces and lines */
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-tint: #eef5f4;
  --line: #e3e8ed;
  --line-strong: #cfd7df;
  --input-line: #aab5c0;
  /* color: brand and links */
  --navy: #0f2a44;
  --teal: #0b6e69;             /* 6.1:1; white on teal 6.1:1 */
  --teal-dark: #08524e;
  --link: #0a5c8a;             /* 7.2:1 */
  --focus: #f59e0b;
  /* color: status */
  --amber-bg: #fdf3e1;  --amber-ink: #7a3b06;   /* 7.8:1 */
  --amber-line: #d97706;
  --slate-bg: #eef1f5;  --slate-ink: #334155;   /* 9.1:1 */
  --red-bg: #fcebea;    --red-ink: #8a1c1c;     /* 8.0:1 */
  --green-bg: #e5f4ea;  --green-ink: #14532d;   /* 8.0:1 */
  --blue-bg: #e6eef8;   --blue-ink: #16426e;    /* 8.8:1 */
  /* type */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", Ubuntu, "Liberation Sans", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --fs-xs: .75rem;      /* 12px: badges, table heads */
  --fs-sm: .8125rem;    /* 13px: meta, footer, hints */
  --fs-base: .9375rem;  /* 15px: body */
  --fs-md: 1rem;        /* 16px: lede, card titles */
  --fs-lg: 1.125rem;    /* 18px: h3-ish, stat numbers on phones */
  --fs-xl: 1.25rem;     /* 20px: h2 */
  --fs-2xl: 1.625rem;   /* 26px: page h1 */
  --fs-3xl: 2.125rem;   /* 34px: landing h1 */
  --lh: 1.6;
  --lh-tight: 1.25;
  /* spacing (4px grid) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
  --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px;
  /* layout */
  --max: 1080px;         /* page container */
  --measure: 680px;      /* running text */
  --narrow: 600px;       /* forms / sign-in */
  --header-h: 52px;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(15, 42, 68, .05), 0 2px 8px rgba(15, 42, 68, .05);
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: var(--fs-base)/var(--lh) var(--font); color: var(--ink); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
main { flex: 1 0 auto; }
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 2px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3 { color: var(--heading); line-height: var(--lh-tight); letter-spacing: -0.011em; font-weight: 650; }
h1 { font-size: var(--fs-2xl); margin: 0 0 var(--s-3); letter-spacing: -0.018em; }
h2 { font-size: var(--fs-xl); margin: 0 0 var(--s-3); }
h3 { font-size: var(--fs-md); margin: 0 0 var(--s-2); }
p { margin: 0 0 var(--s-4); }
ul, ol { margin-top: 0; }
code, .mono { font-family: var(--mono); font-size: .9em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--s-6); }
.narrow { max-width: var(--narrow); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s-3); top: var(--s-3); background: #fff; padding: var(--s-2) var(--s-3); z-index: 10; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.nowrap { white-space: nowrap; }

/* ==========================================================================
   Banner / header / footer
   ========================================================================== */
.demo-banner { background: var(--amber-bg); color: var(--amber-ink); font-size: var(--fs-sm); padding: 6px 0; border-bottom: 1px solid #f1dcb2; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 650; font-size: var(--fs-base); color: var(--heading); text-decoration: none; letter-spacing: -0.01em; }
.brand svg { width: 22px; height: 22px; flex: none; }
.nav { display: flex; gap: var(--s-1) var(--s-5); flex-wrap: wrap; align-items: center; margin-left: auto; font-size: var(--fs-sm); }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.nav a:hover { color: var(--heading); }
.nav a[aria-current="page"] { color: var(--heading); font-weight: 600; box-shadow: inset 0 -2px 0 var(--teal); }
.nav a.btn, .nav a.btn:hover { color: #fff; box-shadow: none; padding: 5px 12px; }
.nav form { margin: 0; }
.linkbtn { background: none; border: 0; padding: 6px 0; font: inherit; font-size: var(--fs-sm); color: var(--muted); cursor: pointer; }
.linkbtn:hover { color: var(--heading); text-decoration: underline; }
.site-footer { margin-top: var(--s-16); border-top: 1px solid var(--line); background: var(--bg-soft); padding: var(--s-8) 0 var(--s-10); font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr); gap: var(--s-8); }
.site-footer p { margin: 0 0 var(--s-3); }
.site-footer strong { color: var(--ink); font-weight: 600; }
.site-footer a { color: var(--muted); text-decoration-color: rgba(86, 97, 109, .4); }
.site-footer a:hover { color: var(--heading); }
.site-footer .foot-h { font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink); margin: 0 0 var(--s-2); }
.foot-links { list-style: none; padding: 0; margin: 0 0 var(--s-3); }
.foot-links li { margin-bottom: 2px; }
.disclaimer { border-left: 2px solid var(--line-strong); padding-left: var(--s-3); }

/* ==========================================================================
   Buttons & forms
   ========================================================================== */
.btn { display: inline-block; background: var(--teal); color: #fff; border: 1px solid var(--teal); border-radius: var(--radius); padding: 8px 14px; font: 600 var(--fs-sm)/1.3 var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { background: var(--bg-soft); color: var(--heading); border-color: var(--input-line); }
.btn.small { padding: 5px 10px; font-size: var(--fs-sm); }
.btn.danger { background: #fff; color: var(--red-ink); border-color: #e3b4b4; }
.btn.danger:hover { background: var(--red-bg); }
.btn-row { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }
label { font-weight: 600; font-size: var(--fs-sm); display: block; margin-bottom: var(--s-1); }
input[type=text], input[type=email], input[type=url], input[type=number], input[type=search], input[type=date], select, textarea {
  width: 100%; font: inherit; font-size: var(--fs-base); color: var(--ink); background: #fff; border: 1px solid var(--input-line); border-radius: var(--radius); padding: 6px 10px; min-height: 36px; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); }
.field { margin-bottom: var(--s-3); }
.hint { font-size: var(--fs-sm); color: var(--muted); font-weight: 400; margin-top: var(--s-2); }
.checks { display: flex; flex-wrap: wrap; gap: 6px var(--s-4); }
.checks label { font-weight: 400; display: inline-flex; gap: 6px; align-items: center; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 var(--s-3); }
legend { font-weight: 600; font-size: var(--fs-sm); margin-bottom: 6px; padding: 0; }
.inline-form { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: flex-end; }
.inline-form .field { margin: 0; flex: 1 1 180px; }
.alert-box { border-radius: var(--radius); padding: var(--s-2) var(--s-3); margin: 0 0 var(--s-4); font-size: var(--fs-sm); }
.alert-box.ok { background: var(--green-bg); color: var(--green-ink); }
.alert-box.err { background: var(--red-bg); color: var(--red-ink); }
.alert-box.info { background: var(--bg-tint); color: var(--navy); }

/* ==========================================================================
   Landing
   ========================================================================== */
.hero { background: linear-gradient(180deg, #f5f8f9 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: var(--s-12) 0 var(--s-10); }
.hero .grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s-10); align-items: center; }
.hero h1 { font-size: var(--fs-3xl); letter-spacing: -0.024em; line-height: 1.15; max-width: 16em; }
.eyebrow { text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-xs); font-weight: 600; color: var(--teal); margin: 0 0 var(--s-2); }
.lede { font-size: var(--fs-md); line-height: 1.6; color: var(--muted); max-width: var(--measure); }
.hero .lede { max-width: 36em; }
.hero .fine { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s-3); }
.section { padding: var(--s-12) 0 0; }
.section-head { max-width: var(--measure); margin-bottom: var(--s-5); }
.section-head p { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-3); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3) var(--s-4); }
.stat .n { font-size: var(--fs-2xl); font-weight: 650; color: var(--heading); line-height: 1.15; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat .l { font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; line-height: 1.45; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); counter-reset: step; }
.step { border-top: 2px solid var(--teal); padding-top: var(--s-3); }
.step p { font-size: var(--fs-sm); margin: 0; }
.step h3::before { counter-increment: step; content: counter(step) ". "; color: var(--teal); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); }
.card p { font-size: var(--fs-sm); margin: 0; }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); align-items: stretch; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); display: flex; flex-direction: column; background: #fff; }
.price-card.featured { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal), var(--shadow); }
.price-card .price { font-size: var(--fs-2xl); font-weight: 650; color: var(--heading); margin: var(--s-1) 0; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price-card .price small { font-size: var(--fs-sm); color: var(--muted); font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.price-card h2, .price-card h3 { font-size: var(--fs-md); margin: 0 0 2px; }
.price-card ul { padding-left: 18px; margin: var(--s-2) 0 var(--s-5); color: var(--muted); font-size: var(--fs-sm); }
.price-card li + li { margin-top: 2px; }
.price-card .btn { margin-top: auto; text-align: center; }
.price-card .tag { align-self: flex-start; margin-bottom: var(--s-2); }
.cards3 > div > .sig { height: 100%; margin-bottom: 0; }
.cards3 + p { margin-top: var(--s-4); }
section[id], h2[id] { scroll-margin-top: 72px; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--teal-dark); background: var(--bg-tint); padding: 1px 8px; border-radius: 99px; }
details.faq { border-bottom: 1px solid var(--line); padding: var(--s-3) 0; }
details.faq summary { cursor: pointer; font-weight: 600; color: var(--heading); font-size: var(--fs-base); }
details.faq p { margin: var(--s-2) 0 0; color: var(--muted); }
.cta-band { background: var(--navy); color: #fff; border-radius: var(--radius); padding: var(--s-6) var(--s-8); display: flex; gap: var(--s-6); align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: var(--s-10); }
.cta-band h2 { color: #fff; margin: 0 0 var(--s-1); font-size: var(--fs-lg); }
.cta-band p { color: #d5e0ea; margin: 0; font-size: var(--fs-sm); }
.cta-band .btn { background: #fff; color: var(--navy); border-color: #fff; }
.cta-band .btn:hover { background: #e6eef5; }
.section .cta-band { margin-top: 0; }

/* ==========================================================================
   Signal cards and badges
   ========================================================================== */
.sig { background: #fff; border: 1px solid var(--line); border-left: 3px solid #8795a4; border-radius: var(--radius); padding: var(--s-3) var(--s-4); margin-bottom: var(--s-3); }
.sig.pre { border-left-color: var(--amber-line); }
.sig .meta-top { display: flex; flex-wrap: wrap; gap: var(--s-1) 6px; align-items: center; margin-bottom: 6px; }
.badge { display: inline-block; font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 1px 6px; border-radius: var(--radius-sm); background: var(--slate-bg); color: var(--slate-ink); }
.badge.pre { background: var(--amber-bg); color: var(--amber-ink); }
.badge.sector { background: var(--bg-tint); color: var(--teal-dark); text-transform: none; letter-spacing: 0; font-size: var(--fs-xs); }
.badge.demo { background: var(--red-bg); color: var(--red-ink); }
.sig h2, .sig h3 { font-size: var(--fs-md); margin: 2px 0; letter-spacing: -0.005em; }
.sig h2 a, .sig h3 a { color: var(--heading); text-decoration: none; }
.sig h2 a:hover, .sig h3 a:hover { text-decoration: underline; }
.sig .where { color: var(--muted); font-size: var(--fs-sm); }
.sig blockquote { margin: var(--s-3) 0; padding: var(--s-2) var(--s-3); background: var(--bg-soft); border-left: 2px solid #9fb3c8; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--serif); font-size: .875rem; line-height: 1.55; color: var(--ink); }
.sig .summary { margin: var(--s-3) 0; padding: var(--s-2) var(--s-3); background: var(--bg-soft); border-radius: var(--radius-sm); font-size: var(--fs-base); }
.sig .src { font-size: var(--fs-sm); display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-3); }
.sig .why { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; }
.sample-label { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 6px; }
.sample-wrap .sig { box-shadow: var(--shadow); }

/* dated list (pending) */
.dated { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--s-3); }
.datebox { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 2px; height: fit-content; background: #fff; line-height: 1.2; }
.datebox .m { font-size: 11px; text-transform: uppercase; font-weight: 600; color: var(--teal); letter-spacing: .05em; }
.datebox .d { font-size: var(--fs-xl); font-weight: 650; color: var(--heading); line-height: 1.15; font-variant-numeric: tabular-nums; }
.datebox .y { font-size: 11px; color: var(--muted); }
.datebox .in { font-size: 11px; color: var(--muted); margin-top: 2px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 var(--s-4); padding: 0; list-style: none; }
.tabs a { display: inline-block; padding: 3px 12px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--muted); font-size: var(--fs-sm); background: #fff; }
.tabs a:hover { color: var(--heading); border-color: var(--line-strong); }
.tabs a[aria-current="page"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: var(--s-4); color: var(--muted); background: var(--bg-soft); font-size: var(--fs-sm); }
.page-head { padding: var(--s-8) 0 var(--s-2); }
.page-head .lede { margin-bottom: var(--s-3); }
.crumbs { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-2); }
.crumbs a { color: var(--muted); }
.cols-2 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s-8); }
.cols-2 section + section { margin-top: var(--s-8); }
.cols-2 > section + section { margin-top: 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px var(--s-4); font-size: var(--fs-sm); margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }

/* tables */
table.data { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: var(--s-4); }
.table-scroll table.data { margin-bottom: 0; }
table.data caption { text-align: left; font-size: var(--fs-sm); color: var(--muted); padding: 0 0 var(--s-2); }
table.data th, table.data td { text-align: left; padding: 7px var(--s-3); border-bottom: 1px solid var(--line); vertical-align: top; }
table.data thead th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-soft); }
table.data tbody th { text-transform: none; letter-spacing: 0; font-size: inherit; background: none; color: var(--ink); font-weight: 600; }
table.data tbody th a { white-space: nowrap; }
table.data tbody th .small, table.data tbody th .muted { font-weight: 400; }
table.data tbody tr:hover { background: #fafbfc; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s-3); }
.table-scroll table.data tr:last-child td, .table-scroll table.data tr:last-child th { border-bottom: 0; }
.table-scroll table.data caption { padding: var(--s-2) var(--s-3); }
.attrib { font-size: var(--fs-sm); color: var(--muted); }
.side-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4); margin-bottom: var(--s-4); font-size: var(--fs-sm); }
.side-box h2 { font-size: var(--fs-base); margin-bottom: var(--s-2); }
.side-box p:last-child { margin-bottom: 0; }
.side-box .table-scroll { background: #fff; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.list-plain li:last-child { border-bottom: 0; }
.list-plain > li.dated { border-bottom: 0; padding: 0; }
.prose { max-width: var(--measure); }
.readable { max-width: 860px; }
.readable > section { margin-top: var(--s-8); }
.readable > section > h2 { margin-bottom: var(--s-3); }
.prose h2 { margin-top: var(--s-8); }
.prose h3 { margin-top: var(--s-5); }
.prose li { margin-bottom: var(--s-1); }

/* ==========================================================================
   App (dashboard)
   ========================================================================== */
.app-shell { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--s-8); padding-top: var(--s-6); }
.app-shell > * { min-width: 0; }
.app-shell h1 { font-size: var(--fs-xl); }
.app-nav { list-style: none; padding: 0; margin: 0; position: sticky; top: calc(var(--header-h) + var(--s-6)); align-self: start; font-size: var(--fs-sm); }
.app-nav a { display: block; padding: 6px 10px; border-radius: var(--radius); color: var(--muted); text-decoration: none; }
.app-nav a[aria-current="page"] { background: var(--bg-tint); color: var(--teal-dark); font-weight: 600; }
.app-nav a:hover { background: var(--bg-soft); color: var(--heading); }
.trial-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-2); align-items: center; background: var(--bg-tint); border: 1px solid #d3e6e4; border-radius: var(--radius); padding: var(--s-2) var(--s-3); margin-bottom: var(--s-4); font-size: var(--fs-sm); }
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3); align-items: flex-end; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3); margin-bottom: var(--s-4); }
.filters .field { margin: 0; flex: 1 1 118px; min-width: 0; }
.filters label { font-size: var(--fs-xs); color: var(--muted); }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-4) var(--s-5); margin-bottom: var(--s-4); background: #fff; }
.panel h2 { font-size: var(--fs-md); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.token { font-family: var(--mono); font-size: var(--fs-sm); background: var(--bg-soft); border: 1px solid var(--line); padding: var(--s-2) var(--s-3); border-radius: var(--radius); word-break: break-all; }
pre.code { background: #0f1b27; color: #e2e8f0; padding: var(--s-3); border-radius: var(--radius); overflow-x: auto; font-size: var(--fs-sm); }
.feed-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-1); }

/* ==========================================================================
   Content hub (state / county / topic pages)
   ========================================================================== */
.hub-stats { margin: var(--s-2) 0 var(--s-6); }
.hub-section { margin-top: var(--s-10); }
.hub-top > section { min-width: 0; }
.hub-updated { margin-top: -4px; }
.hub-filters[hidden] { display: none; }
.hub-filters .hub-count { margin: 0 0 var(--s-2); flex: 1 1 140px; align-self: center; }
.hub-table tr[hidden] { display: none; }
.hub-table td, .hub-table th { min-width: 0; }
.st { display: inline-block; font-size: 11px; line-height: 1.5; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 1px 6px 1px 5px; border-radius: var(--radius-sm); border-left: 3px solid; white-space: nowrap; }
.st-in_force, .st-adopted, .st-unknown { background: var(--red-bg); color: var(--red-ink); border-color: #b91c1c; }
.st-pending, .st-proposed { background: var(--amber-bg); color: var(--amber-ink); border-color: var(--amber-line); }
.st-ended { background: var(--blue-bg); color: var(--blue-ink); border-color: #1d6fb8; }
.st-none { background: var(--bg-soft); color: var(--muted); border-color: #b7c3cf; }
.hub-mapbox { border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfd; padding: var(--s-2); }
.hub-map { display: block; width: 100%; height: auto; max-height: 640px; }
.hub-map a:hover path, .hub-map a:focus path { opacity: .78; }
.hm-county { fill: #f1f4f7; stroke: #8d9cab; stroke-width: .7; }
.hub-map a:hover .hm-county { fill: #e2e8ee; opacity: 1; }
.hm-county.hm-inforce { fill: #b91c1c; fill-opacity: .28; }
.hm-county.hm-pending { fill: #d97706; fill-opacity: .3; }
.hm-county.hm-ended { fill: #1d6fb8; fill-opacity: .25; }
.hm-j { stroke: #fff; stroke-width: .5; }
.hm-inforce { fill: #b91c1c; }
.hm-pending { fill: #d97706; }
.hm-ended { fill: #1d6fb8; }
.hm-none { fill: #eef2f5; stroke: #9aa8b6; stroke-width: .6; }
.hm-place.hm-none { fill: #e1e7ed; }
.hm-outline { fill: none; stroke: var(--navy); stroke-width: 1.6; pointer-events: none; }
.hub-legend { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); padding: 0; margin: var(--s-2) 0; font-size: var(--fs-sm); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: 0; }
.sw-inforce { background: #b91c1c; } .sw-pending { background: #d97706; } .sw-ended { background: #1d6fb8; }
.sw-none { background: #eef2f5; border: 1px solid #9aa8b6; }
.sw-mn { background: #1d6fb8; } .sw-sr { background: #d97706; }
.hub-figure { margin: 0 0 var(--s-6); }
.hub-figure figcaption { margin-bottom: var(--s-1); font-size: var(--fs-sm); }
.hub-chart { display: block; width: 100%; height: auto; }
.c-grid { stroke: #e6eaef; stroke-width: 1; }
.c-base { stroke: #8d9cab; stroke-width: 1; }
.c-axis { fill: var(--muted); font: 11px var(--font); }
.c-mn { fill: #1d6fb8; } .c-sr { fill: #d97706; }
.c-hit { fill: transparent; }
.hub-chart g:hover .c-hit { fill: rgba(15, 42, 68, .06); }
.hub-siting ul { padding-left: var(--s-5); }
.hub-siting li { margin-bottom: var(--s-2); }
.hub-sources { padding-left: 22px; color: var(--muted); font-size: var(--fs-sm); }
.hub-sources li { margin-bottom: var(--s-1); word-break: break-word; }
.hub-county-list { max-height: 560px; overflow-y: auto; padding-right: 6px; }
.cnt { display: inline-block; font-size: 11px; font-weight: 600; padding: 0 6px; border-radius: 99px; margin-left: var(--s-1); white-space: nowrap; }
.cnt-a { background: var(--red-bg); color: var(--red-ink); }
.cnt-p { background: var(--amber-bg); color: var(--amber-ink); }
.hub-county-list li { break-inside: avoid; }
.hub-sources-list ul { margin: 2px 0 0 10px; }
.hub-sources-list ul li { border: 0; padding: 2px 0; word-break: break-word; }
.hub-topics { margin-bottom: var(--s-2); }
.hub-upcoming .sig blockquote { font-size: var(--fs-sm); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .hero .grid, .cols-2, .grid-2 { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .cards3, .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2) var(--s-6); }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
  .app-shell { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); padding-top: var(--s-4); }
  .app-nav { position: static; display: flex; gap: var(--s-1); overflow-x: auto; border-bottom: 1px solid var(--line); padding-bottom: var(--s-2); }
  .app-nav a { white-space: nowrap; }
}
@media (max-width: 600px) {
  :root { --fs-2xl: 1.375rem; --fs-3xl: 1.625rem; --fs-xl: 1.125rem; }
  .wrap { padding: 0 var(--s-4); }
  .site-header { position: static; }
  .site-header .wrap { gap: 0 var(--s-3); padding-top: var(--s-2); padding-bottom: 0; min-height: 0; }
  .brand { min-height: 36px; }
  .nav { margin-left: 0; width: 100%; gap: 0 var(--s-4); padding-bottom: var(--s-2); }
  .nav a, .linkbtn { padding: 6px 0; }
  .nav a.btn { padding: 4px 10px; margin-left: auto; }
  .section { padding-top: var(--s-10); }
  .lede { font-size: var(--fs-base); }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--s-1); margin-bottom: var(--s-3); }
  .tabs a { white-space: nowrap; }
  .hero { padding: var(--s-8) 0 var(--s-6); }
  .steps, .cards3, .pricing { grid-template-columns: minmax(0, 1fr); }
  .stats { gap: var(--s-2); }
  .stat { padding: var(--s-2) var(--s-3); }
  .page-head { padding-top: var(--s-6); }
  .dated { grid-template-columns: minmax(0, 1fr); gap: var(--s-1); }
  .datebox { display: flex; gap: 6px; align-items: baseline; text-align: left; border: 0; padding: 0; background: none; }
  .datebox .m, .datebox .y, .datebox .d { font-size: var(--fs-sm); }
  .sig { padding: var(--s-3); }
  .cta-band { padding: var(--s-5); }
  .site-footer { margin-top: var(--s-12); padding: var(--s-6) 0 var(--s-8); }
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
  .hub-table { font-size: var(--fs-sm); }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .demo-banner { display: none; } }
