:root {
  --green-950: #06251a;
  --green-900: #0f3d2e;
  --green-800: #115e3a;
  --green-700: #14532d;
  --green-600: #16a34a;
  --green-500: #22c55e;
  --green-400: #4ade80;
  --green-300: #86efac;
  --green-200: #bbf7d0;
  --green-100: #dcfce7;
  --green-50:  #f0fdf4;
  --mint:      #d1fae5;
  --ink: #0b1f17;
  --muted: #5b6b65;
  --border: rgba(15, 61, 46, 0.10);
  --border-strong: rgba(15, 61, 46, 0.18);
  --white: #ffffff;
  --bg: #f4faf6;
  --glass: rgba(255, 255, 255, 0.65);
  --shadow-sm: 0 1px 2px rgba(15,61,46,.06);
  --shadow-md: 0 4px 14px rgba(15,61,46,.08), 0 2px 4px rgba(15,61,46,.04);
  --shadow-lg: 0 20px 50px -12px rgba(15,61,46,.18), 0 8px 16px -8px rgba(15,61,46,.10);
  --shadow-glow: 0 0 0 1px rgba(34,197,94,.15), 0 18px 50px -12px rgba(34,197,94,.35);
  --grad: linear-gradient(135deg, #22c55e 0%, #16a34a 50%, #0f3d2e 100%);
  --grad-soft: linear-gradient(135deg, #dcfce7 0%, #ffffff 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ===== Animated mesh background (site-wide, fixed) ===== */
.bg-mesh {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(at 18% 22%, rgba(134,239,172,.55) 0, transparent 45%),
    radial-gradient(at 82% 14%, rgba(74,222,128,.40) 0, transparent 45%),
    radial-gradient(at 70% 85%, rgba(16,163,74,.35)  0, transparent 50%),
    radial-gradient(at 12% 90%, rgba(187,247,208,.55) 0, transparent 50%),
    #f4faf6;
  filter: saturate(1.05);
  animation: meshShift 22s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0%   { background-position: 0% 0%, 100% 0%, 70% 85%, 12% 90%, 0 0; }
  100% { background-position: 8% 6%, 92% 8%, 60% 92%, 18% 80%, 0 0; }
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background-image:
    linear-gradient(rgba(15,61,46,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,61,46,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
}

a { color: var(--green-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-600); }

h1, h2, h3 { color: var(--green-900); margin: 0 0 .5rem; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-top: 2.5rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }

.gradient-text {
  background: linear-gradient(120deg, #16a34a, #0f3d2e 60%, #22c55e);
  background-size: 200% 200%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ===== Nav (glass) ===== */
.nav {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; gap: 1.5rem; height: 68px;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800; color: var(--green-900); font-size: 1.15rem; letter-spacing: -0.01em;
}
.brand-dot {
  width: 30px; height: 30px; display: inline-block;
  filter: drop-shadow(0 4px 8px rgba(15,61,46,.22));
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.brand:hover .brand-dot { transform: rotate(-12deg) scale(1.1); }
.nav-links { display: flex; gap: .25rem; margin-left: auto; align-items: center; }
.nav-links a {
  color: var(--ink); font-weight: 500; font-size: .92rem;
  padding: .5rem .85rem; border-radius: 8px;
  position: relative; transition: color .2s, background .2s;
}
.nav-links a:hover { background: var(--green-50); color: var(--green-700); }
.nav-links a.active { color: var(--green-700); background: var(--green-100); }

@media (max-width: 720px) {
  .nav-inner { gap: .5rem; padding: 0 .75rem; height: auto; min-height: 60px; flex-wrap: wrap; }
  .brand { font-size: 1rem; }
  .brand-dot { width: 26px; height: 26px; }
  .nav-links { gap: .1rem; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .nav-links a { padding: .35rem .55rem; font-size: .8rem; }
}
@media (max-width: 420px) {
  .nav-links a { padding: .3rem .4rem; font-size: .75rem; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--grad); color: var(--white);
  padding: .75rem 1.4rem; border-radius: 10px; font-weight: 600;
  border: none; cursor: pointer; font-size: .95rem;
  position: relative; overflow: hidden;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
  box-shadow: 0 6px 20px -6px rgba(22,163,74,.55), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -6px rgba(22,163,74,.55); color: #fff; text-decoration: none; }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: rgba(255,255,255,.85); color: var(--green-700);
  border: 1px solid var(--green-300);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover { background: var(--white); border-color: var(--green-500); color: var(--green-700); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ===== Layout ===== */
.container { max-width: 1240px; margin: 0 auto; padding: 1.5rem 1.25rem; position: relative; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding-bottom: 1rem; }
.hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 5rem 1.25rem 4rem;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center;
  position: relative; z-index: 2;
}
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 36rem; margin-top: 1rem; }
.hero-cta { margin-top: 1.75rem; display: flex; gap: .75rem; flex-wrap: wrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  border: 1px solid var(--green-200);
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--green-700);
  margin-bottom: 1.1rem;
}
.eyebrow .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-500);
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Hero floating data chips */
.hero-art { position: relative; height: 460px; }
.chip {
  position: absolute; background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid var(--border);
  padding: .65rem .9rem; border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: .8rem; font-weight: 600; color: var(--green-900);
  display: flex; align-items: center; gap: .55rem;
  animation: floatChip 7s ease-in-out infinite;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.chip small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.chip-1 { top: 8%;  left: 6%;  animation-delay: 0s; }
.chip-2 { top: 28%; right: 4%; animation-delay: -1.5s; }
.chip-3 { top: 56%; left: 2%;  animation-delay: -3s; }
.chip-4 { top: 78%; right: 12%; animation-delay: -4.5s; }
.chip-5 { top: 44%; left: 38%; animation-delay: -2s; }
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* Center "core" disc */
.hero-core {
  position: absolute; top: 50%; left: 50%;
  width: 220px; height: 220px; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, #22c55e, #4ade80, #16a34a, #0f3d2e, #22c55e);
  filter: blur(2px);
  opacity: .9;
  animation: spinCore 18s linear infinite;
}
.hero-core::after {
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  display: grid; place-items: center;
}
.hero-core-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-weight: 800; color: var(--green-900); font-size: .95rem; text-align: center; z-index: 2;
}
.hero-core-label b { display: block; font-size: 1.6rem; }
@keyframes spinCore { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* SVG wave divider */
.hero-wave { display: block; width: 100%; height: 90px; position: relative; z-index: 1; margin-top: -1px; }
.hero-wave path { animation: wave 10s ease-in-out infinite; transform-origin: center; }
@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-40px); }
}

/* Reveal-on-load */
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s cubic-bezier(.2,.8,.2,1) forwards; }
.fade-up.d1 { animation-delay: .1s; }
.fade-up.d2 { animation-delay: .25s; }
.fade-up.d3 { animation-delay: .4s; }
.fade-up.d4 { animation-delay: .55s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Marquee of munis ===== */
.marquee {
  overflow: hidden; padding: 1rem 0; margin: 1.5rem 0 0;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; gap: 1rem; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.7); backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: .55rem 1rem; border-radius: 999px;
  font-size: .85rem; color: var(--green-900); font-weight: 600;
  white-space: nowrap;
}
.marquee-item .pin { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===== Thanks page ===== */
.thanks-card {
  max-width: 720px; margin: 0 auto; padding: 2.5rem 1.5rem 2rem;
  background: rgba(255,255,255,.78); backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid var(--border); border-radius: 24px;
  box-shadow: 0 20px 50px rgba(22,163,74,.12);
}
.thanks-check {
  width: 88px; height: 88px; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(220,252,231,.85); border-radius: 50%;
  animation: pop .55s cubic-bezier(.2,.9,.3,1.4) both;
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ===== Top counties grid ===== */
.muni-grid-wrap { max-width: 1240px; margin: 1.75rem auto 0; padding: 0 1.25rem; }
.muni-grid-label {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700); font-weight: 700; margin-bottom: .65rem; text-align: center;
}
.muni-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: .65rem;
}
@media (max-width: 900px) { .muni-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .muni-grid { grid-template-columns: repeat(2, 1fr); } }
.muni-tile {
  background: rgba(255,255,255,.75); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 12px;
  padding: .7rem .85rem;
  display: flex; flex-direction: column; gap: .15rem;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.muni-tile:hover { transform: translateY(-3px); border-color: var(--green-400); box-shadow: 0 8px 24px rgba(22,163,74,.12); }
.muni-tile .muni-name { font-size: .82rem; font-weight: 600; color: var(--green-900); }
.muni-tile .muni-count { font-size: 1.1rem; font-weight: 800; color: var(--green-700); display: flex; align-items: baseline; gap: .35rem; }
.muni-tile .muni-count small { font-size: .65rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ===== Features ===== */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.25rem;
}
.feature {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(10px) saturate(1.3);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
}
.feature::before {
  content: ""; position: absolute; inset: -1px;
  background: linear-gradient(135deg, rgba(34,197,94,.5), transparent 50%, rgba(15,61,46,.4));
  border-radius: inherit;
  opacity: 0; transition: opacity .4s;
  z-index: -1; padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-glow); border-color: transparent; }
.feature:hover::before { opacity: 1; }
.feature .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); color: var(--white);
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  margin-bottom: .85rem;
  box-shadow: 0 8px 18px -6px rgba(22,163,74,.55);
}
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }

/* ===== Glass card (used everywhere) ===== */
.card {
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
  transition: box-shadow .3s, border-color .3s;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { color: var(--green-900); margin-bottom: .8rem; font-size: 1rem; }

.hero-card {
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--border);
  border-radius: 18px; padding: 1.4rem;
  box-shadow: var(--shadow-glow);
  position: relative; overflow: hidden;
}
.hero-card h3 { color: var(--green-700); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .85rem; }
.hero-card .stat { display: flex; justify-content: space-between; padding: .65rem 0; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.hero-card .stat:last-child { border-bottom: none; }
.hero-card .stat b { color: var(--green-900); font-weight: 700; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 3rem 1.25rem 2rem; gap: 2rem; }
  .hero-art { display: none; }
}

/* ===== KPI cards ===== */
.kpis {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 1.5rem;
}
.kpi {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.kpi::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .55s;
}
.kpi:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.kpi:hover::after { transform: scaleX(1); }
.kpi .label { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.kpi .value {
  font-size: 1.85rem; font-weight: 800; color: var(--green-900); margin-top: .25rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.02em;
}
@media (max-width: 1000px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

/* ===== Charts ===== */
.grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
canvas { max-width: 100%; }

/* ===== Tables ===== */
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td {
  padding: .7rem .75rem; text-align: left;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--green-700); font-weight: 700; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .06em;
  background: rgba(220,252,231,.5);
  position: static !important; top: auto !important;
}
tbody tr { transition: background .15s; }
tbody tr:hover td { background: rgba(220,252,231,.55); }
.tag {
  display: inline-block; padding: .2rem .65rem; border-radius: 999px;
  background: var(--green-100); color: var(--green-700); font-size: .72rem; font-weight: 700;
  letter-spacing: .02em;
}

/* ===== Search controls ===== */
.controls {
  display: flex; gap: .65rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center;
}
.controls input, .controls select {
  padding: .65rem .85rem; border: 1px solid var(--border-strong); border-radius: 10px;
  font-size: .92rem; background: rgba(255,255,255,.85); color: var(--ink); min-width: 180px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.controls input:focus, .controls select:focus {
  outline: none; border-color: var(--green-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(34,197,94,.18);
}
.controls .search { flex: 1; min-width: 240px; }
.muted { color: var(--muted); font-size: .88rem; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.7); backdrop-filter: blur(12px);
  margin-top: 3rem; padding: 1.75rem 0; color: var(--muted); font-size: .85rem;
}
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 1.25rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; align-items: center;
}

/* ===== Pager ===== */
.pager { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; margin-top: .9rem; }
.pager button {
  padding: .45rem .9rem; border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.85); border-radius: 8px; cursor: pointer;
  font-weight: 600; color: var(--green-700); transition: all .2s;
}
.pager button:hover:not(:disabled) { background: var(--green-100); border-color: var(--green-400); }
.pager button:disabled { opacity: .4; cursor: not-allowed; }

/* ===== Cursor glow (desktop) ===== */
.cursor-glow {
  position: fixed; pointer-events: none; z-index: -1;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.18), transparent 60%);
  transform: translate(-50%, -50%);
  transition: opacity .4s;
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-glow.on { opacity: 1; }
}

/* Section heading underline */
h2.section { display: inline-block; position: relative; }
h2.section::after {
  content: ""; position: absolute; left: 0; bottom: -8px; height: 4px; width: 48px;
  background: var(--grad); border-radius: 4px;
}

/* Ranked list (Market Pulse) */
.rank-list { list-style: none; padding: 0; margin: 0; counter-reset: rank; }
.rank-list li {
  counter-increment: rank;
  display: grid; grid-template-columns: 28px 1fr auto; gap: .75rem; align-items: center;
  padding: .55rem .25rem; border-bottom: 1px dashed var(--border);
  position: relative;
}
.rank-list li::before {
  content: counter(rank);
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--green-100); color: var(--green-700);
  font-size: .78rem; font-weight: 800;
}
.rank-list li:nth-child(1)::before { background: var(--grad); color: #fff; }
.rank-list li:nth-child(2)::before { background: var(--green-300); color: var(--green-900); }
.rank-list li:nth-child(3)::before { background: var(--green-200); color: var(--green-900); }
.rank-list .rank-name { font-weight: 600; color: var(--green-900); font-size: .92rem; position: relative; z-index: 1; }
.rank-list .rank-bar {
  position: absolute; left: 38px; right: 0; bottom: 4px; height: 4px;
  background: rgba(15,61,46,.06); border-radius: 999px; overflow: hidden;
}
.rank-list .rank-bar > span { display: block; height: 100%; background: var(--grad); border-radius: 999px; }
.rank-list .rank-count { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--green-700); font-size: .9rem; }

/* Wide scrollable data table (Market Pulse spotlight) */
.full-bleed {
  position: relative; left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  width: 100vw; max-width: 100vw;
  border-radius: 0 !important;
  padding-left: 1.25rem; padding-right: 1.25rem;
}
.wide-table-wrap {
  overflow-x: auto; overflow-y: auto; max-height: 70vh;
  border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255,255,255,.6);
}
.wide-table { font-size: .82rem; min-width: 1600px; border-collapse: separate; border-spacing: 0; }
.wide-table th, .wide-table td { padding: .5rem .7rem; white-space: nowrap; }
.wide-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--green-100);
  border-bottom: 2px solid var(--green-300);
}
.wide-table td.desc { white-space: normal; min-width: 280px; max-width: 360px; }
.wide-table tbody tr:nth-child(odd) td { background: rgba(240,253,244,.5); }

/* Score cards (dashboard) */
.score-card {
  background: linear-gradient(135deg, rgba(220,252,231,.85), rgba(255,255,255,.85));
  border: 1px solid var(--green-200);
  position: relative; overflow: hidden;
}
.score-card::before {
  content: ""; position: absolute; top: -40px; right: -40px;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,.25), transparent 70%);
}
.score-label {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--green-700); font-weight: 700;
}
.score-value {
  font-size: 3rem; font-weight: 800; color: var(--green-900);
  letter-spacing: -0.03em; line-height: 1; margin: .4rem 0 .8rem;
  font-variant-numeric: tabular-nums;
}
.score-bar {
  height: 8px; background: rgba(15,61,46,.08); border-radius: 999px; overflow: hidden;
}
.score-fill {
  height: 100%; background: var(--grad); border-radius: 999px;
  transition: width 1.4s cubic-bezier(.2,.8,.2,1);
}
.score-fill.alt {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

/* "How it works" numbered cards */
.step .num {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-100); color: var(--green-700);
  font-weight: 800; margin-bottom: .6rem;
  border: 1px solid var(--green-200);
}
