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

:root {
  --teal:       #1d3c42;
  --teal-mid:   #264d55;
  --teal-light: #2f6270;
  --orange:     #e84f1c;
  --orange-h:   #d0430f;
  --gray-bg:    #f2f2ef;
  --white:      #ffffff;
  --text:       #1a2e32;
  --text-mid:   #4a5d62;
  --font:       'Nunito', -apple-system, sans-serif;
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  18px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }


/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
nav {
  background: var(--teal);
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.nav-wordmark {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .01em;
  pointer-events: none;
}

.nav-right a {
  color: rgba(255,255,255,.8);
  font-size: .88rem;
  font-weight: 600;
  transition: color .18s;
}
.nav-right a:hover { color: #fff; }


/* ══════════════════════════════════════════
   SHARED COMPONENTS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-weight: 800;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: background .18s, transform .15s, box-shadow .15s;
  letter-spacing: .01em;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,79,28,.35);
}
.btn-orange:hover {
  background: var(--orange-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,79,28,.45);
}
.btn-orange::after { content: ' →'; }


/* Phone mockup */
.phone {
  width: 210px;
  background: #fff;
  border-radius: 34px;
  border: 2.5px solid #1a2e32;
  box-shadow: 0 24px 64px rgba(0,0,0,.22), 0 6px 16px rgba(0,0,0,.1);
  overflow: hidden;
  flex-shrink: 0;
}

.phone-notch {
  width: 72px;
  height: 16px;
  background: #1a2e32;
  border-radius: 0 0 10px 10px;
  margin: 0 auto;
}

.phone-screen {
  background: var(--gray-bg);
  padding: .9rem;
  min-height: 360px;
}

.phone-bar {
  background: var(--teal);
  color: #fff;
  text-align: center;
  font-size: .6rem;
  font-weight: 900;
  padding: .35rem;
  border-radius: 4px;
  margin-bottom: .65rem;
  letter-spacing: .03em;
}

.phone-caption {
  font-size: .58rem;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: .35rem;
  line-height: 1.4;
}

.phone-ingredient {
  font-size: 1.15rem;
  font-weight: 900;
  text-align: center;
  color: var(--text);
  margin: .4rem 0 .7rem;
}

.phone-btns {
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin-bottom: .35rem;
}

.phone-btn {
  padding: .28rem .8rem;
  border-radius: 5px;
  font-size: .63rem;
  font-weight: 800;
  border: 1.5px solid var(--teal);
  color: var(--teal);
  background: #fff;
}
.phone-btn.yes { background: var(--teal); color: #fff; }

.phone-undo {
  text-align: center;
  font-size: .54rem;
  color: var(--text-mid);
  margin-bottom: .55rem;
}

.phone-progress {
  text-align: center;
  font-size: .5rem;
  color: var(--text-mid);
  margin-bottom: .45rem;
}

.phone-find {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: .45rem;
  width: 100%;
  font-size: .63rem;
  font-weight: 900;
  text-align: center;
  letter-spacing: .02em;
}

.phone-result-list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: .4rem;
}

.phone-result {
  background: #fff;
  border-radius: 5px;
  padding: .42rem .55rem;
  font-size: .58rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .35rem;
}
.phone-result:nth-child(3) { opacity: .5; }
.phone-result:nth-child(4) { opacity: .3; }

.phone-result-icon { font-size: .85rem; }


/* App Store badge */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  background: #000;
  color: #fff;
  border-radius: 11px;
  padding: .55rem 1.15rem;
  text-decoration: none;
  transition: transform .15s, opacity .15s;
  min-width: 148px;
}
.appstore-badge:hover { transform: translateY(-1px); opacity: .92; }

.appstore-apple {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.appstore-text { display: flex; flex-direction: column; }
.appstore-small { font-size: .5rem; letter-spacing: .06em; opacity: .85; }
.appstore-big { font-size: 1.05rem; font-weight: 700; line-height: 1.2; letter-spacing: .01em; }


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: var(--gray-bg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 5.5rem 7rem;
  min-height: 540px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
}

.hero-badge-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}

.hero-badge-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text);
}

.hero-headline {
  font-size: 2.65rem;
  font-weight: 900;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: 1.65rem;
  letter-spacing: -.02em;
}

.hero-contact {
  margin-top: .85rem;
  font-size: .8rem;
  color: var(--text-mid);
}
.hero-contact a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Right side of hero: phone + decorative tiles */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1rem;
}

.hero-deco {
  display: grid;
  grid-template-columns: repeat(2, 56px);
  grid-template-rows: repeat(4, 56px);
  gap: 6px;
  position: absolute;
  right: -4px;
  top: 0;
}

.deco-tile {
  border-radius: 7px;
  overflow: hidden;
}

/* food-photo CSS gradients */
.deco-tile.f1 { background: linear-gradient(135deg, #5a8c60 0%, #2e5a35 100%); }
.deco-tile.f2 { background: linear-gradient(135deg, #c46030 0%, #8a3418 100%); }
.deco-tile.f3 { background: linear-gradient(135deg, #c4a030 0%, #8a6018 100%); }
.deco-tile.f4 { background: linear-gradient(135deg, #d46840 0%, #a03820 100%); }
.deco-tile.f5 { background: linear-gradient(135deg, #7aaa78 0%, #3e6440 100%); }
.deco-tile.f6 { background: linear-gradient(135deg, #c44040 0%, #7a2020 100%); }
.deco-tile.f7 { background: linear-gradient(135deg, #a07840 0%, #6a4818 100%); }
.deco-tile.f8 { background: linear-gradient(135deg, #d07040 0%, #8a3c18 100%); }

/* scribble note */
.hero-scribble {
  position: absolute;
  top: -18px;
  right: 26px;
  font-size: .72rem;
  color: var(--teal);
  font-weight: 800;
  font-style: italic;
  transform: rotate(-4deg);
  line-height: 1.3;
  text-align: center;
  max-width: 110px;
  pointer-events: none;
}


/* ══════════════════════════════════════════
   STOP ASKING
══════════════════════════════════════════ */
.stop-asking {
  background: var(--teal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 5.5rem 7rem;
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.food-tile {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
}

/* food photo tiles */
.food-tile.p1  { background: linear-gradient(135deg, #5a8c60 0%, #2e5a35 100%); }
.food-tile.p2  { background: linear-gradient(135deg, #c46030 0%, #8a3418 100%); }
.food-tile.p4  { background: linear-gradient(135deg, #c4a030 0%, #8a6018 100%); }
.food-tile.p5  { background: linear-gradient(135deg, #7aaa78 0%, #3e6440 100%); }
.food-tile.p7  { background: linear-gradient(135deg, #c44040 0%, #7a2020 100%); }
.food-tile.p9  { background: linear-gradient(135deg, #d07040 0%, #8a3c18 100%); }
.food-tile.p11 { background: linear-gradient(135deg, #a07840 0%, #6a4818 100%); }
.food-tile.p12 { background: linear-gradient(135deg, #588c9c 0%, #2e4c58 100%); }
.food-tile.p13 { background: linear-gradient(135deg, #d46840 0%, #a03820 100%); }
.food-tile.p15 { background: linear-gradient(135deg, #7aaa78 0%, #3e6440 100%); }
.food-tile.p16 { background: linear-gradient(135deg, #c46030 0%, #7a3010 100%); }

/* question mark tiles */
.food-tile.q {
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.stop-headline {
  color: #fff;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.1;
  margin-top: 1.35rem;
  letter-spacing: -.02em;
}

.stop-right p.pre {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  margin-bottom: .9rem;
}

.stop-right h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}

.stop-right p.post {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  margin-top: .9rem;
  line-height: 1.55;
}


/* ══════════════════════════════════════════
   HOW IT WORKS
══════════════════════════════════════════ */
.how-it-works {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 5rem;
  padding: 5.5rem 7rem;
}

.hiw-left h2 {
  font-size: 1.9rem;
  font-weight: 900;
  margin-bottom: 2.2rem;
  color: var(--text);
  letter-spacing: -.02em;
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: var(--teal);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: .02em;
}
.step-num.dim { background: #dde4e6; color: #8a9ea4; }

.step-body h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.step-body.dim h3 { color: #94a8ae; }

.smarter {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid #e4ecee;
}

.smarter-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smarter h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .25rem;
}
.smarter h3 span { color: var(--orange); }
.smarter p { font-size: .85rem; color: var(--text-mid); line-height: 1.55; }

.hiw-right {
  display: flex;
  justify-content: center;
  padding-top: .5rem;
}


/* ══════════════════════════════════════════
   ALL THE RECIPEAS
══════════════════════════════════════════ */
.all-recipeas {
  background: var(--teal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 5.5rem 7rem;
}

.ar-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  text-align: center;
}

.ar-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ar-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.heart {
  position: absolute;
  color: var(--orange);
  font-size: 1.15rem;
  animation: floatHeart 3s ease-in-out infinite;
}
.heart:nth-child(1) { top: -12px; left:  12px; animation-delay: 0s; }
.heart:nth-child(2) { top:   4px; right: -14px; animation-delay: .55s; }
.heart:nth-child(3) { bottom: -10px; left: 18px; animation-delay: 1.1s; }
.heart:nth-child(4) { bottom:   2px; right: -10px; animation-delay: 1.65s; }

@keyframes floatHeart {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-7px) scale(1.1); }
}

.ar-left p {
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  line-height: 1.65;
  max-width: 280px;
}

.ar-right { text-align: center; }

.ar-right h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
}

.ar-divider {
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,.3);
  margin: 1rem auto;
}

.ar-right h3 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: .75rem;
  font-style: italic;
}

.ar-right p {
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--gray-bg);
  padding: 2.25rem 7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 3px 10px rgba(0,0,0,.15);
  flex-shrink: 0;
}

.footer-text h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: .1rem;
}
.footer-text p {
  font-size: .8rem;
  color: var(--text-mid);
  max-width: 260px;
  line-height: 1.45;
}


/* ══════════════════════════════════════════
   RECIPES PAGE
══════════════════════════════════════════ */
.recipes-hero {
  background: var(--white);
  padding: 2.75rem 7rem;
  border-bottom: 1px solid #e0eaec;
}

.recipes-hero h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.02em;
}

.recipes-body {
  background: var(--gray-bg);
  padding: 3rem 7rem 5rem;
}

.recipes-section { margin-bottom: 3rem; }

.section-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.section-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.section-header hr {
  flex: 1;
  border: none;
  border-top: 1px solid #c8d8dc;
}

/* featured card */
.featured-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  max-width: 500px;
  box-shadow: 0 2px 10px rgba(0,0,0,.07);
  transition: box-shadow .2s, transform .15s;
  color: var(--text);
}
.featured-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.featured-card .f-icon { font-size: 2.75rem; flex-shrink: 0; }
.featured-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .25rem; }
.featured-card p { font-size: .83rem; color: var(--text-mid); line-height: 1.45; }

/* recipe grid */
.recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: .85rem;
}

.recipe-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: var(--white);
  border-radius: 9px;
  padding: .9rem 1.1rem;
  font-size: .87rem;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow .18s, transform .15s;
}
.recipe-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,.1);
  transform: translateY(-2px);
}
.recipe-card .r-icon { font-size: 1.35rem; flex-shrink: 0; }


/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero,
  .stop-asking,
  .how-it-works,
  .all-recipeas {
    grid-template-columns: 1fr;
    padding: 3.5rem 2rem;
    gap: 2.5rem;
  }

  .hero-visual,
  .hiw-right { display: none; }

  .hero-headline  { font-size: 2rem; }
  .stop-headline  { font-size: 1.85rem; }
  .ar-right h2    { font-size: 1.8rem; }

  nav .nav-center { display: none; }

  footer { padding: 2rem; flex-direction: column; align-items: flex-start; }

  .recipes-hero,
  .recipes-body { padding: 2rem; }
}
