:root {
  --landing-bg: #eaf2fb;
  --landing-card: rgba(255, 255, 255, 0.88);
  --landing-ink: #102542;
  --landing-muted: #5f7390;
  --landing-accent: #1f6fd1;
  --landing-accent-dark: #123f7a;
  --landing-border: rgba(31, 86, 157, 0.14);
  --landing-shadow: 0 24px 60px rgba(24, 60, 112, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito Sans", sans-serif;
  color: var(--landing-ink);
  background:
    radial-gradient(circle at top left, rgba(88, 161, 255, 0.34), transparent 32%),
    radial-gradient(circle at top right, rgba(34, 103, 214, 0.22), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, var(--landing-bg) 100%);
}

.landing-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 56px;
}

.landing-hero {
  padding: 28px 32px;
  border: 1px solid var(--landing-border);
  border-radius: 28px;
  background: var(--landing-card);
  box-shadow: var(--landing-shadow);
  backdrop-filter: blur(12px);
}

.landing-eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--landing-accent);
}

.landing-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.landing-subtitle {
  margin: 16px 0 0;
  max-width: 720px;
  color: var(--landing-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.landing-subtitle code {
  font-family: Consolas, monospace;
  background: rgba(31, 111, 209, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
}

.landing-status {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--landing-border);
  color: var(--landing-muted);
}

.landing-status.is-hidden {
  display: none;
}

.landing-status.is-error {
  color: #8d2a24;
  background: rgba(255, 244, 244, 0.95);
  border-color: rgba(141, 42, 36, 0.16);
}

.restaurant-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.restaurant-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border-radius: 24px;
  text-decoration: none;
  color: inherit;
  background: var(--landing-card);
  border: 1px solid var(--landing-border);
  box-shadow: var(--landing-shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.restaurant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(21, 65, 125, 0.22);
  border-color: rgba(31, 111, 209, 0.28);
}

.restaurant-awning {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: contain;
  margin-bottom: 10px;
}

.restaurant-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  object-fit: contain;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  padding: 12px;
  border: 1px solid rgba(31, 86, 157, 0.1);
}

.restaurant-name {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
}

.restaurant-meta {
  margin: 8px 0 18px;
  color: var(--landing-muted);
  text-align: center;
}

.restaurant-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--landing-accent), var(--landing-accent-dark));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .landing-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .landing-hero {
    padding: 22px 20px;
    border-radius: 22px;
  }
}
