/* ============================================================
   Dalia · home v2 (ES)
   Plum bands carry the brand; warm paper carries the reading.
   Shared pieces (nav, faq, footer, chatbot, reveals) come from dalia.css.
   ============================================================ */

.home-v2 {
  --plum:          oklch(25.2% 0.067 312);
  --plum-deep:     oklch(20.5% 0.056 312);
  --plum-raised:   oklch(31% 0.085 310);
  --violet:        oklch(52% 0.133 310);
  --violet-soft:   oklch(72% 0.11 310);
  --pink:          oklch(76% 0.15 358);
  --lime:          oklch(91.8% 0.111 132);
  --lime-strong:   oklch(88.5% 0.14 133);
  --amber:         oklch(84% 0.15 80);
  --paper:         oklch(97.3% 0.007 75);
  --paper-lilac:   oklch(95.2% 0.02 315);
  --ink-plum:      oklch(25.2% 0.067 312);
  --ink-muted:     oklch(47% 0.03 312);
  --on-plum:       oklch(96.5% 0.012 315);
  --on-plum-muted: oklch(81% 0.035 315);
  --hairline:      oklch(89% 0.018 318);
  --hairline-dark: oklch(40% 0.07 312);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg:     28px;
  --wrap:          1180px;

  background: var(--paper);
  color: var(--ink-plum);
}

:where(.home-v2) section { padding-block: 0; }

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

/* ---------- nav on plum ---------- */
.home-v2 .nav {
  padding-block: 0.8rem;
  background: oklch(25.2% 0.067 312 / 0.86);
  border-bottom: 1px solid oklch(100% 0 0 / 0.06);
}
.home-v2 .nav.scrolled { border-bottom-color: oklch(100% 0 0 / 0.1); }
.home-v2 .nav .wordmark { color: var(--on-plum); }
.home-v2 .nav-links { color: var(--on-plum-muted); }
.home-v2 .nav-links a:hover { color: var(--on-plum); }
.home-v2 .nav-links a::after { background: var(--lime); }
.home-v2 .nav-cta {
  color: var(--ink-plum);
  background: var(--lime);
  border-color: transparent;
  font-weight: 600;
  letter-spacing: 0;
  font-size: 0.86rem;
  padding: 0.6rem 1.1rem;
}
.home-v2 .nav-cta:hover { background: var(--lime-strong); color: var(--ink-plum); border-color: transparent; }

/* ---------- shared type ---------- */
.h-eyebrow,
.h-kicker {
  margin: 0 0 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.h-eyebrow { color: var(--violet); }
.h-eyebrow-light,
.h-kicker { color: var(--pink); text-wrap: balance; }

.h-title {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 50, "opsz" 120;
  font-weight: 460;
  font-size: clamp(2.05rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink-plum);
  text-wrap: balance;
  margin: 0;
}
.h-title-light { color: var(--on-plum); }

/* One highlighted phrase per headline: Fraunces italic in the band's accent.
   Violet on paper (the brand's original highlight), lime on plum (FWF1 + CTA). */
.h-hero-title em,
.h-title em,
.h-final-title em {
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 144;
  font-weight: 430;
  letter-spacing: -0.02em;
  color: var(--violet);
}
.h-hero-title em,
.h-title-light em,
.h-final-title em { color: var(--lime); }

/* ---------- primary CTA ---------- */
.h-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}
.h-cta-center { justify-content: center; }

.h-btn {
  position: relative;
  display: inline-grid;
  grid-template-columns: 2rem auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 0.8rem;
  min-height: 64px;
  padding: 0.6rem 1.7rem 0.6rem 1.2rem;
  border-radius: 16px;
  background: var(--lime);
  color: var(--ink-plum);
  text-align: left;
  box-shadow: 0 18px 36px -18px oklch(88% 0.14 133 / 0.55), inset 0 -1px 0 oklch(0% 0 0 / 0.08), inset 0 0 0 1px oklch(35% 0.08 140 / 0.12);
  transition: transform 320ms var(--ease-out-expo), background 220ms, box-shadow 320ms var(--ease-out-expo);
}
.h-btn-logo {
  grid-row: 1 / span 2;
  width: 2rem;
  height: 2rem;
  fill: var(--ink-plum);
  transform: translateY(-1px);
}
.h-btn small {
  grid-column: 2;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.15;
  color: oklch(33% 0.06 312);
  align-self: end;
}
.h-btn span {
  grid-column: 2;
  font-size: 1.5rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.05;
  align-self: start;
}
.h-btn:hover { background: var(--lime-strong); transform: translate3d(0, -2px, 0); box-shadow: 0 24px 44px -20px oklch(88% 0.14 133 / 0.65), inset 0 -1px 0 oklch(0% 0 0 / 0.08), inset 0 0 0 1px oklch(35% 0.08 140 / 0.12); }
.h-btn:active { transform: translate3d(0, 0, 0); }
.h-btn:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }

.home-v2 .nav-cta { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav-cta-logo { width: 0.95rem; height: 0.95rem; fill: currentColor; transform: translateY(-1px); }

/* ---------- social proof ---------- */
.h-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin: 0;
  font-size: 0.92rem;
  color: var(--on-plum-muted);
}
.h-proof strong { color: var(--on-plum); font-weight: 650; }
.h-proof-rating { display: inline-flex; align-items: center; gap: 0.4rem; }
.h-stars {
  --rating-fill: 98%;
  --star-empty: oklch(100% 0 0 / 0.22);
  position: relative;
  display: inline-block;
  width: 5.5em;
  height: 1em;
  margin-right: 0.15rem;
  background: var(--star-empty);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 1.2l2.6 5.5 6 .72-4.43 4.1 1.18 5.93L10 14.5l-5.35 2.95 1.18-5.93L1.4 7.42l6-.72z'/%3E%3C/svg%3E") 0 50% / 1.1em 1em repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 20'%3E%3Cpath d='M10 1.2l2.6 5.5 6 .72-4.43 4.1 1.18 5.93L10 14.5l-5.35 2.95 1.18-5.93L1.4 7.42l6-.72z'/%3E%3C/svg%3E") 0 50% / 1.1em 1em repeat-x;
}
.h-stars::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--rating-fill);
  background: var(--amber);
  transform-origin: left center;
}
.has-js .h-stars::before {
  transform: scaleX(0);
  transition: transform 1500ms var(--ease-out-expo) 250ms;
}
.has-js .h-stars.is-visible::before { transform: scaleX(1); }
.h-proof-sep { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.55; }
.h-proof-dark { color: var(--ink-muted); }
.h-proof-dark strong { color: var(--ink-plum); }
.h-proof-dark .h-stars { --amber: oklch(72% 0.16 70); --star-empty: oklch(84% 0.02 312); }

/* ============================================================
   hero
   ============================================================ */
.h-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60rem 40rem at 88% 8%, oklch(45% 0.14 310 / 0.55), transparent 62%),
    radial-gradient(36rem 30rem at 6% 96%, oklch(55% 0.17 355 / 0.16), transparent 70%),
    linear-gradient(180deg, var(--plum) 0%, var(--plum-deep) 100%);
  color: var(--on-plum);
}
.h-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image: radial-gradient(oklch(100% 0 0 / 0.07) 0.7px, transparent 0.7px);
  background-size: 7px 7px;
  pointer-events: none;
}
.h-hero-inner {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(6.5rem, 12vh, 8.5rem) var(--gutter) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: min(100svh, 880px);
}
.h-hero-copy { padding-bottom: clamp(3rem, 8vh, 6rem); }
.h-hero-title {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 30, "opsz" 144;
  font-weight: 480;
  font-size: clamp(2.9rem, 6.6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--on-plum);
  margin: 0 0 1.4rem;
  text-wrap: balance;
}
.h-hero-sub {
  max-width: 33rem;
  margin: 0 0 2rem;
  font-size: clamp(1.04rem, 1.3vw, 1.18rem);
  line-height: 1.6;
  color: var(--on-plum-muted);
}
.h-hero-copy .h-cta-row { flex-direction: column; align-items: flex-start; gap: 1.1rem; }

.has-js .h-rise { animation: hRise 700ms var(--ease-out-expo) both; }
.has-js .h-rise:nth-child(2) { animation-delay: 70ms; }
.has-js .h-rise:nth-child(3) { animation-delay: 140ms; }
.has-js .h-rise:nth-child(4) { animation-delay: 210ms; }
@keyframes hRise {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* product stage: two real screens, bleeding off the bottom edge */
.h-hero-stage {
  position: relative;
  align-self: end;
  height: clamp(520px, 62vh, 640px);
}
.h-hero-glow {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 115%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, oklch(78% 0.1 310 / 0.42), oklch(60% 0.14 320 / 0.12) 45%, transparent 68%);
  filter: blur(8px);
}
.h-phone {
  position: absolute;
  height: auto;
  filter: drop-shadow(0 40px 50px oklch(12% 0.04 312 / 0.55));
}
.h-phone-front {
  width: min(318px, 62%);
  right: 6%;
  top: 0;
  z-index: 2;
}
.h-phone-back {
  width: min(270px, 52%);
  left: 4%;
  top: 14%;
  z-index: 1;
  transform: rotate(-6deg);
  opacity: 0.92;
}
.has-js .h-phone-front { animation: hPhoneRise 1200ms var(--ease-out-expo) 260ms both; }
.has-js .h-phone-back  { animation: hPhoneRiseBack 1300ms var(--ease-out-expo) 420ms both; }
@keyframes hPhoneRise {
  from { opacity: 0; transform: translate3d(0, 70px, 0); }
  to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hPhoneRiseBack {
  from { opacity: 0; transform: translate3d(0, 90px, 0) rotate(-2deg); }
  to   { opacity: 0.92; transform: translate3d(0, 0, 0) rotate(-6deg); }
}

/* foods around the phones: three soft ones behind, four crisp ones in front.
   The wrapper owns placement, entrance and scroll depth (`translate`);
   Three layers, one motion each, so WebKit can run the scroll-linked one on
   its scrolling thread (an element with any other animation falls back to the
   main thread and lags fast flicks): .h-food = placement + scroll depth,
   .h-food-in = entrance + rotation, img = idle drift + shadow. */
.h-foods { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.h-foods--front { z-index: 3; }
.h-food {
  --size: 64px;
  --rot: 0deg;
  position: absolute;
  width: var(--size);
  height: var(--size);
}
.h-food-in {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(var(--rot));
}
.h-food img {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 14px 16px oklch(14% 0.05 312 / 0.45));
}
.h-food.is-back img { filter: blur(1.6px) saturate(0.9) drop-shadow(0 10px 12px oklch(14% 0.05 312 / 0.35)); opacity: 0.85; }

.h-food--broccoli    { --size: 70px; --rot: -18deg; left: 26%; top: -3%; }
.h-food--spinach     { --size: 84px; --rot: 24deg;  left: -7%; top: 34%; }
.h-food--watermelon  { --size: 78px; --rot: -10deg; right: -9%; top: 44%; }
.h-food--strawberry  { --size: 66px; --rot: -16deg; left: 45%; top: 2%; }
.h-food--blueberries { --size: 58px; --rot: 12deg;  right: -2%; top: 15%; }
.h-food--avocado     { --size: 78px; --rot: 14deg;  left: 5%; top: 67%; }
.h-food--tomato      { --size: 60px; --rot: -8deg;  right: 3%; top: 64%; }

.has-js .h-food-in {
  animation: hFoodIn 1100ms var(--ease-out-expo) both;
  animation-delay: calc(620ms + var(--i) * 90ms);
}
.has-js .h-food img {
  animation: hFoodDrift 5.6s ease-in-out infinite alternate;
  animation-delay: calc(1.8s + var(--i) * -0.7s);
}
.h-food:nth-child(even) img { animation-duration: 6.8s; }
@keyframes hFoodIn {
  from { opacity: 0; transform: translate3d(0, -56px, 0) scale(0.6) rotate(calc(var(--rot) - 30deg)); }
  to   { opacity: 1; transform: translate3d(0, 0, 0) scale(1) rotate(var(--rot)); }
}
@keyframes hFoodDrift {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to   { transform: translate3d(0, -9px, 0) rotate(5deg); }
}

/* ============================================================
   moments
   ============================================================ */
.h-moments { padding: clamp(5rem, 11vw, 8.5rem) 0 clamp(4rem, 9vw, 7rem); }
.h-section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }

.h-moment-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(3rem, 8vw, 6rem);
}
.h-moment {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.h-moment:nth-child(even) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.h-moment:nth-child(even) .h-moment-media { order: 2; }
.h-moment-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-lilac);
  box-shadow: 0 30px 60px -34px oklch(30% 0.09 312 / 0.45);
}
.h-media-depth { display: block; width: 100%; height: 100%; }
.h-moment-media img { width: 100%; height: auto; aspect-ratio: 1200 / 751; object-fit: cover; }
.has-js .h-moment-media img {
  scale: 1.26;
  transition: scale 1600ms var(--ease-out-expo);
  will-change: translate, scale;
}
.has-js .h-moment.in .h-moment-media img { scale: 1.16; }
.h-moment-num {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}
.h-moment-q {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 96;
  font-weight: 420;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink-plum);
}
.h-moment-copy > p:last-child {
  margin: 0;
  max-width: 30rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* ============================================================
   voice band
   ============================================================ */
.h-voice {
  background: var(--paper-lilac);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.h-voice-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.4rem;
}
.h-voice blockquote { margin: 0; }
.h-voice blockquote p {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "SOFT" 100, "opsz" 120;
  font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-plum);
}
.reveal-words .word { display: inline-block; }
.reveal-words .word > span {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 0.35em, 0);
  transition: opacity 650ms var(--ease-out-expo), transform 900ms var(--ease-out-expo);
}
.reveal-words.in .word > span { opacity: 1; transform: none; }
.h-voice blockquote footer {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.h-voice .h-proof { justify-content: center; }

/* ============================================================
   audience
   ============================================================ */
.h-audience { padding: clamp(5rem, 11vw, 8rem) 0; }
.h-audience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.h-audience-head { position: sticky; top: 6.5rem; }
.h-note {
  margin: 1.75rem 0 0;
  max-width: 28rem;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  background: oklch(95.5% 0.045 132);
  color: oklch(30% 0.05 140);
  font-size: 0.98rem;
  line-height: 1.55;
}
.h-note strong { color: oklch(24% 0.05 140); }
.h-audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.h-audience-list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hairline);
}
.h-audience-list strong {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 50, "opsz" 72;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-plum);
}
.h-audience-list span { color: var(--ink-muted); font-size: 1.02rem; line-height: 1.55; }

/* ============================================================
   patterns (plum band)
   ============================================================ */
.h-patterns {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(44rem 34rem at 82% 60%, oklch(45% 0.13 310 / 0.5), transparent 65%),
    var(--plum);
  color: var(--on-plum);
  padding: clamp(5rem, 11vw, 8rem) 0 0;
}
.h-patterns-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: end;
}
.h-patterns-copy { padding-bottom: clamp(4rem, 9vw, 7rem); }
.h-lede-light {
  margin: 1.4rem 0 2.2rem;
  max-width: 32rem;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--on-plum-muted);
}
.h-feature-list { margin: 0 0 2.4rem; display: grid; gap: 0; border-top: 1px solid var(--hairline-dark); }
.h-feature-list > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.h-feature-list dt { font-weight: 600; color: var(--lime); }
.h-feature-list dd { margin: 0; color: var(--on-plum-muted); line-height: 1.55; }

.h-patterns-stage {
  position: relative;
  height: clamp(460px, 56vw, 600px);
}
.h-phone-a { width: min(290px, 50%); left: 2%; top: 12%; }
.h-phone-b { width: min(290px, 50%); right: 2%; top: 0; }

/* ============================================================
   origin + trust
   ============================================================ */
.h-origin { padding: clamp(5rem, 11vw, 8rem) 0 clamp(4rem, 8vw, 6rem); }
.h-origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.h-origin-photo {
  margin: 0;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--hairline), 0 40px 70px -40px oklch(30% 0.09 312 / 0.5);
}
.h-origin-photo img { width: 100%; height: 100%; object-fit: cover; }
.has-js .h-origin-photo img {
  scale: 1.26;
  transition: scale 1800ms var(--ease-out-expo);
  will-change: translate, scale;
}
.has-js .h-origin-photo.in img { scale: 1.16; }
.h-origin-copy .h-title { font-size: clamp(1.9rem, 3.6vw, 3rem); margin-bottom: 1.4rem; }
.h-origin-copy > p:not(.h-eyebrow):not(.h-signature) {
  max-width: 34rem;
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-muted);
}
.h-signature {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-plum);
}
.h-signature span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.h-trust {
  list-style: none;
  margin: clamp(4rem, 9vw, 6.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hairline);
}
.h-trust li {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 1.6rem 1.5rem 0 0;
}
.h-trust li + li { padding-left: 1.5rem; border-left: 1px solid var(--hairline); }
.h-trust strong { font-weight: 650; color: var(--ink-plum); }
.h-trust span { font-size: 0.94rem; line-height: 1.55; color: var(--ink-muted); }

/* ============================================================
   faq
   ============================================================ */
.h-faq {
  background: var(--paper-lilac);
  padding: clamp(5rem, 10vw, 7.5rem) 0;
}
.h-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.h-faq-grid > header { position: sticky; top: 6.5rem; }
.h-faq-aside { margin: 1.4rem 0 0; color: var(--ink-muted); }
.h-text-link {
  color: var(--violet);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.h-text-link:hover { color: var(--ink-plum); }
.home-v2 .faq-list { margin: 0; max-width: none; }
.home-v2 .faq-list details { border-color: oklch(87% 0.025 315); }
.home-v2 .faq-list summary { color: var(--ink-plum); }
.home-v2 .faq-list a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   final CTA (plum)
   ============================================================ */
.h-final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(50rem 30rem at 50% 0%, oklch(46% 0.15 310 / 0.55), transparent 70%),
    var(--plum-deep);
  color: var(--on-plum);
  padding: clamp(5.5rem, 12vw, 9rem) 0 clamp(4.5rem, 9vw, 6.5rem);
  text-align: center;
}
.h-final-inner { position: relative; z-index: 1; display: grid; justify-items: center; }
.h-foods--final { z-index: 0; }
.h-food--final-a { --size: 64px; --rot: -14deg; left: 9%; top: 16%; }
.h-food--final-b { --size: 76px; --rot: 18deg; right: 10%; top: 11%; }
.h-food--final-c { --size: 54px; --rot: 10deg; right: 13%; top: 52%; }
.h-food--final-d { --size: 78px; --rot: -10deg; left: 11%; top: 58%; }
.has-js .h-foods--final .h-food-in { animation-delay: calc(150ms + var(--i) * 110ms); animation-play-state: paused; }
.has-js .h-foods--final.is-visible .h-food-in { animation-play-state: running; }
.h-final-title {
  max-width: 16ch;
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 30, "opsz" 144;
  font-weight: 470;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--on-plum);
  text-wrap: balance;
}
.h-final-sub { margin: 0 0 2.2rem; font-size: 1.1rem; color: var(--on-plum-muted); }
.h-final .h-cta-row { flex-direction: column; gap: 1.1rem; }
.h-final .h-proof { justify-content: center; }
.h-newsletter {
  margin-top: clamp(3.5rem, 8vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--hairline-dark);
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: min(100%, 34rem);
}
.h-newsletter p { margin: 0; font-size: 0.95rem; color: var(--on-plum-muted); }
.home-v2 .h-newsletter .final-form { width: 100%; background: oklch(100% 0 0 / 0.08); border-color: oklch(100% 0 0 / 0.14); }
.home-v2 .h-newsletter .final-form input { color: var(--on-plum); }
.home-v2 .h-newsletter .final-form input::placeholder { color: oklch(78% 0.03 315); }
.home-v2 .h-newsletter .final-form button { background: var(--on-plum); color: var(--ink-plum); }
.home-v2 .h-newsletter .final-form button:hover { background: var(--lime); }
.home-v2 .h-newsletter .final-form.compact input { width: 100%; }

.home-v2 .footer { background: var(--paper); }

/* ============================================================
   responsive
   ============================================================ */
/* ============================================================
   depth on the compositor
   Where scroll-driven animations exist (Safari 26+, Chrome 115+), depth is
   bound to scroll in CSS, so it stays in sync however fast the page moves.
   `html.css-depth` is set in <head>; home.js only animates depth without it.
   Timeline progress matches the JS fallback: cover 0% = entering from below.
   Safari 26.4+ runs these on its scrolling thread only when the element has
   no other animation or transition touching transform/translate/rotate/scale
   (WebKit then drops acceleration for both), hence one motion per layer.
   data-depth (set in <head>): "full" moves foods, phones and photos; "lite"
   keeps only the small photo drift, for touch screens or Safari without
   threaded scroll-driven animations (before 26.4), where large moves lag fast
   flicks; "off" disables depth. ?depth= overrides it.
   ============================================================ */
@keyframes hDepth {
  from { translate: 0 calc(var(--depth, 0) * 1px); }
  to   { translate: 0 calc(var(--depth, 0) * -1px); }
}
@keyframes hFrameDepth {
  from { translate: 0 -7%; }
  to   { translate: 0 7%; }
}
@media (prefers-reduced-motion: no-preference) {
  .css-depth .h-hero,
  .css-depth .h-patterns,
  .css-depth .h-final { view-timeline: --depth block; }
  .css-depth .h-moment-media,
  .css-depth .h-origin-photo { view-timeline: --frame block; }

  .css-depth[data-depth="full"] .h-food[data-parallax],
  .css-depth[data-depth="full"] .h-phone[data-parallax] {
    animation: hDepth linear both;
    animation-timeline: --depth;
    animation-range: cover 0% cover 100%;
  }
  .css-depth .h-media-depth {
    animation: hFrameDepth linear both;
    animation-timeline: --frame;
    animation-range: cover 0% cover 100%;
  }
}

/* Own compositing layers, so moving a food or a phone never repaints the page. */
.h-food,
.h-patterns .h-phone { will-change: transform; }

@media (max-width: 900px) {
  .h-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 6rem;
    gap: 0;
  }
  .h-hero-copy { padding-bottom: 1.5rem; }
  .h-hero-stage { height: 360px; margin-inline: auto; width: min(100%, 440px); }
  .h-phone-front { width: 58%; right: 4%; }
  .h-phone-back { width: 49%; left: 3%; top: 16%; }
  .h-food--broccoli    { --size: 54px; left: 30%; top: -5%; }
  .h-food--spinach     { --size: 62px; left: -5%; top: 24%; }
  .h-food--watermelon  { display: none; }
  .h-food--final-a { --size: 48px; left: 4%; top: 5%; }
  .h-food--final-b { --size: 54px; right: 3%; top: 3%; }
  .h-food--final-c { --size: 40px; right: 4%; top: 47%; }
  .h-food--final-d { display: none; }
  .h-food--strawberry  { --size: 52px; left: 44%; top: -2%; }
  .h-food--blueberries { --size: 46px; right: -1%; top: 11%; }
  .h-food--avocado     { --size: 60px; left: 2%; top: 60%; }
  .h-food--tomato      { --size: 48px; right: 1%; top: 58%; }

  .h-moment,
  .h-moment:nth-child(even) { grid-template-columns: 1fr; gap: 1.4rem; }
  .h-moment:nth-child(even) .h-moment-media { order: 0; }
  .h-moment-media { border-radius: 22px; }

  .h-audience-grid,
  .h-faq-grid,
  .h-origin-grid { grid-template-columns: 1fr; }
  .h-audience-head,
  .h-faq-grid > header { position: static; }

  .h-patterns-grid { grid-template-columns: 1fr; }
  .h-patterns-copy { padding-bottom: 1rem; }
  .h-patterns-stage { height: 400px; width: min(100%, 460px); margin-inline: auto; }

  .h-origin-photo { max-width: 240px; }

  .h-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .h-trust li,
  .h-trust li + li { padding: 1.4rem 1rem 1.4rem 0; border-left: 0; }
  .h-trust li:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--hairline); }
  .h-trust li:nth-child(n + 3) { border-top: 1px solid var(--hairline); }
}

@media (max-width: 560px) {
  .h-hero-inner { padding-top: 5.4rem; }
  .h-kicker { font-size: 0.66rem; letter-spacing: 0.14em; margin-bottom: 0.85rem; }
  .h-hero-title { font-size: clamp(2.6rem, 12vw, 3.2rem); margin-bottom: 1rem; }
  .h-hero-sub { font-size: 1rem; margin-bottom: 1.5rem; }
  .h-hero-stage { height: 300px; }
  .h-btn { min-height: 60px; padding: 0.55rem 1.5rem 0.55rem 1.05rem; }
  .h-proof { column-gap: 1.1rem; }
  .h-proof-sep { display: none; }
  .h-btn span { font-size: 1.4rem; }

  .h-feature-list > div { grid-template-columns: 1fr; gap: 0.25rem; }
  .h-patterns-stage { height: 340px; }

  .h-trust { grid-template-columns: 1fr; }
  .h-trust li,
  .h-trust li:nth-child(even),
  .h-trust li + li { padding: 1.2rem 0; border-left: 0; }
  .h-trust li + li { border-top: 1px solid var(--hairline); }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .h-phone-front,
  .has-js .h-phone-back,
  .has-js .h-rise,
  .has-js .h-food-in,
  .has-js .h-food img { animation: none; }
  .has-js .h-moment-media img,
  .has-js .h-origin-photo img { scale: 1; transition: none; }
  .has-js .h-stars::before { transform: none; transition: none; }
  .reveal-words .word > span { opacity: 1; transform: none; transition: none; }
  .h-btn { transition: none; }
}

/* ?depth=full|lite|off shows which mode is active while testing on a device. */
[data-depth-debug] body::after {
  content: "depth: " attr(data-depth-label);
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 100;
  padding: 6px 10px;
  border-radius: 8px;
  background: oklch(20% 0.05 312 / 0.9);
  color: var(--lime);
  font: 600 12px/1.3 var(--sans);
  pointer-events: none;
}
