:root {
  color-scheme: light;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #172e25;
  background: #f6f8f4;
  --green: #245743;
  --dark: #153b30;
  --muted: #52665b;
  --line: #d7e1d9;
  --soft: #eaf2eb;
  --white: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; }
h1, h2, h3, p { margin: 0; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
a { color: var(--green); text-underline-offset: .2em; }
svg { display: block; width: 100%; }
:focus-visible { outline: 3px solid #bf771d; outline-offset: 3px; }
.wrap { width: min(100% - 3rem, 72rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .6rem; background: white; }
.top { background: var(--white); }
.nav { min-height: 4.65rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; font-weight: 750; letter-spacing: -.025em; white-space: nowrap; }
.brand-mark { display: inline-flex; align-items: end; justify-content: center; gap: .13rem; width: 2rem; height: 2rem; padding: .45rem .35rem; border-radius: .5rem; background: var(--green); transform: rotate(-7deg); }
.brand-mark i { display: block; width: .2rem; height: 48%; border-radius: .4rem .4rem 0 0; background: #e9efdf; transform: skewY(-25deg); }
.brand-mark i:nth-child(2) { height: 86%; }
.brand-mark i:nth-child(3) { height: 66%; }
.nav-links, .hero-actions, .report-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .62rem 1.05rem; border: 1px solid transparent; border-radius: .55rem; text-align: center; text-decoration: none; line-height: 1.3; font-weight: 680; }
.button-outline { border-color: #9aafa2; color: var(--green); background: transparent; }
.button-secondary { border-color: var(--line); color: var(--green); background: var(--white); }
.button-outline:hover, .button-secondary:hover { background: var(--soft); }
.button-primary { background: var(--green); color: white; }
.button-primary:hover { background: var(--dark); }
.button-light { background: #f1f3db; color: var(--dark); }
.button-light:hover { background: #e6ebbe; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #f8fcf1; background: linear-gradient(105deg, #143a30 15%, #245443 67%, #406a54); }
.hero::before {
  content: ''; position: absolute; z-index: -1; inset: -45% -22% -75% 35%;
  background: repeating-radial-gradient(ellipse at 68% 48%, transparent 0 17px, #d4e6be48 18px 19px, transparent 20px 28px);
  mask-image: linear-gradient(100deg, transparent 4%, black 53%, black 89%, transparent);
  transform: rotate(-25deg) skewX(-10deg);
}
.hero-layout { min-height: 28rem; display: grid; align-items: center; padding-block: 4rem; }
.hero-copy { max-width: 38rem; }
.kicker { font-size: .875rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 720; color: var(--green); }
.hero .kicker { color: #e2ebbb; }
.hero .kicker span { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #d1df9d; margin-right: .35rem; vertical-align: .08em; }
.hero h1 {
  max-width: 11ch; margin: .85rem 0 1.1rem; font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(3rem, 7vw, 6.1rem); font-weight: 500; letter-spacing: -.06em; line-height: .99;
}
.hero-description { max-width: 32rem; color: #edf4e7; font-size: clamp(1rem, 2vw, 1.17rem); }
.hero-actions { margin-top: 1.5rem; }
.hero .plain-link { color: #f5faec; font-weight: 650; }
.route, .program { background: #eaf0e8; }
.route { border-bottom: 1px solid var(--line); }
.route-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1rem; }
.route-inner > div { display: flex; align-items: center; gap: .75rem; padding-inline: clamp(.5rem, 3vw, 1.8rem); }
.route-inner > div:first-child { padding-left: 0; }
.route-inner > div + div { border-left: 1px solid #cddad0; }
.route-inner strong, .route-inner small { display: block; }
.route-inner small { color: var(--muted); font-size: .875rem; }
.line-icon, .choice-icon { flex: none; width: 2.15rem; height: 2.15rem; padding: .43rem; border-radius: .5rem; color: var(--green); background: #dce8dc; }

.selection, .program { padding-block: clamp(2.5rem, 7vw, 4.65rem); }
.section-intro { margin-bottom: 1.4rem; }
.section-intro h2, .program h2, .office-heading h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.055em; }
.section-intro p, .program-intro p { color: var(--muted); margin-top: .6rem; max-width: 41rem; }
.selection-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(16rem, 1fr); align-items: start; gap: 1.1rem; }
.wizard, .summary, .office-card { background: white; border: 1px solid var(--line); border-radius: .95rem; box-shadow: 0 8px 28px #193d2810; }
.wizard, .summary { padding: clamp(1.05rem, 3vw, 1.8rem); }
.summary { position: sticky; top: 1rem; }
.summary h3, .wizard h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.2; letter-spacing: -.025em; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; list-style: none; padding: 0 0 1rem; margin: 0 0 1.25rem; border-bottom: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: .38rem; color: var(--muted); font-size: .875rem; }
.steps li.active { color: var(--dark); font-weight: 740; }
.step-number { display: grid; place-items: center; flex: none; width: 1.65rem; height: 1.65rem; border: 1px solid var(--line); border-radius: 50%; font-size: .78rem; }
.step-number svg { width: .95rem; }
.active .step-number { color: white; background: var(--green); border-color: var(--green); }
.done .step-number { color: var(--green); background: var(--soft); }
.helper { color: var(--muted); font-size: .92rem; }
.wizard h3 + .helper { margin-block: .44rem 1rem; }
.geography-helper, .area-note, .demo-note { margin-top: .75rem; }
fieldset { min-inline-size: 0; padding: 0; margin: 0; border: 0; }
.zone { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.zone label, .choice { position: relative; cursor: pointer; }
.zone input, .choice input { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; opacity: 0; }
.zone label span { display: block; padding: .32rem .72rem; border: 1px solid var(--line); border-radius: 3rem; color: var(--muted); font-size: .88rem; }
.zone input:checked + span { color: var(--dark); border-color: #7d9e88; background: var(--soft); font-weight: 650; }
.zone input:focus-visible + span, .choice input:focus-visible + .choice-body { outline: 3px solid #bf771d; outline-offset: 3px; }
.field { display: grid; gap: .35rem; min-width: 0; font-weight: 650; }
.field input, .field select { width: 100%; min-height: 2.8rem; padding: .5rem .68rem; border: 1px solid #aabcb0; border-radius: .5rem; background: white; color: #172e25; font-weight: 450; }
.districts { margin-top: .9rem; }
.districts legend { font-weight: 680; }
.counter { display: inline-block; padding: .07rem .42rem; margin-left: .25rem; border-radius: 1rem; font-size: .8rem; background: var(--soft); color: var(--dark); }
.district-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem .6rem; max-height: 13rem; overflow: auto; margin-top: .55rem; padding: .15rem; }
.check-option { display: flex; align-items: start; gap: .45rem; padding: .32rem .2rem; line-height: 1.4; cursor: pointer; }
.check-option input { flex: none; width: 1.08rem; height: 1.08rem; margin: .14rem 0 0; accent-color: var(--green); }
.check-option:has(:disabled) { color: #677770; cursor: default; }
.choice-list { display: grid; gap: .5rem; }
.choice-body { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .62rem; min-height: 3.5rem; padding: .52rem .66rem; border: 1px solid var(--line); border-radius: .55rem; }
.choice-body:hover, .choice input:checked + .choice-body { border-color: #84a593; background: #edf5ee; }
.choice strong, .choice small { display: block; }
.choice small { color: var(--muted); font-size: .875rem; }
.choice-check { width: 1.2rem; height: 1.2rem; padding: .1rem; border: 1px solid #aabcb0; border-radius: 50%; color: transparent; }
.choice input:checked + .choice-body .choice-check { color: white; background: var(--green); border-color: var(--green); }
.area-choice { grid-template-columns: minmax(0, 1fr) auto auto; }
.area-choice b { color: var(--dark); text-align: right; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.contact-channel { margin-block: .75rem; }
.consent { padding: .55rem .65rem; background: var(--soft); border-radius: .5rem; font-size: .9rem; }
.wizard-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 1rem; }
.wizard-actions .button-primary { margin-left: auto; }
.notice { margin-block: .6rem; padding: .55rem .72rem; border: 1px solid #e5b4a6; border-radius: .45rem; }
.error { background: #fdf1ed; color: #792f20; }
.success { padding-block: .3rem .8rem; }
.success-icon { display: block; width: 2.9rem; margin-bottom: .7rem; padding: .55rem; border-radius: 50%; color: var(--dark); background: var(--soft); }
.success p { margin-block: .6rem .9rem; }
.summary dl { margin-block: .65rem .95rem; }
.summary dl div { display: grid; grid-template-columns: 4.35rem 1fr; gap: .5rem; padding-block: .56rem; border-bottom: 1px solid var(--line); }
dt, .muted { color: var(--muted); }
dd { margin: 0; overflow-wrap: anywhere; }
.summary dd { font-weight: 620; }
.muted { font-weight: 450; }
.summary-price { padding: .85rem .9rem; border-radius: .55rem; background: var(--soft); }
.summary-price span, .summary-price p { color: var(--muted); font-size: .875rem; }
.summary-price strong { display: block; color: var(--dark); font-size: clamp(1.14rem, 2vw, 1.6rem); line-height: 1.18; margin-block: .2rem .43rem; }
.program-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.1rem, 5vw, 4rem); }
.program-intro .button { margin-top: .9rem; }
.source-link { display: block; font-size: .92rem; margin-top: .5rem; }
.questions details { border-bottom: 1px solid #bbcfc0; }
.questions summary { padding-block: .76rem; font-weight: 680; }
.questions details p { padding-bottom: .8rem; color: var(--muted); }
.footer { background: var(--dark); color: #f5f8f0; padding-block: 1.35rem; }
.footer-grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; }
.footer p { font-size: .875rem; color: #e4efe1; }
.footer-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.footer-links a { color: #f5f8f0; }

.office-main { padding-block: 2.1rem 4rem; }
.office-heading, .office-controls, .report-card, .lead-card header, .lead-card footer {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem;
}
.office-heading { margin-bottom: 1.2rem; }
.office-heading .kicker { margin-bottom: .33rem; }
.office-card { padding: 1.15rem; }
.office-card h2 { font-size: 1.2rem; line-height: 1.25; }
.login-card { display: grid; justify-items: start; gap: .7rem; max-width: 28rem; }
.login-card .field { width: 100%; }
.office-controls { margin-block: .65rem; align-items: end; }
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .66rem; }
.metric strong { display: block; color: var(--green); font-size: 2.5rem; }
.metric p, .report-card small, .lead-card small, .lead-id { color: var(--muted); }
.report-card { margin-top: .7rem; }
.report-card p { margin-top: .35rem; }
.lead-list { display: grid; gap: .7rem; }
.lead-card dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .65rem; margin-block: .75rem; }
.lead-card dt { font-size: .88rem; }
.lead-status { padding: .17rem .52rem; border-radius: 1rem; background: #f1ecd9; color: #684a17; font-size: .875rem; }
.lead-status.received { background: var(--soft); color: var(--green); }

@media (max-width: 760px) {
  .wrap { width: min(100% - 2rem, 72rem); }
  .nav { min-height: 4rem; }
  .nav-links, .route-inner .line-icon { display: none; }
  .hero-layout { min-height: 24rem; }
  .route-inner small { font-size: .81rem; }
  .selection-grid, .program-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer p { order: 3; grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .nav-action { font-size: .83rem; padding-inline: .55rem; }
  .hero-actions { gap: .8rem; }
  .steps li { flex-direction: column; align-items: start; font-size: .78rem; }
  .district-options, .contact-fields, .metric-grid, .footer-grid { grid-template-columns: 1fr; }
  .wizard-actions .button-primary { margin-left: 0; }
}

.show-geography .selection-grid {
  grid-template-columns: minmax(0, 2.65fr) minmax(15rem, 1fr);
}
.region-map { margin: .85rem 0 1.1rem; display: grid; gap: .4rem; }
.region-map h4 { margin: 0; font-size: 1rem; }
.region-map-canvas {
  background: #e5eeef;
  border: 1px solid #b7c9c0;
  border-radius: .65rem;
  min-width: 0;
  overflow: hidden;
}
.region-map-canvas > svg { display: block; width: 100%; height: auto; aspect-ratio: 800 / 452; }
.region-map-shapes path {
  fill: #edf0eb;
  stroke: #99aea2;
  stroke-width: .7px;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  fill-rule: evenodd;
}
.region-map-shapes path:hover { fill: #dbe3d9; }
.region-map-shapes .region-map-eligible { fill: #b8d7bf; stroke: #627f6e; cursor: pointer; }
.region-map-shapes .region-map-eligible:hover,
.region-map-shapes .region-map-eligible:focus-visible {
  fill: #8ebd9c; stroke: #245743; stroke-width: 1.5px; outline: none;
}
.region-map-shapes path[aria-pressed='true'] { fill: #39765a; stroke: #174f36; stroke-width: 1.5px; }
.region-map-marker { fill: #204e39; stroke: #fff; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.region-map-landmarks, .region-map-marker { pointer-events: none; }
.region-map-landmarks circle { fill: #32574a; }
.region-map-landmarks text {
  fill: #294e42; stroke: #f6faf7; stroke-width: 2.5px; stroke-linejoin: round; paint-order: stroke;
  font-size: 13px; font-weight: 650;
}
.region-map-caption { color: var(--dark); font-weight: 650; font-size: .9rem; }
.region-map-key { display: flex; align-items: center; flex-wrap: wrap; gap: .2rem .75rem; color: var(--muted); font-size: .78rem; }
.region-map-key span { display: flex; align-items: center; gap: .3rem; }
.region-map-key i { width: .65rem; height: .65rem; background: #b8d7bf; border: 1px solid #627f6e; border-radius: 2px; }
.region-map-key span:nth-child(2) i { background: #edf0eb; border-color: #99aea2; }
.region-map-key a { margin-left: auto; }
@media (max-width: 550px) {
  .region-map-landmarks text { font-size: 19px; }
  .region-map-key a { margin-left: 0; }
}

.district-map { margin-top: .5rem; }
.map-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem .6rem; margin-bottom: .4rem; }
.map-region-name { font-weight: 700; }
.map-active-label, .map-credit { color: var(--muted); font-size: .85rem; }
.map-canvas {
  position: relative; aspect-ratio: 800 / 486; display: grid; place-items: center;
  overflow: hidden; isolation: isolate; border-radius: .65rem; border: 1px solid #b7c9c0;
  background-color: #e5eeef;
  background-image: linear-gradient(#bcced040 1px, transparent 1px), linear-gradient(90deg, #bcced040 1px, transparent 1px);
  background-size: 36px 36px;
}
.map-canvas > svg { width: 100%; height: 100%; user-select: none; }
.map-status { padding: .8rem 1rem; max-width: 24rem; text-align: center; color: var(--muted); }
.map-canvas .map-can-pan { touch-action: none; cursor: grab; }
.map-canvas .map-can-pan:active { cursor: grabbing; }
.map-tools { position: absolute; inset: .55rem .55rem auto auto; display: grid; gap: .25rem; }
.map-tools button {
  display: grid; place-items: center; width: 2.35rem; height: 2.35rem; padding: .45rem;
  color: var(--dark); background: white; border: 1px solid #a9bfb4; border-radius: .36rem;
  box-shadow: 0 2px 6px #153b3020; font-size: 1.15rem; line-height: 1;
}
.map-tools button:hover { background: #eef6ef; }
.map-tools button:disabled { cursor: default; }
.map-shapes path { stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.map-neighbor { fill: #edf0eb; stroke: #b5c0b6; }
.map-district { fill: #c7ddcd; stroke: #6b9380; cursor: pointer; }
.map-district:hover, .map-district:focus-visible { fill: #a8ceb4; stroke: #326044; stroke-width: 2; outline: none; }
.map-district[aria-pressed='true'] { fill: #4f8066; stroke: #254f3d; stroke-width: 2; }
.map-district[aria-disabled='true'] { fill: #dce7db; stroke: #a0b2a6; cursor: default; }
.map-shapes .map-point { fill: #26758b; stroke: #fff; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.map-shapes .map-point:hover, .map-shapes .map-point:focus-visible { fill: #144e62; stroke-width: 2.5; }
.map-shapes .map-point[aria-pressed='true'] { fill: #1d5b3c; stroke-width: 2.5; }
.map-shapes .map-point[aria-disabled='true'] { fill: #9cb5bc; }
.map-labels { pointer-events: none; }
.map-labels text { fill: #113a2e; stroke: #f5f8f2; stroke-width: .27em; paint-order: stroke; stroke-linejoin: round; font-weight: 650; }
.map-name-suppressed { display: none; }
.map-labels .map-name-selected { fill: #fff; stroke: #234e3a; font-weight: 730; }
.map-credit { margin-top: .28rem; }
.map-fallback { margin-top: .65rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.map-fallback summary { color: var(--green); font-weight: 650; }
.map-list-hint, .map-program-note { margin-top: .48rem; }
@media (max-width: 810px) {
  .show-geography .selection-grid { grid-template-columns: 1fr; }
  .show-geography .summary { position: static; }
}
@media (max-width: 430px) {
  .map-top { display: grid; }
  .map-tools { inset: .4rem .4rem auto auto; }
  .map-tools button { width: 2.1rem; height: 2.1rem; }
}
