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

:root {
  --bg: #1c1a18;
  --surface: #272420;
  --surface2: #312d29;
  --border: #3d3731;
  --accent: #9b3f5e;
  --accent-hover: #b24e71;
  --text: #f0ebe4;
  --text-muted: #9a9189;
  --radius: 8px;
  --font: system-ui, -apple-system, sans-serif;
  --tenant-logo-size: 240px; /* 1.5× the original 160px — tweak here */
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  gap: 1.5rem;
}

/* ── Top: Easily Paired (our) brand ──────────────────────────────────────── */
.brand-top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
}

.brand-logo-img {
  max-height: 96px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
}

/* ── Bottom: copyright ───────────────────────────────────────────────────── */
.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding-bottom: 0.5rem;
}

.card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 420px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--tenant-logo-size);
  height: var(--tenant-logo-size);
}

.logo-img {
  max-width: var(--tenant-logo-size);
  max-height: var(--tenant-logo-size);
  object-fit: contain;
  border-radius: var(--radius);
}

.logo-placeholder {
  width: var(--tenant-logo-size);
  height: var(--tenant-logo-size);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-placeholder svg {
  opacity: 0.35;
}

.restaurant-name {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.btn-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.15s, transform 0.1s;
  padding: 0 1.5rem;
}

.btn-beverages {
  background: var(--accent);
  color: #fff;
}
.btn-beverages:hover { background: var(--accent-hover); }
.btn-beverages:active { transform: scale(0.98); }

.btn-cuisine {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-cuisine:hover { background: var(--surface2); border-color: var(--accent); }
.btn-cuisine:active { transform: scale(0.98); }

.btn-icon {
  font-size: 1.2rem;
  line-height: 1;
}
/* ── High-contrast accessibility mode (respects the toggle set on other pages) */
:root[data-contrast="high"] {
  --text-muted: var(--text) !important;
}
:root[data-contrast="high"] ::placeholder {
  color: var(--text) !important;
  opacity: 0.7 !important;
}
