/* ==========================================================================
   theMemodyne.com — original design system
   Palette: deep teal ink (matched to the product/offer branding) + warm gold accent + cream ground
   ========================================================================== */

:root{
  --ink:#102C2E;
  --ink-2:#16393B;
  --ink-3:#1D474A;
  --gold:#C89B3C;
  --gold-light:#E4C978;
  --gold-dark:#A87F27;
  --cream:#FBF6EC;
  --cream-2:#F3EBDB;
  --sage:#0E7C82;
  --sage-light:#E1F1F0;
  --white:#FFFFFF;
  --text:#23343A;
  --text-muted:#62727A;
  --border:#E7DFCB;
  --success:#0E7C82;
  --shadow-sm:0 2px 8px rgba(16,44,46,0.08);
  --shadow-md:0 8px 24px rgba(16,44,46,0.12);
  --shadow-lg:0 16px 48px rgba(16,44,46,0.18);
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --font-head:"Fraunces", Georgia, "Times New Roman", serif;
  --font-body:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container:1180px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--ink);margin:0 0 .5em;line-height:1.15;font-weight:600;}
p{margin:0 0 1em;}
.container{max-width:var(--container);margin:0 auto;padding:0 20px;}
section{padding:64px 0;}
.section-tight{padding:40px 0;}

.eyebrow{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold-dark);
  background:var(--cream-2);
  border:1px solid var(--border);
  padding:6px 14px;
  border-radius:100px;
  margin-bottom:16px;
}
.section-head{max-width:720px;margin:0 auto 40px;text-align:center;}
.section-head h2{font-size:clamp(1.6rem,3.4vw,2.3rem);}
.section-head p{color:var(--text-muted);font-size:1.05rem;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:var(--font-body);
  font-weight:700;
  font-size:1rem;
  padding:16px 30px;
  border-radius:100px;
  border:none;
  cursor:pointer;
  text-align:center;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space:normal;
}
.btn-primary{
  background:linear-gradient(135deg,var(--gold-light),var(--gold) 60%,var(--gold-dark));
  color:var(--ink);
  box-shadow:var(--shadow-md);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg);}
.btn-primary:active{transform:translateY(0);}
.btn-secondary{
  background:transparent;
  color:var(--cream);
  border:1.5px solid rgba(251,246,236,0.5);
}
.btn-secondary:hover{background:rgba(251,246,236,0.1);}
.btn-block{width:100%;}
.btn-sm{padding:11px 20px;font-size:.9rem;}
.btn small{display:block;font-weight:500;font-size:.72rem;opacity:.85;}

/* ---------- Header ---------- */
header.site-header{
  background:var(--cream);
  border-bottom:1px solid var(--border);
  position:sticky;
  top:0;
  z-index:50;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 20px;
  gap:16px;
}
.brand{display:flex;align-items:center;gap:10px;}
.brand img{width:38px;height:38px;border-radius:9px;}
.brand-text{display:flex;flex-direction:column;line-height:1.15;}
.brand-text .name{font-family:var(--font-head);font-weight:700;font-size:1.15rem;color:var(--ink);}
.brand-text .name span{color:var(--gold-dark);}
.brand-text .tag{font-size:.68rem;color:var(--text-muted);letter-spacing:.04em;text-transform:uppercase;}
.header-cta{display:flex;align-items:center;gap:14px;}
.header-cta .btn{padding:12px 22px;font-size:.92rem;}

/* ---------- Hero ---------- */
.hero{
  background:radial-gradient(circle at 15% 20%, rgba(228,201,120,0.14), transparent 45%), radial-gradient(circle at 50% 30%, #135356 0%, var(--ink) 100%);
  color:var(--cream);
  padding:56px 0 64px;
  position:relative;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:48px;
  align-items:center;
}
.hero-copy h1{
  color:var(--white);
  font-size:clamp(2rem,4.2vw,3.1rem);
  margin-bottom:.4em;
}
.hero-copy h1 .accent{color:var(--gold-light);}
.hero-sub{font-size:1.12rem;color:rgba(251,246,236,0.85);max-width:540px;}
.hero-benefits{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:26px 0 30px;
  max-width:520px;
}
.hero-benefit{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:.94rem;
  color:var(--cream);
}
.hero-benefit svg{flex:none;margin-top:2px;color:var(--gold-light);}
.hero-cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:8px;}
.hero-trust{display:flex;align-items:center;gap:10px;font-size:.85rem;color:rgba(251,246,236,0.75);}
.hero-trust svg{color:var(--gold-light);flex:none;}
.hero-media{position:relative;display:flex;justify-content:center;}
.hero-product-img{
  position:relative;
  z-index:1;
  max-width:420px;
  filter:drop-shadow(0 24px 40px rgba(0,0,0,0.45));
}
.hero-brain-glow{
  position:absolute;
  top:50%;
  left:50%;
  z-index:0;
  width:150%;
  max-width:640px;
  height:auto;
  transform:translate(-50%,-50%);
  pointer-events:none;
  opacity:0.9;
}
.hero-badge-float{
  position:absolute;
  bottom:6%;
  right:2%;
  background:var(--cream);
  color:var(--ink);
  border-radius:var(--radius-md);
  padding:12px 16px;
  box-shadow:var(--shadow-lg);
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.82rem;
  font-weight:700;
  max-width:190px;
}
.hero-badge-float svg{color:var(--sage);flex:none;}

/* ---------- Benefit strip ---------- */
.benefit-strip{background:var(--white);border-bottom:1px solid var(--border);}
.benefit-strip .container{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  padding:28px 20px;
}
.benefit-strip-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.88rem;
  font-weight:600;
  color:var(--ink);
  justify-content:center;
  text-align:center;
}
.benefit-strip-item svg{color:var(--gold-dark);flex:none;}

/* ---------- Problem / Desire ---------- */
.problem{background:var(--cream);}
.problem-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
.problem-list{margin-top:20px;display:flex;flex-direction:column;gap:14px;}
.problem-list li{display:flex;gap:12px;align-items:flex-start;color:var(--text);font-size:1rem;}
.problem-list svg{flex:none;color:var(--gold-dark);margin-top:3px;}
.problem-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px;
  box-shadow:var(--shadow-sm);
}
.problem-card h3{font-size:1.3rem;}

/* ---------- What is ---------- */
.whatis{background:var(--white);}
.whatis-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px;align-items:center;}
.whatis-media{
  background:linear-gradient(160deg,var(--cream-2),var(--cream));
  border-radius:var(--radius-lg);
  padding:36px;
  display:flex;
  justify-content:center;
  border:1px solid var(--border);
}
.whatis-media img{max-width:280px;}
.whatis-facts{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
  margin-top:24px;
}
.fact{
  background:var(--cream-2);
  border-radius:var(--radius-sm);
  padding:14px 16px;
}
.fact .label{font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);font-weight:700;}
.fact .value{font-size:1rem;font-weight:700;color:var(--ink);margin-top:2px;}

/* ---------- How it works ---------- */
.how{background:var(--ink);color:var(--cream);}
.how .section-head h2{color:var(--white);}
.how .section-head p{color:rgba(251,246,236,0.75);}
.how-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  position:relative;
}
.how-step{
  background:rgba(251,246,236,0.06);
  border:1px solid rgba(251,246,236,0.12);
  border-radius:var(--radius-lg);
  padding:26px 20px;
  text-align:center;
}
.how-step .num{
  width:38px;height:38px;
  border-radius:50%;
  background:var(--gold);
  color:var(--ink);
  font-weight:800;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
}
.how-step h3{color:var(--white);font-size:1.05rem;}
.how-step p{color:rgba(251,246,236,0.72);font-size:.92rem;margin:0;}

/* ---------- Ingredients ---------- */
.formula{background:var(--cream);}
.formula-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.ing-card{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:26px;
  box-shadow:var(--shadow-sm);
}
.ing-card .amount{
  display:inline-block;
  font-size:.75rem;
  font-weight:800;
  color:var(--gold-dark);
  background:var(--cream-2);
  padding:4px 10px;
  border-radius:100px;
  margin-bottom:10px;
}
.ing-card h3{font-size:1.08rem;margin-bottom:8px;}
.ing-card p{font-size:.92rem;color:var(--text-muted);margin:0;}
.formula-note{
  margin-top:28px;
  background:var(--sage-light);
  border:1px solid #D7E6DC;
  border-radius:var(--radius-md);
  padding:18px 22px;
  font-size:.9rem;
  color:var(--text);
}
.formula-note strong{color:var(--ink);}

/* ---------- Benefits grid ---------- */
.benefits{background:var(--white);}
.benefits-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}
.benefit-card{
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:28px;
  transition:box-shadow .15s ease, transform .15s ease;
}
.benefit-card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.benefit-card .icon{
  width:48px;height:48px;
  border-radius:12px;
  background:var(--cream-2);
  display:flex;align-items:center;justify-content:center;
  color:var(--gold-dark);
  margin-bottom:14px;
}
.benefit-card h3{font-size:1.1rem;}
.benefit-card p{color:var(--text-muted);font-size:.92rem;margin:0;}

/* ---------- Who it's for ---------- */
.audience{background:var(--cream);}
.audience-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;}
.audience-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  padding:28px;
}
.audience-card h3{display:flex;align-items:center;gap:10px;font-size:1.15rem;}
.audience-card h3 svg{color:var(--sage);}
.audience-card ul{display:flex;flex-direction:column;gap:10px;margin-top:14px;}
.audience-card li{display:flex;gap:10px;font-size:.94rem;color:var(--text);}
.audience-card li svg{flex:none;margin-top:3px;}
.audience-card.avoid li svg{color:#B5563F;}
.audience-card.fits li svg{color:var(--success);}

/* ---------- How to use ---------- */
.usage{background:var(--white);}
.usage-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;}
.usage-steps{display:flex;flex-direction:column;gap:16px;}
.usage-step{display:flex;gap:14px;align-items:flex-start;}
.usage-step .dot{
  width:30px;height:30px;border-radius:50%;
  background:var(--gold);color:var(--ink);
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:.85rem;flex:none;
}
.usage-panel{
  background:var(--cream-2);
  border-radius:var(--radius-lg);
  padding:28px;
  border:1px solid var(--border);
}

/* ---------- Quality ---------- */
.quality{background:var(--ink-2);color:var(--cream);}
.quality .section-head h2{color:var(--white);}
.quality .section-head p{color:rgba(251,246,236,0.75);}
.quality-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.quality-card{
  background:rgba(251,246,236,0.06);
  border:1px solid rgba(251,246,236,0.14);
  border-radius:var(--radius-lg);
  padding:26px;
  text-align:center;
}
.quality-card img{height:52px;margin:0 auto 14px;width:auto;}
.quality-card h3{color:var(--white);font-size:1.02rem;}
.quality-card p{color:rgba(251,246,236,0.7);font-size:.86rem;margin:0;}

/* ---------- Offer ---------- */
.offer{background:var(--cream);}
.offer-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}
.pkg-card{
  background:var(--white);
  border:1.5px solid var(--border);
  border-radius:var(--radius-lg);
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  position:relative;
  box-shadow:var(--shadow-sm);
}
.pkg-card.featured{
  border-color:var(--gold);
  box-shadow:var(--shadow-lg);
  transform:translateY(-8px);
}
.pkg-tag{
  position:absolute;
  top:-14px;left:50%;
  transform:translateX(-50%);
  background:var(--gold);
  color:var(--ink);
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.05em;
  text-transform:uppercase;
  padding:6px 16px;
  border-radius:100px;
  white-space:nowrap;
}
.pkg-name{font-size:.85rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.05em;}
.pkg-bottles{font-family:var(--font-head);font-size:1.5rem;color:var(--ink);margin:6px 0 2px;}
.pkg-supply{font-size:.86rem;color:var(--text-muted);margin-bottom:16px;}
.pkg-price-row{display:flex;align-items:baseline;gap:6px;margin-bottom:4px;}
.pkg-price-row .cur{font-size:1.1rem;color:var(--gold-dark);font-weight:700;}
.pkg-price-row .amt{font-family:var(--font-head);font-size:2.6rem;color:var(--ink);font-weight:700;}
.pkg-price-row .per{font-size:.85rem;color:var(--text-muted);}
.pkg-save{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  color:var(--success);
  background:var(--sage-light);
  padding:4px 10px;
  border-radius:100px;
  margin-bottom:14px;
  width:fit-content;
}
.pkg-totals{font-size:.85rem;color:var(--text-muted);margin-bottom:6px;}
.pkg-totals strike{opacity:.6;margin-right:6px;}
.pkg-totals b{color:var(--ink);font-size:1rem;}
.pkg-ship{font-size:.82rem;color:var(--text-muted);margin-bottom:18px;}
.pkg-guarantee{font-size:.8rem;color:var(--sage);font-weight:600;margin-bottom:16px;display:flex;align-items:center;gap:6px;}
.pkg-bonus{font-size:.8rem;color:var(--gold-dark);font-weight:600;margin-bottom:16px;}
.pkg-card .btn{margin-top:auto;}
.offer-note{
  text-align:center;
  margin-top:28px;
  font-size:.86rem;
  color:var(--text-muted);
}

/* ---------- Guarantee ---------- */
.guarantee{background:var(--white);}
.guarantee-grid{
  display:grid;
  grid-template-columns:minmax(0,.5fr) minmax(0,1fr);
  gap:40px;
  align-items:center;
  background:var(--cream-2);
  border-radius:var(--radius-lg);
  padding:40px;
  border:1px solid var(--border);
}
.guarantee-grid img{max-width:180px;margin:0 auto;}
.guarantee-copy h2{font-size:1.7rem;}

/* ---------- Objections / FAQ ---------- */
.faq{background:var(--cream);}
.faq-list{max-width:820px;margin:0 auto;display:flex;flex-direction:column;gap:12px;}
.faq-item{
  background:var(--white);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
}
.faq-q{
  width:100%;
  text-align:left;
  background:none;
  border:none;
  padding:18px 22px;
  font-family:var(--font-body);
  font-weight:700;
  font-size:1rem;
  color:var(--ink);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.faq-q svg{flex:none;transition:transform .2s ease;color:var(--gold-dark);}
.faq-item[open] .faq-q svg{transform:rotate(180deg);}
.faq-a{padding:0 22px 20px;color:var(--text-muted);font-size:.95rem;}
.faq-a a{color:var(--gold-dark);text-decoration:underline;}

/* ---------- Final CTA ---------- */
.final-cta{
  background:linear-gradient(160deg,var(--ink),var(--ink-2));
  color:var(--white);
  text-align:center;
}
.final-cta h2{color:var(--white);font-size:clamp(1.7rem,3.6vw,2.4rem);}
.final-cta p{color:rgba(251,246,236,0.8);max-width:560px;margin:0 auto 26px;}

/* ---------- Disclosure / Disclaimer ---------- */
.disclosure{background:var(--cream-2);border-top:1px solid var(--border);border-bottom:1px solid var(--border);}
.disclosure p{font-size:.85rem;color:var(--text-muted);margin:0 0 10px;}
.disclosure p:last-child{margin-bottom:0;}

/* ---------- Footer ---------- */
footer.site-footer{background:var(--ink);color:rgba(251,246,236,0.65);padding:44px 0 100px;font-size:.85rem;}
.footer-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px;margin-bottom:24px;}
.footer-brand{font-family:var(--font-head);color:var(--white);font-size:1.1rem;font-weight:700;}
.footer-links{display:flex;gap:22px;flex-wrap:wrap;}
.footer-links a:hover{color:var(--gold-light);}
.footer-fine{border-top:1px solid rgba(251,246,236,0.12);padding-top:20px;line-height:1.7;}
.footer-fine p{margin:0 0 10px;}

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta{
  position:fixed;
  bottom:0;left:0;right:0;
  background:var(--white);
  border-top:1px solid var(--border);
  box-shadow:0 -8px 24px rgba(33,21,52,0.12);
  padding:12px 16px;
  z-index:60;
  display:none;
  align-items:center;
  gap:12px;
  transform:translateY(100%);
  transition:transform .25s ease;
}
.sticky-cta .btn{flex:1;}
.sticky-cta .price-hint{font-size:.78rem;color:var(--text-muted);flex:none;}

/* ---------- Utility ---------- */
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}
.center{text-align:center;}
.mt-24{margin-top:24px;}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width:960px){
  .hero-grid,.problem-grid,.whatis-grid,.usage-grid,.guarantee-grid,.audience-grid{grid-template-columns:minmax(0,1fr);}
  .hero-media{order:-1;}
  .hero-product-img{max-width:300px;}
  .hero-brain-glow{max-width:440px;}
  .how-steps,.formula-grid,.benefits-grid,.quality-grid,.offer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .benefit-strip .container{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
  .pkg-card.featured{transform:none;}
  .guarantee-grid{padding:28px;}
}
@media (max-width:640px){
  section{padding:44px 0;}
  .how-steps,.formula-grid,.benefits-grid,.quality-grid,.offer-grid,.benefit-strip .container{grid-template-columns:minmax(0,1fr);}
  .hero-benefits{grid-template-columns:minmax(0,1fr);}
  .header-cta .btn span.full{display:none;}
  .sticky-cta{display:flex;}
  .sticky-cta.visible{transform:translateY(0);}
  body{padding-bottom:74px;}
  .hero-media{flex-direction:column;}
  .hero-badge-float{position:static;margin-top:16px;max-width:none;width:100%;justify-content:center;}
  .pkg-price-row .amt{font-size:2.2rem;}
  .hero-cta-row .btn{width:100%;}
}
