/* ==========================================================================
   Prato em Dia — "Folha do dia"
   Paper, ink and tomato. The hand-drawn strike is the signature motif.
   ========================================================================== */

/* Self-hosted fonts (SIL Open Font License, see assets/fonts/OFL-*.txt).
   Latin subset: covers English, Portuguese accents and the € sign. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../fonts/fraunces-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); }

:root {
  --paper: #F5EFE4;
  --paper-2: #ECE2CF;
  --card: #FFFCF6;
  --ink: #1C1A16;
  --ink-2: #4A4339;
  --ink-3: #776E60;
  --line: #DDD2BE;
  --line-2: #CDBFA6;
  --tomato: #CF4326;
  --tomato-deep: #A9331B;
  --tomato-soft: #F6D9CD;
  --olive: #3D6A4A;
  --olive-soft: #DCE8D9;
  --sun: #F0B243;
  --night: #191815;

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4.5vw, 40px);
  --r: 18px;
  --r-lg: 28px;
  --header-h: 68px;
  --shadow: 0 1px 0 rgba(28, 26, 22, .04), 0 18px 40px -18px rgba(28, 26, 22, .35);
  --shadow-lg: 0 2px 0 rgba(28, 26, 22, .04), 0 40px 80px -30px rgba(28, 26, 22, .45);

  /* hand-drawn strike: colored image, and a mask version that takes currentColor */
  --strike-path: "M1.5 7.6C14 5.4 27 8.4 41 6.6S70 4.4 83 6.4 95 6.9 98.5 5.6";
  --strike: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M1.5 7.6C14 5.4 27 8.4 41 6.6S70 4.4 83 6.4 95 6.9 98.5 5.6' fill='none' stroke='%23CF4326' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --strike-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M1.5 7.6C14 5.4 27 8.4 41 6.6S70 4.4 83 6.4 95 6.9 98.5 5.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.08 0 0 0 0 0.05 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper) var(--grain); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--tomato); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--tomato); outline-offset: 3px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
#main:focus { outline: none; } /* skip-link target: a landmark, not a control */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.muted { color: var(--ink-3); }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; margin: 0 0 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tomato-deep); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 4px var(--tomato-soft); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.fine { font-size: .86rem; color: var(--ink-3); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }

/* ---------- Buttons ---------- */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: var(--h); padding: 0 1.35em; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; line-height: 1; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn-sm { --h: 38px; font-size: .9rem; padding: 0 1.1em; }
.btn-lg { --h: 54px; font-size: 1.02rem; padding: 0 1.6em; }
.btn-primary { background: var(--tomato); color: #fff; box-shadow: 0 8px 20px -10px rgba(207, 67, 38, .8); }
.btn-primary:hover { background: var(--tomato-deep); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--card); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* hand-drawn strike used in page copy */
.struck { position: relative; display: inline-block; }
.struck::after { content: ""; position: absolute; left: -5%; right: -5%; top: 52%; height: .55em; transform: translateY(-50%); background: var(--strike) no-repeat center / 100% 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .94rem; font-weight: 500; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); background: var(--paper-2); }
.nav-cta { margin-left: 8px; }
.header-cta, .nav-toggle { display: none; }
@media (max-width: 960px) {
  :root { --header-h: 60px; }
  .header-inner { gap: 12px; }
  .header-cta { display: inline-flex; margin-left: auto; }
  .nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line-2); background: transparent; cursor: pointer; }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 16px; height: 1.8px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -5px; }
  .nav-toggle-bars::after { top: 5px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 24px; margin: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(28, 26, 22, .35); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav a:not(.btn) { padding: 14px 4px; border-radius: 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 16px 0 0; --h: 52px; }
}
@media (max-width: 420px) { .header-cta { display: none; } .nav-toggle { margin-left: auto; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: -.03em; }
.hero h1 em { display: block; }
.hero .lead { margin: 1.5rem 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 2rem 0 0; padding: 0; list-style: none; font-size: .92rem; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--olive); border-bottom: 2px solid var(--olive); transform: rotate(-45deg) translateY(-2px); }

.hero-visual { position: relative; height: 680px; }
.paper-sheet { position: absolute; left: 0; top: 40px; width: 300px; padding: 34px 30px 28px; background: #FFFDF7 var(--grain); border-radius: 4px; box-shadow: var(--shadow); transform: rotate(-5deg); font-family: var(--serif); font-style: italic; color: #2A2620; }
.tape { position: absolute; top: -14px; left: 50%; width: 110px; height: 30px; transform: translateX(-50%) rotate(3deg); background: rgba(240, 178, 67, .38); }
.paper-title { margin: 0; font-size: 2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1; text-align: center; }
.paper-date { margin: .5rem 0 1.4rem; text-align: center; font-size: .95rem; color: var(--ink-3); text-transform: lowercase; }
.paper-list { list-style: none; margin: 0; padding: 0; }
.paper-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #D9CDB6; font-size: 1.12rem; }
.paper-list li.pen span:first-child { position: relative; }
.paper-list li.pen span:first-child::after { content: ""; position: absolute; left: -6%; right: -6%; top: 50%; height: .7em; transform: translateY(-50%) rotate(-1.5deg); background: var(--strike) no-repeat center / 100% 100%; clip-path: inset(0 100% 0 0); animation: draw .8s cubic-bezier(.6,0,.2,1) 1s forwards; }
.paper-foot { margin: 1.2rem 0 0; font-size: .98rem; color: var(--ink-2); text-align: center; }
.phone.hero-phone { position: absolute; right: 0; top: 0; }
.hero-toast { position: absolute; left: 24px; top: 492px; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .9rem; font-weight: 500; box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .5s, transform .5s cubic-bezier(.2,.8,.2,1); }
.hero-toast.is-on { opacity: 1; transform: none; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: #7BC48D; box-shadow: 0 0 0 4px rgba(123, 196, 141, .25); }
.hero-hint { position: absolute; right: 0; top: 640px; width: 320px; margin: 0; text-align: center; font-size: .82rem; color: var(--ink-3); }
.hero-hint span { font-weight: 700; color: var(--tomato-deep); }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }
@keyframes fade-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .hero-visual { height: 640px; }
  .paper-sheet { width: 210px; padding: 24px 18px 18px; top: 0; left: -8px; transform: rotate(-6deg); }
  .paper-title { font-size: 1.45rem; }
  .paper-list li { font-size: .92rem; padding: 7px 0; }
  .paper-foot { font-size: .82rem; }
  .phone.hero-phone { --phone-w: min(300px, 88vw); --phone-h: 560px; top: 70px; }
  .hero-toast { left: auto; right: 0; top: 18px; font-size: .78rem; padding: 8px 12px; }
  .hero-hint { display: none; }
  /* no nested scrolling on phones: the hero menu is a preview; the demo below is fully interactive */
  .hero .browser-page { overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .hero .gm-cats { display: none; }
}

/* ==========================================================================
   Phone frame + browser chrome
   ========================================================================== */
.phone { --phone-w: 320px; --phone-h: 640px; position: relative; width: var(--phone-w); height: var(--phone-h); flex: none; padding: 10px; border-radius: 46px; background: linear-gradient(150deg, #2D2A25, #121110); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.08); z-index: 2; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; margin-left: -42px; background: #0D0C0B; border-radius: 999px; z-index: 6; }
.phone-screen { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: #FAF8F4; }
.phone-browser { display: flex; flex-direction: column; background: #EFECE6; }
.browser-bar { flex: none; display: flex; align-items: center; justify-content: center; gap: 6px; margin: 44px 12px 8px; padding: 7px 12px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08); font-size: 11.5px; color: #3A3630; }
.browser-bar.is-dim { color: #9A9387; }
.browser-lock { width: 9px; height: 8px; border-radius: 2px; background: currentColor; position: relative; margin-top: 3px; opacity: .8; }
.browser-lock::before { content: ""; position: absolute; left: 1.5px; top: -5px; width: 6px; height: 6px; border: 1.6px solid currentColor; border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
.browser-url { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; letter-spacing: .01em; }
.browser-state { flex: none; white-space: nowrap; margin-left: 4px; padding: 1px 7px; border-radius: 999px; background: #F1EDE6; font-size: 10px; font-weight: 600; color: #7A7264; }
.browser-page { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; background: #fff; }
.hero .browser-page { scrollbar-width: none; }

/* ==========================================================================
   Guest menu (.gm) — restaurant character, four themes
   ========================================================================== */
.gm {
  --g-bg: #FBF6EC; --g-ink: #241F18; --g-muted: #74695A; --g-line: #E6DCCB; --g-accent: #B83A1F;
  --g-head: var(--serif); --g-body: var(--sans); --g-sec-size: 19px; --g-sec-style: italic; --g-sec-weight: 600; --g-sec-case: none; --g-sec-track: -.01em;
  position: relative; min-height: 100%; background: var(--g-bg); color: var(--g-ink); font-family: var(--g-body); font-size: 13px; line-height: 1.45; transition: background-color .4s, color .4s;
}
.gm[data-theme="cafe"] { --g-bg: #FFFFFF; --g-ink: #23231F; --g-muted: #7A7A70; --g-line: #ECECE6; --g-accent: #4F7A50; --g-head: var(--sans); --g-sec-size: 11px; --g-sec-style: normal; --g-sec-weight: 700; --g-sec-case: uppercase; --g-sec-track: .14em; }
.gm[data-theme="bistro"] { --g-bg: #15241E; --g-ink: #EFE6D2; --g-muted: #A9A08B; --g-line: #2D3D35; --g-accent: #CFA75C; --g-sec-size: 18px; --g-sec-weight: 400; }
.gm[data-theme="seaside"] { --g-bg: #F7FAFD; --g-ink: #112C55; --g-muted: #5A6E8C; --g-line: #DAE4F0; --g-accent: #2A64B0; --g-sec-style: normal; --g-sec-weight: 600; }

.gm-head { position: relative; padding: 12px 18px 18px; text-align: center; }
.gm[data-theme="seaside"] .gm-head { padding-top: 26px; background:
  linear-gradient(var(--g-bg), var(--g-bg)) 0 14px / 100% calc(100% - 14px) no-repeat,
  repeating-conic-gradient(from 45deg, #2A64B0 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.gm[data-theme="bistro"] .gm-head { border-bottom: 1px solid var(--g-line); }
.gm-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gm-fict { padding: 2px 7px; border: 1px dashed var(--g-muted); border-radius: 999px; color: var(--g-muted); font-family: var(--sans); font-size: 8.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gm-lang { display: inline-flex; gap: 2px; }
.gm-lang button { padding: 2px 5px; border: 0; background: none; color: var(--g-muted); font-family: var(--sans); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; cursor: pointer; border-bottom: 1.5px solid transparent; }
.gm-lang button[aria-pressed="true"] { color: var(--g-ink); border-bottom-color: var(--g-accent); }
.gm-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; border-radius: 50%; border: 1.5px solid var(--g-accent); color: var(--g-accent); font-family: var(--serif); font-style: italic; font-size: 14px; font-weight: 600; }
.gm[data-theme="cafe"] .gm-mark { background: var(--g-accent); color: #fff; border: 0; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .06em; }
.gm[data-theme="bistro"] .gm-mark { width: 44px; height: 44px; box-shadow: inset 0 0 0 3px var(--g-bg), inset 0 0 0 4px var(--g-accent); }
.gm-rname { margin: 0; font-family: var(--g-head); font-size: 23px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.gm[data-theme="cafe"] .gm-rname { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.gm[data-theme="bistro"] .gm-rname { font-style: italic; font-weight: 400; font-size: 26px; }
.gm-sub { margin: 4px 0 0; color: var(--g-muted); font-size: 11px; }
.gm-hours { margin: 1px 0 0; color: var(--g-muted); font-size: 10.5px; letter-spacing: .02em; }

.gm-days { display: flex; justify-content: center; gap: 18px; padding: 0 18px 4px; }
.gm-days button { padding: 4px 2px; border: 0; background: none; border-bottom: 1.5px solid transparent; color: var(--g-muted); font-family: var(--sans); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.gm-days small { font-weight: 500; }
.gm-days button[aria-selected="true"] { color: var(--g-ink); border-bottom-color: var(--g-accent); }
.gm-days button.is-pulse { animation: day-pulse 1.4s ease 2; border-radius: 4px; }
@keyframes day-pulse { 0%, 100% { background: transparent; } 40% { background: color-mix(in srgb, var(--g-accent) 22%, transparent); } }

.gm-cats { position: sticky; top: 0; z-index: 3; display: flex; gap: 16px; padding: 9px 18px 0; overflow-x: auto; scrollbar-width: none; background: var(--g-bg); border-bottom: 1px solid var(--g-line); }
.gm-cats::-webkit-scrollbar { display: none; }
.gm-cats button { flex: none; padding: 4px 0 8px; border: 0; background: none; color: var(--g-muted); font-family: var(--sans); font-size: 11px; font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.gm-cats button.is-on { color: var(--g-ink); border-bottom-color: var(--g-accent); }

.gm-body { padding: 0 18px 4px; }
.gm-sec { padding: 18px 0 4px; }
.gm-sec-title { margin: 0 -6px; padding: 0 6px; border-radius: 6px; font-family: var(--g-head); font-size: var(--g-sec-size); font-style: var(--g-sec-style); font-weight: var(--g-sec-weight); text-transform: var(--g-sec-case); letter-spacing: var(--g-sec-track); color: var(--g-ink); }
.gm[data-theme="tavern"] .gm-sec-title::after { content: ""; display: block; width: 28px; height: 2px; margin-top: 5px; background: var(--g-accent); border-radius: 2px; }
.gm[data-theme="bistro"] .gm-sec-title { text-align: center; color: var(--g-accent); }
.gm[data-theme="bistro"] .gm-sec-note { text-align: center; }
.gm[data-theme="seaside"] .gm-sec-title { color: var(--g-accent); }
.gm-sec.is-target .gm-sec-title { animation: sec-flash 1.3s ease; }
@keyframes sec-flash { 0%, 35% { background: color-mix(in srgb, var(--g-accent) 20%, transparent); } 100% { background: transparent; } }
.gm-sec-note { margin: 3px 0 2px; color: var(--g-muted); font-size: 10.5px; font-style: italic; }
.gm-empty-note { margin: 8px 0 6px; color: var(--g-muted); font-size: 11.5px; }
.gm-list { list-style: none; margin: 4px 0 0; padding: 0; }
.gm-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: start; padding: 9px 4px; margin: 0 -4px; border-bottom: 1px solid var(--g-line); border-radius: 4px; }
.gm-item:last-child { border-bottom: 0; }
.gm-item.has-photo { grid-template-columns: 48px minmax(0, 1fr) auto; }
.gm-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.gm[data-theme="cafe"] .gm-thumb { border-radius: 50%; }
.gm-dishline { margin: 0; }
.gm-dish { position: relative; font-family: var(--g-head); font-size: 14px; font-weight: 500; }
.gm[data-theme="cafe"] .gm-dish { font-weight: 600; font-size: 13.5px; }
.gm-new { margin-left: 4px; font-family: var(--serif); font-size: 11px; color: var(--g-accent); }
.gm-desc { margin: 2px 0 0; color: var(--g-muted); font-size: 11.5px; }
.gm-out { margin: 3px 0 0; color: var(--g-accent); font-family: var(--serif); font-style: italic; font-size: 11px; }
.gm-price { padding-top: 1px; font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; font-size: 13px; font-weight: 600; text-align: right; white-space: nowrap; }
.gm-item.is-out .gm-price, .gm-item.is-out .gm-desc { opacity: .45; }
.gm-dish::after { content: ""; position: absolute; left: -4%; right: -4%; top: 55%; height: .6em; transform: translateY(-50%); background: var(--g-accent); -webkit-mask: var(--strike-mask) no-repeat center / 100% 100%; mask: var(--strike-mask) no-repeat center / 100% 100%; clip-path: inset(0 100% 0 0); pointer-events: none; }
.gm-item.is-out .gm-dish::after { clip-path: inset(0 0 0 0); }
.gm-item.is-fresh { animation: fresh 2.2s ease; }
.gm-item.is-fresh.is-out .gm-dish::after { animation: draw .7s cubic-bezier(.6,0,.2,1) both; clip-path: inset(0 100% 0 0); }
.gm-item.is-spot { animation: fresh 2.4s ease; }
@keyframes fresh { 0%, 30% { background: color-mix(in srgb, var(--g-accent) 16%, transparent); } 100% { background: transparent; } }
.gm-foot { padding: 18px 18px 28px; color: var(--g-muted); font-size: 10.5px; text-align: center; }
.gm-foot p { margin: 0 0 2px; }
.gm-powered { margin-top: 8px !important; opacity: .8; }
.gm.is-arriving .gm-head, .gm.is-arriving .gm-cats, .gm.is-arriving .gm-sec { animation: arrive .6s cubic-bezier(.2,.8,.2,1) both; }
.gm.is-arriving .gm-cats { animation-delay: .08s; }
.gm.is-arriving .gm-sec:nth-child(1) { animation-delay: .14s; }
.gm.is-arriving .gm-sec:nth-child(2) { animation-delay: .2s; }
.gm.is-arriving .gm-sec:nth-child(3) { animation-delay: .26s; }
.gm.is-arriving .gm-sec:nth-child(n+4) { animation-delay: .32s; }
@keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Problem
   ========================================================================== */
.problem { padding-top: clamp(56px, 8vw, 100px); }
.vignettes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vignette { padding: 18px 18px 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.vignette h3 { margin: 18px 0 6px; font-size: 1.18rem; }
.vignette p { margin: 0; font-size: .94rem; color: var(--ink-2); }
.v-art { position: relative; height: 120px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.v-chalk { background: radial-gradient(120% 90% at 30% 20%, #3A4A40, #222C26); color: #F4F0E6; font-family: var(--serif); font-style: italic; text-align: center; box-shadow: inset 0 0 0 6px #7A5A3A, inset 0 0 0 8px #5C4229; display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.chalk-title { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-style: normal; font-family: var(--sans); opacity: .7; }
.chalk-dish { font-size: 1.35rem; }
.chalk-price { font-size: .95rem; opacity: .85; }
.v-photo, .v-pdf, .v-ask { background: var(--paper-2); }
.photo-frame { width: 104px; height: 96px; padding: 12px 10px; background: #E7DCC4; border: 6px solid #FFFDF7; border-bottom-width: 16px; box-shadow: 0 8px 16px -8px rgba(0,0,0,.4); transform: rotate(-6deg); filter: sepia(.5) blur(.4px); display: flex; flex-direction: column; gap: 8px; }
.photo-frame span { height: 5px; border-radius: 3px; background: #A89679; }
.photo-frame span:nth-child(2) { width: 70%; }
.photo-frame span:nth-child(3) { width: 85%; }
.photo-frame span:nth-child(4) { width: 55%; }
.photo-caption { position: absolute; bottom: 8px; right: 10px; font-size: .68rem; color: var(--ink-3); font-style: italic; font-family: var(--serif); }
.v-pdf { display: flex; flex-direction: column; gap: 10px; }
.pdf-file { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--card); border-radius: 10px; font-size: .78rem; color: var(--ink-2); box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); }
.pdf-ext { padding: 2px 5px; border-radius: 4px; background: var(--tomato); color: #fff; font-size: .6rem; font-weight: 700; }
.pdf-strike { font-family: var(--serif); font-style: italic; font-size: 1.1rem; position: relative; }
.pdf-strike::after { content: ""; position: absolute; left: -8%; right: -8%; top: 52%; height: .6em; transform: translateY(-50%) rotate(-2deg); background: var(--strike) no-repeat center / 100% 100%; }
.bubble { max-width: 82%; padding: 12px 14px; background: var(--card); border-radius: 16px 16px 16px 4px; font-size: .9rem; line-height: 1.35; box-shadow: 0 6px 14px -8px rgba(0,0,0,.3); }
.bubble em { font-family: var(--serif); }
@media (max-width: 1040px) { .vignettes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .vignettes { grid-template-columns: 1fr; gap: 12px; }
  .vignette { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-items: start; padding: 12px; }
  .vignette .v-art { grid-row: span 2; height: 96px; }
  .vignette h3 { margin: 2px 0 4px; font-size: 1.05rem; }
  .vignette p { font-size: .88rem; }
  .v-chalk .chalk-dish { font-size: 1rem; }
  .v-chalk .chalk-title, .photo-caption, .pdf-file { display: none; }
  .photo-frame { width: 64px; height: 60px; padding: 8px 6px; gap: 5px; border-width: 4px; border-bottom-width: 10px; }
  .bubble { font-size: .72rem; padding: 8px 9px; }
}

/* ==========================================================================
   Demo
   ========================================================================== */
.demo { background: var(--night); color: var(--paper); }
.demo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 60%, rgba(207, 67, 38, .16), transparent 70%); pointer-events: none; }
.demo .wrap { position: relative; }
.demo .eyebrow, .demo h2 em { color: #F08A6F; }
.demo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.demo-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.demo-head .lead { margin: 1rem 0 0; color: #CFC6B6; }
.demo-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.sim-chip { padding: 6px 12px; border: 1px dashed #5A554C; border-radius: 999px; color: #CFC6B6; font-size: .8rem; text-align: right; }
.demo-restart { padding: 8px 14px; border: 1.5px solid #4A463E; border-radius: 999px; background: transparent; color: var(--paper); font-size: .88rem; font-weight: 600; cursor: pointer; }
.demo-restart:hover { border-color: var(--paper); }
.demo-stage { display: flex; align-items: flex-start; justify-content: center; }
.demo-col { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.demo-col figcaption { font-size: .9rem; font-weight: 600; color: #CFC6B6; }
.demo-link { display: flex; align-items: center; gap: 8px; width: 130px; padding: 0 12px; margin-top: 340px; color: #8A8274; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.demo-link-line { flex: 1; height: 1.5px; background: repeating-linear-gradient(90deg, #4A463E 0 6px, transparent 6px 11px); }
.demo[data-flash] .demo-link { color: #7BC48D; }
.demo[data-flash] .demo-link-line { background: repeating-linear-gradient(90deg, #7BC48D 0 6px, transparent 6px 11px); animation: flow .6s linear 3; }
@keyframes flow { to { background-position: 22px 0; } }
.demo .phone { --phone-w: 340px; --phone-h: clamp(540px, calc(100vh - 175px), 660px); }
.demo-switch, .back-owner, .sim-short { display: none; }
@media (max-width: 1080px) { .demo-head { flex-direction: column; align-items: flex-start; } .demo-tools { flex-direction: row; align-items: center; flex-wrap: wrap; } .sim-chip { text-align: left; } .demo-link { width: 60px; padding: 0 6px; } .demo-link-label { display: none; } }

/* ---------- Owner app ---------- */
.app { position: relative; display: flex; flex-direction: column; height: 100%; background: #FAF8F4; color: #1C1A16; font-size: 13px; line-height: 1.4; }
.app-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 50px 16px 10px; border-bottom: 1px solid #EEE8DE; }
.app-venue { font-weight: 700; font-size: 13.5px; }
.app-venue small { display: block; font-weight: 500; font-size: 10.5px; color: #8A8274; }
.app-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; background: #E5F0E7; color: #2F6B41; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.app-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app-status.is-pending { background: #FBE3D9; color: #A9331B; }
.app-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 14px 14px 16px; scrollbar-width: thin; }
.app-foot { flex: none; padding: 10px 12px 16px; background: #FAF8F4; border-top: 1px solid #ECE6DC; }
.app-publish { width: 100%; min-height: 44px; border: 0; border-radius: 12px; background: var(--tomato); color: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.app-publish:hover { background: var(--tomato-deep); }
.app-foot-note { margin: 7px 0 0; text-align: center; font-size: 10.5px; color: #8A8274; }
.ob-step { margin: 0 0 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tomato-deep); }
.ob-title { margin: 0 0 6px; font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.15; }
.ob-text, .app-text { margin: 0 0 14px; color: #6E6455; font-size: 12.5px; line-height: 1.5; }
.ob-hint { margin: 14px 2px 0; font-size: 11px; color: #8A8274; }
.file-card { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 4px 12px; align-items: center; width: 100%; padding: 14px; border: 1.5px solid #E4DDD1; border-radius: 16px; background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.file-card:hover { border-color: var(--tomato); box-shadow: 0 10px 22px -14px rgba(207, 67, 38, .7); transform: translateY(-1px); }
.file-ico { grid-row: span 2; width: 38px; height: 46px; border-radius: 6px; display: grid; place-items: center; background: var(--tomato); color: #fff; font-size: 10px; font-weight: 800; }
.file-meta strong { display: block; font-size: 12.5px; word-break: break-all; }
.file-meta small { display: block; font-size: 10.5px; color: #8A8274; }
.file-cta { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; }
.read-rows { list-style: none; margin: 10px 0 0; padding: 0; }
.read-rows li { display: flex; align-items: center; gap: 10px; padding: 10px 4px; border-bottom: 1px solid #EEE8DE; color: #A59C8D; font-weight: 600; }
.read-rows li::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #D4CCBF; }
.read-rows li span:last-child { margin-left: auto; color: #2F6B41; font-variant-numeric: tabular-nums; }
.read-rows li.is-active { color: #1C1A16; }
.read-rows li.is-active::before { border-color: var(--tomato); border-right-color: transparent; animation: spin .8s linear infinite; }
.read-rows li.is-done { color: #1C1A16; }
.read-rows li.is-done::before { border-color: #3D8A55; background: #3D8A55; }
@keyframes spin { to { transform: rotate(360deg); } }
.ready-cats { list-style: none; margin: 0 0 12px; padding: 0; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #ECE6DC; }
.ready-cats li { display: flex; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid #F0EBE3; font-weight: 600; }
.ready-cats li:last-child { border-bottom: 0; }
.ready-cats li span:last-child { color: #8A8274; font-variant-numeric: tabular-nums; }
.ready-review summary { cursor: pointer; padding: 6px 2px; font-size: 12px; font-weight: 700; color: #4A4339; }
.rr-cat { margin: 10px 0 2px; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A8274; }
.rr-row { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 5px 0; border-bottom: 1px solid #F0EBE3; font-size: 12px; }
.rr-row small { display: block; color: var(--tomato-deep); font-size: 10.5px; }
.rr-row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }

.acts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.act { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 1px solid #ECE6DC; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s; }
.act:hover { border-color: #CFC4B2; transform: translateY(-1px); }
.act-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--tomato-soft); }
.act-ico svg, .ph-btn svg { width: 19px; height: 19px; fill: none; stroke: var(--tomato-deep); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.act-text { flex: 1; min-width: 0; }
.act-text strong { display: block; font-size: 13px; }
.act-text small { display: block; font-size: 10.5px; color: #8A8274; }
.act-state { flex: none; font-size: 10px; font-weight: 700; white-space: nowrap; }
.act-state.is-done { color: #2F6B41; }
.act-state.is-pending { color: var(--tomato-deep); }
.act-chev { color: #B5AC9C; font-size: 18px; line-height: 1; }
.back-btn { margin: 0 0 8px -4px; padding: 4px; border: 0; background: none; color: var(--tomato-deep); font-size: 12.5px; font-weight: 700; cursor: pointer; }
.scr-title { margin: 0 0 8px; font-family: var(--serif); font-size: 19px; font-weight: 500; }
.app-label { margin: 14px 4px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8A8274; }
.app-card { background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #ECE6DC; overflow: hidden; }
.app-empty { margin: 0; padding: 12px 14px; color: #8A8274; font-size: 11.5px; }
.row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #F0EBE3; }
.row:last-child { border-bottom: 0; }
.row-name { flex: 1; min-width: 0; font-weight: 600; }
.row-name small { display: block; margin-top: 1px; font-weight: 500; font-size: 10.5px; color: #8A8274; }
.row-name small.is-ok { color: #2F6B41; }
.row-name small.is-out { color: var(--tomato-deep); }
.sw { position: relative; width: 40px; height: 24px; flex: none; border: 0; border-radius: 999px; background: #D4CCBF; cursor: pointer; transition: background-color .2s; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.sw[aria-checked="true"] { background: #3D8A55; }
.sw[aria-checked="true"]::after { transform: translateX(16px); }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: #F3EFE8; }
.stepper button { width: 32px; height: 30px; border: 0; background: none; font-size: 15px; font-weight: 600; cursor: pointer; border-radius: 999px; }
.stepper button:hover { background: #E7E1D6; }
.stepper output { min-width: 58px; text-align: center; font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }
.link-btn { padding: 2px 0; border: 0; background: none; color: #6E6455; font-size: 11px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.catalog { display: grid; gap: 8px; }
.cat-card { padding: 12px 14px; background: #fff; border-radius: 14px; box-shadow: 0 0 0 1px #ECE6DC; }
.cat-card.is-on { box-shadow: 0 0 0 1.5px #3D8A55; }
.cat-name { display: flex; justify-content: space-between; gap: 8px; margin: 0; font-weight: 700; }
.cat-name span { font-variant-numeric: tabular-nums; }
.cat-desc { margin: 2px 0 10px; color: #8A8274; font-size: 11.5px; }
.cat-add { padding: 7px 12px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.cat-add:hover { background: var(--ink); color: #fff; }
.cat-on { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 11.5px; font-weight: 700; color: #2F6B41; }
.prow-thumb { flex: none; width: 40px; height: 40px; border-radius: 9px; overflow: hidden; background: repeating-linear-gradient(45deg, #F3EFE8 0 5px, #EDE7DD 5px 10px); }
.prow-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prow-btns { display: flex; gap: 10px; }
.ph-btn { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px 6px 8px; border: 1.5px solid var(--tomato); border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 700; color: var(--tomato-deep); cursor: pointer; }
.ph-btn svg { width: 15px; height: 15px; }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-card { display: flex; flex-direction: column; padding: 0; border: 2px solid transparent; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #ECE6DC; text-align: left; cursor: pointer; overflow: hidden; }
.theme-card[aria-pressed="true"] { border-color: var(--tomato); box-shadow: none; }
.theme-sample.gm { display: block; min-height: 0; padding: 12px 10px 10px; font-size: 10px; }
.ts-name { display: block; margin-bottom: 6px; font-family: var(--g-head); font-size: 13px; font-weight: 600; }
.gm[data-theme="bistro"] .ts-name { font-style: italic; font-weight: 400; }
.ts-row { display: flex; justify-content: space-between; gap: 6px; padding-top: 5px; border-top: 1px solid var(--g-line); }
.ts-row span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.theme-label { padding: 8px 10px 10px; font-size: 12px; font-weight: 700; }
.theme-label small { display: block; font-size: 10px; font-weight: 500; color: #8A8274; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.chips button { padding: 7px 11px; border: 1px dashed #C9BFAE; border-radius: 999px; background: #fff; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.chips button:hover:not(:disabled) { border-color: var(--tomato); color: var(--tomato-deep); }
.chips button:disabled { border-style: solid; border-color: #CFE3D4; background: #F1F8F2; color: #2F6B41; cursor: default; }
.opt { display: flex; align-items: center; gap: 10px; padding: 12px; }

.tray { padding: 2px 2px 0; }
.tray-title { margin: 0 0 4px; font-weight: 700; font-size: 12.5px; }
.tray-list { list-style: none; margin: 0 0 10px; padding: 0; font-size: 11.5px; color: #4A4339; }
.tray-list li { position: relative; padding: 2px 0 2px 12px; }
.tray-list li::before { content: ""; position: absolute; left: 1px; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--tomato); }
.tray-done .tray-list li::before { background: #3D8A55; }
.tray-list li:has(> .link-btn)::before { display: none; }
.tray-more-n { color: #8A8274; }
.tray-actions { display: flex; gap: 8px; }
.tray-actions .app-publish { flex: 1; }
.tray-discard { padding: 0 14px; border: 1px solid #DCD3C4; border-radius: 12px; background: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.tray-done .tray-title { color: #2F6B41; }
.see-btn { width: 100%; min-height: 40px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; font-weight: 700; font-size: 12.5px; cursor: pointer; }
.see-btn:hover { background: var(--ink); color: #fff; }
.tray-idle p { margin: 6px 0; text-align: center; font-size: 11.5px; color: #8A8274; }

.cam { position: relative; display: flex; flex-direction: column; height: 100%; background: #0E0D0C; color: #F5EFE4; }
.cam::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; transition: opacity .25s; }
.cam.is-flash::after { opacity: .85; transition: none; }
.cam-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 48px 14px 10px; font-size: 12.5px; font-weight: 600; }
.cam-top button { justify-self: start; padding: 0; border: 0; background: none; color: #F5EFE4; font-size: 12.5px; cursor: pointer; }
.cam-view { position: relative; flex: 1; min-height: 240px; margin: 0 10px; border-radius: 14px; overflow: hidden; background: #000; }
.cam-view img { position: absolute; inset: -4%; width: 108%; height: 108%; object-fit: cover; animation: handheld 5s ease-in-out infinite; }
.cam-guides { position: absolute; inset: 16px; pointer-events: none; background:
  linear-gradient(#fff, #fff) left top / 22px 2px no-repeat, linear-gradient(#fff, #fff) left top / 2px 22px no-repeat,
  linear-gradient(#fff, #fff) right top / 22px 2px no-repeat, linear-gradient(#fff, #fff) right top / 2px 22px no-repeat,
  linear-gradient(#fff, #fff) left bottom / 22px 2px no-repeat, linear-gradient(#fff, #fff) left bottom / 2px 22px no-repeat,
  linear-gradient(#fff, #fff) right bottom / 22px 2px no-repeat, linear-gradient(#fff, #fff) right bottom / 2px 22px no-repeat; opacity: .85; }
@keyframes handheld { 0%, 100% { transform: translate(0, 0) rotate(0); } 35% { transform: translate(1%, -.8%) rotate(.5deg); } 70% { transform: translate(-.8%, 1%) rotate(-.4deg); } }
.cam-hint { margin: 10px 14px 0; text-align: center; font-size: 10.5px; color: #CFC6B6; }
.cam-bar { display: grid; place-items: center; padding: 14px 0 22px; }
.cam-shutter { width: 58px; height: 58px; border-radius: 50%; border: 4px solid #F5EFE4; background: #F5EFE4; box-shadow: inset 0 0 0 3px #0E0D0C; cursor: pointer; }
.cam-shutter:active { transform: scale(.94); }

/* ---------- Guest side before publishing: the printed menu ---------- */
.browser-page.pre { padding: 18px 16px 24px; background: #E9E5DD; }
.pre-doc { padding: 18px 16px 14px; background: #FFFDF7 var(--grain); border-radius: 3px; box-shadow: 0 14px 30px -16px rgba(0,0,0,.5); transform: rotate(-1.2deg); font-family: var(--serif); font-style: italic; color: #2A2620; }
.doc-title { margin: 0 0 4px; text-align: center; font-size: 18px; font-weight: 600; }
.doc-cat { display: inline-block; margin: 10px 0 2px; padding: 0 3px; font-style: normal; font-family: var(--sans); font-size: 8.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8A8274; border-radius: 3px; transition: background-color .4s; }
.doc-row { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 3px 0; border-bottom: 1px dashed #E3D8C5; font-size: 11px; line-height: 1.3; }
.doc-row > span:first-child { display: flex; flex-direction: column; }
.hl { border-radius: 3px; padding: 0 2px; margin: 0 -2px; transition: background-color .4s, box-shadow .4s; }
.hl-desc { font-size: 9.5px; color: #6E6455; }
.hl-name.is-read { background: rgba(240, 178, 67, .4); }
.hl-desc.is-read { background: rgba(61, 106, 74, .16); }
.hl-price.is-read { background: rgba(207, 67, 38, .2); font-weight: 600; }
.doc-cat.is-read { background: rgba(28, 26, 22, .08); color: #1C1A16; }
.pre-cap { margin: 14px 4px 0; text-align: center; font-size: 11.5px; color: #6E6455; }

/* ---------- Mobile demo: no phone-in-phone, no nested scrolling ---------- */
@media (max-width: 860px) {
  .demo { padding-top: 56px; }
  .demo-head { margin-bottom: 16px; }
  .demo-head .lead { font-size: 1rem; }
  .demo-head .lead { margin-top: .6rem; }
  .demo-tools { flex-wrap: nowrap; gap: 8px; }
  .sim-chip { font-size: .74rem; white-space: nowrap; }
  .sim-long { display: none; }
  .sim-short { display: inline; }
  .demo-restart { padding: 6px 12px; font-size: .82rem; }
  .demo-switch { position: sticky; top: var(--header-h); z-index: 20; display: flex; gap: 4px; padding: 4px; margin: 0 calc(var(--gutter) * -1) 14px; padding-left: var(--gutter); padding-right: var(--gutter); background: var(--night); }
  .demo-switch button { flex: 1; min-height: 40px; border: 0; border-radius: 999px; background: #2B2924; color: #CFC6B6; font-size: .9rem; font-weight: 600; cursor: pointer; }
  .demo-switch button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
  .demo-stage { display: block; }
  .demo-col { display: block; }
  .demo-col figcaption, .demo-link { display: none; }
  .demo[data-pane="owner"] [data-pane-col="guest"], .demo[data-pane="guest"] [data-pane-col="owner"] { display: none; }
  .back-owner { display: inline-flex; margin: 0 0 10px; padding: 8px 14px; border: 1.5px solid #4A463E; border-radius: 999px; background: transparent; color: var(--paper); font-size: .88rem; font-weight: 600; cursor: pointer; }
  .demo .phone { width: 100%; height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; }
  .demo .phone::before { display: none; }
  .demo .phone-screen { height: auto; border-radius: 20px; overflow: clip; }
  .demo .app { height: auto; }
  .demo .app-top { padding-top: 14px; }
  .demo .app-body { overflow: visible; padding-bottom: 20px; }
  .demo .app-foot { position: sticky; bottom: 0; z-index: 4; box-shadow: 0 -10px 20px -14px rgba(0,0,0,.35); }
  .demo .cam-top { padding-top: 14px; }
  .demo .cam-view { aspect-ratio: 4 / 3; flex: none; }
  .demo .browser-bar { margin-top: 12px; }
  .demo .browser-page { overflow: visible; }
  .demo .gm-cats { top: calc(var(--header-h) + 52px); }
  .demo .gm { font-size: 14px; }
  .demo .gm-dish { font-size: 15px; }
  .demo .gm-desc { font-size: 12.5px; }
  .demo .gm-price { font-size: 14px; }
}

/* ==========================================================================
   Fit
   ========================================================================== */
.fit { background: var(--paper-2); }
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.profile { padding: 18px 18px 22px; background: var(--card); border-radius: var(--r); }
.profile h3 { margin: 18px 4px 8px; font-size: 1.25rem; }
.profile-list { margin: 0; padding: 0 4px; list-style: none; }
.profile-list li { position: relative; padding: 5px 0 5px 18px; color: var(--ink-2); font-size: .95rem; }
.profile-list li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); }
.profile-preview.gm { min-height: 0; padding: 16px 16px 12px; border-radius: 12px; font-size: 12.5px; box-shadow: inset 0 0 0 1px var(--g-line); }
.pp-name { margin: 0 0 10px; text-align: center; font-family: var(--g-head); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.gm[data-theme="bistro"] .pp-name { font-style: italic; font-weight: 400; }
.pp-cat { margin: 0 0 4px; font-family: var(--g-head); font-size: var(--g-sec-size); font-style: var(--g-sec-style); font-weight: var(--g-sec-weight); text-transform: var(--g-sec-case); letter-spacing: var(--g-sec-track); }
.gm[data-theme="bistro"] .pp-cat { text-align: center; color: var(--g-accent); }
.gm[data-theme="tavern"] .pp-cat { font-size: 16px; }
.gm[data-theme="bistro"] .pp-cat { font-size: 15px; }
.pp-row { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 6px 0; border-bottom: 1px solid var(--g-line); font-family: var(--g-head); }
.pp-row:last-child { border-bottom: 0; }
.pp-row > span:last-child { font-family: var(--sans); font-weight: 600; font-variant-numeric: tabular-nums; }
.pp-row em { display: block; color: var(--g-accent); font-family: var(--serif); font-size: 11px; }
.pp-row.is-out .gm-dish::after { clip-path: inset(0 0 0 0); }
.pp-row.is-out > span:last-child { opacity: .45; }

.where { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: center; margin-top: 18px; padding: clamp(22px, 3vw, 32px); background: var(--card); border-radius: var(--r); }
.where h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 8px; }
.where p { margin: 0; color: var(--ink-2); }
.where-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.where-list li { padding: 14px 12px; border: 1px solid var(--line); border-radius: 14px; font-size: .9rem; }
.where-list svg { width: 26px; height: 26px; margin-bottom: 8px; fill: none; stroke: var(--tomato-deep); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.where-list strong { display: block; }
.where-list span { color: var(--ink-3); font-size: .84rem; }

.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.highlight { display: grid; grid-template-columns: 170px 1fr; gap: 22px; align-items: center; padding: clamp(20px, 3vw, 28px); background: var(--card); border-radius: var(--r); }
.highlight h3 { margin-bottom: 10px; font-size: 1.3rem; }
.highlight p { margin: 0 0 8px; color: var(--ink-2); font-size: .95rem; }
.highlight .fine { margin: 0; font-size: .8rem; }
.snap { margin: 0; padding: 8px 8px 30px; background: #FFFDF7; border-radius: 4px; box-shadow: var(--shadow); transform: rotate(-4deg); position: relative; }
.snap img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.snap figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--serif); font-style: italic; font-size: .78rem; color: var(--ink-3); }
.translate-mini { padding: 14px 12px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-align: center; }
.tm-label { margin: 0; font-family: var(--sans); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tm-dish { margin: 2px 0 0; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.tm-desc { margin: 2px 0 0; font-size: .74rem; color: var(--ink-2); line-height: 1.35; }
.tm-arrow { margin: 4px 0; color: var(--tomato); }

.everything { margin-top: 18px; border-top: 1px solid var(--line-2); }
.everything summary { padding: 18px 0; cursor: pointer; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; list-style: none; display: flex; align-items: center; gap: 10px; }
.everything summary::-webkit-details-marker { display: none; }
.everything summary::before { content: "+"; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--card); color: var(--tomato-deep); font-family: var(--sans); font-weight: 700; }
.everything[open] summary::before { content: "–"; }
.everything-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 32px; margin: 0 0 14px; padding: 0; list-style: none; }
.everything-list li { padding: 6px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
@media (max-width: 1040px) {
  .profiles { grid-template-columns: 1fr 1fr; }
  .profiles .profile:last-child { grid-column: span 2; }
  .where { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .profiles { grid-template-columns: 1fr; }
  .profiles .profile:last-child { grid-column: auto; }
  .where-list { grid-template-columns: 1fr 1fr; }
  .highlight { grid-template-columns: 1fr; }
  .highlight .snap, .highlight .translate-mini { max-width: 240px; }
  .everything-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Next step + FAQ
   ========================================================================== */
.start { background: var(--tomato); color: #fff; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.start h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); color: #fff; }
.start .lead { margin: 1.2rem 0 1.8rem; color: #FBE3D9; }
.start-note { margin: 1.4rem 0 0; font-size: .9rem; color: #FBE3D9; }
.start-note a { color: #fff; font-weight: 600; }
.faq { padding: clamp(20px, 3vw, 30px); background: var(--paper); color: var(--ink); border-radius: var(--r-lg); }
.start .faq-title { margin-bottom: 8px; font-size: 1.5rem; color: var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { position: relative; padding: 14px 36px 14px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--tomato); border-bottom: 2px solid var(--tomato); transform: rotate(45deg); transition: transform .25s, margin .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { margin: -4px 0 14px; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 860px) { .start-grid { grid-template-columns: 1fr; } .start .actions .btn { flex: 1 1 100%; } }

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 44px; background: var(--night); color: #CFC6B6; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 40px; }
.brand-light { color: var(--paper); }
.footer-tag { margin: 12px 0 0; color: #A59C8D; font-family: var(--serif); font-style: italic; }
.footer-name { margin: 10px 0 0; max-width: 26em; color: #8A8274; font-size: .85rem; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 32px; align-content: start; }
.footer-nav a { text-decoration: none; color: #CFC6B6; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-meta p { margin: 0 0 8px; color: #8A8274; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Reveal + motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Future signup page (get-started.html — not linked until signup is connected)
   ========================================================================== */
.page-hero { padding: clamp(48px, 8vw, 100px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1; letter-spacing: -.03em; max-width: 14em; }
.page-hero .lead { margin-top: 1.4rem; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: #FFF6E3; border: 1px solid #EFD9A6; color: #5B4A22; font-size: .95rem; }
.notice-icon { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.notice p { margin: 0; }
.signup-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(80px, 10vw, 140px); }
.signup-card { padding: clamp(22px, 4vw, 40px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.signup-card .notice { margin-bottom: 28px; }
.signup fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-size: .9rem; font-weight: 600; }
.field input:not([type=radio]):not([type=checkbox]), .field select { width: 100%; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; }
.signup fieldset:disabled .field input, .signup fieldset:disabled .field select { background: var(--paper); cursor: not-allowed; }
.choice-group { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-size: .92rem; }
.choice input, .consent input { margin-top: 3px; accent-color: var(--tomato); }
.choice strong { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.signup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.form-status { margin: 16px 0 0; font-size: .92rem; }
.form-status[data-kind="error"] { color: var(--tomato-deep); }
.form-status[data-kind="ok"] { padding: 16px 18px; border-radius: 12px; background: var(--olive-soft); }
.signup-steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.signup-steps li { counter-increment: s; position: relative; padding: 0 0 26px 52px; }
.signup-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-family: var(--serif); font-style: italic; }
.signup-steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.signup-steps p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.side-card { margin-top: 12px; padding: 22px; border-radius: var(--r); background: var(--paper-2); }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 900px) { .signup-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .fields, .choice-group { grid-template-columns: 1fr; } }

/* ---- Mission ---- */
.mission { border-top: 1px solid var(--line); }
.mission-inner { max-width: 760px; text-align: center; }
.mission h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: 1.6rem; }
.mission h2 em { font-style: italic; font-weight: 400; color: var(--tomato); }
.mission p { color: var(--ink-2); font-size: clamp(1.02rem, 1.3vw, 1.12rem); line-height: 1.65; margin: 0 auto 1.1em; max-width: 36em; }
.mission .mission-lead { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.45; color: var(--ink); }
.mission .mission-close { position: relative; display: inline-block; margin-top: .6rem; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ink); }
.mission .mission-close::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -.35em; height: .5em; background: var(--strike) no-repeat center / 100% 100%; opacity: .85; }
.mission .mission-close strong { font-weight: 600; }

/* ==========================================================================
   Features section (2026-11 feature update) — namespaced: .everyday, .day*, .page-feature, .rp*
   ========================================================================== */
.everyday { padding-top: 0; }
.everyday .section-head .lead { margin-top: 1rem; }
.days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.day { padding: 20px 20px 22px; background: var(--card); border-radius: var(--r); }
.day h3 { margin: 0 0 6px; font-size: 1.15rem; line-height: 1.25; }
.day p:not(.day-tag) { margin: 0; color: var(--ink-2); font-size: .95rem; }
.day-tag { margin: 0 0 10px; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tomato-deep); }
.day-now { background: var(--tomato-soft); }
.day-now .day-tag::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .5em; border-radius: 50%; background: var(--tomato); vertical-align: .08em; }

.page-feature { display: grid; grid-template-columns: minmax(220px, .8fr) 1.2fr; gap: clamp(22px, 4vw, 44px); align-items: center; margin-top: 18px; padding: clamp(20px, 3vw, 32px); background: var(--card); border-radius: var(--r); }
.page-feature h3 { margin: 0 0 10px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.pf-copy p:not(.day-tag) { margin: 0 0 8px; color: var(--ink-2); font-size: .95rem; }
.pf-copy p.fine { margin: 6px 0 0; font-size: .8rem; color: var(--ink-3); }

/* Restaurant page illustration (fictional, no images) */
.rp { overflow: hidden; border-radius: 14px; background: #FBF6EC; box-shadow: var(--shadow); font-size: 12.5px; max-width: 360px; }
.rp-banner { padding: 34px 18px 16px; color: #FFF8EE; background: linear-gradient(180deg, rgba(25, 24, 21, 0) 20%, rgba(25, 24, 21, .45)), linear-gradient(120deg, #B9774E 0%, #8E5C3E 45%, #4F6B4F 100%); }
.rp .rp-name { margin: 0; color: #FFF8EE; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; font-style: italic; line-height: 1.1; }
.rp .rp-tag { margin: 4px 0 0; color: #F6E9D6; }
.rp-body { padding: 14px 16px 16px; }
.rp-btn { display: inline-block; margin: 0 0 12px; padding: 7px 12px; border-radius: 999px; background: var(--tomato); color: #fff; font-weight: 600; }
.rp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.rp-gallery span { aspect-ratio: 1; border-radius: 6px; background: #E8DCC7; }
.rp-gallery span:nth-child(2) { background: #D9C2A3; }
.rp-gallery span:nth-child(3) { background: #CFD9C8; }
.rp-visit { margin: 0; padding-top: 10px; border-top: 1px solid #E6DCCB; color: #74695A; }
.rp-visit strong { display: block; color: #241F18; }

@media (max-width: 980px) { .days { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .page-feature { grid-template-columns: 1fr; } .rp { max-width: 100%; } }
@media (max-width: 600px) { .days { grid-template-columns: 1fr; } }

/* Demo: live today-only changes (2026-11 feature update) */
.act-state.is-live { color: var(--tomato-deep); }
.live-note { padding: 8px 10px; border-radius: 10px; background: #FBE7DE; color: #7A2C17; }
.tray-live { margin-bottom: 8px; }
.tray-live .tray-title { display: flex; align-items: center; gap: 6px; color: var(--tomato-deep); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 3px rgba(207, 67, 38, .2); }
.tray-live-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 8px; font-size: 11.5px; color: #4A4339; }
.tray-live-row .link-btn { flex: none; }
