:root {
  --ink: #111827;
  --muted: #596273;
  --canvas: #f8fafc;
  --paper: #ffffff;
  --line: #cbd5e1;
  --line-dark: #8995a8;
  --blue: #075fe4;
  --blue-dark: #0647a8;
  --blue-soft: #dceaff;
  --yellow: #ffe86a;
  --red: #ef6351;
  --green: #138a63;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
button, input, select { font: inherit; }

.site-header { height: 76px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; gap: 36px; border-bottom: 1px solid var(--line); background: rgba(248,250,252,.94); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.025em; }
.brand em { display: block; color: var(--muted); font-size: 11px; font-style: normal; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: white; font-size: 13px; letter-spacing: -.04em; }
nav { display: flex; gap: 28px; margin-left: auto; }
nav a { text-decoration: none; font-size: 14px; font-weight: 650; }
nav a:hover { color: var(--blue); }

.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: white; font-weight: 750; text-decoration: none; box-shadow: 0 3px 0 var(--blue-dark); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(1px); box-shadow: 0 2px 0 var(--blue-dark); }
.button:focus-visible, input:focus-visible, select:focus-visible, .show-more:focus-visible, a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.button-small { padding: 9px 17px; font-size: 14px; }

.hero { min-height: 690px; max-width: 1480px; margin: 0 auto; padding: clamp(64px, 8vw, 120px) clamp(20px, 5vw, 78px) 72px; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(42px, 7vw, 110px); align-items: center; }
.eyebrow, .micro { margin: 0 0 18px; color: var(--blue); font-size: 12px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 770px; margin: 0; font-family: var(--serif); font-size: clamp(48px, 6.2vw, 90px); line-height: .98; letter-spacing: -.055em; font-weight: 700; }
h1 mark { background: linear-gradient(transparent 63%, var(--yellow) 63%); color: inherit; padding: 0 .04em; }
.lede { max-width: 650px; margin: 30px 0 0; color: #3e4858; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.48; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.text-link { font-weight: 750; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.pulse { background: var(--ink); color: white; padding: clamp(22px, 3vw, 38px); border-radius: 2px; box-shadow: 16px 16px 0 var(--blue-soft); }
.pulse-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 28px; }
.pulse .micro { color: #8bb8ff; margin-bottom: 4px; }
.pulse h2 { margin: 0; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.04em; }
.live { display: flex; align-items: center; gap: 7px; color: #cdd5e3; font-size: 12px; font-weight: 700; }
.live i { width: 8px; height: 8px; background: #4ddeaf; border-radius: 50%; box-shadow: 0 0 0 5px rgba(77,222,175,.12); }
.dot-grid { display: grid; grid-template-columns: repeat(24, 1fr); gap: clamp(4px, .45vw, 7px); min-height: 185px; align-content: start; }
.dot-grid i { aspect-ratio: 1; border-radius: 50%; background: #3b4555; transition: transform .2s ease, background .2s ease; }
.dot-grid i:hover { transform: scale(1.8); position: relative; z-index: 2; }
.dot-grid i.adopted { background: #60a5fa; }
.dot-grid i.emerging { background: var(--yellow); }
.pulse-legend { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 24px; color: #cdd5e3; font-size: 11px; }
.dot { display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; vertical-align: 1px; background: #3b4555; }
.dot.adopted { background: #60a5fa; }.dot.emerging { background: var(--yellow); }
.pulse-note { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid #374151; color: #d8dee8; font-size: 14px; }
.pulse-note strong { color: white; font-size: 22px; }

.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--paper); }
.stat-band div { min-height: 146px; padding: 28px clamp(20px, 4vw, 58px); display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.stat-band div:last-child { border-right: 0; }
.stat-band strong { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -.04em; }
.stat-band span { margin-top: 8px; color: var(--muted); font-size: 13px; font-weight: 650; }

.explorer { max-width: 1360px; margin: 0 auto; padding: 110px clamp(20px, 5vw, 70px); display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.explorer .section-intro { position: sticky; top: 120px; }
.section-intro h2, .why h2, .method h2 { margin: 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.section-intro > p:last-child { max-width: 460px; color: var(--muted); font-size: 18px; }
.search-panel { min-width: 0; }
.search-panel > label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.search-row { display: grid; grid-template-columns: 1fr 220px; gap: 10px; }
.search-box { min-width: 0; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; background: white; border: 1px solid var(--line-dark); }
.search-box span { color: var(--blue); font-size: 28px; line-height: 1; transform: rotate(-15deg); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
select { min-width: 0; padding: 0 14px; border: 1px solid var(--line-dark); border-radius: 0; background: white; color: var(--ink); }
.results-meta { margin: 22px 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; }
.result-grid { display: grid; gap: 10px; }
.result-card { position: relative; padding: 20px 20px 18px 24px; background: white; border: 1px solid var(--line); border-left: 5px solid var(--line-dark); }
.result-card.formal { border-left-color: var(--blue); }.result-card.emerging { border-left-color: #d9b900; }
.result-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.result-card h3 { margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.result-card .location { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.3; }
.status-chip { flex: 0 0 auto; padding: 5px 8px; border: 1px solid currentColor; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.formal .status-chip { color: var(--blue); }.emerging .status-chip { color: #8a7300; background: #fff8c2; }
.summary { margin: 15px 0 0; color: #354052; font-size: 14px; line-height: 1.55; }
.signals { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.signals span { padding: 5px 8px; background: #eef2f7; color: #4b5565; font-size: 11px; font-weight: 700; }
.show-more { width: 100%; margin-top: 10px; padding: 13px; border: 1px solid var(--ink); background: transparent; font-weight: 800; cursor: pointer; }
.show-more:hover { background: var(--ink); color: white; }

.why { padding: 110px clamp(20px, 5vw, 78px); background: var(--ink); color: white; }
.why-head { max-width: 1120px; margin: 0 auto 64px; display: grid; grid-template-columns: .45fr 1.55fr; gap: 60px; }
.why .eyebrow { color: #8bb8ff; }
.why h2 { max-width: 900px; }
.finding-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #485263; }
.finding-grid article { padding: 30px 30px 10px 0; border-right: 1px solid #485263; }
.finding-grid article + article { padding-left: 30px; }
.finding-grid article:last-child { border-right: 0; }
.finding-no { color: var(--yellow); font-family: ui-monospace, monospace; font-size: 12px; }
.finding-grid h3 { margin: 50px 0 12px; font-size: 23px; }
.finding-grid p { margin: 0; color: #b7c0ce; }

.method { max-width: 1280px; margin: 0 auto; padding: 110px clamp(20px, 5vw, 70px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 140px); }
.method-copy { padding-top: 42px; color: var(--muted); font-size: 18px; }
.method-tags { margin-top: 34px; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.method-tags span { padding: 14px 16px; background: white; color: var(--ink); font-size: 13px; font-weight: 800; }
footer { min-height: 140px; padding: 34px clamp(20px, 4vw, 64px); display: flex; align-items: center; gap: 30px; border-top: 1px solid var(--line-dark); background: white; }
footer p { margin: 0 auto; color: var(--muted); }.footer-brand { font-size: 15px; }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .site-header .button { margin-left: auto; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .pulse { max-width: 700px; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .stat-band div:nth-child(2) { border-right: 0; }.stat-band div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .explorer { grid-template-columns: 1fr; }.explorer .section-intro { position: static; }
  .why-head { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 650px) {
  .site-header { height: 68px; }.button-small { display: none; }
  .hero { padding-top: 55px; }
  h1 { font-size: clamp(45px, 13vw, 66px); }
  .pulse { box-shadow: 8px 8px 0 var(--blue-soft); }
  .dot-grid { grid-template-columns: repeat(18, 1fr); }
  .stat-band div { min-height: 118px; padding: 22px 20px; }
  .search-row { grid-template-columns: 1fr; }.search-row select { height: 50px; }
  .result-top { display: block; }.status-chip { display: inline-block; margin-top: 12px; }
  .finding-grid { grid-template-columns: 1fr; }.finding-grid article, .finding-grid article + article { padding: 28px 0; border-right: 0; border-bottom: 1px solid #485263; }.finding-grid h3 { margin-top: 24px; }
  .method { grid-template-columns: 1fr; gap: 20px; }.method-copy { padding-top: 0; }
  footer { align-items: flex-start; flex-direction: column; }.footer-brand { display: none; } footer p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Homepage result cards as links (LEA / private entity pages) */
a.result-card { display: block; text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
/* hover color handled in home-steep.css */
a.result-card:hover { box-shadow: none; }
.chip-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.score-chip { color: var(--ink) !important; border-color: var(--line-dark) !important; letter-spacing: 0 !important; text-transform: none !important; font-weight: 700 !important; }
