:root {
  color-scheme: light;
  --background: #fff8f1;
  --surface: rgba(255, 255, 255, 0.88);
  --ink: #1f1916;
  --muted: #786d66;
  --line: #eaded4;
  --accent: #e4512c;
  --accent-soft: #ffe1d3;
}

* { box-sizing: border-box; }

html { background: var(--background); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a { color: inherit; }

.coming-soon-page {
  min-height: 100svh;
  overflow-x: hidden;
}

.coming-soon {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1120px);
  min-height: 100svh;
  margin: 0 auto;
  padding: max(22px, env(safe-area-inset-top)) clamp(20px, 5vw, 64px) max(22px, env(safe-area-inset-bottom));
}

.coming-soon-header,
.coming-soon-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 58px;
  height: 58px;
  border-radius: 17px;
  object-fit: cover;
  box-shadow: 0 10px 28px rgba(112, 47, 26, 0.12);
}

.header-note,
.coming-soon-footer {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.coming-soon-hero {
  display: flex;
  align-items: center;
  align-self: center;
  flex-direction: column;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: clamp(42px, 8vh, 86px) 0;
  text-align: center;
}

.hero-logo-wrap {
  width: clamp(126px, 28vw, 184px);
  aspect-ratio: 1;
  margin-bottom: clamp(28px, 5vh, 44px);
  border-radius: 32%;
  box-shadow: 0 26px 70px rgba(126, 55, 30, 0.16);
  transform: rotate(-2deg);
}

.hero-logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.hero-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.coming-soon-hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(42px, 9vw, 78px);
  line-height: 0.98;
}

.hero-copy {
  max-width: 590px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.5;
}

.launch-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.launch-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.coming-soon-footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.shell {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 20px max(40px, env(safe-area-inset-bottom));
}

.brand {
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  border-radius: 17px;
  box-shadow: 0 10px 28px rgba(112, 47, 26, 0.12);
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.hero { padding: 18vh 0 24px; }
.hero h1, .list-title { margin: 0; font-size: clamp(34px, 9vw, 52px); line-height: 1.03; }
.hero p, .description { color: var(--muted); font-size: 17px; line-height: 1.5; }

.list-head {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.owner { margin: 12px 0 0; color: var(--accent); font-weight: 750; }
.meta { margin-top: 16px; color: var(--muted); font-size: 14px; }

.restaurant-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 96px;
  padding: 0;
  list-style: none;
}

.restaurant {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.restaurant-photo, .restaurant-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.restaurant-placeholder { background: var(--accent-soft); }
.restaurant-name { margin: 0 0 5px; font-size: 17px; line-height: 1.2; }
.restaurant-detail { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.35; }
.score { min-width: 44px; padding: 7px 9px; border-radius: 999px; background: var(--accent-soft); text-align: center; font-weight: 800; }

.open-app {
  position: fixed;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  left: 20px;
  z-index: 2;
  display: block;
  max-width: 680px;
  margin: 0 auto;
  padding: 16px 20px;
  border-radius: 999px;
  color: white;
  background: var(--accent);
  box-shadow: 0 12px 30px rgba(87, 43, 27, 0.22);
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.empty { padding: 18vh 0; text-align: center; }
.empty h1 { font-size: 32px; }
.empty p { color: var(--muted); line-height: 1.5; }

@media (min-width: 640px) {
  .shell { padding-right: 28px; padding-left: 28px; }
  .list-head { padding: 28px; }
}

@media (max-width: 520px) {
  .header-note { max-width: 180px; text-align: right; }
  .hero-copy { max-width: 350px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-logo-wrap {
    animation: logo-arrival 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .coming-soon-hero > :not(.hero-logo-wrap) {
    animation: copy-arrival 640ms 100ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }
}

@keyframes logo-arrival {
  from { opacity: 0; transform: translateY(14px) rotate(-5deg) scale(0.94); }
  to { opacity: 1; transform: translateY(0) rotate(-2deg) scale(1); }
}

@keyframes copy-arrival {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
