/* ============================================================
   foodprints — Brand Landing System  (Titan One / terracotta poster)
   Self-contained. Does not depend on styles.css.
   Mirrors the Instagram @foodprintsapp identity:
   full-bleed terracotta panels, chunky Titan One headlines,
   uppercase kickers, Inter body, corner page-index numerals.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand fields */
  --terra:        #C75B3F;   /* primary poster field */
  --terra-deep:   #A8452C;   /* darker edge / hover */
  --terra-tint:   #D77C63;   /* lighter accent */
  --cream:        #FBF7EF;   /* paper */
  --cream-2:      #F3EDE0;
  --ink:          #14110E;   /* near-black (device frames only) */
  --ink-soft:     #241F1A;
  --espresso:     #3A2018;   /* warm dark brown — harmonises with terracotta */
  --espresso-2:   #4A2C22;

  /* Food accents (from the mark) */
  --cheese:       #F0A62E;
  --pepper:       #D8402E;
  --pink:         #FF2E88;   /* app accent, used sparingly */

  /* Text-on-field helpers */
  --on-terra:      #FBF7EF;
  --on-terra-dim:  rgba(251,247,239,.78);
  --on-terra-faint:rgba(251,247,239,.45);
  --on-ink:        #FBF7EF;
  --on-ink-dim:    rgba(251,247,239,.70);
  --on-cream:      #14110E;
  --on-cream-dim:  rgba(20,17,14,.62);

  /* Type */
  --display: 'Titan One', 'Inter', system-ui, sans-serif;
  --body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radius / shadow / motion */
  --r-sm: 10px;  --r-md: 16px;  --r-lg: 24px;  --r-xl: 32px;  --r-full: 999px;
  --shadow-sm: 0 2px 10px rgba(20,17,14,.10);
  --shadow-md: 0 12px 30px rgba(20,17,14,.14);
  --shadow-lg: 0 30px 70px rgba(20,17,14,.22);
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);

  --maxw: 1180px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--terra);
  color: var(--on-terra);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.hidden { display: none !important; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.panel { position: relative; overflow: hidden; }
/* padding-block only — horizontal padding comes from .container so content
   never sits flush to the viewport edge on narrow windows. */
.panel-inner { position: relative; z-index: 2; padding-block: 128px; }
.panel--terra { background: var(--terra); color: var(--on-terra); }
.panel--cream { background: var(--cream); color: var(--on-cream); }
.panel--ink   { background: var(--espresso); color: var(--on-ink); }

/* Panel corner index numeral (01 / 06 …) */
.panel-index {
  position: absolute; right: 28px; bottom: 22px; z-index: 3;
  font-family: var(--display);
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: .02em;
  opacity: .38;
  user-select: none;
}
.panel--terra .panel-index { color: var(--on-terra); }
.panel--cream .panel-index { color: var(--terra); }
.panel--ink   .panel-index { color: var(--cheese); }

/* Soft grain / bloom accents on terra panels */
.panel--terra::before {
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(60% 50% at 88% 8%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(50% 45% at 6% 92%, rgba(0,0,0,.14), transparent 60%);
}

/* ---------- Typography ---------- */
.kicker {
  font-family: var(--display);
  font-size: clamp(.72rem, 1.4vw, .9rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
}
.kicker::before {
  content:''; width: 26px; height: 3px; border-radius: 2px; background: currentColor; opacity: .8;
}
.panel--terra .kicker { color: var(--on-terra-dim); }
.panel--cream .kicker { color: var(--terra); }
.panel--ink   .kicker { color: var(--cheese); }

.display {
  font-family: var(--display);
  font-weight: 400;              /* Titan One ships single weight */
  line-height: .98;
  letter-spacing: -.005em;
}
.h-hero    { font-size: clamp(2.9rem, 8.5vw, 6.4rem); }
.h-section { font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.0; }
.h-card    { font-family: var(--body); font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; }

.lead {
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.55;
  max-width: 34ch;
}
.panel--terra .lead { color: var(--on-terra-dim); }
.panel--cream .lead { color: var(--on-cream-dim); }
.panel--ink   .lead { color: var(--on-ink-dim); }

/* Accent inside headlines (reuses legacy i18n span classes) */
.text-gradient, .text-gradient-orange { display: inline; }
.panel--terra .text-gradient,
.panel--terra .text-gradient-orange { color: var(--cheese); }
.panel--cream .text-gradient,
.panel--cream .text-gradient-orange { color: var(--terra); }
.panel--ink   .text-gradient,
.panel--ink   .text-gradient-orange { color: var(--cheese); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: 15px 26px; border-radius: var(--r-full);
  transition: transform .18s var(--ease-spring), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-sm { padding: 11px 20px; font-size: .92rem; }

/* On terra / ink fields: cream solid = primary */
.btn-primary, .btn-primary-orange {
  background: var(--cream); color: var(--ink); box-shadow: var(--shadow-sm);
}
.btn-primary:hover, .btn-primary-orange:hover { box-shadow: var(--shadow-md); background: #fff; }
.btn-secondary {
  background: transparent; color: currentColor;
  box-shadow: inset 0 0 0 2px currentColor;
}
.btn-secondary:hover { background: rgba(251,247,239,.12); }

/* On cream fields: terracotta solid = primary */
.panel--cream .btn-primary,
.panel--cream .btn-primary-orange { background: var(--terra); color: var(--cream); }
.panel--cream .btn-primary:hover,
.panel--cream .btn-primary-orange:hover { background: var(--terra-deep); }
.panel--cream .btn-secondary { color: var(--ink); box-shadow: inset 0 0 0 2px rgba(20,17,14,.22); }
.panel--cream .btn-secondary:hover { background: rgba(20,17,14,.05); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled {
  background: rgba(199,91,63,.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--cream); padding: 3px; }
.nav-wordmark { font-family: var(--display); font-size: 1.35rem; color: var(--cream); letter-spacing: -.01em; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: var(--on-terra-dim); font-weight: 600; font-size: .95rem;
  padding: 10px 14px; border-radius: var(--r-full); transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--cream); background: rgba(251,247,239,.10); }

/* Language dropdown */
.lang-dropdown-wrap { position: relative; }
.lang-toggle {
  color: var(--on-terra-dim); font-weight: 600; font-size: .9rem;
  padding: 10px 12px; border-radius: var(--r-full);
}
.lang-toggle:hover { color: var(--cream); background: rgba(251,247,239,.10); }
.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--cream); border-radius: var(--r-md); box-shadow: var(--shadow-md);
  padding: 6px; min-width: 148px; z-index: 50;
}
.lang-option {
  display: block; width: 100%; text-align: left; color: var(--ink);
  padding: 9px 12px; border-radius: 9px; font-weight: 600; font-size: .92rem;
}
.lang-option:hover, .lang-option.active { background: var(--cream-2); color: var(--terra-deep); }

/* ---------- Persona toggle ---------- */
.persona-selector {
  display: inline-flex; gap: 4px; padding: 5px;
  background: rgba(20,17,14,.18); border-radius: var(--r-full);
  margin-bottom: 34px;
}
.panel--cream .persona-selector { background: rgba(20,17,14,.06); }
.persona-tab {
  font-family: var(--body); font-weight: 700; font-size: .95rem;
  padding: 11px 24px; border-radius: var(--r-full);
  color: var(--on-terra-dim); transition: all .22s var(--ease);
}
.panel--cream .persona-tab { color: var(--on-cream-dim); }
.persona-tab.active { background: var(--cream); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Hero ---------- */
.hero .panel-inner { padding-block: 150px 110px; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero-headline { margin-bottom: 22px; }
.hero-subtitle { margin-bottom: 26px; }
.persona-content { display: none; }
.persona-content.active { display: block; animation: fadeUp .5s var(--ease) both; }

/* Persona sections (features / screenshots / cta) — one at a time */
.persona-section { display: none; }
.persona-section.active { display: block; }

.typewriter-container {
  font-family: var(--body); font-weight: 600;
  color: var(--cheese); min-height: 1.6em; margin-bottom: 28px; font-size: 1.05rem;
}
.panel--cream .typewriter-container { color: var(--terra); }
.typewriter-cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-stats { display: flex; align-items: center; gap: 22px; margin-bottom: 34px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-number { font-family: var(--display); font-size: 1.7rem; line-height: 1; }
.stat-label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--on-terra-faint); font-weight: 600;
}
.panel--cream .stat-label { color: var(--on-cream-dim); }
.stat-divider { width: 1px; height: 34px; background: currentColor; opacity: .22; }

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Device mockups */
.hero-visual { display: flex; justify-content: center; }
.phone-frame {
  width: 300px; max-width: 78vw; aspect-ratio: 9/19.5;
  background: var(--ink); border-radius: 44px; padding: 11px;
  box-shadow: var(--shadow-lg); transform: rotate(2deg);
  transition: transform .5s var(--ease);
}
.hero-visual:hover .phone-frame { transform: rotate(0); }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--cream); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

.laptop-mockup { width: 100%; max-width: 520px; }
.laptop-lid {
  background: var(--ink); border-radius: 16px 16px 0 0; padding: 12px 12px 0;
  box-shadow: var(--shadow-lg);
}
.laptop-screen { border-radius: 6px; overflow: hidden; aspect-ratio: 16/10; background: var(--cream); }
.laptop-screen img { width: 100%; height: 100%; object-fit: cover; }
.laptop-camera { width: 6px; height: 6px; border-radius: 50%; background: #333; margin: 0 auto 6px; }
.laptop-base { height: 14px; background: linear-gradient(var(--ink-soft), var(--ink)); border-radius: 0 0 12px 12px; position: relative; box-shadow: var(--shadow-md); }
.laptop-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 5px; background: rgba(0,0,0,.4); border-radius: 0 0 6px 6px; }

/* ---------- Section header ---------- */
.section-header { max-width: 640px; margin-bottom: 56px; }
.section-title { margin-bottom: 18px; }
.section-subtitle {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
}
.panel--terra .section-subtitle { color: var(--on-terra-dim); }
.panel--cream .section-subtitle { color: var(--on-cream-dim); }
.panel--ink   .section-subtitle { color: var(--on-ink-dim); }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 34px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.panel--cream .feature-card { background: var(--cream-2); box-shadow: 0 1px 0 rgba(20,17,14,.04); }
.panel--terra .feature-card { background: rgba(251,247,239,.10); box-shadow: inset 0 0 0 1px rgba(251,247,239,.18); }
.panel--ink   .feature-card { background: rgba(251,247,239,.06); box-shadow: inset 0 0 0 1px rgba(251,247,239,.12); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-num {
  font-family: var(--display); font-size: 1.1rem; color: var(--terra);
  opacity: .5; margin-bottom: 14px;
}
.panel--terra .feature-num, .panel--ink .feature-num { color: var(--cheese); opacity: .8; }
.feature-title { margin-bottom: 10px; }
.feature-desc { font-size: .98rem; line-height: 1.55; }
.panel--cream .feature-desc { color: var(--on-cream-dim); }
.panel--terra .feature-desc { color: var(--on-terra-dim); }
.panel--ink   .feature-desc { color: var(--on-ink-dim); }
/* decorative background line-art from legacy markup */
.feature-bg-icon {
  position: absolute; right: -20px; bottom: -20px; width: 150px; height: 150px;
  opacity: .10; pointer-events: none; color: currentColor;
}

/* ---------- Screenshots carousel (ink panel) ---------- */
.screenshot-carousel { position: relative; overflow: hidden; margin: 8px 0 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.screenshot-track { display: flex; gap: 22px; will-change: transform; }
.screenshot-item { flex: 0 0 auto; transition: transform .4s var(--ease), opacity .4s var(--ease); opacity: .55; }
.screenshot-item.is-center { opacity: 1; transform: scale(1.05); }
.screenshot-phone {
  width: 220px; aspect-ratio: 9/19.5; background: var(--ink);
  border-radius: 30px; padding: 8px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(251,247,239,.14);
}
.screenshot-phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.carousel-caption-container {
  text-align: center; font-family: var(--body); font-weight: 600;
  color: var(--cheese); min-height: 1.5em; font-size: 1.1rem;
}
.carousel-caption-cursor { animation: blink 1s steps(1) infinite; }

/* Mobile phone slideshow (hidden on desktop) */
.phone-slideshow { display: none; }
.phone-mockup-lg .phone-frame-lg {
  width: 270px; max-width: 74vw; aspect-ratio: 9/19.5; margin: 0 auto;
  background: var(--ink); border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg);
  position: relative;
}
.phone-screen-lg { width: 100%; height: 100%; border-radius: 30px; overflow: hidden; position: relative; background: var(--cream); }
.device-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--ease); }
.device-slide.active { opacity: 1; }
.device-caption { text-align: center; margin-top: 20px; font-weight: 600; color: var(--cheese); }
.device-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.device-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(251,247,239,.3); transition: all .25s; }
.device-dot.active { background: var(--cheese); width: 22px; border-radius: 4px; }

/* ---------- Dashboard preview + pricing (restaurant) ---------- */
.demo-preview { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.demo-preview-hint { font-size: .95rem; }
.panel--cream .demo-preview-hint { color: var(--on-cream-dim); }
.panel--terra .demo-preview-hint { color: var(--on-terra-dim); }

.pricing-section { margin-top: 64px; }
.pricing-banner {
  border-radius: var(--r-xl); padding: 44px;
  background: var(--terra); color: var(--on-terra);
  box-shadow: var(--shadow-lg);
}
.pricing-title { font-family: var(--display); font-size: 1.8rem; margin-bottom: 28px; }
.pricing-row { display: flex; justify-content: space-between; gap: 40px; align-items: center; flex-wrap: wrap; }
.pricing-highlights { display: grid; gap: 14px; }
.pricing-point { display: flex; align-items: center; gap: 12px; color: var(--on-terra-dim); font-size: 1.02rem; }
.pricing-point-icon {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--cheese); color: var(--ink); display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}
.pricing-main { text-align: right; }
.pricing-amount { font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4rem); color: var(--cheese); display: block; line-height: 1; }
.pricing-per { color: var(--on-terra-dim); font-size: 1rem; }

/* ---------- CTA cards ---------- */
.cta-card { max-width: 620px; margin: 0 auto; text-align: center; }
.cta-headline { font-family: var(--display); font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.02; margin-bottom: 16px; }
.cta-subtitle { font-size: 1.12rem; margin-bottom: 32px; }
.panel--terra .cta-subtitle { color: var(--on-terra-dim); }
.panel--ink   .cta-subtitle { color: var(--on-ink-dim); }
.cta-form { display: flex; flex-direction: column; gap: 12px; max-width: 440px; margin: 0 auto; }
.cta-input {
  width: 100%; padding: 16px 20px; border-radius: var(--r-full);
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 2px solid transparent; outline: none;
  transition: border-color .2s;
}
.cta-input::placeholder { color: rgba(20,17,14,.42); }
.cta-input:focus { border-color: var(--cheese); }
.cta-success { animation: fadeUp .4s var(--ease) both; }
.cta-success-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--cheese); color: var(--ink);
  display: grid; place-items: center; font-size: 1.6rem; font-weight: 800; margin: 0 auto 16px;
}
.cta-success-text { font-family: var(--body); font-weight: 800; font-size: 1.2rem; margin-bottom: 6px; }
.cta-success-hint { color: var(--on-terra-dim); font-size: .95rem; }
.cta-footnote { margin-top: 20px; font-size: .88rem; color: var(--on-terra-faint); }
.panel--ink .cta-footnote { color: var(--on-ink-dim); }

/* App-store style beta badge row */
.store-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- App Store badge + download widget ---------- */
.appstore-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; border-radius: 12px; padding: 10px 18px;
  transition: transform .18s var(--ease-spring), box-shadow .2s var(--ease);
}
.appstore-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.appstore-badge svg { flex: 0 0 auto; }
.appstore-badge .asb-text { display: flex; flex-direction: column; line-height: 1.06; text-align: left; }
.appstore-badge .asb-text small { font-size: .64rem; font-weight: 500; letter-spacing: .01em; opacity: .92; }
.appstore-badge .asb-text strong { font-size: 1.16rem; font-weight: 600; letter-spacing: -.01em; }

.hero-download { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.hero-download .dl-note, .cta-card .dl-note { font-size: .82rem; color: var(--on-terra-faint); }
.panel--cream .cta-card .dl-note { color: var(--on-cream-dim); }

.download-widget {
  max-width: 430px; margin: 0 auto; text-align: center;
  background: var(--cream); color: var(--on-cream);
  border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow-lg);
}
.download-widget .dw-app { display: flex; align-items: center; gap: 14px; text-align: left; margin-bottom: 18px; }
.download-widget .dw-icon { width: 60px; height: 60px; border-radius: 14px; box-shadow: var(--shadow-sm); }
.download-widget .dw-name { font-family: var(--body); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.download-widget .dw-rating { font-size: .9rem; color: var(--on-cream-dim); margin: 2px 0; min-height: 1.2em; }
.download-widget .dw-stars { color: var(--cheese); letter-spacing: .05em; }
.download-widget .dw-new { display: inline-block; font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--terra); }
.download-widget .dw-sub { font-size: .88rem; color: var(--on-cream-dim); }
.download-widget .appstore-badge { width: 100%; justify-content: center; }
.download-widget .dl-note { margin-top: 14px; font-size: .82rem; color: var(--on-cream-dim); }

/* ---------- Nav language buttons (partners page) ---------- */
.nav-lang { display: inline-flex; gap: 2px; align-items: center; }
.nav-lang button {
  color: var(--on-terra-dim); font-weight: 600; font-size: .88rem;
  padding: 8px 11px; border-radius: var(--r-full); transition: color .2s, background .2s;
}
.nav-lang button:hover { color: var(--cream); background: rgba(251,247,239,.10); }
.nav-lang button.active { color: var(--ink); background: var(--cream); }

/* ---------- Proof stat cards (partners) ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proof-card {
  border-radius: var(--r-lg); padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.panel--cream .proof-card { background: var(--cream-2); }
.panel--terra .proof-card { background: rgba(251,247,239,.10); box-shadow: inset 0 0 0 1px rgba(251,247,239,.18); }
.panel--ink .proof-card { background: rgba(251,247,239,.06); box-shadow: inset 0 0 0 1px rgba(251,247,239,.12); }
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proof-number { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--terra); }
.panel--terra .proof-number, .panel--ink .proof-number { color: var(--cheese); }
.proof-label { margin-top: 10px; font-family: var(--body); font-weight: 800; font-size: 1.1rem; line-height: 1.2; letter-spacing: -.01em; }
.proof-note { margin-top: 14px; font-size: .95rem; line-height: 1.55; }
.panel--cream .proof-note { color: var(--on-cream-dim); }
.panel--terra .proof-note { color: var(--on-terra-dim); }
.panel--ink .proof-note { color: var(--on-ink-dim); }

/* ---------- How-it-works steps ---------- */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.how-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--terra); color: var(--cream);
  font-family: var(--display); font-size: 1.3rem; margin-bottom: 16px;
}
.panel--terra .how-step-num { background: var(--cream); color: var(--terra-deep); }
.panel--ink .how-step-num { background: var(--cheese); color: var(--ink); }
.how-step h3 { font-family: var(--body); font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; margin-bottom: 10px; }
.how-step p { font-size: .98rem; line-height: 1.55; }
.panel--cream .how-step p { color: var(--on-cream-dim); }
.panel--terra .how-step p { color: var(--on-terra-dim); }
.panel--ink .how-step p { color: var(--on-ink-dim); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; }
.faq-item { padding: 24px 0; }
.panel--cream .faq-item { border-bottom: 1px solid rgba(20,17,14,.12); }
.panel--ink .faq-item { border-bottom: 1px solid rgba(251,247,239,.14); }
.faq-item summary {
  cursor: pointer; list-style: none;
  font-family: var(--body); font-weight: 700; font-size: 1.1rem; line-height: 1.35;
  display: flex; justify-content: space-between; gap: 18px; align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--display); color: var(--terra); font-size: 1.5rem; line-height: 1; flex: 0 0 auto; }
.panel--ink .faq-item summary::after { color: var(--cheese); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 14px; line-height: 1.65; font-size: 1rem; }
.panel--cream .faq-item p { color: var(--on-cream-dim); }
.panel--ink .faq-item p { color: var(--on-ink-dim); }
.faq-item p strong, .lead strong, .section-subtitle strong { color: inherit; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--on-ink-dim); padding: 56px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-mark { width: 40px; height: 40px; border-radius: 10px; background: var(--cream); padding: 4px; }
.footer-word { font-family: var(--display); font-size: 1.5rem; color: var(--cream); }
.footer-tag { max-width: 30ch; margin-top: 12px; font-size: .95rem; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { color: var(--on-ink-dim); font-size: .95rem; transition: color .2s; }
.footer-links a:hover { color: var(--cheese); }
.footer-bottom { border-top: 1px solid rgba(251,247,239,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--on-ink-dim); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .24s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-visual-restaurant { order: 0; }
  .features-grid { grid-template-columns: 1fr; }
  .proof-grid, .how-grid { grid-template-columns: 1fr; }
  .panel-inner { padding-block: 96px; }
  .hero .panel-inner { padding-block: 128px 80px; }
  .pricing-row { flex-direction: column; align-items: flex-start; text-align: left; }
  .pricing-main { text-align: left; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-wordmark { display: none; }
  .nav-link[data-i18n="nav.login"] { display: none; }
  .screenshot-carousel { display: none; }
  .phone-slideshow { display: block; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
  .panel-index { right: 18px; bottom: 16px; }
  .pricing-banner { padding: 30px 24px; }
  .hero-cta, .store-row { flex-direction: column; }
  .hero-cta .btn, .store-row .btn, .cta-form .btn, .demo-preview > .btn { width: 100%; }
  .nav-inner { padding: 14px 14px; }
  .nav-actions { gap: 2px; }
  .nav .lang-toggle { padding: 8px 8px; font-size: .82rem; }
  .nav .btn-sm { padding: 9px 13px; font-size: .82rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}
