/* Menuvite marketing site — shares its palette with the app (src/theme/tokens.ts). */
:root {
  --bg: #faf7f5;
  --surface: #ffffff;
  --border: #e8e2dd;
  --text: #201a17;
  --muted: #6b615b;
  --primary: #d9532b;
  --primary-dark: #b8421f;
  --primary-soft: rgba(217, 83, 43, 0.1);
  --green: #d9efe0;
  --amber: #fbebc5;
  --success: #2e7d4f;
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary-dark); }
a:focus-visible, summary:focus-visible, .btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
img, svg { max-width: 100%; }

.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; z-index: 10; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(250, 247, 245, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand-mark { width: 32px; height: 32px; display: block; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* Buttons: tinted pills, like the app */
.btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 20px; border-radius: 22px; font-weight: 700; font-size: 15px; text-decoration: none; background: var(--primary-soft); color: var(--primary-dark); }
.btn:hover { background: rgba(217, 83, 43, 0.18); }
.btn.solid { background: var(--primary); color: #fff; }
.btn.solid:hover { background: var(--primary-dark); }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 40px; } }
.eyebrow { display: inline-block; background: var(--amber); color: var(--text); font-size: 13px; font-weight: 600; padding: 2px 12px; border-radius: 8px; margin-bottom: 16px; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: 18px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fine { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* Sections */
section { padding: 56px 0; }
.section-head { max-width: 56em; margin-bottom: 32px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid.three { grid-template-columns: 1fr; } .grid.two { grid-template-columns: 1fr; } }
.grid.features { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid.features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid.features { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.card p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.step .num { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 12px; }
.ico { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 12px; }
code, .tag { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; background: var(--primary-soft); color: var(--primary-dark); border-radius: 6px; padding: 1px 6px; }
pre { margin: 0; padding: 14px 16px; background: #2a211d; color: #f6ece6; border-radius: var(--radius); overflow-x: auto; font: 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
pre .k { color: #f0a58b; }
pre .i { color: #9bd6af; }
pre .t { color: #f2cf7a; }

.band { background: var(--surface); border-block: 1px solid var(--border); }
.band ul { margin: 16px 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.band li { display: flex; gap: 10px; align-items: flex-start; }
.band li::before { content: "✓"; color: var(--success); font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Free vs Pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; }
@media (max-width: 640px) { .plans { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.plan.pro { border: 2px solid var(--primary); }
.plan h3 { font-size: 22px; }
.plan .what { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--success); font-weight: 700; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Footer */
.site-footer { padding: 40px 0 56px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }
.site-footer .row { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.legal-note { margin-top: 20px; font-size: 12px; max-width: 60em; }

/* Long-form pages (privacy, terms, support) */
.doc { padding: 48px 0 24px; max-width: 760px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 40px); }
.doc h2 { font-size: 22px; margin-top: 36px; }
.doc p, .doc li { color: #3a312c; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc ul { padding-left: 20px; }

/* Phone frame and the swipeable strip of screens */
.showcase { min-width: 0; justify-self: center; width: min(360px, 100%); }
.phones { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.phones::-webkit-scrollbar { display: none; }
.phone { flex: 0 0 calc(100% - 56px); margin: 12px 28px 40px; scroll-snap-align: center; background: #201a17; border-radius: 38px; padding: 8px; box-shadow: 0 14px 30px rgba(32, 26, 23, 0.18); }
.phone { display: flex; }
.screen { flex: 1; min-width: 0; background: var(--bg); border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; height: 500px; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 8px 22px 6px; font-size: 13px; font-weight: 600; }
.statusbar .island { width: 84px; height: 22px; border-radius: 12px; background: #201a17; }
.app { flex: 1; padding: 6px 14px 14px; display: grid; gap: 8px; align-content: start; }
.app-title { font-size: 22px; font-weight: 700; padding: 0 2px; }
.app-sub { font-size: 13px; color: var(--muted); padding: 0 2px; margin-top: -6px; }
.mini-card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.mini-card .day { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; color: var(--primary-dark); }
.mini-card .name { font-weight: 600; line-height: 1.25; }
.mini-card .meta { font-size: 12px; color: var(--muted); }
.mini-actions { display: flex; gap: 6px; margin-top: 8px; }
.mini { flex: 1; height: 28px; border-radius: 14px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--primary-soft); color: var(--primary-dark); }
.mini.solid { background: var(--primary); color: #fff; }
.aisle { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding: 4px 2px 0; }
.row-item { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; font-size: 13px; }
.box { width: 16px; height: 16px; border-radius: 5px; border: 2px solid var(--border); flex: none; }
.box.on { background: var(--primary); border-color: var(--primary); }
.row-item.done span { text-decoration: line-through; color: var(--muted); }
.steps-list { margin: 0; padding-left: 20px; font-size: 13px; display: grid; gap: 4px; }
.tabbar { display: flex; justify-content: space-around; border-top: 1px solid var(--border); background: #fff; padding: 10px 0 14px; font-size: 11px; color: var(--muted); }
.tabbar .on { color: var(--primary-dark); font-weight: 700; }
.dots { display: flex; justify-content: center; gap: 8px; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: var(--border); cursor: pointer; transition: background .2s, width .2s; }
.dots button.on { background: var(--primary); width: 22px; border-radius: 5px; }
.dots button:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
