:root {
  --night: #141a33;
  --night-2: #1f2850;
  --cream: #fff7ec;
  --paper: #fffdf8;
  --ink: #1d2340;
  --ink-soft: #4a5072;
  --marigold: #f4a100;
  --marigold-deep: #c97a00;
  --coral: #e8604c;
  --glow: #ffd27a;
  --line: #eadfcd;
  --radius: 18px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }  /* overscroll past header/footer stays dark, not a cream gap */
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 5vw, 46px); }
h3 { font-size: 21px; }
.deva { font-family: "Mukta", "Inter", sans-serif; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--marigold-deep);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--marigold); color: var(--night); box-shadow: 0 8px 24px rgba(244,161,0,.35); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(255,247,236,.35); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn[aria-disabled="true"] { opacity: .7; cursor: default; transform: none; }

/* Top bar */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: "Fraunces", serif; font-weight: 700; font-size: 22px; color: var(--cream); text-decoration: none; }
.logo span { color: var(--marigold); }
.top a.small { color: var(--cream); opacity: .8; font-size: 14px; text-decoration: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background: radial-gradient(120% 80% at 70% 0%, #2c3770 0%, var(--night-2) 40%, var(--night) 100%);
  padding: 120px 0 0;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(44px, 10vw, 92px); font-weight: 700; margin-bottom: 12px; }
.hero h1 em { font-style: normal; color: var(--marigold); }
.hero .deva { font-size: 18px; opacity: .8; margin: 0 0 22px; }
.hero .lead { font-size: clamp(18px, 2.4vw, 21px); max-width: 600px; opacity: .92; margin: 0 0 28px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .free { margin: 18px 0 0; font-size: 14px; opacity: .75; }
.pin {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  background: rgba(244,161,0,.14); color: var(--glow); box-shadow: inset 0 0 0 1px rgba(244,161,0,.35);
}
.pin em { font-style: normal; opacity: .6; }
.pin .num b { color: var(--glow); }
.pin i { width: 7px; height: 7px; border-radius: 50%; background: var(--marigold); box-shadow: 0 0 10px var(--marigold); }

.skyline { position: relative; z-index: 1; margin-top: 48px; }
.skyline svg { width: 100%; height: clamp(200px, 25vw, 300px); }
.skyline .caption {
  margin: 0 0 18px; text-align: center; padding: 0 16px;
  font-family: "Fraunces", serif; font-style: italic; font-size: clamp(16px, 2.2vw, 20px); color: var(--glow);
}
.win { fill: #2a3360; transition: fill 1.2s ease; }
.win.on { fill: var(--glow); }
.tower { fill: #0e1328; }

/* Sections */
section { padding: 72px 0; }
@media (min-width: 720px) { section { padding: 96px 0; } }

.story { background: var(--paper); }
/* The number: 8779 quiet, 421204 (our pin code) glowing. Same size, one number. */
.num { white-space: nowrap; }
.num span { opacity: .45; }
.num b { font-weight: inherit; color: var(--marigold); }

.big-num { margin-bottom: 40px; }
.big-num .num {
  display: block; font-family: "Fraunces", serif; font-weight: 700; line-height: 1;
  font-size: clamp(44px, 12vw, 128px); letter-spacing: -.02em; color: var(--ink);
}
.big-num .num span { opacity: .22; }
.big-num small {
  display: block; margin-top: 14px; font-weight: 600; font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft);
}
.story-text { max-width: 680px; }
.story p { color: var(--ink-soft); font-size: 18px; margin: 0 0 16px; }
.story p strong { color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 16px 12px; text-align: center; }
.stat b { display: block; font-family: "Fraunces", serif; font-size: clamp(21px, 4vw, 32px); white-space: nowrap; }
.stat span { font-size: 13px; color: var(--ink-soft); }

.cards { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.card .ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: #fff0d4; margin-bottom: 16px;
}
.card p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.card.soon { background: transparent; border-style: dashed; }

.section-head { max-width: 680px; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }

/* Promise */
.promise { background: var(--night); color: var(--cream); }
.promise .section-head p { color: rgba(255,247,236,.75); }
.promises { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .promises { grid-template-columns: repeat(2, 1fr); } }
.promises li {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.05); border-radius: 16px; padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(255,247,236,.1);
}
.promises li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--marigold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141a33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat;
}
.promises b { display: block; font-size: 17px; }
.promises span { color: rgba(255,247,236,.72); font-size: 15px; }

/* Steps */
.steps { counter-reset: s; display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.step::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--cream); font-weight: 700; margin-bottom: 14px;
}
.step p { margin: 0; color: var(--ink-soft); font-size: 16px; }
.number-note {
  margin-top: 28px; padding: 20px 22px; border-radius: var(--radius);
  background: #fff0d4; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline;
}
.number-note b { font-family: "Fraunces", serif; font-size: 24px; letter-spacing: .02em; }
.number-note .num b { color: var(--coral); }
.number-note .num span { opacity: .55; }
.number-note span { color: var(--ink-soft); font-size: 15px; }

/* Join */
.join { background: linear-gradient(180deg, var(--cream), #ffe9c4); text-align: center; }
.join .section-head { margin: 0 auto; }
.join .ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px auto 0; max-width: 720px; }
.roles span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; }

/* Newsletter band */
.newsletter {
  margin-top: 16px; padding: 24px 22px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between;
}
.newsletter h3 { margin-bottom: 4px; }
.newsletter p { margin: 0; color: var(--ink-soft); font-size: 16px; max-width: 560px; }

/* Join form */
.join-form {
  text-align: left; max-width: 520px; margin: 32px auto 0; padding: 28px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  box-shadow: 0 18px 50px rgba(29,35,64,.08); display: grid; gap: 16px;
}
@media (min-width: 560px) { .join-form { padding: 32px; } }
.join-form h3 { font-size: 26px; margin: 0; }
.join-form .form-note { margin: -10px 0 0; color: var(--ink-soft); font-size: 15px; }
.join-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.join-form label em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.join-form input:not([type=checkbox]) {
  width: 100%; min-height: 50px; padding: 0 14px; font: inherit; font-weight: 400; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
}
.join-form input:focus { outline: none; border-color: var(--marigold); box-shadow: 0 0 0 3px rgba(244,161,0,.2); }
.phone { display: flex; align-items: stretch; }
.phone > span {
  display: grid; place-items: center; padding: 0 12px; font-weight: 600; color: var(--ink-soft);
  background: var(--cream); border: 1.5px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px;
}
.phone input { border-radius: 0 12px 12px 0 !important; }
.join-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.join-form legend { font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.join-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.join-form .check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--marigold-deep); }
.join-form .consent { color: var(--ink-soft); font-size: 14px; }
.join-form .consent a { color: var(--ink); }
.join-form .btn { width: 100%; }
.join-form .btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.form-error { margin: 0; color: #b3261e; font-size: 15px; font-weight: 600; }
.form-done { text-align: center; padding: 20px 0; }
.form-done p { color: var(--ink-soft); margin: 0; }
[hidden] { display: none !important; }
.join-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Footer */
footer { background: var(--night); color: rgba(255,247,236,.7); font-size: 14px;
  padding: 40px 0 calc(48px + env(safe-area-inset-bottom)); }
footer .wrap { display: grid; gap: 14px; }
footer .logo { font-size: 20px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer nav a { color: var(--cream); text-decoration: none; }
footer p { margin: 0; }

/* Legal page */
.legal-top { background: var(--night); color: var(--cream); padding: 22px 0; }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; }
.legal { max-width: 760px; padding: 48px 16px 80px; margin: 0 auto; }
.legal h1 { font-size: clamp(34px, 6vw, 48px); }
.legal h2 { font-size: 24px; margin-top: 36px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .updated { font-size: 14px; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .win { transition: none; }
  .btn { transition: none; }
}

/* Accounts: login.html, me.html */
.account-page { background: var(--cream); }
.account-page .legal-top .small { color: var(--cream); opacity: .8; font-size: 14px; text-decoration: none; }
.account-wrap { max-width: 520px; margin: 0 auto; padding: 32px 16px 64px; }
.account-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 28px 22px;
  box-shadow: 0 18px 50px rgba(29,35,64,.08); text-align: center;
}
.account-card h1 { font-size: clamp(28px, 7vw, 36px); margin-bottom: 10px; }
.account-card .lead-soft { color: var(--ink-soft); margin: 0 0 18px; }
.login-code { font: 700 30px/1 "Inter", sans-serif; letter-spacing: .12em; margin: 8px 0 20px; white-space: nowrap; }
.btn-wa { background: #1f9d55; color: #fff; box-shadow: 0 8px 24px rgba(31,157,85,.3); }
.account-card .hint { color: var(--ink-soft); font-size: 14px; margin: 14px 0 0; }
.login-status { min-height: 22px; margin: 14px 0 0; font-weight: 600; }
.fineprint { text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 18px; }
.account-card .verified { color: #1f7a45; font-weight: 600; margin: 0 0 16px; }
.account-card .notice { background: #fff0d4; border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.account-card .join-form { margin: 18px 0 0; box-shadow: none; border: 0; padding: 0; background: none; }
.form-saved { margin: 0; color: #1f7a45; font-weight: 600; text-align: center; }
.linkish { background: none; border: 0; color: var(--ink-soft); text-decoration: underline; font: inherit;
  font-size: 14px; margin-top: 18px; cursor: pointer; }
.join-steps { text-align: left; color: var(--ink-soft); margin: 0 0 4px; padding-left: 20px; display: grid; gap: 6px; }
.join-wa { text-align: left; }
.join-wa .btn { width: 100%; }
.nowrap { white-space: nowrap; }

/* Interest chips (me.html) */
.join-form fieldset.chips { display: block; }
.chips legend em { font-style: normal; font-weight: 400; color: var(--ink-soft); }
.chip-group { margin: 14px 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--marigold-deep); }
.join-form .chip { display: inline-flex; margin: 0 6px 8px 0; font-weight: 500; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-size: 14px; cursor: pointer; user-select: none; }
.chip input:checked + span { background: #fff0d4; border-color: var(--marigold); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(244,161,0,.3); }

/* Banner after joining or saving */
.toast { position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 20; width: min(92vw, 520px);
  background: #1f7a45; color: #fff; padding: 14px 44px 14px 16px; border-radius: 14px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: opacity .4s ease; }
.toast a { color: #fff; }
.toast button { position: absolute; right: 8px; top: 8px; background: none; border: 0; color: #fff; font-size: 22px;
  line-height: 1; cursor: pointer; }
.toast-hide { opacity: 0; pointer-events: none; }

/* Directory pages (server/templates) */
.dir-page { background: var(--cream); }
.dir-page .legal-top .small { color: var(--cream); opacity: .85; font-size: 14px; text-decoration: none; }
.dir-search-bar { background: var(--night); padding: 0 0 14px; }
.dir-search { display: flex; gap: 8px; }
.dir-search input, .explore-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px;
  border: 0; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
.dir-search button, .explore-search button { width: 48px; min-height: 48px; border-radius: 50%; border: 0; background: var(--marigold);
  font-size: 18px; cursor: pointer; }
.dir-main { padding-top: 20px; padding-bottom: 56px; }
.crumbs { font-size: 13px; color: var(--ink-soft); margin: 0 0 8px; }
.crumbs a { color: var(--ink-soft); }
.dir-title { font-size: clamp(28px, 7vw, 40px); margin-bottom: 8px; }
.dir-sub { font-size: 22px; margin-top: 36px; }
.dir-chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: none; }
.dir-chips a { white-space: nowrap; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; text-decoration: none; font-size: 14px; }
.dir-chips a.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.dir-count { color: var(--ink-soft); font-size: 14px; margin: 0 0 12px; }
.dir-list { display: grid; gap: 12px; }
@media (min-width: 760px) { .dir-list { grid-template-columns: 1fr 1fr; } }
.dir-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; }
.dir-card-main { display: block; padding: 16px 16px 10px; text-decoration: none; color: inherit; flex: 1; }
.dir-card h3 { font-family: "Inter", sans-serif; font-size: 17px; margin: 0 0 4px; }
.dir-meta { color: var(--marigold-deep); font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.dir-about { color: var(--ink-soft); font-size: 15px; margin: 0 0 6px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.dir-hours { font-size: 13px; color: var(--ink-soft); margin: 0; }
.dir-actions { display: flex; gap: 8px; padding: 0 16px 14px; flex-wrap: wrap; }
.dir-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink); }
.dir-btn.wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
.dir-actions.big { padding: 4px 0 18px; }
.dir-detail { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; }
.dir-about-big { font-size: 17px; color: var(--ink-soft); }
.dir-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.dir-facts dt { color: var(--ink-soft); font-weight: 600; } .dir-facts dd { margin: 0; }
.dir-help { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.dir-help p { margin: 4px 0; }
.dir-empty { background: var(--paper); border: 1.5px dashed var(--line); border-radius: 16px; padding: 18px; }
.dir-empty p { margin: 4px 0; }
.dir-add { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }

/* Homepage: Explore Palava */
.explore { background: var(--paper); padding: 40px 0 48px; }
.explore h2 { font-size: clamp(26px, 5vw, 36px); margin-bottom: 14px; }
.explore-search { display: flex; gap: 8px; margin-bottom: 20px; }
.explore-search input { border: 1.5px solid var(--line); }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (min-width: 760px) { .tile-grid { grid-template-columns: repeat(8, 1fr); } }
.tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); text-align: center; }
.tile-ico { font-size: 26px; line-height: 1; }
.tile-name { font-size: 12px; font-weight: 600; line-height: 1.2; }
.tile-count { font-size: 11px; color: var(--ink-soft); }
.tile.soon { opacity: .6; }

/* Cookie consent (analytics.js) */
#pc-consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; max-width: 560px; margin: 0 auto;
  background: var(--night); color: var(--cream); border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,.35); display: grid; gap: 10px; font-size: 14px; }
#pc-consent p { margin: 0; } #pc-consent a { color: var(--glow); }
#pc-consent div { display: flex; gap: 8px; justify-content: flex-end; }
#pc-consent button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.consent-no { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(255,247,236,.4); }
.consent-yes { background: var(--marigold); color: var(--night); }

/* List your business (/list) and owners' entries on My account */
.biz-form { margin: 16px 0 0; max-width: 680px; }
.biz-form select, .biz-form textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-weight: 400; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; }
.biz-form textarea { resize: vertical; }
.biz-form select:focus, .biz-form textarea:focus { outline: none; border-color: var(--marigold); box-shadow: 0 0 0 3px rgba(244,161,0,.2); }
.biz-two { display: grid; gap: 16px; }
@media (min-width: 560px) { .biz-two { grid-template-columns: 1fr 1fr; } }
.biz-points { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: 16px; }
.biz-go { display: inline-flex; margin: 6px 0 4px; }
.biz-small { color: var(--ink-soft); font-size: 14px; margin: 12px 0 0; }
.biz-h { font-size: 18px; margin: 18px 0 4px; }
.biz-ok { background: #e3f4e8; color: #1f7a45; font-weight: 600; border-radius: 12px; padding: 12px 14px; }
.dir-btn.send { border-color: #1f9d55; color: #1f7a45; }
.my-listings { margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); }
.my-listings h2 { font-size: 20px; margin: 0 0 8px; }
.my-listings ul { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.my-listings .st { font-size: 12px; color: var(--ink-soft); }

/* Directory entry page (/l/...): cover, actions, facts, share */
.lst { display: grid; gap: 16px; }
.lst-cover { position: relative; overflow: hidden; color: var(--cream); border-radius: 24px; padding: 22px 20px 20px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); box-shadow: 0 18px 40px rgba(20,26,51,.18); }
.lst-cover::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,122,.35), transparent 70%); pointer-events: none; }
.lst-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lst-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: var(--cream);
  color: var(--c1); font: 700 28px "Fraunces", Georgia, serif; flex: none; }
.lst-kind { font-size: 14px; font-weight: 600; background: rgba(255,247,236,.16); border: 1px solid rgba(255,247,236,.3);
  padding: 6px 12px; border-radius: 999px; }
.lst-name { font-size: clamp(30px, 8vw, 46px); line-height: 1.05; margin: 0 0 8px; color: var(--cream); }
.lst-area { margin: 0 0 12px; color: var(--glow); font-weight: 600; }
.lst-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lst-chips li { font-size: 13px; font-weight: 600; background: var(--cream); color: var(--ink); padding: 6px 11px; border-radius: 999px; }
.lst-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; }
.lst-act { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 16px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); text-decoration: none; font: 600 13px "Inter", sans-serif; cursor: pointer; }
.lst-act span { font-size: 22px; line-height: 1.2; }
.lst-act.wa { background: #1f9d55; border-color: #1f9d55; color: #fff; }
@media (max-width: 759px) {
  .lst-actions { position: sticky; bottom: 10px; z-index: 5; background: rgba(255,253,248,.92); backdrop-filter: blur(8px);
    padding: 8px; border-radius: 20px; box-shadow: 0 10px 30px rgba(20,26,51,.16); }
}
.lst-about { font-size: 18px; line-height: 1.5; color: var(--ink); margin: 4px 2px; }
.lst-facts { display: grid; gap: 10px; }
@media (min-width: 640px) { .lst-facts { grid-template-columns: 1fr 1fr; } }
.lst-fact { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--paper);
  border: 1px solid var(--line); text-decoration: none; color: inherit; }
.lst-fact b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.lst-fact p { margin: 2px 0 0; font-size: 16px; }
.lst-fact small { color: var(--marigold-deep); font-weight: 600; }
.lst-ico { font-size: 22px; line-height: 1.2; }
.lst-share { text-align: center; padding: 22px 18px; border-radius: 20px; background: #fff7e6; border: 1px dashed var(--marigold); }
.lst-share h2 { font-size: 22px; margin: 0 0 6px; }
.lst-share p { margin: 0 0 12px; color: var(--ink-soft); }
.lst-share-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.btn-wa { background: #1f9d55; color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.lst-small { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0 !important; }
.lst-owner { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 16px 18px;
  border-radius: 18px; background: var(--night); color: var(--cream); flex-wrap: wrap; }
.lst-owner p { margin: 4px 0 0; opacity: .8; font-size: 14px; }
.lst-owner .btn-dark { background: var(--marigold); color: var(--night); }
.lst-more h2 { font-size: 20px; margin: 6px 0 10px; }
.lst-more-row { display: grid; gap: 8px; }
@media (min-width: 640px) { .lst-more-row { grid-template-columns: repeat(3, 1fr); } }
.lst-mini { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit; }
.lst-mini span { font-size: 13px; color: var(--ink-soft); }
.lst-source { font-size: 13px; color: var(--ink-soft); margin: 4px 2px 0; }

/* Section list cards: section colour stripe, initials, small facts */
.dir-card { border-top: 4px solid var(--c1, var(--marigold)); }
.dir-card-main { display: flex; gap: 12px; align-items: flex-start; }
.dir-ini { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--cream);
  background: linear-gradient(135deg, var(--c1), var(--c2)); font: 700 18px "Fraunces", Georgia, serif; }
.dir-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.dir-tags span { font-size: 12px; font-weight: 600; background: var(--cream); border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; }

/* Entry page: photo cover, gallery, reviews */
.lst-cover.has-photo { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(135deg, var(--c1), var(--c2)); isolation: isolate; }
.lst-cover.has-photo::before { content: ""; position: absolute; inset: -40px; z-index: -2;
  background: var(--photo) center / cover no-repeat; filter: blur(14px) saturate(1.2); }
.lst-cover.has-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; right: 0; top: 0; width: auto; height: auto;
  border-radius: 0; background: linear-gradient(180deg, rgba(20,26,51,.45) 0%, rgba(20,26,51,.78) 45%, rgba(20,26,51,.95) 100%); }
.lst-rating { display: inline-block; margin: 0 0 12px; color: var(--glow); text-decoration: none; font-size: 15px; }
.lst-rating b { color: var(--cream); }
.lst-photos h2 { font-size: 20px; margin: 4px 0 8px; }
.lst-strip { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lst-ph { position: relative; flex: none; width: 200px; height: 240px; padding: 0; border-radius: 16px; overflow: hidden;
  scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); cursor: zoom-in; }
.lst-ph::before { content: ""; position: absolute; inset: -20px; background: var(--src) center / cover; filter: blur(18px) brightness(.85); }
.lst-ph img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.lst-ph span { position: absolute; z-index: 1; left: 8px; bottom: 8px; font-size: 12px; font-weight: 600; background: rgba(20,26,51,.75);
  color: var(--cream); padding: 3px 8px; border-radius: 999px; }
.lst-photos.one .lst-ph { width: 100%; height: 300px; }
@media (min-width: 760px) { .lst-ph { width: 230px; height: 280px; } .lst-photos.one .lst-ph { height: 380px; } }
.lst-viewer { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lst-viewer::backdrop { background: rgba(10,12,24,.88); }
.lst-viewer img { display: block; max-width: 96vw; max-height: 88vh; border-radius: 12px; object-fit: contain; }
.lst-close { position: fixed; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--cream); color: var(--night); font-size: 26px; line-height: 1; cursor: pointer; }
.lst-reviews { display: grid; gap: 10px; }
.lst-reviews h2 { font-size: 22px; margin: 6px 0 0; }
.lst-review { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.lst-review p { margin: 6px 0; }
.lst-review small { color: var(--ink-soft); }
.lst-stars { color: var(--marigold); letter-spacing: 2px; }
.lst-ok { background: #e3f4e8; color: #1f7a45; font-weight: 600; border-radius: 12px; padding: 10px 12px; margin: 0; }
.lst-err { background: #fdeceb; color: #b3261e; font-weight: 600; border-radius: 12px; padding: 10px 12px; margin: 0; }
.lst-form summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.lst-form form { display: grid; gap: 10px; }
.lst-form textarea { font: inherit; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
.lst-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.lst-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lst-pick label { font-size: 34px; color: #d9cdb8; cursor: pointer; line-height: 1; }
.lst-pick input:checked ~ label, .lst-pick label:hover, .lst-pick label:hover ~ label { color: var(--marigold); }
.lst-pick input:focus-visible + label { outline: 2px solid var(--marigold); border-radius: 4px; }
/* entry-page blocks are <section>s: no homepage section padding here */
.lst-photos, .lst-reviews, .lst-more { padding: 0; }

/* Entry page layout. The middle of the page is .lst-body: .lst-main (offer, about, timings, share) and, when the
   entry has photos, .lst-side. Phones: one column, photos right after the description, as a row you swipe.
   Computers: one photo sits in its own column on the right; two or more stay a row (bigger tiles, arrows)
   under the description, with the details using the full width. No photos: full width. */
.lst { grid-template-columns: minmax(0, 1fr); }
.lst > *, .lst-main > *, .lst-side { min-width: 0; }
.lst-body, .lst-main { display: contents; }
.lst-main > .lst-facts, .lst-main > .lst-share { order: 1; }
.lst-body ~ * { order: 2; }
.lst-offer { margin: 0; }
.lst-strip-wrap { position: relative; }
.lst-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-60%); width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255, 253, 248, .95); box-shadow: 0 2px 10px rgba(20, 26, 51, .25); font: 600 28px/1 system-ui, sans-serif;
  color: var(--night, #141a33); cursor: pointer; }
.lst-arrow.prev { left: 6px; } .lst-arrow.next { right: 6px; }
.lst-arrow[hidden] { display: none; }
@media (min-width: 900px) {
  .lst-main > .lst-facts { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .lst-ph { width: 260px; height: 300px; }
  /* exactly one photo: details left, the photo right */
  .lst-body.has-photos { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 28px; align-items: start; }
  .lst-body.has-photos .lst-main { display: grid; gap: 16px; align-content: start; }
  .lst-body.has-photos .lst-facts { grid-template-columns: 1fr 1fr; }
  .lst-body.has-photos .lst-photos.one .lst-ph { width: 100%; height: 480px; }
}
@media (hover: none) { .lst-arrow { display: none; } }  /* touch screens swipe */

/* A business's current offer, on its page and its card */
.lst-offer { background: #fff3d6; border: 1px solid #f4c65a; border-radius: 14px; padding: 12px 16px; }
.lst-offer b { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #8a5a00; }
.lst-offer p { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.lst-offer small { color: #8a5a00; }
.card-offer { display: inline-block; background: #fff3d6; color: #8a5a00; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 600; }
.preview-banner { background: #141a33; color: #fff7ec; text-align: center; padding: 8px 12px; font: 600 14px/1.3 system-ui, sans-serif; }

/* Commute & carpool page */
.cm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 6px; }
.cm-h { font-size: 22px; margin: 28px 0 4px; }
.cm-grid { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 700px) { .cm-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cm-grid { grid-template-columns: 1fr 1fr 1fr; } }
.cm-card { background: var(--paper); border: 1px solid var(--line, #e6dccb); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cm-card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.cm-card p { margin: 0; font-size: 15px; }
.cm-card .dir-btn { align-self: flex-start; margin-top: auto; }
.cm-busy { font-size: 13px; font-weight: 600; color: #1f7a45; }
.cm-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0; }
.cm-card dt { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.cm-card dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; }
.cm-via { font-size: 13px; color: var(--ink-soft); }
.cm-tips { padding-left: 20px; line-height: 1.6; }

/* Homepage (pre-launch): Apna Palava = the community, palava.city = the platform */
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 18px; }
.prelaunch { display: inline-flex; align-items: center; gap: 8px; background: var(--marigold); color: var(--night); font-weight: 700;
  font-size: 13px; border-radius: 999px; padding: 5px 12px; }
.prelaunch i { width: 7px; height: 7px; border-radius: 50%; background: var(--night); }
.who { margin: 0; font-weight: 600; font-size: 15px; opacity: .85; } .who span { opacity: .5; margin: 0 4px; }
.hero h1 { font-size: clamp(40px, 8.5vw, 80px); }
.btn-wa { background: #1f9d55; color: #fff; box-shadow: 0 8px 24px rgba(31,157,85,.3); }
.hero-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; padding-top: 18px;
  border-top: 1px solid rgba(255,247,236,.18); max-width: 760px; }
.hero-counts b { display: block; font: 700 clamp(26px, 4vw, 38px) "Fraunces", Georgia, serif; color: var(--marigold); font-variant-numeric: tabular-nums; }
.hero-counts span { font-size: 13px; opacity: .85; }
@media (max-width: 520px) { .hero-counts { grid-template-columns: 1fr; } }

.ask-band { background: var(--paper); border-block: 1px solid var(--line); }
.ask-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; }
@media (max-width: 860px) { .ask-grid { grid-template-columns: 1fr; } }
.ask-say { display: grid; gap: 14px; min-width: 0; } .ask-say h2 { margin: 0; } .ask-say p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.numcard { display: grid; gap: 4px; justify-items: start; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.nc-label { font-size: 13px; color: var(--ink-soft); }
.nc-num { font: 700 clamp(26px, 5vw, 34px) "Fraunces", Georgia, serif; user-select: all; white-space: nowrap; }
.nc-num b { color: var(--marigold-deep); font-weight: inherit; }
.nc-pin { font-size: 13px; color: var(--ink-soft); }
.linkish { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; cursor: pointer; }
.asks { display: flex; flex-wrap: wrap; gap: 8px; }
.ask { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--ink); font-size: 14px; }
.prelaunch-note { font-size: 14px !important; color: var(--ink-soft); background: var(--cream); border-left: 3px solid var(--glow, #f4a100);
  border-radius: 8px; padding: 10px 12px; }
.blur { filter: blur(4px); user-select: none; }
.hero-alt { margin: 14px 0 0; font-size: 15px; opacity: .85; } .hero-alt a { color: inherit; }
.win.word { fill: var(--glow); }
.phone { background: #e9e2d6; border-radius: 28px; padding: 14px; display: grid; gap: 8px; max-width: 380px; width: 100%; justify-self: center;
  box-shadow: 0 20px 60px rgba(20,26,51,.22); color: #1d2340; }
.ph-top { background: #075e54; color: #fff; border-radius: 16px; padding: 10px 14px; font-weight: 600; }
.ph-top span { font-weight: 400; font-size: 12px; opacity: .8; margin-left: 6px; }
.phone .b { padding: 9px 12px; border-radius: 14px; font-size: 14px; max-width: 85%; line-height: 1.4; }
.phone .b.me { background: #dcf8c6; justify-self: end; border-bottom-right-radius: 4px; }
.phone .b.us { background: #fff; justify-self: start; border-bottom-left-radius: 4px; }

.covers-note { color: var(--ink-soft); margin: 8px 0 0; }
.chips-f { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 12px; }
.chip-f { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 999px; padding: 7px 14px; font: 600 14px "Inter", system-ui, sans-serif; cursor: pointer; }
.chip-f.on { background: var(--night); color: var(--cream); border-color: var(--night); }
.ft-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.ft { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; background: var(--paper);
  border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-decoration: none; color: var(--ink); }
a.ft:hover { border-color: var(--marigold); }
.ft-ico { font-size: 22px; line-height: 1; } .ft-txt { display: grid; gap: 2px; min-width: 0; }
.ft-txt b { font: 600 16px "Fraunces", Georgia, serif; } .ft-txt span { font-size: 14px; color: var(--ink-soft); }
.tag { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }

.explore .covers-note { margin: 28px 0 10px; }
.show-all { display: none; }
@media (max-width: 640px) {
  .ft-grid.fold > .ft:nth-child(n+9) { display: none; }
  .ft-grid.fold + .show-all { display: block; width: 100%; margin-top: 12px; padding: 12px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--paper); font: 600 15px Inter, system-ui, sans-serif; color: var(--ink); cursor: pointer; }
}
.tag.count { background: #fdeccb; color: #8a5a00; }
.tag.live { background: #e3f4e8; color: #1f7a45; } .tag.pre { background: #fdeccb; color: #8a5a00; } .tag.soon { background: #ece6fb; color: #5b40a8; }

.join-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 24px; }
.jc { text-align: left; background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.jc h3 { margin: 0; font-size: 20px; } .jc p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.jc .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 640px) { .jc .btn { align-self: center; } }
.join .form-note { margin-top: 16px; font-size: 14px; opacity: .8; }
