/* ==========================================================================
   RECEPIA — Landing Page Styles
   Mobile-first. Design tokens live in :root.
   ========================================================================== */

:root {
  /* Brand palette */
  --terracotta-50: #FDF1EC;
  --terracotta-100: #F9E0D6;
  --terracotta-300: #E9967C;
  --terracotta-400: #D9694B;
  --terracotta-500: #B94A32;   /* primary — 5:1 on white */
  --terracotta-600: #9C3B27;
  --terracotta-700: #7E2F1F;

  --cream-50: #FFFCF8;
  --cream-100: #FBF6EF;
  --cream-200: #F4EBDF;
  --cream-300: #E9DCCB;

  --green-50: #F1F6F0;
  --green-100: #E2ECDF;
  --green-400: #7FA07F;
  --green-600: #4E7552;
  --green-700: #3D5E41;

  --charcoal-900: #23211F;
  --charcoal-700: #403C38;
  --charcoal-500: #6B655E;
  --charcoal-300: #A8A097;

  /* Semantic */
  --bg: var(--cream-100);
  --surface: #FFFFFF;
  --text: var(--charcoal-900);
  --text-muted: var(--charcoal-500);
  --primary: var(--terracotta-500);
  --primary-hover: var(--terracotta-600);
  --border: rgba(35, 33, 31, .09);

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(60, 40, 25, .05), 0 2px 8px rgba(60, 40, 25, .04);
  --shadow-md: 0 4px 12px rgba(60, 40, 25, .06), 0 12px 32px rgba(60, 40, 25, .07);
  --shadow-lg: 0 10px 30px rgba(60, 40, 25, .10), 0 30px 60px rgba(60, 40, 25, .10);

  --container: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; color: var(--text); letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--terracotta-300); outline-offset: 3px; border-radius: 6px; }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--charcoal-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typography helpers ---------- */
.h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.6rem); font-weight: 800; }
.h4 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 1.0625rem; color: var(--text-muted); max-width: 62ch; }
.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.kicker--green { color: var(--green-700); }

.section { padding-block: 72px; }
.section--soft { background: var(--cream-50); }
.section--green { background: var(--green-50); }
.section-head { text-align: center; display: grid; justify-items: center; gap: 14px; margin-bottom: 44px; }
.section-head .kicker { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--surface); --_fg: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .975rem; line-height: 1.2;
  background: var(--_bg); color: var(--_fg);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap; text-align: center;
}
.btn .ico { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.btn:hover .ico use[href="#i-arrow"], .btn:hover > .ico:last-child { transform: translateX(3px); }
.btn--primary { --_bg: var(--primary); --_fg: #fff; box-shadow: 0 6px 18px rgba(185, 74, 50, .28); }
.btn--primary:hover { --_bg: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(185, 74, 50, .34); }
.btn--ghost { --_bg: var(--surface); --_fg: var(--text); box-shadow: inset 0 0 0 1.5px var(--cream-300); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--charcoal-900); transform: translateY(-2px); }
.btn--light { --_bg: #fff; --_fg: var(--terracotta-600); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn--outline-light { --_bg: transparent; --_fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65); white-space: normal; }
.btn--outline-light:hover { --_bg: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 1rem; }
.btn--sm { min-height: 42px; padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 700; color: var(--primary); }
.link-arrow .ico { width: 16px; height: 16px; stroke-width: 2.2; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(3px); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 36px; height: 36px; border-radius: 11px; background: var(--primary); color: #fff; display: grid; place-items: center; }
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: .14em; }
.brand--light .brand__name { color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(251, 246, 239, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(60,40,25,.06); background: rgba(255, 252, 248, .92); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__cta { display: none; }
.nav__toggle { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm); }
.nav__toggle .ico { width: 22px; height: 22px; }

.nav__menu {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--cream-50); border-bottom: 1px solid var(--border);
  padding: 12px var(--gutter) 24px; box-shadow: var(--shadow-md);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
.nav__menu ul { display: grid; gap: 2px; margin-bottom: 16px; }
.nav__link { display: block; padding: 12px 4px; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--charcoal-700); border-bottom: 1px solid var(--border); }
.nav__link.is-active { color: var(--primary); }
.nav__cta-mobile { width: 100%; }

@media (min-width: 900px) {
  .nav__toggle, .nav__cta-mobile { display: none; }
  .nav__cta { display: inline-flex; }
  .nav__menu { position: static; background: none; border: 0; padding: 0; box-shadow: none; transform: none; opacity: 1; visibility: visible; transition: none; }
  .nav__menu ul { display: flex; gap: 4px; margin: 0; }
  .nav__link { position: relative; padding: 8px 14px; border: 0; font-size: .95rem; border-radius: 999px; transition: color .2s, background-color .2s; }
  .nav__link:hover { color: var(--text); background: rgba(35,33,31,.05); }
  .nav__link.is-active { color: var(--primary); background: var(--terracotta-50); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 36px 0 64px; overflow: hidden; }
.hero::before { /* soft dotted texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(185,74,50,.12) 1px, transparent 1.2px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px;
  border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--charcoal-700);
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-400); box-shadow: 0 0 0 4px var(--green-100); }
.hero__title { margin: 20px 0 18px; font-size: clamp(2rem, 1.3rem + 3.6vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; }
.hl { color: var(--primary); }
.hero__sub { font-size: 1.0625rem; color: var(--text-muted); max-width: 54ch; }
.hero__ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 28px; font-size: .9rem; color: var(--charcoal-700); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ico { color: var(--green-600); width: 18px; height: 18px; }

.hero__visual { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 1.05; }
.hero__blob { position: absolute; inset: 6% 0 4% 10%; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: var(--terracotta-100); }
.hero__photo {
  position: absolute; inset: 0 4% 10% 16%; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--cream-300);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__book { position: absolute; left: 0; bottom: 2%; width: 40%; }
.hero__deco { position: absolute; right: 0; top: -2%; width: 46px; height: 46px; color: var(--green-400); stroke-width: 1.4; transform: rotate(18deg); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: var(--r-md);
  background: rgba(255,255,255,.96); box-shadow: var(--shadow-md);
  font-size: .8rem; line-height: 1.3; animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: .85rem; }
.float-card small { color: var(--text-muted); font-size: .75rem; }
.float-card--a { top: 8%; left: 2%; }
.float-card--b { right: -2%; bottom: 20%; animation-delay: -3s; }
.float-card__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--terracotta-50); color: var(--primary); }
.float-card__ico--green { background: var(--green-100); color: var(--green-700); }
.float-card__ico .ico { width: 18px; height: 18px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (min-width: 560px) {
  .hero__ctas { flex-direction: row; flex-wrap: wrap; }
}
@media (min-width: 992px) {
  .hero { padding: 56px 0 96px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero__visual { max-width: none; }
}

/* ---------- E-book mockup (reusable) ---------- */
.book { perspective: 1200px; }
.book__cover {
  position: relative; aspect-ratio: 3 / 4; border-radius: 4px 12px 12px 4px; overflow: hidden;
  background: var(--terracotta-400);
  transform: rotateY(-14deg) rotateX(2deg); transform-origin: left center;
  box-shadow: -2px 0 0 rgba(0,0,0,.08) inset, 18px 22px 40px rgba(60,30,15,.28), 4px 4px 10px rgba(60,30,15,.16);
  transition: transform .5s var(--ease);
}
.book__cover::before { /* spine */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.18) 55%, rgba(0,0,0,.05));
}
.book__cover::after { /* page edge */
  content: ""; position: absolute; inset: 3% -1px 3% auto; width: 4px; z-index: 2;
  background: repeating-linear-gradient(180deg, #fff 0 2px, #eee 2px 3px); opacity: .7;
}
.book__cover img { width: 100%; height: 62%; object-fit: cover; }
.book__overlay {
  position: absolute; inset: auto 0 0 0; height: 44%; padding: 10% 10% 9% 14%;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  background: var(--_cover, var(--terracotta-500)); color: #fff;
  border-top-left-radius: 18px 14px;
}
.book__brand { font-family: var(--font-head); font-weight: 800; font-size: clamp(.5rem, 1.1vw, .62rem); letter-spacing: .22em; opacity: .85; }
.book__title { font-family: var(--font-head); font-weight: 800; font-size: clamp(.78rem, 1.8vw, 1.05rem); line-height: 1.15; }
.book__meta { font-size: clamp(.5rem, 1vw, .62rem); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; gap: 48px; align-items: center; }
.problem__visuals { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pv { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream-300); box-shadow: var(--shadow-md); }
.pv--2 { transform: translateY(32px); }
.pv img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pv:hover img { transform: scale(1.04); }
.pv figcaption {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px;
  background: rgba(255,255,255,.94); font-family: var(--font-head); font-weight: 700; font-size: .8rem;
}
.pv figcaption .ico { width: 16px; height: 16px; color: var(--primary); }
.problem__copy .h2 { margin-bottom: 26px; }
.pain-list { display: grid; gap: 12px; margin-bottom: 22px; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-sm); color: var(--charcoal-700); }
.pain-list__q { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-200); color: var(--terracotta-600); font-family: var(--font-head); font-weight: 800; font-size: .9rem; margin-top: 1px; }
.relief { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--green-100); color: var(--green-700); }
.relief strong { color: var(--charcoal-900); display: block; margin-bottom: 2px; font-family: var(--font-head); }
.relief p { color: var(--charcoal-700); }
.relief__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; }
@media (min-width: 992px) {
  .problem__grid { grid-template-columns: .95fr 1.05fr; gap: 72px; }
  .pv--2 { transform: translateY(48px); }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

/* ---------- Feature cards (value prop) ---------- */
.feature {
  padding: 28px 24px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--terracotta-100); }
.feature__ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--terracotta-50); color: var(--primary); margin-bottom: 20px; }
.feature__ico .ico { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: .95rem; }

/* ---------- Product filters & cards ---------- */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 calc(var(--gutter) * -1) 10px; padding-inline: var(--gutter); scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--cream-300); font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--charcoal-700);
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--charcoal-300); }
.chip[aria-selected="true"] { background: var(--charcoal-900); border-color: var(--charcoal-900); color: #fff; }
.chip__count { font-size: .75rem; padding: 1px 7px; border-radius: 999px; background: var(--cream-200); color: var(--charcoal-500); }
.chip[aria-selected="true"] .chip__count { background: rgba(255,255,255,.16); color: #fff; }
@media (min-width: 768px) { .filters { justify-content: center; margin-inline: 0; padding-inline: 2px; } }

.placeholder-note {
  display: flex; gap: 10px; align-items: flex-start; max-width: 760px; margin: 0 auto 28px;
  padding: 12px 16px; border-radius: var(--r-sm); border: 1px dashed var(--terracotta-300);
  background: var(--terracotta-50); font-size: .875rem; color: var(--terracotta-700);
}
.placeholder-note .ico { width: 18px; height: 18px; margin-top: 2px; }

.grid--products { grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 560px) { .grid--products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .grid--products { grid-template-columns: repeat(4, 1fr); gap: 22px; } }

.product {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  animation: fadeUp .45s var(--ease) both;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product:hover .book__cover { transform: rotateY(-6deg) rotateX(1deg) translateY(-4px); }
.product__media { position: relative; display: grid; place-items: center; padding: 34px 20px 26px; background: var(--_tint, var(--cream-200)); }
.product__media .book { width: 54%; max-width: 170px; }
.product__badge {
  position: absolute; top: 14px; left: 14px; z-index: 3; padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .02em;
  background: var(--charcoal-900); color: #fff;
}
.product__badge--best { background: var(--primary); }
.product__badge--green { background: var(--green-600); }
.product__sample { position: absolute; top: 14px; right: 14px; padding: 4px 9px; border-radius: 999px; font-size: .68rem; font-weight: 600; background: rgba(255,255,255,.85); color: var(--charcoal-500); border: 1px dashed var(--charcoal-300); }
.product__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 22px; flex: 1; }
.product__cat { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.product__title { font-size: 1.1rem; font-weight: 700; letter-spacing: -.01em; }
.product__desc { font-size: .9rem; color: var(--text-muted); }
.product__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .8rem; color: var(--charcoal-700); margin-top: 2px; }
.product__meta span { display: inline-flex; align-items: center; gap: 6px; }
.product__meta .ico { width: 15px; height: 15px; color: var(--primary); }
.product__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--cream-300); display: grid; gap: 12px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price__now { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; color: var(--text); letter-spacing: -.02em; }
.price__label { font-size: .75rem; color: var(--text-muted); }
.product__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.product__actions .btn { min-height: 44px; padding: 10px 12px; font-size: .875rem; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); padding: 40px 0; }

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

/* ---------- Why Recepia ---------- */
.why__grid { display: grid; gap: 40px; }
.why__intro .h2 { margin-bottom: 14px; }
.why__photo { margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-100); box-shadow: var(--shadow-md); }
.why__photo img { width: 100%; height: 100%; object-fit: cover; }
.why__list { display: grid; gap: 12px; counter-reset: why; }
.why-item {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 20px 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid rgba(78,117,82,.12);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.why-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.why-item__num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--green-600); line-height: 1; padding-top: 2px; min-width: 34px; }
.why-item h3 { margin-bottom: 4px; }
.why-item p { font-size: .925rem; color: var(--text-muted); }
.why-item__ico { display: none; }
@media (min-width: 640px) {
  .why-item { grid-template-columns: auto 1fr auto; }
  .why-item__ico { display: block; width: 24px; height: 24px; color: var(--green-400); margin-top: 2px; }
}
@media (min-width: 992px) {
  .why__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
  .why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; gap: 0; max-width: 520px; margin-inline: auto; }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding-bottom: 30px; }
.step::before { /* vertical connector (mobile) */
  content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px;
  background: repeating-linear-gradient(180deg, var(--terracotta-300) 0 6px, transparent 6px 12px);
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }
.step__ico {
  grid-row: span 2; position: relative; width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center; background: var(--surface); color: var(--primary);
  border: 1px solid var(--terracotta-100); box-shadow: var(--shadow-sm);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.step:hover .step__ico { background: var(--primary); color: #fff; transform: translateY(-3px); }
.step__ico .ico { width: 28px; height: 28px; }
.step__n {
  position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--charcoal-900); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: .78rem; border: 3px solid var(--bg);
}
.step h3 { margin: 8px 0 6px; }
.step p { color: var(--text-muted); font-size: .95rem; }
.center-cta { display: flex; justify-content: center; margin-top: 44px; }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: none; }
  .step { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 0; }
  .step::before { left: calc(50% + 46px); right: calc(-50% + 18px); top: 32px; bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--terracotta-300) 0 6px, transparent 6px 12px); }
  .step__ico { grid-row: auto; margin-bottom: 12px; }
  .step h3 { margin-top: 10px; }
}

/* ---------- Persona cards ---------- */
.persona {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.persona::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--cream-200); transition: transform .5s var(--ease); z-index: 0; }
.persona:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.persona:hover::after { transform: scale(1.25); }
.persona > * { position: relative; z-index: 1; }
.persona__ico { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); margin-bottom: 8px; }
.persona__ico .ico { width: 24px; height: 24px; }
.persona p { color: var(--text-muted); font-size: .95rem; flex: 1; }
.persona__tag { align-self: flex-start; margin-top: 6px; padding: 4px 12px; border-radius: 999px; background: var(--terracotta-50); color: var(--terracotta-600); font-size: .78rem; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testi {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 24px;
  border-radius: var(--r-lg); background: var(--surface); border: 1.5px dashed var(--cream-300);
}
.testi__quote { width: 34px; height: 34px; color: var(--terracotta-300); }
.testi__text { color: var(--charcoal-500); font-style: italic; flex: 1; }
.testi__person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-200); color: var(--charcoal-500); font-family: var(--font-head); font-weight: 800; border: 2px dashed var(--cream-300); }
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.testi__name { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.testi__product { font-size: .8rem; color: var(--text-muted); }
.testi__product b { color: var(--primary); font-weight: 600; }
.testi__flag { position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--cream-200); color: var(--charcoal-500); }
.testi.is-real { border-style: solid; border-color: var(--border); box-shadow: var(--shadow-sm); }
.testi.is-real .testi__text { color: var(--charcoal-700); }
.testi.is-real .avatar { border-style: solid; border-color: #fff; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 36px; }
.faq__intro .h2 { margin-bottom: 12px; }
.help-card { display: flex; gap: 14px; margin-top: 28px; padding: 20px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.help-card__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--green-100); color: var(--green-700); }
.help-card strong { font-family: var(--font-head); display: block; }
.help-card p { font-size: .9rem; color: var(--text-muted); margin: 2px 0 8px; }

.accordion { display: grid; gap: 12px; }
.acc { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); transition: box-shadow .3s, border-color .3s; }
.acc:has(.acc__btn[aria-expanded="true"]) { border-color: var(--terracotta-100); box-shadow: var(--shadow-md); }
.acc h3 { font-size: 1rem; }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.4; }
.acc__ico { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--cream-200); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.acc__ico .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.acc__btn[aria-expanded="true"] .acc__ico { transform: rotate(45deg); background: var(--primary); color: #fff; }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 20px 20px; color: var(--text-muted); }
.acc__btn[aria-expanded="true"] + .acc__panel, .acc__panel.is-open { grid-template-rows: 1fr; }
@media (min-width: 992px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; } }

/* ---------- Final CTA ---------- */
.final { padding-bottom: 56px; }
.final__card { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--terracotta-500); color: #fff; isolation: isolate; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .18; mix-blend-mode: luminosity; }
.final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(156,59,39,.92), rgba(185,74,50,.75)); }
.final__content { padding: 52px 24px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.final__title { color: #fff; font-size: clamp(1.75rem, 1.1rem + 2.8vw, 2.9rem); font-weight: 800; max-width: 20ch; }
.final__sub { color: rgba(255,255,255,.88); max-width: 60ch; font-size: 1.0625rem; }
.final__ctas { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; margin-top: 10px; }
.closing-tagline { text-align: center; margin-top: 32px; font-family: var(--font-head); font-weight: 600; color: var(--charcoal-500); letter-spacing: .02em; }
.closing-tagline strong { color: var(--primary); letter-spacing: .14em; font-weight: 800; }
@media (min-width: 640px) {
  .final__content { padding: 80px 48px; }
  .final__ctas { flex-direction: row; justify-content: center; max-width: none; width: auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-900); color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: .925rem; }
.footer__grid { display: grid; gap: 32px; }
.footer__brand p { margin-top: 14px; max-width: 36ch; }
.footer__nav { display: grid; gap: 8px; align-content: start; }
.footer__nav a { transition: color .2s; width: fit-content; }
.footer__nav a:hover { color: #fff; }
.footer__h { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.footer__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .825rem; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- Mobile sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,.97); box-shadow: 0 10px 30px rgba(60,40,25,.2); border: 1px solid var(--border);
  transform: translateY(140%); transition: transform .4s var(--ease);
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px) * 0);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta__text { display: grid; line-height: 1.25; min-width: 0; }
.sticky-cta__text strong { font-family: var(--font-head); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta__text span { font-size: .75rem; color: var(--text-muted); }
.sticky-cta .btn { min-height: 44px; padding: 10px 18px; font-size: .9rem; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { .site-footer { padding-bottom: 100px; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: end center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(35,33,31,.55); backdrop-filter: blur(3px); animation: fade .25s both; }
.modal__dialog {
  position: relative; width: 100%; max-height: 92vh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--cream-50); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-lg);
  animation: sheetUp .35s var(--ease) both;
}
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-sm); }
.modal__close:hover { background: var(--cream-200); }
@media (min-width: 768px) {
  .modal { place-items: center; padding: 24px; }
  .modal__dialog { max-width: 920px; border-radius: var(--r-xl); animation-name: popIn; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
@keyframes popIn { from { transform: translateY(12px) scale(.98); opacity: 0; } }

/* Modal: product detail */
.pd { display: grid; }
.pd__media { display: grid; place-items: center; padding: 48px 24px 36px; background: var(--_tint, var(--cream-200)); }
.pd__media .book { width: 46%; max-width: 220px; }
.pd__content { padding: 28px 24px 28px; display: grid; gap: 16px; align-content: start; }
.pd__title { font-size: 1.6rem; font-weight: 800; }
.pd__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec { padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); }
.spec small { display: block; font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; }
.spec strong { font-family: var(--font-head); font-size: .925rem; }
.pd__h { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.checklist { display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .925rem; color: var(--charcoal-700); }
.checklist .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--green-600); stroke-width: 2.4; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 5px 11px; border-radius: 999px; background: var(--cream-200); font-size: .8rem; color: var(--charcoal-700); }
.pd__buy { display: grid; gap: 10px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border); }
.pd__note { font-size: .78rem; color: var(--text-muted); }
@media (min-width: 768px) {
  .pd { grid-template-columns: .9fr 1.1fr; }
  .pd__media { padding: 56px 32px; min-height: 100%; }
  .pd__content { padding: 40px 36px; }
}

/* Modal: sample recipe page */
.sample { padding: 24px 20px 28px; }
.sample__head { display: grid; gap: 6px; margin-bottom: 20px; padding-right: 44px; }
.sample__label { display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--terracotta-50); color: var(--terracotta-600); }
.sample__page { display: grid; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.sample__photo { aspect-ratio: 16 / 10; background: var(--cream-300); position: relative; }
.sample__photo img { width: 100%; height: 100%; object-fit: cover; }
.sample__photo .brandline { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.92); font-family: var(--font-head); font-weight: 800; font-size: .65rem; letter-spacing: .2em; color: var(--primary); }
.sample__inner { padding: 22px 20px 24px; display: grid; gap: 18px; }
.sample__title { font-size: 1.4rem; font-weight: 800; }
.sample__facts { display: flex; flex-wrap: wrap; gap: 8px; }
.sample__facts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--cream-100); font-size: .8rem; font-weight: 600; }
.sample__facts .ico { width: 15px; height: 15px; color: var(--primary); }
.sample__cols { display: grid; gap: 20px; }
.sample h4 { font-size: .95rem; margin-bottom: 10px; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; }
.ingredients li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--cream-300); font-size: .9rem; }
.ingredients li b { font-weight: 600; color: var(--charcoal-700); white-space: nowrap; }
.method { counter-reset: m; display: grid; gap: 10px; }
.method li { counter-increment: m; display: grid; grid-template-columns: 28px 1fr; gap: 10px; font-size: .9rem; color: var(--charcoal-700); }
.method li::before { content: counter(m); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .78rem; }
.tipbox { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--green-50); border-left: 4px solid var(--green-400); font-size: .875rem; color: var(--charcoal-700); }
.tipbox .ico { color: var(--green-600); margin-top: 2px; }
.sample__foot { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 22px; text-align: center; }
.sample__foot p { font-size: .85rem; color: var(--text-muted); }
@media (min-width: 768px) {
  .sample { padding: 36px 36px 36px; }
  .sample__page { grid-template-columns: .85fr 1.15fr; }
  .sample__photo { aspect-ratio: auto; min-height: 100%; }
  .sample__inner { padding: 28px; }
  .sample__cols { grid-template-columns: 1fr 1.2fr; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; background: var(--charcoal-900); color: #fff; font-size: .9rem; box-shadow: var(--shadow-lg);
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Tablet / desktop spacing ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; }
  .section { padding-block: 96px; }
  .section-head { margin-bottom: 56px; }
}
@media (min-width: 1200px) { .section { padding-block: 112px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
