/* Menutha marketing site — editorial light theme. Warm off-white ground,
   deep forest primary, one restrained gold accent, Fraunces + Inter.
   Asymmetric layouts, generous whitespace, scroll reveals. */
:root {
  --paper: #faf8f4; --card: #ffffff; --ink: #171512; --ink-soft: #5f594d;
  --line: #e9e2d4; --forest: #1b5e3f; --forest-deep: #143d2a; --gold: #b8923e;
  --serif: 'Fraunces', Georgia, serif; --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 244, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.wordmark { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--ink); }
.wordmark b { color: var(--forest); font-weight: 600; }
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink-soft); }
.nav-links a.active, .nav-links a:hover { color: var(--ink); }
.nav-links a.btn-solid, .nav-links a.btn-solid:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 12px; transition: transform 0.15s ease, background 0.15s ease; }
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--forest); color: #fff; }
.btn-solid:hover { background: var(--forest-deep); }
.btn-line { border: 1.5px solid var(--line); color: var(--ink); background: var(--card); }
.btn-line:hover { border-color: var(--gold); }
@media (max-width: 720px) { .nav-links { gap: 14px; } .nav-links .hide-m { display: none; } }

/* Type */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3.serif { font-family: var(--serif); font-weight: 600; letter-spacing: 0.2px; text-wrap: balance; }
h1 { font-size: clamp(38px, 6.4vw, 64px); line-height: 1.06; }
h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; }
.lede { font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 34em; }

/* Hero (asymmetric: text left, device right) */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding: 72px 0 64px; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding: 44px 0 40px; } }
.hero-ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }

/* Staggered entrance */
.stagger > * { opacity: 0; transform: translateY(14px); animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stagger > *:nth-child(3) { animation-delay: 0.16s; }
.stagger > *:nth-child(4) { animation-delay: 0.24s; }
.stagger > *:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .stagger > *, .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* Phone mockup (pure CSS product visual) */
.phone { width: min(300px, 78vw); margin: 0 auto; background: #101311; border-radius: 38px; padding: 12px; box-shadow: 0 30px 70px rgba(23, 21, 18, 0.28); transform: rotate(2.5deg); }
.phone-screen { background: #faf6ef; border-radius: 28px; overflow: hidden; font-size: 11px; }
.ps-hero { background: linear-gradient(150deg, #1b5e3f, #0f3323); color: #fdfbf6; padding: 16px 14px 12px; }
.ps-hero .ps-live { font-size: 8.5px; letter-spacing: 0.12em; color: #d9c289; }
.ps-hero .ps-name { font-family: var(--serif); font-size: 17px; margin-top: 2px; }
.ps-row { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-bottom: 1px solid #efe8da; background: #fffdf8; }
.ps-dish { font-weight: 600; font-size: 11px; }
.ps-sub { color: #8a8475; font-size: 9px; }
.ps-price { color: #1b5e3f; font-weight: 700; font-size: 10.5px; }
.ps-veg { display: inline-block; width: 8px; height: 8px; border: 1.2px solid #1b8a3e; border-radius: 2px; margin-right: 5px; position: relative; top: 0.5px; }
.ps-veg.nv { border-color: #9b2c24; }
.ps-cart { margin: 10px 12px 12px; background: #1b5e3f; color: #fff; text-align: center; border-radius: 10px; padding: 9px; font-weight: 700; font-size: 10.5px; }

/* Sections */
section.block { padding: 58px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--ink-soft); }
.step-k { font-family: var(--serif); font-size: 34px; color: var(--gold); line-height: 1; }

/* Split feature rows (alternating asymmetry) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding: 30px 0; }
.split.flip > .split-media { order: 2; }
@media (max-width: 820px) { .split, .split.flip > .split-media { display: block; order: initial; } .split-media { margin-top: 18px; } }
.split h2 { margin-bottom: 10px; }
.split p { color: var(--ink-soft); max-width: 30em; }
.split-media { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }

/* Pricing */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; align-items: stretch; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }
.tier { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px; display: flex; flex-direction: column; }
.tier.hot { border-color: var(--forest); box-shadow: 0 18px 44px rgba(27, 94, 63, 0.12); position: relative; }
.tier .tag { position: absolute; top: -12px; left: 24px; background: var(--forest); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 999px; }
.tier h3 { font-family: var(--serif); font-size: 22px; }
.price { font-family: var(--serif); font-size: 40px; margin: 10px 0 2px; }
.price small { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.tier ul { list-style: none; margin: 16px 0 22px; display: grid; gap: 9px; font-size: 14px; color: var(--ink-soft); }
.tier ul b { color: var(--ink); font-weight: 600; }
.tier .btn { margin-top: auto; justify-content: center; }
table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 26px; background: var(--card); border-radius: 16px; overflow: hidden; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.cmp th { font-size: 12.5px; letter-spacing: 0.04em; color: var(--ink-soft); }
.cmp td:not(:first-child), .cmp th:not(:first-child) { text-align: center; }
.cmp .y { color: var(--forest); font-weight: 700; }
.cmp .n { color: #c8c0b0; }
.tbl-scroll { overflow-x: auto; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; margin-top: 10px; }
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; }

/* CTA band + footer */
.band { background: var(--forest); color: #fdfbf6; border-radius: 24px; padding: 44px 36px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 30px 0 10px; }
.band h2 { color: #fdfbf6; }
.band .btn-solid { background: #fdfbf6; color: var(--forest); }
footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 34px 0 48px; font-size: 13.5px; color: var(--ink-soft); }
.foot { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-links { max-width: 60%; text-align: right; }
.foot a { color: var(--ink-soft); margin-left: 16px; display: inline-block; margin-bottom: 4px; }
.foot a:hover { color: var(--ink); }
@media (max-width: 720px) { .foot-links { max-width: 100%; text-align: left; } .foot a { margin-left: 0; margin-right: 16px; } }

/* --- Landing enhancements --- */
.block.alt { background: linear-gradient(180deg, #f4efe6, #faf8f4); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--forest); text-transform: uppercase; }
.trust span:nth-child(even) { color: var(--line); }
.band-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.band .btn-line.ghost { background: transparent; border-color: rgba(253,251,246,0.5); color: #fdfbf6; }
.band .btn-line.ghost:hover { border-color: #fdfbf6; }

/* feature ticks */
.ticks { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; font-size: 15px; color: var(--ink-soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--forest); font-weight: 800; }
.card h3 { display: flex; align-items: center; gap: 8px; }

/* device / screenshot panels */
.devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 820px) { .devices { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }
.device { margin: 0; }
.device figcaption { text-align: center; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.device-scr { border-radius: 20px; padding: 16px; min-height: 210px; box-shadow: 0 18px 44px rgba(23,21,18,0.14); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; background: var(--card); transition: transform 0.25s ease; }
.device:hover .device-scr { transform: translateY(-4px); }
.menu-scr { background: linear-gradient(170deg, #ffffff, #fbf7ef); }
.board-scr { background: linear-gradient(170deg, #12281d, #0f3323); color: #eef3ee; border-color: #143d2a; }
.dash-scr { background: linear-gradient(170deg, #ffffff, #f6f1e7); }
.d-top { font-size: 10px; letter-spacing: 0.12em; font-weight: 700; color: var(--forest); }
.d-top.gold { color: #d9c289; }
.board-scr .d-top { color: #d9c289; }
.d-name { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.d-line { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; padding: 7px 0; border-top: 1px solid rgba(0,0,0,0.06); }
.board-scr .d-line { border-color: rgba(255,255,255,0.08); }
.d-line b { font-weight: 700; }
.dash-scr .d-line b, .menu-scr .d-line b { color: var(--forest); }
.d-cta { margin-top: auto; background: var(--forest); color: #fff; text-align: center; border-radius: 10px; padding: 9px; font-weight: 700; font-size: 13px; }
.d-cta.ghost { background: transparent; color: var(--gold); border: 1px dashed var(--line); }
.ticket { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 10px 12px; }
.ticket b { font-size: 13px; }
.ticket .ti { font-size: 11.5px; color: #b9c7bd; margin-top: 4px; }
.chip { float: right; font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; padding: 2px 8px; border-radius: 999px; }
.chip.new { background: #d9c289; color: #143d2a; }
.chip.prep { background: rgba(217,194,137,0.2); color: #d9c289; border: 1px solid rgba(217,194,137,0.4); }
.demo-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 30px; }
.demo-note { font-size: 13px; color: var(--ink-soft); }

/* testimonials */
.quote { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.quote p { font-family: var(--serif); font-size: 18px; line-height: 1.4; color: var(--ink); }
.quote footer { display: flex; flex-direction: column; font-size: 13px; }
.quote footer b { color: var(--ink); }
.quote footer span { color: var(--ink-soft); }
.ph-note { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin-top: 20px; font-style: italic; }

/* ═══════════════════════════════════════════════════════════════════════════
   Saffron Grove — liquid-glass upgrade layer (frosted panels, saffron warmth,
   richer micro-interactions). Appended so it overrides the base editorial look.
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --saffron: #e8833a;
  --saffron-deep: #c96a28;
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-brd: rgba(255, 255, 255, 0.7);
  --glass-blur: blur(20px) saturate(1.5);
}

/* Warm saffron ambient behind everything so frosted glass has warmth to refract */
body {
  background:
    radial-gradient(60% 32% at 85% -6%, rgba(232, 131, 58, 0.16), transparent 66%),
    radial-gradient(46% 30% at 6% 2%, rgba(201, 160, 78, 0.10), transparent 70%),
    radial-gradient(60% 44% at 50% 108%, rgba(27, 94, 63, 0.06), transparent 72%),
    var(--paper);
  background-attachment: fixed;
}

/* Frosted glass on the marketing panels */
.card, .quote, .tier, .split-media, .device-scr, details, .band {
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.card, .quote, .tier, .split-media, details {
  background: var(--glass-bg);
  border-color: var(--glass-brd);
  box-shadow: 0 10px 30px rgba(23, 21, 18, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.board-scr { background: linear-gradient(170deg, rgba(18,40,29,0.86), rgba(15,51,35,0.86)); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .quote, .tier, .split-media, details { background: var(--card); }
}

/* Frosted nav with a hair more depth */
.nav { background: rgba(250, 248, 244, 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }

/* Saffron warmth on the primary CTAs + eyebrow */
.eyebrow { color: var(--saffron); }
.btn-solid { background: linear-gradient(135deg, var(--saffron), var(--saffron-deep)); box-shadow: 0 10px 24px rgba(232, 131, 58, 0.30); }
.btn-solid:hover { background: linear-gradient(135deg, var(--saffron-deep), var(--saffron-deep)); }
.band { background: linear-gradient(150deg, var(--forest), var(--forest-deep)); }
.band .btn-solid { background: #fdfbf6; color: var(--forest); box-shadow: 0 8px 20px rgba(0,0,0,0.18); }
.trust { color: var(--saffron-deep); }
.step-k { color: var(--saffron); }

/* Micro-interactions: smooth lifts + gentle scale on interactive cards/buttons */
.card, .tier, .quote, .device .device-scr, .btn { transition: transform 0.22s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.22s ease, background 0.2s ease; }
.card:hover, .tier:hover, .quote:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(23, 21, 18, 0.12); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.tier.hot { box-shadow: 0 22px 50px rgba(27, 94, 63, 0.16); }

@media (prefers-reduced-motion: reduce) {
  body { background-attachment: scroll; }
  .card, .tier, .quote, .btn, .device .device-scr { transition: none !important; }
  .card:hover, .tier:hover, .quote:hover, .btn:hover { transform: none !important; }
}

/* ── Fixes from user video feedback ─────────────────────────────────────── */

/* 1. Owner login CTA: forest green (subtler, on-brand) — not saffron */
.nav .btn-solid { background: var(--forest); box-shadow: 0 6px 16px rgba(27, 94, 63, 0.22); }
.nav .btn-solid:hover { background: var(--forest-deep); }

/* 2. CRITICAL: the nav row must never exceed the viewport on phones.
   Below 680px collapse the text links (still reachable in the footer + hero)
   and keep only the wordmark + the single Owner-login CTA, so the page always
   lands correctly scaled with no horizontal overflow / pinch-zoom. */
@media (max-width: 680px) {
  .nav-inner { padding: 12px 0; gap: 10px; }
  .nav-links { gap: 10px; }
  .nav-links a:not(.btn-solid) { display: none; }
  .nav .btn { padding: 10px 16px; font-size: 14px; }
}

/* Belt-and-braces: nothing may cause horizontal scroll. (Kept off <html> so the
   sticky nav still works; the real overflow source is fixed above.) */
body { overflow-x: clip; }

/* Brand mark in the wordmark lockup */
.wordmark { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 28px; height: 28px; border-radius: 8px; display: block; }
@media (max-width: 680px) { .brand-mark { width: 26px; height: 26px; } }

/* Fix: the hero overrode .wrap's side padding with `padding: … 0 …`, so hero
   text sat flush against the screen edge on mobile. Restore horizontal insets
   to match the sections (higher specificity than the .hero media rule). */
header.hero { padding-left: 22px; padding-right: 22px; }
@media (max-width: 860px) { header.hero { padding-left: 20px; padding-right: 20px; } }
