/* Pick Local public pages. Light and dark, following the device: the EZ Orders blue (#1d4ed8, hover #1e40af), Montserrat headings. */
:root {
  --bg: #fff; --alt: #f6f7f9; --surface: #fff; --line: #e6e8ed; --text: #16181d; --muted: #6b7280;
  --accent: #1d4ed8; --accent-dark: #1e40af; --accent-soft: #eaf0fe; --accent-ink: #fff; --danger: #b92c22;
  --blue: #1d4ed8; --green: #16884f; --star: #e0a100; --ink: #0d0e11; --field: #d5d8de;
  --art-tone: hue-rotate(205deg) saturate(.9);
  --head: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
/* Dark: the device asks for it, unless the visitor picked light with the
   header toggle; or the visitor picked dark. Keep the two lists the same. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115; --alt: #151920; --surface: #1a1f27; --line: #2a303b; --text: #e8eaee; --muted: #9aa3b2; --field: #3a4150;
    --accent: #4f8ef7; --accent-dark: #3b7cf0; --accent-soft: #1a2846; --danger: #f0645a; --green: #2fae6e; --ink: #343c4b;
  }
  :root:not([data-theme="light"]) .scene, :root:not([data-theme="light"]) .cat-icon, :root:not([data-theme="light"]) .owner-art { filter: var(--art-tone) brightness(.88); }
  :root:not([data-theme="light"]) .hero-search input { background: #fff; color: #16181d; }
  :root:not([data-theme="light"]) .cta.secondary:hover { color: var(--bg); }
  :root:not([data-theme="light"]) .app-tabs { background: var(--surface); }
  :root:not([data-theme="light"]) .blog-tag.owners { color: #ffb366; background: #3a2612; }
  :root:not([data-theme="light"]) .blog-hero-img, :root:not([data-theme="light"]) .blog-inline, :root:not([data-theme="light"]) .blog-thumb img { filter: brightness(.92); }
}
:root[data-theme="dark"] {
  --bg: #0f1115; --alt: #151920; --surface: #1a1f27; --line: #2a303b; --text: #e8eaee; --muted: #9aa3b2; --field: #3a4150;
  --accent: #4f8ef7; --accent-dark: #3b7cf0; --accent-soft: #1a2846; --danger: #f0645a; --green: #2fae6e; --ink: #343c4b;
}
:root[data-theme="dark"] .scene, :root[data-theme="dark"] .cat-icon, :root[data-theme="dark"] .owner-art { filter: var(--art-tone) brightness(.88); }
:root[data-theme="dark"] .hero-search input { background: #fff; color: #16181d; }
:root[data-theme="dark"] .cta.secondary:hover { color: var(--bg); }
:root[data-theme="dark"] .app-tabs { background: var(--surface); }
:root[data-theme="dark"] .blog-tag.owners { color: #ffb366; background: #3a2612; }
:root[data-theme="dark"] .blog-hero-img, :root[data-theme="dark"] .blog-inline, :root[data-theme="dark"] .blog-thumb img { filter: brightness(.92); }
:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
/* clip, not hidden: hidden makes html and body scroll containers, and then
   every position: sticky (header, owner Save bar) sticks to a box that never
   scrolls. hidden stays as the fallback for browsers without clip. */
html { overflow-x: hidden; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; overflow-x: clip; }
a { color: var(--accent); }
img { max-width: 100%; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
main.wrap { min-height: 60vh; }
h1, h2, h3, .logo, .btn, .cta, button.primary, .nav-primary, .biz-name, .section-link { font-family: var(--head); }
h1 { font-size: 34px; line-height: 1.15; margin: 26px 0 10px; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 22px; margin: 30px 0 12px; font-weight: 700; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 18px; }
.muted { color: var(--muted); }
.muted.small, .small { font-size: 13px; }
.err { color: var(--danger); font-weight: 600; }
.ok { color: var(--green); font-weight: 600; }
.stars { color: var(--star); letter-spacing: 1px; }

/* ---- header ------------------------------------------------------------ */
header.site { position: sticky; top: 0; z-index: 20; background: var(--surface); box-shadow: 0 1px 0 var(--line), 0 4px 18px rgba(16, 18, 24, .05); }
.nav-top { display: flex; align-items: center; gap: 22px; height: 84px; }
/* The mark is the EZ family tile (EZ Orders, EZ Bookings): one picture on every surface. */
.logo { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  color: var(--text); text-decoration: none; line-height: 1.05; }
.logo .mark { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; background: url(/static/logo-tile.svg) no-repeat center / contain; }
.logo .word { font-size: 19px; font-weight: 700; letter-spacing: -.02em; align-self: end; white-space: nowrap; }
.logo .loc { font-size: 11.5px; font-weight: 700; text-transform: uppercase; color: var(--accent); letter-spacing: .1em; align-self: start; margin-top: 3px; }
.logo.light { color: #fff; }
.logo.light .loc { color: #8fb4ff; }
.nav-tools { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-tools + .nav-right { margin-left: 8px; }
.nav-tool { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 0; background: transparent;
  color: var(--text); cursor: pointer; padding: 0; }
.nav-tool:hover { background: var(--accent-soft); color: var(--accent); }
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; }
}
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
.nav-primary { display: flex; align-items: center; gap: 22px; margin-left: 14px; font-size: 15px; font-weight: 600; flex: 1; min-width: 0; }
.nav-primary > a, .nav-drop > span { color: var(--text); text-decoration: none; padding: 8px 0; cursor: pointer; }
.nav-primary > a:hover, .nav-drop:hover > span { color: var(--accent); }
.nav-drop { position: relative; }
.nav-menu { display: none; position: absolute; top: 100%; left: -14px; min-width: 420px; padding: 12px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 16px 40px rgba(16, 18, 24, .12); grid-template-columns: repeat(3, 1fr); gap: 2px 10px; }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: grid; }
.nav-menu a { padding: 6px 8px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.nav-menu a:hover { background: var(--accent-soft); color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; margin-left: auto; font-size: 15px; font-weight: 600; font-family: var(--head); flex-shrink: 0; }
.nav-right a, .nav-primary a { color: var(--text); text-decoration: none; white-space: nowrap; }
.nav-login { display: inline-flex; align-items: center; gap: 6px; }
.nav-tools { flex-shrink: 0; }
.nav-right a:hover { color: var(--accent); }
/* ---- mega menu: Dining, Services, Beauty, Retail, More ---- */
/* The header row is a little wider than the page so five menus fit beside the tools. */
.wrap.nav-top { max-width: 1320px; }
.nav-primary { align-self: stretch; gap: 18px; }
.mega { display: flex; align-items: center; height: 100%; }
.mega-btn { display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 2px; border: 0; background: transparent; color: var(--text);
  font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mega-btn .chev { transition: transform .15s; opacity: .7; }
.mega.open .mega-btn, .mega-btn:hover { color: var(--accent); }
.mega.open .mega-btn .chev { transform: rotate(180deg); }
.mega-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(16, 18, 24, .14); z-index: 30; }
.mega.open .mega-panel { display: block; }
@media (hover: hover) and (min-width: 1041px) { .mega:hover .mega-panel { display: block; } .mega:hover .mega-btn .chev { transform: rotate(180deg); } }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 18px 32px; padding-top: 26px; padding-bottom: 22px; }
.mega-inner.has-top { grid-template-columns: minmax(0, 1fr) 240px 250px; }
/* Balanced columns: a long group (Home Services) flows on into the next column. */
.mega-cols { columns: 4 160px; column-gap: 28px; }
.mega-col { break-inside: avoid; margin-bottom: 18px; }
.mega-col.long { break-inside: auto; }
.mega-col b { break-after: avoid; display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.mega-col a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; line-height: 1.3; white-space: normal; overflow-wrap: break-word; }
.mega-col a em { display: inline-block; margin-left: 8px; white-space: nowrap; font-style: normal; font-size: 12px; font-weight: 700; line-height: 1.5; color: var(--muted); background: var(--alt); border-radius: 999px; padding: 0 7px; vertical-align: 1px; }
.mega-top { border-left: 1px solid var(--line); padding-left: 24px; }
.mega-top > b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; }
.mega-pick { display: grid; padding: 9px 10px; margin: 0 -10px 4px; border-radius: 10px; color: var(--text); text-decoration: none; }
.mega-pick:hover { background: var(--accent-soft); }
.mega-pick-name { font-weight: 700; font-size: 14.5px; }
.mega-pick-meta { font-size: 12.5px; color: var(--muted); }
.mega-pick-stars { font-size: 12.5px; color: var(--star, #f5a623); letter-spacing: 1px; }
.mega-pick-stars small { color: var(--muted); letter-spacing: 0; }
.mega-own { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.mega-foot a { white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 600; }
.mega-foot a:hover { color: var(--accent); }
.mega-foot-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.mega-foot-links { margin-left: auto; display: flex; gap: 16px; }
.mega-foot-links a { color: var(--accent); }
.mega-col a:hover { color: var(--accent); }
.mega-col a small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 1px; }
.mega-side { background: var(--accent-soft); border-radius: 14px; padding: 18px; align-self: start; }
.mega-blurb { margin: 0 0 12px; font-size: 14.5px; line-height: 1.45; }
.mega-cta { display: block; padding: 10px 14px; border-radius: 9px; background: var(--accent); color: #fff !important; text-decoration: none; font-weight: 700; text-align: center; }
.mega-sub { display: block; margin-top: 10px; font-size: 14px; text-align: center; }
.nav-mobile-group summary { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; font-weight: 700; cursor: pointer; list-style: none; border-radius: 8px; }
.nav-mobile-group summary::-webkit-details-marker { display: none; }
.nav-mobile-group[open] summary .chev { transform: rotate(180deg); }
.nav-mobile-group > div { display: grid; grid-template-columns: 1fr 1fr; padding: 0 4px 6px 10px; }
.nav-mobile-group > div a { font-weight: 500; font-size: 14px; padding: 7px 8px; }

/* ---- owner listing page: steps, numbered sections, hours, photos, save bar ---- */
.steps-card { margin: 18px 0 26px; }
.steps-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.steps-head h2 { margin: 0; }
.steps-count { font-weight: 700; color: var(--accent); }
.steps-bar { height: 8px; border-radius: 999px; background: var(--alt); margin: 12px 0 16px; overflow: hidden; }
.steps-bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.steps a { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; }
.steps a:hover { border-color: var(--accent); }
.steps b { display: block; }
.steps small { display: block; color: var(--muted); font-size: 13px; }
.step-dot { flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--accent-soft); color: var(--accent); }
.steps li.done .step-dot { background: var(--green, #1f9d5c); color: #fff; }
.steps li.done small { color: var(--green, #1f9d5c); }
.h-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 15px; margin-right: 8px; vertical-align: 3px; }
.owner-edit h2 { margin-top: 34px; scroll-margin-top: 100px; }
#photos, #plans, #community, #hours, #about, #details, #services { scroll-margin-top: 100px; }
.hours-grid { display: grid; gap: 8px; max-width: 620px; }
.hours-row { display: grid; grid-template-columns: 110px 1fr auto 1fr auto; gap: 10px; align-items: center; }
.hours-day { font-weight: 700; }
.hours-to { color: var(--muted); }
form.stack .hours-row .hours-closed input { width: auto; min-height: 0; margin: 0; }
.hours-row input[type=time] { min-width: 0; }
.hours-row input[type=time]:disabled { opacity: .35; }
.hours-row .hours-closed { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; white-space: nowrap; margin: 0; }
.more-faq summary, .photo-link summary { cursor: pointer; color: var(--accent); font-weight: 600; padding: 6px 0; }
.savebar { position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px -16px 0; padding: 12px 16px;
  background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(16, 18, 24, .06); }
.savebar button { min-width: 140px; font-size: 16px; padding: 12px 22px; }
body.has-tabs .savebar { bottom: calc(64px + env(safe-area-inset-bottom)); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 16px; }
.photo-tile { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--alt); }
.photo-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-tile figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; font-size: 13px; }
.link-btn { background: transparent; border: 0; padding: 0; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.link-btn.danger { color: var(--danger); }
.upload-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; }
.upload-btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr 1fr; }
  /* Phones: the day and Closed on one line, the two times full width under it. */
  .hours-row { grid-template-columns: 1fr auto 1fr; grid-template-areas: "day day closed" "from to till"; row-gap: 4px; margin-top: 6px; }
  .hours-day { grid-area: day; }
  .hours-closed { grid-area: closed; justify-self: end; }
  .hours-row input[type=time]:first-of-type { grid-area: from; }
  .hours-to { grid-area: to; }
  .hours-row input[type=time]:last-of-type { grid-area: till; }
  .hours-row > .tk-fill { display: none; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .savebar { margin: 22px -16px 0; }
  .savebar span { font-size: 13px; }
}

.start-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0 26px; max-width: 760px; }
.start-choice { display: grid; gap: 4px; padding: 20px; border: 2px solid var(--line); border-radius: 16px; color: var(--text); text-decoration: none; }
.start-choice:hover { border-color: var(--accent); }
.start-choice b { font-size: 18px; }
.start-choice span { color: var(--muted); }
.start-icon { font-size: 28px; }
@media (max-width: 600px) { .start-choices { grid-template-columns: 1fr; } }

/* The bot trap field (services/bot.js): off screen, never seen. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-box { margin: 26px 0; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); max-width: 680px; }
.apply-box h2 { margin-top: 0; }

/* ---- signup offer: the box on signup, claim and owner pages ---- */
.offer-box { display: grid; gap: 4px; margin: 16px 0 20px; padding: 16px 18px; border-radius: 14px; background: var(--accent-soft); border: 1px solid var(--accent); max-width: 640px; }
.offer-box b { font-size: 17px; }
.offer-box .offer-tag { justify-self: start; background: var(--accent); color: #fff; }

/* ---- signup offer strip ---- */
.offer-bar { background: var(--accent); color: #fff; font-size: 14px; }
.offer-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; position: relative; padding-right: 40px; }
.offer-bar a { color: #fff; text-decoration: none; text-align: center; padding: 8px 0; }
.offer-bar a b { white-space: nowrap; text-decoration: underline; margin-left: 4px; }
.offer-tag { display: inline-block; background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 2px 9px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-right: 6px; }
.offer-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; }

/* Admin banners (lib/banners.js). Public: always the accent; owner pages: by tone. */
.site-banner { font-size: 14px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--text); }
.site-banner-inner { display: flex; align-items: center; justify-content: center; min-height: 40px; position: relative; padding-right: 40px; }
.site-banner-text { text-align: center; padding: 8px 0; }
.site-banner-text a { font-weight: 600; white-space: nowrap; color: inherit; text-decoration: underline; }
.site-banner-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px; }
.site-banner.tone-public { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.site-banner.tone-accent { background: var(--accent-soft); border-color: var(--accent); }
.site-banner.tone-warn { background: #fdf4dc; color: #6b4a00; border-color: #e8c96a; }
.site-banner.tone-bad { background: #fde8e6; color: #8a1f17; border-color: #f0a39c; }
:root[data-theme="dark"] .site-banner.tone-warn { background: #2a2212; color: #f2c968; border-color: #5e4a1f; }
:root[data-theme="dark"] .site-banner.tone-bad { background: #2c1514; color: #f0857c; border-color: #6a2b28; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-banner.tone-warn { background: #2a2212; color: #f2c968; border-color: #5e4a1f; }
  :root:not([data-theme="light"]) .site-banner.tone-bad { background: #2c1514; color: #f0857c; border-color: #6a2b28; }
}

/* Set by the page script when the links would not fit: the menu takes over. */
header.site.nav-tight .nav-primary { display: none; }
header.site.nav-tight .nav-login-text { display: none; }
header.site.nav-tight .nav-mobile { display: block; margin-left: 0; }
.btn { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.btn:hover { border-color: var(--accent); color: var(--accent); }
.btn.outline { border: 1.5px solid var(--text); padding: 10px 16px; }
.btn.outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.ghost { border-color: transparent; background: transparent; }
.nav-mobile { display: none; margin-left: auto; position: relative; }
.nav-mobile summary { list-style: none; font-size: 26px; cursor: pointer; padding: 4px 8px; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile-menu { position: absolute; right: 0; top: 110%; width: 280px; max-height: calc(100vh - 90px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(16, 18, 24, .14); padding: 8px; display: grid; }
.nav-mobile-menu a { padding: 10px 12px; color: var(--text); text-decoration: none; font-weight: 600; border-radius: 8px; }
.nav-mobile-menu a:hover { background: var(--accent-soft); color: var(--accent); }

/* ---- hero -------------------------------------------------------------- */
.hero-main { position: relative; margin: 0 calc(50% - 50vw); padding: 64px 16px 56px; text-align: center; color: #fff; overflow: hidden; background: #15171d; isolation: isolate; }
/* The illustration pack was drawn in brick red; one hue turn puts it in the EZ Orders blue family. */
.hero-main::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--hero-art, none) center bottom / cover no-repeat; filter: var(--art-tone); }
.hero-main::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(10, 11, 15, .55), rgba(10, 11, 15, .72)); }
.hero-main.big { padding: 120px 16px 150px; }
.hero-inner { max-width: 860px; margin: 0 auto; position: relative; }
.hero-main h1 { font-size: 46px; line-height: 1.12; margin: 0 0 12px; font-weight: 800; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.hero-main.big h1 { font-size: 62px; }
.hero-main .lead { color: rgba(255, 255, 255, .9); font-size: 19px; max-width: 760px; margin: 0 auto 26px; }
.hero-main.big .lead { font-family: var(--head); font-size: 26px; font-weight: 500; }
.hero-search { display: flex; gap: 8px; max-width: 640px; margin: 0 auto; }
.hero-search input { flex: 1; min-width: 0; font: inherit; font-size: 15.5px; padding: 15px 16px; border: 0; border-radius: 6px; background: var(--surface); color: var(--text); outline: 0; }
.hero-search .hero-loc { display: flex; align-items: center; white-space: nowrap; padding: 0 14px; border-radius: 6px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 14px; }
.hero-search button.primary { padding: 0 24px; border-radius: 6px; font-size: 16px; }
.hero-search .hero-near { white-space: nowrap; padding: 0 14px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .14); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.hero-search .hero-near:hover { background: rgba(255, 255, 255, .24); }
.nav-menu a.all { grid-column: 1 / -1; font-weight: 700; border-top: 1px solid var(--line); border-radius: 0; }
.state-group { margin-bottom: 28px; }
.state-group h2 { margin-bottom: 12px; }
.hero-popular { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .8); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; }
.hero-popular a { color: #fff; text-decoration: none; padding: 5px 12px; border-radius: 30px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.hero-popular a:hover { background: var(--accent); border-color: var(--accent); }
.welcome { text-align: center; color: var(--accent); font-family: var(--head); font-size: 21px; font-weight: 500; max-width: 820px; margin: 40px auto 30px; line-height: 1.45; }

/* ---- sections ---------------------------------------------------------- */
.section { margin: 0; padding: 48px 0; }
.section.alt { position: relative; background: var(--alt); box-shadow: 0 0 0 100vmax var(--alt); clip-path: inset(0 -100vmax); }
.section h2 { font-size: 30px; margin: 0; font-weight: 600; letter-spacing: -.01em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.section-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.section-link { font-size: 15px; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.section-link:hover { color: var(--accent); }
.section.seo h2 { font-size: 22px; }
.owner-band { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.owner-band h2 { margin-bottom: 10px; }
.owner-art { width: 100%; border-radius: 16px; display: block; }
.owner-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- grids ------------------------------------------------------------- */
.biz-grid, .deals-grid, .jobs-grid, .posts-grid, .interviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.city-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }

/* ---- business card ----------------------------------------------------- */
.biz-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); color: var(--text);
  text-decoration: none; transition: box-shadow .15s, transform .15s; }
.biz-card:hover { box-shadow: 0 12px 30px rgba(16, 18, 24, .1); transform: translateY(-2px); }
.biz-photo { position: relative; aspect-ratio: 5/3; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.biz-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-photo-fallback { font-family: var(--head); font-size: 34px; font-weight: 800; color: var(--accent); }
.pill { position: absolute; top: 12px; display: inline-flex; align-items: center; gap: 4px; font-family: var(--head); font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; color: #fff; line-height: 1.2; }
.pill.plan { left: 12px; background: var(--ink); }
.pill.claimed { right: 12px; background: var(--green); }
.pill.seed { top: auto; bottom: 12px; left: 12px; background: #475569; }
.biz-body { padding: 14px 16px 10px; flex: 1; }
.biz-name { font-size: 17.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.biz-meta { font-size: 14.5px; color: var(--muted); margin-top: 2px; }
.biz-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border: 1px solid var(--field); border-radius: 6px; color: var(--text); text-transform: capitalize; }
.biz-blurb { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 16px; padding: 12px 0 14px; border-top: 1px solid var(--line); font-size: 14px; }
.biz-go { font-family: var(--head); font-weight: 600; color: var(--accent); }
.biz-verified { color: var(--green); margin-left: 4px; }

/* ---- category & city tiles --------------------------------------------- */
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 12px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); text-decoration: none; transition: box-shadow .15s, border-color .15s; }
.cat-tile:hover { border-color: var(--accent); box-shadow: 0 10px 24px rgba(16, 18, 24, .08); }
.cat-icon { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; display: block; margin-bottom: 10px; }
.cat-emoji { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); font-size: 32px; margin-bottom: 10px; }
.cat-tile b { font-family: var(--head); font-size: 15px; font-weight: 600; }
.cat-tile .muted { font-size: 13px; }
.city-tile { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none; font-size: 14.5px; }
.city-tile:hover { border-color: var(--accent); color: var(--accent); }

/* ---- deals, jobs, posts, interviews ------------------------------------- */
.deal-card, .job-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); color: var(--text);
  text-decoration: none; transition: box-shadow .15s; }
.deal-card:hover, .job-card:hover, .post-card:hover, .interview-card:hover { box-shadow: 0 12px 30px rgba(16, 18, 24, .1); }
.deal-img { position: relative; aspect-ratio: 16/9; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.deal-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-img.plain { background: var(--accent-soft); }
.deal-img.plain::before { content: ''; position: absolute; inset: 0; background: url(/static/art/deals.jpg) center / cover; filter: var(--art-tone); }
img.scene, .cat-icon, .owner-art, .art-tone { filter: var(--art-tone); }
.deal-img.plain span { position: relative; z-index: 1; font-family: var(--head); font-size: 26px; font-weight: 800; color: #fff; text-transform: uppercase; text-align: center; padding: 8px 16px;
  background: var(--accent); border-radius: 10px; line-height: 1.1; max-width: 85%; box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.deal-body, .job-body { padding: 14px 16px 6px; flex: 1; }
.deal-body b, .job-body b { display: block; font-family: var(--head); font-size: 17px; font-weight: 600; margin-bottom: 2px; }
.btn-accent { display: block; margin: 10px 16px 16px; padding: 10px; border-radius: 6px; background: var(--accent); color: #fff; text-align: center; font-family: var(--head); font-weight: 600; font-size: 14.5px; }
.deal-card:hover .btn-accent, .job-card:hover .btn-accent { background: var(--accent-dark); }
.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.event-card { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; transition: box-shadow .15s; }
.event-card:hover { box-shadow: 0 12px 30px rgba(16, 18, 24, .1); }
.event-date { flex: none; display: grid; place-items: center; align-content: center; width: 58px; height: 62px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); }
.event-date small { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; }
.event-date b { font-family: var(--head); font-size: 24px; line-height: 1; }
.event-body { display: grid; gap: 3px; min-width: 0; font-size: 14px; }
.event-body b { font-family: var(--head); font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.event-kind { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.event-page { max-width: 760px; }
.event-when { font-size: 18px; margin: 4px 0; }
.event-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 960px) { .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .events-grid { grid-template-columns: 1fr; } }
.post-card, .interview-card { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); color: var(--text); text-decoration: none; }
.post-card .post-img { aspect-ratio: 16/9; background: var(--accent-soft); }
.post-card .post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .post-body, .interview-body { padding: 14px 16px; }
.post-card b, .interview-card b { display: block; font-family: var(--head); font-weight: 600; margin-bottom: 2px; }
.post-kind { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.interview-thumb { position: relative; aspect-ratio: 16/9; background: var(--ink); overflow: hidden; }
.interview-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.interview-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--accent);
  color: #fff; display: grid; place-items: center; font-size: 18px; padding-left: 4px; }

/* ---- lists, rows, chips (search, market, owner pages) ------------------- */
.crumbs { font-size: 13px; color: var(--muted); margin-top: 18px; }
.crumbs a { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.list { display: grid; gap: 10px; }
.item { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--text); text-decoration: none; }
.item:hover { border-color: var(--accent); }
.item .name { font-family: var(--head); font-weight: 600; font-size: 16.5px; }
.item .meta { color: var(--muted); font-size: 14px; }
.item.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
ol.list.ranked { list-style: none; padding: 0; margin: 0; counter-reset: rank; }
ol.list.ranked li { counter-increment: rank; position: relative; }
ol.list.ranked li .item { padding-left: 52px; }
ol.list.ranked li::before { content: counter(rank); position: absolute; left: 14px; top: 15px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip small { color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.tile { display: block; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; }
.tile:hover { border-color: var(--accent); }
.tile b { display: block; font-size: 15.5px; }
.tile span { color: var(--muted); font-size: 13.5px; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.badge.ok { color: #fff; background: var(--green); border-color: var(--green); }
.badge.feat { color: #fff; background: var(--ink); border-color: var(--ink); }
.badge.seed { color: #fff; background: #475569; border-color: #475569; vertical-align: middle; }
.badge.unverified { color: #fff; background: #b45309; border-color: #b45309; vertical-align: middle; }
.listing-note { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line); border-left: 4px solid #b45309; border-radius: 10px; background: var(--alt); color: var(--muted); font-size: 14.5px; }
.listing-note.seed { border-left-color: #475569; }
.listing-note .badge { margin-right: 6px; }
.badge.red { color: #fff; background: var(--danger); border-color: var(--danger); }
.claimbox { margin-top: 30px; padding: 16px; border: 1px dashed var(--field); border-radius: 12px; color: var(--muted); font-size: 14.5px; background: var(--alt); }
.owner-cta { margin-top: 36px; padding: 20px; border-radius: 12px; background: var(--alt); border: 1px solid var(--line); }
.owner-cta h2 { margin-top: 0; }

/* ---- buttons and forms ------------------------------------------------- */
.cta { display: block; text-align: center; background: var(--accent); color: var(--accent-ink); padding: 13px; border-radius: 8px; font-weight: 600; text-decoration: none; margin-bottom: 10px; border: 1.5px solid var(--accent); }
.cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.cta.secondary { background: var(--surface); color: var(--text); border: 1.5px solid var(--text); }
.cta.secondary:hover { background: var(--text); color: #fff; }
.cta.inline { display: inline-block; padding: 11px 18px; margin: 0; }
button.primary { background: var(--accent); color: var(--accent-ink); border: 0; padding: 12px 18px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; }
button.primary:hover { background: var(--accent-dark); }
form.stack { display: grid; gap: 12px; max-width: 520px; }
form.stack label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 4px; }
form.stack input, form.stack textarea, form.stack select { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid var(--field); border-radius: 8px; background: var(--surface); color: var(--text); }
form.stack input:focus, form.stack textarea:focus, form.stack select:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
form.stack textarea { min-height: 120px; }
form.stack .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 500; }
form.stack .check input { width: auto; margin-top: 5px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.claim-layout { display: grid; grid-template-columns: minmax(0, 520px) minmax(260px, 360px); grid-template-areas: "fields process"; gap: 36px; align-items: start; margin: 26px 0 48px; }
.claim-fields { grid-area: fields; }
.claim-fields h2, .claim-process h2 { margin-top: 0; }
.claim-fields form.stack { max-width: none; }
.claim-after { margin: -3px 0 0; text-align: center; }
.claim-process { grid-area: process; position: sticky; top: 108px; padding: 20px; border: 1px solid color-mix(in srgb, var(--accent) 25%, var(--line)); border-radius: 12px; background: var(--accent-soft); }
.claim-process ol { list-style: none; padding: 0; margin: 16px 0; counter-reset: claim-step; display: grid; gap: 18px; }
.claim-process li { counter-increment: claim-step; display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; }
.claim-process li::before { content: counter(claim-step); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 13px; }
.claim-process strong, .claim-process span { grid-column: 2; }
.claim-process strong { line-height: 1.35; }
.claim-process span { color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 2px; }
.claim-process p { margin: 0; font-size: 14px; font-weight: 600; }

/* ---- plans ------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; }
.plan.pop { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan h2 { margin: 0; font-size: 18px; }
.plan .price { font-family: var(--head); font-size: 32px; font-weight: 800; margin: 6px 0 10px; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 500; }
.plan ul { padding-left: 18px; margin: 0 0 14px; flex: 1; font-size: 14.5px; }
.plan .cta { margin: 0; }

/* ---- business profile -------------------------------------------------- */
.cover { width: 100%; aspect-ratio: 21/7; max-height: 380px; overflow: hidden; background: var(--accent-soft); border-radius: 0 0 16px 16px; margin-bottom: 14px; position: relative; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-fallback { display: flex; align-items: center; justify-content: center; }
.cover-fallback span { font-family: var(--head); font-size: 96px; font-weight: 800; color: var(--accent); }
.profile { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; margin-top: 4px; }
.profile aside .card { position: sticky; top: 100px; }
.profile-head h1 { margin: 8px 0 4px; font-size: 34px; }
.profile-meta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14.5px; }
.profile-sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.profile-lead { font-size: 17px; max-width: 60ch; margin-top: 14px; }
.profile-cta-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.primary-action { font-size: 16px; padding: 14px 20px; }
.profile-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.profile-section:first-of-type { border-top: 0; padding-top: 0; }
.profile-section h2 { margin: 0 0 12px; font-size: 21px; }
.profile-aside { position: sticky; top: 100px; }
.profile-card .cta { margin: 0 0 8px; }
.profile-card .cta:last-of-type { margin-bottom: 12px; }
.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px; }
.services li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 14.5px; }
.photos, .photos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.photos img, .photos-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; word-break: break-word; }
.facts li:last-child { border-bottom: 0; }
.facts .k { display: block; color: var(--muted); font-size: 12.5px; }
.deal-list, .job-list, .post-list { display: grid; gap: 8px; }
.deal-row, .job-row, .post-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none; }
.deal-row:hover, .job-row:hover, .post-row:hover { border-color: var(--accent); }
.deal-row b, .job-row b, .post-row b { flex: 1; font-size: 15px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours-table td { padding: 5px 0; border-bottom: 1px solid var(--line); }
.hours-table td:first-child { font-weight: 600; width: 90px; }
details.faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
details.faq summary { font-weight: 600; cursor: pointer; }
.video { position: relative; padding-top: 56.25%; border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* ---- area picker ("| Detroit") ---------------------------------------- */
.brand-area { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 0 1 auto; }
.brand-area .area-pick, .brand-area .area-pick > summary { min-width: 0; }
.area-pick > summary .area-name { flex: 0 1 auto; min-width: 0; }
.area-pick { position: relative; }
.area-pick > summary { list-style: none; display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 8px 6px; font-family: var(--head);
  font-weight: 700; font-size: 16px; color: var(--text); white-space: nowrap; border-radius: 8px; }
.area-pick > summary::-webkit-details-marker { display: none; }
.area-pick > summary:hover, .area-pick[open] > summary { color: var(--accent); }
.area-sep { color: var(--field); font-weight: 400; font-size: 22px; line-height: 1; }
.area-name { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-bottom: 2px solid var(--accent); }
.area-caret { font-size: 12px; color: var(--accent); }
.area-panel { position: absolute; left: 0; top: calc(100% + 8px); width: 380px; max-width: calc(100vw - 32px); max-height: calc(100vh - 90px); overflow-y: auto; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 18px 44px rgba(16, 18, 24, .16); padding: 16px; z-index: 30; }
.area-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; font-family: var(--head); font-size: 17px; }
.area-auto { font-size: 13px; font-weight: 600; }
.area-search { width: 100%; font: inherit; font-size: 15px; padding: 11px 12px; border: 1px solid var(--field); border-radius: 8px; outline: 0; }
.area-search:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.area-results { display: grid; margin-top: 8px; max-height: 300px; overflow: auto; }
.area-results a, .area-lists a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 14.5px; }
.area-results a:hover, .area-lists a:hover { background: var(--accent-soft); color: var(--accent); }
.area-results small { color: var(--muted); font-size: 12px; }
.area-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: 12px; }
.area-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 4px 8px; }
.area-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.area-near { border: 1px solid var(--accent); background: var(--surface); color: var(--accent); border-radius: 8px; padding: 7px 12px; font: inherit; font-weight: 600; cursor: pointer; }
.area-near:hover { background: var(--accent); color: #fff; }

/* ---- Michigan page, regions, locations ----------------------------------- */
.hub-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.hub-tile { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); text-decoration: none; border-top: 3px solid var(--accent); }
.hub-tile:hover { box-shadow: 0 10px 24px rgba(16, 18, 24, .08); color: var(--accent); }
.hub-tile b { display: block; font-family: var(--head); font-size: 17px; }
.hub-tile span { color: var(--muted); font-size: 13.5px; }
.region { padding: 26px 0; border-top: 1px solid var(--line); }
.region:first-of-type { border-top: 0; }
.region-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.region-head h3 { margin: 0; font-family: var(--head); font-size: 21px; }
.loc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.loc-chips a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 30px; color: var(--text); text-decoration: none; font-size: 14px; background: var(--surface); }
.loc-chips a:hover { border-color: var(--accent); color: var(--accent); }
.loc-chips a small { color: var(--muted); margin-left: 4px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0; }
.az a { min-width: 34px; text-align: center; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 700; font-family: var(--head); }
.az-group { margin-bottom: 18px; }
.az-group h3 { font-family: var(--head); margin: 18px 0 8px; color: var(--accent); }
.loc-filter { width: 100%; max-width: 520px; font: inherit; padding: 12px 14px; border: 1px solid var(--field); border-radius: 8px; }
.more-nearby { margin-top: 10px; }
.scope-links { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 6px 0 18px; font-size: 14.5px; }
.scope-links a.on { font-weight: 700; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--accent); }
.page-nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 32px 0 8px; }
.page-num, .page-step { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 9px; color: var(--text); text-decoration: none; font-weight: 600; }
.page-num:hover, .page-step:hover { border-color: var(--accent); color: var(--accent); }
.page-num.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-gap { color: var(--muted); padding: 0 2px; }
.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.result-head h2 { margin-bottom: 4px; }

/* ---- owner dashboard ---------------------------------------------------- */
.owner-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.owner-card .owner-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.owner-card .name { font-family: var(--head); font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.owner-card .meta { color: var(--muted); font-size: 14px; }
.owner-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 14px 0 8px; }
.owner-facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.owner-facts dd { margin: 0; font-size: 14.5px; }
.owner-next { display: block; margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.owner-next span { text-transform: uppercase; font-size: 11.5px; letter-spacing: .08em; margin-right: 4px; }
.owner-links { display: flex; flex-wrap: wrap; gap: 8px; }
.owner-create { margin-top: 12px; }
.owner-manage { margin: 12px 0 0; }

/* ---- blog -------------------------------------------------------------- */
.blog-hero { padding: 34px 0 6px; max-width: 760px; }
.blog-hero h1 { font-size: 40px; margin-top: 6px; }
.blog-hero .scope-links { margin-top: 14px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 22px 0 40px; }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 18, 24, .09); }
.blog-card:hover h2 { color: var(--accent); }
.blog-thumb { aspect-ratio: 16 / 9; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 34px; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-body { padding: 16px 18px 20px; }
.blog-card h2 { font-size: 18.5px; line-height: 1.3; margin: 8px 0 6px; }
.blog-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.blog-card.big { display: grid; grid-template-columns: 1.25fr 1fr; margin-top: 18px; }
.blog-card.big .blog-thumb { aspect-ratio: auto; min-height: 300px; }
.blog-card.big .blog-card-body { padding: 30px 32px; align-self: center; }
.blog-card.big h2 { font-size: 27px; }
.blog-card.big p { font-size: 16px; }
.blog-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.blog-tag { font-weight: 700; color: var(--accent-dark); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; }
.blog-tag.owners { color: #9a4a00; background: #fff1e0; }
.blog-article { max-width: 720px; margin: 0 auto; padding: 18px 0 30px; }
.blog-back { display: inline-block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 22px; }
.blog-back:hover { color: var(--text); }
.blog-article h1 { font-size: 40px; line-height: 1.12; margin: 10px 0 12px; }
.blog-dek { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0 0 22px; }
.blog-hero-img, .blog-inline { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: var(--accent-soft); }
.blog-inline { margin: 36px 0 -6px; }
.blog-body { font-size: 17.5px; line-height: 1.75; }
.blog-body h2 { font-size: 25px; line-height: 1.25; margin: 38px 0 4px; }
.blog-body p { margin: 16px 0 0; }
.blog-body ul, .blog-body ol { margin: 16px 0 0; padding-left: 22px; }
.blog-body li { margin: 8px 0; }
.blog-body li::marker { color: var(--accent); font-weight: 700; }
.blog-foot { margin-top: 44px; padding: 22px 24px; border-radius: 14px; background: var(--alt); border: 1px solid var(--line); }
.blog-foot b { font-family: var(--head); font-size: 16px; }
.blog-foot ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.blog-foot a { font-weight: 600; text-decoration: none; }
.blog-foot a:hover { text-decoration: underline; }

/* ---- legal ------------------------------------------------------------- */
.legal { max-width: 760px; margin: 0 auto; padding: 10px 0 50px; line-height: 1.7; }
.legal h1 { margin-bottom: 4px; }
.legal-date { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.legal h2 { font-size: 20px; margin: 34px 0 6px; scroll-margin-top: 100px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal-toc { background: var(--alt); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 18px 0 8px; }
.legal-toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 14.5px; }
.legal-toc li { margin: 3px 0; break-inside: avoid; }
.legal-table { overflow-x: auto; margin: 12px 0; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-family: var(--head); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.legal-other { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; }
.foot-legal-links { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; margin-left: 22px; }
.foot-legal-links a { color: inherit; }

/* ---- footer ------------------------------------------------------------ */
footer.site { margin-top: 0; padding: 48px 0 28px; background: #000; color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot-top p { margin: 0; color: rgba(255, 255, 255, .7); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 28px; margin: 28px 0; }
.foot-cols b { display: block; font-family: var(--head); font-size: 15px; color: #fff; margin-bottom: 10px; }
.foot-cols a { display: block; padding: 3px 0; color: rgba(255, 255, 255, .72); text-decoration: none; }
.foot-cols a:hover { color: #fff; }
.foot-cities { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-cities a { display: inline; }
.foot-states { margin: 0 0 24px; }
.foot-states b { display: block; font-family: var(--head); font-size: 15px; color: #fff; margin-bottom: 10px; }
.foot-states div { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-states a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: 13.5px; }
.foot-states a:hover { color: #fff; }
.foot-legal { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav-primary { gap: 18px; font-size: 14.5px; }
  .nav-add-long { display: none; }
}
@media (max-width: 1040px) {
  .nav-primary { display: none; }
  .nav-login-text { display: none; }
  /* With the links hidden the menu is the only way to Deals and the Blog. */
  .nav-mobile { display: block; margin-left: 0; }
  .biz-grid, .deals-grid, .jobs-grid, .posts-grid, .interviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .profile { grid-template-columns: 1fr; }
  .profile-aside, .profile aside .card { position: static; }
  .cover { aspect-ratio: 16/7; }
  .owner-band { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }
  .blog-card.big { grid-template-columns: 1fr; }
  .blog-card.big .blog-thumb { min-height: 0; aspect-ratio: 16 / 9; }
  .blog-card.big .blog-card-body { padding: 18px 18px 22px; }
  .blog-card.big h2, .blog-hero h1, .blog-article h1 { font-size: 29px; }
  .blog-body { font-size: 17px; }
  .blog-foot ul { grid-template-columns: 1fr; }
  .legal-toc ol { columns: 1; }
  .foot-legal-links { display: flex; margin: 10px 0 0; }

  .nav-top { height: 68px; gap: 10px; }
  .area-pick > summary { font-size: 14.5px; padding: 6px 2px; gap: 5px; }
  .area-name { max-width: 110px; }
  .logo { flex-shrink: 0; }
  .nav-tools { gap: 0; }
  .area-panel { position: fixed; left: 16px; right: 16px; top: 72px; width: auto; max-width: none; }
  .area-lists { grid-template-columns: 1fr; }
  .nav-right { display: none; }
  .nav-mobile { display: block; }
  .logo .mark { width: 34px; height: 34px; border-radius: 9px; }
  .logo .word { font-size: 16.5px; }
  .logo .loc { font-size: 10.5px; }
  .nav-tool { width: 36px; height: 36px; }
  .nav-mobile { margin-left: 0; }
  h1 { font-size: 27px; }
  .hero-main { padding: 44px 16px 40px; }
  .hero-main.big { padding: 64px 16px 80px; }
  .hero-main h1, .hero-main.big h1 { font-size: 34px; }
  .hero-main.big .lead { font-size: 18px; }
  .hero-search { flex-wrap: wrap; }
  .hero-search input { flex: 1 1 100%; }
  .hero-search .hero-loc { display: none; }
  .hero-search .hero-near { flex: 1; padding: 13px; }
  .hero-search button.primary { flex: 1; padding: 13px; }
  .welcome { font-size: 18px; margin: 28px auto 8px; }
  .section { padding: 34px 0; }
  .section h2 { font-size: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .biz-grid, .deals-grid, .jobs-grid, .posts-grid, .interviews-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid2 { grid-template-columns: 1fr; }
  .claim-layout { grid-template-columns: 1fr; grid-template-areas: "process" "fields"; gap: 24px; margin-top: 20px; }
  .claim-process { position: static; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-cities-col { grid-column: 1 / -1; }
}

/* Small phones: a long town name gets the ellipsis, never the logo. */
@media (max-width: 420px) {
  .logo { column-gap: 8px; }
  .logo .mark { width: 30px; height: 30px; border-radius: 8px; }
  .logo .word { font-size: 15px; }
  .logo .loc { font-size: 9.5px; }
  .area-sep { display: none; }
  .area-name { max-width: 76px; }
  .nav-tool { width: 32px; height: 32px; }
  .nav-mobile summary { padding: 4px 4px; }
}

/* ---- owner app: bottom tabs on phones and in the installed app ---- */
.app-tabs { display: none; }
@media (max-width: 760px), (display-mode: standalone) {
  body.has-tabs { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .app-tabs { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .app-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; min-height: 48px; justify-content: center;
    font-family: var(--head); font-size: 11.5px; font-weight: 700; color: var(--muted); text-decoration: none; border-radius: 10px; }
  .app-tabs a span { font-size: 20px; line-height: 1; }
  .app-tabs a.on { color: var(--accent); background: var(--accent-soft); }
  /* Thumb-sized controls and no zoom-on-focus on iPhone */
  body.has-tabs form.stack input, body.has-tabs form.stack select, body.has-tabs form.stack textarea { font-size: 16px; min-height: 46px; }
  body.has-tabs button.primary, body.has-tabs .cta { min-height: 46px; }
}
@media (display-mode: standalone) {
  body.has-tabs footer.site { display: none; }
  header.site { padding-top: env(safe-area-inset-top); }
}

/* ---- staff test mode (yellow) ---- */
.tk-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  padding: 10px 12px; background: #fde047; color: #1a1600; border: 2px solid #1a1600; border-radius: 12px; font-size: 13px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
body.has-tabs .tk-bar { bottom: calc(76px + env(safe-area-inset-bottom)); }
.tk-bar b { font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; user-select: none; }
.tk-bar b::after { content: " \25BE"; }
.tk-bar.min { left: auto; padding: 8px 12px; }
.tk-bar.min b::after { content: " \25B4"; }
.tk-bar.min > :not(b) { display: none; }
.tk-who { flex: 1 1 220px; font-family: ui-monospace, monospace; font-size: 12px; word-break: break-all; }
.tk-btn, .tk-claim > summary { display: inline-block; padding: 6px 10px; border-radius: 8px; border: 1.5px solid #1a1600; background: #fff7c2; color: #1a1600;
  font: 700 12.5px var(--head); cursor: pointer; text-decoration: none; list-style: none; }
.tk-claim[open] { flex-basis: 100%; order: 9; }
.tk-claim > summary::-webkit-details-marker { display: none; }
.tk-claim > div { margin-top: 8px; max-height: 40vh; overflow: auto; background: #fff; border: 2px solid #1a1600; border-radius: 10px; padding: 6px; }
.tk-claim a { display: block; padding: 8px 10px; border-radius: 6px; color: #1a1600; text-decoration: none; font-weight: 600; }
.tk-claim a:hover { background: #fef9c3; }
.tk-claim small { display: block; font-weight: 400; color: #5b5200; }
.tk-off { margin-left: auto; color: #1a1600; font-weight: 700; }
.tk-fill { display: block; margin: 0 0 4px; padding: 3px 9px; border-radius: 999px; border: 1px solid #a16207; background: #fde047; color: #422006;
  font: 700 11.5px var(--head); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-fill:hover { background: #facc15; }
.tk-all { margin-bottom: 12px; padding: 6px 12px; font-size: 12.5px; }
body:has(.tk-bar) main { padding-bottom: 120px; }

.area-states { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 10px 0 2px; border-top: 1px solid var(--line); margin-top: 8px; }
.area-states .area-label { flex-basis: 100%; }
.area-state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: 4px; width: 100%; }
.area-state-grid a { padding: 4px 0; border: 1px solid var(--line); border-radius: 6px; text-align: center; font: 600 12.5px var(--head); text-decoration: none; }
.area-state-grid a:hover { border-color: var(--accent); }

/* ---- page fillers: stat band, comparison table, area card ---- */
.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 8px 0 12px; }
.stat { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.stat b { display: block; font-family: var(--head); font-size: 26px; font-weight: 700; color: var(--accent); line-height: 1.15; }
.stat span { color: var(--muted); font-size: 14px; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; background: var(--alt); white-space: nowrap; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 600; min-width: 160px; }
.small { font-size: 13px; }
.area-card { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--alt); }
.area-card p { margin: 0 0 12px; }
.area-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14.5px; font-weight: 600; }
.glance { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.glance li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 14.5px; }
.glance .k { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 2px; }
.faq-section .faq { max-width: 860px; }
