/* ════════════════════════════════════════════════════════════════════
   PantryPal — landing page styles
   Aesthetic: warm editorial cookbook · porcelain + sage + peach
   Type:  Fraunces (display, variable opsz/SOFT) + Plus Jakarta Sans
   ════════════════════════════════════════════════════════════════════ */

:root {
  /* ── palette ── */
  --porcelain:      #F6F4EF;
  --porcelain-warm: #EFE9DE;
  --cream:          #FAF6EE;
  --surface:        #FFFFFF;

  --sage:        #6F8F78;
  --sage-deep:   #4F6E58;
  --sage-soft:   #DDE4DC;
  --sage-tint:   rgba(111, 143, 120, 0.10);

  --peach:       #F2B6A0;
  --peach-deep:  #E18B6E;
  --terracotta:  #C9684A;

  --ink:        #0F172A;
  --ink-soft:   #2A2F3A;
  --muted:      #6B7280;
  --hairline:   rgba(15, 23, 42, 0.08);
  --hairline-2: rgba(15, 23, 42, 0.14);

  /* ── type ── */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* ── motion ── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  /* ── layout ── */
  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
}

/* ─────────────────────────  RESET  ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
em { font-style: italic; }
mark { background: var(--peach); color: var(--ink); padding: 0 .15em; border-radius: 3px; }

/* ─── grain overlay ─── */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06  0 0 0 0 0.09  0 0 0 0 0.16  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ═════════════════════════  TYPOGRAPHY  ═════════════════════════ */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage-deep);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.section-sub {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 52ch;
  margin-top: 1rem;
  line-height: 1.55;
}
.lede {
  font-size: 1.1875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-weight: 500;
}
.eyebrow__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 4px var(--sage-tint);
}
.eyebrow--light { color: rgba(246, 244, 239, 0.72); }
.eyebrow--light .eyebrow__dot { background: var(--peach); box-shadow: 0 0 0 4px rgba(242,182,160,.18);}

.section-head {
  margin: 0 0 4rem;
  max-width: 720px;
}
.section-head--center {
  margin-left: auto; margin-right: auto;
  text-align: center;
}
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .section-sub { margin-left: auto; margin-right: auto; }

/* ═════════════════════════════  NAV  ═════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem var(--gutter);
  background: color-mix(in oklab, var(--porcelain) 78%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, padding .3s ease;
}
.nav.is-scrolled { border-bottom-color: var(--hairline); padding-top: .75rem; padding-bottom: .75rem; }
.nav__brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 24, "SOFT" 80;
}
.logo-mark { width: 32px; height: 32px; display: inline-block; }
.logo-mark svg { width: 100%; height: 100%; }
.nav__wordmark {
  display: inline-block;
}
.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: .9375rem;
  color: var(--ink-soft);
  position: relative;
  padding: .35rem 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--sage);
  transition: right .3s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { right: 0; }
.nav__cta { display: flex; }
.nav__burger {
  display: none;
  background: none; border: 0; padding: 0;
  width: 32px; height: 32px;
  position: relative;
}
.nav__burger span {
  position: absolute; left: 6px; right: 6px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav__burger span:nth-child(1) { top: 10px; }
.nav__burger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav__burger span:nth-child(3) { bottom: 10px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═════════════════════════════  BUTTONS  ═════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background .25s, color .25s, border-color .25s, box-shadow .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--ink);
  color: var(--porcelain);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 10px 30px -10px rgba(15,23,42,.4);
}
.btn--primary:hover { background: var(--sage-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-2);
}
.btn--ghost:hover { background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.btn--quiet {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: var(--hairline-2);
  padding: .85rem .5rem;
}
.btn--quiet:hover { text-decoration-color: var(--ink); }
.btn--block { width: 100%; }

/* ═════════════════════════════  REVEAL  ═════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ═════════════════════════════  HERO  ═════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter) clamp(2rem, 4vw, 4rem);
  max-width: var(--maxw);
  margin: 0 auto;
  overflow: clip;
}
.hero::before {
  /* big soft sage blob behind everything */
  content: "";
  position: absolute;
  right: -8%;
  top: 8%;
  width: 60%;
  height: 60%;
  background: radial-gradient(closest-side, var(--sage-tint), transparent 70%);
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 1.75rem;
}
.hero__title > span { display: block; }
.hero__italic em {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
  font-variation-settings: "opsz" 144, "SOFT" 100;
  position: relative;
}
.hero__italic em::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 8%;
  height: 7%;
  background: var(--peach);
  opacity: .55;
  z-index: -1;
  transform: skewY(-1deg);
}
.hero__lede {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 50ch;
  margin: 0 0 2rem;
}
.hero__cta {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .75rem 1rem;
  margin-bottom: 3rem;
}
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 0 2.25rem;
  font-size: .875rem;
  color: var(--muted);
}
.hero__proof li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.9;
}
.hero__proof li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--sage);
  border-radius: 50%;
}
.hero__proof strong {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 24;
}

/* decorative herb sprig + tomato */
.hero__sprig {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 120px; height: 120px;
}
.hero__sprig--1 {
  top: 6%;
  right: 38%;
  width: 90px; height: 90px;
  animation: float 9s ease-in-out infinite;
  opacity: .85;
}
.hero__sprig--2 {
  bottom: 16%;
  left: -2%;
  width: 70px; height: 70px;
  animation: float 11s ease-in-out infinite reverse;
  opacity: .9;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}

/* ─── phone mockup ─── */
.hero__device {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 28vw, 380px);
  z-index: 1;
}
.device {
  position: relative;
  aspect-ratio: 9 / 19;
  background: var(--ink);
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 50px 80px -30px rgba(15, 23, 42, 0.35),
    0 20px 30px -20px rgba(15, 23, 42, 0.25),
    inset 0 0 0 1px rgba(255,255,255,.04);
  transform: rotate(2.2deg);
  transition: transform .8s var(--ease-out);
}
.device:hover { transform: rotate(0deg) translateY(-6px); }
.device__notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 95px; height: 26px;
  background: var(--ink);
  border-radius: 999px;
  z-index: 3;
}
.device__screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--porcelain);
  border-radius: 36px;
  overflow: hidden;
  padding: 36px 18px 20px;
  font-size: 11px;
  display: flex; flex-direction: column;
}
.device__statusbar {
  display: flex; justify-content: space-between;
  font-family: var(--font-body); font-weight: 600;
  color: var(--ink);
  font-size: 11px;
  margin-bottom: 14px;
}
.device__statusicons { letter-spacing: 0.05em; font-size: 8px; }
.device__header {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted);
  margin-bottom: 14px;
}
.device__back { font-size: 18px; color: var(--ink); }
.device__title { font-weight: 600; color: var(--ink); }
.device__save { color: var(--terracotta); font-size: 16px; }
.device__recipe {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 60;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.device__meta {
  font-size: 10px;
  color: var(--muted);
  display: flex; gap: 6px;
  margin-bottom: 10px;
}
.device__tags {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 12px;
}
.device-tag {
  font-size: 9px;
  background: var(--sage-soft);
  color: var(--sage-deep);
  padding: 3px 7px;
  border-radius: 999px;
  font-weight: 600;
}
.device__section-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  margin-top: 6px;
}
.device__list {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.device__list li { display: flex; align-items: center; gap: 6px; }
.device__bullet { width: 4px; height: 4px; background: var(--sage); border-radius: 50%; flex: none; }
.device__step {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-soft);
  background: var(--surface);
  border-radius: 12px;
  padding: 9px 10px;
  margin-bottom: 14px;
}
.device__nav {
  display: flex; justify-content: center; gap: 6px;
  margin-top: auto;
}
.device-tab {
  font-size: 6px;
  color: var(--hairline-2);
}
.device-tab--active { color: var(--terracotta); }

/* floating chips around phone */
.hero__chip {
  position: absolute;
  background: var(--surface);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 500;
  padding: .55rem 1rem .55rem .8rem;
  display: inline-flex; align-items: center; gap: .45rem;
  box-shadow: 0 12px 30px -12px rgba(15,23,42,.18), 0 0 0 1px var(--hairline);
  color: var(--ink-soft);
  white-space: nowrap;
}
.hero__chip svg { width: 16px; height: 16px; color: var(--sage); }
.hero__chip--1 {
  top: 8%;
  left: -8%;
  animation: float 8s ease-in-out infinite;
}
.hero__chip--2 {
  bottom: 12%;
  right: -10%;
  animation: float 10s ease-in-out infinite -3s;
}

/* ─── marquee strip ─── */
.hero__strip {
  margin-top: 3rem;
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--porcelain);
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.25rem 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 36, "SOFT" 100;
  font-style: italic;
  font-weight: 350;
  font-size: 1.5rem;
  color: var(--ink);
  animation: scroll 48s linear infinite;
}
.marquee__track span:nth-child(even) {
  color: var(--terracotta);
  font-style: normal;
  font-size: 1rem;
  font-family: var(--font-mono);
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ═════════════════════════════  HOW  ═════════════════════════════ */
.how {
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.step__num {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .12em;
  color: var(--sage);
  margin-bottom: 1.5rem;
}
.step__num span::before { content: ""; display: inline-block; vertical-align: middle; width: 36px; height: 1px; background: var(--sage); margin-right: .65rem; }
.step__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 60;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.step__body {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.step__visual {
  background: var(--porcelain);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--hairline);
}
.chip-cluster {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.chip {
  font-size: .8125rem;
  background: var(--surface);
  padding: .375rem .75rem;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
}
.chip--add {
  background: var(--sage);
  color: var(--surface);
  border-color: var(--sage);
  font-weight: 700;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0;
}
.rule-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .9375rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--hairline);
}
.rule-row:last-child { border-bottom: 0; padding-bottom: 0; }
.rule-row span { color: var(--muted); font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .04em; }
.rule-row b { font-weight: 600; color: var(--ink); }

.step__visual--card { background: var(--cream); }
.mini-recipe__name {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.02em;
  margin-bottom: .25rem;
}
.mini-recipe__meta { font-size: .8125rem; color: var(--muted); margin-bottom: .9rem; }
.mini-recipe__bar {
  width: 100%; height: 6px;
  background: var(--sage-soft);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: .5rem;
}
.mini-recipe__bar span {
  display: block; height: 100%;
  background: var(--sage);
  border-radius: 999px;
  transform-origin: left;
  animation: barFill 2s var(--ease-out) both;
}
@keyframes barFill { from { transform: scaleX(0); } }
.mini-recipe__caption {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--sage-deep);
  letter-spacing: .03em;
}

/* ═════════════════════════════  FEATURE TWO-UP  ═════════════════════════════ */
.feature {
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.feature__copy .section-title { margin-bottom: 1.5rem; }
.feature--alt .feature__copy { order: 1; }
.feature--alt .feature__art { order: 2; }

.check-list {
  margin-top: 1.5rem;
  display: grid;
  gap: .85rem;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--sage);
  border-radius: 50%;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.5l3 3 5-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/cover no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'><path d='M5 9.5l3 3 5-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/cover no-repeat;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 18px; height: 18px;
  border: 1px solid var(--sage);
  border-radius: 50%;
}

.prompt-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--hairline);
  box-shadow: 0 20px 50px -25px rgba(15,23,42,.15);
  position: relative;
}
.prompt-card::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: radial-gradient(closest-side, var(--sage-tint), transparent 70%);
  z-index: -1;
  border-radius: var(--radius-lg);
}
.prompt-card__label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .65rem;
}
.prompt-card__text {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 400;
  font-variation-settings: "opsz" 60, "SOFT" 60;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.prompt-card__divider {
  display: flex; align-items: center; justify-content: center;
  margin: 1.5rem 0 1rem;
  position: relative;
}
.prompt-card__divider::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 1px; background: var(--hairline);
}
.prompt-card__divider span {
  position: relative;
  width: 36px; height: 36px;
  background: var(--ink);
  color: var(--porcelain);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}
.prompt-card__answer {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.prompt-card__answer strong {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.125rem;
  display: block;
  margin-bottom: .35rem;
}

/* ═════════════════════════════  BENTO  ═════════════════════════════ */
.bento {
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.bento__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}
.bento__card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.bento__card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(15,23,42,.2); }
.bento__card--lg { grid-column: span 3; }
.bento__card--accent {
  background: var(--ink);
  color: var(--porcelain);
  grid-column: span 3;
  border-color: var(--ink);
}
.bento__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.bento__icon svg { width: 22px; height: 22px; }
.bento__icon--light { background: rgba(242, 182, 160, 0.18); color: var(--peach); }
.bento__card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-variation-settings: "opsz" 60, "SOFT" 60;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: .5rem;
}
.bento__card p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.55;
}
.bento__card--accent p { color: rgba(246,244,239,.7); }
.bento__pill {
  display: inline-block;
  margin-top: 1.5rem;
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--porcelain);
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--ink-soft);
  border: 1px solid var(--hairline);
}

/* ═════════════════════════  RECIPE SHOWCASE  ═════════════════════════ */
.showcase {
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.showcase__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.recipe-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-out);
}
.recipe-card:hover { transform: translateY(-6px); }
.recipe-card__badge {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  padding: .35rem .65rem;
  background: var(--ink);
  color: var(--porcelain);
  border-radius: 999px;
  z-index: 2;
}
.recipe-card__art {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.recipe-card__art--1 { background: var(--cream); }
.recipe-card__art--2 { background: var(--sage-soft); }
.recipe-card__art--3 { background: var(--porcelain-warm); }
.recipe-card__art--4 { background: #F4DDD0; }
.recipe-card__art svg { width: 76%; height: 76%; }
.recipe-card__cuisine {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .65rem;
}
.recipe-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  font-variation-settings: "opsz" 36, "SOFT" 60;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: .75rem;
  color: var(--ink);
}
.recipe-card__why {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  font-style: italic;
}
.recipe-card__tags {
  display: flex; flex-wrap: wrap; gap: .35rem;
  margin-top: auto;
}
.recipe-card__tags li {
  font-size: .75rem;
  font-family: var(--font-mono);
  background: var(--sage-soft);
  color: var(--sage-deep);
  padding: .25rem .55rem;
  border-radius: 999px;
}

/* ═════════════════════════════  PRICING  ═════════════════════════════ */
.pricing {
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column;
  position: relative;
}
.plan--featured {
  background: var(--ink);
  color: var(--porcelain);
  border-color: var(--ink);
  transform: scale(1.02);
  box-shadow: 0 40px 80px -30px rgba(15,23,42,.4);
}
.plan__flag {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: var(--peach);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
}
.plan__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-variation-settings: "opsz" 60;
  letter-spacing: -0.02em;
  margin-bottom: .75rem;
}
.plan__price {
  display: flex; align-items: baseline; gap: .5rem;
  margin-bottom: .75rem;
}
.plan__amount {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan__period { font-size: .9375rem; color: var(--muted); }
.plan--featured .plan__period { color: rgba(246,244,239,.6); }
.plan__pitch {
  font-size: .9375rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
  font-style: italic;
}
.plan--featured .plan__pitch { color: rgba(246,244,239,.7); }
.plan__feat {
  display: grid; gap: .65rem;
  margin: 0 0 2rem;
  font-size: .9375rem;
}
.plan__feat li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink-soft);
  line-height: 1.45;
}
.plan--featured .plan__feat li { color: rgba(246,244,239,.85); }
.plan__feat li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 2px;
  transform: rotate(45deg);
}
.plan--featured .plan__feat li::before { background: var(--peach); }
.plan .btn--quiet { color: var(--ink); margin-top: auto; align-self: stretch; text-align: center; }
.plan--featured .btn--primary {
  background: var(--peach);
  color: var(--ink);
  margin-top: auto;
}
.plan--featured .btn--primary:hover { background: var(--peach-deep); color: var(--ink); }
.pricing__note {
  text-align: center;
  margin-top: 2rem;
  font-size: .8125rem;
  color: var(--muted);
}

/* ═════════════════════════════  TESTIMONIALS  ═════════════════════════════ */
.testimonials {
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.quote {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--hairline);
  margin: 0;
  position: relative;
}
.quote::before {
  content: "“";
  position: absolute;
  top: -.5rem; left: 1rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--terracotta);
  opacity: .35;
}
.quote blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-variation-settings: "opsz" 60, "SOFT" 80;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.quote figcaption {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8125rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .03em;
}
.quote__stars { color: var(--terracotta); letter-spacing: .15em; }

/* ═════════════════════════════  FAQ  ═════════════════════════════ */
.faq {
  padding: clamp(4rem, 8vw, 8rem) var(--gutter);
  max-width: 920px;
  margin: 0 auto;
}
.faq__list { border-top: 1px solid var(--hairline); }
.faq__item { border-bottom: 1px solid var(--hairline); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-variation-settings: "opsz" 60, "SOFT" 60;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--sage-deep); }
.faq__chev {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--porcelain);
  border: 1px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  transition: transform .3s var(--ease-out), background .2s;
  flex: none;
}
.faq__item[open] .faq__chev { transform: rotate(45deg); background: var(--ink); color: var(--porcelain); border-color: var(--ink); }
.faq__item p {
  padding: 0 0 1.5rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 65ch;
}
.faq__item p a { color: var(--sage-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ═════════════════════════════  FINAL CTA  ═════════════════════════════ */
.cta {
  margin: clamp(4rem, 8vw, 8rem) var(--gutter);
  background: var(--ink);
  color: var(--porcelain);
  border-radius: clamp(28px, 4vw, 48px);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background:
    radial-gradient(closest-side, rgba(242,182,160,.25), transparent 70%),
    radial-gradient(closest-side at 40% 60%, rgba(111,143,120,.18), transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.cta::after {
  /* fine grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(246,244,239,.04) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, rgba(246,244,239,.04) 1px, transparent 1px) 0 0/40px 40px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 50%, #000, transparent 75%);
}
.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: clamp(3rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}
.cta__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}
.cta__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--peach);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.cta__sub {
  font-size: 1.125rem;
  color: rgba(246,244,239,.7);
  line-height: 1.55;
  max-width: 50ch;
  margin-bottom: 2.5rem;
}
.cta__stores {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin-bottom: 1.5rem;
}
.store-badge {
  display: inline-flex; align-items: center; gap: .85rem;
  padding: .85rem 1.4rem .85rem 1.15rem;
  background: var(--porcelain);
  color: var(--ink);
  border-radius: 14px;
  transition: transform .25s var(--ease-out), background .2s;
  border: 1px solid var(--porcelain);
}
.store-badge:hover { transform: translateY(-2px); background: var(--surface); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge small { font-size: .6875rem; opacity: .65; }
.store-badge strong { font-size: 1.0625rem; font-weight: 600; }
.cta__small {
  font-size: .8125rem;
  color: rgba(246,244,239,.5);
  font-family: var(--font-mono);
}

/* ═════════════════════════════  FOOTER  ═════════════════════════════ */
.foot {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}
.foot__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--hairline);
}
.foot__brand {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  font-variation-settings: "opsz" 60, "SOFT" 80;
  letter-spacing: -0.015em;
}
.logo-mark--small { width: 28px; height: 28px; }
.foot__tag {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--muted);
  font-variation-settings: "opsz" 60, "SOFT" 100;
}
.foot__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}
.foot__cols a {
  display: block;
  color: var(--ink-soft);
  padding: .35rem 0;
  font-size: .9375rem;
  transition: color .2s ease;
}
.foot__cols a:hover { color: var(--sage-deep); }
.foot__h {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .75rem;
}
.foot__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
  font-size: .8125rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* ═════════════════════════════  RESPONSIVE  ═════════════════════════════ */
@media (max-width: 1100px) {
  .hero__device {
    position: relative;
    right: auto; top: auto; transform: none;
    margin: 3rem auto 0;
    width: 280px;
  }
  .hero__chip { display: none; }
  .hero::before { display: none; }
}
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--porcelain);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem var(--gutter);
    gap: 1.25rem;
    border-bottom: 1px solid var(--hairline);
  }
  .nav.is-open .nav__cta {
    display: flex;
    position: absolute;
    top: 100%;
    right: var(--gutter);
    padding-bottom: 1.5rem;
  }
  .nav__burger { display: block; }

  .how__steps { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .feature--alt .feature__copy { order: 1; }
  .feature--alt .feature__art { order: 2; }

  .bento__grid { grid-template-columns: repeat(2, 1fr); }
  .bento__card, .bento__card--lg, .bento__card--accent { grid-column: span 1; }
  .bento__card--lg { grid-column: span 2; }

  .showcase__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: 1fr; }
  .plan--featured { transform: none; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(2.5rem, 14vw, 4rem); }
  .showcase__grid { grid-template-columns: 1fr; }
  .bento__card--lg { grid-column: span 1; }
  .marquee__track { font-size: 1.125rem; gap: 1.5rem; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__bottom { flex-direction: column; gap: .5rem; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
