/* ==========================================================================
   lacta — site stylesheet
   Tokens and measurements are lifted 1:1 from "Lacta UI Board" (Claude Design).
   ========================================================================== */

:root {
  /* ink & surfaces */
  --ink: #1C1917;
  --cream: #FFF6EC;
  --cream-2: #FFFDF9;
  --sand: #F3EDE4;
  --sand-2: #FBEFE4;
  --line: #EDE3D4;
  --line-2: #E6DCCE;

  /* brand */
  --coral: #FF4D6D;
  --coral-link: #E8355E;
  --coral-link-hover: #C21F45;
  --coral-glow: rgba(255, 77, 109, 0.6);
  --yellow: #FFD23F;
  --orange: #FFA630;
  --purple: #7A28CB;

  /* text */
  --text: #5C5347;
  --muted: #8A7F6F;
  --muted-2: #6B6257;
  --taupe: #C9BBA5;
  --amber-text: #8A4A00;
  --plum-text: #4B1E7A;
  --pink-text: #FFD9E1;

  /* tints */
  --tint-pink: #FFE1E8;
  --tint-peach: #FFE7C7;
  --tint-lilac: #EBD9FF;

  /* flavor gradients */
  --grad-strawberry: linear-gradient(145deg, #FF8FA5, #E82B52);
  --grad-mango: linear-gradient(145deg, #FFC876, #F28C00);
  --grad-passionfruit: linear-gradient(145deg, #A55FF0, #5E14A8);

  /* type */
  --display: 'Baloo 2', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Space Grotesk', system-ui, -apple-system, sans-serif;

  /* layout */
  --page-w: 1280px;
  --gutter: 48px;
  --radius-card: 24px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--coral-link); text-decoration: none; }
a:hover { color: var(--coral-link-hover); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
.page { max-width: var(--page-w); margin: 0 auto; background: var(--cream); }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* --------------------------------------------------------------------------
   Buttons & pills
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-pill); font-weight: 700; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  text-decoration: none; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn--ink { background: var(--ink); color: var(--cream); font-size: 14px; padding: 10px 22px; }
.btn--ink:hover { background: #2E2926; color: var(--cream); }
.btn--coral { background: var(--coral); color: var(--cream); font-size: 16px; padding: 16px 32px; box-shadow: 0 12px 24px -10px var(--coral-glow); }
.btn--coral:hover { background: #F23B5E; color: var(--cream); box-shadow: 0 14px 28px -10px var(--coral-glow); }
.btn--coral.btn--sm { font-size: 15px; padding: 14px 28px; box-shadow: none; }
.btn--cream { background: var(--cream); color: var(--ink); font-size: 14px; padding: 12px 20px; }
.btn--cream:hover { background: #fff; color: var(--ink); }
.btn--add { background: var(--ink); color: var(--cream); font-size: 13px; padding: 9px 18px; }
.btn--add:hover { background: #2E2926; color: var(--cream); }
.btn--add.is-coral { background: var(--coral); }
.btn--add.is-coral:hover { background: #F23B5E; }
.btn--add.is-added { background: #2E7D4F; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; padding: 9px 20px;
  background: var(--cream-2); border: 1px solid var(--line-2); color: var(--ink);
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); font-weight: 700; }

.eyebrow { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: var(--tint-peach); color: var(--amber-text); font-size: 13px; font-weight: 700; padding: 8px 16px; border-radius: var(--radius-pill); }
.link { font-weight: 700; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */
.nav { display: flex; justify-content: space-between; align-items: center; padding: 20px var(--gutter); border-bottom: 1px solid var(--line); position: relative; z-index: 20; background: var(--cream); }
.nav__logo { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--coral); line-height: 1; letter-spacing: 0; }
.nav__logo:hover { color: var(--coral); }
.nav__links { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
.nav__links a { color: var(--ink); }
.nav__links a:hover { color: var(--coral-link-hover); }
.nav__links a.is-active { color: var(--coral); }
.nav__cta { min-width: 110px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 20px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer { padding: 40px var(--gutter); display: flex; justify-content: space-between; align-items: center; background: var(--ink); gap: 24px; flex-wrap: wrap; }
.footer__logo { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--cream); line-height: 1; }
.footer__logo span { color: var(--coral); }
.footer__links { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.footer__links a { color: var(--taupe); }
.footer__links a:hover { color: var(--cream); }
.footer__note { font-size: 12px; color: var(--muted); }

.trustbar { padding: 22px var(--gutter); display: flex; justify-content: space-between; background: var(--ink); font-size: 13px; color: var(--taupe); gap: 16px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; padding: 64px var(--gutter) 56px; align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: 0.98; letter-spacing: -0.02em; color: var(--ink); }
.hero__title em { font-style: normal; color: var(--coral); }
.hero__lede { font-size: 18px; line-height: 1.6; color: var(--text); max-width: 440px; }
.hero__actions { display: flex; gap: 14px; align-items: center; }
.hero__proof { display: flex; gap: 24px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.hero__art { position: relative; height: 440px; }
.hero__frame { position: absolute; inset: 0; border-radius: 32px; overflow: hidden; background: var(--sand-2); }
.hero__frame img { width: 100%; height: 100%; object-fit: contain; }
.gummy { position: absolute; border-radius: 22px; }
.gummy--mango { top: -16px; right: -10px; width: 64px; height: 64px; background: var(--grad-mango); animation: bob 3s ease-in-out infinite; }
.gummy--passion { bottom: -14px; left: -12px; width: 52px; height: 52px; border-radius: 18px; background: var(--grad-passionfruit); animation: bob 3.6s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.marquee { background: var(--ink); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 40px; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--cream); padding-left: 48px; animation: marquee 28s linear infinite; will-change: transform; }
.marquee__track span { flex-shrink: 0; }
.marquee__track .dot-coral { color: var(--coral); }
.marquee__track .dot-orange { color: var(--orange); }
.marquee__track .dot-purple { color: var(--purple); }
.marquee__track .dot-yellow { color: var(--yellow); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .marquee__track, .gummy { animation: none; } }

.section { padding: 64px var(--gutter); display: flex; flex-direction: column; gap: 28px; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section__title { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--ink); line-height: 1.1; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.flavor { border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.flavor--pink { background: var(--tint-pink); }
.flavor--peach { background: var(--tint-peach); }
.flavor--lilac { background: var(--tint-lilac); }
.flavor__swatch { width: 64px; height: 64px; border-radius: 22px; }
.flavor__name { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); line-height: 1.15; }
.flavor__name a { color: inherit; }
.flavor__blurb { font-size: 14px; color: var(--text); line-height: 1.5; }
.flavor__row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.flavor__price { font-weight: 700; color: var(--ink); }

.how { background: var(--coral); padding: 64px var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.how__title { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--cream); line-height: 1.1; }
.step { background: rgba(255, 246, 236, 0.14); border-radius: var(--radius-card); padding: 26px; color: var(--cream); }
.step__num { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.1; }
.step__title { font-weight: 700; font-size: 18px; margin-top: 8px; }
.step__text { font-size: 14px; line-height: 1.6; color: var(--pink-text); margin-top: 6px; }

/* --------------------------------------------------------------------------
   Media (photo with CSS render fallback)
   -------------------------------------------------------------------------- */
.media { position: relative; overflow: hidden; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media--contain img { object-fit: contain; }
.media .render { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; }
.media.is-fallback img { display: none; }
.media.is-fallback .render { display: flex; }

/* --------------------------------------------------------------------------
   Shop
   -------------------------------------------------------------------------- */
.shop-head { padding: 56px var(--gutter) 28px; display: flex; flex-direction: column; gap: 18px; }
.shop-head__title { font-family: var(--display); font-weight: 800; font-size: 56px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.05; }
.shop-head__title em { font-style: normal; color: var(--coral); }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.shop-grid { padding: 12px var(--gutter) 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.shop-grid > .is-hidden { display: none; }

.product { border-radius: var(--radius-card); overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .2s ease; }
.product:hover { transform: translateY(-2px); }
.product--pink { background: var(--tint-pink); }
.product--peach { background: var(--tint-peach); }
.product--lilac { background: var(--tint-lilac); }
.product--dark { background: var(--ink); color: var(--cream); }
.product--cream { background: var(--cream-2); border: 1px solid var(--line-2); }
.product__badge { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-pill); }
.product__media { height: 230px; display: block; }
.product__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.product__top { display: flex; justify-content: space-between; align-items: baseline; }
.product__name { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); line-height: 1.15; }
.product__name a { color: inherit; }
.product--dark .product__name { color: var(--cream); }
.product__count { font-size: 12px; color: var(--muted); }
.product__blurb { font-size: 13px; color: var(--text); }
.product--dark .product__blurb { color: var(--taupe); }
.product__row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.product__price { font-weight: 700; color: var(--ink); }
.product--dark .product__price { color: var(--cream); }
.product__compare { color: var(--muted); text-decoration: line-through; font-weight: 400; }

.promo { background: var(--coral); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.promo__title { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--cream); line-height: 1.1; }
.promo__text { font-size: 14px; line-height: 1.6; color: var(--pink-text); }
.promo__price { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--cream); line-height: 1.1; }
.promo__price small { font-size: 15px; font-weight: 700; color: var(--pink-text); }
.promo__bottom { display: flex; flex-direction: column; gap: 10px; }

/* --------------------------------------------------------------------------
   Product detail
   -------------------------------------------------------------------------- */
.pdp { padding: 36px var(--gutter) 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; }
.pdp__gallery { display: flex; flex-direction: column; gap: 14px; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.pdp__main { height: 460px; border-radius: 28px; overflow: hidden; position: relative; background: var(--tint-pink); }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumb { height: 92px; border-radius: 16px; overflow: hidden; position: relative; border: 2px solid transparent; padding: 0; background: var(--sand-2); transition: border-color .15s ease; }
.thumb.is-active { border-color: var(--coral); }
.thumb .media { position: absolute; inset: 0; border-radius: 14px; }
.pdp__info { display: flex; flex-direction: column; gap: 18px; }
.pdp__head { display: flex; flex-direction: column; gap: 8px; }
.pdp__kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); }
.pdp__title { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; color: var(--ink); }
.pdp__rating { font-size: 14px; color: var(--text); }
.pdp__desc { font-size: 15px; line-height: 1.65; color: var(--text); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { display: flex; align-items: center; gap: 8px; background: var(--cream-2); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; color: var(--ink); padding: 8px 16px; border-radius: var(--radius-pill); transition: border-color .15s ease; }
.swatch:hover { border-color: var(--ink); color: var(--ink); }
.swatch i { width: 14px; height: 14px; border-radius: 5px; display: inline-block; }
.swatch.is-active { border: 2px solid var(--coral); font-weight: 700; padding: 7px 15px; }
.swatch.is-active.swatch--strawberry { background: var(--tint-pink); }
.swatch.is-active.swatch--mango { background: var(--tint-peach); }
.swatch.is-active.swatch--passionfruit { background: var(--tint-lilac); }
.plans { display: flex; flex-direction: column; gap: 10px; }
.plan { display: flex; justify-content: space-between; align-items: center; background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 18px; padding: 16px 20px; width: 100%; text-align: left; transition: border-color .15s ease; }
.plan:hover { border-color: var(--ink); }
.plan.is-active { border: 2px solid var(--ink); padding: 15px 19px; }
.plan__label { display: flex; flex-direction: column; }
.plan__name { font-weight: 500; font-size: 15px; color: var(--text); }
.plan.is-active .plan__name { font-weight: 700; color: var(--ink); }
.plan__sub { font-size: 13px; color: var(--muted); }
.plan__price { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--text); }
.plan.is-active .plan__price { font-weight: 800; font-size: 22px; color: var(--ink); }
.buy { display: flex; gap: 12px; align-items: center; }
.stepper { display: inline-flex; align-items: center; gap: 16px; border: 1px solid var(--line-2); background: var(--cream-2); border-radius: var(--radius-pill); padding: 12px 18px; font-weight: 700; color: var(--ink); }
.stepper button { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 700; line-height: 1; }
.stepper button:hover { background: var(--line); }
.stepper output { min-width: 12px; text-align: center; }
.buy .btn--coral { flex: 1; padding: 15px 20px; }

.acc { display: flex; flex-direction: column; margin-top: 6px; border-bottom: 1px solid var(--line); }
.acc__item { border-top: 1px solid var(--line); }
.acc__btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 15px 0; font-weight: 700; color: var(--ink); font-size: 15px; text-align: left; }
.acc__btn span { transition: transform .2s ease; }
.acc__item.is-open .acc__btn span { transform: rotate(45deg); }
.acc__panel { display: none; padding: 0 0 15px; font-size: 14px; line-height: 1.6; color: var(--text); }
.acc__item.is-open .acc__panel { display: block; }
.acc--faq .acc__btn { padding: 14px 0; }
.acc--faq .acc__panel { padding: 2px 0 14px; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */
.hiw-hero { padding: 64px var(--gutter) 48px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.hiw-hero .eyebrow { align-self: center; }
.hiw-hero__title { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; max-width: 760px; }
.hiw-hero__title em { font-style: normal; color: var(--coral); }
.equation-wrap { padding: 16px var(--gutter) 56px; display: flex; justify-content: center; }
.equation { display: flex; align-items: center; gap: 22px; background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 28px; padding: 34px 40px; flex-wrap: wrap; justify-content: center; }
.eq__item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.eq__tile { width: 88px; height: 88px; border-radius: 28px; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--text); background: var(--line); text-align: center; line-height: 1.2; }
.eq__tile--lactase { background: var(--grad-strawberry); color: var(--cream); }
.eq__tile--happy { background: var(--yellow); color: var(--ink); font-size: 14px; }
.eq__pair { display: flex; gap: 8px; }
.eq__tile--sugar { width: 64px; border-radius: 22px; font-size: 12px; }
.eq__tile--glucose { background: var(--tint-peach); color: var(--amber-text); }
.eq__tile--galactose { background: var(--tint-lilac); color: var(--plum-text); }
.eq__cap { font-size: 12px; color: var(--muted); }
.eq__op { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--ink); }
.eq__op--coral { color: var(--coral); }
.how--grid { padding: 56px var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.two-col { padding: 56px var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 14px; }
.col--tight { gap: 6px; }
.col__title { font-family: var(--display); font-weight: 800; font-size: 36px; color: var(--ink); line-height: 1.1; }
.dose { display: flex; flex-direction: column; font-size: 14px; color: var(--text); }
.dose__row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.dose__row:last-child { border-bottom: 0; }
.dose__row b { font-weight: 700; color: var(--ink); text-align: right; }
.cta-band { padding: 40px var(--gutter); display: flex; justify-content: space-between; align-items: center; background: var(--ink); gap: 24px; flex-wrap: wrap; }
.cta-band__title { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--cream); line-height: 1.2; }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-hero { padding: 72px var(--gutter) 56px; }
.about-hero__title { font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 1.02; color: var(--ink); letter-spacing: -0.02em; max-width: 900px; }
.about-hero__title .c { color: var(--coral); }
.about-hero__title .o { color: var(--orange); }
.about-story { padding: 0 var(--gutter) 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-story__photo { height: 380px; border-radius: 28px; overflow: hidden; position: relative; background: var(--tint-peach); }
.about-story__text { display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.7; color: var(--text); }
.about-story__text b { font-weight: 700; color: var(--ink); }
.values { padding: 0 var(--gutter) 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { border-radius: var(--radius-card); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.value__title { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1.2; }
.value__text { font-size: 14px; line-height: 1.6; color: var(--text); }

/* --------------------------------------------------------------------------
   Subscription builder / Checkout (extends the system; not on the board)
   -------------------------------------------------------------------------- */
.builder { padding: 36px var(--gutter) 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.builder__list { display: flex; flex-direction: column; gap: 12px; }
.pick { display: flex; align-items: center; gap: 16px; border-radius: 20px; padding: 16px 18px; }
.pick__swatch { width: 52px; height: 52px; border-radius: 18px; flex-shrink: 0; }
.pick__name { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); line-height: 1.15; }
.pick__blurb { font-size: 13px; color: var(--text); }
.pick__grow { flex: 1; }
.summary { background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: 24px; }
.summary__title { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); line-height: 1.15; }
.summary__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text); gap: 12px; }
.summary__row b { color: var(--ink); }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); }
.summary__total b { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); }
.summary__note { font-size: 12px; color: var(--muted); }
.freq { display: flex; gap: 10px; flex-wrap: wrap; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form__group { display: flex; flex-direction: column; gap: 10px; }
.form__title { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field input, .field select { background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 14px; padding: 13px 16px; font-size: 15px; outline: none; transition: border-color .15s ease; width: 100%; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--coral); }
.field__err { font-size: 12px; color: var(--coral-link); display: none; }
.field.has-error .field__err { display: block; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ship-opt { display: flex; justify-content: space-between; align-items: center; background: var(--cream-2); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px 18px; cursor: pointer; }
.ship-opt.is-active { border: 2px solid var(--ink); padding: 13px 17px; }
.ship-opt input { accent-color: var(--ink); }
.ship-opt__l { display: flex; align-items: center; gap: 12px; }
.ship-opt__name { font-weight: 700; color: var(--ink); font-size: 14px; }
.ship-opt__sub { font-size: 12px; color: var(--muted); }
.notice { background: var(--tint-peach); color: var(--amber-text); border-radius: 18px; padding: 16px 18px; font-size: 14px; line-height: 1.55; }
.notice b { font-weight: 700; }
.done { background: var(--tint-pink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.done__title { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--ink); line-height: 1.1; }
.done__text { font-size: 15px; line-height: 1.6; color: var(--text); }
.line { display: flex; gap: 14px; align-items: center; }
.line__thumb { width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0; position: relative; overflow: hidden; }
.line__body { flex: 1; min-width: 0; }
.line__name { font-weight: 700; color: var(--ink); font-size: 14px; }
.line__meta { font-size: 12px; color: var(--muted); }
.line__price { font-weight: 700; color: var(--ink); font-size: 14px; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Cart drawer
   -------------------------------------------------------------------------- */
.scrim { position: fixed; inset: 0; background: rgba(28, 25, 23, 0.45); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 90; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); background: var(--cream); transform: translateX(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); z-index: 100; display: flex; flex-direction: column; box-shadow: -24px 0 60px -30px rgba(28,25,23,.4); }
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--display); font-weight: 800; font-size: 24px; color: var(--ink); }
.drawer__close { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; color: var(--ink); }
.drawer__close:hover { background: var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 24px; display: flex; flex-direction: column; gap: 16px; }
.drawer__empty { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 48px 0; color: var(--text); }
.drawer__empty .display { font-size: 24px; color: var(--ink); }
.drawer__foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.ship-progress { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--text); }
.ship-progress__bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.ship-progress__fill { height: 100%; background: var(--coral); border-radius: 999px; transition: width .3s ease; }
.drawer__row { display: flex; justify-content: space-between; font-size: 15px; color: var(--ink); }
.drawer__row b { font-family: var(--display); font-weight: 800; font-size: 22px; }
.drawer__sub { font-size: 12px; color: var(--muted); }
.cart-line { display: flex; gap: 14px; align-items: flex-start; }
.cart-line__thumb { width: 72px; height: 72px; border-radius: 18px; flex-shrink: 0; position: relative; overflow: hidden; }
.cart-line__body { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-line__name { font-weight: 700; color: var(--ink); font-size: 15px; }
.cart-line__meta { font-size: 12px; color: var(--muted); }
.cart-line__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.stepper--sm { padding: 6px 12px; gap: 12px; font-size: 14px; }
.cart-line__remove { font-size: 12px; color: var(--muted); text-decoration: underline; }
.cart-line__remove:hover { color: var(--coral-link-hover); }
.cart-line__price { font-weight: 700; color: var(--ink); font-size: 14px; white-space: nowrap; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: var(--cream); padding: 12px 18px 12px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: 12px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 110; box-shadow: 0 24px 60px -30px rgba(28,25,23,.6); white-space: nowrap; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast i { width: 10px; height: 10px; border-radius: 4px; background: var(--coral); display: inline-block; }
.toast button { color: var(--coral); font-weight: 700; }

/* --------------------------------------------------------------------------
   CSS renders (fallbacks for product photography)
   Adapted from the "Pouch Render" board; scaled by --s.
   -------------------------------------------------------------------------- */
.pouch { --s: .38; position: relative; width: calc(470px * var(--s)); height: calc(680px * var(--s)); border-radius: calc(26px * var(--s)) calc(26px * var(--s)) calc(46px * var(--s)) calc(46px * var(--s)); overflow: hidden; box-shadow: 0 calc(40px * var(--s)) calc(70px * var(--s)) calc(-30px * var(--s)) rgba(120,20,40,.45); font-family: var(--body); flex-shrink: 0; }
.pouch--strawberry { background: linear-gradient(105deg, #FF6D88 0%, #FF4D6D 34%, #F23B5E 62%, #D92A4E 100%); --pouch-sub: #FFE1E8; --pouch-flavor: #7A0E28; --pouch-gummy: var(--grad-strawberry); --pouch-shade: 120,10,30; }
.pouch--mango { background: linear-gradient(105deg, #FFC15C 0%, #FFA630 34%, #F28C00 62%, #D97600 100%); --pouch-sub: #FFE7C7; --pouch-flavor: #6B3400; --pouch-gummy: var(--grad-mango); --pouch-shade: 120,60,0; }
.pouch--passionfruit { background: linear-gradient(105deg, #B27CF5 0%, #9A4DE8 34%, #7A28CB 62%, #5E14A8 100%); --pouch-sub: #EBD9FF; --pouch-flavor: #2A0A4E; --pouch-gummy: var(--grad-passionfruit); --pouch-shade: 60,10,110; }
.pouch__seal { position: absolute; top: 0; left: 0; right: 0; height: calc(34px * var(--s)); background: linear-gradient(180deg, #E2E0DC 0%, #CFCBC4 55%, #B9B4AB 100%); }
.pouch__seal::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 calc(26px * var(--s)), rgba(255,255,255,.5) calc(26px * var(--s)) calc(28px * var(--s))); }
.pouch__seal-shadow { position: absolute; top: calc(34px * var(--s)); left: 0; right: 0; height: calc(8px * var(--s)); background: rgba(var(--pouch-shade), .25); }
.pouch__sheen { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,0) 6%, rgba(255,255,255,.42) 12%, rgba(255,255,255,.06) 22%, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 62%, rgba(255,255,255,.18) 72%, rgba(255,255,255,0) 82%); }
.pouch__crease { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 12%), radial-gradient(140% 40% at 50% 102%, rgba(var(--pouch-shade),.28) 0%, rgba(var(--pouch-shade),0) 60%); }
.pouch__art { position: absolute; top: calc(70px * var(--s)); left: calc(44px * var(--s)); right: calc(44px * var(--s)); display: flex; flex-direction: column; gap: calc(8px * var(--s)); }
.pouch__kicker { display: flex; justify-content: space-between; align-items: center; font-size: calc(17px * var(--s)); letter-spacing: .16em; text-transform: uppercase; color: var(--pouch-sub); font-weight: 700; }
.pouch__kicker i { width: calc(19px * var(--s)); height: calc(19px * var(--s)); border-radius: 50%; background: var(--yellow); }
.pouch__logo { font-family: var(--display); font-weight: 800; font-size: calc(126px * var(--s)); line-height: .95; color: var(--cream); letter-spacing: -0.02em; text-shadow: 0 calc(3px * var(--s)) 0 rgba(var(--pouch-shade),.25); }
.pouch__flavor { font-family: var(--display); font-weight: 700; font-size: calc(36px * var(--s)); color: var(--pouch-flavor); line-height: 1.1; }
.pouch__mid { position: absolute; top: calc(400px * var(--s)); left: calc(44px * var(--s)); right: calc(44px * var(--s)); display: flex; gap: calc(18px * var(--s)); align-items: center; }
.pouch__gummy { width: calc(96px * var(--s)); height: calc(96px * var(--s)); border-radius: calc(32px * var(--s)); background: var(--pouch-gummy); position: relative; box-shadow: 0 calc(10px * var(--s)) calc(18px * var(--s)) calc(-8px * var(--s)) rgba(var(--pouch-shade),.5), inset 0 calc(4px * var(--s)) calc(8px * var(--s)) rgba(255,255,255,.45); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; color: var(--cream); font-size: calc(38px * var(--s)); flex-shrink: 0; }
.pouch__gummy::before { content: ""; position: absolute; top: calc(13px * var(--s)); left: calc(16px * var(--s)); width: calc(30px * var(--s)); height: calc(16px * var(--s)); border-radius: 50%; background: rgba(255,255,255,.55); }
.pouch__ritual { font-size: calc(19px * var(--s)); line-height: 1.5; color: var(--pouch-sub); }
.pouch__foot { position: absolute; bottom: calc(44px * var(--s)); left: calc(44px * var(--s)); right: calc(44px * var(--s)); display: flex; justify-content: space-between; align-items: flex-end; border-top: calc(3px * var(--s)) solid rgba(255,255,255,.35); padding-top: calc(20px * var(--s)); }
.pouch__foot b { font-size: calc(20px * var(--s)); color: var(--cream); font-weight: 700; }
.pouch__foot span { font-size: calc(19px * var(--s)); color: var(--pouch-sub); }
.pouch__edge { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--pouch-shade),.35) 0%, rgba(var(--pouch-shade),0) 5%, rgba(255,255,255,0) 94%, rgba(var(--pouch-shade),.4) 100%); }

.render--pouch { --s: .3; }
.render--pouch .pouch { --s: .3; }
.render--group { gap: 8px; }
.render--group .pouch { --s: .22; }
.render--group .pouch:nth-child(2) { transform: translateY(-10px); }
.render--pdp .pouch { --s: .58; }
.render--thumb .pouch { --s: .12; }
.render--line .pouch { --s: .09; }
.render--thumb.render--macro { padding: 8px; gap: 5px; }
.render--thumb.render--macro .gummy-3d { width: 16px; height: 16px; border-radius: 5px; }
.render--thumb.render--label .label-card { transform: scale(.55); }
.render--thumb.render--hand .pouch { --s: .12; }
.render--line.render--hand .pouch { --s: .09; }
.render--pdp.render--hand .pouch { --s: .5; }
.render--pdp.render--macro .gummy-3d { width: 72px; height: 72px; border-radius: 24px; }
.render--pdp.render--label .label-card { max-width: 340px; font-size: 12px; padding: 22px; }
.render--pdp.render--label .label-card b { font-size: 13px; }

.tin { --s: 1; width: 150px; height: 96px; border-radius: 22px; background: linear-gradient(135deg, #F4F0EA 0%, #D9D3CA 40%, #F7F3EE 60%, #C9C2B7 100%); box-shadow: 0 18px 30px -16px rgba(28,25,23,.5), inset 0 2px 4px rgba(255,255,255,.8), inset 0 -3px 6px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; position: relative; }
.tin::before { content: ""; position: absolute; inset: 8px; border-radius: 16px; background: var(--coral); box-shadow: inset 0 2px 8px rgba(255,255,255,.35); }
.tin__label { position: relative; display: flex; flex-direction: column; align-items: center; color: var(--cream); }
.tin__label b { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; }
.tin__label span { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--pink-text); font-weight: 700; margin-top: 2px; }
.tin--sm { transform: scale(.5); }
.tin--line { transform: scale(.34); }

.render--macro { gap: 12px; flex-wrap: wrap; padding: 30px; align-content: center; }
.render--macro .gummy-3d { position: static; width: 46px; height: 46px; border-radius: 15px; background: var(--grad-strawberry); box-shadow: 0 10px 14px -8px rgba(90,10,25,.4), inset 0 3px 6px rgba(255,255,255,.5); }
.render--macro .gummy-3d:nth-child(2n) { transform: rotate(14deg); }
.render--macro .gummy-3d:nth-child(3n) { transform: rotate(-20deg); }
.render--label { padding: 24px; }
.render--label .label-card { width: 60%; max-width: 250px; background: var(--cream-2); border-radius: 14px; padding: 14px; font-size: 9px; line-height: 1.5; color: var(--text); box-shadow: 0 16px 30px -18px rgba(28,25,23,.5); }
.render--label .label-card b { display: block; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.render--hand { position: relative; }
.render--hand .palm { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); width: 60%; height: 50%; border-radius: 50% 50% 0 0; background: #E9C1A6; }
.render--hand .pouch { position: relative; }
.render--photo { background: var(--tint-peach); }
.render--photo .cone { position: relative; width: 60px; height: 60px; border-radius: 50%; background: var(--grad-strawberry); box-shadow: inset 0 6px 10px rgba(255,255,255,.4); }
.render--photo .cone::after { content: ""; position: absolute; left: 50%; top: 44px; transform: translateX(-50%); border-left: 26px solid transparent; border-right: 26px solid transparent; border-top: 70px solid #D8A06B; }
.render--photo .cone--2 { background: var(--grad-mango); margin-left: 40px; margin-top: 50px; }

/* --------------------------------------------------------------------------
   Sold out / Notify me / Coming soon  (board 3a + 3b states)
   -------------------------------------------------------------------------- */
.product__badge--ink { background: var(--ink); color: var(--cream); }
.product.is-sold-out .product__badge:not(.product__badge--ink) { display: none; }
.product.is-sold-out .product__media img, .product.is-sold-out .product__media .render, .flavor.is-sold-out .flavor__swatch { filter: grayscale(0.8) opacity(0.7); }
.product__price.is-out, .flavor__price.is-out, .product--dark .product__price.is-out { color: var(--muted); text-decoration: line-through; }
.product__price.is-out .product__compare { display: none; }
.btn--outline { background: transparent; border: 2px solid var(--ink); color: var(--ink); font-size: 13px; padding: 7px 16px; }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.product--dark .btn--outline { border-color: var(--cream); color: var(--cream); }
.product--dark .btn--outline:hover { background: var(--cream); color: var(--ink); }
.swatch.is-out { background: #F5EFE5; border: 1px dashed var(--taupe); color: var(--muted); font-weight: 500; }
.swatch.is-out i { background: var(--taupe) !important; }
.swatch.is-out small { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #B0687A; }
.swatch.is-out.is-active { border: 2px dashed var(--taupe); padding: 7px 15px; background: #F5EFE5; }
.soldout { display: flex; flex-direction: column; gap: 12px; }
.soldout__pill { flex: 1; text-align: center; background: var(--line); color: var(--muted); font-weight: 700; font-size: 15px; padding: 14px 18px; border-radius: var(--radius-pill); }
.notify { display: flex; gap: 10px; align-items: center; }
.notify input { flex: 1; min-width: 0; background: var(--cream-2); border: 1px solid var(--line-2); border-radius: var(--radius-pill); padding: 12px 18px; font-size: 14px; color: var(--ink); outline: none; transition: border-color .15s ease; }
.notify input::placeholder { color: var(--muted); }
.notify input:focus { border-color: var(--ink); }
.notify input[aria-invalid="true"] { border-color: var(--coral); }
.notify .btn--ink { padding: 12px 22px; }
.notify__note { font-size: 12px; color: var(--muted); line-height: 1.5; }
.notify__done { display: flex; align-items: center; gap: 10px; background: var(--tint-pink); border-radius: 18px; padding: 14px 18px; font-size: 14px; font-weight: 700; color: var(--ink); }
.plan.is-disabled { opacity: .6; cursor: not-allowed; border-style: dashed; }
.plan.is-disabled:hover { border-color: var(--line-2); }
.plan.is-disabled .plan__price { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.is-disabled[data-soon-disable] { opacity: .65; cursor: default; pointer-events: none; }
.promo.is-soon .btn { background: rgba(255,246,236,.35); color: var(--cream); }
.cart-line__tag { display: inline-block; background: var(--line); color: var(--muted); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: var(--radius-pill); margin-left: 6px; vertical-align: middle; }
.cart-line.is-out .cart-line__thumb { filter: grayscale(0.8) opacity(0.7); }
.drawer__warn { font-size: 12px; color: #B0687A; text-align: center; }

.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__scrim { position: absolute; inset: 0; background: rgba(28, 25, 23, 0.45); }
.modal__card { position: relative; width: min(460px, 100%); background: var(--cream); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 24px 60px -30px rgba(28,25,23,.6); }
.modal__title { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1.1; padding-right: 36px; }
.modal__text { font-size: 14px; line-height: 1.6; color: var(--text); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.modal__close:hover { background: var(--line); }

/* --------------------------------------------------------------------------
   "We're all out" pop-up (board 4a)
   -------------------------------------------------------------------------- */
.page.is-dimmed { filter: blur(3px); opacity: 0.55; transition: filter .3s ease, opacity .3s ease; pointer-events: none; }
.oos { position: fixed; inset: 0; z-index: 130; display: none; align-items: center; justify-content: center; padding: 20px; }
.oos.is-open { display: flex; }
.oos__scrim { position: absolute; inset: 0; }
.oos__card { position: relative; width: 520px; max-width: 100%; background: var(--cream); border-radius: 32px; padding: 44px 44px 36px; box-shadow: 0 40px 90px -30px rgba(28,25,23,.6); display: flex; flex-direction: column; gap: 18px; text-align: center; align-items: center; }
.oos__close { position: absolute; top: 18px; right: 22px; font-size: 22px; color: var(--taupe); font-weight: 700; line-height: 1; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.oos__close:hover { color: var(--ink); background: var(--line); }
.oos__trio { display: flex; gap: 10px; align-items: flex-end; }
.oos__g { display: block; width: 44px; height: 44px; border-radius: 15px; opacity: .35; }
.oos__g--mango { background: var(--grad-mango); transform: rotate(-10deg); }
.oos__g--passion { background: var(--grad-passionfruit); transform: rotate(12deg); }
.oos__face { display: block; position: relative; width: 56px; height: 56px; border-radius: 19px; background: var(--grad-strawberry); }
.oos__face::before, .oos__face::after { content: ""; position: absolute; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: #7A0E28; }
.oos__face::before { left: 14px; } .oos__face::after { right: 14px; }
.oos__face i { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); width: 16px; height: 3px; border-radius: 2px; background: #7A0E28; }
.oos__copy { display: flex; flex-direction: column; gap: 8px; }
.oos__title { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; color: var(--ink); letter-spacing: 0; }
.oos__title em { font-style: normal; color: var(--coral); }
.oos__text { font-size: 15px; line-height: 1.6; color: var(--text); }
.oos__form { width: 100%; display: flex; gap: 10px; align-items: center; }
.oos__form input { flex: 1; min-width: 0; background: var(--cream-2); border: 1px solid var(--line-2); border-radius: var(--radius-pill); padding: 14px 20px; font-size: 14px; color: var(--ink); text-align: left; outline: none; transition: border-color .15s ease; }
.oos__form input::placeholder { color: var(--muted); }
.oos__form input:focus { border-color: var(--ink); }
.oos__form input[aria-invalid="true"] { border-color: var(--coral); }
.oos__form .btn { font-size: 15px; padding: 14px 24px; }
.oos__note { font-size: 12px; color: var(--muted); }
.oos__link { font-size: 14px; font-weight: 700; }
.oos__done { width: 100%; }
@media (max-width: 600px) {
  .oos__card { padding: 36px 24px 28px; border-radius: 26px; }
  .oos__title { font-size: 32px; }
  .oos__form { flex-direction: column; align-items: stretch; }
}

/* --------------------------------------------------------------------------
   Consent lines, legal bar, privacy page
   -------------------------------------------------------------------------- */
.consent { font-size: 11px; line-height: 1.5; color: var(--muted); }
.consent a { color: var(--muted); text-decoration: underline; }
.consent a:hover { color: var(--ink); }
.oos__note a { color: var(--muted); text-decoration: underline; }
.oos__note a:hover { color: var(--ink); }
.legalbar { padding: 14px var(--gutter); display: flex; gap: 22px; align-items: center; background: var(--ink); border-top: 1px solid rgba(255,246,236,.08); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legalbar a { color: var(--muted); }
.legalbar a:hover { color: var(--cream); }
.footer__note a { color: var(--muted); text-decoration: underline; }
.footer__note a:hover { color: var(--cream); }
.legal { padding: 8px var(--gutter) 72px; max-width: 760px; font-size: 15px; line-height: 1.7; color: var(--text); }
.legal h2 { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); line-height: 1.15; margin: 36px 0 10px; }
.legal p { margin: 0 0 12px; }
.legal ul { padding-left: 20px; list-style: disc; margin: 0 0 12px; }
.legal li { margin: 0 0 6px; }
.legal b { font-weight: 700; color: var(--ink); }
.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; background: var(--line); padding: 1px 6px; border-radius: 6px; }
.legal__operator { background: var(--tint-peach); border-radius: 20px; padding: 18px 22px; margin: 8px 0 12px; color: var(--amber-text); }
.legal__operator b { color: var(--amber-text); }
.legal__operator a { color: var(--amber-text); text-decoration: underline; }
.legal__operator mark { background: var(--yellow); color: var(--ink); padding: 0 6px; border-radius: 6px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero__title { font-size: 60px; }
  .hiw-hero__title { font-size: 54px; }
  .about-hero__title { font-size: 50px; }
  .shop-grid, .grid-3, .how--grid, .values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero__art { height: 360px; }
  .pdp, .two-col, .about-story, .builder { grid-template-columns: 1fr; gap: 32px; }
  .pdp__title { font-size: 44px; }
  .summary { position: static; }
  .quote { flex-direction: column; align-items: flex-start; gap: 16px; }
  .quote__link { margin-left: 0; }
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); flex-direction: column; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav__links a { padding: 14px var(--gutter); }
  .nav.is-open .nav__links { display: flex; }
  .nav__burger { display: inline-flex; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .hero__title { font-size: 46px; }
  .shop-head__title { font-size: 40px; }
  .section__title, .how__title { font-size: 32px; }
  .hiw-hero__title { font-size: 38px; }
  .about-hero__title { font-size: 36px; }
  .shop-grid, .grid-3, .how--grid, .values { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
  .pdp__main { height: 360px; }
  .buy { flex-direction: column; align-items: stretch; }
  .notify { flex-direction: column; align-items: stretch; }
  .nav__cta { min-width: 0; }
}
