:root {
  --bg: #f7f3e8;
  --ink: #14201a;
  --muted: #5b665f;
  --line: #d8cfba;
  --panel: #fffdf6;
  --panel-2: #ece6d7;
  --green: #245f45;
  --green-2: #173d32;
  --lime: #c8e66a;
  --teal: #2f8f88;
  --clay: #b85f35;
  --gold: #e0b44c;
  --shadow: 0 22px 60px rgba(20, 32, 26, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.solid {
  background: var(--green);
  color: white;
}

.ghost {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
}

.topbar,
.hero,
.section,
.footer {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
}

.topbar {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  justify-content: space-between;
  padding-bottom: 18px;
  padding-top: 18px;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 900;
  gap: 10px;
  white-space: nowrap;
}

.brand span {
  align-items: center;
  background: var(--green);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.nav {
  align-items: center;
  background: rgba(239, 232, 215, 0.56);
  border: 1px solid rgba(212, 202, 181, 0.8);
  border-radius: 999px;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  justify-content: center;
  justify-self: center;
  min-width: 0;
  padding: 4px;
}

.nav a {
  color: #4b574f;
  border-radius: 999px;
  font-size: clamp(12px, 0.82vw, 14px);
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}

.nav a.active {
  background: white;
  box-shadow: 0 8px 22px rgba(20, 32, 26, 0.08);
  color: var(--green);
}

.actions {
  display: flex;
  gap: 10px;
  justify-content: end;
  min-width: 0;
}

.actions .button,
.actions button {
  min-height: 46px;
  padding-left: 18px;
  padding-right: 18px;
  white-space: nowrap;
}

.eyebrow {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.01;
  margin: 0;
  max-width: 880px;
}

h2 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  margin: 0;
}

h3 {
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 22px 0;
  max-width: 720px;
}

.hero {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  padding-bottom: 42px;
  padding-top: 48px;
}

.hero-card {
  background:
    radial-gradient(circle at 80% 16%, rgba(200, 230, 106, 0.45), transparent 30%),
    linear-gradient(145deg, #173d32, #22664f);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: white;
  min-height: 520px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  background-image: url("https://www.burningcompass.com/countries/united-states/states/maps/michigan/outline-map-of-michigan.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  filter: contrast(0.8) brightness(1.7);
  inset: 56px 22px 22px;
  opacity: 0.33;
  position: absolute;
}

.metric-stack {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.mini-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 18px;
}

.mini-card span,
.hero-card p {
  color: rgba(255, 255, 255, 0.76);
}

.mini-card strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  margin-top: 8px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 8px auto 0;
  max-width: 1180px;
  padding: 0 24px 36px;
}

.trust-strip div,
.info-card,
.step-card,
.point-panel,
.score-panel,
.result-panel,
.map-panel,
.table-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.trust-strip div {
  padding: 18px;
}

.trust-strip strong {
  display: block;
  font-size: 26px;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding-bottom: 56px;
  padding-top: 56px;
}

#map {
  max-width: 1480px;
}

#results {
  max-width: 1400px;
}

.compare-page {
  max-width: 1400px;
  padding-top: 24px;
}

.section-title {
  max-width: 760px;
}

.section-title p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.info-grid,
.step-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.info-card,
.step-card {
  padding: 24px;
}

.info-card span,
.step-card span {
  align-items: center;
  background: #dfe9c0;
  border-radius: 8px;
  color: var(--green);
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 22px;
  width: 44px;
}

.info-card p,
.step-card p {
  color: var(--muted);
  line-height: 1.6;
}

.band {
  background: var(--green-2);
  color: white;
  margin-top: 38px;
  padding: 58px 0;
}

.band-inner {
  align-items: center;
  display: flex;
  gap: 28px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.band p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.65;
  max-width: 700px;
}

.band .button {
  background: var(--lime);
  color: var(--green-2);
}

.calculator-layout {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-top: 28px;
}

.map-panel {
  min-height: 760px;
  overflow: hidden;
  padding: 18px;
}

.michigan-map {
  background:
    linear-gradient(135deg, rgba(47, 143, 136, 0.22), transparent 42%),
    #edf0de;
  border: 1px solid #c9d5bd;
  border-radius: 8px;
  height: 100%;
  min-height: 582px;
  position: relative;
}

.satellite-frame {
  border: 1px solid #c9d5bd;
  border-radius: 8px;
  height: 100%;
  min-height: 722px;
  overflow: hidden;
  position: relative;
}

#satellite-map {
  background: #d7e2d6;
  height: 100%;
  min-height: 722px;
  width: 100%;
}

#county-map {
  background: #d7e2d6;
  height: 100%;
  min-height: 560px;
  width: 100%;
}

#satellite-map,
#county-map,
.leaflet-container {
  overflow: hidden;
  position: relative;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  left: 0;
  position: absolute;
  top: 0;
}

.leaflet-map-pane {
  z-index: 400;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-overlay-pane svg {
  pointer-events: none;
}

.leaflet-interactive {
  cursor: pointer;
  pointer-events: auto;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-control-container {
  position: relative;
  z-index: 800;
}

.leaflet-tile {
  border: 0;
  height: 256px;
  max-width: none;
  user-select: none;
  width: 256px;
}

.leaflet-container img {
  max-width: none;
}

.leaflet-control-container .leaflet-top,
.leaflet-control-container .leaflet-bottom {
  position: absolute;
  z-index: 1000;
}

.leaflet-control-container .leaflet-top {
  top: 12px;
}

.leaflet-control-container .leaflet-bottom {
  bottom: 10px;
}

.leaflet-control-container .leaflet-left {
  left: 12px;
}

.leaflet-control-container .leaflet-right {
  right: 12px;
}

.leaflet-control {
  clear: both;
  float: left;
}

.leaflet-control-zoom {
  border: 0;
  box-shadow: 0 12px 28px rgba(20, 32, 26, 0.2);
}

.leaflet-control-zoom a {
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  display: flex;
  font-size: 24px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  width: 38px;
}

.leaflet-control-zoom a:first-child {
  border-radius: 8px 8px 0 0;
}

.leaflet-control-zoom a:last-child {
  border-bottom: 0;
  border-radius: 0 0 8px 8px;
}

.leaflet-control-attribution {
  background: rgba(255, 253, 246, 0.88);
  border-radius: 8px;
  color: #38443d;
  font-size: 11px;
  line-height: 1.35;
  margin: 0;
  max-width: min(760px, calc(100vw - 70px));
  padding: 6px 8px;
}

.map-help {
  background: rgba(20, 32, 26, 0.78);
  border-radius: 8px;
  color: white;
  font-size: 13px;
  font-weight: 900;
  left: 14px;
  padding: 10px 12px;
  position: absolute;
  top: 14px;
  z-index: 500;
}

.michigan-map::before {
  background-image: url("https://www.burningcompass.com/countries/united-states/states/maps/michigan/outline-map-of-michigan.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  inset: 24px;
  mix-blend-mode: multiply;
  opacity: 0.86;
  position: absolute;
}

.map-pin {
  align-items: center;
  background: white;
  border: 3px solid var(--green);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(20, 32, 26, 0.24);
  display: flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  transform: translate(-50%, -50%);
  transition: transform 160ms ease, background 160ms ease;
  width: 40px;
  z-index: 2;
}

.map-pin span {
  background: var(--green);
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

.map-pin.active {
  background: var(--lime);
  transform: translate(-50%, -50%) scale(1.2);
}

.satellite-pin {
  align-items: center;
  background: white;
  border: 3px solid var(--green);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(20, 32, 26, 0.32);
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.satellite-pin span {
  background: var(--green);
  border-radius: 999px;
  display: block;
  height: 12px;
  width: 12px;
}

.satellite-pin.active {
  background: var(--lime);
  border-color: white;
  height: 46px;
  width: 46px;
}

.leaflet-container {
  font-family: Arial, Helvetica, sans-serif;
}

.point-panel,
.score-panel,
.result-panel,
.table-panel {
  padding: 22px;
}

.side-stack {
  display: grid;
  gap: 18px;
}

dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

dl div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

dd {
  font-weight: 900;
  margin: 3px 0 0;
}

.input-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.input-grid label {
  color: var(--muted);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  text-transform: uppercase;
}

.run-card {
  display: grid;
  margin-top: 18px;
}

.big-run {
  font-size: 20px;
  min-height: 86px;
  padding: 0 24px;
}

.dataset-status {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  margin: -2px 0 2px;
}

.wide {
  width: 100%;
}

.is-hidden {
  display: none;
}

.empty-results {
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 8px;
  margin-top: 28px;
  min-height: 230px;
  padding: 30px;
}

.empty-results h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.empty-results p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
  max-width: 620px;
}

.results-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.8fr 1.2fr;
  margin-top: 28px;
}

.observation-comparison .results-grid {
  grid-template-columns: 1fr;
}

.unit-toolbar {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  margin-top: 28px;
  text-align: center;
}

.unit-toolbar span {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.unit-toggle {
  background: #efe8d9;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: inset 0 1px 3px rgba(20, 32, 26, 0.08);
  display: inline-flex;
  gap: 4px;
  padding: 5px;
}

.unit-toggle button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--green);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  min-height: 38px;
  min-width: 124px;
  padding: 0 18px;
}

.unit-toggle button.active {
  background: var(--green);
  box-shadow: 0 6px 14px rgba(36, 95, 69, 0.22);
  color: white;
}

.score-ring {
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, var(--panel) 56%, transparent 57%),
    conic-gradient(var(--lime) 0 42%, #d8cfba 42% 100%);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 20px auto 10px;
  max-width: 260px;
  width: 100%;
}

.score-ring strong {
  font-size: 64px;
  line-height: 1;
}

.score-ring span {
  color: var(--muted);
  font-weight: 800;
}

.bar-chart {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

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

.bar-label {
  display: flex;
  font-size: 13px;
  font-weight: 900;
  justify-content: space-between;
}

.bar-track {
  background: #e6dec9;
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
}

.bar-fill {
  background: linear-gradient(90deg, var(--green), var(--teal), var(--lime));
  height: 100%;
  width: var(--width);
}

.actual-results {
  margin-top: 18px;
}

.actual-results h3 {
  margin-bottom: 18px;
}

.actual-grid {
  display: grid;
  gap: 0;
}

.actual-row {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 1fr) minmax(120px, 0.45fr);
  padding: 13px 0;
}

.actual-row span,
.actual-row strong {
  font-weight: 900;
}

.actual-row strong {
  color: var(--green);
  text-align: right;
  white-space: nowrap;
}

.management-context {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(38, 111, 78, 0.08), rgba(199, 232, 97, 0.1)),
    var(--panel);
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(300px, 0.85fr) minmax(460px, 1.15fr);
  margin-top: 18px;
  overflow: hidden;
  position: relative;
}

.management-context::before {
  background: var(--green);
  bottom: 22px;
  content: "";
  left: 0;
  position: absolute;
  top: 22px;
  width: 6px;
}

.management-copy {
  padding-left: 10px;
}

.management-context h3 {
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.management-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  margin: 14px 0 0;
  max-width: 440px;
}

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

.management-pill-grid div {
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 32, 26, 0.07);
  min-height: 96px;
  padding: 18px;
}

.management-pill-grid span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.management-pill-grid strong {
  color: var(--green);
  display: block;
  font-size: 26px;
  line-height: 1.15;
}

.scenario-panel {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(280px, 0.75fr) minmax(520px, 1.25fr);
  margin-top: 18px;
}

.scenario-copy h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.06;
  max-width: 520px;
}

.scenario-controls {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
}

.scenario-controls label {
  display: grid;
  gap: 7px;
}

.scenario-controls span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scenario-controls select {
  appearance: none;
  background:
    linear-gradient(45deg, transparent 50%, var(--green) 50%) right 17px center / 7px 7px no-repeat,
    linear-gradient(135deg, var(--green) 50%, transparent 50%) right 12px center / 7px 7px no-repeat,
    #f8f4ea;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 900;
  min-height: 50px;
  padding: 0 34px 0 14px;
  width: 100%;
}

.scenario-controls button {
  min-height: 50px;
  min-width: 116px;
}

.scenario-result {
  background: #f2ecdc;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 16px;
}

.scenario-result.is-muted {
  color: var(--muted);
  display: block;
  font-weight: 800;
  line-height: 1.5;
}

.scenario-result div {
  border-left: 1px solid rgba(20, 32, 26, 0.14);
  min-height: 74px;
  padding-left: 14px;
}

.scenario-result div:first-child {
  border-left: 0;
  padding-left: 0;
}

.scenario-result span,
.scenario-result small {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scenario-result strong {
  color: var(--green);
  display: block;
  font-size: 20px;
  line-height: 1.18;
  margin-top: 8px;
}

.scenario-delta strong {
  color: var(--clay);
}

.scenario-delta small {
  color: var(--green);
  margin-top: 8px;
}

.horizontal-stack-compare {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-column: 1 / -1;
  padding-top: 18px;
}

.observation-toggle {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.observation-toggle button {
  min-height: 62px;
  min-width: min(100%, 520px);
  padding: 0 26px;
}

.observation-comparison {
  margin-top: 0;
}

.horizontal-stack-axis {
  color: var(--muted);
  display: grid;
  column-gap: 34px;
  font-size: 12px;
  font-weight: 900;
  grid-template-columns: 1fr 1fr;
  letter-spacing: 0.06em;
  padding-left: 150px;
  text-transform: uppercase;
}

.horizontal-stack-axis span:first-child {
  text-align: right;
}

.horizontal-stack-row {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: 134px minmax(0, 1fr);
}

.horizontal-stack-row > strong {
  font-size: 15px;
  font-weight: 900;
  text-align: right;
}

.horizontal-stack-bar {
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  min-height: 42px;
}

.horizontal-stack-bar i {
  background: var(--line);
  display: block;
  height: 54px;
}

.negative-stack,
.positive-stack {
  display: flex;
  height: 34px;
  width: var(--total-width);
}

.negative-stack {
  flex-direction: row-reverse;
  justify-self: end;
}

.positive-stack {
  justify-self: start;
}

.negative-stack span,
.positive-stack span {
  background: var(--color);
  display: block;
  flex: 0 0 var(--width);
  min-width: 3px;
}

.negative-stack span + span,
.positive-stack span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.72);
}

.compare-title {
  margin: 0 auto;
  max-width: 920px;
  text-align: center;
}

.compare-title h2 {
  font-size: clamp(32px, 5vw, 44px);
}

.compare-page .unit-toolbar {
  margin-top: 18px;
}

.scenario-compare-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.county-compare-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  margin-top: 28px;
}

.county-map-panel {
  min-height: 720px;
}

.county-frame {
  min-height: 680px;
}

.map-source-note {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.45;
  margin: 12px 0 0;
}

.map-source-note a {
  color: var(--green);
  font-style: italic;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel-source-note {
  max-width: 620px;
}

.county-side-panel {
  align-self: stretch;
}

.county-side-panel h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.county-controls {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.county-scenario-panel {
  margin-top: 18px;
}

.county-scenario-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.compare-card {
  background:
    linear-gradient(135deg, rgba(38, 111, 78, 0.07), rgba(199, 232, 97, 0.08)),
    var(--panel);
}

.compare-card h3 {
  font-size: clamp(24px, 2.8vw, 34px);
  margin-bottom: 18px;
  text-transform: capitalize;
}

.compact-controls {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compare-action {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.compare-action .big-run {
  min-height: 66px;
  min-width: min(100%, 420px);
}

.compare-result {
  align-items: center;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
  padding: 22px 24px;
}

.compare-result div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86px;
  padding-left: 24px;
}

.compare-result div:first-child {
  padding-left: 0;
}

.compare-plot-panel {
  margin-top: 18px;
}

.compare-plot-panel h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  max-width: 1080px;
}

.scenario-stacked-chart {
  grid-template-columns: 86px minmax(0, 1080px);
  justify-content: center;
  margin-inline: auto;
  max-width: 1240px;
  min-height: 400px;
}

.scenario-stacked-chart .stack-axis {
  height: 360px;
}

.scenario-stacked-chart .stack-column {
  height: 360px;
  width: 150px;
}

.scenario-stacked-chart .stack-pair {
  gap: 22px;
}

.scenario-stacked-chart .stack-scroll {
  display: flex;
  justify-content: center;
  overflow-x: visible;
  padding: 6px 4px 18px;
  width: 100%;
}

.scenario-stacked-chart .stack-eight {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(8, minmax(58px, 1fr));
  justify-content: center;
  max-width: 980px;
  min-width: 0;
  width: 100%;
}

.scenario-stacked-chart .stack-eight .stack-column {
  width: 62px;
}

.scenario-stacked-chart .stack-item {
  min-width: 0;
}

.scenario-stacked-chart .stack-item.selected .stack-column {
  filter: drop-shadow(0 10px 18px rgba(36, 95, 69, 0.25));
}

.scenario-stacked-chart .stack-item.selected > strong {
  color: var(--green);
}

.scenario-stacked-chart .stack-item > strong {
  align-items: center;
  background: #efe8d7;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-size: 18px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.scenario-stacked-chart .stack-item.selected > strong {
  background: var(--green);
  border-color: var(--green);
  color: white;
}

.scenario-stacked-chart .stack-item small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  max-width: 78px;
  text-align: center;
}

.legend-split {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  margin: 12px auto 0;
  max-width: 1180px;
  padding-top: 18px;
}

.scenario-key,
.operation-legend {
  align-content: start;
  display: grid;
  gap: 12px;
}

.scenario-key {
  align-self: start;
}

.scenario-key .eyebrow {
  margin-bottom: 0;
}

.scenario-key > div {
  align-content: start;
  display: grid;
  gap: 10px;
}

.scenario-key span {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 38px;
}

.scenario-key strong {
  align-items: center;
  background: #efe8d7;
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.scenario-key span.selected strong {
  background: var(--green);
  color: white;
}

.scenario-key span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.scenario-key em {
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.county-stack-legend {
  align-self: start;
  display: grid;
  gap: 12px;
}

.county-stack-legend .eyebrow {
  margin-bottom: 0;
}

.county-stack-legend > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.county-stack-legend .legend-row {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 13px;
  font-weight: 900;
  gap: 12px;
  line-height: 1.25;
  min-height: 24px;
}

.county-stack-legend i {
  background: var(--color);
  border-radius: 3px;
  flex: 0 0 14px;
  height: 14px;
  width: 14px;
}

.base-plot {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.base-row {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(170px, 0.9fr) minmax(180px, 1.2fr) minmax(150px, auto);
}

.base-label {
  display: grid;
  gap: 3px;
}

.base-label span,
.base-row strong {
  font-weight: 900;
}

.base-label small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.base-track {
  background: #e6dec9;
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
  position: relative;
}

.base-zero {
  background: rgba(20, 32, 26, 0.32);
  bottom: 0;
  left: var(--zero);
  position: absolute;
  top: 0;
  width: 2px;
}

.base-fill {
  background: linear-gradient(90deg, var(--teal), var(--green));
  border-radius: 999px;
  height: 100%;
  left: var(--left);
  position: absolute;
  width: var(--width);
}

.base-row.selected .base-fill {
  background: linear-gradient(90deg, var(--clay), var(--gold));
}

.base-row strong {
  color: var(--green);
  text-align: right;
  white-space: nowrap;
}

.component-compare {
  display: grid;
  gap: 24px;
  margin-top: 22px;
}

.field-observation-stack .horizontal-stack-row {
  grid-template-columns: 190px minmax(0, 1fr);
}

.field-observation-stack .horizontal-stack-axis {
  padding-left: 206px;
}

.stacked-chart {
  align-items: center;
  display: grid;
  gap: 22px;
  grid-template-columns: 86px minmax(0, 1fr);
  min-height: 330px;
}

.stack-axis {
  color: var(--muted);
  display: grid;
  font-size: 11px;
  font-weight: 900;
  grid-template-rows: 1fr 2px 1fr;
  height: 300px;
  text-transform: uppercase;
}

.stack-axis span:first-child {
  align-self: start;
}

.stack-axis span:last-child {
  align-self: end;
}

.stack-axis i {
  background: var(--line);
  display: block;
}

.stack-pair {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.stack-item {
  align-items: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  min-width: 160px;
}

.stack-item > strong {
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.stack-column {
  align-items: center;
  display: grid;
  grid-template-rows: 1fr 2px 1fr;
  height: 300px;
  width: 116px;
}

.stack-positive,
.stack-negative {
  align-self: end;
  display: flex;
  flex-direction: column-reverse;
  height: var(--stack-height);
  justify-self: center;
  min-height: 3px;
  width: 100%;
}

.stack-negative {
  align-self: start;
  flex-direction: column;
}

.stack-positive span,
.stack-negative span {
  background: var(--color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  display: block;
  flex: 0 0 var(--height);
}

.stack-zero {
  background: var(--line);
  height: 2px;
  width: 150%;
}

.operation-legend {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  margin: 0 auto;
  max-width: 760px;
}

.legend-split .operation-legend {
  gap: 12px;
  margin: 0;
  max-width: none;
}

.legend-split .operation-legend .eyebrow {
  margin-bottom: 0;
}

.legend-split .operation-legend > div {
  display: grid;
  gap: 10px;
}

.operation-legend div {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 14px minmax(0, 1fr) minmax(180px, auto);
  min-height: 28px;
}

.legend-split .operation-legend > div {
  align-items: initial;
  grid-template-columns: 1fr;
  min-height: 0;
}

.legend-split .operation-legend span {
  align-items: center;
  display: grid;
  gap: 12px;
  grid-template-columns: 14px minmax(0, 1fr);
  min-height: 28px;
}

.operation-legend i {
  background: var(--color);
  border-radius: 3px;
  height: 14px;
  width: 14px;
}

.operation-legend span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.operation-legend strong {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  white-space: nowrap;
}

.compare-plot-panel .operation-legend div {
  grid-template-columns: 14px minmax(0, 1fr);
}

.table-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  padding: 14px 0;
}

.table-row + .table-row {
  border-top: 1px solid var(--line);
}

.table-row.header {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.footer {
  color: var(--muted);
  padding-bottom: 34px;
  padding-top: 22px;
}

.editorial-page {
  background: #f8f7f2;
}

.print-header,
.editorial-hero,
.story-section,
.category-list,
.start-section,
.editorial-footer {
  margin: 0 auto;
  max-width: 1400px;
  padding-left: 24px;
  padding-right: 24px;
}

.print-header {
  align-items: center;
  color: #14201a;
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding-bottom: 92px;
  padding-top: 34px;
}

.editorial-hero {
  align-items: end;
  background:
    linear-gradient(180deg, rgba(20, 32, 26, 0.38), rgba(20, 32, 26, 0) 28%),
    linear-gradient(90deg, rgba(20, 32, 26, 0.78), rgba(20, 32, 26, 0.38) 48%, rgba(20, 32, 26, 0.05)),
    url("https://images.unsplash.com/photo-1642686929941-92f0689c4adb?auto=format&fit=crop&fm=jpg&q=88&w=2400");
  background-position: center;
  background-size: cover;
  border-bottom: 0;
  color: white;
  display: flex;
  max-width: 1400px;
  min-height: 660px;
  overflow: hidden;
  padding-bottom: 62px;
  padding-top: 120px;
  position: relative;
}

.hero-partners {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  left: 30px;
  pointer-events: none;
  position: absolute;
  right: 30px;
  top: 30px;
  z-index: 2;
}

.hero-partner-logo {
  display: inline-flex;
  pointer-events: auto;
}

.hero-partner-logo img {
  display: block;
  filter: drop-shadow(0 8px 18px rgba(20, 32, 26, 0.45));
  height: 52px;
  max-width: 520px;
  object-fit: contain;
  width: auto;
}

.hero-partner-logo:first-child img {
  height: 46px;
}

.hero-copy {
  max-width: 860px;
  position: relative;
  z-index: 1;
}

.editorial-hero h1,
.story-section h2,
.start-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  letter-spacing: 0;
}

.editorial-hero h1 {
  font-size: clamp(54px, 8vw, 88px);
  max-width: 900px;
}

.editorial-hero .eyebrow,
.editorial-hero .lead {
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-actions .button:first-child {
  min-width: 254px;
}

.hero-actions .ghost {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.42);
  color: white;
}

.choice-modal {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 2000;
}

.choice-modal.is-hidden {
  display: none;
}

.choice-backdrop {
  background: rgba(20, 32, 26, 0.62);
  inset: 0;
  position: absolute;
}

.choice-dialog {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-width: 820px;
  padding: 34px;
  position: relative;
  width: min(100%, 820px);
}

.choice-close {
  background: var(--panel-2);
  color: var(--muted);
  min-height: 38px;
  padding: 0 14px;
  position: absolute;
  right: 18px;
  top: 18px;
}

.choice-dialog h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 0 90px 26px 0;
}

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

.choice-option {
  background: #f8f3e7;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 24px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.choice-option:hover {
  border-color: rgba(36, 95, 69, 0.55);
  box-shadow: 0 18px 34px rgba(20, 32, 26, 0.12);
  transform: translateY(-2px);
}

.choice-option span {
  color: var(--clay);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-option strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.05;
}

.choice-option small {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

.story-section {
  border-bottom: 1px solid #cfc7b3;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  padding-bottom: 76px;
  padding-top: 96px;
}

.story-section.first {
  align-items: center;
}

.section-copy {
  max-width: 570px;
}

.section-copy.narrow {
  max-width: 460px;
}

.section-number {
  color: #ff6a00;
  font-size: 13px;
  font-weight: 900;
  margin: 0 0 16px;
}

.kicker {
  color: #59665e;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.story-section h2 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 34px;
}

.story-section p:not(.section-number, .kicker),
.start-section p,
.editorial-footer p {
  color: #4f5c55;
  font-size: 16px;
  line-height: 1.72;
}

.section-lead {
  margin-top: 110px;
}

.product-preview,
.browser-card,
.method-card,
.score-visual,
.hybrid-card {
  background: #fffdf8;
  border: 1px solid #d7ccb6;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(20, 32, 26, 0.1);
  padding: 24px;
}

.method-card {
  align-self: center;
}

.method-image {
  background:
    linear-gradient(180deg, rgba(20, 32, 26, 0), rgba(20, 32, 26, 0.18)),
    url("https://images.unsplash.com/photo-1725470055470-481827aea843?auto=format&fit=crop&q=82&w=1200");
  background-position: center;
  background-size: cover;
  border-radius: 6px;
  min-height: 330px;
}

.method-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.method-list div,
.score-line {
  align-items: center;
  border-top: 1px solid #d7ccb6;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 15px 0;
}

.method-list strong,
.score-line span {
  font-weight: 900;
}

.method-list span,
.score-line strong {
  color: #59665e;
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.score-visual {
  align-self: center;
  padding: 34px;
}

.score-line {
  min-height: 58px;
}

.score-line span {
  font-size: 22px;
}

.score-line strong {
  color: var(--green);
}

.hybrid-card {
  align-self: center;
  display: grid;
  gap: 0;
  padding: 28px;
}

.hybrid-card div {
  border-top: 1px solid #d7ccb6;
  display: grid;
  gap: 8px;
  grid-template-columns: 46px 1fr;
  padding: 18px 0;
}

.hybrid-card div:first-child {
  border-top: 0;
  padding-top: 0;
}

.hybrid-card div:last-child {
  padding-bottom: 0;
}

.hybrid-card span {
  align-items: center;
  background: #eef3d8;
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.hybrid-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.05;
}

.hybrid-card p {
  color: #4f5c55;
  font-size: 14px;
  grid-column: 2;
  line-height: 1.55;
  margin: 0;
}

.product-preview {
  align-self: end;
}

.wide-preview {
  align-self: center;
}

.preview-tabs {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 16px;
}

.preview-tabs span {
  border: 1px solid #d7ccb6;
  border-radius: 999px;
  color: #4f5c55;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 14px;
}

.preview-tabs .active {
  background: white;
  color: var(--green);
}

.field-image {
  background: linear-gradient(145deg, #8a9a6f, #c5b289 48%, #82966c);
  border-radius: 6px;
  height: 330px;
  overflow: hidden;
  position: relative;
}

.field-image.landscape {
  height: 300px;
}

.field-image.dashboard {
  border-radius: 0;
  height: 260px;
}

.field-image::before,
.field-image::after {
  background: rgba(255, 255, 255, 0.2);
  content: "";
  position: absolute;
}

.field-image::before {
  height: 18px;
  left: 0;
  right: 0;
  top: 32%;
}

.field-image::after {
  bottom: 0;
  top: 0;
  transform: rotate(16deg);
  width: 22px;
}

.zone {
  border-radius: 42% 58% 54% 46%;
  filter: saturate(1.2);
  opacity: 0.88;
  position: absolute;
}

.z1 {
  background: #079b4b;
  height: 170px;
  left: 28%;
  top: 35%;
  width: 230px;
}

.z2 {
  background: #2e73ff;
  height: 160px;
  right: 20%;
  top: 25%;
  width: 190px;
}

.z3 {
  background: #dc9b18;
  bottom: 16%;
  height: 150px;
  left: 45%;
  width: 210px;
}

.z4 {
  background: #e82a9d;
  height: 120px;
  right: 12%;
  top: 42%;
  width: 170px;
}

.target-dot {
  background: white;
  border: 8px solid rgba(36, 95, 69, 0.85);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.55);
  height: 32px;
  left: 52%;
  position: absolute;
  top: 48%;
  width: 32px;
  z-index: 3;
}

.legend-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.legend-row span {
  align-items: center;
  color: #4d5a53;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
}

.legend-row i {
  border: 1px solid #e5dfd0;
  display: inline-block;
  height: 14px;
  width: 14px;
}

.check {
  align-items: center;
  background: #eef3d8;
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.legend-row .green {
  background: #079b4b;
}

.legend-row .blue {
  background: #2e73ff;
}

.legend-row .amber {
  background: #dc9b18;
}

.legend-row .pink {
  background: #e82a9d;
}

.category-list {
  border-bottom: 1px solid #cfc7b3;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-bottom: 68px;
  padding-top: 48px;
}

.category-list article {
  align-content: start;
  background: #fffdf8;
  border: 1px solid #d7ccb6;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-rows: auto 1fr auto;
  min-height: 238px;
  padding: 24px;
}

.category-list div {
  display: grid;
  gap: 7px 12px;
  grid-template-columns: 34px 1fr;
}

.category-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2vw, 30px);
  line-height: 1.05;
}

.category-list small {
  color: #6d766f;
  font-size: 11px;
  font-weight: 900;
  grid-column: 2;
  line-height: 1.25;
  text-transform: uppercase;
}

.category-list p {
  color: #4f5c55;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.category-list b {
  align-self: end;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.05;
  text-align: left;
}

.profit-section {
  display: block;
}

.split-explain {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  margin-top: 30px;
}

.browser-card {
  overflow: hidden;
  padding: 0;
}

.browser-bar {
  align-items: center;
  background: white;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding: 18px 20px;
}

.browser-bar strong {
  color: var(--green);
  font-size: 20px;
}

.browser-bar nav {
  display: flex;
  gap: 22px;
}

.browser-bar span,
.browser-bar a {
  color: #4f5c55;
  font-size: 12px;
  font-weight: 900;
}

.browser-card p {
  color: #5c675f;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  padding: 18px 20px;
}

.explain-text h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1.16;
  margin-bottom: 20px;
}

.start-section {
  align-items: end;
  border-bottom: 1px solid #cfc7b3;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.75fr) minmax(220px, 0.25fr);
  min-height: 320px;
  padding-bottom: 70px;
  padding-top: 100px;
}

.start-section h2 {
  color: #b0b0ac;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  max-width: 360px;
}

.start-section p {
  max-width: 610px;
}

.arrow-link {
  background: transparent;
  color: var(--green);
  font-weight: 900;
  justify-self: end;
  min-height: auto;
  padding: 0;
  white-space: nowrap;
}

.arrow-link.as-button {
  border-radius: 0;
}

.arrow-link span {
  font-size: 20px;
  margin-left: 8px;
}

.editorial-footer {
  align-items: start;
  display: flex;
  justify-content: space-between;
  padding-bottom: 70px;
  padding-top: 48px;
}

.editorial-footer div:first-child {
  max-width: 540px;
}

.editorial-footer strong {
  color: var(--green);
  font-size: 20px;
}

.footer-mark {
  color: #667069;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .hero,
  .band-inner,
  .calculator-layout,
  .results-grid,
  .management-context,
  .scenario-panel,
  .scenario-compare-grid,
  .county-compare-layout,
  .story-section,
  .split-explain,
  .start-section {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topbar {
    gap: 12px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .nav {
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .trust-strip,
  .info-grid,
  .step-grid,
  .category-list {
    grid-template-columns: 1fr 1fr;
  }

  .actual-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

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

  .base-row {
    align-items: start;
    grid-template-columns: 1fr;
  }

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

  .management-pill-grid {
    grid-template-columns: 1fr;
  }

  .scenario-controls,
  .scenario-result {
    grid-template-columns: 1fr 1fr;
  }

  .horizontal-stack-axis {
    padding-left: 0;
  }

  .horizontal-stack-row {
    grid-template-columns: 1fr;
  }

  .horizontal-stack-row > strong {
    text-align: left;
  }

  .compact-controls {
    grid-template-columns: 1fr;
  }

  .scenario-controls button {
    grid-column: 1 / -1;
  }

  .scenario-stacked-chart .stack-pair {
    gap: 24px;
  }

  .stacked-chart {
    grid-template-columns: 1fr;
  }

  .stack-axis {
    display: none;
  }

  .legend-split {
    grid-template-columns: 1fr;
  }

  .scenario-key span {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .scenario-key em {
    grid-column: 2;
  }

  .map-panel {
    min-height: 500px;
  }

  .satellite-frame,
  #satellite-map {
    min-height: 540px;
  }

  .print-header {
    padding-bottom: 44px;
  }

  .editorial-hero {
    min-height: auto;
  }

  .section-lead {
    margin-top: 22px;
  }

  .product-preview {
    align-self: stretch;
  }

  .category-list article {
    grid-template-columns: 1fr;
  }

  .arrow-link {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  .topbar,
  .hero,
  .section,
  .footer,
  .trust-strip,
  .band-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .cta-row {
    flex-wrap: wrap;
  }

  .actions {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .trust-strip,
  .info-grid,
  .step-grid,
  .table-row,
  .scenario-controls,
  .scenario-result {
    grid-template-columns: 1fr;
  }

  .scenario-result div,
  .scenario-result div:first-child {
    border-left: 0;
    border-top: 1px solid rgba(20, 32, 26, 0.14);
    padding-left: 0;
    padding-top: 12px;
  }

  .scenario-result div:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .horizontal-stack-axis {
    font-size: 10px;
  }

  .scenario-stacked-chart .stack-column {
    width: 108px;
  }

  h1 {
    font-size: 42px;
  }

  .category-list {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 430px;
  }

  .michigan-map {
    min-height: 420px;
  }

  .satellite-frame,
  #satellite-map {
    min-height: 420px;
  }

  .print-header,
  .editorial-hero,
  .story-section,
  .category-list,
  .start-section,
  .editorial-footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .print-header,
  .editorial-footer {
    gap: 18px;
    flex-direction: column;
  }

  .hero-partners {
    gap: 10px;
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .hero-partner-logo {
    max-width: 48%;
  }

  .hero-partner-logo img {
    height: 30px;
    max-width: 100%;
  }

  .hero-partner-logo:first-child img {
    height: 27px;
  }

  .editorial-hero h1 {
    font-size: 46px;
  }

  .choice-dialog {
    padding: 26px 18px 18px;
  }

  .choice-dialog h3 {
    margin-right: 0;
  }

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

  .choice-option {
    min-height: auto;
  }

  .story-section {
    padding-bottom: 54px;
    padding-top: 64px;
  }

  .field-image {
    height: 260px;
  }

  .browser-bar,
  .browser-bar nav {
    align-items: flex-start;
    display: grid;
  }
}
