/* MenuYa website. Self-hosted fonts, no external requests. Tokens follow the "MenuYa · Web" canvas. */
@font-face { font-family: 'Figtree'; src: url('/fonts/figtree.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Bricolage Grotesque'; src: url('/fonts/bricolage.woff2') format('woff2'); font-weight: 700 800; font-display: swap; }

:root {
  --ink: #141210;
  --ink-2: #3E3833;
  --muted: #665F59;
  --line: #ECE8E3;
  --cream: #FAF3EC;
  --blush: #FCE9E1;
  --brand: #D24A22;
  --brand-hover: #B93E1A;
  --link: #B93E1A;
  --link-hover: #97310F;
  --field: #FDFBF9;
  --error: #B42318;
  --error-line: #C0392B;
  --error-bg: #FDECEA;
  --ok: #1E7A3C;
  --ok-bg: #E3F4E8;
  --peach: #FFB48F;
  --display: 'Bricolage Grotesque', Figtree, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #FFFFFF; color: var(--ink); font-family: Figtree, system-ui, sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--ink); color: #FFFFFF; border-radius: 10px; }
.skip:focus { top: 12px; color: #FFFFFF; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.eyebrow { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 62ch; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; }
.btn-primary { background: var(--brand); color: #FFFFFF; }
.btn-primary:hover { background: var(--brand-hover); color: #FFFFFF; }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #FFFFFF; }
.btn-dark { background: var(--ink); color: #FFFFFF; }
.btn-dark:hover { background: #2C2724; color: #FFFFFF; }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,0.4); color: #FFFFFF; }
.btn-ghost-light:hover { border-color: #FFFFFF; color: #FFFFFF; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 10px; padding-bottom: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 10px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.nav a:hover { background: var(--cream); }
.nav .btn { margin-left: 6px; min-height: 44px; padding: 0 18px; color: #FFFFFF; }
.nav .btn:hover { background: var(--brand-hover); }
@media (max-width: 760px) {
  .nav .nav-link { display: none; }
}

/* Hero */
.hero { background: var(--cream); }
.hero .wrap { padding-top: 64px; padding-bottom: 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { margin: 0; font-size: clamp(40px, 6vw, 60px); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 span { color: var(--brand); }
.hero .intro { margin: 0; font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.hero-image { border-radius: 22px; box-shadow: 0 30px 70px rgba(140, 60, 20, 0.18); width: 100%; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 18px; border-radius: 14px; background: var(--ink); color: #FFFFFF; text-decoration: none; }
.store:hover { background: #2C2724; color: #FFFFFF; }
.store span { display: flex; flex-direction: column; line-height: 1.1; }
.store small { font-size: 12px; opacity: 0.8; }
.store strong { font-size: 18px; }
.hero-link { align-self: flex-start; font-weight: 700; font-size: 17px; }

/* Feature tiles */
.features { padding-top: 56px; padding-bottom: 56px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.tiles li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.tiles svg { flex: none; }
.tiles p { margin: 0; }
.tiles strong { font-size: 17px; }
.tiles span { color: var(--muted); }

/* For restaurants */
.locales { background: var(--ink); color: #FFFFFF; }
.locales > .wrap { padding-top: 80px; padding-bottom: 80px; }
.locales-copy { display: flex; flex-direction: column; gap: 18px; }
.locales-tag { display: flex; align-items: center; gap: 12px; }
.locales-tag img { border-radius: 12px; border: 1px solid rgba(255,255,255,0.18); }
.locales-tag p { margin: 0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 14px; color: var(--peach); }
.locales h2 { margin: 0; font-size: clamp(32px, 4.4vw, 46px); line-height: 1.05; }
.locales-copy > p { margin: 0; font-size: 19px; line-height: 1.6; color: rgba(255,255,255,0.82); max-width: 50ch; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.board { border-radius: 18px; border: 1px solid rgba(255,255,255,0.12); width: 100%; }
.benefits { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.benefits li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 18px; padding: 22px; }
.benefits h3 { margin: 0 0 6px; font-family: Figtree, system-ui, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0; }
.benefits p { margin: 0; color: rgba(255,255,255,0.78); line-height: 1.55; }

/* Steps and order flow */
.section { padding-top: 80px; padding-bottom: 80px; }
.section h2 { margin: 0 0 32px; font-size: clamp(32px, 4vw, 42px); line-height: 1.08; max-width: 22ch; }
.steps-section { padding-bottom: 40px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.steps li { border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--link); font-weight: 800; }
.steps h3, .flow strong { margin: 0; font-family: Figtree, system-ui, sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0; }
.steps p { margin: 0; color: var(--muted); line-height: 1.55; }
.flow-section { padding-top: 40px; }
.flow-section h2 { margin-bottom: 8px; font-size: clamp(28px, 3.4vw, 34px); max-width: none; }
.flow-section .lead { margin-bottom: 28px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.flow li { display: flex; flex-direction: column; gap: 10px; }
.flow img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.flow p { margin: 0; line-height: 1.45; }
.flow span { color: var(--muted); }
@media (max-width: 520px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* FAQ */
.faq-section { background: var(--cream); }
.faq-section .wrap { max-width: 860px; padding-top: 80px; padding-bottom: 80px; }
.faq-section h2 { margin: 0 0 28px; font-size: clamp(32px, 4vw, 42px); line-height: 1.08; }
.faq { display: grid; gap: 12px; }
.faq details { background: #FFFFFF; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); line-height: 1.6; }

/* Registration */
.register h2 { max-width: 24ch; }
.register-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; align-items: start; }
.self-card { background: var(--ink); color: #FFFFFF; border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.self-card h3, .form-card h3 { margin: 0; font-size: 28px; }
.self-card p, .self-card ul { margin: 0; color: rgba(255,255,255,0.82); line-height: 1.6; }
.self-card ul { padding-left: 20px; line-height: 1.8; }
.self-card .btn { align-self: flex-start; }
.form-card { background: #FFFFFF; border: 1px solid var(--line); border-radius: 22px; padding: 32px; box-shadow: 0 20px 50px rgba(20, 18, 16, 0.06); }
.form { display: grid; gap: 16px; }
.form-head p { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 15px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input:not([type=radio]):not([type=checkbox]), .field textarea { font: inherit; font-weight: 400; min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--field); color: var(--ink); width: 100%; }
.field textarea { padding: 10px 12px; resize: vertical; min-height: 96px; }
.field input:not([type=radio]):not([type=checkbox]):focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(210, 74, 34, 0.25); }
.field.invalid input:not([type=radio]), .field.invalid textarea { border-color: var(--error-line); }
.error { margin: 0; color: var(--error); font-size: 14px; font-weight: 700; }
fieldset.field { border: 0; margin: 0; padding: 0; }
fieldset.field legend { padding: 0; margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; cursor: pointer; }
.chip input { accent-color: var(--brand); margin: 0; }
.chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.chip:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-summary { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--error-bg); color: #8A1C12; font-weight: 700; }
.form .btn-primary { min-height: 52px; font-size: 17px; width: 100%; }
.form-result { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 16px 0; }
.form-result:focus { outline: none; }
.ok-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ok-bg); }
.form-result p { margin: 0; color: var(--ink-2); line-height: 1.6; max-width: 34ch; }
.form-result .small { color: var(--muted); font-size: 15px; }
.form-fail { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--error-bg); color: #8A1C12; line-height: 1.5; }
.form-fail a { color: #8A1C12; font-weight: 700; }

/* Contact */
.contact { background: var(--blush); }
.contact .wrap { padding-top: 64px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: center; }
.contact h2 { margin: 0 0 8px; font-size: 36px; line-height: 1.1; }
.contact p { margin: 0; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.contact .actions { justify-content: flex-end; }
.contact .btn { min-height: 56px; padding: 0 22px; }
@media (max-width: 700px) {
  .contact .actions { justify-content: flex-start; }
  .contact .btn { width: 100%; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 36px; padding-bottom: 48px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; color: var(--muted); font-size: 14px; line-height: 1.7; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--ink); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 48px 24px; background: var(--cream); }
.notfound h1 { margin: 0 0 12px; font-size: 44px; }
.notfound p { margin: 0 0 24px; color: var(--ink-2); }
@media (max-width: 520px) {
  .self-card, .form-card { padding: 24px 20px; }
}
