/* ============================================================
   Lifeboost Medium Roast Coffee Pods landing page
   Structure mirrors takeultra.com/pages/focus-fasting-intro,
   rendered in the Lifeboost brand palette.
   ============================================================ */

:root {
  --ink: #1a1a1a;          /* near-black headline/body */
  --bg: #ffffff;           /* clean white */
  --muted: #6b6663;        /* secondary text */
  --green: #105857;        /* brand green (accent role) */
  --green-dark: #032936;
  --green-tint: #e8f1f0;
  --coral: #f1574b;        /* CTA */
  --coral-dark: #d5453a;
  --line: #ebe6e0;         /* hairline borders */
  --cream: #f7f5f1;        /* soft section background */
  --gold: #e3af6c;         /* star / rating */

  --font: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: 'Wigrum', 'Open Sans', system-ui, sans-serif;
  --maxw: 1120px;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.06);
  --shadow-md: 0 12px 40px rgba(3,41,54,.10);
  --ease: all .2s cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(.22,1,.36,1);   /* decel curve for entrances */
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--coral); color: #fff; font-weight: 800; font-size: 17px;
  letter-spacing: .01em; text-transform: uppercase;
  padding: 17px 40px; border: 0; border-radius: 999px; cursor: pointer;
  transition: var(--ease); box-shadow: 0 8px 22px rgba(241,87,75,.28);
}
.btn:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(241,87,75,.34); }
.btn--dark { background: var(--green-dark); box-shadow: 0 8px 22px rgba(3,41,54,.22); }
.btn--dark:hover { background: #06202b; box-shadow: 0 12px 28px rgba(3,41,54,.3); }
.btn--block { display: flex; width: 100%; }

/* ---------- Ticker (top press/benefit marquee) ---------- */
.ticker {
  background: var(--green-dark); color: #fff; overflow: hidden;
  height: 38px; display: flex; align-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ticker-track { display: flex; width: max-content; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span { padding: 0 1.4rem; opacity: .92; }
.ticker-track i { color: var(--gold); margin-right: .5rem; font-size: 9px; vertical-align: middle; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 66px; }
.header-nav { display: flex; gap: 26px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.header-nav a { color: var(--ink); transition: var(--ease); }
.header-nav a:hover { color: var(--green); }
.logo { height: 30px; width: auto; justify-self: center; }
.header-right { display: flex; justify-content: flex-end; align-items: center; gap: 16px; }
.header .btn { padding: 11px 22px; font-size: 12.5px; }
@media (max-width: 780px) {
  .header .wrap { grid-template-columns: 1fr auto; }
  .header-nav { display: none; }
  .logo { justify-self: start; }
}
@media (max-width: 420px) { .header .btn { padding: 10px 16px; font-size: 11.5px; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 4vw, 2.6rem); text-align: center; }
.hero .eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(2.1rem, 6.4vw, 4.4rem); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.01em; margin: 0 auto; max-width: 20ch; color: var(--ink);
}
.hero .subhead {
  font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: var(--muted);
  max-width: 56ch; margin: 20px auto 0; line-height: 1.5;
}
/* Wide fanned product image (matches the Ultra hero composition) */
.hero-product { margin: clamp(1.4rem, 4vw, 2.6rem) auto clamp(0.5rem, 2vw, 1rem); max-width: 620px; position: relative; }
.hero-product img { margin: 0 auto; width: 100%; max-width: 520px; }
.hero-product--wide { max-width: 940px; }
.hero-product--wide img { max-width: 100%; }
/* Flat studio shot with baked-in reflection on white: a touch wider, no extra shadow */
.hero-product--flat { max-width: 1000px; margin-bottom: clamp(0.25rem, 1.5vw, 0.75rem); }
/* Hero CTA sits just below the product image (pods-hero2 has no
   reflection zone to overlap, unlike the original Ultra-style shot). */
.hero-btn { display: flex; width: max-content; position: relative; z-index: 2;
  margin: 22px auto 0; letter-spacing: .06em; }
.hero-social { margin-top: 20px; display: flex; justify-content: center; position: relative; z-index: 2; }

/* Star + review pill (ported from the healthy-coffee page) */
.hero-pill { display: inline-flex; align-items: center; gap: 9px; background: #fff;
  border: 1px solid var(--line); border-radius: 9999px; padding: 5px 16px 5px 7px;
  box-shadow: var(--shadow-sm); max-width: 100%; }
.hero-pill-avatars { display: flex; align-items: center; flex-shrink: 0; }
.hero-pill-avatar { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff;
  margin-left: -9px; overflow: hidden; background: var(--cream); }
.hero-pill-avatar:first-child { margin-left: 0; }
.hero-pill-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-pill-stars { color: #f6b21e; font-size: 14px; letter-spacing: 1px; flex-shrink: 0; }
.hero-pill-text { font-size: clamp(12px, 1.35vw, 13.5px); color: var(--ink); font-weight: 500; white-space: nowrap; }
.hero-pill-text strong { font-weight: 800; }
.hero-pill-text .sep { color: #cfc8bf; margin: 0 3px; font-weight: 400; }
@media (max-width: 520px) {
  .hero-pill { flex-wrap: wrap; justify-content: center; border-radius: 18px; gap: 5px 8px; padding: 7px 14px; }
  .hero-pill-text { white-space: normal; font-size: 11.5px; }
  /* 30% smaller than the 17px/17x40 base */
  .hero-btn { margin-top: 14px; font-size: 12px; padding: 12px 28px; }
}

/* ---------- Trust / social-proof band ---------- */
.trust { background: transparent; border: 0; }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(1.2rem, 4vw, 3.4rem); padding: 20px 20px; }
.trust-item { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13.5px; color: var(--green-dark); }
.trust-item i { color: var(--green); font-size: 17px; }

/* ---------- Section shell ---------- */
.section { padding: clamp(2.8rem, 6vw, 4.6rem) 0; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--green-dark); }
.section-head { text-align: center; max-width: 42ch; margin: 0 auto clamp(1.8rem, 4vw, 2.8rem); }
.section-head .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.section-head h2 { font-size: clamp(1.7rem, 4.2vw, 2.8rem); font-weight: 800; margin-top: 10px; text-transform: uppercase; letter-spacing: -.01em; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 1.03rem; }
.section-head.sh-oneline { max-width: none; }
.section-head.sh-oneline h2 { white-space: nowrap; }
@media (max-width: 520px) { .section-head.sh-oneline h2 { white-space: normal; } }

/* ---------- Benefits (radial around product) ---------- */
.radial { display: grid; grid-template-columns: 1fr minmax(260px, 440px) 1fr; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); }
.radial-col { display: flex; flex-direction: column; gap: clamp(1.4rem, 3vw, 2.6rem); }
.radial-img { position: relative; }
.radial-img img { margin: 0 auto; width: 100%; max-width: 340px; }
.radial-img::after { content:""; display:block; width:55%; height:22px; margin:-6px auto 0; background: radial-gradient(ellipse at center, rgba(3,41,54,.14), transparent 70%); filter: blur(2px); }
/* Studio shot with baked-in shadow; no extra CSS reflection */
.radial-img--flat img { max-width: min(100%, 288px); }
.radial-img--flat::after { display: none; }
/* Roast rotator: medium, light, dark, decaf crossfade (landscape 4:3 shots) */
.radial-rotator { width: min(100%, 340px); aspect-ratio: 600 / 446; margin: 0 auto; position: relative; }
.radial-rotator img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; opacity: 0; transition: opacity .9s ease; }
.radial-rotator img.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .radial-rotator img { transition: none; } }
.rfeat { text-align: center; }
.rfeat .ico { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.rfeat h3 { font-size: .98rem; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.rfeat p { font-size: 13.5px; color: var(--muted); margin-top: 6px; max-width: 30ch; margin-left: auto; margin-right: auto; }
@media (max-width: 820px) {
  .radial { grid-template-columns: 1fr 1fr; }
  .radial-img { grid-column: 1 / -1; order: -1; max-width: 300px; margin: 0 auto 1rem; }
  .radial-col { gap: 1.8rem; }
}
/* Phones: keep the four benefits 2x2 (each column holds two) */
@media (max-width: 460px) {
  .radial { grid-template-columns: 1fr 1fr; gap: 1rem 0.75rem; }
  .radial-col { gap: 1.4rem; }
  .rfeat h3 { font-size: .88rem; }
  .rfeat p { font-size: 12.5px; }
  .rfeat .ico { width: 40px; height: 40px; font-size: 16px; }
}

/* ---------- Comparison (image + table) ---------- */
.compare-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; max-width: 960px; margin: 0 auto; }
.compare-img { position: relative; }
.compare-img img { margin: 0 auto; width: 100%; max-width: 384px; }
/* Clean, borderless chart (Ultra-style): thin row dividers, soft rounded
   highlight column for Lifeboost, filled circles vs. empty rings. */
.compare table { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 17px 12px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14px; }
.compare thead th { font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); vertical-align: middle; }
.compare thead th.us { background: var(--green-tint); border-radius: 18px 18px 0 0; }
.compare thead th.us img { height: 22px; margin: 0 auto; }
.compare tbody th { text-align: left; font-weight: 700; color: var(--ink); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; }
.compare td.us { background: var(--green-tint); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare tr:last-child td.us { border-radius: 0 0 18px 18px; }
.mark { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; }
.mark.yes { background: var(--green); color: #fff; }
.mark.no { background: transparent; border: 1.5px solid #ded7cd; }
.mark.no i { display: none; }
@media (max-width: 820px) {
  .compare-grid { grid-template-columns: 1fr; gap: 0.25rem; }
  /* Product PNG carries its own whitespace; pull margins in tight */
  .compare-img { max-width: 250px; margin: -1.25rem auto -1rem; }
}
@media (max-width: 460px) {
  .compare th, .compare td { padding: 12px 6px; font-size: 12px; }
  .compare tbody th { font-size: 11px; }
  .compare thead th { font-size: 10px; }
  .compare thead th.us { min-width: 72px; }
  .compare thead th.us img { height: 14px; }
  .mark { width: 21px; height: 21px; }
}

/* ---------- Buy box (gallery + pack selector) ---------- */
.buy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; max-width: 1000px; margin: 0 auto; }
@media (max-width: 860px) { .buy-grid { grid-template-columns: 1fr; max-width: 520px; } }

.gallery { position: sticky; top: 88px; }
@media (max-width: 860px) { .gallery { position: static; } }
.gallery-main { position: relative; width: 100%; aspect-ratio: 1/1; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; padding: 8%; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-badge { position: absolute; top: 14px; left: 14px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { flex: 1; aspect-ratio: 1; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; transition: var(--ease); opacity: .7; padding: 8%; }
.thumb:hover { opacity: 1; }
.thumb.active { border-color: var(--green); opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: contain; }

.buybox .rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; }
.buybox .rating .stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.buybox h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 800; margin: 18px 0 6px; text-transform: none; }
.buybox .desc { font-size: 14.5px; color: var(--muted); }
.buy-perks { list-style: none; margin: 16px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.buy-perks li { font-size: 13.5px; display: flex; align-items: center; gap: 9px; }
.buy-perks i { color: var(--green); width: 16px; text-align: center; }

.pack-label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 10px; }
.packs { display: flex; flex-direction: column; gap: 10px; }
.pack {
  display: flex; align-items: center; gap: 14px; padding: 15px 16px; background: #fff;
  border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: var(--ease); position: relative;
}
.pack:hover { border-color: #c7d6d1; }
.pack.active { border-color: var(--green); background: var(--green-tint); }
.pack .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c3bcb3; flex-shrink: 0; position: relative; transition: var(--ease); }
.pack.active .radio { border-color: var(--green); }
.pack.active .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--green); }
.pack .info { flex: 1; }
.pack .name { font-weight: 800; font-size: 15px; }
.pack .sub { font-size: 12px; color: var(--muted); }
.pack .price { text-align: right; }
.pack .price b { font-size: 17px; font-weight: 800; display: block; }
.pack .price s { font-size: 12px; color: var(--muted); }
.pack-badge { position: absolute; top: -10px; right: 14px; background: var(--coral); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; }

.plan-toggle { display: flex; gap: 10px; margin: 18px 0; }
.plan-btn { flex: 1; border: 2px solid var(--line); background: #fff; border-radius: var(--radius); padding: 12px; cursor: pointer; text-align: center; transition: var(--ease); }
.plan-btn.active { border-color: var(--green); background: var(--green-tint); }
.plan-btn .pb-name { font-weight: 800; font-size: 13.5px; display: block; }
.plan-btn .pb-sub { font-size: 11.5px; color: var(--muted); }

/* Ultra-style tier prompt + price row + savings box */
.tier-prompt { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.tier-prompt .tp-pill { background: var(--green); color: #fff; font-size: 11.5px; padding: 5px 13px; border-radius: 999px; letter-spacing: .05em; }
.buy-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; }
#buy-btn { margin-top: 16px; }
.bs-price { display: flex; align-items: baseline; gap: 10px; }
.buy-summary .now { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--ink); }
.buy-summary .was { font-size: 1.05rem; color: var(--muted); text-decoration: line-through; }
.savings-box { background: var(--green-tint); border-radius: 12px; padding: 8px 18px; text-align: center; line-height: 1.25; flex-shrink: 0; }
.savings-box span { display: block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); }
.savings-box b { font-family: var(--font-head); font-size: 21px; color: var(--green-dark); }
.ship-note { display: flex; align-items: center; justify-content: center; gap: 9px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-top: 10px; font-size: 13.5px; box-shadow: var(--shadow-sm); }
.ship-note i, .ship-note b { color: var(--green); }
.ship-note.done { background: var(--green-tint); border-color: var(--green-tint); }
.sub-meta { display: flex; justify-content: space-between; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.reserve { margin: 16px 0 6px; }
.reserve-row { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: var(--green-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .03em; }
.reserve-bar { height: 8px; background: #e6ded5; border-radius: 999px; overflow: hidden; }
.reserve-fill { height: 100%; width: 92%; background: linear-gradient(90deg, var(--green), #1c807e); border-radius: 999px; }
.buybox .fineprint { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.buybox .fineprint i { color: var(--green); margin-right: 5px; }

/* buy detail tabs */
.buy-tabs { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.buy-tabnav { display: flex; gap: 22px; margin-bottom: 12px; }
.buy-tabnav button { background: none; border: 0; padding: 0 0 6px; font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.buy-tabnav button.active { color: var(--ink); border-color: var(--green); }
.buy-tabpane { display: none; font-size: 13.5px; color: var(--muted); }
.buy-tabpane.active { display: block; }
.buy-tabpane ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.buy-tabpane li { display: flex; gap: 8px; } .buy-tabpane li i { color: var(--green); margin-top: 3px; }

/* ---------- Full-width feature banner ---------- */
.banner { position: relative; background: var(--green-dark); color: #fff; overflow: hidden; }
.banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.banner-inner { position: relative; z-index: 1; text-align: center; padding: clamp(3rem, 8vw, 5.5rem) 20px; max-width: 780px; margin: 0 auto; }
.banner h2 { color: #fff; font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.banner p { color: rgba(255,255,255,.85); font-size: 1.08rem; margin: 16px auto 0; max-width: 52ch; }
.banner-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.banner-step { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 9px 18px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.banner-step i { color: var(--gold); margin-right: 7px; }

/* ---------- Quality cards ---------- */
.qcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 820px) { .qcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .qcards { grid-template-columns: 1fr; } }
.qcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); }
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.qcard-img { aspect-ratio: 4/3; background: var(--green-tint); overflow: hidden; }
.qcard-img img { width: 100%; height: 100%; object-fit: cover; }
.qcard-body { padding: 18px 18px 22px; }
.qcard .tags { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.qcard h3 { font-size: 1.08rem; font-weight: 800; margin: 6px 0 6px; }
.qcard p { font-size: 13.5px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1000px; margin: 0 auto clamp(2.4rem, 5vw, 3.6rem); }
@media (max-width: 860px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rev-grid { grid-template-columns: 1fr; } }
.rev-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px; }
.rev-stars { color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.rev-body { font-size: 14px; color: var(--ink); line-height: 1.55; flex: 1; }
.rev-name { font-size: 13px; font-weight: 800; }
.rev-verified { font-weight: 600; color: var(--green); font-size: 11.5px; margin-left: 6px; white-space: nowrap; }
.rev-verified i { margin-right: 3px; }

/* Professional endorsements: two rev-card-style cards with a kicker */
.pro-recs { max-width: 760px; margin: clamp(1.8rem, 4vw, 2.6rem) auto 0; text-align: center; }
.pro-recs .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.pro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; text-align: left; }
@media (max-width: 640px) { .pro-grid { grid-template-columns: 1fr; } }
.rev-cred { display: block; font-weight: 600; color: var(--green); font-size: 11.5px; margin-top: 2px; }

/* ---------- Reviews / proof ---------- */
.review-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: clamp(1.6rem, 4vw, 2.4rem); }
.review-head .big { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--green); line-height: 1; }
.review-head .stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; }
.review-head .count { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
@media (max-width: 720px) { .certs { grid-template-columns: repeat(2, 1fr); } }
.cert { text-align: center; padding: 26px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cert i { font-size: 28px; color: var(--green); }
.cert h4 { font-size: 13.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; margin-top: 12px; }
.cert p { font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.proof-quote { max-width: 660px; margin: clamp(1.8rem, 4vw, 2.6rem) auto 0; text-align: center; font-family: var(--font-head); font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.4; color: var(--green-dark); }
.proof-quote .attrib { display: block; margin-top: 14px; font-family: var(--font); font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; gap: 18px; } }
.step { text-align: center; }
.step .num { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.05rem; font-weight: 800; }
.step p { font-size: 14.5px; color: var(--muted); margin-top: 6px; }

/* ---------- Guarantee ---------- */
.guarantee { display: flex; align-items: center; gap: 22px; max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.guarantee .seal { flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; line-height: 1; text-align: center; }
.guarantee .seal b { font-size: 22px; } .guarantee .seal span { font-size: 9px; letter-spacing: .06em; margin-top: 3px; }
.guarantee h3 { font-size: 1.15rem; font-weight: 800; }
.guarantee p { font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (max-width: 520px) { .guarantee { flex-direction: column; text-align: center; } }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; text-align: left; color: var(--ink); }
.faq-q i { color: var(--green); transition: transform .2s ease; font-size: 15px; flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 4px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.finale { background: var(--green-dark); color: #fff; text-align: center; }
.finale h2 { color: #fff; font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }
.finale p { color: rgba(255,255,255,.8); max-width: 44ch; margin: 16px auto 30px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.footer { background: #0a1f28; color: rgba(255,255,255,.62); padding: clamp(2.6rem, 6vw, 4rem) 0 2rem; font-size: 13.5px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 420px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 26px; margin-bottom: 14px; opacity: .95; }
.footer-brand p { max-width: 32ch; line-height: 1.6; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--ease); }
.footer-social a:hover { background: var(--green); border-color: var(--green); }
.footer-col h4 { color: #fff; font-family: var(--font); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a { display: block; margin-bottom: 10px; color: rgba(255,255,255,.62); transition: var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 22px; text-align: center; font-size: 12px; }
.footer-bottom .disclaimer { max-width: 680px; margin: 0 auto 12px; font-size: 14px; line-height: 1.65; opacity: 1; color: rgba(255,255,255,.85); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  transform: translateY(120%); transition: transform .3s ease; box-shadow: 0 -6px 24px rgba(0,0,0,.08);
}
.sticky-bar.show { transform: translateY(0); }
.sticky-bar .price b { font-size: 18px; font-weight: 800; } .sticky-bar .price s { color: var(--muted); font-size: 13px; margin-left: 6px; }
.sticky-bar .price small { display: block; font-size: 10.5px; color: var(--green); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.sticky-bar .btn { padding: 12px 18px; font-size: 13px; white-space: nowrap; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

/* ---------- Bundle builder (roast list + steppers) ---------- */
.roasts { display: flex; flex-direction: column; gap: 10px; }
.roast-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; transition: var(--ease); }
.roast-row.chosen { border-color: var(--green); background: var(--green-tint); }
.roast-thumb { width: 46px; height: 46px; border-radius: 8px; overflow: hidden; background: var(--cream); flex-shrink: 0; padding: 3px; }
.roast-thumb img { width: 100%; height: 100%; object-fit: contain; }
.roast-info { flex: 1; min-width: 0; }
.roast-name { font-weight: 800; font-size: 14px; line-height: 1.2; }
.roast-sub { font-size: 11.5px; color: var(--muted); }
.roast-flag { display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; background: var(--coral); border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: middle; }
.stepper { display: flex; align-items: center; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 32px; height: 32px; border: 0; background: #fff; color: var(--green); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--ease); }
.stepper button:hover:not(:disabled) { background: var(--green-tint); }
.stepper button:disabled { color: #cdc6bd; cursor: not-allowed; }
.stepper .qty { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; }

/* CTA anchor: land the roast list just below the sticky header */
#select-roasts { scroll-margin-top: 84px; }

/* Phones: condense roast rows so the list + Add to Cart fit on screen */
@media (max-width: 520px) {
  .roasts { gap: 6px; }
  .roast-row { padding: 6px 10px; gap: 10px; }
  .roast-thumb { width: 34px; height: 34px; }
  .roast-name { font-size: 13px; }
  .roast-sub { font-size: 10.5px; }
  .stepper button { width: 27px; height: 27px; font-size: 14px; }
  .stepper .qty { min-width: 20px; font-size: 13px; }
  /* Keep the tier prompt ("Max savings unlocked · 30% off applied") on one line */
  .tier-prompt { flex-wrap: nowrap; white-space: nowrap; gap: 8px; font-size: 13px; }
  .tier-prompt .tp-pill { font-size: 10px; padding: 4px 10px; }
}

.bundle-progress { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.bp-row { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: var(--green-dark); margin-bottom: 8px; }
.bp-bar { height: 8px; background: #e6ded5; border-radius: 999px; overflow: hidden; }
.bp-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--green), #1c807e); border-radius: 999px; transition: width .3s ease; }
.bp-hint { font-size: 12px; color: var(--muted); margin-top: 8px; text-align: center; }
.bp-hint.ready { color: var(--green); font-weight: 700; }

.plan-label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin: 20px 0 10px; }
#buy-btn.is-disabled { opacity: .5; pointer-events: none; }

/* ============================================================
   Subtle motion
   Reveal styles are gated on html.anim (set by JS only when
   IntersectionObserver exists and reduced motion is off), so
   no-JS and reduced-motion visitors see everything instantly.
   ============================================================ */
html.anim .rv,
html.anim .rv-group > * {
  opacity: 0; transform: translateY(18px);
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
html.anim .rv.in,
html.anim .rv-group.in > * { opacity: 1; transform: none; }

/* Tier-crossing pop on the prompt pill + savings box */
@media (prefers-reduced-motion: no-preference) {
  @keyframes tier-pop { 0% { transform: scale(1); } 40% { transform: scale(1.08); } 100% { transform: scale(1); } }
  .tp-pill.pop, .savings-box.pop { animation: tier-pop .35s var(--ease-out); }

  @keyframes prompt-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
  .tier-prompt.swap { animation: prompt-in .22s ease-out; }
}

/* Smooth the ship-note done-state flip */
.ship-note { transition: background .25s ease, border-color .25s ease; }

/* Press feedback: fast enough to feel, not see */
.btn:active { transform: translateY(0) scale(0.97); transition-duration: .1s; }
.stepper button:active:not(:disabled) { transform: scale(0.9); }
