:root {
  color-scheme: light;
  --font-ui: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --bg: #fbfcfb;
  --bg-accent: #f1f6f2;
  --panel: #ffffff;
  --line: #d7e1da;
  --line-strong: #c4d3c9;
  --text: #25312a;
  --muted: #68776f;
  --accent: #8faf9c;
  --accent-dark: #6e8d7d;
  --accent-soft: #eef5f0;
  --danger: #a35a51;
  --danger-soft: #fbefee;
  --success-soft: #edf7f0;
  --shadow: 0 20px 44px rgba(89, 110, 98, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 14px/1.55 var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button,
input,
select,
textarea {
  font: inherit;
}

.app-shell {
  min-height: 100vh;
}

.app-loading-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg, #fbfdfb);
}

.app-loading-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.app-loading-logo {
  width: 72px;
  height: auto;
}

.app-loading-text {
  margin: 0;
  color: var(--muted, #66756b);
}

.skeleton {
  display: block;
  background: linear-gradient(90deg, #e3ebe5 25%, #f3f7f4 37%, #e3ebe5 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.35s ease-in-out infinite;
  border-radius: 8px;
}

.skeleton-line {
  height: 14px;
  margin-bottom: 10px;
}

.skeleton-line.title {
  height: 22px;
  margin-bottom: 12px;
}

.skeleton-line.short {
  width: 42%;
}

.skeleton-line.medium {
  width: 68%;
}

.skeleton-block {
  min-height: 48px;
}

.skeleton-pill {
  height: 32px;
  width: 88px;
  border-radius: 999px;
}

.skeleton-button {
  height: 42px;
  width: 132px;
  border-radius: 999px;
}

.skeleton-card {
  border: 1px solid rgba(215, 225, 218, 0.85);
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.skeleton-grid {
  display: grid;
  gap: 12px;
}

.skeleton-grid.restaurant-grid-skeleton {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.skeleton-grid.stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.skeleton-topbar {
  border-bottom: 1px solid rgba(215, 225, 218, 0.8);
  background: rgba(251, 252, 251, 0.82);
  backdrop-filter: blur(16px);
}

.skeleton-topbar-inner {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.skeleton-topbar-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.skeleton-footer {
  border-top: 1px solid rgba(215, 225, 218, 0.8);
  padding: 18px 28px;
}

.skeleton-footer-inner {
  width: min(100%, 1760px);
  margin: 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.skeleton-checkout-frame {
  min-height: 420px;
  border: 1px solid rgba(215, 225, 218, 0.85);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.skeleton-google-button {
  height: 44px;
  width: 100%;
  max-width: 400px;
  border-radius: 999px;
}

@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: #e3ebe5;
  }
}

.marketing-shell {
  min-height: 100vh;
}

.marketing-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(215, 225, 218, 0.8);
  background: rgba(251, 252, 251, 0.82);
  backdrop-filter: blur(16px);
}

.marketing-topbar-inner {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.marketing-page {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 28px;
}

.auth-page-shell {
  width: min(100%, 1080px);
  margin: 0 auto;
  padding: 48px 32px 64px;
}

.marketing-page {
  display: grid;
  gap: 96px;
}

.hero-band {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 680px;
  padding: 48px;
  display: flex;
  align-items: flex-end;
  background-color: var(--accent-soft);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
  border: 1px solid rgba(37, 49, 42, 0.08);
  animation: heroFade 800ms ease both;
}

@keyframes heroFade {
  from { opacity: 0; transform: scale(1.012); }
  to { opacity: 1; transform: scale(1); }
}

/* Light scrim: keeps the pale watercolor visible on the right while lifting
   contrast on the lower-left where the copy sits, so dark text stays legible
   over any of the rotating backdrops. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(249, 251, 248, 0.94) 0%, rgba(249, 251, 248, 0.78) 34%, rgba(249, 251, 248, 0.32) 64%, rgba(249, 251, 248, 0) 100%),
    linear-gradient(0deg, rgba(249, 251, 248, 0.62) 0%, rgba(249, 251, 248, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  max-width: 760px;
  color: var(--text);
}

.seo-prerender {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px 20px;
  color: var(--text);
}

.seo-prerender h1 {
  margin: 0 0 12px;
  font: 600 2rem/1.15 var(--font-display);
}

.seo-prerender h2 {
  margin: 20px 0 8px;
  font: 600 1.25rem/1.2 var(--font-display);
}

.seo-prerender p {
  margin: 0 0 12px;
  color: var(--muted);
}

.seo-prerender ul {
  margin: 0;
  padding-left: 20px;
}

.seo-prerender a {
  color: var(--accent-dark);
}

.landing-title {
  margin: 0;
  font: 600 56px/0.98 var(--font-display);
  max-width: 760px;
  color: var(--text);
  text-wrap: balance;
}

.landing-text {
  margin: 0;
  max-width: 640px;
  color: rgba(37, 49, 42, 0.82);
  font-size: 18px;
}

.auth-form {
  display: grid;
  gap: 12px;
}

.hero-actions,
.hero-metrics,
.value-grid,
.feature-grid,
.city-grid {
  display: grid;
  gap: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.metric-card {
  display: grid;
  gap: 4px;
  padding: 14px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(37, 49, 42, 0.1);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 20px rgba(37, 49, 42, 0.07);
}

.metric-value {
  font: 600 28px/1.05 var(--font-display);
  color: var(--accent-dark);
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
}

.landing-section {
  padding: 24px 0;
  background: transparent;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.section-heading .section-copy {
  max-width: 760px;
}

.section-title {
  margin: 0;
  font: 600 40px/1.02 var(--font-display);
}

.section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.value-grid,
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-card {
  position: relative;
  padding: 30px 26px;
  border-radius: 24px;
  border: 1px solid rgba(143, 175, 156, 0.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(143, 175, 156, 0.28), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #eef3ee 100%);
  box-shadow: 0 16px 36px rgba(31, 49, 39, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(31, 49, 39, 0.14);
}

.feature-column {
  padding: 22px;
  border-radius: 22px;
  background: #fcfdfc;
  border: 1px solid var(--line);
}

.value-kicker {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-title,
.feature-title,
.cta-title {
  margin: 10px 0 0;
  font: 600 24px/1.1 var(--font-display);
}

.value-copy,
.cta-copy {
  margin: 10px 0 0;
  color: var(--muted);
}

.feature-list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.feature-list li + li {
  margin-top: 8px;
}

.split-band,
.city-band {
  background: transparent;
}

.city-band .section-heading {
  margin-bottom: 18px;
}

.city-band .section-title {
  font-size: clamp(24px, 3vw, 32px);
}

.city-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.city-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 200px));
  gap: 12px;
  justify-content: center;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1100px) {
  .city-card-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    max-width: calc(8 * 200px + 7 * 12px);
  }
}

.city-card {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 200px;
  padding: 12px 10px 10px;
  border-radius: 14px;
  border: 1px solid rgba(143, 175, 156, 0.28);
  background:
    radial-gradient(circle at 50% 110%, rgba(143, 175, 156, 0.16), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f6f9f6 100%);
  box-shadow: 0 6px 16px rgba(31, 49, 39, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
  color: inherit;
  justify-self: center;
}

.city-card:hover .city-card-name {
  text-decoration: none;
}

.city-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 49, 39, 0.1);
}

/* ============================================================
   CITY GUIDE (SEO) PAGE
   ============================================================ */
.city-guide-page {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 40px 28px 64px;
}

.city-guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 28px 28px 32px;
  border-radius: 26px;
  border: 1px solid rgba(143, 175, 156, 0.32);
  background:
    radial-gradient(circle at 100% 0%, rgba(143, 175, 156, 0.20), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f3f7f3 100%);
  box-shadow: 0 18px 40px rgba(31, 49, 39, 0.08);
}

.city-guide-hero-copy {
  display: grid;
  gap: 0;
}

.city-guide-title {
  font: 600 clamp(28px, 4vw, 42px)/1.1 var(--font-display);
  margin: 12px 0 14px;
  color: var(--text);
}

.city-guide-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}

.city-guide-hero-art .city-skyline {
  width: 100%;
  max-width: 320px;
}

.city-guide-section {
  margin-top: 44px;
}

.city-guide-section .section-heading {
  margin-bottom: 20px;
}

.city-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.city-pick-card {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "rank body"
    "rank cta";
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 49, 39, 0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.city-pick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(31, 49, 39, 0.12);
  border-color: rgba(143, 175, 156, 0.6);
}

.city-pick-rank {
  grid-area: rank;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.city-pick-body {
  grid-area: body;
}

.city-pick-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

.city-pick-desc {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.city-pick-cta {
  grid-area: cta;
  align-self: end;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
}

.city-pick-card:hover .city-pick-cta {
  text-decoration: underline;
}

.city-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.city-list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fcfdfc;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.city-list-card:hover {
  border-color: var(--accent);
  background: #ffffff;
}

.city-list-arrow {
  color: var(--accent-dark);
  font-size: 18px;
}

@media (max-width: 720px) {
  .city-guide-hero {
    grid-template-columns: 1fr;
  }
  .city-guide-hero-art {
    order: -1;
  }
  .city-pick-grid,
  .city-list-grid {
    grid-template-columns: 1fr;
  }
}

.city-skyline {
  width: 100%;
  color: var(--accent-dark);
  display: block;
}

.city-skyline--card {
  height: 40px;
}

@media (min-width: 1100px) {
  .city-skyline--card {
    height: 46px;
  }
}

.city-skyline--hero {
  height: clamp(100px, 18vw, 140px);
}

.city-skyline rect,
.city-skyline polygon,
.city-skyline circle,
.city-skyline ellipse {
  fill: currentColor;
}

.city-skyline path {
  fill: currentColor;
}

.city-skyline path[fill="none"],
.city-skyline circle[fill="none"],
.city-skyline ellipse[fill="none"],
.city-skyline line {
  fill: none;
  stroke: currentColor;
}

.city-skyline path[stroke],
.city-skyline circle[stroke] {
  fill: none;
  stroke: currentColor;
}

.city-card-name {
  font-weight: 700;
  font-size: 11px;
  color: var(--text);
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.25;
}

@media (min-width: 1100px) {
  .city-card-name {
    font-size: 12px;
  }
}

.city-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  font-weight: 700;
}

.cta-band {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.auth-page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 48px;
  align-items: start;
}

.auth-page-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  padding-top: 8px;
}

.auth-page-copy .section-title {
  font-size: 36px;
  line-height: 1.1;
}

.auth-page-copy .section-copy {
  font-size: 16px;
  max-width: 460px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.auth-side-note {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  max-width: 460px;
}

.back-link {
  display: block;
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 700;
  cursor: pointer;
}

.auth-alt {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.google-signin-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.google-signin-target {
  width: 100%;
  display: flex;
  justify-content: center;
}

.google-signin-target-loading {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.google-signin-disabled {
  pointer-events: none;
  opacity: 0.6;
}

.text-link {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
}

.text-link:hover {
  color: var(--text);
}

.back-link:hover {
  text-decoration: underline;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(215, 225, 218, 0.88);
  background: rgba(251, 252, 251, 0.88);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand-lockup {
  display: grid;
  gap: 8px;
}

.eyebrow {
  display: inline-block;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-title {
  margin: 0;
  font: 600 34px/1.05 var(--font-ui);
}

.brand-subtitle {
  color: var(--muted);
  max-width: 620px;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-nav-mobile {
  display: none;
  position: relative;
  margin-left: auto;
}

.header-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  min-height: 40px;
  font-weight: 600;
}

.header-menu-toggle.icon-only {
  width: 40px;
  min-width: 40px;
  padding: 0;
  justify-content: center;
}

.header-menu-toggle.icon-only .header-menu-toggle-label {
  display: none;
}

.header-menu-toggle:hover,
.header-menu-toggle[aria-expanded="true"] {
  border-color: var(--line-strong);
}

.header-menu-toggle-label {
  white-space: nowrap;
}

.header-menu-caret {
  font-size: 11px;
  color: var(--muted);
}

.header-menu-toggle.icon-only .header-menu-caret {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 12px;
  font-size: 0;
  color: transparent;
}

.header-menu-toggle.icon-only .header-menu-caret::before,
.header-menu-toggle.icon-only .header-menu-caret::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 140ms ease, top 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
}

.header-menu-toggle.icon-only .header-menu-caret::before {
  top: 0;
  box-shadow: 0 5px 0 var(--text), 0 10px 0 var(--text);
}

.header-menu-toggle.icon-only .header-menu-caret::after {
  top: 5px;
  opacity: 0;
}

.header-menu-toggle.icon-only[aria-expanded="true"] .header-menu-caret::before {
  top: 5px;
  box-shadow: none;
  transform: rotate(45deg);
}

.header-menu-toggle.icon-only[aria-expanded="true"] .header-menu-caret::after {
  opacity: 1;
  transform: rotate(-45deg);
}

.header-menu-close {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.header-menu-bars {
  display: inline-grid;
  gap: 4px;
}

.header-menu-bars span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.header-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(31, 49, 39, 0.16);
  padding: 6px;
  z-index: 40;
  display: grid;
  gap: 2px;
}

.header-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 12px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  font-weight: 500;
}

.header-menu-item:hover {
  background: var(--accent-soft);
}

.header-menu-item.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}

.header-menu-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 4px;
}

.header-view-link {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background 140ms ease, color 140ms ease;
}

.header-view-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 22px rgba(92, 113, 101, 0.08);
  color: var(--text);
}

.header-view-link.active {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f7fbf8 0%, #edf5ef 100%);
  color: var(--text);
  box-shadow: 0 10px 22px rgba(143, 175, 156, 0.12);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  white-space: nowrap;
}

.pill strong {
  font-weight: 700;
}

.pill.demo {
  background: #fff8ef;
  border-color: #ead8bb;
  color: #7a5f2f;
}

.page {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.sidebar,
.content {
  min-width: 0;
}

.sidebar {
  display: grid;
  gap: 20px;
}

.content {
  display: grid;
  gap: 24px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.panel-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
}

.panel-copy {
  margin-top: 6px;
  color: var(--muted);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field.span-2 {
  grid-column: span 2;
}

.field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fcfdfc;
  color: var(--text);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(143, 175, 156, 0.16);
}

.segmented {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.segment {
  min-height: 36px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.segment.active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 6px 16px rgba(100, 120, 109, 0.12);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.view-nav {
  display: grid;
  gap: 10px;
}

.view-link {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
  text-align: left;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease, background 140ms ease;
}

.view-link:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 10px 22px rgba(92, 113, 101, 0.08);
}

.view-link.active {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f7fbf8 0%, #edf5ef 100%);
  box-shadow: 0 10px 22px rgba(143, 175, 156, 0.12);
}

.view-link-title {
  display: block;
  font-weight: 700;
  color: var(--text);
}

.view-link-copy {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.button {
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(92, 113, 101, 0.08);
  border-color: var(--line-strong);
}

.button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: #dbe9df;
}

.button.danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #efd8d5;
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.status-banner {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.status-banner.error {
  border-color: #efd8d5;
  background: var(--danger-soft);
  color: var(--danger);
}

.status-banner.success {
  border-color: #d7eadb;
  background: var(--success-soft);
  color: #355843;
}

.muted {
  color: var(--muted);
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.search-builder-main {
  min-width: 0;
}

.restaurant-picker {
  display: grid;
  gap: 12px;
}

.restaurant-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 10px;
}

.restaurant-search,
.restaurant-city-filter {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fcfdfc;
  color: var(--text);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.restaurant-search:focus,
.restaurant-city-filter:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(143, 175, 156, 0.16);
}

.create-search-toolbar {
  margin-top: 18px;
}

.selected-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selected-dates {
  min-height: 46px;
  padding: 2px 0;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--text);
  border: 1px solid #dbe7de;
}

.chip button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  max-height: 520px;
  overflow: auto;
  padding-right: 2px;
}

.restaurants-page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.restaurants-page-hero .city-skyline {
  width: 180px;
  height: 66px;
  flex: 0 0 auto;
  opacity: 0.78;
}

.restaurant-discovery-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.restaurant-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--accent-soft);
}

@media (min-width: 1024px) {
  .restaurant-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.restaurant-filter-grid .field {
  gap: 5px;
}

.filter-multiselect {
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
}

.filter-multiselect-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.filter-multiselect-reset {
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  padding: 2px;
}

.filter-multiselect-reset:disabled {
  color: var(--muted);
  cursor: default;
  opacity: 0.55;
}

.filter-multiselect-search {
  width: 100%;
  min-width: 0;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 13px;
}

.filter-multiselect-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 132px;
  overflow: auto;
  padding-right: 2px;
}

.filter-multiselect-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  line-height: 1.2;
  text-align: left;
  transition: border-color 120ms ease, background 120ms ease, color 120ms ease;
}

.filter-multiselect-option:hover,
.filter-multiselect-option:focus-visible {
  border-color: var(--accent);
}

.filter-multiselect-option.selected {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.filter-multiselect-check {
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.filter-multiselect-count,
.filter-multiselect-empty {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.restaurant-results-summary {
  margin: 18px 0 12px;
  color: var(--muted);
}

.restaurant-discovery-grid {
  max-height: none;
  overflow: visible;
}

.restaurant-discovery-card {
  cursor: default;
}

.restaurant-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}

.restaurant-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.restaurant-card:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 8px 18px rgba(92, 113, 101, 0.08);
}

.restaurant-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.restaurant-card.selected {
  border-color: var(--accent);
  background: linear-gradient(180deg, #f8fbf8 0%, #eef5f0 100%);
}

.restaurant-option-body {
  padding: 14px 16px;
  padding-right: 52px;
}

.restaurant-like {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: color 120ms ease, transform 120ms ease, border-color 120ms ease, background 120ms ease;
  z-index: 1;
}

.restaurant-like:hover {
  transform: scale(1.06);
  color: #c04848;
  border-color: #e8c0bd;
}

.restaurant-like.liked {
  color: #c04848;
  border-color: #e8c0bd;
  background: #fff4f3;
}

.restaurant-name {
  font-weight: 700;
  padding-right: 40px;
  line-height: 1.25;
}

.restaurant-meta {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
  display: grid;
  gap: 2px;
}

.restaurant-street {
  color: var(--muted);
  opacity: 0.85;
  font-size: 11px;
}

.restaurant-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.restaurant-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fbfcfb;
  color: var(--text);
}

.restaurant-badge-top {
  background: linear-gradient(180deg, #f6efd9 0%, #ecdfa8 100%);
  border-color: #d8c87a;
  color: #6a541f;
}

.restaurant-badge-rating {
  background: #f3f8f4;
  border-color: #d5e5d9;
  color: #4a6b58;
}

.restaurant-badge-price {
  background: #f5f4f2;
  border-color: #d9d4ca;
  color: #5c5546;
}

.restaurant-providers {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.summary-stack {
  display: grid;
  gap: 14px;
}

.summary-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #fcfdfc;
}

.summary-card strong {
  display: block;
  margin-bottom: 6px;
}

.billing-section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
}

.request-history {
  display: grid;
  gap: 12px;
}

.request-list {
  display: grid;
  gap: 10px;
}

.request-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #fcfdfc;
  display: grid;
  gap: 10px;
}

.request-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.request-card-title {
  font-weight: 700;
}

.request-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.request-links a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 700;
}

.request-links a:hover {
  text-decoration: underline;
}

.billing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.subsection-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
}

.billing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.embedded-checkout-panel {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fcfdfc;
  padding: 16px;
}

.referral-link-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
}

.referral-link-input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fcfdfc;
  color: var(--text);
  font-size: 14px;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.referral-stat {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fcfdfc;
  padding: 16px 18px;
}

.referral-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--accent-dark);
}

.referral-stat-label {
  margin-top: 2px;
  font-size: 13px;
  color: var(--muted);
}

.referral-locked {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: #f7fbf8;
  color: #5f6662;
  font-size: 14px;
}

.ambassador-points {
  margin: 8px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text);
}

.ambassador-points li {
  line-height: 1.45;
}

.ambassador-cta-card {
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
}

.inline-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent-dark);
  text-decoration: underline;
  cursor: pointer;
}

.referral-signup-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--text);
}

.referral-signup-banner .small {
  color: var(--muted);
  margin-top: 2px;
}

.referral-signup-badge {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 999px;
  padding: 4px 10px;
  margin-top: 2px;
}

.embedded-checkout-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.embedded-checkout-frame {
  position: relative;
  min-height: 560px;
  width: 100%;
}

.embedded-checkout-mount {
  min-height: 560px;
  width: 100%;
}

.embedded-checkout-frame .skeleton-checkout-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.embedded-checkout-frame iframe {
  border-radius: 12px;
}

.payments-panel {
  display: grid;
  gap: 12px;
}

.payments-list {
  display: grid;
  gap: 10px;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fcfdfc;
}

.payment-title {
  font-weight: 700;
}

.payment-meta {
  display: grid;
  gap: 4px;
  justify-items: end;
  text-align: right;
}

.search-list {
  display: grid;
  gap: 14px;
}

.search-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfb 100%);
}

.search-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.search-card-title {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge.active {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.badge.paused {
  background: #f4f4f4;
  color: #5f6662;
}

.badge.auto-book {
  background: #f6efd9;
  color: #6a541f;
}

.badge.added {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.badge.pending {
  background: #f6efd9;
  color: #6a541f;
}

.badge.denied {
  background: #f7e0de;
  color: #8a3530;
}

.request-denial {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7e0de;
  color: #8a3530;
}

.request-denial strong {
  font-weight: 700;
}

.search-card-badges {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.auto-book-toggle {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.auto-book-toggle > div {
  flex: 1;
  min-width: 0;
}

.auto-book-toggle.disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.auto-book-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.auto-book-title {
  font-weight: 600;
}

.auto-book-disclaimer {
  margin-top: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--accent);
  background: rgba(143, 175, 156, 0.08);
  border-radius: 0 10px 10px 0;
  line-height: 1.5;
}

.auto-book-disclaimer .text-link {
  font-weight: 600;
}

.booking-cred-list {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.booking-cred-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  gap: 12px;
}

.booking-cred-row-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.booking-cred-label {
  font-weight: 700;
  font-size: 15px;
}

.booking-cred-form {
  display: grid;
  gap: 10px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
}

.search-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.stat {
  border-radius: 16px;
  padding: 12px;
  background: #f7faf8;
  border: 1px solid #e7efea;
}

.stat-label {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-value {
  margin-top: 4px;
  font-weight: 700;
}

.search-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.search-footer .toolbar {
  justify-content: flex-end;
}

.small {
  font-size: 12px;
}

.footer {
  border-top: 1px solid rgba(215, 225, 218, 0.9);
  background: rgba(251, 252, 251, 0.78);
}

.footer-inner {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 18px 28px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.app-footer-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.app-footer-link {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background 140ms ease;
}

.app-footer-link:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
}

.app-footer-link.active {
  color: var(--accent-dark);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.app-footer-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   PUBLIC FOOTER
   ============================================================ */
.public-footer {
  border-top: 1px solid rgba(215, 225, 218, 0.9);
  background: rgba(247, 251, 248, 0.92);
  margin-top: 28px;
}

.public-footer-inner {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 52px 28px 32px;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 60px;
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-tagline {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.footer-description {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
}

.footer-platform-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-platform-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.footer-links-col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-col-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-col-heading--spaced {
  margin-top: 18px;
}

.footer-link {
  display: block;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  line-height: 1.6;
  transition: color 140ms ease;
}

.footer-link:hover {
  color: var(--accent-dark);
}

.footer-link:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.footer-link-static {
  cursor: default;
}

.footer-link-static:hover {
  color: var(--muted);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(215, 225, 218, 0.7);
  background: rgba(241, 246, 242, 0.6);
}

.footer-bottom-bar-inner {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   BRAND HOME BUTTON
   ============================================================ */
.brand-home-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  display: block;
  height: 30px;
  width: auto;
}

.footer-logo {
  height: 34px;
  justify-self: start;
}

@media (max-width: 640px) {
  .brand-logo {
    height: 26px;
  }
}

/* ============================================================
   HOW IT WORKS SECTION
   ============================================================ */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.how-card {
  padding: 28px 24px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
  text-align: center;
  align-content: start;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.how-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(89, 110, 98, 0.1);
}

.how-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font: 700 22px/48px var(--font-display);
  margin: 0 auto;
  text-align: center;
}

.how-title {
  margin: 0;
  font: 600 20px/1.2 var(--font-display);
}

.how-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ============================================================
   PRICING SECTION
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-card {
  padding: 38px 32px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(143, 175, 156, 0.22), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #eef3ee 100%);
  border: 1px solid rgba(143, 175, 156, 0.45);
  display: grid;
  gap: 20px;
  align-content: start;
  position: relative;
  box-shadow: 0 18px 40px rgba(31, 49, 39, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(31, 49, 39, 0.14);
}

.pricing-card-featured {
  background:
    radial-gradient(circle at 0% 0%, rgba(143, 175, 156, 0.5), transparent 55%),
    linear-gradient(160deg, #6e8d7d 0%, #4f6b5d 100%);
  border-color: transparent;
  color: #f3f7f3;
  box-shadow: 0 28px 60px rgba(31, 49, 39, 0.32);
}

.pricing-card-featured .pricing-plan-name {
  color: rgba(243, 247, 243, 0.78);
}

.pricing-card-featured .pricing-amount {
  color: #ffffff;
}

.pricing-card-featured .pricing-period,
.pricing-card-featured .pricing-billing-note {
  color: rgba(243, 247, 243, 0.78);
}

.pricing-card-featured .pricing-features {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.pricing-card-featured .pricing-features li {
  color: rgba(243, 247, 243, 0.95);
}

.pricing-card-featured .pricing-features li::before {
  background: #ffffff;
  color: #4f6b5d;
}

.pricing-best-value-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-plan-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.pricing-amount {
  font: 600 54px/1 var(--font-display);
  color: var(--text);
}

.pricing-period {
  color: var(--muted);
  font-size: 16px;
}

.pricing-billing-note {
  color: var(--muted);
  font-size: 13px;
  margin: -6px 0 0;
}

.pricing-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  color: var(--accent-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-cta {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 56px 28px 80px;
}

.legal-page-inner {
  max-width: 100%;
  display: grid;
  gap: 12px;
  padding: 36px 40px 40px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.legal-page-inner > .back-link {
  margin-bottom: 4px;
}

.legal-page-inner .section-title {
  font-size: 32px;
  line-height: 1.15;
  margin: 4px 0 0;
}

.legal-page-inner .section-copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-section {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.legal-section-title {
  margin: 0;
  font: 700 18px/1.3 var(--font-ui);
  color: var(--text);
}

.legal-section p {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.7;
}

.legal-section a {
  color: var(--accent-dark);
  text-decoration: underline;
}

.legal-placeholder {
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--bg-accent);
  display: grid;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
}

.legal-placeholder p {
  margin: 0;
}

@media (max-width: 1360px) {
  .page,
  .topbar-inner,
  .marketing-topbar-inner,
  .marketing-page,
  .auth-page-shell {
    width: 100%;
  }

  .page {
    grid-template-columns: 1fr;
  }

  .auth-page-shell,
  .value-grid,
  .city-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .city-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 180px));
    justify-content: center;
  }

  .search-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .auth-card {
    justify-self: stretch;
    width: 100%;
    order: 1;
  }

  .auth-page-copy {
    order: 2;
  }

  .public-footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 900px) {
  .restaurant-filter-row {
    grid-template-columns: 1fr;
  }

  .topbar-inner,
  .page,
  .marketing-topbar-inner,
  .marketing-page,
  .auth-page-shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .landing-title {
    font-size: 40px;
  }

  .section-title {
    font-size: 32px;
  }

  .landing-section {
    padding: 18px 0;
  }

  .city-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .city-card {
    max-width: none;
    padding: 10px 8px 8px;
  }

  .city-skyline--card {
    height: 36px;
  }

  .city-card-name {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .city-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

  .marketing-topbar-inner,
  .topbar-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }

  .header-nav {
    display: none;
  }

  .header-nav-mobile {
    display: block;
  }

  .footer-inner {
    justify-content: flex-start;
  }

  .field-grid,
  .billing-grid,
  .restaurant-grid,
  .search-stats {
    grid-template-columns: 1fr;
  }

  .embedded-checkout-header {
    display: grid;
  }

  .embedded-checkout-frame {
    min-height: 620px;
  }

  .hero-band {
    padding: 22px;
    border-radius: 24px;
  }

  .landing-section {
    padding: 14px 0;
  }

  .hero-band {
    min-height: 560px;
  }

  .cta-band {
    align-items: flex-start;
  }

  .field.span-2 {
    grid-column: span 1;
  }

  .panel {
    padding: 18px;
    border-radius: 20px;
  }

  .public-footer-inner {
    padding: 36px 18px 24px;
  }

  .footer-bottom-bar-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plan-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}

.plan-card {
  text-align: left;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.plan-card:hover {
  border-color: var(--line-strong);
}

.plan-card.selected {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(143, 175, 156, 0.25);
  background: var(--accent-soft);
}

.plan-card-label {
  font-weight: 600;
  color: var(--text);
}

.plan-card-desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.plan-gate-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0 18px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff8ec 0%, #fdeede 100%);
  border: 1px solid #f0d4a8;
  color: #5a4221;
}

.plan-gate-banner.compact {
  padding: 12px 14px;
}

.plan-gate-copy strong {
  display: block;
  font-size: 15px;
  color: #4b3819;
}

.plan-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  .plan-picker {
    grid-template-columns: 1fr;
  }
  .plan-gate-banner {
    flex-direction: column;
    align-items: stretch;
  }
}

.admin-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-panel > .section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}

.admin-refresh-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
  padding-top: 6px;
}

.admin-refresh-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid var(--line);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: admin-refresh-spin 0.8s linear infinite;
}

.admin-refresh-label {
  white-space: nowrap;
}

@keyframes admin-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

.admin-user-detail-head .admin-refresh-indicator {
  margin-left: auto;
  padding-top: 0;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-tab {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.admin-tab.active {
  background: var(--accent-soft);
  border-color: var(--accent);
}

.admin-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.admin-filters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  align-items: end;
}

.admin-field {
  min-width: 0;
}

.admin-field.span-2 {
  grid-column: span 2;
}

.admin-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-field input,
.admin-field select,
.admin-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fcfdfc;
  color: var(--text);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.admin-field textarea {
  min-height: 92px;
  resize: vertical;
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
  border-color: var(--accent);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(143, 175, 156, 0.16);
}

.admin-edit-panel {
  padding: 14px;
  border-top: 1px solid var(--line);
  background: var(--bg-accent);
}

.admin-edit-row td {
  background: var(--bg-accent);
  padding: 0;
}

.admin-provider-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-top: 4px;
}

.admin-provider-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 500;
}

.admin-sort-btn {
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
}

.admin-sort-btn:hover {
  color: var(--accent-dark);
}

.admin-filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
}

.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.admin-metric-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 14px;
}

.admin-metric-label {
  color: var(--muted);
  font-size: 13px;
}

.admin-metric-value {
  font-size: 28px;
  font-weight: 700;
  margin-top: 4px;
}

.admin-metric-compare {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.admin-metric-delta.up {
  color: #2f6b4f;
}

.admin-metric-delta.down {
  color: var(--danger);
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  background: var(--bg-accent);
  font-weight: 600;
}

.admin-request-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-request-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.admin-request-links {
  display: flex;
  gap: 12px;
}

.admin-request-form {
  display: grid;
  gap: 10px;
}

.admin-request-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-error-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-error-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 12px;
}

.admin-error-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.admin-error-stack {
  margin: 8px 0 0;
  padding: 10px;
  background: var(--bg-accent);
  border-radius: 8px;
  overflow: auto;
  font-size: 11px;
  max-height: 180px;
}

.admin-user-row {
  cursor: pointer;
}

.admin-user-row:hover td {
  background: var(--bg-accent);
}

.admin-user-detail {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-user-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.admin-user-detail-title {
  margin: 0;
  font-size: 1.25rem;
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.admin-detail-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  padding: 14px;
}

.admin-detail-card h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.admin-detail-list {
  margin: 0;
  display: grid;
  gap: 8px;
}

.admin-detail-list div {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 8px;
  align-items: start;
}

.admin-detail-list dt {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-detail-list dd {
  margin: 0;
  font-size: 13px;
  word-break: break-word;
}
