/* Vitality Collective storefront — ported from the Claude Design canvas.
   Palette, type, and the shared 5s "calm" tempo are preserved 1:1. */

:root {
  --orange: #FD6901;   /* page background / primary */
  --deep:   #CC5400;   /* cards, banner, deep sections */
  --cream:  #FBF3E4;   /* CTA fill */
  --text:   #FFF7EC;   /* foreground */
  --amber:  #F2A93B;   /* accent numerals / eyebrows */
  --teal:   #14343A;   /* accent bar */
  --line:   rgba(255, 247, 236, .25);
  --line-strong: rgba(255, 247, 236, .9);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--orange);
  color: var(--text);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration-color: rgba(255, 247, 236, .5); }
a:hover { color: var(--cream); }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* ---- shared calm tempo — 5s, ~12 breaths/min ---- */
@keyframes calmBreath {
  0%,100% { box-shadow: 0 0 16px 1px rgba(255,247,236,.28), 0 0 26px 4px rgba(242,169,59,.14); }
  50%     { box-shadow: 0 0 48px 10px rgba(255,247,236,.75), 0 0 78px 22px rgba(242,169,59,.42); }
}
@keyframes calmDrift  { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes calmEqA { 0%,100% { transform: scaleX(.6); opacity:.7; } 50% { transform: scaleX(1); opacity:1; } }
@keyframes calmEqB { 0%,100% { transform: scaleX(1); opacity:1; } 50% { transform: scaleX(.5); opacity:.65; } }
@keyframes calmEqC { 0%,100% { transform: scaleX(.8); opacity:.85; } 50% { transform: scaleX(1.05); opacity:1; } }
@keyframes calmGlowLive { 0%,100% { opacity:.5; transform: scale(.9); } 50% { opacity:1; transform: scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  .drift, .brand-pill--breath, .eq-bar, .glow-inner { animation: none !important; }
}

/* ---- typography helpers ---- */
.mono { font-family: 'IBM Plex Mono', monospace; }
.muted { color: rgba(255, 247, 236, .78); }
.small { font-size: 14px; }
.eyebrow {
  margin: 0; font-family: 'IBM Plex Mono', monospace; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--cream);
}
.eyebrow--amber { color: var(--amber); }
.h2 { margin: 0; font-size: clamp(26px, 3.5vw, 36px); font-weight: 600; line-height: 1.1; }
.h2--xl { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; letter-spacing: -.02em; }
.h3 { margin: 0; font-size: 19px; font-weight: 600; }
.body-copy { margin: 0; font-size: 15px; line-height: 1.55; color: rgba(255,247,236,.88); max-width: 72ch; }
.fineprint { margin: 0; font-size: 13.5px; }

.card { background: var(--deep); border-radius: 28px; }

/* ---- buttons ---- */
.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; text-decoration: none;
  border-radius: 999px; transition: background .15s ease, color .15s ease;
}
.btn--cream { background: var(--cream); color: var(--deep); }
.btn--cream:hover { background: #fff; color: var(--deep); }
.btn--sm { font-size: 13px; padding: 12px 18px; }
.btn--lg { font-size: 17px; padding: 16px 30px; }
.btn--block { width: 100%; font-size: 17px; padding: 17px 28px; text-align: center; }
.btn--outline { align-self: flex-start; border: 1.5px solid var(--line-strong); color: var(--text); padding: 12px 24px; font-size: 15px; }
.btn--outline:hover { background: var(--cream); color: var(--deep); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn s { opacity: .5; font-weight: 400; }

/* ---- banner ---- */
.banner {
  background: var(--deep); color: var(--text); font-size: 14px; line-height: 1.45;
  padding: 10px clamp(16px, 4vw, 40px); text-align: center;
}
.banner strong { font-weight: 600; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 60; background: var(--orange);
  border-bottom: 1px solid rgba(255,247,236,.22);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px clamp(16px, 4vw, 40px); flex-wrap: wrap;
}
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 26px); font-family: 'IBM Plex Mono', monospace; font-size: 13.5px; flex-wrap: wrap; }
.nav-links a { text-decoration: none; padding: 10px 2px; }
.nav-links a.btn { padding: 12px 18px; }

.brand-pill { border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 10px 20px; display: inline-flex; text-decoration: none; }
.brand-pill--breath { animation: calmBreath 5s ease-in-out infinite; }
.brand-pill--static { padding: 8px 16px; }
.brand-logo { height: 18px; display: block; }
.brand-logo--sm { height: 14px; }

/* ---- main ---- */
.main {
  width: 100%; max-width: 1160px; margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px) 0;
  display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px);
}

/* ---- hero ---- */
.hero-head { display: flex; flex-direction: column; gap: 10px; }
.hero-title { margin: 0; font-size: clamp(48px, 9vw, 104px); line-height: .98; font-weight: 600; letter-spacing: -.025em; text-wrap: pretty; }
.hero-by { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-by__label { font-size: clamp(18px, 2.5vw, 24px); color: rgba(255,247,236,.9); }
/* Highlight the fiber (the headline number) in the product byline. */
.fiber-hl { color: var(--text); font-weight: 600; background: rgba(242,169,59,.25); padding: 2px 8px; border-radius: 999px; }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: center; }
.hero-figure { margin: 0; }
.hero-bottle { width: 100%; max-height: 560px; object-fit: cover; display: block; mix-blend-mode: multiply; opacity: .96; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-lede { margin: 0; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.25; font-weight: 500; max-width: 22ch; text-wrap: pretty; }
.hero-cta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.drift { animation: calmDrift 5s ease-in-out infinite; }

.eq { display: flex; flex-direction: column; gap: 6px; }
.eq-bar { height: 5px; border-radius: 99px; transform-origin: left; }
.eq-bar--a { width: 140px; background: var(--cream); animation: calmEqA 5s ease-in-out infinite; }
.eq-bar--b { width: 90px;  background: var(--teal);  animation: calmEqB 5s ease-in-out infinite; }
.eq-bar--c { width: 116px; background: var(--amber); animation: calmEqC 5s ease-in-out infinite; }

/* ---- what's inside ---- */
.inside { padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 3vw, 40px); align-items: start; }
.inside-copy { display: flex; flex-direction: column; gap: 16px; }
.ingredients { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.ingredient { border-top: 1px solid var(--line); }
.ingredient-toggle {
  width: 100%; background: transparent; border: none; color: var(--text); font-family: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 15px 2px; font-size: 18px; font-weight: 500; cursor: pointer; text-align: left; min-height: 44px;
}
.ingredient-toggle:hover { color: var(--amber); }
.ingredient-mark { font-size: 14px; color: rgba(255,247,236,.6); }
.ingredient-note { margin: 0; padding: 0 2px 16px; font-size: 14.5px; line-height: 1.55; color: rgba(255,247,236,.85); max-width: 52ch; }
.facts-row { display: flex; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,247,236,.85); border-top: 1px solid var(--line); padding-top: 14px; }

.nutrition-figure { margin: 0; justify-self: center; max-width: 340px; width: 100%; }
.nutrition-img { width: 100%; display: block; border-radius: 12px; }
.nutrition-img { box-shadow: 0 8px 30px rgba(20,52,58,.18); }

/* ---- felt benefits ---- */
.benefits { display: flex; flex-direction: column; gap: 22px; }
.section-head { display: flex; flex-direction: column; gap: 10px; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.benefit-list { display: flex; flex-direction: column; }
.benefit {
  background: transparent; border: none; border-top: 1px solid rgba(255,247,236,.3);
  color: var(--text); font-family: inherit; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 16px 14px; cursor: pointer; text-align: left; min-height: 56px; border-radius: 12px;
  transition: background .15s ease;
}
.benefit:hover { background: rgba(204,84,0,.55); }
.benefit[aria-selected="true"] { background: var(--deep); }
.benefit-label { display: flex; flex-direction: column; gap: 2px; }
.benefit-name { font-size: clamp(20px, 2.4vw, 26px); font-weight: 600; }
.benefit-tag { font-size: 14px; color: rgba(255,247,236,.8); }
.benefit-stat { text-align: right; flex-shrink: 0; }
.benefit-now { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; color: var(--amber); }
.benefit-then { display: block; font-size: 12.5px; color: rgba(255,247,236,.65); }

.body-stage { padding: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; align-items: center; gap: 14px; justify-content: center; }
.body-wrap { position: relative; display: inline-block; max-width: 100%; }
.glow { position: absolute; transform: translate(-50%, -50%); transition: left .6s ease, top .6s ease, width .6s ease; aspect-ratio: 1; }
.glow-inner { width: 100%; height: 100%; border-radius: 50%; animation: calmGlowLive 5s ease-in-out infinite; transition: background .6s ease; }
.pose { max-height: min(60vw, 340px); max-width: 100%; width: auto; height: auto; display: none; position: relative; }
.pose.is-active { display: block; }
.body-caption { text-align: center; }
.body-caption__name { margin: 0; font-size: 20px; font-weight: 600; }
.body-caption__detail { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: rgba(255,247,236,.88); max-width: 40ch; }

/* ---- opt-in services ---- */
.services { border-top: 1px solid rgba(255,247,236,.3); padding-top: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.service { display: flex; gap: 14px; align-items: flex-start; }
.service > div > .body-copy { margin-top: 4px; }
.service-icon { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }

/* ---- checkout ---- */
.checkout { display: flex; flex-direction: column; gap: 22px; }
.checkout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(16px, 3vw, 28px); align-items: stretch; }
.offer { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.offer-pct { margin: 0; font-size: clamp(44px, 6vw, 64px); font-weight: 600; line-height: 1; }
.offer-price { margin: 0; font-size: 17px; } .offer-price s { opacity: .6; }
.offer-code { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: rgba(255,247,236,.85); }
.code-chip { font-size: 15px; border: 1px solid rgba(255,247,236,.6); border-radius: 8px; padding: 4px 12px; }

.subscribe { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.subscribe-title { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
.subscribe .body-copy { margin-top: 6px; font-size: 14px; }
.qty { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.qty-stepper { display: flex; align-items: center; border: 1px solid rgba(255,247,236,.5); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 46px; height: 46px; border: none; background: transparent; color: var(--text); font-size: 20px; cursor: pointer; font-family: inherit; }
.qty-stepper button:hover { background: rgba(255,247,236,.15); }
.qty-stepper span { min-width: 40px; text-align: center; font-weight: 600; font-size: 17px; }

/* ---- science ---- */
.science { border-top: 1px solid rgba(255,247,236,.3); padding-top: clamp(20px, 3vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.science .body-copy { line-height: 1.6; }

/* ---- footer ---- */
.footer { max-width: 1160px; margin: 0 auto; padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 40px) 48px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.6; color: rgba(255,247,236,.78); }
.footer p { margin: 0; }
.copyright { margin-top: 8px; font-size: 13px; }

/* ---- mobile: the nav duplicates the hero wordmark up top, so hide it until
        the user scrolls past the hero ("join") section, then slide it in ---- */
@media (max-width: 600px) {
  .nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    transform: translateY(-105%);
    transition: transform .35s ease;
    will-change: transform;
  }
  .nav.nav--peek { transform: translateY(0); box-shadow: 0 8px 24px rgba(20,52,58,.22); }
}
