:root {
  --ink: #10231f;
  --muted: #5d6f69;
  --line: #d9e6df;
  --surface: #ffffff;
  --surface-soft: #f4faf7;
  --brand: #0b6b57;
  --brand-strong: #064b40;
  --accent: #f4c542;
  --shadow: 0 18px 50px rgba(16, 35, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fcfa;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.skip-link,
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  margin: 12px;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: white;
  border-radius: 8px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.topnav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  background: var(--accent);
  border-radius: 8px;
}

.topnav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.topnav a:hover {
  color: var(--brand);
}

.map-stage {
  position: relative;
  min-height: calc(100vh - 64px);
  background: #dceee7;
}

.map {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.map-loading,
.map-legend,
.map-detail-panel {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 230, 223, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-loading {
  top: 18px;
  left: 50%;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 900;
  transform: translateX(-50%);
}

.map-loading[hidden],
.map-detail-panel[hidden] {
  display: none;
}

.loading-spinner {
  width: 18px;
  height: 18px;
  border: 3px solid #c7dfd5;
  border-top-color: var(--brand);
  border-radius: 999px;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.map-legend {
  right: 16px;
  bottom: 18px;
  width: min(252px, calc(100% - 32px));
  padding: 12px;
}

.map-legend-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}

.map-legend h2 {
  margin-bottom: 2px;
  font-size: 1rem;
}

.map-legend p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.map-legend button {
  min-height: 30px;
  padding: 5px 8px;
  color: var(--brand-strong);
  background: #e7f4ef;
  border: 1px solid #c7dfd5;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

.map-legend button[hidden] {
  display: none;
}

.map-legend fieldset {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: 0;
}

.legend-filter {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 34px;
  padding: 7px 8px;
  color: var(--muted);
  background: rgba(244, 250, 247, 0.72);
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.legend-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.legend-filter:hover {
  color: var(--ink);
  background: #eef8f2;
}

.legend-filter:has(input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(11, 107, 87, 0.22);
}

.legend-filter:has(input:checked) {
  color: var(--ink);
  background: white;
  border-color: #a8d5c5;
  box-shadow: inset 0 0 0 1px #a8d5c5;
}

html[data-kind-filter-active] .legend-filter:not(:has(input:checked)) {
  opacity: 0.48;
}

html[data-kind-filter-active] .legend-filter:not(:has(input:checked)):hover {
  opacity: 0.8;
}

.legend-dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border: 2px solid white;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(16, 35, 31, 0.18);
}

.legend-ultra {
  background: #7c3aed;
}

.legend-rapid {
  background: #dc2626;
}

.legend-fast {
  background: #f59e0b;
}

.legend-standard {
  background: #0b6b57;
}

.map-detail-panel {
  right: 16px;
  bottom: 248px;
  width: min(360px, calc(100% - 32px));
  padding: 16px;
}

.map-detail-panel h2 {
  padding-right: 30px;
  font-size: 1.2rem;
}

.map-detail-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.map-detail-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  color: var(--muted);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 900;
}

.search-panel {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 32px));
  margin-left: clamp(16px, 4vw, 64px);
  padding-top: clamp(28px, 8vh, 88px);
}

.search-panel,
.quote-card,
.filters,
.results-panel,
.pricing-box,
.partner-grid article,
.partner-form-wrap {
  border: 1px solid rgba(217, 230, 223, 0.88);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.search-panel {
  padding: 28px;
  border-radius: 8px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 22px;
}

.search-form input,
.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #bed2ca;
  border-radius: 8px;
  outline: none;
}

.search-form input:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(11, 107, 87, 0.18);
}

.search-form button,
.lead-form button,
.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: white;
  background: var(--brand);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.search-form button:hover,
.lead-form button:hover,
.primary-link:hover {
  background: var(--brand-strong);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-links button {
  padding: 8px 11px;
  color: var(--brand-strong);
  background: #e7f4ef;
  border: 1px solid #c7dfd5;
  border-radius: 999px;
  font-weight: 800;
}

.status,
.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.status {
  margin: 16px 0 0;
}

.results-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) 340px;
  gap: 18px;
  width: min(1380px, calc(100% - 32px));
  margin: 24px auto 36px;
  align-items: start;
}

.filters,
.results-panel,
.quote-card {
  border-radius: 8px;
  padding: 20px;
}

.filters {
  position: sticky;
  top: 88px;
}

.filters h2 {
  margin-bottom: 18px;
}

.filter-group {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 18px;
  border: 0;
}

.filter-group legend {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-chip {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  background: white;
  border: 1px solid var(--line);
  border-left-width: 5px;
  border-radius: 8px;
  cursor: pointer;
}

.filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-chip span {
  color: var(--ink);
  font-weight: 900;
}

.filter-chip:has(input:checked) {
  background: #eef8f2;
  border-color: #a8d5c5;
  box-shadow: inset 0 0 0 1px #a8d5c5;
}

.filter-chip-ultra {
  border-left-color: #7c3aed;
}

.filter-chip-rapid {
  border-left-color: #dc2626;
}

.filter-chip-fast {
  border-left-color: #f59e0b;
}

.filter-chip-standard {
  border-left-color: #0b6b57;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  color: var(--ink);
  font-weight: 700;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.count-pill {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: var(--brand-strong);
  background: #e7f4ef;
  border-radius: 999px;
  font-weight: 900;
}

.charger-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.charger-card {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.charger-card:target,
.charger-card-active {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px rgba(11, 107, 87, 0.3);
}

.charger-type-badge {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 8px;
  color: white;
  background: var(--brand);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 900;
}

.charger-type-ultra {
  background: #7c3aed;
}

.charger-type-rapid {
  background: #dc2626;
}

.charger-type-fast {
  color: var(--ink);
  background: #f59e0b;
}

.charger-type-standard {
  background: #0b6b57;
}

.charger-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.charger-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.charger-meta li {
  padding: 6px 8px;
  color: var(--muted);
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
}

.charger-card button {
  margin-top: 12px;
  padding: 9px 11px;
  color: var(--brand-strong);
  background: white;
  border: 1px solid #bed2ca;
  border-radius: 8px;
  font-weight: 800;
}

.quote-card {
  position: sticky;
  top: 88px;
  background: var(--brand-strong);
  color: white;
}

.quote-card .eyebrow,
.quote-card .fine-print {
  color: #bce8d9;
}

.quote-card p {
  line-height: 1.5;
}

.lead-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.bot-field {
  display: none;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

.quote-card .lead-form button {
  color: var(--ink);
  background: var(--accent);
}

.quote-card .lead-form button:hover {
  background: #f0bb19;
}

.empty-state {
  padding: 26px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed #bed2ca;
  border-radius: 8px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--brand);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.page {
  background: linear-gradient(180deg, #e8f6f0 0, #ffffff 420px);
}

.partner-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  width: min(1120px, calc(100% - 32px));
  margin: 56px auto 28px;
  align-items: end;
}

.partner-copy h1 {
  max-width: 12ch;
}

.partner-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.pricing-box {
  padding: 26px;
  border-radius: 8px;
}

.pricing-box span {
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
}

.pricing-box strong {
  display: block;
  margin: 12px 0;
  font-size: 2rem;
}

.pricing-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.partner-grid,
.partner-form-wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 20px auto;
}

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

.partner-grid article,
.partner-form-wrap {
  padding: 24px;
  border-radius: 8px;
}

.partner-grid p,
.partner-form-wrap p {
  color: var(--muted);
  line-height: 1.55;
}

.partner-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.partner-form {
  margin-top: 0;
}

.commercial-grid {
  margin-top: 0;
}

.city-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 380px;
  gap: 26px;
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 24px;
  align-items: stretch;
}

.city-copy,
.city-quote-card,
.city-section,
.city-map-card,
.city-sponsor-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.city-copy {
  padding: clamp(24px, 4vw, 44px);
}

.city-copy h1 {
  max-width: 13ch;
}

.city-copy p,
.city-section p {
  color: var(--muted);
  line-height: 1.6;
}

.city-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.city-installer-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 16px;
  background: #eef8f2;
  border: 1px solid #c2dfcf;
  border-radius: 8px;
}

.city-installer-offer strong,
.territory-launch-offer strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}

.city-installer-offer span,
.territory-launch-offer span {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.city-installer-offer .secondary-link {
  flex: 0 0 auto;
  background: white;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  color: var(--brand-strong);
  background: #e7f4ef;
  border: 1px solid #c7dfd5;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.city-quote-card {
  padding: 22px;
  background: var(--brand-strong);
  color: white;
}

.city-quote-card .eyebrow,
.city-quote-card .fine-print {
  color: #bce8d9;
}

.city-quote-card .lead-form button {
  color: var(--ink);
  background: var(--accent);
}

.city-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 44px;
  align-items: start;
}

.city-section,
.city-map-card,
.city-sponsor-card {
  padding: 24px;
}

.city-section + .city-section {
  margin-top: 18px;
}

.city-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.city-list li {
  padding: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.city-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.city-sponsor-card {
  background: var(--brand-strong);
  color: white;
}

.city-sponsor-card h2 {
  max-width: 12ch;
}

.city-sponsor-card p,
.city-sponsor-card span,
.city-sponsor-card .eyebrow {
  color: #bce8d9;
}

.city-sponsor-card span {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
}

.city-sponsor-card .primary-link,
.city-sponsor-card .secondary-link {
  margin-top: 8px;
}

.city-sponsor-card-active {
  background: #123c33;
}

.sponsor-details {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.sponsor-details dt {
  color: #bce8d9;
  font-size: 0.82rem;
  font-weight: 800;
}

.sponsor-details dd {
  margin: 0;
  color: white;
  font-weight: 900;
}

.sponsor-details a {
  color: white;
}

.sponsor-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sponsor-actions .secondary-link {
  min-height: 44px;
}

.city-map-card a {
  color: var(--brand);
  font-weight: 800;
}

.city-directory {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 52px;
}

.city-directory-hero {
  max-width: 760px;
  margin-bottom: 24px;
}

.city-directory-hero h1 {
  max-width: 12ch;
}

.city-directory-hero p,
.city-directory-card p {
  color: var(--muted);
  line-height: 1.6;
}

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

.city-directory-card {
  padding: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.city-directory-card h2 {
  font-size: 1.18rem;
}

.city-directory-card a {
  color: var(--brand);
  font-weight: 800;
}

.legal-page {
  width: min(920px, calc(100% - 32px));
  margin: 42px auto 52px;
}

.legal-panel {
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-panel h1 {
  max-width: 14ch;
}

.legal-panel h2 {
  margin-top: 28px;
  font-size: 1.25rem;
}

.legal-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.legal-panel a,
.fine-print a {
  color: inherit;
  font-weight: 800;
}

.success-page {
  display: grid;
  width: min(860px, calc(100% - 32px));
  min-height: calc(100vh - 140px);
  margin: 0 auto;
  place-items: center;
}

.success-panel {
  padding: clamp(24px, 5vw, 48px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.success-panel h1 {
  max-width: 12ch;
}

.success-panel p,
.next-steps {
  color: var(--muted);
  line-height: 1.65;
}

.next-steps {
  margin: 22px 0;
  padding: 18px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.next-steps h2 {
  color: var(--ink);
  font-size: 1.2rem;
}

.reservation-receipt {
  margin: 22px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reservation-receipt h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.reservation-receipt dl {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.reservation-receipt dl div {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) 1fr;
  gap: 12px;
  align-items: baseline;
}

.reservation-receipt dt {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reservation-receipt dd {
  margin: 0;
  font-weight: 800;
}

.reservation-receipt p {
  margin-bottom: 14px;
}

.media-kit {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 52px;
}

.media-hero {
  max-width: 820px;
  margin-bottom: 22px;
}

.media-hero h1 {
  max-width: 13ch;
}

.media-hero p,
.media-grid p,
.media-territories p {
  color: var(--muted);
  line-height: 1.6;
}

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

.media-stats article,
.media-grid article,
.media-territories {
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.media-stats span {
  display: block;
  color: var(--brand);
  font-size: 2.4rem;
  font-weight: 900;
}

.media-grid {
  margin-top: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-territories {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.sponsor-offer-page {
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 52px;
}

.sponsor-offer-hero,
.sponsor-offer-process,
.sponsor-offer-grid article {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.sponsor-offer-hero {
  padding: clamp(24px, 4vw, 44px);
}

.sponsor-offer-hero h1 {
  max-width: 15ch;
}

.sponsor-offer-hero p,
.sponsor-offer-grid p,
.sponsor-offer-process li {
  color: var(--muted);
  line-height: 1.6;
}

.sponsor-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

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

.sponsor-offer-grid article,
.sponsor-offer-process {
  padding: 20px;
}

.sponsor-offer-grid span {
  display: block;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 900;
}

.sponsor-offer-grid h2 {
  font-size: 1.1rem;
}

.sponsor-offer-process {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
}

.sponsor-offer-process ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.territory-page {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 52px;
}

.territory-hero {
  max-width: 860px;
  margin-bottom: 22px;
}

.territory-hero h1 {
  max-width: 12ch;
}

.territory-hero p,
.territory-card p,
.territory-card dt,
.territory-metrics span {
  color: var(--muted);
  line-height: 1.6;
}

.territory-metrics,
.territory-grid {
  display: grid;
  gap: 14px;
}

.territory-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.territory-launch-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 20px;
  background: #eef8f2;
  border: 1px solid #c2dfcf;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.territory-metrics article,
.territory-card {
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.territory-metrics strong {
  display: block;
  color: var(--brand);
  font-size: 2rem;
}

.territory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.territory-card {
  display: grid;
  gap: 16px;
}

.territory-card h2 {
  font-size: 1.2rem;
}

.territory-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.territory-card dt {
  font-size: 0.86rem;
}

.territory-card dd {
  margin: 0;
  font-weight: 900;
}

.territory-actions {
  display: grid;
  gap: 10px;
}

.territory-actions .primary-link,
.territory-actions .secondary-link {
  width: 100%;
  min-height: 42px;
  text-align: center;
}

.deals-page {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 52px;
}

.deals-hero {
  max-width: 820px;
  margin-bottom: 22px;
}

.deals-hero h1 {
  max-width: 12ch;
}

.deals-hero p,
.deals-grid p {
  color: var(--muted);
  line-height: 1.6;
}

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

.deals-grid article {
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.deals-grid h2 {
  font-size: 1.2rem;
}

.deals-grid a,
.quote-card-link {
  color: var(--brand);
  font-weight: 800;
}

.deals-quote-layout {
  width: 100%;
}

.quote-card-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent);
}

.reserve-page {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 42px auto 52px;
  align-items: start;
}

.reserve-copy,
.reserve-form-card {
  padding: clamp(22px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reserve-copy h1 {
  max-width: 12ch;
}

.reserve-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.reserve-summary {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.reserve-summary article {
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reserve-summary strong {
  display: block;
  color: var(--brand);
  font-size: 2rem;
}

.reserve-summary span {
  color: var(--muted);
  font-weight: 800;
}

.terms-check {
  align-items: flex-start;
  color: var(--ink);
}

@media (max-width: 1050px) {
  .results-layout,
  .partner-hero,
  .partner-form-wrap,
  .city-hero,
  .city-content,
  .reserve-page {
    grid-template-columns: 1fr;
  }

  .city-installer-offer,
  .territory-launch-offer {
    display: grid;
  }

  .city-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-stats,
  .media-grid,
  .sponsor-offer-grid,
  .deals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .media-territories {
    align-items: flex-start;
    flex-direction: column;
  }

  .sponsor-offer-process {
    grid-template-columns: 1fr;
  }

  .filters,
  .quote-card,
  .city-sidebar,
  .city-map-card {
    position: static;
  }

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

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
  }

  .topnav {
    width: 100%;
    justify-content: space-between;
  }

  .map-stage {
    min-height: 760px;
  }

  .map-loading {
    top: 12px;
    width: max-content;
    max-width: calc(100% - 24px);
    font-size: 0.86rem;
  }

  .map-legend {
    right: 12px;
    bottom: 12px;
    width: min(238px, calc(100% - 24px));
    padding: 10px;
  }

  .map-legend h2 {
    font-size: 0.92rem;
  }

  .map-legend p,
  .map-legend button {
    font-size: 0.72rem;
  }

  .legend-filter {
    min-height: 32px;
    padding: 6px 7px;
    font-size: 0.8rem;
  }

  .map-detail-panel {
    right: 12px;
    bottom: 238px;
    width: min(340px, calc(100% - 24px));
    max-height: 44vh;
    overflow: auto;
  }

  .search-panel {
    width: calc(100% - 24px);
    margin: 12px;
    padding: 20px;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  .results-layout {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .filters {
    padding: 16px;
  }

  .filter-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-group legend {
    grid-column: 1 / -1;
  }

  .filter-chip {
    min-height: 40px;
  }

  .city-directory-grid {
    grid-template-columns: 1fr;
  }

  .media-stats,
  .media-grid,
  .sponsor-offer-grid,
  .deals-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }
}
