/* Generated from the shared CSS layers. Do not edit directly. */

/* tokens.css */
:root {
  --site-ink: #052d40;
  --site-ink-strong: #001f30;
  --site-paper: #fffdf9;
  --site-cream: #f6f2ec;
  --site-blue-soft: #e8f3f7;
  --site-line: #d8d5cf;
  --site-copy: #655f58;
  --site-raspberry: #e72561;
  --site-gold: #d89a2b;
  --site-width: 80rem;
  --site-gutter: clamp(1rem, 4vw, 3rem);
  --site-radius-small: 0.8rem;
  --site-radius: 1.4rem;
  --site-radius-large: 2rem;
  --site-shadow: 0 1rem 2.4rem rgb(0 31 48 / 0.12);
  --site-font-heading: "Fraunces", Georgia, serif;
  --site-font-body: "Manrope", Arial, sans-serif;
}

/* base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 0.18rem solid var(--site-gold);
  outline-offset: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  translate: 0 -200%;
  padding: 0.75rem 1rem;
  border-radius: var(--site-radius-small);
  color: white;
  background: var(--site-ink);
  font: 800 0.9rem/1 var(--site-font-body);
}

.skip-link:focus {
  translate: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* components.css */
.global-header {
  position: relative;
  z-index: 40;
  color: white;
  background: var(--site-ink);
  font-family: var(--site-font-body);
}

.global-header[data-overlay] {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  background: transparent;
}

.global-header__inner,
.global-footer__inner {
  width: min(100% - (2 * var(--site-gutter)), var(--site-width));
  margin-inline: auto;
}

.global-header__inner {
  min-height: 5.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.global-brand {
  flex: 0 1 15rem;
  line-height: 0;
}

.global-brand img {
  width: min(100%, 15rem);
  height: auto;
}

.global-menu {
  margin-inline-start: auto;
}

.global-menu__desktop {
  display: none;
}

.global-menu__summary {
  min-height: 2.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  border: 1px solid rgb(255 255 255 / 0.45);
  border-radius: 999rem;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.global-menu__icon {
  display: grid;
  gap: 0.22rem;
}

.global-menu__icon span {
  width: 1rem;
  height: 0.12rem;
  border-radius: 999rem;
  background: currentColor;
}

.global-menu__label {
  margin-inline-start: 0.45rem;
}

.global-menu__summary::-webkit-details-marker {
  display: none;
}

.global-menu__panel {
  position: absolute;
  inset-block-start: calc(100% - 0.4rem);
  inset-inline: var(--site-gutter);
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem;
  border: 1px solid var(--site-line);
  border-radius: var(--site-radius);
  background: var(--site-paper);
  box-shadow: var(--site-shadow);
}

.global-menu:not([open]) .global-menu__panel {
  display: none;
}

.global-menu__panel a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  color: var(--site-ink);
  font-weight: 800;
  text-decoration: none;
}

.global-menu__panel a:is(:hover, :focus-visible),
.global-menu__panel a[aria-current="page"] {
  background: var(--site-blue-soft);
}

.global-header__cta {
  min-height: 2.8rem;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  border-radius: 999rem;
  color: var(--site-ink);
  background: var(--saffron-light);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.global-header__cta:is(:hover, :focus-visible) {
  background: #f0b34a;
}

.global-footer {
  color: white;
  background: var(--site-ink-strong);
  font-family: var(--site-font-body);
}

.global-footer__inner {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}

.global-footer__brand {
  max-width: 26rem;
}

.global-footer__brand img {
  width: min(100%, 18rem);
  height: auto;
}

.global-footer__brand p,
.global-footer__meta {
  color: rgb(255 255 255 / 0.72);
}

.global-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.global-footer__nav div {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.global-footer__nav h2 {
  margin: 0 0 0.35rem;
  color: white;
  font: 800 0.78rem/1.2 var(--site-font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.global-footer a {
  color: inherit;
}

.global-footer__nav a,
.global-footer__meta a {
  text-underline-offset: 0.22em;
}

.global-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 2rem;
  padding-block-start: 1.4rem;
  border-block-start: 1px solid rgb(255 255 255 / 0.2);
  font-size: 0.86rem;
}

.global-footer__meta p {
  margin: 0;
}

@media (min-width: 64rem) {
  .global-menu {
    display: none;
  }

  .global-menu__desktop {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-inline-start: auto;
  }

  .global-menu__desktop a {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 0.7rem;
    color: white;
    background: transparent;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
  }

  .global-menu__desktop a:is(:hover, :focus-visible),
  .global-menu__desktop a[aria-current="page"] {
    color: white;
    background: rgb(255 255 255 / 0.12);
  }

  .global-footer__inner {
    grid-template-columns: minmax(15rem, 1.2fr) minmax(22rem, 1fr);
  }

  .global-footer__meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 42rem) {
  .global-footer__brand {
    max-width: none;
    text-align: center;
  }

  .global-footer__brand img {
    display: block;
    margin-inline: auto;
  }

  .global-header__inner {
    min-height: 4.8rem;
    gap: 0.6rem;
  }

  .global-brand {
    flex-basis: clamp(8rem, 31vw, 11rem);
  }

  .global-menu__summary {
    width: 2.8rem;
    padding-inline: 0;
  }

  .global-menu__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .global-header__cta {
    padding-inline: 0.8rem;
    font-size: 0.7rem;
  }
}
.beta-links {
  margin-block: 1.25rem;
  color: var(--site-paper);
}

.beta-links__heading {
  margin: 0 0 0.4rem;
  font-weight: 800;
}

.recipe-taster-cta .beta-links__heading {
  color: var(--site-paper);
}

.beta-links__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.beta-links__note {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
}

.beta-links__testflight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid currentColor;
  border-radius: 0.5rem;
  background: var(--site-ink-strong);
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.beta-links__google img {
  display: block;
  width: 11rem;
  height: auto;
}

.beta-links [aria-disabled="true"] {
  cursor: default;
}

/* pages.css */
/* Page-specific presentation continues to come from the existing stylesheet.
   New page rules belong here once a page is deliberately revised. */

.page-shell,
.content-page,
.legal-page,
.recipes-page,
.press-page,
.thank-you-page {
  min-height: auto;
}

body > .global-header + main {
  isolation: isolate;
}

.inner-page {
  padding-block-start: clamp(7rem, 10vw, 9rem);
  background:
    radial-gradient(circle at 76% 54%, rgba(70, 131, 102, 0.78) 0, rgba(40, 89, 67, 0) 32%),
    linear-gradient(128deg, var(--forest-deep) 0%, var(--forest-dark) 52%, var(--forest) 100%);
}

.inner-page__intro {
  padding-block: 5rem 0;
}

.inner-page__intro p:not(.section-kicker) {
  max-width: 45rem;
  color: rgba(250, 248, 243, 0.85);
  line-height: 1.7;
}

.inner-page__title,
.content-page .about-intro h1,
.recipe-search-panel__heading h1 {
  max-width: none;
  margin: 0;
  color: var(--site-ink-strong);
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.feature-detail-grid > .inner-page__title {
  grid-column: 1 / -1;
}

.content-page .inner-page__title,
.content-page .about-intro h1,
.content-page .inner-page .section-heading h2,
.recipe-finder-page .inner-page .recipe-results-heading h2 {
  color: var(--site-paper);
}

.content-page .inner-page .about-copy,
.content-page .inner-page .founder-portrait figcaption,
.content-page .inner-page .section-heading > p:last-child,
.recipe-finder-page .inner-page .recipe-results-heading > p {
  color: rgba(250, 248, 243, 0.85);
}

.content-page .inner-page__intro > .section-kicker,
.content-page .about-copy > .section-kicker,
.content-page .inner-page .section-heading > .section-kicker,
.recipe-finder-page .inner-page .recipe-results-heading .section-kicker {
  color: var(--saffron-light);
}

.inner-page .recipe-search-panel {
  margin-top: 2rem;
}

@media (max-width: 42rem) {
  .recipe-search-panel__heading h1 {
    max-width: 15ch;
    font-family: var(--site-font-heading);
    font-size: clamp(1.65rem, 8vw, 2rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
  }
}

.global-header[data-overlay] + main .hero-grid {
  padding-block-start: clamp(7rem, 12vw, 9rem);
}

.global-header[data-overlay] + main .page-hero__inner,
.global-header[data-overlay] + main .press-hero__inner {
  padding-block-start: clamp(8rem, 14vw, 11rem);
}

.global-header[data-overlay] + main .page-hero__inner {
  padding-block-end: clamp(7rem, 13vw, 11rem);
}

.hero-copy h1 {
  font-size: clamp(2.9rem, 5.2vw, 5.25rem);
  line-height: 0.94;
}

.content-page .page-hero h1,
.recipe-finder-hero h1 {
  font-size: clamp(2.8rem, 5.2vw, 5.25rem);
  line-height: 0.98;
}

.press-hero h1 {
  font-size: clamp(2.5rem, 4.4vw, 4.5rem);
  line-height: 1;
}

.press-hero__visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 40 / 21;
  object-fit: cover;
}

.feature-card__icon {
  width: 2.8rem;
  height: 2.8rem;
  padding: 0.6rem;
  border-radius: 0.9rem;
  background: var(--site-blue-soft);
  fill: none;
  stroke: var(--site-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.content-page .feature-detail-grid h2 {
  margin-block-start: 1rem;
}

.founder-portrait {
  margin: 0;
}

.founder-portrait__image {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgb(17 63 86 / 0.18);
  border-radius: var(--site-radius-large);
}

.founder-portrait figcaption {
  margin-block-start: 0.8rem;
  color: var(--site-copy);
  font: 800 0.78rem/1.4 var(--site-font-body);
}

.content-page .about-copy h1,
.content-page .about-copy h2 {
  margin-block: 0 1.5rem;
}

@media (max-width: 63.999rem) {
  body > .global-header + main.page-shell .hero {
    min-height: auto;
  }
}

/* Feature page */
.feature-sections {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

.feature-sections > .inner-page__title { grid-column: 1 / -1; }

.feature-section {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgb(17 63 86 / 0.12);
  border-radius: var(--site-radius-large);
  background: var(--site-cream);
}

.feature-section--scan, .feature-section--meal { background: var(--site-blue-soft); }
.feature-section--recipes { background: #ffd9e3; }
.feature-section--shopping, .feature-section--household { background: var(--site-paper); }

.feature-section__copy {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.content-page .feature-section h2 {
  margin: 0 0 0.75rem;
  color: var(--forest-deep);
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.feature-section__copy p {
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.6;
}

.feature-section__link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999rem;
  background: var(--site-ink);
  color: var(--site-paper);
  font-weight: 800;
  text-decoration: none;
}
.feature-section__link:hover, .feature-section__link:focus-visible {
  background: var(--site-raspberry);
  color: white;
}

.feature-section__visual {
  display: grid;
  place-items: center;
  padding: 1.25rem;
  min-width: 0;
}
.feature-recipes-collage[hidden] { display: none; }
.feature-recipes-collage:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  align-content: end;
  margin-top: auto;
}
.feature-recipes-collage img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--site-radius);
}

.feature-theme-collage {
  width: 100%;
  margin-top: auto;
}
.feature-theme-collage img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--site-radius);
}

.feature-theme-collage,
.feature-recipes-collage:not([hidden]) {
  position: relative;
}
.feature-theme-collage::after,
.feature-recipes-collage:not([hidden])::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  z-index: 1;
  border-radius: var(--site-radius);
  background: var(--site-ink-strong);
  opacity: 0.3;
  pointer-events: none;
}

.feature-phone {
  width: min(100%, 11rem);
  overflow: hidden;
  border: 0.35rem solid var(--site-ink-strong);
  border-radius: 1.7rem;
  background: var(--site-ink-strong);
  box-shadow: 0 1rem 2rem rgb(0 31 48 / 0.18);
}
.feature-phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

@media (min-width: 53.001rem) {
  .feature-section--inventory { grid-column: 1 / 8; }
  .feature-section--scan { grid-column: 8 / 13; }
  .feature-section--recipes { grid-column: 1 / 8; grid-row: span 1; }
  .feature-section--shopping, .feature-section--meal { grid-column: 8 / 13; }
  .feature-section--household { grid-column: 1 / 8; }
  .feature-section--inventory, .feature-section--household { flex-direction: row; }
  .feature-section--inventory > .feature-section__copy,
  .feature-section--household > .feature-section__copy { flex: 1; min-width: 0; }
  .feature-section--inventory > .feature-section__visual,
  .feature-section--household > .feature-section__visual { flex: 0 0 38%; }
  .feature-section--inventory > .feature-theme-collage,
  .feature-section--household > .feature-theme-collage { align-self: stretch; margin-top: 0; }
  .feature-section--inventory > .feature-theme-collage img,
  .feature-section--household > .feature-theme-collage img { height: 100%; aspect-ratio: auto; }
  .feature-section--scan > .feature-theme-collage,
  .feature-section--shopping > .feature-theme-collage,
  .feature-section--meal > .feature-theme-collage { flex: 1; align-self: stretch; margin-top: 0; }
  .feature-section--scan > .feature-theme-collage img,
  .feature-section--shopping > .feature-theme-collage img,
  .feature-section--meal > .feature-theme-collage img { height: 100%; aspect-ratio: auto; }
}

@media (min-width: 36rem) and (max-width: 53rem) {
  .feature-section { grid-column: span 6; }
  .feature-section--inventory, .feature-section--recipes { grid-column: 1 / -1; }
  .feature-section--shopping { grid-column: 1 / -1; }
  .feature-section--inventory { flex-direction: row; }
  .feature-section--inventory > .feature-section__copy { flex: 1; min-width: 0; }
  .feature-section--inventory > .feature-section__visual { flex: 0 0 38%; }
  .feature-section--inventory > .feature-theme-collage { align-self: stretch; margin-top: 0; }
  .feature-section--inventory > .feature-theme-collage img { height: 100%; aspect-ratio: auto; }
}

@media (max-width: 35.999rem) {
  .feature-section { grid-column: 1 / -1; }
}


/* The CTA overlaps the cream strip between the page and footer. */
.content-page main:has(.cta-band, .recipe-taster-cta, .press-cta) {
  position: relative;
  z-index: 1;
}
.content-page main :is(.cta-band, .recipe-taster-cta, .press-cta) {
  position: relative;
  z-index: 2;
  margin-block: 0 calc(-1 * clamp(1.25rem, 2vw, 2rem));
  top: 2rem;
}
.content-page main:has(.cta-band, .recipe-taster-cta, .press-cta)::after {
  content: "";
  display: block;
  height: clamp(6rem, 8vw, 7rem);
  background: var(--site-cream);
}

@media (min-width: 53.001rem) {
  .feature-section__copy { padding: clamp(1.25rem, 2vw, 1.8rem); }
}

/* Keep recipe photos round and contain scrolling within the open sheet. */
.recipe-result-card__image__fallback,
.recipe-sheet__image-fallback {
  background: var(--site-ink-strong) url('/assets/img/0.75x/REV4Artboard%202ldpi.png') center / min(70%, 14rem) auto no-repeat;
}

.recipe-sheet__frame,
.recipe-sheet__content {
  overscroll-behavior: contain;
}

.recipe-sheet__visual {
  display: grid;
  place-items: center;
}

.recipe-sheet__image-wrap {
  width: min(100%, 18rem);
  height: auto;
  min-height: 0;
  aspect-ratio: 1;
  box-sizing: border-box;
  padding: 0.5rem;
  border: 0.125rem solid #d8d7d3;
  border-radius: 50%;
  background: #fffefa;
  box-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.04);
}

.recipe-sheet__image-wrap img,
.recipe-sheet__image-fallback {
  border-radius: 50%;
}

@media (min-width: 75.001rem) {
  .recipe-sheet__visual {
    padding: 0;
  }

  .recipe-sheet__image-wrap {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .recipe-sheet__image-wrap img,
  .recipe-sheet__image-fallback {
    border-radius: 0;
  }
}

@media (max-width: 75rem) and (min-width: 42.001rem) {
  .recipe-sheet__visual {
    padding: 0;
  }

  .recipe-sheet__image-wrap {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 42rem) {
  .recipe-sheet__frame {
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .recipe-sheet__close {
    position: fixed;
    top: 1.75rem;
    right: 1rem;
  }

  .recipe-sheet__visual {
    height: auto;
    min-height: 0;
    padding: 3.5rem 1rem 1rem;
    background: transparent;
  }

  .recipe-sheet__image-wrap {
    width: min(100%, 13rem);
    height: auto;
  }

  .recipe-sheet__content {
    height: auto;
    overflow: visible;
  }
}
