/* ============================================
   GLP-1 FAST Melts — Brand CSS (v10)
   Matches Next.js source tokens exactly
   ============================================ */

:root {
  --fm-cream: #FAF7F2;
  --fm-cream-deep: #F2EDE3;
  --fm-cream-border: #E8E0D0;
  --fm-caramel: #C8843A;
  --fm-caramel-dark: #9E6420;
  --fm-caramel-pale: #FDF3E3;
  --fm-ink: #1A1208;
  --fm-ink-mid: #6B3A1F;
  --fm-ink-light: #9A7A60;
  --fm-choc: #1A1208;
  --fm-choc-mid: #3D1F0A;
  --fm-honey: #D4A017;
  --fm-cta: #9E4420;
  --fm-cta-hover: #7A3010;
  --fm-success: #2E7D32;
  --fm-danger: #C0392B;

  --fm-serif: 'Cormorant Garamond', Georgia, serif;
  --fm-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --fm-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body:has(.fm-nav) header.site-header,
body:has(.fm-nav) footer.site-footer,
body:has(.fm-nav) .site-header,
body:has(.fm-nav) .site-footer { display: none !important; }
/* Theme-builder header/footer must render — ensure visibility */
body:has(.fm-nav) .elementor-location-header,
body:has(.fm-nav) .elementor-location-footer { display: block !important; }

body:has(.fm-nav) {
  background: #F5F2EE;
  color: var(--fm-ink);
  font-family: var(--fm-sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
  padding-bottom: 80px;
}
body:has(.fm-nav) * { box-sizing: border-box; }
body:has(.fm-nav) a { color: inherit; text-decoration: none; transition: color .3s; }
body:has(.fm-nav) img, body:has(.fm-nav) video { max-width: 100%; height: auto; display: block; }

body:has(.fm-nav) .elementor-section > .elementor-container { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }
body:has(.fm-nav) .elementor-widget-html { margin: 0 !important; padding: 0 !important; }
body:has(.fm-nav) .elementor-widget-wrap { padding: 0 !important; }
body:has(.fm-nav) .elementor-column { padding: 0 !important; }

.fm-container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .fm-container { padding: 0 2rem; } }
@media (min-width: 1024px) { .fm-container { padding: 0 3rem; } }

.fm-display, .fm-serif { font-family: var(--fm-serif); font-weight: 700; letter-spacing: -0.01em; }
.fm-center { text-align: center; }

.fm-h2 {
  font-family: var(--fm-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fm-ink);
  margin: 0 0 1rem;
}
.fm-h2 em { font-style: italic; color: var(--fm-caramel); font-weight: 700; }

.fm-lead { font-size: 18px; line-height: 1.7; color: var(--fm-ink-mid); max-width: 640px; margin: 0 auto; }

.fm-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fm-caramel-dark);
  background: var(--fm-caramel-pale);
  border: 1px solid rgba(200,132,58,0.3);
  padding: .375rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.fm-micro { font-size: 13px; color: var(--fm-ink-mid); margin: 0; }

/* Animations */
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% - var(--gap, 3rem))); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
@keyframes pulse-border { 0%,100% { box-shadow: 0 0 0 0 rgba(200,132,58,0.45); } 50% { box-shadow: 0 0 0 10px rgba(200,132,58,0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes float-product { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.fm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--fm-ease), transform .8s var(--fm-ease); }
.fm-reveal.is-visible { opacity: 1; transform: none; }

.fm-shimmer {
  background: linear-gradient(90deg, var(--fm-caramel) 0%, #E8B57D 50%, var(--fm-caramel) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 4s linear infinite;
}

/* ============================================
   Top Announcement Bar
   ============================================ */
.fm-announce {
  background: var(--fm-ink);
  color: var(--fm-cream);
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  position: relative;
  z-index: 60;
}
.fm-announce-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 400;
}
.fm-announce-inner strong { font-weight: 700; }
.fm-announce-icon { color: var(--fm-caramel); flex-shrink: 0; }

/* ============================================
   Navigation
   ============================================ */
.fm-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fm-cream-border);
  padding: 14px 0;
}
.fm-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.fm-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--fm-ink); }
.fm-logo-circle {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--fm-caramel) 0%, var(--fm-caramel-dark) 100%);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--fm-serif); font-weight: 700; font-size: 22px;
  box-shadow: 0 6px 14px rgba(200,132,58,0.28);
  flex-shrink: 0;
}
.fm-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.fm-brand-title { font-family: var(--fm-serif); font-size: 20px; font-weight: 700; color: var(--fm-ink); }
.fm-brand-title em { color: var(--fm-caramel); font-style: italic; }
.fm-brand-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fm-ink-mid); margin-top: 3px; }

.fm-nav-links { display: none; gap: 2rem; }
@media (min-width: 1024px) { .fm-nav-links { display: flex; } }
.fm-nav-links a { font-size: 15px; font-weight: 500; color: var(--fm-ink-mid); }
.fm-nav-links a:hover { color: var(--fm-caramel); }

.fm-nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--fm-ink); color: var(--fm-cream) !important;
  padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: background .3s, transform .3s;
}
.fm-nav-cta:hover { background: var(--fm-caramel); transform: translateY(-1px); color: #fff !important; }
.fm-nav-cta svg { color: var(--fm-cream); }

/* ============================================
   Buttons
   ============================================ */
.fm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 0; cursor: pointer;
  transition: transform .3s var(--fm-ease), box-shadow .3s var(--fm-ease), background .3s;
  text-align: center;
}
.fm-btn-primary { background: linear-gradient(135deg, var(--fm-cta) 0%, var(--fm-cta-hover) 100%); color: #fff; box-shadow: 0 8px 20px rgba(158,68,32,0.25); }
.fm-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(158,68,32,0.35); color: #fff; }
.fm-btn-ghost { background: transparent; color: var(--fm-caramel-dark); border: 2px solid var(--fm-caramel); }
.fm-btn-ghost:hover { background: var(--fm-caramel); color: #fff; transform: translateY(-2px); }
.fm-btn-gold { background: linear-gradient(135deg, var(--fm-caramel) 0%, var(--fm-caramel-dark) 100%); color: #fff; box-shadow: 0 10px 24px rgba(200,132,58,0.35); }
.fm-btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(200,132,58,0.45); color: #fff; }

/* ============================================
   Hero
   ============================================ */
.fm-hero { position: relative; padding: 60px 0 80px; background: #F5F2EE; overflow: hidden; }
.fm-hero::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: var(--fm-caramel-pale);
  opacity: .3;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.fm-hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .fm-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; } }

.fm-hero h1 {
  font-family: var(--fm-serif);
  font-size: clamp(48px, 6vw, 74px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--fm-ink);
  margin: 0 0 24px;
}
.fm-hero h1 em {
  font-style: italic;
  background: linear-gradient(90deg, var(--fm-caramel) 0%, #E8B57D 50%, var(--fm-caramel) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
  font-weight: 700;
}
.fm-hero .lead { font-size: 15px; line-height: 1.65; color: var(--fm-ink-mid); margin: 0 0 24px; max-width: 540px; }

.fm-badge {
  display: inline-flex; align-items: center;
  background: var(--fm-caramel-pale);
  color: var(--fm-caramel-dark);
  border: 1px solid rgba(200,132,58,0.3);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: .5rem 1.125rem;
  border-radius: 999px;
  margin-bottom: 16px;
  animation: pulse-border 2.5s ease-in-out infinite;
}
.fm-badge svg { color: var(--fm-caramel); }

.fm-stars { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; font-size: 15px; }
.fm-stars > span:first-child { color: var(--fm-caramel); letter-spacing: 2px; font-size: 16px; }
.fm-stars-label { color: var(--fm-ink-mid); }
.fm-stars-label strong { color: var(--fm-ink); font-weight: 600; }

.fm-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 12px; }

.fm-hero-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; max-width: 520px; margin-top: 16px; }
.fm-stat { background: #fff; border: 1px solid rgba(26,18,8,0.08); border-radius: 12px; padding: 14px 12px; text-align: center; }
.fm-stat .num { font-family: var(--fm-serif); font-size: 24px; font-weight: 700; color: var(--fm-ink); line-height: 1; }
.fm-stat .sub { font-size: 11px; color: var(--fm-ink-mid); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }

/* Hero product image (replacing scroll animation) */
.fm-hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.fm-hero-visual #fm-hero-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(61,31,10,0.22));
  animation: float-product 6s ease-in-out infinite;
}

/* Legacy purchase card styles kept for other usages */
.fm-tabs { display: flex; gap: 8px; margin-bottom: 16px; }
.fm-tab { flex: 1; padding: 10px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: transparent; color: var(--fm-ink-light); border: 1px solid var(--fm-cream-border); cursor: pointer; transition: all .3s; }
.fm-tab:hover { border-color: var(--fm-caramel); }
.fm-tab.active { background: var(--fm-caramel-pale); color: var(--fm-caramel-dark); border-color: var(--fm-caramel); }

.fm-hero-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 64px rgba(61,31,10,0.1); }
.fm-card-img { width: 100%; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.fm-card-img.caramel { background: linear-gradient(145deg, #FDF3E3, #F5DDB5); }
.fm-card-img.chocolate { background: linear-gradient(145deg, #2A1208, #4A2510); }
.fm-card-img.honey { background: linear-gradient(145deg, #FEF7DC, #F5E48A); }
.fm-card-body { padding: 22px; }
.fm-card-body h3 { font-family: var(--fm-serif); font-size: 24px; font-weight: 700; color: var(--fm-ink); margin: 0 0 4px; }
.fm-card-body .tagline { font-size: 15px; color: var(--fm-caramel-dark); margin: 0 0 16px; }
.fm-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.fm-chip { font-size: 12px; padding: 5px 12px; border-radius: 999px; background: var(--fm-cream-deep); color: var(--fm-ink-mid); border: 1px solid var(--fm-cream-border); }
.fm-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fm-price { font-family: var(--fm-serif); font-size: 30px; font-weight: 700; color: var(--fm-ink); line-height: 1; }
.fm-price small { font-size: 14px; color: var(--fm-ink-mid); font-weight: 400; margin-left: 2px; }
.fm-price-sub { font-size: 12px; color: var(--fm-ink-mid); margin-top: 4px; }

/* ============================================
   Trust Bar
   ============================================ */
.fm-trust { background: var(--fm-ink); padding: 16px 0; overflow: hidden; }
.fm-trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 40px; align-items: center; }
.fm-trust-item { display: inline-flex; align-items: center; gap: 8px; color: rgba(250,247,242,0.75); font-size: 14px; font-weight: 500; white-space: nowrap; }
.fm-trust-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--fm-caramel); display: inline-block; }

/* ============================================
   Generic sections
   ============================================ */
.fm-section { padding: 80px 0; position: relative; overflow: hidden; }
@media (min-width: 768px) { .fm-section { padding: 120px 0; } }
.fm-section--light { background: #fff; }
.fm-section--cream { background: linear-gradient(180deg, var(--fm-cream) 0%, var(--fm-cream-deep) 100%); }
.fm-section--dark { background: var(--fm-ink); color: var(--fm-cream); }
.fm-section--dark .fm-h2 { color: var(--fm-cream); }
.fm-section--dark .fm-lead { color: rgba(250,247,242,0.75); }
.fm-section--dark .fm-eyebrow { background: rgba(200,132,58,0.15); color: var(--fm-caramel); border-color: rgba(200,132,58,0.3); }

.fm-grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 700px) { .fm-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .fm-grid-3 { grid-template-columns: repeat(3, 1fr); } }

.fm-grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 900px) { .fm-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.fm-card { background: var(--fm-cream-deep); border: 1px solid var(--fm-cream-border); border-radius: 20px; padding: 28px; transition: transform .4s var(--fm-ease), box-shadow .4s var(--fm-ease); }
.fm-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(26,18,8,0.08); }
.fm-card h3 { font-family: var(--fm-serif); font-size: 22px; font-weight: 700; color: var(--fm-ink); margin: 0 0 10px; }
.fm-card p { color: var(--fm-ink-mid); font-size: 15px; line-height: 1.65; margin: 0; }

.fm-icon-box { width: 56px; height: 56px; border-radius: 14px; background: var(--fm-caramel-pale); color: var(--fm-caramel); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px; }
.fm-step-num { font-family: var(--fm-serif); font-size: 56px; font-weight: 700; color: var(--fm-caramel); line-height: 1; margin-bottom: 16px; opacity: .9; }

/* Tables */
.fm-tbl-wrap { overflow-x: auto; border-radius: 16px; background: #fff; border: 1px solid var(--fm-cream-border); }
.fm-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.fm-tbl th, .fm-tbl td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--fm-cream-border); }
.fm-tbl th { background: var(--fm-cream-deep); color: var(--fm-ink); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.fm-tbl tr:last-child td { border-bottom: 0; }
.fm-tbl td { color: var(--fm-ink-mid); }
.fm-tbl td strong { color: var(--fm-ink); }

/* Comparison */
.fm-vs { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 32px rgba(26,18,8,0.06); font-size: 14px; }
.fm-vs th, .fm-vs td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--fm-cream-border); }
.fm-vs th:first-child, .fm-vs td:first-child { text-align: left; font-weight: 500; color: var(--fm-ink); }
.fm-vs thead th { background: var(--fm-cream-deep); color: var(--fm-ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.fm-vs th.fm-us, .fm-vs td.fm-us { background: var(--fm-caramel-pale); color: var(--fm-caramel-dark); font-weight: 700; }
.fm-vs td.yes { color: var(--fm-success); font-weight: 600; }
.fm-vs td.no  { color: var(--fm-danger); font-weight: 600; }

/* Quotes */
.fm-quote { background: #fff; border: 1px solid var(--fm-cream-border); border-radius: 20px; padding: 28px; box-shadow: 0 8px 24px rgba(26,18,8,0.04); }
.fm-quote blockquote { margin: 0 0 16px; color: var(--fm-ink); font-size: 15px; line-height: 1.7; font-style: normal; }
.fm-quote cite { display: block; font-size: 13px; color: var(--fm-ink-mid); font-style: normal; }

/* Pricing */
.fm-pricing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 1100px; margin: 0 auto; align-items: stretch; }
@media (min-width: 900px) { .fm-pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.fm-plan { position: relative; background: #fff; border: 1px solid var(--fm-cream-border); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.fm-plan:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(26,18,8,0.1); }
.fm-plan h3 { font-family: var(--fm-serif); font-size: 22px; font-weight: 700; color: var(--fm-ink); margin: 0 0 4px; }
.fm-plan .pmo { font-family: var(--fm-serif); font-size: 48px; font-weight: 700; color: var(--fm-ink); margin: 16px 0 0; line-height: 1; }
.fm-plan .pmo small { font-size: 16px; font-weight: 400; color: var(--fm-ink-mid); margin-left: 4px; }
.fm-plan .crossed { color: var(--fm-ink-light); font-size: 13px; text-decoration: line-through; margin-bottom: 20px; }
.fm-plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fm-plan li { font-size: 14px; color: var(--fm-ink-mid); padding-left: 26px; position: relative; }
.fm-plan li::before { content: 'check'; font-size: 0; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: var(--fm-caramel-pale); color: var(--fm-caramel); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.fm-plan li::after { content: ''; position: absolute; left: 5px; top: 4px; width: 4px; height: 8px; border-right: 2px solid var(--fm-caramel); border-bottom: 2px solid var(--fm-caramel); transform: rotate(45deg); }
.fm-plan.featured { background: var(--fm-ink); border: 2px solid var(--fm-caramel); transform: scale(1.02); box-shadow: 0 24px 48px rgba(200,132,58,0.18); }
.fm-plan.featured h3, .fm-plan.featured .pmo { color: var(--fm-cream); }
.fm-plan.featured p, .fm-plan.featured .pmo small, .fm-plan.featured li { color: rgba(250,247,242,0.75); }
.fm-plan.featured .crossed { color: rgba(250,247,242,0.45); }
.fm-plan.featured li::before { background: rgba(200,132,58,0.2); }
.fm-plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--fm-caramel); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; letter-spacing: 0.05em; text-transform: uppercase; }

/* Urgency */
.fm-urgency { background: var(--fm-caramel-pale); border: 1px solid rgba(200,132,58,0.3); border-radius: 20px; padding: 24px 28px; text-align: center; }
.fm-urgency .pill { display: inline-block; background: var(--fm-caramel); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }

/* FAQ */
.fm-faq { max-width: 840px; margin: 0 auto; background: #fff; border: 1px solid var(--fm-cream-border); border-radius: 20px; padding: 8px 28px; }
.fm-faq details { border-bottom: 1px solid var(--fm-cream-border); padding: 4px 0; }
.fm-faq details:last-child { border-bottom: 0; }
.fm-faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 17px; color: var(--fm-ink); display: flex; justify-content: space-between; align-items: center; transition: color .3s; }
.fm-faq summary::-webkit-details-marker { display: none; }
.fm-faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--fm-ink-mid); border-bottom: 2px solid var(--fm-ink-mid); transform: rotate(45deg); transition: transform .3s; margin-left: 16px; flex-shrink: 0; }
.fm-faq summary:hover { color: var(--fm-caramel); }
.fm-faq details[open] summary { color: var(--fm-caramel); }
.fm-faq details[open] summary::after { transform: rotate(-135deg); border-color: var(--fm-caramel); }
.fm-faq p { padding: 0 0 22px; margin: 0; color: var(--fm-ink-mid); line-height: 1.7; font-size: 15px; }

/* Final CTA */
.fm-final { padding: 100px 0; background: linear-gradient(135deg, var(--fm-ink) 0%, var(--fm-choc-mid) 100%); text-align: center; position: relative; overflow: hidden; }
.fm-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(200,132,58,0.15), transparent 50%), radial-gradient(circle at 70% 60%, rgba(200,132,58,0.1), transparent 50%); animation: float 8s ease-in-out infinite; }
.fm-final > .fm-container { position: relative; z-index: 2; }

/* Footer */
.fm-footer { background: var(--fm-ink); color: var(--fm-cream); padding: 60px 0 30px; }
.fm-footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .fm-footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; padding: 0 2rem; } }
.fm-footer h4 { color: var(--fm-caramel); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 14px; font-weight: 700; }
.fm-footer a { display: block; color: rgba(250,247,242,0.7); font-size: 14px; padding: 4px 0; }
.fm-footer a:hover { color: var(--fm-caramel); }
.fm-footer-legal { max-width: 1280px; margin: 30px auto 0; padding: 24px 1.5rem 0; border-top: 1px solid rgba(250,247,242,0.1); color: rgba(250,247,242,0.5); font-size: 12px; line-height: 1.6; text-align: center; }
@media (min-width: 768px) { .fm-footer-legal { padding-left: 2rem; padding-right: 2rem; } }

/* Sticky */
.fm-sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: rgba(26,18,8,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-top: 1px solid rgba(200,132,58,0.3); padding: 12px 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; transform: translateY(100%); opacity: 0; transition: transform .5s var(--fm-ease), opacity .5s; }
.fm-sticky.show { transform: translateY(0); opacity: 1; }
.fm-sticky .label { color: var(--fm-cream); font-size: 13px; line-height: 1.3; }
.fm-sticky .label strong { display: block; font-family: var(--fm-serif); font-size: 15px; font-weight: 700; color: var(--fm-cream); margin-bottom: 2px; }

/* Responsive */
@media (max-width: 767px) {
  .fm-section { padding: 64px 0; }
  .fm-hero { padding: 40px 0 60px; }
  .fm-hero-stats { grid-template-columns: repeat(3,1fr); gap: 8px; }
  .fm-stat { padding: 10px 6px; }
  .fm-stat .num { font-size: 20px; }
  .fm-stat .sub { font-size: 10px; }
  .fm-announce-inner { font-size: 13px; padding: 0 12px; }
  .fm-brand-sub { display: none; }
}

/* ============================================
   Ingredient Explorer (interactive tabs)
   ============================================ */
.fm-ing-explorer { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .fm-ing-explorer { grid-template-columns: 2fr 3fr; gap: 2rem; } }

.fm-ing-tabs { display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 1023px) { .fm-ing-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; } .fm-ing-tabs::-webkit-scrollbar { display: none; } }

.fm-ing-tab {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: #f9f7f3;
  border: 2px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  transition: all .3s var(--fm-ease);
  flex-shrink: 0;
}
.fm-ing-tab:hover { background: #f3ede4; }
.fm-ing-tab.is-active { background: #fff; border-color: var(--fm-caramel); box-shadow: 0 6px 14px rgba(200,132,58,0.12); }

.fm-ing-tab-ico { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.fm-ing-tab-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fm-ing-tab-name { margin: 0; font-size: 15px; font-weight: 600; color: var(--fm-ink); line-height: 1.2; }
.fm-ing-tab-role { margin: 0; font-size: 12px; color: var(--fm-ink-mid); line-height: 1.2; }

.fm-ing-detail { position: relative; }
.fm-ing-panel { display: none; padding: 32px; border-radius: 24px; background: linear-gradient(135deg, #E8F4F4 0%, #ffffff 60%); border: 1px solid #DCEDED; box-shadow: 0 16px 40px rgba(26,18,8,0.06); }
.fm-ing-panel.is-active { display: block; animation: fadeUp .5s var(--fm-ease); }
@media (min-width: 768px) { .fm-ing-panel { padding: 40px; } }

.fm-ing-panel-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.fm-ing-panel-ico { width: 64px; height: 64px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 28px; color: #fff; flex-shrink: 0; }
.fm-ing-panel-head h3 { margin: 0; font-family: var(--fm-serif); font-size: 26px; font-weight: 700; color: var(--fm-ink); line-height: 1.1; }
@media (min-width: 768px) { .fm-ing-panel-head h3 { font-size: 30px; } }
.fm-ing-panel-head .fm-ing-role { margin: 4px 0 0; color: var(--fm-caramel-dark); font-weight: 500; font-size: 15px; }
.fm-ing-desc { font-size: 17px; line-height: 1.65; color: var(--fm-ink-mid); margin: 0 0 24px; }

.fm-ing-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.ingredient-pill { display: inline-block; background: #fff; border: 1px solid var(--fm-cream-border); color: var(--fm-ink); font-size: 13px; font-weight: 500; padding: 6px 14px; border-radius: 999px; }

.fm-ing-studies { padding-top: 20px; border-top: 1px solid rgba(26,18,8,0.1); }
.fm-ing-studies p { margin: 0 0 10px; font-size: 13px; color: var(--fm-ink-mid); }
.fm-ing-studies div { display: flex; flex-wrap: wrap; gap: 14px; }
.fm-ing-studies a { font-size: 13px; color: #9E6420; font-weight: 500; text-decoration: underline; }
.fm-ing-studies a:hover { color: var(--fm-caramel); }

/* ============================================
   Formula Table (Meet the FAST Melts Formula)
   ============================================ */
.fm-itbl { max-width: 960px; margin: 0 auto; border-radius: 20px; overflow: hidden; border: 1px solid rgba(250,247,242,0.1); background: rgba(250,247,242,0.03); }
.fm-itbl-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(250,247,242,0.1);
  background: rgba(250,247,242,0.04);
}
@media (min-width: 640px) { .fm-itbl-head { grid-template-columns: 5fr 4fr 3fr; align-items: center; } }
.fm-itbl-head > div { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(250,247,242,0.7); }
@media (min-width: 640px) { .fm-itbl-head .fm-itbl-c2 { text-align: center; color: var(--fm-caramel); } .fm-itbl-head .fm-itbl-c3 { text-align: right; } }

.fm-itbl-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(250,247,242,0.05);
  align-items: center;
  transition: background .3s;
}
@media (min-width: 640px) { .fm-itbl-row { grid-template-columns: 5fr 4fr 3fr; gap: 16px; } }
.fm-itbl-row:last-child { border-bottom: 0; }
.fm-itbl-row:hover { background: rgba(250,247,242,0.05); }

.fm-itbl-ing { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fm-itbl-ico { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.fm-itbl-name { margin: 0; font-size: 14px; font-weight: 600; color: var(--fm-cream); line-height: 1.2; }
.fm-itbl-cmp { margin: 2px 0 0; font-size: 11px; color: rgba(250,247,242,0.65); text-transform: uppercase; letter-spacing: 0.08em; line-height: 1.2; }

.fm-itbl-c2 { text-align: left; }
@media (min-width: 640px) { .fm-itbl-c2 { text-align: center; } }
.fm-itbl-pill { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(200,132,58,0.2); color: var(--fm-caramel); border: 1px solid rgba(200,132,58,0.2); }

.fm-itbl-c3 { font-size: 14px; color: rgba(250,247,242,0.9); }
@media (min-width: 640px) { .fm-itbl-c3 { text-align: right; } }

/* ============================================
   Trust Bar Marquee
   ============================================ */
.fm-trust-mq { background: var(--fm-ink); padding: 14px 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.fm-trust-mq-inner { display: flex; --gap: 3rem; gap: var(--gap); }
.fm-trust-mq-track { display: flex; flex-shrink: 0; gap: var(--gap); animation: marquee 25s linear infinite; }
.fm-trust-mq .fm-trust-item { color: rgba(250,247,242,0.72); font-size: 14px; font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.fm-trust-mq .fm-trust-ico { color: var(--fm-caramel); font-size: 15px; line-height: 1; }

/* ============================================
   Comparison chip (check / x)
   ============================================ */
.fm-vs td.fm-us { background: rgba(46,125,125,0.08); color: var(--fm-success); font-weight: 600; }
.fm-vs td.fm-us.yes, .fm-vs td:not(.fm-us):not(:first-child) { color: var(--fm-ink-mid); }
.fm-chk { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; line-height: 1; }
.fm-chk-yes { background: rgba(46,125,50,0.15); color: var(--fm-success); }
.fm-chk-no { background: rgba(192,57,43,0.12); color: var(--fm-danger); }

/* ============================================
   Footer subscribe form
   ============================================ */
.fm-sub-form { display: flex; gap: 8px; align-items: stretch; }
.fm-sub-input { flex: 1; min-width: 0; background: rgba(250,247,242,0.05); border: 1px solid rgba(250,247,242,0.1); border-radius: 999px; padding: 10px 16px; font-size: 13px; color: var(--fm-cream); outline: none; transition: border-color .3s; font-family: inherit; }
.fm-sub-input::placeholder { color: rgba(250,247,242,0.5); }
.fm-sub-input:focus { border-color: rgba(200,132,58,0.5); }
.fm-sub-btn { padding: 10px 18px !important; font-size: 13px !important; border-radius: 999px !important; flex-shrink: 0; }

/* v14-entrance-reveal */
.fm-reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1); transition-delay: var(--fm-reveal-delay, 0ms); will-change: opacity, transform; }
.fm-reveal.fm-reveal-left { transform: translate3d(-32px, 0, 0); }
.fm-reveal.fm-reveal-right { transform: translate3d(32px, 0, 0); }
.fm-reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  .fm-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
/* v13-button-color-fix */
body .fm-btn-primary, body a.fm-btn-primary, body .fm-btn-gold, body a.fm-btn-gold { color:#fff !important; }
body .fm-btn-ghost, body a.fm-btn-ghost { color: var(--fm-caramel-dark) !important; }
body .fm-btn-ghost:hover, body a.fm-btn-ghost:hover { color:#fff !important; }
body .fm-nav-cta, body a.fm-nav-cta { color: var(--fm-cream) !important; }
/* v13-billing-switch */
.fm-bill-switch { position:relative; display:inline-flex; padding:4px; border-radius:999px; background:#f3efe8; border:1px solid #e7dfd1; isolation:isolate; }
.fm-bill-switch .fm-bill-opt { position:relative; z-index:2; display:inline-flex; align-items:center; gap:6px; padding:10px 22px; height:44px; border:0; background:transparent; cursor:pointer; font:600 14px/1 var(--fm-sans); color:var(--fm-ink-mid); border-radius:999px; transition: color .25s ease; }
.fm-bill-switch .fm-bill-opt.is-active { color:#fff; }
.fm-bill-switch .fm-bill-opt small { font-size:11px; font-weight:500; opacity:.85; }
.fm-bill-switch .fm-bill-thumb { position:absolute; z-index:1; top:4px; bottom:4px; left:4px; width:calc(50% - 4px); background:var(--fm-ink); border-radius:999px; box-shadow:0 2px 6px rgba(0,0,0,.15); transition: transform .35s cubic-bezier(.4,0,.2,1); }
.fm-bill-switch:has(.fm-bill-opt[data-bill="subscribe"].is-active) .fm-bill-thumb { transform: translateX(100%); }
.fm-price-row { display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; margin:14px 0 8px; }
.fm-perday { font: 500 14px/1 var(--fm-sans); color: var(--fm-ink-mid); }
.fm-plan.featured .fm-perday { color: rgba(250,247,242,0.75); }
.fm-pricing-grid .pmo { margin:0; }

/* v15-pricing-ingredients */
.fm-plan-supply { color:var(--fm-ink-mid); font-size:13px; margin:0; }
.fm-plan-bestfor { color:var(--fm-ink-mid); font-size:13px; font-style:italic; margin:8px 0 0; line-height:1.5; }
.fm-plan-savings-row { margin:14px 0 4px; }
.fm-plan-savings { display:inline-block; padding:4px 10px; border-radius:999px; background:rgba(46,125,50,0.12); color:#2e7d32; font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.fm-plan-savings.fm-plan-savings-gold { background:rgba(212,158,86,0.15); color:var(--fm-caramel-dark); }
.fm-plan.featured .fm-plan-savings { background:rgba(255,255,255,0.18); color:#fff; }
.fm-plan-badge { letter-spacing:.08em; }
/* v16b-featured-and-switch */
/* Featured plan — caramel-pale tint + caramel ring, dark text (match Next.js) */
body .fm-plan.featured { background: rgba(244,229,205,0.35) !important; color: var(--fm-ink) !important; border: 2px solid var(--fm-caramel) !important; box-shadow: 0 12px 32px rgba(212,158,86,0.18) !important; }
body .fm-plan.featured h3,
body .fm-plan.featured .fm-plan-supply,
body .fm-plan.featured .fm-plan-bestfor,
body .fm-plan.featured ul li,
body .fm-plan.featured .fm-price,
body .fm-plan.featured .pmo small { color: var(--fm-ink) !important; }
body .fm-plan.featured .fm-plan-supply,
body .fm-plan.featured .fm-plan-bestfor,
body .fm-plan.featured .fm-perday { color: var(--fm-ink-mid) !important; }
body .fm-plan.featured .fm-plan-savings { background: rgba(212,158,86,0.2) !important; color: var(--fm-caramel-dark) !important; }
body .fm-plan.featured .fm-plan-badge { background: var(--fm-caramel) !important; color: #fff !important; }

/* Billing switch — drop fixed-width thumb, let active button carry its own ink pill */
.fm-bill-switch .fm-bill-thumb { display: none !important; }
.fm-bill-switch .fm-bill-opt { background: transparent; transition: background .25s ease, color .25s ease; }
.fm-bill-switch .fm-bill-opt.is-active { background: var(--fm-ink) !important; color: #fff !important; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.fm-bill-switch .fm-bill-opt small { font-size: 11px; font-weight: 500; opacity: .85; margin-left: 4px; }

/* v15b-science-gradient */
#results.fm-section, section#results { background: radial-gradient(at 50% 30%, #4a2510 0%, #1a1208 70%, #0f0905 100%) !important; color: var(--fm-cream); }
.fm-final { background: radial-gradient(at 50% 30%, #4a2510 0%, #1a1208 70%, #0f0905 100%) !important; }
/* v15-ingredients-detail */
.fm-ing-detail { background: linear-gradient(135deg, var(--fm-teal-ghost, #e6f2f0) 0%, #ffffff 100%); border:1px solid var(--fm-teal-pale, #cfe5e0); border-radius:24px; padding:32px; box-shadow:0 10px 25px rgba(26,18,8,0.08); }
@media (min-width:768px) { .fm-ing-detail { padding:40px; } }

/* v19-mobile-parity */
body .fm-hero h1 { font-size: clamp(52px, 6vw, 74px); }
body:has(.fm-nav) { overflow-x: hidden; }
/* Container keeps its 1280px cap on desktop; rely on viewport to shrink at smaller sizes */
@media (max-width: 500px) {
  .fm-announce-inner { flex-wrap: wrap; gap: 6px; line-height: 1.4; padding: 0 12px; font-size: 12px; }
}
@media (max-width: 639px) {
  .fm-vs { font-size: 12px; table-layout: fixed; }
  .fm-vs th, .fm-vs td { padding: 10px 6px; word-break: break-word; hyphens: auto; }
  .fm-vs th:first-child, .fm-vs td:first-child { width: 34%; font-size: 12px; }
  .fm-vs .fm-chk { width: 22px; height: 22px; font-size: 12px; }
}
@media (max-width: 400px) {
  .fm-hero-stats { gap: 6px; }
  .fm-stat { padding: 10px 4px; }
  .fm-stat .num { font-size: 18px; }
  .fm-stat .sub { font-size: 9px; letter-spacing: 0.04em; word-break: break-word; }
}
@media (max-width: 899px) {
  .fm-plan.featured { transform: none !important; }
  .fm-plan .fm-btn { white-space: normal; line-height: 1.3; padding: 14px 18px; font-size: 14px; }
  .fm-pricing-grid { gap: 20px; }
}
@media (max-width: 420px) {
  .fm-bill-switch .fm-bill-opt { padding: 10px 14px; font-size: 13px; }
  .fm-bill-switch .fm-bill-opt small { display: none; }
}
@media (max-width: 500px) {
  .fm-sub-form { flex-wrap: wrap; }
  .fm-sub-input { min-width: 0; flex: 1 1 100%; }
  .fm-sub-btn { flex: 1 1 100%; }
}
@media (max-width: 400px) {
  .fm-brand-title { font-size: 17px; }
  .fm-nav-cta { padding: 8px 14px; font-size: 13px; }
  .fm-logo-circle { width: 38px; height: 38px; font-size: 19px; }
}
@media (max-width: 480px) {
  .fm-ing-detail { padding: 22px; }
  .fm-ing-panel { padding: 22px; }
  .fm-ing-panel-head h3 { font-size: 22px; }
  .fm-ing-desc { font-size: 15px; }
}

/* v20-scroll-animation */
.fm-scroll-wrap { position: relative; background: #F5F2EE; }
.fm-scroll-desktop { height: 300vh; display: none; }
@media (min-width: 1024px) { .fm-scroll-desktop { display: block; } }
.fm-scroll-sticky { position: sticky; top: 4rem; height: calc(100dvh - 4rem); }
.fm-scroll-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; width: 100%; margin-top: -4rem; }
.fm-scroll-text { position: relative; z-index: 2; }
.fm-scroll-canvas-wrap { position: relative; height: 60vh; display: flex; align-items: center; justify-content: center; }
.fm-scroll-canvas { width: 100%; height: 100%; display: block; }
.fm-hero-mobile { display: block; }
@media (min-width: 1024px) { .fm-hero-mobile { display: none; } }
.fm-scroll-mobile { height: 250vh; display: block; }
@media (min-width: 1024px) { .fm-scroll-mobile { display: none; } }
.fm-scroll-sticky-mobile { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.fm-scroll-canvas-wrap-mobile { position: relative; width: 100%; aspect-ratio: 9/16; max-height: 85vh; }
.fm-scroll-canvas-wrap-mobile .fm-scroll-canvas { width: 100%; height: 100%; display: block; }
.fm-scroll-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 10; }
.fm-scroll-bar { width: 160px; height: 6px; background: #e5e5e5; border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.fm-scroll-bar-fill { width: 0; height: 100%; background: var(--fm-caramel); border-radius: 999px; transition: width .2s; }
.fm-scroll-loading p { font-size: 12px; color: #999; margin: 0; }
