/* ===== Reset & base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fbf7f1;
  --bg-alt: #f3ece2;
  --ink: #221d17;
  --ink-soft: #5b5449;
  --line: #e7dfd2;
  --accent: #d9622b;
  --accent-ink: #ffffff;
  --dark: #18140f;
  --dark-soft: #cfc6b8;
  --radius: 18px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max: 1160px;
  --shadow: 0 20px 50px -25px rgba(34, 29, 23, 0.35);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-narrow { max-width: 760px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 24px -10px rgba(217, 98, 43, 0.6);
}
.btn-primary:hover { background: #c25522; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}
.main-nav {
  display: flex;
  gap: 28px;
  margin-right: auto;
  margin-left: 24px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.main-nav a:hover { color: var(--ink); }
.header-actions { display: flex; gap: 12px; align-items: center; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 28px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mobile-nav a {
  padding: 12px 4px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 12px; }

.site-header.nav-open .mobile-nav { display: flex; }

/* ===== Hero ===== */
.hero { padding: 72px 0 96px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: var(--bg-alt);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-microcopy { font-size: 0.88rem; color: var(--ink-soft); }

/* Phone mockup */
.hero-visual { display: flex; justify-content: center; }
.phone {
  width: 300px;
  background: var(--dark);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
}
.phone-notch {
  width: 90px;
  height: 22px;
  background: var(--dark);
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.phone-screen {
  background: #fffdfa;
  border-radius: 28px;
  padding: 20px 18px 24px;
  margin-top: -22px;
}
.menu-head { margin-bottom: 14px; }
.menu-restaurant { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.menu-table { font-size: 0.78rem; color: var(--ink-soft); }
.menu-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.tab {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.tab.active { background: var(--accent); color: #fff; }
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.item-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.item-price { font-size: 0.82rem; color: var(--ink-soft); }
.badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  background: #fde3d3;
  color: var(--accent);
  padding: 2px 8px;
  border-radius: 100px;
  margin-left: 6px;
  vertical-align: middle;
}
.badge-alt { background: #fdeeda; color: #b3701f; }
.add {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.menu-send {
  margin-top: 18px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 13px;
  border-radius: 100px;
}

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 20px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature h3 { font-size: 1.08rem; margin-bottom: 10px; font-family: var(--font-body); font-weight: 800; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* Use cases */
.use-cases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.use-case {
  border-top: 3px solid var(--accent);
  padding-top: 20px;
}
.use-case h3 { font-size: 1.1rem; margin-bottom: 10px; }
.use-case p { color: var(--ink-soft); font-size: 0.92rem; }

/* Dark / results */
.section-dark { background: var(--dark); color: #fff; }
.section-head-dark h2 { color: #fff; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.stat-label { font-weight: 700; margin-bottom: 8px; }
.stat-desc { color: var(--dark-soft); font-size: 0.92rem; }

/* Demo / form */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.demo-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.3rem); margin-bottom: 18px; }
.demo-copy p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 24px; }
.demo-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.demo-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
}
.demo-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.demo-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow);
}
.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}
.demo-form input {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 500;
}
.demo-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 98, 43, 0.15);
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); font-weight: 500; text-align: center; }
.form-note a { color: var(--accent); font-weight: 700; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 400;
  margin-left: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--ink-soft); padding: 0 0 20px; font-size: 0.95rem; }

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--dark-soft);
  padding-top: 64px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 10px; max-width: 280px; font-size: 0.92rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; font-weight: 600; font-size: 0.92rem; }
.footer-nav a:hover { color: #fff; }
.footer-contact a { font-weight: 700; color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 28px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone { width: 260px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .use-cases { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .steps, .features, .use-cases, .stats { grid-template-columns: 1fr; }
  .header-actions .btn-primary { padding: 10px 16px; font-size: 0.85rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
