/* ============================================
   Eatery — Landing Page Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #faf8f5;
  --surface: #f3ede4;
  --surface-2: #ebe3d6;
  --border: #e0d7c6;
  --text: #2d2418;
  --text-muted: #8c7a64;
  --accent: #c45d1a;
  --accent-soft: rgba(196, 93, 26, 0.12);
  --accent-hover: #a84d14;
  --font: 'Source Serif 4', 'Georgia', serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --max-w: 1100px;
  --pad-x: clamp(1.25rem, 5vw, 3rem);
  --radius: 8px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
p { font-family: var(--font-sans); }

/* --- Site Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.03em;
}
.logo span { color: var(--accent); }
.header-tagline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding-top: 64px;
}
.hero-content {
  padding: 5rem var(--pad-x) 5rem max(3rem, calc((100vw - var(--max-w)) / 2 + var(--pad-x)));
}
.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}
.hero-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  box-shadow: 0 2px 12px rgba(196,93,26,0.25);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }
.btn-secondary {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-secondary:hover { color: var(--accent); }
.hero-image {
  height: 100vh;
  overflow: hidden;
  position: relative;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,248,245,0.15), rgba(250,248,245,0));
}

/* --- Intro Strip --- */
.intro-strip {
  padding: 4rem var(--pad-x);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.intro-strip p {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
.intro-strip p strong { font-weight: 700; }

/* --- What We Do --- */
.what {
  padding: 5rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}
.what-header { margin-bottom: 3.5rem; }
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-headline {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  max-width: 560px;
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.step {
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.step-num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.step p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Demo Section --- */
.demos {
  padding: 5rem var(--pad-x);
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.demos-inner { max-width: var(--max-w); margin: 0 auto; }
.demos-header { margin-bottom: 3rem; }
.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.demo-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.demo-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(45,36,24,0.08); }
.demo-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.demo-info { padding: 1.25rem; }
.demo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.demo-tagline {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.demos-note {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* --- The Offer --- */
.offer {
  padding: 5rem var(--pad-x);
  text-align: center;
}
.offer-inner { max-width: 700px; margin: 0 auto; }
.offer h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}
.offer-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.offer-price {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.offer-price-label {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.offer-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.offer-email {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  font-family: var(--font-sans);
  text-decoration: none;
  border-bottom: 2px solid var(--accent-soft);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}
.offer-email:hover { border-color: var(--accent); }
.offer-note {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Closing --- */
.closing {
  padding: 5rem var(--pad-x);
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 600px; margin: 0 auto; }
.closing h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
  color: var(--text);
}
.closing p {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.footer-brand .logo { display: block; margin-bottom: 0.25rem; }
.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-email {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem var(--pad-x);
  border-top: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: 4rem var(--pad-x); order: 2; }
  .hero-image { height: 50vw; order: 1; }
  .steps-row, .demos-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .header-inner { flex-direction: column; height: auto; padding: 1rem var(--pad-x); gap: 0.5rem; }
  .hero-content { padding: 3rem var(--pad-x); }
  .offer-price { font-size: 2.5rem; }
}