/* Java Burn — advanced edition. Coffee-derived palette: espresso, roast, ember, amber, crema, gold. */
:root {
  --espresso: #17100b;
  --roast: #2b1a12;
  --roast-soft: #4a3a2c;
  --muted: #6b5a4c;
  --ember: #d66500;
  --ember-deep: #a34c00;
  --amber: #ffb347;
  --crema: #f6ede4;
  --paper: #fffdf9;
  --gold: #ffe161;
  --gold-hover: #ffd10a;
  --gold-ink: #614f00;
  --leaf: #70c770;
  --berry: #e43b2c;
  --sky: #47b5ed;
  --maroon: #6c1c24;
  --line: #e8ddd0;
  --guide-bg: #f7f7f5;
  --dark: #232323;
  --darker: #353535;
  --nav-h: 70px;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--ember) var(--crema);
}

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--crema); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--amber), var(--ember));
  border-radius: 6px;
  border: 3px solid var(--crema);
}
::-webkit-scrollbar-thumb:hover { background: var(--ember-deep); }

::selection { background: var(--gold); color: var(--espresso); }

body {
  font-family: 'Jost', sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--roast);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Film grain over the whole artifact */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 3000;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }

a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.narrow { max-width: 950px; }
section, header { scroll-margin-top: calc(var(--nav-h) + 10px); }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--gold), var(--amber), var(--ember));
  z-index: 1200;
  box-shadow: 0 0 10px rgba(255, 179, 71, 0.7);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: 'Jost', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.25s ease;
}
.btn-warning {
  background: linear-gradient(180deg, var(--gold), #ffd84d);
  border-color: var(--gold);
  color: var(--gold-ink);
  box-shadow: 0 4px 14px rgba(214, 101, 0, 0.25);
}
.btn-warning:hover, .btn-warning:focus-visible {
  background: linear-gradient(180deg, var(--gold-hover), #ffc400);
  border-color: var(--gold-hover);
  color: #0a0800;
  box-shadow: 0 8px 24px rgba(214, 101, 0, 0.45);
  transform: translateY(-2px);
}
.btn-warning:active { transform: translateY(1px) scale(0.99); }
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: translateX(-160%) skewX(-20deg);
  transition: transform 0.7s ease;
  pointer-events: none;
}
.btn-shine:hover::after { transform: translateX(360%) skewX(-20deg); }
.btn-xl { font-size: 2.4rem; font-weight: 700; padding: 1rem 2.6rem; letter-spacing: 0.02em; }
.btn .cart-ico, .btn .arrow-ico { width: 1.4em; height: 1.4em; flex: none; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  background: linear-gradient(90deg, var(--ember-deep), var(--ember) 45%, #e8760a);
  border-bottom: 1px solid rgba(255, 225, 97, 0.25);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(23, 16, 11, 0.35); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; min-height: var(--nav-h); gap: 1rem; }
.navbar-brand a {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(23, 16, 11, 0.3);
}
.navbar-brand .tm { font-size: 0.6em; vertical-align: super; }
.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-menu .nav-link {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
}
.nav-menu .nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-menu .nav-link:hover::after, .nav-menu .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.navbar-toggler span {
  position: absolute; left: 8px;
  width: 24px; height: 2px;
  background: #ffffff; border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.navbar-toggler span:nth-child(1) { top: 12px; }
.navbar-toggler span:nth-child(2) { top: 19px; }
.navbar-toggler span:nth-child(3) { top: 19px; }
.navbar-toggler span:nth-child(4) { top: 26px; }
.navbar-toggler[aria-expanded="true"] span:nth-child(1) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] span:nth-child(2) { transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg); }
.navbar-toggler[aria-expanded="true"] span:nth-child(4) { opacity: 0; }

/* ---------- Hero stage ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  background:
    radial-gradient(120% 90% at 15% 115%, rgba(214, 101, 0, 0.55) 0%, rgba(214, 101, 0, 0) 55%),
    radial-gradient(90% 70% at 90% -10%, rgba(255, 179, 71, 0.35) 0%, rgba(255, 179, 71, 0) 60%),
    radial-gradient(70% 60% at 70% 90%, rgba(108, 28, 36, 0.5) 0%, rgba(108, 28, 36, 0) 65%),
    linear-gradient(165deg, var(--espresso) 0%, var(--roast) 60%, #3a2219 100%);
  color: var(--crema);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(620px circle at var(--mx, 50%) var(--my, 40%), rgba(255, 179, 71, 0.13), transparent 62%);
  pointer-events: none;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.glow-a { width: 420px; height: 420px; left: -120px; bottom: -140px; background: radial-gradient(circle, rgba(214, 101, 0, 0.8), transparent 70%); animation: drift-a 16s ease-in-out infinite alternate; }
.glow-b { width: 360px; height: 360px; right: -100px; top: -120px; background: radial-gradient(circle, rgba(255, 179, 71, 0.6), transparent 70%); animation: drift-b 20s ease-in-out infinite alternate; }
.glow-c { width: 300px; height: 300px; left: 45%; top: 55%; background: radial-gradient(circle, rgba(228, 59, 44, 0.35), transparent 70%); animation: drift-a 24s ease-in-out infinite alternate-reverse; }
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(90px, -60px) scale(1.15); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1.1); } to { transform: translate(-80px, 70px) scale(0.95); } }

.bean {
  position: absolute;
  width: 26px; height: 38px;
  background: linear-gradient(140deg, #6b3a1c, #3a2219);
  border-radius: 50% / 50%;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6), 0 6px 14px rgba(0, 0, 0, 0.35);
  opacity: 0.75;
  animation: bean-float 9s ease-in-out infinite;
}
.bean::after {
  content: "";
  position: absolute; left: 50%; top: 8%;
  width: 3px; height: 84%;
  background: rgba(23, 16, 11, 0.85);
  border-radius: 3px;
  transform: translateX(-50%) rotate(6deg);
}
.bean-1 { left: 6%; top: 22%; transform: rotate(-24deg); animation-delay: 0s; }
.bean-2 { left: 12%; top: 68%; transform: rotate(38deg); animation-delay: 1.4s; width: 20px; height: 30px; }
.bean-3 { right: 8%; top: 30%; transform: rotate(16deg); animation-delay: 2.6s; }
.bean-4 { right: 16%; top: 76%; transform: rotate(-40deg); animation-delay: 3.8s; width: 18px; height: 27px; }
.bean-5 { left: 46%; top: 12%; transform: rotate(64deg); animation-delay: 5s; width: 16px; height: 24px; opacity: 0.5; }
@keyframes bean-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -22px; }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}
.hero-headline {
  font-size: clamp(2.4rem, 3.9vw, 3.5rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
  color: var(--crema);
}
.hero-headline strong { color: var(--gold); font-weight: 800; }
.line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.line > span { display: inline-block; }
html.js .line > span { transform: translateY(115%); transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .hero.ready .line > span { transform: translateY(0); }
html.js .hero.ready .hero-headline .line:nth-child(1) > span { transition-delay: 0.1s; }
html.js .hero.ready .hero-headline .line:nth-child(2) > span { transition-delay: 0.22s; }
html.js .hero.ready .hero-headline .line:nth-child(3) > span { transition-delay: 0.34s; }
html.js .hero.ready .eyebrow > span { transition-delay: 0s; }
.hero-desc { font-size: 1.3rem; color: rgba(246, 237, 228, 0.85); max-width: 560px; margin-bottom: 1.6rem; }
.hero-offer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-bottom: 1.6rem; }
.offer-chip {
  background: linear-gradient(120deg, var(--berry), #b31919);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(228, 59, 44, 0.4);
}
.price-chip {
  border: 1px solid rgba(255, 225, 97, 0.5);
  background: rgba(255, 225, 97, 0.08);
  color: var(--crema);
  font-size: 1.25rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
}
.price-chip strong { color: var(--gold); font-size: 1.5rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; }
.hero-note { color: rgba(246, 237, 228, 0.7); font-size: 1.05rem; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; list-style: none; }
.hero-pills li {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(246, 237, 228, 0.85);
  border: 1px solid rgba(246, 237, 228, 0.28);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
}

.hero-stage { position: relative; display: grid; place-items: center; min-height: 440px; }
.stage-ring {
  position: absolute;
  width: min(480px, 92%);
  aspect-ratio: 1;
  border: 1px dashed rgba(255, 179, 71, 0.4);
  border-radius: 50%;
  animation: spin 46s linear infinite;
}
.stage-ring::after {
  content: "";
  position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.22), transparent 70%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.stage-img { position: relative; width: min(430px, 88%); will-change: transform; }
.stage-img img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.steam {
  position: absolute;
  bottom: 62%;
  width: 46px; height: 110px;
  background: linear-gradient(to top, rgba(246, 237, 228, 0), rgba(246, 237, 228, 0.4));
  filter: blur(12px);
  border-radius: 50%;
  opacity: 0;
  animation: rise 5.5s ease-in-out infinite;
}
.steam-1 { left: 38%; }
.steam-2 { left: 50%; animation-delay: 1.8s; }
.steam-3 { left: 60%; animation-delay: 3.4s; }
@keyframes rise {
  0% { opacity: 0; transform: translateY(30px) scaleY(0.6); }
  35% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-90px) scaleY(1.3); }
}
.seal { position: absolute; top: -6px; right: 2%; width: 116px; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.45)); }
.seal svg { width: 100%; display: block; }
.seal-disc { fill: var(--gold); }
.seal-text {
  fill: var(--espresso);
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  transform-origin: 60px 60px;
  animation: spin 18s linear infinite;
}
.seal-center { fill: var(--espresso); font-family: 'Jost', sans-serif; font-size: 27px; font-weight: 800; }
.hero-scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.1rem;
  translate: -50% 0;
  color: var(--amber);
  animation: cue 2s ease-in-out infinite;
}
.hero-scroll-cue svg { width: 26px; height: 26px; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 0.9; } 50% { transform: translateY(8px); opacity: 0.5; } }

/* ---------- Ticker ---------- */
.ticker {
  background: var(--espresso);
  border-top: 1px solid rgba(255, 225, 97, 0.2);
  border-bottom: 1px solid rgba(255, 225, 97, 0.2);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  padding: 0.85rem 0;
  animation: marquee 30s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  color: var(--gold);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-track i { color: var(--ember); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { background: var(--crema); padding: 2.8rem 0; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat + .stat { border-left: 1px solid rgba(214, 101, 0, 0.25); }
.stat-num {
  display: block;
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
}
.stat-label { display: block; color: var(--muted); font-size: 1.02rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.3rem; }

/* ---------- Orange bands ---------- */
.band {
  position: relative;
  background:
    radial-gradient(120% 150% at 50% -30%, var(--band-accent, #ffb347) 0%, rgba(255, 255, 255, 0) 52%),
    linear-gradient(95deg, var(--ember-deep), var(--ember) 48%, #c25a00);
  padding: 2.4rem 0 1.5rem;
  text-align: center;
  overflow: hidden;
}
.band h2, .band h3 {
  color: #ffffff;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(23, 16, 11, 0.3);
}
.band .band-sub { color: rgba(255, 255, 255, 0.95); font-size: 2.4rem; font-weight: 700; line-height: 1.3; margin-top: 0.8rem; }
.countdown-row { margin-top: 1rem; color: rgba(255, 255, 255, 0.92); font-size: 1.15rem; font-weight: 500; }
.countdown {
  display: inline-block;
  min-width: 7.5ch;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(23, 16, 11, 0.4);
  border: 1px solid rgba(255, 225, 97, 0.35);
  padding: 0.12rem 0.7rem;
  border-radius: 8px;
}

/* ---------- Section tints ---------- */
.tint-amber { background: radial-gradient(90% 60% at 50% 0%, rgba(255, 179, 71, 0.1), transparent 70%), var(--paper); }
.tint-leaf { background: radial-gradient(90% 60% at 50% 0%, rgba(112, 199, 112, 0.09), transparent 70%), var(--paper); }
.tint-gold { background: radial-gradient(90% 60% at 50% 0%, rgba(255, 225, 97, 0.14), transparent 70%), var(--paper); }
.tint-sky { background: radial-gradient(90% 60% at 50% 0%, rgba(71, 181, 237, 0.08), transparent 70%), var(--paper); }

/* ---------- Body copy ---------- */
.copy { padding: 2.4rem 0 2.8rem; }
.copy p { margin-bottom: 1.4rem; }
.copy p:last-child { margin-bottom: 0; }
.copy.center { text-align: center; }
.plain-image { padding: 0.5rem 0 2.4rem; background: var(--paper); text-align: center; }
.plain-image img { margin: 0 auto; width: 100%; max-width: 420px; border-radius: 14px; box-shadow: 0 18px 44px rgba(43, 26, 18, 0.18); }
.plain-image.wide img { max-width: 100%; }
.subhead { font-weight: 700; display: block; margin: 1.6rem 0 0.6rem; color: var(--roast); }
.dash-list { list-style: none; margin: 0.6rem 0 1.4rem; }
.dash-list li { padding-left: 1.6rem; position: relative; margin-bottom: 0.35rem; }
.dash-list li::before { content: "–"; position: absolute; left: 0; font-weight: 700; color: var(--ember); }

/* ---------- Trust tiles ---------- */
.trust { padding: 2.4rem 0 3rem; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.trust-card {
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem 1.2rem 1.6rem;
  box-shadow: 0 4px 14px rgba(43, 26, 18, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.trust-card:hover { transform: translateY(-6px); border-color: rgba(214, 101, 0, 0.5); box-shadow: 0 18px 40px rgba(43, 26, 18, 0.14); }
.trust-card img { width: 100%; border-radius: 10px; margin-bottom: 1rem; }
.trust-card h4 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--roast); }
.trust-card p { font-size: 1.25rem; line-height: 1.5; color: var(--roast-soft); }

/* ---------- How it works: sticky dial + steps ---------- */
.how { padding: 3rem 0 3.4rem; }
.how-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.how-sticky { position: sticky; top: calc(var(--nav-h) + 2rem); }
.how-intro { font-size: 1.3rem; color: var(--roast-soft); }
.how-dial { margin: 2rem 0 1.4rem; }
.how-dial-num {
  display: block;
  font-size: 6.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 6px 24px rgba(214, 101, 0, 0.25);
}
.how-dial-num.pulse { animation: dial-pulse 0.45s ease; }
@keyframes dial-pulse { 0% { transform: scale(0.85); opacity: 0.4; } 100% { transform: scale(1); opacity: 1; } }
.how-dial-label { display: block; font-size: 1.5rem; font-weight: 700; color: var(--roast); margin-top: 0.4rem; }
.how-dots { display: flex; gap: 0.55rem; }
.how-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(214, 101, 0, 0.25); transition: background 0.3s ease, transform 0.3s ease; cursor: pointer; }
.how-dots span.active { background: var(--ember); transform: scale(1.35); }
.step {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.step:not(.active) { opacity: 0.55; transform: scale(0.98); }
html:not(.js) .step:not(.active) { opacity: 1; transform: none; }
.step.active { opacity: 1; transform: scale(1); border-color: rgba(214, 101, 0, 0.6); box-shadow: 0 14px 34px rgba(214, 101, 0, 0.16); }
.step-num {
  flex: none;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--amber), var(--ember));
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(214, 101, 0, 0.35);
}
.step h4 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--roast); }
.step p { font-size: 1.3rem; color: var(--roast-soft); }
.how-outro { margin-top: 1.4rem; font-weight: 500; color: var(--roast); }

/* ---------- Pricing ---------- */
.pricing { padding: 2.2rem 0 1rem; background: var(--paper); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.pack-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 14px;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 6px 18px rgba(43, 26, 18, 0.1);
}
.pack-card img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; }
.pack-card:hover, .pack-card:focus-visible { --lift: -6px; box-shadow: 0 22px 48px rgba(43, 26, 18, 0.22); }
.pack-best { box-shadow: 0 10px 30px rgba(214, 101, 0, 0.25); }
.glare {
  position: absolute; inset: 0;
  border-radius: 14px;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.4), transparent 62%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.pack-card:hover .glare { opacity: 1; }
.ribbon {
  position: absolute;
  top: 16px; left: -10px;
  z-index: 2;
  background: linear-gradient(120deg, var(--berry), #b31919);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.32rem 1rem;
  transform: rotate(-6deg);
  border-radius: 4px;
  box-shadow: 0 6px 16px rgba(228, 59, 44, 0.45);
  animation: ribbon-pulse 2.4s ease-in-out infinite;
}
@keyframes ribbon-pulse { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.06); } }
.stock-warning { padding: 0.8rem 0 2.8rem; background: var(--paper); }
.stock-warning img { width: 100%; margin: 0 auto; border-radius: 6px; }

/* ---------- Reviews carousel ---------- */
.reviews { padding: 2.2rem 0 2.6rem; }
.carousel-track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.4rem 0.2rem 1.2rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--ember) transparent;
}
.carousel-track:active { cursor: grabbing; }
.carousel-track.dragging { scroll-snap-type: none; cursor: grabbing; scroll-behavior: auto; }
.carousel-track.dragging .review { pointer-events: none; }
.carousel-track::-webkit-scrollbar { height: 8px; }
.carousel-track::-webkit-scrollbar-track { background: transparent; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--ember); border-radius: 4px; }
.review-slide { flex: 0 0 min(560px, 88%); scroll-snap-align: center; }
.review {
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--ember);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  box-shadow: 0 6px 18px rgba(43, 26, 18, 0.08);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}
.review-slide.current .review { border-color: rgba(214, 101, 0, 0.6); border-left-color: var(--ember); box-shadow: 0 18px 44px rgba(214, 101, 0, 0.18); transform: translateY(-4px); }
.review-title { color: var(--ember); font-size: 1.6rem; font-weight: 700; text-align: left; margin-bottom: 0.6rem; }
.review-title .verified { color: var(--roast-soft); font-weight: 400; }
.review-title .stars { color: #e9a13b; letter-spacing: 0.12em; white-space: nowrap; display: inline-block; }
.review-slide.current .stars { animation: star-pop 0.5s ease; }
@keyframes star-pop { 0% { transform: scale(0.7); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.review p { font-size: 1.45rem; color: var(--roast); }
.review .review-loc { font-weight: 700; display: block; margin-top: 1rem; color: var(--roast); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: 0.6rem; }
.carousel-btn {
  width: 46px; height: 46px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--ember);
  background: var(--paper);
  color: var(--ember);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.carousel-btn:hover { background: var(--ember); color: #ffffff; transform: scale(1.06); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; align-items: center; gap: 0.5rem; }
.carousel-dots button {
  width: 10px; height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(214, 101, 0, 0.3);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.carousel-dots button.active { width: 28px; background: var(--ember); }

/* ---------- Benefits ---------- */
.check-list { list-style: none; }
.check-list li {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.4rem 1.2rem 4.4rem;
  margin-bottom: 1rem;
  min-height: 40px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.check-list li:hover { transform: translateX(6px); border-color: rgba(214, 101, 0, 0.5); box-shadow: 0 10px 26px rgba(43, 26, 18, 0.1); }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 1.1rem; top: 1.15rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--amber), var(--ember));
  color: #ffffff;
  border-radius: 50%;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(214, 101, 0, 0.3);
}

/* ---------- Guarantee ---------- */
.guarantee { padding: 2.6rem 0 3.2rem; }
.guarantee .container { display: flex; align-items: center; gap: 2.5rem; }
.guarantee-img { flex: 0 0 34%; position: relative; }
.guarantee-img::before {
  content: "";
  position: absolute; inset: -12%;
  background: radial-gradient(circle, rgba(255, 225, 97, 0.35), transparent 68%);
  border-radius: 50%;
}
.guarantee-img img { position: relative; width: 100%; animation: seal-bob 6s ease-in-out infinite; filter: drop-shadow(0 16px 32px rgba(43, 26, 18, 0.25)); }
@keyframes seal-bob { 0%, 100% { transform: rotate(-2deg) translateY(0); } 50% { transform: rotate(2deg) translateY(-10px); } }
.guarantee-text { flex: 1; text-align: center; }
.guarantee-text p { margin-bottom: 1.4rem; }

/* ---------- Ingredients ---------- */
.ingredients { padding: 2.6rem 0 3rem; }
.ingredient-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ingredient-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 4px 14px rgba(43, 26, 18, 0.06);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ingredient-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--ember), var(--leaf));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.ingredient-card:hover { transform: translateY(-6px); border-color: rgba(214, 101, 0, 0.5); box-shadow: 0 18px 40px rgba(43, 26, 18, 0.14); }
.ingredient-card:hover::before { transform: scaleX(1); }
.ing-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: linear-gradient(140deg, var(--amber), var(--ember));
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(214, 101, 0, 0.3);
}
.ingredient-card h4 { font-size: 1.45rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--roast); }
.ingredient-card p { font-size: 1.25rem; color: var(--roast-soft); }

/* ---------- Science sheet ---------- */
.science-sheet {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 14px;
  padding: 2.2rem;
  box-shadow: 0 14px 36px rgba(43, 26, 18, 0.1);
}
.science-sheet p { font-size: 1.35rem; }
.science-note { background: rgba(71, 181, 237, 0.08); border-radius: 8px; padding: 1rem 1.2rem; font-size: 1.15rem !important; color: var(--roast-soft); }

/* ---------- FAQ ---------- */
.faq { padding: 2.4rem 0 3.2rem; }
.faq-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 1rem;
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-card.open { border-color: rgba(214, 101, 0, 0.6); box-shadow: 0 12px 30px rgba(214, 101, 0, 0.14); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  padding: 1.1rem 1.25rem;
  font-family: 'Jost', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--roast);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease;
}
.faq-q:hover { color: var(--ember-deep); }
.faq-card.open .faq-q { color: var(--ember-deep); }
.faq-q .chevron { flex: none; width: 1.2rem; height: 1.2rem; color: var(--maroon); transition: transform 0.3s ease, color 0.3s ease; }
.faq-card.open .faq-q .chevron { transform: rotate(180deg); color: var(--ember); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s ease; }
.faq-card.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a-inner p { padding: 0 1.25rem 1.2rem; font-size: 1.45rem; color: var(--roast-soft); }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5rem 0 1rem;
  background: linear-gradient(170deg, var(--espresso) 0%, var(--roast) 45%, #7a3800 100%);
  color: var(--crema);
}
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.final-cta .container { position: relative; }
.final-cta h2 { color: var(--crema); font-size: 3.2rem; font-weight: 700; line-height: 1.15; }
.final-cta .official-img { width: 220px; margin: 2rem auto; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5)); }
.final-cta .cheaper { color: var(--gold); font-size: 3.2rem; font-weight: 700; line-height: 1.15; }
.countdown-row.light { color: rgba(246, 237, 228, 0.85); }
.today-price { background: #7a3800; text-align: center; padding: 3rem 0 1rem; }
.today-price h3 { color: var(--gold); font-size: 3.2rem; font-weight: 700; line-height: 1.15; }
.final-btn-row { background: linear-gradient(180deg, #7a3800, #5c2a00); text-align: center; padding: 1rem 0 5rem; }

/* ---------- Footer links ---------- */
.footer-links { background: var(--dark); padding: 2.5rem 0 1.5rem; }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; max-width: 950px; margin: 0 auto; }
.footer-links ul { list-style: none; }
.footer-links li { position: relative; padding-left: 1.8rem; margin-bottom: 1rem; }
.footer-links li::before { content: "•"; position: absolute; left: 0; color: var(--amber); font-weight: 700; font-size: 2rem; line-height: 1.2; }
.footer-links a { color: #ffffff; font-size: 1.6rem; text-decoration: none; transition: color 0.2s ease; }
.footer-links a:hover { text-decoration: underline; color: var(--gold); }

/* ---------- Guides ---------- */
.guides { background: var(--guide-bg); padding: 3.5rem 0; text-align: center; }
.guides h4 { color: var(--orange, var(--ember)); font-size: 2.4rem; font-weight: 700; margin-bottom: 0.4rem; }
.guides .guides-intro { max-width: 640px; margin: 0 auto 1.8rem; font-size: 1.6rem; }
.guides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 18px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.guide-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--ember));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.guide-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12); }
.guide-card:hover::before { transform: scaleX(1); }
.guide-card .guide-title { font-weight: 700; color: #1d1d1d; margin-bottom: 6px; font-size: 1.5rem; }
.guide-card .guide-desc { font-size: 14px; color: #5b5b5b; margin-bottom: 14px; line-height: 1.45; }
.guide-card .guide-link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ember); text-decoration: underline; }

/* ---------- FDA + footer ---------- */
.fda { background: var(--darker); padding: 2rem 0; }
.fda p { color: #ffffff; text-align: center; font-size: 1.1rem; line-height: 1.5; }
.site-footer { background: var(--darker); padding: 2rem 0; text-align: center; }
.site-footer p { color: #ffffff; font-size: 1.1rem; line-height: 1.6; }
.site-footer a { color: #ffffff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--gold); }

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(140deg, var(--amber), var(--ember));
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(23, 16, 11, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, filter 0.2s ease;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { filter: brightness(1.12); }
.scroll-top svg { width: 20px; height: 20px; }

/* ---------- Reveal system ---------- */
html.js [data-reveal] { transition: opacity 0.8s ease var(--d, 0s), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0s); }
html.js [data-reveal]:not(.revealed) { opacity: 0; transform: translateY(30px); }

/* ---------- Legal pages ---------- */
.legal-body { padding: calc(var(--nav-h) + 3rem) 0 4rem; }
.legal-body h1 { font-size: 2.8rem; margin-bottom: 1.6rem; color: var(--maroon); }
.legal-body h2 { font-size: 1.9rem; margin: 1.8rem 0 0.8rem; }
.legal-body p { margin-bottom: 1rem; font-size: 1.4rem; }
.legal-back { display: inline-block; margin-bottom: 1.6rem; color: var(--ember); font-weight: 700; text-decoration: none; font-size: 1.4rem; }
.legal-back:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  body { font-size: 1.4rem; }
  .band h2, .band h3 { font-size: 2.5rem; }
  .band .band-sub { font-size: 1.9rem; }
  .hero { padding-top: calc(var(--nav-h) + 2.5rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stage { min-height: 380px; }
  .hero-desc { font-size: 1.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat:nth-child(3) { border-left: 0; }
  .stat-num { font-size: 2.8rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; gap: 2rem; }
  .how-sticky { position: static; }
  .how-dial { display: flex; align-items: baseline; gap: 1.2rem; margin: 1.4rem 0 1rem; }
  .how-dial-num { font-size: 4rem; }
  .ingredient-grid { grid-template-columns: repeat(2, 1fr); }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta h2, .final-cta .cheaper, .today-price h3 { font-size: 2.5rem; }
  .btn-xl { font-size: 1.9rem; }
  .review p, .faq-q, .faq-a-inner p, .footer-links a { font-size: 1.4rem; }
  .navbar-toggler { display: block; }
  .nav-menu {
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: linear-gradient(180deg, var(--ember), var(--ember-deep));
    padding: 0.5rem 15px 1.2rem;
    box-shadow: 0 12px 24px rgba(23, 16, 11, 0.35);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { text-align: center; }
  .nav-menu .nav-link { display: block; padding: 0.7rem 0; font-size: 1.5rem; }
  .nav-menu .nav-link::after { display: none; }
  .nav-menu .btn { margin-top: 0.6rem; }
}

@media (max-width: 768px) {
  .band h2, .band h3 { font-size: 2rem; }
  .band .band-sub { font-size: 1.6rem; }
  .hero-headline { font-size: clamp(2.1rem, 8vw, 2.8rem); }
  .hero-stage { min-height: 320px; }
  .seal { width: 92px; top: -4px; right: 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .guarantee .container { flex-direction: column; gap: 1.5rem; }
  .guarantee-img { flex: none; width: 70%; max-width: 300px; margin: 0 auto; }
  .footer-links-grid { grid-template-columns: 1fr; gap: 0; }
  .final-cta h2, .final-cta .cheaper, .today-price h3 { font-size: 1.9rem; }
  .btn-xl { font-size: 1.5rem; padding: 0.9rem 1.6rem; }
  .review { padding: 1.4rem 1.3rem; }
  .review-slide { flex-basis: 92%; }
  .check-list li { padding-left: 4rem; }
  .ingredient-grid { grid-template-columns: 1fr; }
  .science-sheet { padding: 1.5rem; }
  .hero-scroll-cue { display: none; }
}

@media (max-width: 576px) {
  .trust-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .guides-grid { grid-template-columns: 1fr; }
  .navbar-brand a { font-size: 1.6rem; }
  .navbar .btn { white-space: nowrap; font-size: 1.15rem; padding: 0.6rem 1.1rem; }
  .stats-grid { gap: 1.4rem 0.6rem; }
  .stat-num { font-size: 2.3rem; }
  .stat-label { font-size: 0.85rem; }
  .hero-offer-row { gap: 0.6rem; }
  .offer-chip, .price-chip { font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html.js [data-reveal]:not(.revealed) { opacity: 1; transform: none; }
  html.js .line > span { transform: none; }
  .ticker-track { animation: none; width: auto; flex-wrap: wrap; }
}