/* ───────────────────────── tokens ─────────────────────────
   Built on the live site's actual palette:
   - paper (pale pink)        #FFF3F4
   - red primary              #FF5757
   - deep red (background)    #C13D47
   - ink (text)               #2A2520
   Type matches the live site (Roboto Flex + Nunito Sans),
   plus Caveat for handwritten accents and personality.
─────────────────────────────────────────────────────────── */
:root {
  /* Paper / surfaces */
  --paper:       #FFF3F4;        /* live site secondary — main background */
  --paper-2:     #FFFFFF;        /* card surface */
  --paper-3:     #FFEAEA;        /* warmer pink layer */
  --paper-4:     #FFDADC;        /* soft pink wash */
  --paper-cream: #FFF9F2;        /* a slightly warmer paper for variety */

  /* Ink */
  --ink:         #2A2520;        /* warm near-black */
  --ink-soft:    #6F665E;        /* muted body */
  --ink-line:    rgba(42, 37, 32, 0.10);

  /* Brand red */
  --red:         #FF5757;        /* live site primary */
  --red-hover:   #E84545;
  --red-deep:    #C13D47;        /* deeper red — for background panels */
  --red-dark:    #8E2530;        /* darkest — for shadow/layered panels */
  --red-glow:    rgba(255, 87, 87, 0.22);
  --red-soft:    #FFDDDF;        /* tint for sticky-note vibes */

  /* Accents (used sparingly) */
  --green:       #61CE70;        /* live site accent */
  --peach:       #FFBC7D;
  --butter:      #FFE89A;

  /* Type */
  --font-display: "Roboto Flex", "Helvetica Neue", system-ui, sans-serif;
  --font-body:    "Nunito Sans", system-ui, -apple-system, sans-serif;
  --font-hand:    "Caveat", "Brush Script MT", cursive;

  /* Layout */
  --max-w: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius-card: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 18px 36px -18px rgba(255, 87, 87, 0.32);
  --shadow-lift: 0 26px 60px -22px rgba(42, 37, 32, 0.20);
  --shadow-card: 0 1px 2px rgba(42, 37, 32, 0.04), 0 14px 28px -12px rgba(42, 37, 32, 0.10);
  --shadow-paper: 0 1px 0 rgba(255,255,255,0.5) inset, 0 12px 24px -12px rgba(42, 37, 32, 0.18);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ───────────────────────── reset ───────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; }
p { margin: 0; }

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

/* ───────────────────────── shared ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem 0.95rem 1.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  white-space: nowrap;
}
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px -10px var(--red-glow), inset 0 -2px 0 rgba(0,0,0,0.08);
}
.btn--red:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 16px 30px -10px var(--red-glow), inset 0 -2px 0 rgba(0,0,0,0.08); }
.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--white:hover { background: var(--paper-3); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink-line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 0.6rem 1rem 0.6rem 1.1rem; font-size: 0.92rem; }

/* live-site signature: circle-arrow inside the button */
.btn__icon {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
}
.btn--white .btn__icon { background: rgba(0,0,0,0.06); }
.btn__icon svg { width: 12px; height: 12px; }

/* tag / chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  background: var(--paper-2);
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* hand-written accent line */
.hand {
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: 1.4em;
  color: var(--red);
  letter-spacing: 0.005em;
}

/* the live-site SIGNATURE move: red emphasis on a single word in a headline.
   Two flavours — solid coral, or with a hand-drawn underline. */
.hl { color: var(--red); }
.hl--mark {
  color: var(--red);
  position: relative;
  white-space: nowrap;
  display: inline-block;
}
.hl--mark::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -0.04em;
  height: 0.18em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'><path d='M2 8 Q 30 2, 60 6 T 120 6 T 198 5' stroke='%23FF5757' stroke-width='4' fill='none' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
}
.hl--circle {
  display: inline-block;
  position: relative;
  padding: 0 0.18em;
}
.hl--circle::before {
  content: "";
  position: absolute;
  inset: -0.18em -0.1em -0.04em -0.1em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80' preserveAspectRatio='none'><path d='M30 10 C 10 14, 4 30, 8 50 S 30 76, 100 74 C 170 76, 196 60, 192 38 C 192 18, 160 8, 100 6 C 70 6, 42 8, 30 10 Z' stroke='%23FF5757' stroke-width='3' fill='none' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
  z-index: -1;
}

/* hand-drawn arrow (decorative svg, sized + rotated by parent) */
.arrow {
  position: absolute;
  pointer-events: none;
  color: var(--red);
}

/* a paper-y card with subtle shadow */
.paper {
  background: var(--paper-2);
  border-radius: var(--radius-card);
  border: 1px solid var(--ink-line);
  box-shadow: var(--shadow-card);
}

/* ───────────────────────── nav ─────────────────────────
   Live-site mood: logo top-left, single coral CTA top-right,
   no horizontal nav. Floating on the pink. ─────────────── */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  transition: transform 0.32s var(--ease-out), background 0.2s var(--ease-out), box-shadow 0.25s var(--ease-out), padding 0.25s var(--ease-out);
}
.nav.is-scrolled {
  background: rgba(255, 243, 244, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  padding-block: 0.65rem;
  box-shadow: 0 1px 0 var(--ink-line);
}
.nav.is-hidden { transform: translateY(-110%); }

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__brand img {
  width: 46px; height: 46px;
  transition: transform 0.4s var(--ease-bounce);
}
.nav__brand:hover img { transform: rotate(-8deg) scale(1.05); }

/* ───────────────────────── hero ─────────────────────────
   Live-site DNA: bold dark headline with a single red word,
   short sub, coral CTA with circle-arrow, "Available on iOS
   and Android" with platform glyphs, tilted iPhone right.
   Soul-add: tiny pink "from the kitchen of Piera" sticker
   tag, hand-drawn arrow, broccoli mascot peeking. ────── */
.hero {
  position: relative;
  padding-top: clamp(7rem, 14vh, 10rem);
  padding-bottom: clamp(3rem, 8vh, 5.5rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 95% 0%, rgba(255, 87, 87, 0.10), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(255, 188, 125, 0.10), transparent 60%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}
.hero__copy { max-width: 38rem; position: relative; }
.hero__sticker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.95rem;
  background: var(--paper-2);
  border: 1.5px solid var(--red);
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  font-size: 0.84rem;
  color: var(--ink);
  font-weight: 600;
  transform: rotate(-2deg);
  box-shadow: var(--shadow-soft);
}
.hero__sticker .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 96%;
  font-size: clamp(2.7rem, 7.4vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  margin-bottom: 1.7rem;
}
.hero__ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  margin-bottom: 1rem;
}
.hero__platforms {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero__platforms .icon {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  transition: transform 0.18s var(--ease-out), background 0.18s;
}
.hero__platforms .icon:hover { background: var(--red); transform: translateY(-2px); }
.hero__platforms .icon svg { width: 14px; height: 14px; }

.hero__trial {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.2rem;
  font-size: 0.92rem;
  color: var(--red);
  font-weight: 700;
}

/* hand-written line arrow pointing from copy to phone */
.hero__scribble {
  position: absolute;
  bottom: -3rem;
  right: -1rem;
  width: 130px;
  color: var(--red);
  transform: rotate(-8deg);
  display: none;
}
@media (min-width: 1100px) { .hero__scribble { display: block; } }
.hero__scribble-text {
  position: absolute;
  top: -0.4rem;
  left: 0.6rem;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--red);
  white-space: nowrap;
  transform: rotate(-2deg);
}

/* visual side: animated iPhone demo cycling through 3 real app screens */
.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
}
.hero__halo {
  position: absolute;
  width: 88%;
  height: 88%;
  background: radial-gradient(50% 50% at 55% 50%, var(--red-soft) 0%, rgba(255, 87, 87, 0.15) 50%, transparent 75%);
  filter: blur(28px);
  z-index: 0;
}

/* hero iPhone — same chassis as middle, but bigger + tilted + floats */
.iphone--hero {
  position: relative;
  z-index: 2;
  width: clamp(280px, 36vw, 360px);
  margin: 0;
  transform: rotate(-3deg);
  animation: phoneFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 30px 50px rgba(42, 37, 32, 0.20));
}
@keyframes phoneFloat {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-12px); }
}

/* the demo screen is a stacked-slide stage */
.iphone__screen--demo {
  background: var(--paper-2);
}
.demo-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: demoFade 13.5s infinite;
  border-radius: inherit;
  overflow: hidden;
}
.demo-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.demo-slide--1 { animation-delay: 0s; }
.demo-slide--2 { animation-delay: 4.5s; }
.demo-slide--3 { animation-delay: 9s; }

@keyframes demoFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  30%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}

/* tap pulse — appears mid-slide where the user would actually tap */
.demo-tap {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 87, 87, 0.30);
  border: 2px solid var(--red);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  z-index: 4;
  pointer-events: none;
  animation: tapPulse 13.5s infinite;
  box-shadow: 0 0 0 0 rgba(255, 87, 87, 0.45);
}
.demo-slide--1 .demo-tap { animation-delay: 1.6s; }
.demo-slide--2 .demo-tap { animation-delay: 6.1s; }
.demo-slide--3 .demo-tap { animation-delay: 10.6s; }

@keyframes tapPulse {
  0%   { transform: translate(-50%, -50%) scale(0);   opacity: 0; }
  4%   { transform: translate(-50%, -50%) scale(1);   opacity: 1; }
  10%  { transform: translate(-50%, -50%) scale(1.55); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(0);   opacity: 0; }
}

/* floating caption pill — sits below-left of phone, swaps with slides */
.demo-caption {
  position: absolute;
  bottom: -12px;
  left: -28px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1rem 0.55rem 0.55rem;
  background: var(--paper-2);
  border: 1.5px solid var(--ink-line);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  letter-spacing: -0.005em;
  box-shadow: 0 12px 24px -10px rgba(42, 37, 32, 0.18);
  transform: translateY(8px) rotate(-2deg);
  opacity: 0;
  animation: demoFade 13.5s infinite;
  white-space: nowrap;
}
.demo-caption--1 { animation-delay: 0s;   transform: rotate(-2deg); }
.demo-caption--2 { animation-delay: 4.5s; transform: rotate(2deg);  bottom: 24%; left: auto; right: -36px; }
.demo-caption--3 { animation-delay: 9s;   transform: rotate(-3deg); bottom: 56%; left: -42px; }
.demo-caption__step {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.74rem;
  flex: none;
}

/* hide captions on small screens — they overlap the copy */
@media (max-width: 880px) {
  .demo-caption { display: none; }
}

/* broccoli waving in hero */
.hero__broccoli {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 120px;
  z-index: 2;
  filter: drop-shadow(0 12px 18px rgba(255, 87, 87, 0.4));
  animation: broccoliBob 5s ease-in-out infinite;
}
@keyframes broccoliBob {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-8px); }
}

@media (min-width: 880px) {
  .hero__inner { grid-template-columns: 1.1fr 1fr; }
  .hero__visual { min-height: 640px; }
  .hero__broccoli { bottom: 1rem; right: -2rem; width: 150px; }
}

/* ───────────────────────── repeating display strip ─────────────────────────
   Live-site DNA: a wallpaper of giant repeating display type. Sits on the
   deeper red as a transition between sections. ────────────────────────── */
.strip {
  position: relative;
  background: var(--red);
  color: var(--paper);
  overflow: hidden;
  padding-block: 3.2rem;
  isolation: isolate;
}
.strip__layer {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 130%;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.strip__layer span:nth-child(2n) { color: rgba(255, 255, 255, 0.18); -webkit-text-stroke: 2px var(--paper); }
.strip__star {
  display: inline-block;
  width: 1em; height: 1em;
  flex: none;
  align-self: center;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .strip__layer { animation: none; }
}

/* ───────────────────────── trust strip ───────────────────────── */
.trust {
  padding-block: clamp(3.5rem, 7vh, 5rem);
  background: var(--paper);
}
.trust__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 2rem;
  align-items: end;
  text-align: center;
}
@media (min-width: 720px) {
  .trust__inner { grid-template-columns: repeat(4, 1fr); }
}
.trust__item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 105%;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--red);
}
.trust__item strong sup {
  font-size: 0.55em;
  vertical-align: top;
  margin-left: 0.05em;
  color: var(--ink);
}
.trust__item span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* ───────────────────────── about / from piera ─────────────────────────
   Editorial split. Left: section eyebrow + headline. Right: paragraph
   with a hand-signed name and a small portrait sticker (mascot for now). */
.about {
  padding-block: clamp(4rem, 10vh, 6.5rem);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: start;
}
@media (min-width: 880px) {
  .about__inner { grid-template-columns: 1fr 1.05fr; gap: 4rem; }
}
.about__head {
  position: sticky; top: 8rem;
}
.about__eyebrow {
  display: inline-block;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: 1.7rem;
  color: var(--red);
  margin-bottom: 0.5rem;
  transform: rotate(-3deg);
}
.about__title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 16ch;
}
.about__body {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about__body p + p { margin-top: 1.1rem; }
.about__body strong { color: var(--ink); font-weight: 700; }
.about__sign {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
  font-family: var(--font-hand);
  font-size: 2rem;
  color: var(--red);
  transform: rotate(-2deg);
}
.about__sign-by {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(2deg);
}

/* ───────────────────────── how it works (callouts) ─────────────────────────
   Live-site DNA: phones in a grid with dashed-line callouts pointing to
   feature labels. Soul-add: marker-style strokes, slightly off-grid.   ── */
.how {
  position: relative;
  padding-block: clamp(4.5rem, 11vh, 8rem);
  background:
    radial-gradient(60% 60% at 50% 0%, var(--paper-3), transparent 70%),
    var(--paper);
}
.how__head {
  text-align: center;
  margin-bottom: 4rem;
}
.how__title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 18ch;
  margin-inline: auto;
}
.how__sub {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 50ch;
  margin-inline: auto;
}

.how__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}
@media (min-width: 880px) {
  .how__grid { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
}

.how__step {
  position: relative;
  text-align: center;
  padding: 1rem 0.5rem 0;
}
.how__step-num {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  box-shadow: 0 8px 18px -6px var(--red-glow);
}
.how__step h3 {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.how__step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: 28ch;
  margin-inline: auto;
}
/* iPhone mockup — proper chassis with bezel, dynamic island, side buttons.
   Inner screen ratio matches source screenshots (985 / 1876). */
.iphone {
  position: relative;
  margin: 1.8rem auto 0;
  width: clamp(220px, 78%, 280px);
  padding: 12px;
  background:
    linear-gradient(155deg, #2A2520 0%, #3a312a 50%, #1f1a16 100%);
  border-radius: 44px;
  box-shadow:
    /* outer chrome edge */
    0 0 0 1px rgba(255,255,255,0.06) inset,
    /* drop shadow */
    0 26px 48px -18px rgba(42, 37, 32, 0.32),
    0 12px 24px -10px rgba(255, 87, 87, 0.22);
  transition: transform 0.4s var(--ease-out);
}
.how__step:nth-child(1) .iphone { transform: rotate(-3deg); }
.how__step:nth-child(2) .iphone { transform: rotate(1.5deg); }
.how__step:nth-child(3) .iphone { transform: rotate(-1deg); }
.how__step:hover .iphone { transform: rotate(0) translateY(-4px); }

/* chrome highlight along the right edge for a subtle bevel */
.iphone__frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow:
    0 0 0 1.5px #0a0a0a inset,                /* inner black ring */
    0 0 0 4px rgba(255,255,255,0.04) inset;   /* subtle inner highlight */
}
.iphone__screen {
  position: relative;
  display: block;
  background: var(--paper-2);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 985 / 1876;
}
.iphone__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* the screenshot top is what gets shown */
  object-position: top center;
}

/* dynamic-island pill, sits over the top of the screen */
.iphone__island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #0a0a0a;
  border-radius: 14px;
  z-index: 3;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 2px rgba(0,0,0,0.3);
}

/* side buttons */
.iphone__btn {
  position: absolute;
  background: linear-gradient(90deg, #1a1714 0%, #4a3f37 50%, #1a1714 100%);
  z-index: 1;
}
.iphone__btn--silent { /* mute switch — top-left */
  top: 78px;
  left: -3px;
  width: 4px;
  height: 28px;
  border-radius: 2px 0 0 2px;
}
.iphone__btn--volup { /* volume up — left */
  top: 116px;
  left: -3px;
  width: 4px;
  height: 52px;
  border-radius: 2px 0 0 2px;
}
.iphone__btn--voldown { /* volume down — left */
  top: 178px;
  left: -3px;
  width: 4px;
  height: 52px;
  border-radius: 2px 0 0 2px;
}
.iphone__btn--power { /* power — right */
  top: 130px;
  right: -3px;
  width: 4px;
  height: 80px;
  border-radius: 0 2px 2px 0;
}
.phone-mock__screen--center {
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  gap: 0.7rem;
}

.screen-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.6rem;
  background: var(--red-soft);
  color: var(--red);
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.62rem;
  text-transform: uppercase;
}
.screen-pill--ink { background: var(--ink); color: #fff; }
.screen-pill--green { background: rgba(97, 206, 112, 0.18); color: #2f8f3f; align-self: stretch; text-align: center; padding: 0.4rem 0.6rem; text-transform: none; letter-spacing: 0.01em; font-size: 0.56rem; font-weight: 600; }

.phone-mock__screen h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-top: 0.2rem;
  line-height: 1.15;
}

/* quiz list (step 1) */
.quiz-list {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.7rem;
}
.quiz-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1.5px solid var(--ink-line);
  background: var(--paper);
  font-weight: 500;
}
.quiz-list li.is-on {
  border-color: var(--red);
  background: var(--red-soft);
  color: var(--ink);
}
.quiz-check {
  width: 14px; height: 14px;
  flex: none;
  border-radius: 4px;
  border: 1.5px solid var(--ink-line);
  background: #fff;
  position: relative;
}
.quiz-list li.is-on .quiz-check {
  background: var(--red);
  border-color: var(--red);
}
.quiz-list li.is-on .quiz-check::after {
  content: "";
  position: absolute;
  top: 3px; left: 2px;
  width: 7px; height: 4px;
  border-left: 1.6px solid #fff;
  border-bottom: 1.6px solid #fff;
  transform: rotate(-45deg);
}
.screen-cta {
  margin-top: auto;
  align-self: stretch;
  padding: 0.5rem 0.7rem;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  text-align: center;
  font-weight: 700;
  font-size: 0.72rem;
}

/* week plan (step 2) */
.screen-photo {
  width: 100%;
  height: 60px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  margin-top: 0.2rem;
}
.screen-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.62rem;
  color: var(--ink-soft);
  flex-wrap: wrap;
}
.screen-meta strong { color: var(--ink); margin-right: 1px; }
.screen-meta__time { margin-left: auto; color: var(--red); font-weight: 700; }
.screen-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  padding: 0.35rem 0;
  border-top: 1px solid var(--ink-line);
}
.screen-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red-soft);
  border: 1.5px solid var(--red);
  flex: none;
}

/* macro ring (step 3) */
.screen-ring {
  width: 92px; height: 92px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background:
    conic-gradient(var(--red) 0 78%, var(--red-soft) 78% 100%);
  display: grid;
  place-items: center;
  position: relative;
}
.screen-ring::after {
  content: "";
  position: absolute;
  inset: 8px;
  background: var(--paper-2);
  border-radius: 50%;
}
.screen-ring__num {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.screen-ring__num small {
  display: block;
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.screen-status {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
.screen-streak {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.85rem;
  color: var(--red);
}
.screen-streak .dim { color: var(--ink-line); }
.screen-streak em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--ink-soft);
  margin-left: 0.4rem;
  font-weight: 600;
}

/* washi tape — slapped on the corner of each phone-mock for personality.
   Positioned relative to the phone so it sticks out over the corners. */
.washi {
  position: absolute;
  width: 80px; height: 20px;
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.35) 0 6px,
      rgba(255, 87, 87, 0.55) 6px 12px),
    var(--red);
  opacity: 0.92;
  z-index: 4;
  pointer-events: none;
  border-radius: 1px;
  box-shadow: 0 3px 6px -2px rgba(42, 37, 32, 0.20);
  /* Step 1 default: top-left, sticking out */
  top: -8px;
  left: -18px;
  transform: rotate(-22deg);
}
.washi--peach {
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.35) 0 6px,
      rgba(255, 188, 125, 0.55) 6px 12px),
    var(--peach);
  top: -8px;
  left: auto;
  right: -18px;
  transform: rotate(18deg);
}
.washi--butter {
  background:
    repeating-linear-gradient(45deg,
      rgba(255, 255, 255, 0.35) 0 6px,
      rgba(255, 232, 154, 0.55) 6px 12px),
    var(--butter);
  top: auto;
  bottom: -8px;
  left: -16px;
  transform: rotate(-15deg);
}

/* ───────────────────────── meals strip ─────────────────────────
   Polaroid-style food photos at angles. Replaces the "bento". ── */
.meals {
  padding-block: clamp(4.5rem, 11vh, 7rem);
  background: var(--paper-cream);
  position: relative;
}
.meals__head {
  text-align: center;
  margin-bottom: 3.4rem;
}
.meals__hand {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--red);
  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: 0.4rem;
}
.meals__title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 22ch;
  margin-inline: auto;
}
.meals__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  align-items: start;
}
@media (min-width: 720px) {
  .meals__grid { grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
}

.polaroid {
  background: var(--paper-2);
  padding: 0.8rem 0.8rem 1.4rem;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-out), box-shadow 0.3s;
  position: relative;
}
.polaroid:nth-child(1) { transform: rotate(-2.8deg); }
.polaroid:nth-child(2) { transform: rotate(1.6deg); margin-top: 1.4rem; }
.polaroid:nth-child(3) { transform: rotate(-1.2deg); }
.polaroid:nth-child(4) { transform: rotate(2.2deg); margin-top: 1.4rem; }
.polaroid:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: var(--shadow-lift);
  z-index: 2;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}
.polaroid__caption {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--ink);
  text-align: center;
  line-height: 1.05;
}
.polaroid__macro {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.polaroid__pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 3px 6px rgba(42, 37, 32, 0.25), inset -2px -2px 4px rgba(0,0,0,0.18);
}
.polaroid--pick {
  position: relative;
}
.polaroid--pick::after {
  content: "Piera's pick ★";
  position: absolute;
  top: -14px;
  right: -22px;
  padding: 0.4rem 0.7rem;
  background: var(--butter);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--ink);
  transform: rotate(8deg);
  box-shadow: 2px 3px 0 var(--ink);
  z-index: 3;
}

/* ───────────────────────── pricing ─────────────────────────
   Live-site DNA: 3 cards. Middle "Most loved" filled with red
   on white text. Real prices from the live site. ────────── */
.pricing {
  padding-block: clamp(4.5rem, 11vh, 7rem);
  background: var(--paper);
}
.pricing__head {
  text-align: center;
  margin-bottom: 3rem;
}
.pricing__hand {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--red);
  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: 0.3rem;
}
.pricing__title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 18ch;
  margin-inline: auto;
}
.pricing__sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-inline: auto;
}
.pricing__sub strong { color: var(--ink); font-weight: 700; }

.pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: stretch;
}
@media (min-width: 880px) {
  .pricing__grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
}

.plan {
  position: relative;
  background: var(--paper-2);
  border: 1.5px solid var(--ink-line);
  border-radius: var(--radius-card);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.plan__name {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin: 0.6rem 0 0.3rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 95%;
  letter-spacing: -0.035em;
  line-height: 1;
}
.plan__currency { font-size: 1.7rem; opacity: 0.7; }
.plan__num { font-size: 3.6rem; }
.plan__per { font-size: 1rem; font-weight: 600; color: var(--ink-soft); margin-left: 0.2rem; }
.plan__effective {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  font-weight: 600;
}
.plan__features {
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.6rem;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--ink);
}
.plan__features li::before {
  content: "";
  width: 18px; height: 18px;
  flex: none;
  margin-top: 1px;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5L10 17.5L20 7.5' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5L10 17.5L20 7.5' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
}
.plan__cta { width: 100%; margin-top: auto; }

/* the "most loved" card is inverted — red bg, white text */
.plan--pop {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: scale(1.02);
  box-shadow: 0 24px 60px -16px var(--red-glow);
}
@media (min-width: 880px) { .plan--pop { transform: scale(1.05); } }
.plan--pop:hover { transform: scale(1.05) translateY(-3px); }
.plan--pop .plan__name { color: rgba(255,255,255,0.9); }
.plan--pop .plan__effective { color: rgba(255,255,255,0.85); }
.plan--pop .plan__features li { color: #fff; }
.plan--pop .plan__features li::before { background: #fff; }
.plan--pop .plan__per { color: rgba(255,255,255,0.78); }
.plan__ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
}
.plan__ribbon::before, .plan__ribbon::after {
  content: "★";
  margin: 0 0.25rem;
  color: var(--red);
}

.pricing__trial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--red);
  font-weight: 700;
}

/* ───────────────────────── faq (sticky-notes) ───────────────────────── */
.faq {
  padding-block: clamp(4rem, 10vh, 7rem);
  background: var(--paper);
}
.faq__head {
  text-align: center;
  margin-bottom: 3rem;
}
.faq__hand {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--red);
  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: 0.3rem;
}
.faq__title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.02;
  max-width: 18ch;
  margin-inline: auto;
}
.faq__list {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: var(--paper-2);
  border: 1.5px solid var(--ink-line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}
.faq-item:hover { transform: translateX(4px); }
.faq-item[open] {
  border-color: var(--red);
  box-shadow: 4px 4px 0 var(--red);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  margin-left: auto;
  width: 32px; height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-3);
  color: var(--red);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s var(--ease-out), background 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  background: var(--red);
  color: #fff;
}
.faq-item__body {
  padding: 0 1.4rem 1.3rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}
.faq-item__body p + p { margin-top: 0.7rem; }
.faq-item__body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

/* ───────────────────────── final cta ─────────────────────────
   Live-site DNA: full-bleed deep-red panel with the broccoli
   mascot. Soul-add: hand-drawn arrow, sub-line in handwriting,
   white CTA with red text. ────────────────────────────────── */
.final {
  position: relative;
  margin-top: 1rem;
  padding: clamp(3.5rem, 9vh, 6rem) 0;
  background: var(--red);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 40% at 100% 0%, rgba(0,0,0,0.20), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(255,255,255,0.10), transparent 60%);
  z-index: -1;
}
.final__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 880px) {
  .final__inner { grid-template-columns: 1.5fr 1fr; }
}
.final__hand {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
  color: rgba(255,255,255,0.85);
  display: inline-block;
  transform: rotate(-3deg);
}
.final__title {
  font-size: clamp(2.4rem, 5.4vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  max-width: 16ch;
  font-weight: 900;
  font-stretch: 95%;
}
.final__sub {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 38ch;
}
.final__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.7rem;
}
.final__broccoli {
  width: clamp(200px, 30vw, 320px);
  justify-self: end;
  filter: drop-shadow(0 18px 36px rgba(0,0,0,0.28));
  animation: broccoliBob 6s ease-in-out infinite;
}

/* ───────────────────────── footer ───────────────────────── */
.footer {
  padding-block: 2.6rem;
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.7rem;
  align-items: center;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.footer__brand img {
  width: 42px; height: 42px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer__brand p { color: rgba(255,255,255,0.55); max-width: 26ch; font-size: 0.92rem; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}
.footer__links a:hover { color: var(--red); }
.footer__by { font-size: 0.84rem; color: rgba(255,255,255,0.45); }
.footer__by a { color: var(--red); }
.footer__by a:hover { text-decoration: underline; }
@media (min-width: 760px) {
  .footer__inner { grid-template-columns: 1.4fr 1.6fr 1fr; }
}

/* ───────────────────────── sticky mobile cta ───────────────────────── */
.mobile-cta {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.3rem;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 14px 32px -8px var(--red-glow), 0 4px 14px -2px rgba(42, 37, 32, 0.2);
  transform: translateY(140%);
  transition: transform 0.32s var(--ease-out);
}
.mobile-cta.is-visible { transform: translateY(0); }
@media (min-width: 720px) { .mobile-cta { display: none; } }

/* ───────────────────────── reveal animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }

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