:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #3f4d5b;
  --line: #d8dee6;
  --soft: #f4f7f9;
  --panel: #ffffff;
  --accent: #12823a;
  --accent-2: #20a957;
  --blue: #1d3c63;
  --good: #28a957;
  --shadow: 0 24px 70px rgba(19, 58, 42, 0.13);
  --section-gap: 54px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 12%, rgba(32, 169, 87, 0.12), transparent 24%),
    radial-gradient(circle at 87% 7%, rgba(32, 169, 87, 0.14), transparent 22%),
    linear-gradient(rgba(23, 33, 43, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 43, 0.045) 1px, transparent 1px),
    #fbfdfb;
  background-size: auto, auto, 18px 18px, 18px 18px, auto;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(18, 130, 58, 0.08), transparent 34%),
    radial-gradient(circle at 73% 18%, rgba(29, 60, 99, 0.08), transparent 26%);
  z-index: -1;
}

.site-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  width: min(1620px, calc(100% - 44px));
  margin: 0 auto;
  padding: 22px 0 4px;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--accent);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
}

.brand img {
  display: block;
  width: 178px;
  height: auto;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid rgba(18, 130, 58, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.breadcrumbs {
  width: min(1620px, calc(100% - 44px));
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}

.breadcrumbs a,
.content-band a:not(.button):not(.download-button),
.method-panel a:not(.button):not(.download-button),
.download-panel .lead-copy a,
.faq-item a,
.source-card a {
  color: #177C33;
  text-decoration-line: underline;
  text-decoration-color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.breadcrumbs a:visited,
.breadcrumbs a:active,
.breadcrumbs a:focus,
.content-band a:not(.button):not(.download-button):visited,
.content-band a:not(.button):not(.download-button):active,
.content-band a:not(.button):not(.download-button):focus,
.method-panel a:not(.button):not(.download-button):visited,
.method-panel a:not(.button):not(.download-button):active,
.method-panel a:not(.button):not(.download-button):focus,
.download-panel .lead-copy a:visited,
.download-panel .lead-copy a:active,
.download-panel .lead-copy a:focus,
.faq-item a:visited,
.faq-item a:active,
.faq-item a:focus,
.source-card a:visited,
.source-card a:active,
.source-card a:focus {
  color: #177C33;
  text-decoration-color: #000;
}

.breadcrumbs a:hover,
.content-band a:not(.button):not(.download-button):hover,
.method-panel a:not(.button):not(.download-button):hover,
.download-panel .lead-copy a:hover,
.faq-item a:hover,
.source-card a:hover {
  color: #126428;
  text-decoration-color: #000;
}

.breadcrumbs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs span::before {
  content: "/";
  color: #9aa8a0;
}


h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(42px, 4vw, 62px);
  line-height: 1.12;
  max-width: 900px;
  color: var(--accent);
}

h2 {
  font-size: 20px;
  margin-bottom: 14px;
}

main {
  width: min(1620px, calc(100% - 44px));
  margin: 34px auto 72px;
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.selector {
  display: grid;
  gap: 6px;
  min-width: 240px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.compare-selector {
  display: grid;
  gap: 6px;
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  max-width: 260px;
  min-width: 240px;
}

.compare-tools {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

select {
  appearance: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  min-height: 42px;
  padding: 0 40px 0 12px;
  border-radius: 6px;
  font: inherit;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 18px, calc(100% - 12px) 18px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.hero {
  display: grid;
  grid-template-columns: 1fr minmax(460px, 0.9fr);
  column-gap: clamp(32px, 5vw, 74px);
  row-gap: 0;
  align-items: center;
  min-height: 330px;
  margin-bottom: 34px;
  position: relative;
  padding: 44px clamp(20px, 3vw, 46px);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2)),
    linear-gradient(135deg, rgba(18, 130, 58, 0.08), rgba(29, 60, 99, 0.07));
}

.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -42%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(18, 130, 58, 0.14);
  background: radial-gradient(circle, rgba(32, 169, 87, 0.12), transparent 68%);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-left: clamp(0px, 2vw, 20px);
}

.hero-copy p {
  max-width: 780px;
  margin: 24px 0 0;
  color: #26343f;
  font-size: 18px;
  line-height: 1.72;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero-actions a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.hero-actions .secondary-action {
  background: #fff;
  color: var(--accent);
  border: 1px solid rgba(18, 130, 58, 0.35);
}

.hero-card {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 28px;
  align-items: center;
  padding: 16px 26px 16px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(18, 48, 71, 0.22);
  border-radius: 18px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.home-illustration {
  min-height: 235px;
  border-radius: 6px;
  background: #cfe9f8;
  display: grid;
  place-items: end center;
  overflow: hidden;
}

.home-illustration svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-metric span {
  display: block;
  color: #262a2d;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 800;
  margin-bottom: 22px;
}

.hero-metric strong {
  display: block;
  color: var(--good);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
  font-weight: 800;
}

.hero-revenue-note {
  grid-column: 2;
  margin: -22px 0 0;
  max-width: 720px;
  color: #50606d;
  font-size: 13.5px;
  line-height: 1.55;
  font-weight: 600;
  text-wrap: pretty;
}

.comparison-strip,
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: var(--section-gap);
}

.analysis-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.metric {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 16px;
  align-items: start;
  padding: 0 22px 16px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.metric:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 0;
  width: 1px;
  height: calc(100% - 12px);
  background: rgba(23, 33, 43, 0.13);
}

.metric::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(32, 169, 87, 0.2));
}

.comparison-strip {
  align-items: start;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(23, 33, 43, 0.1);
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
}

.county-compare-section {
  margin-top: calc(var(--section-gap) * -0.45);
}

.comparison-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: start;
  margin-bottom: 22px;
}

.comparison-narrative {
  margin-bottom: 0;
  max-width: 920px;
}

.comparison-intro-grid .compare-tools {
  align-self: start;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-content: stretch;
}

.comparison-intro-grid .compare-selector {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 12px 14px;
  border: 1px solid rgba(216, 222, 230, 0.86);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 247, 0.86));
  box-shadow: 0 10px 22px rgba(27, 44, 61, 0.06);
}

.comparison-intro-grid .compare-selector span {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.comparison-intro-grid .compare-selector select {
  min-height: 38px;
}

.county-compare-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.85fr) minmax(620px, 1.15fr);
  gap: 22px;
  align-items: start;
}

.compare-chart {
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(216, 222, 230, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(rgba(23, 33, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 43, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.78);
  background-size: 18px 18px;
}

.compare-chart-row {
  display: grid;
  gap: 8px;
}

.compare-chart-row > span {
  color: #344251;
  font-weight: 700;
  font-size: 13px;
}

.compare-pair {
  display: grid;
  gap: 5px;
}

.compare-bar-line {
  display: grid;
  grid-template-columns: 84px 1fr 82px;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.compare-bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(216, 222, 230, 0.62);
}

.compare-bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.compare-bar-line.compare-other .compare-bar-track span {
  background: #8da19b;
}

.compare-bar-line strong {
  color: #344251;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.metric .metric-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(18, 130, 58, 0.12), rgba(32, 169, 87, 0.22));
  color: var(--accent);
  font-weight: 800;
  font-size: 24px;
  box-shadow: inset 0 0 0 1px rgba(18, 130, 58, 0.14);
}

.metric .metric-content {
  min-width: 0;
}

.metric strong {
  font-size: clamp(22px, 2vw, 30px);
  color: #22313d;
}

.metric small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.lead-copy {
  margin-bottom: 0;
  color: #273743;
  font-weight: 500;
  line-height: 1.62;
}

.download-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.content-band {
  position: relative;
  padding: 34px clamp(18px, 3vw, 34px) var(--section-gap);
  margin-bottom: var(--section-gap);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(244, 251, 246, 0.42));
  border: 0;
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
  border-radius: 22px;
  box-shadow: none;
}

.content-band:nth-of-type(even) {
  background: linear-gradient(135deg, rgba(247, 250, 248, 0.65), rgba(255, 255, 255, 0.3));
}

.content-band::before,
.analysis-grid article::before {
  content: "";
  display: block;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(32, 169, 87, 0.12));
  margin-bottom: 20px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.section-subcopy {
  max-width: 760px;
  margin: 8px 0 0;
  color: #2f3d49;
  font-size: 15px;
  line-height: 1.62;
}

.section-narrative {
  max-width: 980px;
  margin: 14px 0 22px;
  padding: 16px 18px;
  color: #21303a;
  font-size: 1rem;
  line-height: 1.78;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.66);
  border-left: 4px solid rgba(18, 130, 58, 0.72);
  border-radius: 0 12px 12px 0;
}

.section-narrative[hidden] {
  display: none;
}

.evidence-tools {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.fact-filter {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.fact-filter select {
  width: 210px;
  min-height: 38px;
  border: 1px solid rgba(216, 222, 230, 0.95);
  border-radius: 999px;
  padding: 0 36px 0 14px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 16px, calc(100% - 12px) 16px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.facts-toggle {
  min-height: 38px;
  border: 1px solid rgba(18, 130, 58, 0.24);
  border-radius: 999px;
  padding: 0 18px;
  background: rgba(18, 130, 58, 0.1);
  color: var(--accent);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.facts-toggle:hover:not(:disabled) {
  transform: translateY(-1px);
  background: rgba(18, 130, 58, 0.16);
}

.facts-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.facts-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.facts-count-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.facts-scroll {
  position: relative;
  max-height: 520px;
  overflow-y: auto;
  padding: 4px 10px 24px 4px;
  margin-right: -10px;
  border-radius: 18px;
  scroll-behavior: smooth;
  scrollbar-color: rgba(18, 130, 58, 0.45) rgba(216, 222, 230, 0.35);
  scrollbar-width: thin;
}

.facts-scroll::after {
  content: "";
  position: sticky;
  display: block;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 72px;
  margin-top: -72px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(250, 252, 251, 0.96));
}

.facts-scroll.is-expanded {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  margin-right: 0;
}

.facts-scroll.is-expanded::after,
.facts-scroll.is-filtered::after {
  display: none;
}

.facts-scroll::-webkit-scrollbar {
  width: 10px;
}

.facts-scroll::-webkit-scrollbar-track {
  background: rgba(216, 222, 230, 0.35);
  border-radius: 999px;
}

.facts-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(18, 130, 58, 0.62), rgba(59, 130, 196, 0.58));
  border: 2px solid rgba(250, 252, 251, 0.95);
  border-radius: 999px;
}

.table-wrap {
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 222, 230, 0.7);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

caption {
  text-align: left;
  color: var(--muted);
  padding: 14px 16px 0;
  margin-bottom: 2px;
  font-size: 13px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding: 15px 16px;
  vertical-align: middle;
}

th {
  background: rgba(244, 247, 249, 0.72);
  font-size: 13px;
  color: #344251;
}

tbody tr {
  transition: background 160ms ease, transform 160ms ease;
}

tbody tr:hover {
  background: rgba(32, 169, 87, 0.075);
}

.metric-badge {
  display: block;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  line-height: 1.3;
}

.fact-category {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 7px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(29, 60, 99, 0.08);
  color: #1d3c63;
  font-size: 11px;
  font-weight: 850;
}

.facts-board {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 16px;
}

.fact-card {
  position: relative;
  grid-column: span 3;
  min-height: 146px;
  padding: 18px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 169, 87, 0.08), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.84));
  border: 1px solid rgba(216, 222, 230, 0.74);
  box-shadow: 0 12px 30px rgba(30, 53, 44, 0.055);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.fact-hidden {
  display: none;
}

.fact-card-hero {
  grid-column: span 4;
  min-height: 190px;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 169, 87, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 249, 244, 0.9));
}

.fact-card-highlight {
  grid-column: span 3;
  min-height: 158px;
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 196, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 252, 0.9));
}

.fact-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #20a957, #3b82c4);
}

.fact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(32, 169, 87, 0.32);
  box-shadow: 0 20px 46px rgba(19, 58, 42, 0.11);
}

.fact-card-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.fact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #123d2b, #1f7a49);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 8px 18px rgba(18, 61, 43, 0.16);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.fact-value {
  display: block;
  color: #20313d;
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 850;
  line-height: 1.08;
}

.fact-card-hero .fact-value {
  font-size: clamp(30px, 3vw, 46px);
}

.fact-meta {
  display: none;
}

.fact-meta > div {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(246, 249, 247, 0.82);
}

.fact-meta span {
  display: none;
}

.fact-meta strong {
  display: block;
  margin-top: 0;
  color: #23313d;
  font-size: 13.5px;
  line-height: 1.35;
}

.value-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(29, 60, 99, 0.08);
  color: #1d3c63;
  font-weight: 800;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(32, 169, 87, 0.12);
  color: #106c32;
  font-weight: 800;
}

.compare-value-pill,
.difference-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0;
  border-radius: 0;
  font-weight: 700;
  background: transparent;
}

.compare-value-pill.primary {
  color: #106c32;
}

.compare-value-pill.secondary {
  color: #1d3c63;
}

.difference-pill.higher {
  color: #106c32;
}

.difference-pill.lower {
  color: #6d4a25;
}

.difference-pill.same {
  color: #4a5561;
}

.compare-hidden {
  display: none;
}

td:nth-child(2),
td:nth-child(3),
td:nth-child(4) {
  font-variant-numeric: tabular-nums;
}

.analysis-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px clamp(18px, 2.5vw, 30px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(244, 251, 246, 0.32));
  border: 0;
  border-radius: 22px;
  box-shadow: none;
  min-height: 520px;
}

.analysis-grid article > h2 {
  min-height: 68px;
}

.unit-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 10px 0 18px;
}

.unit-card {
  position: relative;
  min-height: 132px;
  border: 1px solid rgba(216, 222, 230, 0.78);
  border-radius: 16px;
  padding: 18px 18px 18px 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 196, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.82));
  box-shadow: 0 14px 32px rgba(30, 53, 44, 0.06);
  overflow: hidden;
}

.unit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #3b82c4, #20a957);
}

.unit-card span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(29, 60, 99, 0.08);
  color: #1d3c63;
  font-size: 12px;
  font-weight: 850;
}

.unit-card strong {
  display: block;
  margin-top: 16px;
  color: #20313d;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.unit-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.unit-scroll {
  max-height: 430px;
  overflow: auto;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(249, 252, 250, 0.9));
  box-shadow: 0 16px 36px rgba(30, 53, 44, 0.06);
  scrollbar-color: rgba(59, 130, 196, 0.5) rgba(216, 222, 230, 0.35);
  scrollbar-width: thin;
}

.unit-scroll table {
  min-width: 820px;
}

.unit-scroll caption {
  position: sticky;
  left: 0;
  padding: 16px 18px 10px;
  color: #4a5561;
  font-weight: 750;
}

.unit-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(244, 249, 247, 0.98);
  box-shadow: 0 1px 0 rgba(216, 222, 230, 0.82);
}

.unit-scroll tbody tr {
  background: rgba(255, 255, 255, 0.46);
}

.unit-scroll tbody tr:nth-child(even) {
  background: rgba(246, 250, 248, 0.66);
}

.unit-scroll tbody tr:hover {
  background: rgba(32, 169, 87, 0.09);
}

.unit-scroll td:first-child {
  color: #1d3c63;
  font-weight: 850;
}

.unit-scroll td:nth-child(2) {
  color: #20313d;
  font-weight: 750;
}

.unit-scroll::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.unit-scroll::-webkit-scrollbar-track {
  background: rgba(216, 222, 230, 0.35);
  border-radius: 999px;
}

.unit-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(59, 130, 196, 0.64), rgba(32, 169, 87, 0.58));
  border: 2px solid rgba(250, 252, 251, 0.95);
  border-radius: 999px;
}

.trend-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  align-items: stretch;
  flex: 1;
}

.chart {
  min-height: 300px;
  height: 100%;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 18px 30px;
  border: 1px solid rgba(216, 222, 230, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(rgba(23, 33, 43, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 43, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.78);
  background-size: 18px 18px;
  margin-bottom: 16px;
}

.trend-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 0;
  align-content: stretch;
}

.trend-summary-item {
  display: grid;
  align-content: center;
  min-height: 70px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(216, 222, 230, 0.72);
}

.trend-summary-item span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.trend-summary-item strong {
  display: block;
  margin-top: 6px;
  color: #20313d;
  font-size: 18px;
}

.bar-column {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 44px;
  height: 100%;
  position: relative;
  cursor: default;
}

.bar-fill {
  align-self: end;
  width: 100%;
  min-height: 8px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  border-radius: 5px 5px 0 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.bar-column:hover .bar-fill {
  transform: translateY(-4px);
  filter: saturate(1.18);
}

.bar-column.is-end .bar-fill {
  background: linear-gradient(180deg, #35c46b, #0f7c38);
  box-shadow: 0 0 0 3px rgba(32, 169, 87, 0.12);
}

.bar-label {
  margin-top: 8px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.bar-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 20px);
  transform: translateX(-50%) translateY(6px);
  min-width: 112px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #1f2d38;
  color: #fff;
  font-size: 12px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 3;
}

.bar-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1f2d38;
}

.bar-column:hover .bar-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.bars {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(216, 222, 230, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
}

.rate-row {
  display: grid;
  grid-template-columns: 120px 1fr 72px;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}

.track {
  height: 12px;
  border-radius: 4px;
  background: var(--soft);
  overflow: hidden;
}

.track span {
  display: block;
  height: 100%;
  background: var(--accent);
}

.benchmark-bars {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(216, 222, 230, 0.72);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 251, 248, 0.76));
  margin: 4px 0 18px;
}

.benchmark-row {
  display: grid;
  grid-template-columns: 160px 1fr 104px;
  gap: 14px;
  align-items: center;
  font-size: 14px;
}

.benchmark-row strong {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.benchmark-track {
  height: 16px;
  background: #edf3ef;
  border-radius: 5px;
  overflow: hidden;
}

.benchmark-track span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1f7b48, #2db760);
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: 300px;
}

.snapshot-narrative {
  margin: 18px 0 0;
  border-top: 0;
}

.data-snapshot-narrative {
  margin: 18px 0 22px;
}

.signal-hero,
.signal-card,
.growth-axis {
  border: 1px solid rgba(216, 222, 230, 0.74);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 169, 87, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(30, 53, 44, 0.055);
}

.signal-hero {
  padding: 20px;
}

.signal-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.signal-card {
  min-height: 142px;
  padding: 16px;
}

.signal-hero span,
.signal-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.signal-hero strong,
.signal-card strong {
  display: block;
  margin-top: 10px;
  color: var(--accent);
  font-size: clamp(26px, 2.3vw, 36px);
  line-height: 1;
}

.signal-hero strong {
  font-size: clamp(34px, 4vw, 58px);
}

.signal-hero p,
.signal-card p {
  margin: 10px 0 0;
  color: #34414c;
  font-size: 13.5px;
  line-height: 1.55;
}

.signal-meter {
  height: 12px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(216, 222, 230, 0.72);
}

.signal-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f7b48, #35c46b);
}

.growth-axis {
  padding: 16px;
}

.growth-axis-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.growth-axis-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.growth-axis-head strong {
  color: #20313d;
  font-size: 20px;
}

.growth-track {
  position: relative;
  height: 10px;
  margin: 16px 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c9d4dd, #edf3ef 50%, #20a957);
}

.growth-marker {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: #123d2b;
  box-shadow: 0 6px 14px rgba(18, 61, 43, 0.24);
  transform: translate(-50%, -50%);
}

.growth-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.metric-tabs-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 196, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.68);
}

.metric-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.metric-tabs button {
  min-height: 38px;
  border: 1px solid rgba(216, 222, 230, 0.9);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #344251;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.metric-tabs button:hover,
.metric-tabs button.active {
  border-color: rgba(18, 130, 58, 0.28);
  background: rgba(18, 130, 58, 0.1);
  color: var(--accent);
  transform: translateY(-1px);
}

.metric-tab-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin-top: 20px;
}

.metric-tab-copy,
.metric-tab-points {
  border: 1px solid rgba(216, 222, 230, 0.76);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 169, 87, 0.09), transparent 34%),
    rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(30, 53, 44, 0.055);
}

.metric-tab-copy {
  padding: 22px;
}

.metric-tab-copy span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(18, 130, 58, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.metric-tab-copy p {
  margin: 18px 0 0;
  color: #20313d;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 800;
  line-height: 1.35;
}

.metric-tab-points {
  display: grid;
  gap: 0;
  padding: 8px 22px;
}

.metric-tab-points div {
  position: relative;
  padding: 16px 0 16px 30px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
}

.metric-tab-points div:last-child {
  border-bottom: 0;
}

.metric-tab-points div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #ffffff 0 30%, transparent 31%),
    linear-gradient(135deg, #20a957, #3b82c4);
}

.metric-tab-points p {
  margin: 0;
  color: #344251;
  line-height: 1.55;
}

.method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #344251;
  line-height: 1.55;
}

.method-download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  margin: 28px 0;
}

.method-panel,
.download-panel {
  position: relative;
  min-height: 330px;
  padding: 30px clamp(20px, 2.6vw, 34px);
  border: 1px solid rgba(216, 222, 230, 0.74);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(32, 169, 87, 0.08), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 252, 0.84));
  box-shadow: 0 16px 38px rgba(30, 53, 44, 0.06);
  overflow: hidden;
}

.method-panel::before,
.download-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #20a957, #3b82c4);
}

.method-panel h2,
.download-panel h2 {
  margin-bottom: 18px;
}

.method-list li {
  position: relative;
  padding: 13px 0 13px 34px;
  border-bottom: 1px solid rgba(23, 33, 43, 0.1);
}

.method-list li:last-child {
  border-bottom: 0;
}

.method-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #ffffff 0 30%, transparent 31%),
    linear-gradient(135deg, #20a957, #3b82c4);
  box-shadow: 0 6px 14px rgba(32, 169, 87, 0.16);
}

.download-panel {
  display: flex;
  flex-direction: column;
}

.download-panel .lead-copy {
  margin: 0 0 22px;
  color: #273743;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.62;
}

.download-panel .download-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.download-panel .download-actions a {
  min-height: 48px;
  justify-content: center;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(18, 130, 58, 0.12);
}

.faq-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(59, 130, 196, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.66);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  border: 1px solid rgba(216, 222, 230, 0.76);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(30, 53, 44, 0.05);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 16px 18px;
  color: #20313d;
  font-weight: 850;
  line-height: 1.35;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: #4a5561;
  line-height: 1.55;
}

.rankings-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: stretch;
  margin: 46px 0 34px;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 8%, rgba(32, 169, 87, 0.16), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 252, 0.72));
  box-shadow: var(--shadow);
}

.rankings-hero p {
  max-width: 760px;
  color: #3e4b57;
  font-size: 18px;
  line-height: 1.6;
}

.rankings-summary {
  display: grid;
  align-content: center;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(216, 222, 230, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
}

.rankings-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.rankings-summary strong {
  margin-top: 10px;
  color: var(--accent);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1;
}

.rankings-summary p {
  margin: 14px 0 0;
  font-size: 15px;
}

.ranking-filter {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.ranking-filter input {
  min-height: 40px;
  width: 260px;
  border: 1px solid rgba(216, 222, 230, 0.95);
  border-radius: 999px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font: inherit;
}

.rankings-table-wrap {
  max-height: 680px;
  overflow: auto;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(30, 53, 44, 0.06);
}

.rankings-table-wrap table {
  min-width: 1080px;
}

.rankings-table-wrap thead th {
  position: sticky;
  top: 0;
  z-index: 2;
}

.rankings-table-wrap th button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.rankings-table-wrap tbody tr:nth-child(even) {
  background: rgba(246, 250, 248, 0.68);
}

.rankings-table-wrap td a {
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

.sources {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.source-note {
  max-width: 980px;
  margin: 0 0 18px;
  color: #2f3d49;
  font-size: 15px;
  line-height: 1.62;
}

.source-card {
  border: 1px solid rgba(216, 222, 230, 0.76);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(30, 53, 44, 0.05);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.section-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
}

.source-card a {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 850;
  text-decoration: none;
}

.source-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.source-card strong {
  display: block;
  margin-top: 7px;
  color: #20313d;
  font-size: 15px;
  line-height: 1.35;
}

.source-card code {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 1080px) {
  .facts-board {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .fact-card,
  .fact-card-highlight {
    grid-column: span 3;
  }

  .fact-card-hero {
    grid-column: span 2;
  }

  .method-download-grid {
    grid-template-columns: 1fr;
  }

  .rankings-hero,
  .faq-grid,
  .metric-tab-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar,
  .site-nav,
  .hero,
  .comparison-strip,
  .summary-grid,
  .analysis-grid,
  .section-head,
  .comparison-intro-grid,
  .sources,
  .unit-summary {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar {
    align-items: stretch;
  }

  .nav-links {
    margin-left: 0;
  }

  .brand {
    align-items: flex-start;
    gap: 10px;
  }

  .brand img {
    width: 150px;
  }


  h1 {
    font-size: 38px;
  }

  .hero-card {
    grid-template-columns: 1fr;
  }

  .hero-revenue-note {
    grid-column: 1;
    margin-top: 0;
  }

  .home-illustration {
    min-height: 190px;
  }

  .benchmark-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .benchmark-row strong {
    text-align: left;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal-mini-grid {
    grid-template-columns: 1fr;
  }

  .county-compare-layout {
    grid-template-columns: 1fr;
  }

  .comparison-intro-grid .compare-tools {
    grid-template-columns: 1fr;
  }

  .compare-bar-line {
    grid-template-columns: 74px 1fr 76px;
  }

  .trend-summary {
    grid-template-columns: 1fr;
  }

  .trend-layout {
    grid-template-columns: 1fr;
  }

  .analysis-grid article {
    min-height: auto;
  }

  .analysis-grid article > h2 {
    min-height: 0;
  }

  .evidence-tools {
    justify-content: stretch;
  }

  .fact-filter,
  .fact-filter select,
  .facts-toggle {
    width: 100%;
  }

  .facts-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ranking-filter,
  .ranking-filter input {
    width: 100%;
  }

  .metric-tabs {
    justify-content: stretch;
  }

  .metric-tabs button {
    flex: 1 1 160px;
  }

  .facts-scroll {
    max-height: 460px;
  }

  .facts-scroll.is-expanded {
    max-height: none;
  }

  .unit-scroll {
    max-height: 360px;
  }

  .facts-board {
    grid-template-columns: 1fr;
  }

  .fact-card,
  .fact-card-hero,
  .fact-card-highlight {
    grid-column: 1;
    min-height: 0;
  }

  .compare-tools {
    justify-content: stretch;
  }

  .compare-selector {
    min-width: 100%;
  }

  .comparison-strip {
    gap: 20px;
  }

  .metric {
    padding: 0 0 18px;
    border-bottom: 1px solid rgba(23, 33, 43, 0.1);
  }

  .metric:not(:last-child)::after {
    display: none;
  }
}

.content-band a:not(.button):not(.download-button),
.method-panel a:not(.button):not(.download-button),
.download-panel .lead-copy a,
.faq-item a,
.source-card a,
.rankings-table-wrap td a,
.breadcrumbs a,
.content-band a:not(.button):not(.download-button):visited,
.method-panel a:not(.button):not(.download-button):visited,
.download-panel .lead-copy a:visited,
.faq-item a:visited,
.source-card a:visited,
.rankings-table-wrap td a:visited,
.breadcrumbs a:visited,
.content-band a:not(.button):not(.download-button):active,
.method-panel a:not(.button):not(.download-button):active,
.download-panel .lead-copy a:active,
.faq-item a:active,
.source-card a:active,
.rankings-table-wrap td a:active,
.breadcrumbs a:active {
  color: #177C33;
  text-decoration-line: underline;
  text-decoration-color: #000;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
