/* BELL-1.claude | tasks 86bbrvrmd, 86bbtn1kr + 2026-09-02 professional redesign | local Phase A.
   Pinned palette (Will 2026-09-02): Mineral, Paper, Ink, Mist, Signal green. Self-hosted
   Public Sans (OFL). Light only. Zero network requests. */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/public-sans-latin-wght-italic.woff2") format("woff2");
}

:root {
  --mineral: #eef2ed;
  --paper: #f8faf7;
  --ink: #172429;
  --ink-2: #3d4f55;
  --ink-3: #66787e;
  --mist: #c8d3cd;
  --mist-2: #dfe6e2;
  --signal: #4f786e;
  --signal-deep: #3d6157;
  --signal-tint: #e3ece7;
  --danger: #8a3b2e;
  --radius: 10px;
  --radius-s: 6px;
  --shadow: 0 12px 32px rgba(23, 36, 41, 0.14), 0 1px 2px rgba(23, 36, 41, 0.08);
  --shadow-s: 0 4px 14px rgba(23, 36, 41, 0.12), 0 1px 1px rgba(23, 36, 41, 0.06);
  --bar-h: 64px;
  --panel-w: 380px;
  --font: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--mineral);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--signal);
}

::selection { background: var(--signal); color: var(--paper); }

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -0.025em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 1em; }

a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--signal-deep); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: var(--radius-s); }

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

/* ---------- Icons: one 1.75px stroke set, drawn inline ---------- */
.ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ic-s { width: 15px; height: 15px; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--bar-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  background: var(--paper);
  border-bottom: 1px solid var(--mist);
}
.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.fieldmark { display: inline-block; width: 32px; height: 32px; }
.fieldmark svg { display: block; width: 100%; height: 100%; }
.topnav { display: flex; gap: 0.25rem; }
.topnav a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 600;
  text-decoration: none;
  transition: background 120ms ease-out, color 120ms ease-out;
}
.topnav a:hover { background: var(--mineral); color: var(--ink); }
.topnav a[aria-current="page"] { color: var(--ink); background: var(--signal-tint); }
.topbar .cta { justify-self: end; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.93rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 120ms ease-out, border-color 120ms ease-out, transform 80ms ease-out;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--signal); color: var(--paper); }
.btn-primary:hover { background: var(--signal-deep); color: var(--paper); }
.btn-quiet { background: var(--paper); color: var(--ink); border-color: var(--mist); }
.btn-quiet:hover { background: var(--mineral); }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ---------- App shell: map pages ---------- */
body.shell { overflow: hidden; }
.app {
  position: relative;
  height: calc(100vh - var(--bar-h));
  height: calc(100dvh - var(--bar-h));
}
.app #map { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--mist-2); }

.panel {
  position: absolute;
  top: 16px;
  left: 16px;
  bottom: 16px;
  z-index: 10;
  width: var(--panel-w);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-head { padding: 14px 16px 12px; border-bottom: 1px solid var(--mist-2); }
.panel-body { flex: 1; overflow: auto; padding: 12px 16px 16px; scrollbar-width: thin; scrollbar-color: var(--mist) transparent; }
.panel-body::-webkit-scrollbar { width: 8px; }
.panel-body::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 8px; border: 2px solid var(--paper); }
.panel-foot { padding: 10px 16px; border-top: 1px solid var(--mist-2); font-size: 0.78rem; color: var(--ink-3); }
.panel-foot a { color: var(--ink-3); }

.search {
  position: relative;
  display: flex;
  align-items: center;
}
.search .ic { position: absolute; left: 12px; color: var(--ink-3); pointer-events: none; }
#map-search {
  width: 100%;
  padding: 0.6rem 0.9rem 0.6rem 2.4rem;
  border: 1px solid var(--mist);
  border-radius: 999px;
  background: var(--mineral);
  color: var(--ink);
  transition: border-color 120ms ease-out, background 120ms ease-out;
}
#map-search::placeholder { color: var(--ink-3); }
#map-search:focus { outline: none; border-color: var(--signal); background: var(--paper); box-shadow: 0 0 0 3px var(--signal-tint); }
.map-search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 30;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.map-search-results button {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}
.map-search-results button:hover, .map-search-results button:focus-visible { background: var(--mineral); outline: none; }
.map-search-results button span {
  min-width: 3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--signal);
  text-transform: uppercase;
}

.map-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; margin-top: 12px; font-size: 0.85rem; color: var(--ink-3); }
.map-crumbs button { border: 0; background: none; padding: 0.1rem 0.15rem; color: var(--signal); font-weight: 600; cursor: pointer; border-radius: 4px; }
.map-crumbs button:hover { color: var(--signal-deep); text-decoration: underline; }
.map-crumbs strong { color: var(--ink); font-weight: 700; }
.map-crumbs a { margin-left: auto; font-size: 0.8rem; font-weight: 600; }

.panel h1 { font-size: 1.32rem; margin-top: 10px; }
.panel .lede { margin: 4px 0 0; font-size: 0.9rem; color: var(--ink-2); }
.count-line { display: flex; align-items: center; gap: 0.5rem; margin: 8px 0 0; font-size: 0.86rem; color: var(--ink-3); }
.count-line b { color: var(--ink); font-weight: 700; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 12px 0 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--mist);
  background: var(--paper);
  color: var(--ink-2);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out;
}
.chip:hover { border-color: var(--signal); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: var(--paper); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); }
.chip[aria-pressed="true"] .dot { background: var(--paper); }

.section-title-gap { margin-top: 18px; }
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 6px 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Index lists in the panel: A-Z DOWN the columns (Will's 2026-09-02 ruling). */
.index-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1rem; }
.index-list li { break-inside: avoid; }
.index-list a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.36rem 0.4rem;
  margin: 0 -0.4rem;
  border-radius: var(--radius-s);
  color: var(--ink);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}
.index-list a:hover { background: var(--mineral); color: var(--signal-deep); }
.index-list .count { font-size: 0.78rem; color: var(--ink-3); font-weight: 600; }
.index-list.single { columns: 1; }

/* Listing rows inside the panel: hairline-divided, never boxed. */
.rows { list-style: none; margin: 0 -16px; padding: 0; }
.row {
  display: block;
  padding: 11px 16px;
  border-top: 1px solid var(--mist-2);
  color: var(--ink);
  text-decoration: none;
  transition: background 120ms ease-out;
}
.rows li:last-child .row { border-bottom: 1px solid var(--mist-2); }
.row:hover { background: var(--mineral); color: var(--ink); }
.row:hover h3 { color: var(--signal-deep); }
.row h3 { font-size: 0.95rem; transition: color 120ms ease-out; }
.row .address { margin: 2px 0 6px; font-size: 0.82rem; color: var(--ink-3); }
.tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tag { display: inline-block; padding: 0.12rem 0.5rem; border-radius: 999px; background: var(--signal-tint); color: var(--signal-deep); font-size: 0.74rem; font-weight: 600; }
.tag.ink { background: var(--mineral); color: var(--ink-2); }

/* Property detail inside the panel */
.detail .address { margin: 4px 0 12px; color: var(--ink-2); font-size: 0.9rem; }
.facts { margin: 0; border-top: 1px solid var(--mist-2); }
.fact { display: grid; grid-template-columns: 7.4rem 1fr; gap: 0.6rem; padding: 0.5rem 0; border-bottom: 1px solid var(--mist-2); font-size: 0.9rem; }
.fact dt { color: var(--ink-3); }
.fact dd { margin: 0; font-weight: 600; color: var(--ink); }
.freshness { display: flex; align-items: center; gap: 0.4rem; margin: 12px 0 0; font-size: 0.8rem; color: var(--ink-3); }
.freshness .ic { color: var(--signal); }
.connect-card {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--signal-tint);
  color: var(--ink);
}
.connect-card p { margin: 0 0 10px; font-size: 0.88rem; color: var(--ink-2); }
.connect-card h3 { font-size: 0.95rem; margin-bottom: 4px; }

/* Map chrome */
.map-legend, .map-tooltip { position: absolute; z-index: 5; font-size: 0.74rem; }
.map-legend {
  left: calc(var(--panel-w) + 32px);
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 6px 10px;
  background: var(--paper);
  border: 1px solid var(--mist);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-s);
  color: var(--ink-2);
}
.map-legend span { font-weight: 700; color: var(--ink); margin-right: 0.25rem; }
.map-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid rgba(23, 36, 41, 0.1); }
.map-legend em { font-style: normal; margin-right: 0.4rem; }
.map-tooltip { pointer-events: none; background: var(--ink); color: var(--paper); padding: 4px 10px; border-radius: var(--radius-s); white-space: nowrap; z-index: 20; }
.map-tooltip b { font-weight: 700; }

.near-me { position: absolute; top: 16px; right: 64px; z-index: 5; }
.near-me .btn { box-shadow: var(--shadow-s); }

.maplibregl-ctrl-group { border-radius: var(--radius-s) !important; box-shadow: var(--shadow-s) !important; border: 1px solid var(--mist); background: var(--paper) !important; }
.maplibregl-ctrl-top-right { top: 16px !important; right: 16px !important; }
.maplibregl-ctrl-top-right .maplibregl-ctrl { margin: 0 0 8px 0 !important; }
.maplibregl-ctrl-group button { width: 34px !important; height: 34px !important; }
.maplibregl-ctrl-group button + button { border-top-color: var(--mist-2) !important; }
.maplibregl-popup-content {
  font-family: var(--font);
  padding: 12px 14px !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow) !important;
  color: var(--ink);
}
.maplibregl-popup-close-button { font-size: 18px; color: var(--ink-3); padding: 2px 8px; }
.dot-popup { font-size: 0.86rem; line-height: 1.4; }
.dot-popup strong { display: block; font-size: 0.95rem; margin-bottom: 2px; padding-right: 14px; }
.dot-popup div { color: var(--ink-2); }
.dot-popup a { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 8px; font-weight: 700; text-decoration: none; }
.dot-popup em { display: block; margin-top: 8px; font-style: normal; color: var(--ink-3); }

/* ---------- Content pages ---------- */
.page { max-width: 72rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 3vw, 2rem) 4rem; }
.page-head { max-width: 46rem; margin-bottom: 2rem; }
.page-head .lede { font-size: 1.1rem; color: var(--ink-2); margin: 0.7rem 0 0; }
.crumbs { display: flex; gap: 0.35rem; font-size: 0.85rem; color: var(--ink-3); margin-bottom: 0.8rem; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }

.hero-photo {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--mist-2);
  box-shadow: var(--shadow-s);
}
.photo-credit { font-size: 0.74rem; color: var(--ink-3); margin: 0.5rem 0 0; }

/* Guides index: one lead feature, then an editorial list divided by hairlines. */
.guide-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; color: var(--ink); text-decoration: none; margin-bottom: 2.5rem; }
.guide-feature img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--mist-2); box-shadow: var(--shadow-s); }
.guide-feature h2 { font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem); letter-spacing: -0.02em; margin-bottom: 0.7rem; }
.guide-feature p { margin: 0; font-size: 1.05rem; color: var(--ink-2); }
.guide-feature:hover h2 { color: var(--signal-deep); }
.more { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.9rem; font-size: 0.86rem; font-weight: 700; color: var(--signal); }
.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); max-width: 60rem; }
.guide-list li { border-bottom: 1px solid var(--mist); }
.guide-list a { display: grid; grid-template-columns: 11rem minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; padding: 1.1rem 0; color: var(--ink); text-decoration: none; }
.guide-list img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-s); background: var(--mist-2); }
.guide-list h2 { font-size: 1.1rem; margin-bottom: 0.3rem; transition: color 120ms ease-out; }
.guide-list p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }
.guide-list .more { margin: 0; color: var(--ink-3); }
.guide-list a:hover h2 { color: var(--signal-deep); }
.guide-list a:hover .more { color: var(--signal); }

.article { max-width: 44rem; }
.article .hero-photo { margin: 1.6rem 0 0.2rem; aspect-ratio: 16 / 8; }
.article h2 { margin: 2rem 0 0.6rem; font-size: 1.25rem; }
.article p, .article li { font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.article ul, .article ol { padding-left: 1.3rem; }
.article li { margin: 0.45rem 0; }
.article li strong { color: var(--ink); }
.article .lede { font-size: 1.15rem; color: var(--ink-2); margin: 0.7rem 0 0; }
.article-foot { max-width: 44rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--mist); display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; justify-content: space-between; font-size: 0.9rem; color: var(--ink-2); }

/* Connect page */
.connect-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.connect-intro .hero-photo { aspect-ratio: 4 / 3; margin: 1.4rem 0 0.2rem; }
.steps { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 0.8rem; align-items: start; }
.steps .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--signal); color: var(--signal); font-weight: 700; font-size: 0.9rem; }
.steps h3 { font-size: 0.98rem; margin-bottom: 0.15rem; }
.steps p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }

.form-panel { background: var(--paper); border: 1px solid var(--mist); border-radius: var(--radius); padding: clamp(1.1rem, 2.5vw, 1.8rem); box-shadow: var(--shadow-s); }
.lead-form { display: grid; gap: 0.9rem; }
.lead-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.intent { border: 0; padding: 0; margin: 0 0 0.6rem; display: grid; }
.intent legend { font-weight: 700; font-size: 1rem; padding: 0 0 0.4rem; }
.lead-form label.intent-option {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 0 -0.4rem;
  padding: 0.75rem 0.6rem;
  border-top: 1px solid var(--mist-2);
  border-radius: var(--radius-s);
  font-weight: 400;
  cursor: pointer;
  transition: background 120ms ease-out;
}
.lead-form label.intent-option:last-of-type { border-bottom: 1px solid var(--mist-2); }
.lead-form label.intent-option:hover { background: var(--mineral); }
.intent-option:has(input:checked) { background: var(--signal-tint); }
.intent-option:has(input:checked) strong { color: var(--signal-deep); }
.intent-option input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--signal); }
.intent-option span { font-size: 0.9rem; line-height: 1.45; color: var(--ink-2); }
.intent-option strong { display: block; color: var(--ink); font-size: 0.95rem; margin-bottom: 0.1rem; }
.lead-form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.88rem; color: var(--ink-2); }
.lead-form input:not([type='radio']), .lead-form textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--mist);
  border-radius: var(--radius-s);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
  transition: border-color 120ms ease-out, box-shadow 120ms ease-out;
}
.lead-form input:not([type='radio']):focus, .lead-form textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-tint); }
.lead-form textarea { resize: vertical; min-height: 6rem; }
.lead-form .actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.3rem; }
.consent { margin: 0; font-size: 0.82rem; color: var(--ink-3); }
[data-form-status] { margin: 0; font-size: 0.9rem; min-height: 1.3em; }
[data-form-status][data-state="error"] { color: var(--danger); }
[data-form-status][data-state="success"] { color: var(--signal-deep); font-weight: 600; }
[data-form-status][data-state="loading"] { color: var(--ink-3); }

/* Credits */
.credits-list { list-style: none; margin: 0 0 2.5rem; padding: 0; max-width: 52rem; border-top: 1px solid var(--mist); }
.credits-list > li { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--mist); font-size: 0.95rem; }
.credits-list > li > b { font-weight: 700; }
.credits-list ul { margin: 0.4rem 0 0; padding-left: 1.1rem; color: var(--ink-2); font-size: 0.88rem; }
.credits-list ul li { margin: 0.15rem 0; }
.article-foot a { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }
.article-foot a:hover { text-decoration: underline; }
.notice-sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0 1.5rem; margin: 0.6rem 0 2.5rem; max-width: 52rem; }
.notice-sets section { padding: 0.7rem 0; border-top: 1px solid var(--mist); font-size: 0.9rem; }
.notice-sets h3 { font-size: 0.9rem; margin-bottom: 0.3rem; }
.notice-sets p { margin: 0; color: var(--ink-2); }
details { border-top: 1px solid var(--mist); padding: 0.7rem 0; margin: 0; max-width: 52rem; }
details:last-of-type { border-bottom: 1px solid var(--mist); }
summary { cursor: pointer; font-weight: 600; }
summary:hover { color: var(--signal-deep); }
details pre { white-space: pre-wrap; font-size: 0.78rem; color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--mist);
  background: var(--paper);
  padding: 1.6rem clamp(1rem, 3vw, 2rem) 2rem;
  font-size: 0.84rem;
  color: var(--ink-3);
}
.site-footer .inner { max-width: 72rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.site-footer p { margin: 0; max-width: 46rem; }
.site-footer nav { display: flex; gap: 1.2rem; }
.site-footer a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.site-footer a:hover { color: var(--signal); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .topbar { grid-template-columns: auto 1fr auto; gap: 0.6rem; }
  .topnav { justify-self: end; }
  .topnav a { padding: 0.4rem 0.55rem; font-size: 0.9rem; }
  .topbar .cta .btn { padding: 0.5rem 0.8rem; font-size: 0.86rem; }

  body.shell { overflow: auto; }
  .app { height: auto; }
  .app #map { position: relative; height: 48vh; min-height: 300px; }
  .panel { position: static; width: auto; margin: -12px 0 0; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -8px 24px rgba(23, 36, 41, 0.12); }
  .panel-body { overflow: visible; }
  .map-legend { left: 12px; bottom: 24px; }
  .near-me { right: 52px; top: 12px; }
  .connect-grid { grid-template-columns: 1fr; }
  .lead-form .grid-2 { grid-template-columns: 1fr; }
  .guide-feature { grid-template-columns: 1fr; gap: 1rem; }
  .guide-list a { grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; }
  .guide-list .more { display: none; }
  .credits-list > li { grid-template-columns: 1fr; gap: 0.2rem; }
}
@media (max-width: 560px) {
  .topbar { padding: 0 0.8rem; }
  .topbar .cta { display: none; }
  .wordmark { font-size: 0.95rem; gap: 0.45rem; }
  .fieldmark { width: 28px; height: 28px; }
  .topnav a { padding: 0.5rem 0.45rem; font-size: 0.86rem; }
  .chip { padding: 0.45rem 0.7rem; }
  .index-list a { font-size: 0.86rem; padding: 0.45rem 0.3rem; }
  .panel-head, .panel-body { padding-left: 14px; padding-right: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

@media (max-width: 430px) {
  .topbar { padding: 0 0.6rem; gap: 0.35rem; }
  .wordmark { font-size: 0.88rem; gap: 0.4rem; }
  .fieldmark { width: 26px; height: 26px; }
  .topnav { gap: 0.1rem; }
  .topnav a { padding: 0.5rem 0.32rem; font-size: 0.82rem; }
}
