:root {
  --cream: #fbf4e8;
  --cream-2: #fff9f0;
  --red: #b5262f;
  --terracotta: #c8643d;
  --gold: #d8a94a;
  --ink: #211917;
  --muted: #766a62;
  --line: #eadfce;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(56, 31, 22, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 5vw;
  background: rgba(251, 244, 232, 0.93);
  border-bottom: 1px solid rgba(234, 223, 206, 0.85);
  backdrop-filter: blur(14px);
}
.brand {
  color: var(--red);
  font-weight: 900;
  font-size: 1.28rem;
  letter-spacing: 0;
}
.main-nav {
  position: fixed;
  inset: 62px 16px auto 16px;
  display: none;
  flex-direction: column;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.main-nav.is-open { display: flex; }
.main-nav a { padding: 10px 8px; color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.main-nav a:hover { color: var(--red); }
.nav-cta {
  text-align: center;
  color: var(--white) !important;
  background: var(--red);
  border-radius: 999px;
  padding: 10px 16px !important;
}
.nav-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  gap: 4px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); }

.hero {
  display: grid;
  gap: 28px;
  min-height: calc(100vh - 68px);
  padding: 52px 5vw 34px;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(251,244,232,0.96) 0%, rgba(251,244,232,0.72) 58%, rgba(181,38,47,0.08) 100%),
    url("https://images.unsplash.com/photo-1533777324565-a040eb52fac1?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero h1, .page-hero h1, .pitch-hero h1 {
  margin: 0;
  max-width: 920px;
  font-size: clamp(2.4rem, 9vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}
.hero p, .page-hero p, .pitch-hero p { max-width: 720px; color: #4e4038; font-size: 1.08rem; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--terracotta);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: var(--white); background: var(--red); box-shadow: 0 12px 26px rgba(181, 38, 47, 0.22); }
.btn.secondary { color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.btn.small { width: 100%; min-height: 40px; color: var(--red); background: #fff2e3; }
.btn.full, .full { width: 100%; }
.hero-panel { display: grid; gap: 14px; }
.cook-feature, .search-card, .form-card, .profile-side, .thanks-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.cook-feature { overflow: hidden; }
.cook-feature img { height: 220px; }
.cook-feature div { padding: 18px; }
.cook-feature strong { display: block; font-size: 1.2rem; }
.cook-feature span { color: var(--muted); }
.search-card, .form-card {
  display: grid;
  gap: 14px;
  padding: 18px;
}
label { display: grid; gap: 7px; color: var(--ink); font-weight: 800; font-size: 0.93rem; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream-2);
  color: var(--ink);
  padding: 13px 14px;
  font: inherit;
}
textarea { resize: vertical; }

.section, .pitch-section {
  padding: 64px 5vw;
}
.section.alt { background: var(--cream-2); }
.section-head { margin-bottom: 24px; }
.section-head h2, .impact h2, .investor-cta h2, .pitch-section h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}
.section-head.row { display: flex; justify-content: space-between; align-items: end; gap: 18px; }
.text-link { color: var(--red); font-weight: 900; }
.steps, .feature-grid, .category-grid, .cook-grid, .stats-grid, .pitch-grid, .market-grid, .roadmap, .dish-grid {
  display: grid;
  gap: 16px;
}
.steps article, .feature-grid article, .pitch-grid article, .market-grid article, .roadmap article, .dish-grid article {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.steps span, .roadmap span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  color: var(--white);
  background: var(--terracotta);
  border-radius: 50%;
  font-weight: 900;
}
h2, h3, p { overflow-wrap: anywhere; }
h3 { margin: 0 0 6px; }
.feature-grid p, .steps p, .cook-card p { margin: 0; color: var(--muted); }
.category-grid article, .cook-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(56, 31, 22, 0.08);
}
.category-grid img { height: 170px; }
.category-grid h3 { padding: 16px; }
.cook-card img { height: 230px; }
.card-body { display: grid; gap: 9px; padding: 16px; }
.badge {
  width: max-content;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--red);
  background: #ffe6df;
  font-weight: 900;
  font-size: 0.78rem;
}
.badge.gold { color: #7a560d; background: #fff0c8; }
.badge.dark { color: var(--white); background: var(--ink); }
.meta, .profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}
.meta span, .profile-meta span { color: var(--terracotta); font-weight: 900; }
.type { color: var(--terracotta) !important; font-weight: 800; }

.impact, .investor-cta {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 64px 5vw;
  color: var(--white);
  background: linear-gradient(135deg, var(--ink), #53221c 68%, var(--red));
}
.impact p, .investor-cta p { max-width: 720px; color: #f6e8d2; }
.stats-grid article {
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
}
.stats-grid strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}
.stats-grid span { color: #f6e8d2; font-weight: 800; }
.investor-cta.final { margin: 0 5vw 60px; border-radius: 8px; }

.site-footer {
  display: grid;
  gap: 20px;
  padding: 34px 5vw;
  background: var(--ink);
  color: var(--white);
}
.site-footer p { color: #d8c7b4; margin: 8px 0 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px; color: #f6e8d2; }

.page-hero, .pitch-hero {
  padding: 58px 5vw;
  background: linear-gradient(135deg, var(--cream), #fff2dd 60%, #f8d6c0);
}
.page-hero.compact { min-height: 320px; display: grid; align-content: center; }
.filter-bar {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.filter-note { color: var(--muted); font-weight: 800; }
.profile-hero {
  display: grid;
  gap: 24px;
  padding: 44px 5vw;
  background: var(--cream-2);
}
.profile-hero img { min-height: 320px; border-radius: 8px; box-shadow: var(--shadow); }
.profile-hero h1 { margin: 8px 0 0; font-size: clamp(2.2rem, 7vw, 4.8rem); line-height: 1; }
.lead { color: var(--terracotta); font-weight: 900; }
.profile-layout { display: grid; gap: 20px; }
.profile-main { display: grid; gap: 16px; }
.content-block {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.content-block h2, .profile-side h2 { margin: 0 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--red);
  background: #fff0e8;
  font-weight: 900;
}
.clean-list { margin: 0; padding-left: 20px; }
.gallery { display: grid; gap: 12px; }
.gallery img { height: 190px; border-radius: 8px; }
.reviews { display: grid; gap: 12px; }
blockquote {
  margin: 0;
  padding: 18px;
  border-left: 4px solid var(--terracotta);
  background: var(--cream-2);
  border-radius: 0 8px 8px 0;
}
.profile-side { height: max-content; padding: 22px; position: sticky; top: 86px; }

.form-section {
  padding: 34px 5vw 70px;
}
.form-card { max-width: 920px; margin: 0 auto; }
.file-visual span {
  display: block;
  padding: 24px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--terracotta);
  border-radius: 8px;
  background: var(--cream-2);
}
.file-visual input { display: none; }
.verification-result {
  max-width: 920px;
  margin: 18px auto 0;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--terracotta));
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.score { display: block; font-size: 3rem; font-weight: 900; line-height: 1; }
.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 18px;
  padding: 5vw;
  background: linear-gradient(135deg, var(--cream), #f4d5c2);
}
.thanks-card { max-width: 680px; padding: 34px; text-align: center; }

.pitch-hero {
  min-height: 480px;
  display: grid;
  align-content: center;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(33,25,23,0.92), rgba(181,38,47,0.74)),
    url("https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.pitch-hero p { color: #f6e8d2; }
.pitch-section.solution {
  color: var(--white);
  background: var(--red);
}
.pitch-section.solution p { max-width: 920px; font-size: 1.35rem; }
.pitch-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}
.pitch-list li {
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}
.tight article { font-weight: 800; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 720px) {
  .search-card, .form-card { grid-template-columns: repeat(2, 1fr); }
  .wide { grid-column: 1 / -1; }
  .steps, .feature-grid, .category-grid, .cook-grid.large, .stats-grid, .pitch-grid, .market-grid { grid-template-columns: repeat(2, 1fr); }
  .cook-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .dish-grid { grid-template-columns: repeat(3, 1fr); }
  .filter-bar { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .main-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .main-nav a { padding: 8px 6px; }
  .hero, .profile-hero, .impact, .investor-cta { grid-template-columns: 1.05fr 0.95fr; }
  .hero { padding-top: 40px; }
  .cook-feature img { height: 310px; }
  .steps, .cook-grid, .roadmap { grid-template-columns: repeat(4, 1fr); }
  .feature-grid, .category-grid, .market-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-layout { grid-template-columns: minmax(0, 1fr) 340px; }
  .site-footer { grid-template-columns: 1fr auto; align-items: center; }
}

@media (max-width: 420px) {
  .hero-actions .btn { width: 100%; }
  .section-head.row { display: block; }
  .hero h1, .page-hero h1, .pitch-hero h1 { font-size: 2.35rem; }
}
