:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5f6673;
  --line: #e3e6eb;
  --accent: #0f7b6c;
  --accent-ink: #ffffff;
  --accent-soft: #e3f3f0;
  --danger: #b42318;
  --shadow: 0 6px 24px rgba(16, 24, 40, 0.14);
  --radius: 12px;

  --t-society: #2563eb;
  --t-builder_floor: #c2410c;
  --t-independent: #15803d;
  --t-pg: #9333ea;

  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: #f4f6f8; }
#map { position: absolute; inset: 0; z-index: 0; }
[hidden] { display: none !important; }
button, input, select { font: inherit; color: inherit; }
h2 { font-size: 18px; margin: 0; }
h3 { font-size: 15px; margin: 18px 0 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
code { font-size: 12px; background: rgba(0,0,0,.06); padding: 1px 4px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  border: 1px solid var(--line); background: var(--surface); border-radius: 10px;
  padding: 9px 14px; cursor: pointer; font-weight: 600; font-size: 14px; white-space: nowrap;
}
.btn:hover { border-color: #c8cdd5; }
.btn:focus-visible, .chips button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); border-color: var(--accent); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn.small { padding: 5px 10px; font-size: 13px; }
.icon-only { width: 38px; padding: 9px 0; }
.badge {
  display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 12px; line-height: 18px; text-align: center;
}

/* ---------- Top bar ---------- */
.topbar {
  position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1000;
  display: flex; gap: 8px; align-items: center;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px;
  max-width: 760px;
}
.brand { display: flex; align-items: center; gap: 8px; padding: 0 6px; font-weight: 800; }
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 16px;
}
.search { position: relative; flex: 1; min-width: 0; }
.search input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #f7f8fa;
}
.search-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; margin: 0; padding: 4px;
  list-style: none; background: var(--surface); border-radius: 10px; box-shadow: var(--shadow);
  max-height: 300px; overflow: auto;
}
.search-list li { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; }
.search-list li[aria-selected="true"], .search-list li:hover { background: var(--accent-soft); }
.search-list li .sub { color: var(--muted); font-size: 12px; margin-left: 6px; }

.demo-banner {
  position: absolute; top: 116px; left: 12px; z-index: 999; max-width: 760px; right: 12px;
  background: #fff7e0; border: 1px solid #f1d48a; color: #6b4e00; border-radius: 10px;
  padding: 7px 12px; font-size: 13px;
}

/* ---------- Panels / modals ---------- */
.panel, .sheet {
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px;
}
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.close {
  border: 0; background: transparent; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted);
  width: 32px; height: 32px; border-radius: 8px;
}
.close:hover { background: #f1f3f6; }
.panel-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }

.filter-panel {
  position: absolute; z-index: 1001; top: 116px; left: 12px; width: min(380px, calc(100vw - 24px));
  max-height: calc(100vh - 136px); overflow: auto;
}

.modal {
  position: fixed; inset: 0; z-index: 2000; background: rgba(16, 24, 40, .45);
  display: grid; place-items: center; padding: 16px;
}
.modal .sheet { width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.modal p { line-height: 1.5; }

.field { margin: 12px 0; }
.label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.field input[type="number"], .field input[type="text"], .field select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff;
}
.hint { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; min-height: 1em; }
.hint.warn { color: #92400e; }
.row { display: flex; align-items: center; gap: 8px; }
.row .dash { color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: 14px;
}
.chips button[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); color: #0b5a4f; font-weight: 600; }

details.more { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 10px; }
details.more summary { cursor: pointer; font-weight: 600; font-size: 14px; padding: 4px 0; }
.form-error { color: var(--danger); font-size: 14px; margin: 10px 0 0; }
.ticks { padding-left: 18px; line-height: 1.55; }
.ticks li { margin: 4px 0; }

/* ---------- Stats card ---------- */
.stats {
  position: absolute; z-index: 900; right: 12px; top: 12px; width: 280px;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stats-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  border: 0; background: transparent; padding: 12px 14px; cursor: pointer; font-weight: 700; font-size: 14px;
}
.stats-count { color: var(--muted); font-weight: 500; font-size: 13px; }
.stats-body { padding: 0 14px 12px; }
.stats table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.stats th { text-align: left; color: var(--muted); font-weight: 500; padding: 4px 0; border-bottom: 1px solid var(--line); }
.stats td { padding: 6px 0; border-bottom: 1px solid #f0f2f5; }
.stats td.num, .stats th.num { text-align: right; }
.stats .range { color: var(--muted); font-size: 12px; }
.stats .empty { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0; }
.stats.collapsed .stats-body { display: none; }

/* ---------- Legend ---------- */
.legend {
  position: absolute; z-index: 900; left: 12px; bottom: 24px; display: flex; flex-wrap: wrap; gap: 10px;
  background: rgba(255,255,255,.94); border-radius: 10px; padding: 7px 10px; font-size: 12px; box-shadow: var(--shadow);
}
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.t-society { background: var(--t-society); }
.t-builder_floor { background: var(--t-builder_floor); }
.t-independent { background: var(--t-independent); }
.t-pg { background: var(--t-pg); }

/* ---------- FAB + placing ---------- */
.fab {
  position: absolute; z-index: 950; right: 16px; bottom: 28px;
  background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 14px 20px;
  font-weight: 700; font-size: 15px; box-shadow: 0 8px 24px rgba(15, 123, 108, .4); cursor: pointer;
}
.fab:hover { filter: brightness(1.08); }
.placing-hint {
  position: absolute; z-index: 1000; left: 50%; transform: translateX(-50%); bottom: 96px;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 10px 8px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); font-weight: 600; font-size: 14px;
}
.placing-hint .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
body.placing #map { cursor: crosshair; }
body.placing .leaflet-container { cursor: crosshair; }

/* ---------- Markers ---------- */
.rent-pin {
  display: inline-block; transform: translate(-50%, -100%);
  background: var(--c, var(--t-society)); color: #fff; font-weight: 700; font-size: 12px;
  padding: 3px 7px; border-radius: 8px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.25);
  border: 2px solid #fff; position: relative; font-variant-numeric: tabular-nums;
}
.rent-pin::after {
  content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #fff;
}
.rent-pin.mine { outline: 2px solid #111; }
.rent-pin.flag { opacity: .55; }
.leaflet-div-icon.rent-icon { background: transparent; border: 0; }

.rent-cluster {
  background: rgba(15, 123, 108, .92); color: #fff; border-radius: 999px; border: 3px solid #fff;
  display: grid; place-items: center; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,.25);
  line-height: 1.05; font-variant-numeric: tabular-nums;
}
.rent-cluster b { font-size: 13px; }
.rent-cluster small { font-size: 10px; opacity: .9; }
.leaflet-div-icon.rent-cluster-icon { background: transparent; border: 0; }

.new-pin-dot {
  width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(15,123,108,.3);
}

/* ---------- Popup ---------- */
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 12px 14px; min-width: 220px; font-size: 13px; line-height: 1.45; }
.pop-rent { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pop-rent small { font-size: 13px; font-weight: 500; color: var(--muted); }
.pop-meta { color: var(--muted); margin: 2px 0 8px; }
.pop-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.pop-tags span { background: #f1f3f6; border-radius: 6px; padding: 2px 7px; font-size: 12px; }
.pop-note { font-style: italic; margin: 6px 0; }
.pop-compare { background: var(--accent-soft); border-radius: 8px; padding: 6px 8px; margin: 8px 0; }
.pop-warn { background: #fff4e5; color: #8a4b00; border-radius: 8px; padding: 6px 8px; margin: 8px 0; }
.pop-actions { display: flex; gap: 8px; justify-content: space-between; align-items: center; margin-top: 8px; }
.pop-actions button { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 4px 0; font-size: 12px; text-decoration: underline; }
.pop-actions button.danger { color: var(--danger); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 3000; left: 50%; bottom: 100px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px;
  box-shadow: var(--shadow); max-width: calc(100vw - 32px);
}

.leaflet-bottom.leaflet-right .leaflet-control-zoom { margin-bottom: 84px; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .leaflet-control-zoom { display: none; }
  .brand-name { display: none; }
  .topbar { right: 12px; }
  .stats { top: auto; bottom: 92px; left: 12px; right: 12px; width: auto; }
  .stats:not(.collapsed) .stats-body { max-height: 32vh; overflow: auto; }
  .legend { display: none; }
  .fab { bottom: 24px; left: 50%; right: auto; transform: translateX(-50%); }
  .placing-hint { bottom: 150px; }
  .modal { place-items: end center; padding: 0; }
  .modal .sheet { width: 100%; border-radius: 16px 16px 0 0; max-height: 92vh; }
  .demo-banner { top: 112px; }
  .toast { bottom: auto; top: 76px; }
}
@media (min-width: 721px) {
  .stats { top: 12px; }
  .topbar { right: 308px; }
}

/* ================= v2: modes, listings, seekers, contact ================= */
.modes {
  position: absolute; z-index: 999; top: 70px; left: 12px; display: flex; gap: 4px;
  background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); padding: 4px;
}
.modes button {
  border: 0; background: transparent; border-radius: 9px; padding: 8px 14px; cursor: pointer;
  font-weight: 600; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px;
}
.modes button:hover { color: var(--ink); background: #f3f4f6; }
.modes button[aria-selected="true"] { background: var(--ink); color: #fff; }
.modes button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mode-count:empty { display: none; }
.mode-count {
  font-size: 11px; min-width: 18px; padding: 0 5px; border-radius: 9px; line-height: 18px; text-align: center;
  background: var(--accent-soft); color: #0b5a4f;
}
.modes button[aria-selected="true"] .mode-count { background: rgba(255,255,255,.2); color: #fff; }

/* add menu */
.choices { display: grid; gap: 10px; margin: 6px 0 12px; }
.choice {
  display: flex; gap: 12px; align-items: flex-start; text-align: left; cursor: pointer;
  border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 14px;
}
.choice:hover { border-color: var(--accent); background: #f6fbfa; }
.choice:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice strong { display: block; font-size: 15px; margin-bottom: 3px; }
.choice small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.choice-icon {
  flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft);
  display: grid; place-items: center; font-size: 18px; font-weight: 800; color: var(--accent);
}
.btn.wide { width: 100%; }

.field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font: inherit; resize: vertical;
}
.field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field input[type="tel"] { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; }
.contact-box { background: #f7f8fa; border-radius: 12px; padding: 4px 12px 8px; margin-top: 14px; }
.contact-box .field input { background: #fff; }

/* pins */
.rent-pin.pin-seeker { border-style: dashed; }
.rent-cluster.c-listings { background: rgba(4, 120, 87, .92); }
.rent-cluster.c-seekers { background: rgba(51, 65, 85, .92); }

/* popups */
.pop-kind { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pop-kind.k-listing { color: #047857; }
.pop-kind.k-seeker { color: #334155; }
.pop-cta { display: flex; gap: 8px; margin: 10px 0 2px; }
.pop-cta .btn { flex: 1; }
.pop-btns { display: inline-flex; gap: 10px; }
.leaflet-popup-content .btn { color: inherit; }
.leaflet-popup-content .btn-primary { color: #fff; }

/* results list */
.results { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 8px; }
.results li { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.r-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; }
.r-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.r-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.dist { font-size: 12px; color: #0b5a4f; }
.btn.danger { color: var(--danger); }

/* contact */
.contact-name { font-size: 18px; font-weight: 700; margin: 4px 0 0; }
.contact-phone { font-size: 24px; font-weight: 800; letter-spacing: .02em; margin: 2px 0 14px; font-variant-numeric: tabular-nums; }
.contact-actions { display: flex; gap: 8px; }
.contact-actions .btn { flex: 1; text-align: center; text-decoration: none; }
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; text-decoration: none; }
.btn-wa:hover { filter: brightness(1.05); border-color: #25d366; }
.safety { margin-top: 14px; background: #fff7e0; color: #6b4e00; border-radius: 8px; padding: 8px 10px; }

@media (max-width: 720px) {
  .modes { top: 66px; left: 12px; right: 12px; }
  .modes button { flex: 1; justify-content: center; padding: 8px 6px; }
  .filter-panel { top: 112px; max-height: calc(100vh - 210px); }
}

/* ================= v3: report flags, side tools, how-to tour ================= */
.flag-badge {
  position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%);
  background: #dc2626; color: #fff; font-size: 10px; font-weight: 700; line-height: 1;
  padding: 3px 6px; border-radius: 6px; white-space: nowrap; box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.flag-badge.static { position: static; transform: none; display: inline-block; margin-right: 5px; box-shadow: none; }
.pop-flag { background: #fee2e2; color: #991b1b; border-radius: 8px; padding: 6px 8px; margin: 8px 0; font-weight: 600; }

.tools {
  position: absolute; z-index: 900; right: 12px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 8px;
}
.tool {
  width: 60px; padding: 8px 0 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  box-shadow: var(--shadow); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 600; color: var(--ink);
}
.tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool:hover { border-color: #c8cdd5; }
.tool:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tool[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.station-tip { font-weight: 600; }

.tour { position: fixed; inset: 0; z-index: 2500; }
.tour.dim { background: rgba(16, 24, 40, .55); }
.tour-spot {
  position: fixed; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 4px rgba(15,123,108,.9), 0 0 0 9999px rgba(16, 24, 40, .55);
  transition: all .25s ease;
}
.tour-card {
  position: fixed; width: min(360px, calc(100vw - 24px)); background: var(--surface); border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16,24,40,.35); padding: 14px 16px 12px; transition: top .25s ease, left .25s ease;
}
.tour-top { display: flex; justify-content: space-between; align-items: center; }
.tour-step { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .03em; }
.tour-card h2 { font-size: 17px; margin: 2px 0 6px; }
.tour-card p { margin: 0 0 12px; line-height: 1.5; font-size: 14px; color: #2b313b; }
.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tour-dots { display: flex; gap: 5px; }
.tour-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d5d9e0; }
.tour-dots i.on { background: var(--accent); width: 18px; border-radius: 4px; }
.tour-btns { display: flex; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .tour-spot, .tour-card { transition: none; } }

@media (max-width: 720px) {
  .tools { top: 122px; transform: none; right: 10px; gap: 6px; }
  .tool { width: 52px; padding: 6px 0 5px; font-size: 10px; }
  .tool svg { width: 18px; height: 18px; }
  .demo-banner { right: 72px; }
}

/* ================= v4: flatmate partners ================= */
#seekerForm[data-partner="1"] .lf-field { display: none; }
.partner-intro { background: #fdf2f8; color: #831843; border-radius: 10px; padding: 8px 10px; margin: 0 0 4px; line-height: 1.45; }
.pop-kind.k-partner { color: #be185d; }
.rent-cluster.c-seekers { background: rgba(51, 65, 85, .92); }
.results .r-head { border: 0; padding: 10px 2px 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); display: block; }
.results .r-empty { border-style: dashed; color: var(--muted); font-size: 13px; line-height: 1.45; display: block; }
.r-note { font-size: 12px; color: #92400e; }

/* ================= v5: buy me a coffee ================= */
.coffee-btn { white-space: nowrap; }
.coffee-sheet { width: min(460px, 100%); }
.coffee-amounts { margin: 6px 0 12px; }
.coffee-body { display: flex; gap: 16px; align-items: center; }
.coffee-qr { flex: none; width: 150px; height: 150px; border: 1px solid var(--line); border-radius: 12px; padding: 6px; background: #fff; }
.coffee-qr svg { width: 100%; height: 100%; display: block; }
.coffee-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.upi-row { display: flex; align-items: center; gap: 8px; }
.upi-row code { font-size: 15px; font-weight: 700; background: #f3f4f6; padding: 6px 10px; border-radius: 8px; overflow-wrap: anywhere; }
#upiPay { text-align: center; text-decoration: none; }
@media (max-width: 1100px) { .coffee-label { display: none; } }
@media (max-width: 720px) {
  .coffee-body { flex-direction: column-reverse; align-items: stretch; }
  .coffee-qr { align-self: center; width: 140px; height: 140px; }
  .topbar .btn { padding: 9px 10px; }
}

/* link to the area pages */
.stats-link { display: block; padding: 8px 14px 12px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.stats-link:hover { text-decoration: underline; }
.stats.collapsed .stats-link { display: none; }

/* live counters (tour step 1 + About) */
.live-stats { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.live-stats span { background: var(--accent-soft); color: #0b5a4f; border-radius: 999px; padding: 4px 10px; font-size: 13px; }
.live-stats b { font-variant-numeric: tabular-nums; }

/* ================= welcome card with live numbers ================= */
.welcome .welcome-sheet { width: min(520px, 100%); padding: 22px; }
.welcome h2 { font-size: 21px; margin: 0 0 4px; }
.welcome-sub { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.welcome-label { font-weight: 700; font-size: 15px; margin: 4px 0 10px; }
.welcome-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wtile { border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; background: #f9fbfb; }
.wtile b { display: block; font-size: 22px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.2; }
.wtile span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.wtile em { font-style: normal; font-weight: 700; color: var(--accent); }
.welcome-legal { font-size: 12.5px; color: var(--muted); text-align: center; margin: 14px 0 12px; }
.welcome-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.welcome-actions .btn { padding: 12px; font-size: 15px; text-align: center; text-decoration: none; }
@media (max-width: 720px) {
  .welcome { place-items: center; padding: 14px; }
  .welcome .welcome-sheet { border-radius: 16px; padding: 18px; }
  .welcome-grid { gap: 8px; }
  .wtile b { font-size: 19px; }
}

/* ================= map = first screen, SEO links below ================= */
/* .app is exactly one screen tall; the map and its buttons live inside it and scroll
   away together. Pop-ups (.modal, .tour, .toast) stay position:fixed to the screen. */
.app { position: relative; height: 100vh; height: 100dvh; overflow: hidden; }
.app #map { position: absolute; inset: 0; }
.below { background: #fff; border-top: 1px solid var(--line); }
.below-inner { max-width: 980px; margin: 0 auto; padding: 34px 20px 44px; }
.below h2 { font-size: 22px; margin: 0 0 8px; }
.below h3 { font-size: 15px; margin: 22px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.below p { color: var(--muted); margin: 0 0 12px; line-height: 1.5; }
.link-row { line-height: 2; font-size: 15.5px; }
.link-row a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.link-row a:hover { text-decoration: underline; }
.link-row .sep { color: #c3c8cf; margin: 0 6px; }
.below .small-print { font-size: 12.5px; color: var(--muted); margin-top: 26px; }
