/* atl.city: quiet map. Tokens first; dark theme overrides tokens. */
:root {
  --bg: #f3f1ec; --bg-2: #e8e6e0; --paper: #f7f6f2; --paper-2: #efeee8; --paper-3: #e6e4dd;
  --ink: #1c2420; --ink-2: #2c3832; --muted: #3e4742; --line: #ddd9d0; --line-2: #cfcabf;
  --green: #24382c; --green-h: #1b2c22; --green-ink: #24382c; --green-soft: #e7eee8;
  --coral: #6a5348; --coral-h: #5a463c; --coral-ink: #5c5346; --coral-soft: #efe8e2; --coral-line: #d9cfc6;
  --gold: #7a7056; --gold-soft: #f1eee4; --gold-ink: #4a4332;
  --link: #1c2420;
  --s-filed: #8a7344; --s-review: #8d6248; --s-approved: #5d6478; --s-building: #3f5e72; --s-cleared: #3e6b60; --s-open: #24382c; --s-stalled: #6e756f;
  --p-filed-bg: #f0eadc; --p-filed: #5c4818;
  --p-review-bg: #f0e4d8; --p-review: #6a3e22;
  --p-approved-bg: #e6e7ee; --p-approved: #3a4158;
  --p-building-bg: #e1e8ee; --p-building: #234256;
  --p-cleared-bg: #e0ebe7; --p-cleared: #1e463c;
  --p-open-bg: #e2ebe4; --p-open: #1c3a28;
  --p-stalled-bg: #ececea; --p-stalled: #3e4441;
  --label: #1c2822;
  --label-halo: 0 0 2px #f4f2ec, 0 0 4px #f4f2ec;
  --radius: 6px; --radius-s: 4px;
  --shadow: none;
  --shadow-pop: 0 8px 20px rgba(28, 36, 32, .08);
  --head: system-ui, sans-serif;
  --body: system-ui, sans-serif;
  --tile-filter: saturate(.22) brightness(1.03) contrast(.96);
  --art-filter: saturate(.7);
  --header-h: 52px; --tabbar-h: 0px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #141716; --bg-2: #1a1e1b; --paper: #1c211e; --paper-2: #242a26; --paper-3: #2c332e;
  --ink: #e7ebe6; --ink-2: #c9d2cb; --muted: #b7c0b8; --line: #303833; --line-2: #3d4740;
  --green: #c5d4ca; --green-h: #d5e2da; --green-ink: #d5e2da; --green-soft: #24302a;
  --coral: #cbb8ae; --coral-h: #dccbc2; --coral-ink: #d4cdc2; --coral-soft: #2c2623; --coral-line: #4a403c;
  --gold: #d9d0b8; --gold-soft: #2c291f; --gold-ink: #e6dcc0;
  --link: #e7ebe6;
  --s-filed: #d4c4a2; --s-review: #d7b5a2; --s-approved: #c5c9d4; --s-building: #b7cddd; --s-cleared: #b7d5cc; --s-open: #e4efe6; --s-stalled: #8e948f;
  --p-filed-bg: #3a3424; --p-filed: #f0e2bc;
  --p-review-bg: #3a2e26; --p-review: #f0d0bc;
  --p-approved-bg: #2a2e38; --p-approved: #d5d8e4;
  --p-building-bg: #243038; --p-building: #c5dced;
  --p-cleared-bg: #24332f; --p-cleared: #c9e6de;
  --p-open-bg: #243028; --p-open: #d7eadc;
  --p-stalled-bg: #2a2e2c; --p-stalled: #d5dbd6;
  --label: #e7eee8;
  --label-halo: 0 0 2px #121614, 0 0 5px #121614;
  --shadow: none;
  --shadow-pop: 0 10px 24px rgba(0, 0, 0, .35);
  --tile-filter: invert(1) hue-rotate(180deg) brightness(.76) contrast(.92) saturate(.18);
  --art-filter: brightness(.86) saturate(.6);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .4em; letter-spacing: 0; font-weight: 600; }
h1 { font-size: clamp(30px, 4vw, 46px); }
h2 { font-size: clamp(23px, 2.6vw, 31px); }
h3 { font-size: 18px; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { color: var(--green-h); }
[data-theme="dark"] a:hover { color: #9be6b8; }
img { max-width: 100%; }
code { font-size: .92em; background: var(--paper-3); padding: 1px 6px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow, .narrow { max-width: 760px; }
.center { text-align: center; } .center .lead, .center .narrow { margin-left: auto; margin-right: auto; }
.center-y { align-items: center; }
.muted { color: var(--muted); } .small { font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead { font-size: 18.5px; color: var(--ink-2); max-width: 720px; }
.eyebrow { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); margin-bottom: 8px; }
.tag { font-weight: 800; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ok { color: var(--green-ink); }
section { padding: 56px 0; }
section.tight { padding-top: 20px; }
section.tint { background: var(--bg-2); }
section.sky { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.grid { display: grid; gap: 20px; } .grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; margin: 10px 0 16px; }
.sec-head + .place-list + .sec-head { margin-top: 40px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.d-only { } .m-only { display: none !important; }

/* ---------- buttons, pills, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 15px/1.2 var(--body); min-height: 44px; padding: 10px 16px; border-radius: 4px; border: 1px solid var(--ink); cursor: pointer; text-decoration: none; background: var(--ink); color: var(--paper); white-space: nowrap; }
.btn:hover { background: var(--ink-2); color: var(--paper); }
.btn:active { transform: none; }
.btn.small { padding: 9px 14px; font-size: 14px; }
.btn.block { width: 100%; }
.btn.green, .btn.coral, .btn.blue { background: var(--ink); color: var(--paper); }
.btn.green:hover, .btn.coral:hover, .btn.blue:hover { background: var(--ink-2); color: var(--paper); }
.btn.ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn.ghost:hover { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--muted); }
.btn.icon-only { padding: 13px 15px; letter-spacing: 1px; }
.icon-btn { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 4px; border: 0; background: transparent; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--paper-3); }
.icon-btn svg, .avatar svg, .tabbar svg, .search svg, .count-ic svg, .addr svg, .checks-list svg, .step .sd svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill { display: inline-flex; align-items: center; gap: 4px; font: 800 12px/1 var(--body); padding: 5px 10px; border-radius: 999px; white-space: nowrap; background: var(--p-stalled-bg); color: var(--p-stalled); }
.pill.filed { background: var(--p-filed-bg); color: var(--p-filed); }
.pill.review { background: var(--p-review-bg); color: var(--p-review); }
.pill.approved { background: var(--p-approved-bg); color: var(--p-approved); }
.pill.building { background: var(--p-building-bg); color: var(--p-building); }
.pill.cleared { background: var(--p-cleared-bg); color: var(--p-cleared); }
.pill.open { background: var(--p-open-bg); color: var(--p-open); }
.pill.stalled { background: var(--p-stalled-bg); color: var(--p-stalled); }
.pill.sponsored { background: var(--gold-soft); color: var(--gold-ink); }
.pill.sample { background: var(--paper-3); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-2); }
.cat-tag { font: 700 12px/1 var(--body); color: var(--muted); padding: 5px 9px; border-radius: 999px; background: var(--paper-3); white-space: nowrap; }
.cat-chip { display: inline-flex; gap: 4px; font: 800 12px/1 var(--body); padding: 5px 10px; border-radius: 999px; background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font: 700 14px/1 var(--body); padding: 9px 14px; border-radius: 999px; border: 0; background: var(--paper); color: var(--ink-2); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; white-space: nowrap; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); box-shadow: none; }
.chip-more { position: relative; }
.more-pop { position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 6px; display: grid; min-width: 210px; }
.more-pop[hidden] { display: none; }
.more-pop button { text-align: left; font: 700 14px var(--body); color: var(--ink); background: none; border: 0; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.more-pop button:hover { background: var(--paper-3); }
select, input, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 10px 12px; }
select { appearance: none; padding-right: 32px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { max-width: none; height: var(--header-h); display: flex; align-items: center; gap: 22px; padding: 0 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 21px/1 var(--head); letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 34px; height: 34px; display: inline-block; } .logo-mark svg { width: 100%; height: 100%; display: block; }
.nav { display: flex; gap: 4px; margin-left: 18px; flex: 1; }
.nav a { color: var(--ink-2); text-decoration: none; font: 500 15px/1 var(--body); padding: 10px 12px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 4px; }
.nav a:hover { color: var(--ink); background: var(--paper-3); }
.nav a.active { color: var(--green-ink); }
.nav .nav-biz { display: none; }
.head-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--green-soft); color: var(--green-ink); text-decoration: none; box-shadow: inset 0 0 0 2px var(--paper); }
.avatar svg { width: 20px; height: 20px; }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; } [data-theme="dark"] .theme-toggle .i-sun { display: none; }
.nav-toggle { display: none; }

/* ---------- home: the map is the page ---------- */
body.home { height: 100dvh; overflow: hidden; background: var(--bg); }
body.home main { height: 100%; }
.map-shell { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.map-bar { flex: none; display: flex; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 6px 10px; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 600; }
.map-bar .word { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; min-height: 44px; display: inline-flex; align-items: center; }
.map-bar .word:hover { color: var(--ink); }
.snap { margin: 0; color: var(--muted); font-size: 13px; min-width: 0; }
.snap-short { display: none; }
.bar-actions { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.bar-btn { min-height: 44px; min-width: 44px; padding: 0 12px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); border-radius: 4px; font: 500 14px/1 var(--body); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.bar-btn:hover { background: var(--paper-2); color: var(--ink); }
.bar-btn[aria-expanded="true"], .bar-btn.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bar-btn.icon { padding: 0; }
.bar-btn.icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .i-moon, .bar-btn .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-moon, [data-theme="dark"] .bar-btn .i-moon { display: block; }
[data-theme="dark"] .theme-toggle .i-sun, [data-theme="dark"] .bar-btn .i-sun { display: none; }
.map-wrap { position: relative; flex: 1; min-height: 0; }
#map, .mini-map, #hood-map { background: var(--bg-2); }
#map { position: absolute; inset: 0; }
.sheet { position: absolute; z-index: 650; top: 10px; left: 10px; width: min(380px, calc(100% - 20px)); max-height: calc(100% - 20px); overflow: auto; background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 12px 14px 16px; }
.sheet[hidden] { display: none !important; }
.sheet h2 { font-size: 16px; margin: 0; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sheet-note { color: var(--muted); font-size: 13px; margin: 8px 0; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sheet label { display: grid; gap: 4px; font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.sheet select, .sheet input[type="text"], .sheet input:not([type]) { width: 100%; min-height: 44px; border-radius: 4px; }
.sheet .check { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 15px; }
.sheet .check input { width: 18px; height: 18px; accent-color: var(--ink); }
.legend { display: grid; gap: 4px; font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.sheet-tools { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 8px 0; }
.seg { display: flex; gap: 12px; }
.seg button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; min-height: 44px; font: 500 14px var(--body); color: var(--muted); cursor: pointer; }
.seg button.on { color: var(--ink); border-bottom-color: var(--ink); }
.count-line { margin: 0; font-size: 13px; color: var(--muted); text-align: right; }
.menu-list { display: grid; }
.menu-list a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.menu-list a:hover { text-decoration: underline; }
.text-btn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font: inherit; }
.answer { margin: 0 0 8px; font-size: 14px; }
.empty { margin: 8px 0; color: var(--muted); }
.search { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 4px 4px 4px 10px; }
.search:focus-within { border-color: var(--ink); }
.search-ic { color: var(--muted); display: inline-flex; } .search-ic svg { width: 18px; height: 18px; }
.search input { flex: 1; min-width: 0; border: 0; padding: 8px 2px; background: transparent; font-size: 16px; outline: none; min-height: 44px; }
.search-btn { min-width: 44px; min-height: 44px; border-radius: 4px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); display: grid; place-items: center; cursor: pointer; flex: none; }
.search-btn:hover { background: var(--ink-2); } .search-btn svg { width: 18px; height: 18px; }
.list { display: flex; flex-direction: column; }
.pc { display: flex; gap: 8px; align-items: stretch; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.pc-hit, .hood-row > button { flex: 1; min-width: 0; text-align: left; background: none; border: 0; padding: 8px 2px; color: inherit; cursor: pointer; min-height: 44px; font: inherit; }
.pc-n { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-a, .pc-m { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-m { display: flex; align-items: center; gap: 6px; }
.pc-go, .hood-row > a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.pc-go:hover, .hood-row > a:hover { text-decoration: underline; }
.pc.hl { background: var(--paper-2); }
.pc.sample, .featured-slot { background: var(--paper); border: 1px dashed var(--line-2); box-shadow: none; }
.pc-th { width: 56px; height: 56px; border-radius: 4px; flex: none; object-fit: cover; background: var(--paper-3); filter: var(--art-filter); }
.pc-b { flex: 1; min-width: 0; }
.pc-t { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.pc-d { font-size: 12.5px; color: var(--muted); margin-left: auto; }
.hood-row { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); }
.ht-n { font-weight: 600; color: var(--ink); }
.hc-ic { width: 30px; height: 30px; border-radius: 4px; display: grid; place-items: center; font-size: 15px; background: var(--paper-3); flex: none; }
.map-badge { position: absolute; z-index: 500; left: 8px; top: 8px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); padding: 6px 10px; font-size: 13px; text-decoration: none; }
.map-badge:hover { color: var(--ink); }
.noscript { margin: 0; padding: 8px 12px; background: var(--paper-2); color: var(--ink); font-size: 14px; }

/* Leaflet */
.leaflet-container { font-family: var(--body); background: var(--bg-2); }
.leaflet-tile-pane { filter: var(--tile-filter); }
.leaflet-bar { border: 1px solid var(--line) !important; box-shadow: none !important; border-radius: 4px !important; overflow: hidden; }
.leaflet-bar a { background: var(--paper) !important; color: var(--ink) !important; border-bottom-color: var(--line) !important; width: 44px !important; height: 44px !important; line-height: 44px !important; font-size: 18px !important; }
.leaflet-bar a:hover { background: var(--paper-3) !important; }
.leaflet-control-attribution { background: color-mix(in srgb, var(--paper) 88%, transparent) !important; color: var(--muted) !important; font-size: 11px !important; line-height: 1.3 !important; max-width: calc(100% - 8px); white-space: normal !important; }
.leaflet-control-attribution a { color: var(--ink-2) !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--paper); color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.leaflet-popup-content-wrapper { border-radius: 4px; }
.leaflet-popup-content { margin: 10px 12px; width: auto !important; min-width: 0; max-width: min(260px, 70vw); font-size: 14px; line-height: 1.4; }
.leaflet-container a.leaflet-popup-close-button { color: var(--muted); }
.leaflet-div-icon.dot-wrap, .leaflet-div-icon.cluster-wrap, .leaflet-div-icon.hood-label-wrap, .leaflet-div-icon.pin-wrap { background: transparent; border: 0; }
.dot-hit { width: 32px; height: 32px; display: grid; place-items: center; }
.dot { display: block; border-radius: 50%; background: var(--s-stalled); box-shadow: 0 0 0 1px var(--paper); }
.dot.on { box-shadow: 0 0 0 2px var(--ink); }
.dot.st-filed { background: var(--s-filed); }
.dot.st-review { background: var(--s-review); }
.dot.st-approved { background: var(--s-approved); }
.dot.st-building { background: var(--s-building); }
.dot.st-cleared { background: var(--s-cleared); }
.dot.st-open { background: var(--s-open); }
.dot.st-stalled { background: var(--s-stalled); }
.cluster { width: 28px; height: 28px; margin: 4px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 500 12px/1 var(--body); }
.hood-chip { display: flex; align-items: baseline; justify-content: center; gap: 5px; height: 22px; box-sizing: border-box; background: color-mix(in srgb, var(--paper) 90%, transparent); border: 1px solid var(--line); border-radius: 4px; color: var(--ink); font: 500 12px/20px var(--body); white-space: nowrap; }
.hood-chip b { font-weight: 600; }
.hood-chip span { color: var(--muted); }
.hood-chip.mine { border-color: var(--ink); }
.lg { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--s-stalled); flex: none; }
.lg.filed { background: var(--s-filed); } .lg.review { background: var(--s-review); } .lg.approved { background: var(--s-approved); }
.lg.building { background: var(--s-building); } .lg.cleared { background: var(--s-cleared); } .lg.open { background: var(--s-open); } .lg.stalled { background: var(--s-stalled); }
.pop-title { font-weight: 600; }
.pop-row { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; }
.pop-actions { margin-top: 8px; }
.pop-actions a { color: var(--ink); }
.pin { width: 34px; height: 34px; position: relative; }
.pin .ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--c, var(--ink)) calc(var(--p, 10) * 1%), color-mix(in srgb, var(--c, var(--ink)) 22%, var(--paper)) 0); }
.pin .face { position: absolute; inset: 4px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 14px; }
.pin.open .ring { background: var(--s-open); }
.pin.stalled { opacity: .55; }
.pin.on { transform: scale(1.12); }
.leaflet-marker-icon.pin-wrap { transition: transform .12s ease; }
.progress { height: 4px; border-radius: 4px; background: var(--paper-3); margin: 8px 0; overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.progress.open span { background: var(--s-open); }
.burst { position: absolute; z-index: 650; width: 5px; height: 5px; margin: -2px 0 0 -2px; border-radius: 50%; background: var(--ink); pointer-events: none; animation: burst .65s ease-out forwards; }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
/* ---------- home sections ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--paper); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.stat b { display: block; font: 800 34px/1.1 var(--head); color: var(--green-ink); }
.stat span { color: var(--muted); font-weight: 700; font-size: 14.5px; }
.card { background: var(--paper); border-radius: var(--radius); padding: 22px; box-shadow: none; border: 1px solid var(--line); }
.card.feature .f-ic { font-size: 26px; width: 52px; height: 52px; border-radius: 16px; background: var(--paper-3); display: grid; place-items: center; margin-bottom: 12px; }
.place-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.place-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); }
.place-card:hover { color: var(--ink); border-color: var(--line-2); }
.pcard-art { position: relative; aspect-ratio: 16 / 9; background: var(--paper-3); }
.pcard-art img { width: 100%; height: 100%; object-fit: cover; display: block; filter: var(--art-filter); }
.pcard-art .pill { position: absolute; left: 10px; top: 10px; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.pcard-b { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.place-card .nm { font: 800 16px/1.25 var(--head); }
.place-card .ad { font-size: 13.5px; color: var(--muted); }
.place-card .pc-t { margin-top: auto; padding-top: 6px; }
.cta-band { position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; background: var(--green-soft); border-radius: 26px; padding: 34px 36px 80px; }
.cta-band h2 { margin-bottom: 6px; } .cta-band p { margin: 0; color: var(--ink-2); }
.cta-t { position: relative; max-width: 620px; } .cta-band .btn { position: relative; }
.cta-sky { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; object-fit: cover; object-position: bottom; opacity: .9; filter: var(--art-filter); }
.stepper { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; gap: 4px; padding: 0 4px; }
.step::before { content: ''; position: absolute; top: 20px; left: -50%; right: 50%; height: 4px; background: var(--line); z-index: 0; }
.step:first-child::before { display: none; }
.step.done::before, .step.now::before { background: var(--green); }
.step .sd { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-3); position: relative; z-index: 1; font-size: 18px; box-shadow: 0 0 0 4px var(--paper); }
.step.done .sd { background: var(--green); color: #fff; }
.step.done .sd svg { width: 20px; height: 20px; stroke-width: 3; }
.step.now .sd { background: var(--coral-soft); box-shadow: 0 0 0 4px var(--paper), 0 0 0 6px var(--coral-line); }
.step b { font: 800 14px/1.2 var(--head); margin-top: 6px; } .step.todo b { color: var(--muted); }
.step small { font-size: 12.5px; color: var(--muted); font-weight: 700; min-height: 1.3em; }
.stepper.big .step.done .sd { background: var(--paper); box-shadow: 0 0 0 4px var(--bg-2), var(--shadow); color: inherit; font-size: 22px; width: 52px; height: 52px; }
.stepper.big .step::before { top: 25px; }

/* ---------- page hero, crumbs ---------- */
.page-hero, .place-hero { padding: 40px 0 26px; }
.page-hero.center .biz-search { max-width: 560px; margin: 18px auto 8px; position: relative; text-align: left; }
.crumbs { font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; font-weight: 700; }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--green-ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); }

/* ---------- place page ---------- */
.place-page { padding-top: 22px; padding-bottom: 56px; }
.place-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.place-main, .place-side { display: grid; gap: 20px; min-width: 0; }
.place-hero-card { display: grid; grid-template-columns: minmax(220px, 42%) 1fr; gap: 26px; padding: 16px; }
.hero-art { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--paper-3); min-height: 240px; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; filter: var(--art-filter); }
.hero-art figcaption { position: absolute; left: 10px; bottom: 10px; font: 700 11.5px var(--body); background: rgba(20, 24, 22, .66); color: #fff; padding: 4px 9px; border-radius: 999px; }
.hero-info { padding: 10px 8px 8px 0; display: flex; flex-direction: column; }
.chips-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.kicker { font: 700 15px var(--head); color: var(--muted); margin-bottom: 2px; }
.hero-info h1 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 8px; overflow-wrap: anywhere; }
.addr { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; color: var(--ink-2); font-weight: 700; margin-bottom: 12px; }
.addr svg { width: 18px; height: 18px; color: var(--coral-ink); }
.dotsep { color: var(--muted); }
.desc { color: var(--ink-2); }
.hero-info .actions { margin-top: auto; }
details.more { position: relative; }
details.more summary { list-style: none; } details.more summary::-webkit-details-marker { display: none; }
.more-menu { position: absolute; z-index: 50; top: calc(100% + 6px); right: 0; background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 6px; display: grid; min-width: 220px; }
.more-menu a, .more-menu button { text-align: left; font: 700 14px var(--body); color: var(--ink); background: none; border: 0; padding: 10px 12px; border-radius: 10px; text-decoration: none; cursor: pointer; }
.more-menu a:hover, .more-menu button:hover { background: var(--paper-3); color: var(--ink); }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.card-h h2 { font-size: 22px; margin: 0; } .card-h h3 { margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 20px 0 0; }
.facts div { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.facts dt { font-size: 12.5px; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.facts dd { margin: 4px 0 0; font: 800 15.5px/1.3 var(--head); }
.table-scroll { overflow-x: auto; }
table.records, table.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.records th, .compare th { text-align: left; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; padding: 10px 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.records td, .compare td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.records tr:last-child td { border-bottom: 0; }
.license { margin: 14px 0 0; }
.ai-note { display: flex; gap: 10px; background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.claim-card { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(135deg, var(--coral-soft), var(--paper) 75%); box-shadow: var(--shadow), inset 0 0 0 1.5px color-mix(in srgb, var(--coral) 25%, transparent); }
.claim-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--paper); display: grid; place-items: center; font-size: 22px; flex: none; box-shadow: var(--shadow); }
.claim-card h3 { margin-bottom: 4px; }
.map-card { padding: 6px; overflow: hidden; }
.mini-map { height: 240px; border-radius: 14px; overflow: hidden; z-index: 0; }
.mini-map.tall { height: 400px; }
.near-list { display: grid; gap: 4px; margin-top: 8px; }
.near { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.near:hover { background: var(--paper-2); color: var(--ink); }
.near img { width: 44px; height: 44px; border-radius: 10px; flex: none; filter: var(--art-filter); }
.nb { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.nb b { font: 800 14.5px var(--head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb .small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sponsor-slot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; background: var(--paper); border-radius: var(--radius); padding: 16px; border: 1.5px dashed var(--line-2); margin: 0 0 18px; }
.place-side .sponsor-slot { margin: 0; }
.ss-b { flex: 1; min-width: 200px; }
.logo-ph { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--paper-3); flex: none; }

/* ---------- neighborhoods ---------- */
.hood-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 22px; }
.hood-tile { display: flex; align-items: center; gap: 12px; background: var(--paper); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); }
.hood-tile:hover { color: var(--ink); box-shadow: var(--shadow-pop); }
.ht-b { flex: 1; display: flex; flex-direction: column; line-height: 1.3; min-width: 0; } .ht-b b { font-family: var(--head); }
.hood-head { display: flex; gap: 16px; align-items: center; } .hood-head .hc-ic { width: 60px; height: 60px; font-size: 30px; border-radius: 18px; }
.list-h { margin-top: 36px; }
.featured-slot { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin: 20px 0 26px; background: linear-gradient(100deg, var(--gold-soft), var(--paper) 70%); box-shadow: var(--shadow), inset 0 0 0 2px color-mix(in srgb, var(--gold) 50%, transparent); }
.featured-slot img { width: 120px; height: 90px; border-radius: 14px; object-fit: cover; filter: var(--art-filter); }
.fs-b { flex: 1; min-width: 220px; } .fs-b h3 { margin: 8px 0 2px; }

/* ---------- business ---------- */
.biz-results { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% - 6px); background: var(--paper); border-radius: 14px; box-shadow: var(--shadow-pop); padding: 6px; display: none; max-height: 340px; overflow: auto; }
.biz-results.open { display: block; }
.biz-results > div { padding: 10px 12px; border-radius: 10px; cursor: pointer; } .biz-results > div:hover { background: var(--paper-3); }
.share-canvas { width: 100%; max-width: 480px; border-radius: 22px; box-shadow: var(--shadow-pop); display: block; margin: 0 auto; }
.demo-pin { display: flex; gap: 16px; align-items: center; margin: 18px 0; } .demo-pin .pin { flex: none; }
.pc.sample { cursor: default; margin-bottom: 12px; }
.faq { margin-top: 26px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--paper); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.faq summary { font: 800 16px var(--head); cursor: pointer; } .faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* ---------- plans / pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.plan.featured { box-shadow: var(--shadow-pop), inset 0 0 0 2.5px var(--coral); }
.ribbon { position: absolute; top: 16px; right: 16px; background: var(--coral); color: #fff; font: 800 12px var(--head); padding: 6px 11px; border-radius: 999px; }
.plan-aud { font: 800 12.5px var(--head); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.plan h3 { font-size: 22px; margin-bottom: 2px; padding-right: 100px; }
.plan-blurb { min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 0; }
.price .amt { font: 800 40px/1 var(--head); letter-spacing: -.03em; }
.price small { color: var(--muted); font-weight: 700; font-size: 14.5px; }
.was { font-size: 13.5px; color: var(--muted); text-decoration: line-through; min-height: 1.4em; margin: 4px 0 6px; } .was.none { text-decoration: none; }
.checks-list { list-style: none; padding: 0; margin: 8px 0 20px; display: grid; gap: 9px; flex: 1; }
.checks-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.checks-list svg { width: 20px; height: 20px; flex: none; color: var(--green-ink); stroke-width: 2.6; background: var(--green-soft); border-radius: 50%; padding: 3px; margin-top: 1px; }
.plan-sky { display: block; width: calc(100% + 44px); margin: 22px -22px -22px; height: 74px; object-fit: cover; object-position: bottom; filter: var(--art-filter); }
.pricing-top { padding-top: 48px; }
.pricing-top h1 { font-size: clamp(32px, 4.4vw, 52px); }
.billing-toggle { display: inline-flex; background: var(--paper); padding: 5px; border-radius: 999px; box-shadow: var(--shadow), inset 0 0 0 1.5px var(--line); margin: 6px 0 30px; gap: 4px; }
.billing-toggle button { border: 0; background: none; font: 800 15px var(--head); color: var(--ink-2); padding: 10px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing-toggle button.on { background: var(--green); color: #fff; }
.save { font-size: 12px; background: var(--coral-soft); color: var(--coral-ink); padding: 3px 8px; border-radius: 99px; }
.billing-toggle button.on .save { background: rgba(255, 255, 255, .22); color: #fff; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-bottom: 22px; }
.tiers .plan.featured { transform: translateY(-8px); }
.more-plans { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.more-plans .plan h3 { font-size: 19px; padding-right: 0; }

/* ---------- forms, misc ---------- */
.field { margin-bottom: 14px; } .field label { display: block; font-weight: 800; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; }
.checks { display: flex; gap: 8px 16px; flex-wrap: wrap; } .checks label { font-weight: 700; display: flex; gap: 6px; align-items: center; }
.checks input { width: auto; accent-color: var(--green); }
.following-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
pre { background: #161c18; color: #dfe9e1; padding: 18px; border-radius: 16px; overflow: auto; font-size: 13.5px; line-height: 1.5; }
[data-theme="dark"] pre { background: #0b0f0c; box-shadow: inset 0 0 0 1px var(--line); }
.snippet { position: relative; } .snippet .btn { position: absolute; top: 10px; right: 10px; }
.source-note { font-size: 14px; color: var(--muted); background: var(--paper-2); padding: 12px 14px; border-radius: 12px; }
ul li { margin-bottom: 6px; }

/* footer */
.site-footer { background: var(--paper-2); color: var(--ink-2); padding: 36px 0 24px; margin-top: 0; border-top: 1px solid var(--line); }
[data-theme="dark"] .site-footer { background: var(--bg); }
.site-footer .logo { color: var(--ink); margin-bottom: 12px; } .site-footer .logo:hover { color: var(--ink); }
.site-footer a { color: var(--ink); } .site-footer a:hover { color: var(--ink); }
.site-footer h4 { color: var(--ink); font-size: 15px; } .site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.site-footer .fine { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* modal, toast, confetti */
.modal-bg { position: fixed; inset: 0; background: rgba(10, 14, 12, .5); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 16px; }
.modal-bg.open { display: flex; }
.modal { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 24px; width: 100%; max-width: 440px; position: relative; box-shadow: var(--shadow-pop); max-height: 90vh; overflow: auto; }
.modal .x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--muted); }
.modal-title { margin: 14px 0 2px; } .modal-foot { margin: 10px 0 0; }
.demo-banner { background: var(--gold-soft); color: var(--gold-ink); font-weight: 800; font-size: 13.5px; padding: 9px 12px; border-radius: 12px; }
.stripe-mock { background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 14px 0; display: grid; gap: 6px; }
.stripe-mock .row { display: flex; justify-content: space-between; gap: 10px; }
.stripe-mock .row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.fake-input { border: 1.5px solid var(--line-2); border-radius: 10px; padding: 10px 12px; color: var(--muted); background: var(--paper); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: calc(24px + var(--tabbar-h)); transform: translate(-50%, 20px); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 14px; font-weight: 700; z-index: 4000; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; max-width: calc(100vw - 32px); box-shadow: var(--shadow-pop); }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
#confetti { position: fixed; inset: 0; pointer-events: none; z-index: 3500; }
.tabbar { display: none; }

/* embed */
body.embed { background: var(--bg); }
body.embed { height: 100dvh; overflow: hidden; margin: 0; } body.embed main { height: 100%; } .map-shell.embed { height: 100%; min-height: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 10px 8px; font-size: 14.5px; }
  .place-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } .tiers .plan.featured { transform: none; }
}
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 10px 16px 16px; box-shadow: var(--shadow-pop); margin: 0; }
  .nav.open { display: flex; } .nav .nav-biz { display: block; color: var(--coral-ink); }
  .nav-toggle { display: inline-grid; }
  .switch { margin-left: 0; }
  .place-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid.c3 { grid-template-columns: 1fr; } .grid.c2 { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 52px; }
  .d-only { display: none !important; } .m-only { display: revert !important; }
  .site-header .wrap { padding: 0 14px; gap: 10px; }
  .logo { font-size: 17px; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .snap-long { display: none; }
  .snap-short { display: inline; }
  .sheet { top: auto; bottom: 8px; left: 8px; right: 8px; width: auto; max-height: min(52dvh, 480px); }
  section { padding: 40px 0; }
  .wrap { padding: 0 16px; }
  .place-hero-card { grid-template-columns: 1fr; padding: 12px; gap: 14px; }
  .hero-art { min-height: 0; aspect-ratio: 16 / 10; }
  .hero-info { padding: 4px; }
  .stepper { grid-template-columns: 1fr; gap: 0; }
  .step { flex-direction: row; text-align: left; gap: 12px; padding: 6px 0; }
  .step::before { top: -50%; bottom: 50%; left: 19px; right: auto; width: 4px; height: auto; }
  .step b { margin: 0; flex: 1; } .step small { min-height: 0; }
  .stepper.big .step::before { left: 24px; top: -50%; }
  .facts { grid-template-columns: 1fr 1fr; }
  .stats { gap: 10px; } .stat { padding: 14px 16px; } .stat b { font-size: 27px; }
  .cta-band { padding: 26px 22px 80px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .plan h3 { padding-right: 0; } .plan.featured h3 { padding-right: 110px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.plan .btn { white-space: normal; text-align: center; line-height: 1.2; }
.count-t b { font-size: 14.5px; } .count-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
