/* MenuSnapp — menusnapp.com
   White + orange system mirroring the iOS app (constants/design.ts).
   Light only, flat: no card boxes — hairline dividers, orange kickers,
   Newsreader serif display. */

:root {
  --bg: #ffffff;
  --bg-top: #fff4ea;               /* faint warm wash at the top of the page */
  --bg-raised: #f3f3f5;
  --hairline: rgba(0, 0, 0, 0.08);
  --ink: #1c1c1e;
  --ink-secondary: #48484a;
  --ink-muted: #8e8e93;
  --accent: #ff7a00;
  --accent-deep: #d65a00;
  --accent-soft: #ff9a4d;
  --accent-bg: rgba(255, 122, 0, 0.10);
  --shadow-soft: 0 10px 30px -14px rgba(120, 55, 15, 0.28);
  --grad-cta: linear-gradient(135deg, #ff9a3d, #ff7a00 60%, #d65a00);
  --grad-hero: linear-gradient(to bottom, var(--bg-top), rgba(255, 244, 234, 0) 520px);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  background-image: var(--grad-hero);
  background-repeat: no-repeat;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }

a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-family: var(--serif); font-size: 22px; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav-links a { color: var(--ink-secondary); }

/* ---------- Buttons & badges ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--grad-cta); color: #fff;
  font-size: 15px; font-weight: 600;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.9; text-decoration: none; }
.btn.small { padding: 9px 16px; font-size: 14px; }

.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 14px;
  background: var(--ink); color: #ffffff;
  line-height: 1.15; text-align: left;
}
.appstore-badge:hover { text-decoration: none; opacity: 0.92; }
.appstore-badge .apple { width: 22px; height: 26px; flex-shrink: 0; }
.appstore-badge small { display: block; font-size: 11px; opacity: 0.75; }
.appstore-badge b { font-size: 17px; font-weight: 600; }

/* ---------- Kicker (orange uppercase label, as in the app) ---------- */
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 10px;
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero .kicker { margin-bottom: 0; }
.hero h1 { font-size: clamp(38px, 5.4vw, 58px); line-height: 1.08; margin: 18px 0; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero h1.tagline { text-transform: lowercase; font-size: clamp(36px, 5vw, 54px); }
.hero p.lede { font-size: 18px; color: var(--ink-secondary); max-width: 46ch; }
.hero .cta-row { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.hero .cta-note { font-size: 13px; color: var(--ink-muted); }

/* ---------- Phone mockup (the one illustrative element) ---------- */
.phone-col { display: flex; justify-content: center; position: relative; }
.phone {
  width: 320px; border-radius: 48px; padding: 12px;
  background: #ffffff;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.screen {
  border-radius: 38px; overflow: hidden;
  background: var(--bg);
  background-image: linear-gradient(to bottom, var(--bg-top), rgba(255, 244, 234, 0) 220px);
  border: 1px solid var(--hairline);
  padding: 18px 20px 22px;
}
.screen .statusbar { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--ink-secondary); padding: 2px 2px 14px; }
.screen .statusbar .bars { font-size: 9px; letter-spacing: 1px; opacity: 0.7; }
.screen .resto { padding: 0 0 4px; }
.screen .resto h3 { font-size: 24px; }
.screen .resto p { font-size: 12px; color: var(--ink-muted); }
.screen .section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-deep); margin: 14px 0 2px;
}
/* flat rows separated by hairlines, exactly like the app's DishRow */
.dish {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
}
.dish:last-child { border-bottom: 0; }
.dish .names { min-width: 0; }
.dish .t { font-size: 15px; font-weight: 600; line-height: 1.3; }
.dish .o { font-family: var(--serif); font-size: 12.5px; font-style: italic; color: var(--ink-muted); }
.dish .d { font-size: 11.5px; color: var(--ink-secondary); margin-top: 2px; }
.price { text-align: right; white-space: nowrap; }
.price .local { font-size: 13.5px; font-weight: 650; }
.price .user { font-size: 11px; color: var(--ink-muted); }

/* floating premium teaser — mimics the app's blur-lock overlay */
.teaser {
  position: absolute; right: -8px; bottom: 34px; width: 232px;
  border-radius: 18px; padding: 14px 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
.teaser .lock-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--accent-deep); margin-bottom: 6px; }
.teaser .blurline { height: 9px; border-radius: 5px; background: var(--ink-muted); opacity: 0.45; filter: blur(3px); margin: 6px 0; }
.teaser .blurline.w70 { width: 70%; }
.teaser .cta { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--accent); }

/* ---------- Sections: flat, separated by hairlines ---------- */
section.block { padding: 56px 0; }
section.block .wrap { border-top: 1px solid var(--hairline); padding-top: 48px; }
section.block h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 12px; }
section.block > .wrap > p.sub { color: var(--ink-secondary); max-width: 58ch; margin-bottom: 40px; }

/* steps — flat columns with gradient number badges and a connecting rule */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 24px; left: 60px; right: 60px;
  height: 1px; background: var(--hairline);
}
.step { position: relative; }
.step .num {
  width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-cta); color: #fff;
  font-family: var(--serif); font-size: 23px;
  margin-bottom: 18px; box-shadow: var(--shadow-soft);
}
.step h3 { font-size: 23px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-secondary); }

/* features — warm full-bleed band, tinted icon chips */
#features { background: linear-gradient(to bottom, #fff6ee, #fffcf9); }
#features .wrap { border-top: 0; padding-top: 8px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 44px; }
.feature .icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; background: #ffffff;
  border: 1px solid rgba(255, 122, 0, 0.18);
  box-shadow: 0 6px 16px -8px rgba(120, 55, 15, 0.25);
  margin-bottom: 14px;
}
.feature h3 { font-size: 20px; margin-bottom: 6px; }
.feature p { font-size: 14.5px; color: var(--ink-secondary); }

/* download band — flat and centered */
.band { text-align: center; padding: 24px 0 8px; }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 10px; }
.band p { color: var(--ink-secondary); margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0 56px; font-size: 14px; color: var(--ink-muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--hairline); padding-top: 28px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--ink-secondary); }

/* ---------- Legal pages — plain prose, no card ---------- */
.legal { padding: 24px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4.5vw, 44px); margin-bottom: 6px; }
.legal .updated { color: var(--ink-muted); font-size: 14px; padding-bottom: 24px; margin-bottom: 32px; border-bottom: 1px solid var(--hairline); }
.legal h2 { font-size: 24px; margin: 36px 0 10px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 15.5px; color: var(--ink-secondary); }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal .notice {
  border-left: 3px solid var(--accent); border-radius: 8px;
  background: var(--accent-bg);
  padding: 14px 18px; margin: 18px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .phone-col { order: -1; }
  .teaser { right: 6px; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 620px) {
  .steps, .features { grid-template-columns: 1fr; }
  .nav-links a.text-link { display: none; }
  .teaser { position: static; width: auto; margin-top: 14px; }
  .phone-col { flex-direction: column; align-items: center; }
}
