:root {
  --cream: #f4fbf6;
  --cream-deep: #d8efe0;
  --ink: #1a2e24;
  --muted: #4a6356;
  --mint: #2f9e6b;
  --mint-bright: #3ecf8e;
  --mint-deep: #1f7a52;
  --mint-pale: #c8f0dc;
  --sky: #5b9fd4;
  --sky-soft: #d6ebf8;
  --gold: #f0b429;
  --gold-edge: #d4a017;
  --coral: #e87a5d;
  --white: #ffffff;
  --border: #c5e0d0;
  --shadow: 0 14px 36px rgba(30, 80, 50, 0.14);
  --radius: 16px;
  --display: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-family: var(--display);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(ellipse 110% 70% at 50% -12%, rgba(47, 158, 107, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 80% 50% at -5% 28%, rgba(91, 159, 212, 0.16) 0%, transparent 52%),
    radial-gradient(ellipse 70% 48% at 105% 12%, rgba(240, 180, 41, 0.28) 0%, transparent 48%),
    radial-gradient(ellipse 55% 40% at 85% 92%, rgba(62, 207, 142, 0.2) 0%, transparent 52%),
    linear-gradient(180deg, #e8f7ee 0%, #f4fbf6 40%, #dff3e8 100%);
  background-attachment: fixed;
}

a {
  color: var(--mint-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--ink);
}

.draft-banner {
  display: none; /* production: draft banner removed from HTML */
  position: sticky;
  top: 0;
  z-index: 40;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #5c3b00;
  background: linear-gradient(90deg, #ffe08a, #ffd24d 40%, #ffe08a);
  border-bottom: 2px solid #d4a017;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background:
    linear-gradient(90deg, rgba(200, 240, 220, 0.55) 0%, rgba(255, 255, 255, 0.95) 45%, rgba(214, 235, 248, 0.5) 100%),
    rgba(255, 253, 248, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(47, 158, 107, 0.1);
  position: sticky;
  top: 36px;
  z-index: 20;
}

.site-header__bunting {
  height: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--mint) 0 14px,
      var(--sky) 14px 28px,
      var(--gold) 28px 42px,
      var(--coral) 42px 56px,
      var(--mint-bright) 56px 70px
    );
}

.site-header__scallop {
  height: 10px;
  background:
    radial-gradient(circle at 10px 0, transparent 9px, var(--mint) 9.5px 11px, transparent 11.5px) 0 0 / 20px 10px repeat-x;
}

.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(145deg, var(--mint-bright), var(--mint-deep));
  box-shadow: 0 6px 14px rgba(47, 158, 107, 0.35);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__text strong {
  font-size: 1.05rem;
}

.brand__sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--mint-deep);
  background: var(--mint-pale);
}

main {
  flex: 1;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.hero {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sticker {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0.85;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
}

.sticker--a { top: 1rem; right: 1.5rem; transform: rotate(12deg); }
.sticker--b { bottom: 1.2rem; right: 4rem; transform: rotate(-8deg); }
.sticker--c { top: 3rem; right: 5.5rem; transform: rotate(4deg); }

.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  max-width: 18ch;
}

.prose p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 62ch;
}

.opening-copy__ask {
  color: var(--ink) !important;
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  color: white;
  background: linear-gradient(145deg, var(--mint-bright), var(--mint-deep));
  box-shadow: 0 8px 18px rgba(47, 158, 107, 0.35);
}

.btn--ghost {
  color: var(--mint-deep);
  background: white;
  border-color: var(--mint-pale);
}

.section-title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.section-lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
}

.city-picker {
  margin-top: 2.5rem;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
}

.city-card {
  text-align: left;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(30, 80, 50, 0.06);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  font: inherit;
  color: inherit;
}

.city-card:hover {
  transform: translateY(-2px);
  border-color: var(--mint-bright);
}

.city-card.is-active {
  border-color: var(--mint);
  background: linear-gradient(180deg, #fff, var(--mint-pale));
  box-shadow: 0 10px 24px rgba(47, 158, 107, 0.18);
}

.city-card__emoji {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.city-card__name {
  display: block;
  font-weight: 800;
  font-size: 1.02rem;
}

.city-card__rule {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.listings {
  margin-top: 2.5rem;
}

.listings__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.listings__meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.threshold-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--sky-soft);
  color: #1e4f73;
  font-size: 0.82rem;
  font-weight: 700;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.place-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1rem;
  box-shadow: 0 10px 24px rgba(30, 80, 50, 0.08);
  position: relative;
  overflow: hidden;
}

.place-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--mint-bright), var(--mint-deep));
}

.place-card--miami::before {
  background: linear-gradient(180deg, var(--sky), #2a7ab8);
}

.place-card--nyc::before {
  background: linear-gradient(180deg, var(--gold), var(--coral));
}

.place-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.place-card__name {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.25;
}

.place-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.score-badge {
  flex-shrink: 0;
  min-width: 64px;
  text-align: center;
  padding: 0.45rem 0.55rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--mint-pale), #e8fff3);
  border: 1px solid #9ad9b8;
  color: var(--mint-deep);
  font-weight: 800;
  line-height: 1.15;
}

.score-badge__value {
  display: block;
  font-size: 1.15rem;
}

.score-badge__sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.85;
}

.score-badge--clean {
  background: linear-gradient(145deg, #dff0ff, #eef7ff);
  border-color: #9bc4e3;
  color: #1e5a88;
}

.score-badge--grade {
  background: linear-gradient(145deg, #fff4d0, #ffe8a8);
  border-color: #e0c060;
  color: #7a5600;
}

.place-card__note {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-left: 3px solid var(--mint-pale);
  background: #f7fcf9;
  font-size: 0.84rem;
  color: var(--muted);
  border-radius: 0 8px 8px 0;
}

.place-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.place-card__city {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 700;
  color: var(--ink);
}

.mock-pill {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #fff1c9;
  color: #7a5600;
  font-weight: 700;
  font-size: 0.7rem;
}

.place-card__source {
  font-weight: 600;
}

.empty {
  margin: 1.5rem 0 0;
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.ad-slot {
  margin: 1.75rem 0;
  border: 2px dashed #b7d4c4;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.55) 0 10px,
      rgba(200, 240, 220, 0.35) 10px 20px
    );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--muted);
  text-align: center;
}

.ad-slot--leader {
  min-height: 90px;
}

.ad-slot--inline {
  min-height: 120px;
}

.ad-slot__label {
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.ad-slot__hint {
  font-size: 0.8rem;
}

.how-steps {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.how-step {
  background: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(30, 80, 50, 0.07);
}

.how-step h2 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.1rem;
}

.how-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.how-step__icon {
  font-size: 1.6rem;
}

.how-step--sky { border-top: 4px solid var(--sky); }
.how-step--mint { border-top: 4px solid var(--mint); }
.how-step--gold { border-top: 4px solid var(--gold); }

.about {
  margin-top: 2.75rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
}

.disclaimer {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  background: #fff8e8;
  border: 1px solid #f0d48a;
  border-radius: 12px;
  font-size: 0.88rem;
  color: #5c4a20;
}

.site-footer {
  margin-top: auto;
  background: #163528;
  color: #d7ece2;
  padding: 1.75rem 1.25rem;
}

.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.site-footer a {
  color: #9de4c0;
}

.site-footer p {
  margin: 0 0 0.55rem;
}

.site-footer__attrs,
.site-footer__note {
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .hero h1 {
    max-width: none;
  }
  .sticker--c {
    display: none;
  }
  .site-header {
    top: 40px;
  }
}

/* --- 15-city picker extras --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.city-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.city-search input {
  width: 100%;
  max-width: 420px;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border: 2px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(30, 80, 50, 0.06);
}

.city-search input:focus {
  outline: 3px solid rgba(47, 158, 107, 0.35);
  border-color: var(--mint);
}

.city-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.group-chip {
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}

.group-chip.is-active {
  background: linear-gradient(145deg, var(--mint-bright), var(--mint-deep));
  border-color: transparent;
  color: white;
}

.city-card--home,
.city-card--optional {
  border-style: dashed;
}

.city-card__opt {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #fff3cd;
  color: #5c3b00;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: middle;
}

.city-empty {
  color: var(--muted);
  font-size: 0.95rem;
}

.city-grid {
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
}

@media (max-width: 560px) {
  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero h1 {
    max-width: none;
  }

  .nav {
    gap: 0.65rem;
    font-size: 0.88rem;
  }
}

/* Accent bars by city (subtle variety) */
.place-card--nyc::before { background: linear-gradient(180deg, #5b9fd4, #2f6ea5); }
.place-card--miami::before,
.place-card--orlando::before,
.place-card--tampa::before,
.place-card--jacksonville::before { background: linear-gradient(180deg, #3ecf8e, #1f7a52); }
.place-card--seattle::before { background: linear-gradient(180deg, #7eb8e0, #3a6d94); }
.place-card--la::before,
.place-card--sf::before { background: linear-gradient(180deg, #f0b429, #d4a017); }
.place-card--memphis::before { background: linear-gradient(180deg, #e87a5d, #c45a40); }


.help-pal-link {
  display: inline-block;
  margin-top: 0.75rem;
  color: inherit;
  opacity: 0.85;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.95rem;
}
.help-pal-link:hover { opacity: 1; }
.ad-slot[data-ad-ready="placeholder"] .ad-slot__hint { opacity: 0.7; }
