:root{
    --bg:#E8F0E3;
    --accent:#4F7C45;
    --accent-2:#6E9A63;
    --ink:#2F3A2C;
    --surface:#FFFFFF;
    --highlight:#D8E7D1;
    --berry:#8B2942;
    --berry-dark:#6E1F35;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--ink);
    font-family:'Work Sans', sans-serif;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.display{
    font-family:'Fraunces', serif;
    color:var(--ink);
    margin:0 0 .4em;
    font-weight:600;
    letter-spacing:-0.01em;
  }
  .eyebrow{
    font-family:'Fraunces', serif;
    font-style:italic;
    font-weight:500;
    color:var(--accent);
    font-size:0.95rem;
    letter-spacing:0.02em;
    display:block;
    margin-bottom:0.6em;
  }
  a{color:inherit;}
  img{ height: auto;max-width:100%;display:block;}
  .wrap{max-width:1120px;margin:0 auto;padding:0 24px;}
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    padding:16px 32px;
    border-radius:999px;
    font-family:'Work Sans',sans-serif;
    font-weight:600;
    font-size:1rem;
    text-decoration:none;
    border:2px solid transparent;
    cursor:pointer;
    transition:transform .15s ease, box-shadow .15s ease;
  }
  .btn-primary{background:var(--berry);color:#fff;box-shadow:0 6px 18px rgba(139,41,66,0.28);}
  .btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(139,41,66,0.34);}
  .btn-secondary{background:transparent;border-color:var(--accent);color:var(--accent);}
  .btn-secondary:hover{background:var(--accent);color:#fff;}

  /* Header */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(232,240,227,0.9);
    backdrop-filter:blur(8px);
    border-bottom:1px solid rgba(47,58,44,0.08);
  }
  .nav{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;max-width:1120px;margin:0 auto;}
  .logo{font-family:'Fraunces',serif;font-weight:600;font-size:1.4rem;letter-spacing:-0.02em;}
  .logo span{color:var(--accent);}
  .nav-links{display:flex;gap:28px;list-style:none;margin:0;padding:0;font-size:0.95rem;font-weight:500;}
  .nav-links a{text-decoration:none;color:var(--ink);opacity:0.8;}
  .nav-links a:hover{opacity:1;color:var(--accent);}
  .nav .btn{padding:10px 22px;font-size:0.9rem;}
  .nav-mobile-hide{display:flex;}
  @media (max-width:720px){.nav-mobile-hide{display:none;}}

  /* Hero */
  .hero{padding:64px 0 40px;}
  .hero-grid{display:grid;grid-template-columns:1.1fr 0.9fr;gap:56px;align-items:center;}
  @media (max-width:860px){.hero-grid{grid-template-columns:1fr;gap:32px;}}
  .hero h1{font-size:clamp(2.1rem,4vw,3.1rem);line-height:1.08;}
  .hero p.lead{font-size:1.1rem;max-width:46ch;color:rgba(47,58,44,0.85);margin-bottom:1.6em;}
  .hero-cta{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:14px;}
  .hero-note{font-size:0.82rem;color:rgba(47,58,44,0.6);max-width:46ch;}
  .hero-image-wrap{
    position:relative;
    background:var(--surface);
    border-radius:28px;
    padding:28px;
    box-shadow:0 20px 50px rgba(47,58,44,0.12);
  }
  .hero-image-wrap img{border-radius:18px;}
  .pill-tag{
    position:absolute;top:-14px;left:28px;
    background:var(--accent);color:#fff;
    font-size:0.78rem;font-weight:600;
    padding:8px 16px;border-radius:999px;
    box-shadow:0 6px 14px rgba(79,124,69,0.35);
  }

  /* generic section */
  section{padding:72px 0;}
  .section-head{max-width:640px;margin-bottom:40px;}
  .section-head h2{font-size:clamp(1.6rem,2.8vw,2.2rem);}
  .section-head p{color:rgba(47,58,44,0.75);font-size:1.05rem;}
  .alt-bg{background:var(--surface);}

  /* What is */
  .what-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;}
  @media (max-width:820px){.what-grid{grid-template-columns:1fr;}}
  .what-grid img{border-radius:20px;box-shadow:0 16px 40px rgba(47,58,44,0.14);}

  /* pathway cards (not numbered - not a strict sequence) */
  .pathway-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
  @media (max-width:820px){.pathway-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:560px){.pathway-grid{grid-template-columns:1fr;}}
  .pathway-card{
    background:var(--surface);
    border-radius:20px;
    padding:28px 24px;
    border:1px solid rgba(47,58,44,0.07);
  }
  .pathway-card .icon{
    width:44px;height:44px;border-radius:12px;
    background:var(--highlight);
    display:flex;align-items:center;justify-content:center;
    margin-bottom:16px;
    color:var(--accent);
  }
  .pathway-card h3{font-size:1.15rem;margin-bottom:0.4em;}
  .pathway-card p{font-size:0.95rem;color:rgba(47,58,44,0.78);margin:0;}

  /* benefits */
  .benefit-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px 32px;}
  @media (max-width:640px){.benefit-list{grid-template-columns:1fr;}}
  .benefit-item{display:flex;gap:14px;align-items:flex-start;padding:14px 0;border-bottom:1px solid rgba(47,58,44,0.08);}
  .benefit-item svg{flex-shrink:0;margin-top:3px;}
  .benefit-item strong{display:block;font-size:1rem;}
  .benefit-item span.desc{font-size:0.9rem;color:rgba(47,58,44,0.7);}

  /* ingredient "supplement facts" panel — signature element */
  .facts-panel{
    background:var(--surface);
    border:2px solid var(--ink);
    border-radius:6px;
    max-width:760px;
    margin:0 auto;
    overflow:hidden;
  }
  .facts-panel .facts-head{
    padding:20px 24px 14px;
    border-bottom:8px solid var(--ink);
  }
  .facts-panel .facts-head h3{
    font-family:'Work Sans',sans-serif;
    font-weight:700;
    font-size:1.6rem;
    text-transform:uppercase;
    letter-spacing:-0.01em;
    margin:0;
  }
  .facts-panel .facts-head .sub{font-size:0.85rem;color:rgba(47,58,44,0.7);}
  .facts-row{
    display:grid;grid-template-columns:1.6fr 0.5fr 1.9fr;
    gap:12px;
    padding:14px 24px;
    border-bottom:1px solid rgba(47,58,44,0.15);
    align-items:start;
  }
  .facts-row:nth-child(even){background:var(--bg);}
  .facts-row .name{font-weight:600;font-size:0.98rem;}
  .facts-row .dose{font-weight:600;color:var(--accent);font-size:0.95rem;white-space:nowrap;}
  .facts-row .role{font-size:0.86rem;color:rgba(47,58,44,0.72);}
  .facts-foot{padding:16px 24px;font-size:0.78rem;color:rgba(47,58,44,0.6);background:var(--bg);}
  @media (max-width:600px){
    .facts-row{grid-template-columns:1fr;gap:4px;}
    .facts-row .dose{order:1;}
  }

  /* lifestyle / who it's for */
  .who-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
  @media (max-width:820px){.who-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:560px){.who-grid{grid-template-columns:1fr;}}
  .who-card{
    background:var(--highlight);
    border-radius:18px;
    padding:22px;
    font-size:0.95rem;
    font-weight:500;
  }

  /* how to use */
  .use-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;counter-reset:step;}
  @media (max-width:780px){.use-steps{grid-template-columns:1fr;}}
  .use-step{position:relative;padding-left:52px;}
  .use-step::before{
    counter-increment:step;
    content:counter(step);
    position:absolute;left:0;top:0;
    width:36px;height:36px;border-radius:50%;
    background:var(--accent);color:#fff;
    font-family:'Fraunces',serif;font-weight:600;
    display:flex;align-items:center;justify-content:center;
  }
  .use-step h3{font-size:1.05rem;margin-bottom:0.3em;}
  .use-step p{font-size:0.92rem;color:rgba(47,58,44,0.75);margin:0;}

  /* FAQ */
  .faq{max-width:760px;margin:0 auto;}
  details{
    background:var(--surface);
    border-radius:14px;
    padding:18px 22px;
    margin-bottom:12px;
    border:1px solid rgba(47,58,44,0.08);
  }
  summary{
    font-weight:600;
    cursor:pointer;
    list-style:none;
    display:flex;justify-content:space-between;align-items:center;
    gap:12px;
  }
  summary::-webkit-details-marker{display:none;}
  summary::after{content:'+';font-family:'Fraunces',serif;font-size:1.4rem;color:var(--accent);transition:transform .2s ease;}
  details[open] summary::after{transform:rotate(45deg);}
  details p{margin:14px 0 2px;font-size:0.94rem;color:rgba(47,58,44,0.78);}

  /* final CTA */
  .final-cta{
    background:linear-gradient(135deg,var(--accent) 0%,var(--accent-2) 100%);
    border-radius:28px;
    padding:56px 40px;
    text-align:center;
    color:#fff;
  }
  .final-cta h2{color:#fff;}
  .final-cta p{color:rgba(255,255,255,0.9);max-width:52ch;margin:0 auto 28px;}
  .final-cta .btn-primary{background:#fff;color:var(--berry-dark);}
  .final-cta .btn-primary:hover{box-shadow:0 10px 24px rgba(0,0,0,0.2);}

  /* disclaimer */
  .disclaimer-box{
    background:var(--surface);
    border-left:4px solid var(--accent);
    border-radius:8px;
    padding:22px 24px;
    font-size:0.85rem;
    color:rgba(47,58,44,0.75);
  }
  .disclaimer-box ul{margin:12px 0 0;padding-left:20px;}
  .disclaimer-box li{margin-bottom:4px;}

  footer{
    background:var(--ink);
    color:rgba(232,240,227,0.85);
    padding:48px 0 28px;
    font-size:0.88rem;
  }
  footer a{opacity:0.85;text-decoration:none;}
  footer a:hover{opacity:1;text-decoration:underline;}
  .footer-grid{display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;margin-bottom:32px;}
  .footer-links{display:flex;gap:20px;flex-wrap:wrap;list-style:none;padding:0;margin:0;}
  .footer-bottom{border-top:1px solid rgba(232,240,227,0.15);padding-top:20px;font-size:0.78rem;opacity:0.6;}

/* ---- Added for multi-page site: blog, ingredients detail, article, breadcrumbs ---- */
.breadcrumbs{font-size:0.85rem;color:rgba(47,58,44,0.6);margin-bottom:24px;}
.breadcrumbs a{color:var(--accent);text-decoration:none;}
.breadcrumbs a:hover{text-decoration:underline;}

.page-hero{padding:56px 0 40px;text-align:left;}
.page-hero .eyebrow{margin-bottom:0.5em;}
.page-hero h1{font-size:clamp(1.9rem,3.6vw,2.6rem);max-width:22ch;}
.page-hero p.lead{max-width:60ch;color:rgba(47,58,44,0.8);font-size:1.05rem;}

/* Ingredient detail cards */
.ingredient-detail-grid{display:grid;grid-template-columns:1fr;gap:20px;max-width:840px;margin:0 auto;}
.ingredient-detail{
  background:var(--surface);
  border-radius:18px;
  padding:26px 28px;
  border:1px solid rgba(47,58,44,0.08);
  display:grid;
  grid-template-columns:auto 1fr;
  gap:6px 20px;
}
.ingredient-detail .ing-name{
  font-family:'Fraunces',serif;font-weight:600;font-size:1.2rem;
  grid-column:1/2;
}
.ingredient-detail .ing-dose{
  font-family:'Work Sans',sans-serif;font-weight:600;color:var(--accent);
  grid-column:2/3;justify-self:end;font-size:0.95rem;align-self:center;
}
.ingredient-detail .ing-body{grid-column:1/3;font-size:0.95rem;color:rgba(47,58,44,0.78);margin-top:6px;}
.ingredient-detail .ing-body p{margin:0 0 10px;}
.ingredient-detail .ing-body p:last-child{margin-bottom:0;}
.ing-tag{
  display:inline-block;font-size:0.72rem;font-weight:600;
  background:var(--highlight);color:var(--accent);
  padding:3px 10px;border-radius:999px;margin-right:6px;margin-top:8px;
}

/* Blog listing */
.blog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:28px;}
@media (max-width:720px){.blog-grid{grid-template-columns:1fr;}}
.blog-card{
  background:var(--surface);
  border-radius:18px;
  padding:26px;
  border:1px solid rgba(47,58,44,0.08);
  display:flex;flex-direction:column;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;
}
.blog-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(47,58,44,0.1);}
.blog-card .cat{font-size:0.78rem;font-weight:600;color:var(--accent);text-transform:uppercase;letter-spacing:0.04em;margin-bottom:10px;}
.blog-card h3{font-size:1.15rem;margin-bottom:8px;}
.blog-card p{font-size:0.9rem;color:rgba(47,58,44,0.72);margin:0;flex-grow:1;}
.blog-card .read-more{margin-top:14px;font-size:0.88rem;font-weight:600;color:var(--berry);}

/* Article page */
.article{max-width:720px;margin:0 auto;}
.article .cat{font-size:0.8rem;font-weight:600;color:var(--accent);text-transform:uppercase;letter-spacing:0.04em;}
.article h1{font-size:clamp(1.8rem,3.4vw,2.4rem);margin-top:0.4em;}
.article .meta{font-size:0.85rem;color:rgba(47,58,44,0.55);margin-bottom:2em;}
.article-body h2{font-size:1.35rem;margin-top:1.6em;}
.article-body h3{font-size:1.1rem;margin-top:1.3em;}
.article-body p{font-size:1rem;color:rgba(47,58,44,0.85);margin-bottom:1.1em;}
.article-body ul{margin-bottom:1.2em;padding-left:22px;}
.article-body li{margin-bottom:6px;color:rgba(47,58,44,0.85);}
.related-posts{
  margin-top:48px;padding-top:32px;border-top:1px solid rgba(47,58,44,0.12);
}
.related-posts h3{font-size:1.1rem;margin-bottom:14px;}
.related-posts ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px;}
.related-posts a{color:var(--accent);text-decoration:none;font-weight:600;font-size:0.95rem;}
.related-posts a:hover{text-decoration:underline;}

.inline-links a{color:var(--accent);font-weight:600;text-decoration:none;}
.inline-links a:hover{text-decoration:underline;}

.article-disclaimer{
  margin-top:36px;
  background:var(--bg);
  border-left:4px solid var(--accent);
  border-radius:8px;
  padding:16px 20px;
  font-size:0.82rem;
  color:rgba(47,58,44,0.7);
}

/* 404 */
.error-page{text-align:center;padding:100px 24px;}
.error-page .code{font-family:'Fraunces',serif;font-size:5rem;color:var(--accent);margin:0;}

/* Pricing */
.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start;}
@media (max-width:860px){.pricing-grid{grid-template-columns:1fr;max-width:420px;margin:0 auto;}}
.pricing-card{
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 16px 40px rgba(47,58,44,0.14);
  transition:transform .15s ease, box-shadow .15s ease;
  background:var(--surface);
}
.pricing-card:hover{transform:translateY(-4px);box-shadow:0 20px 48px rgba(47,58,44,0.2);}
.pricing-card.featured{position:relative;transform:scale(1.04);}
@media (max-width:860px){.pricing-card.featured{transform:none;}}
.pricing-card img{display:block;width:100%;}
.pricing-card a{display:block;}
.pricing-note{
  text-align:center;
  max-width:560px;
  margin:32px auto 0;
  font-size:0.92rem;
  color:rgba(47,58,44,0.7);
}
.pricing-guarantee{
  display:flex;align-items:center;justify-content:center;gap:14px;
  margin-top:28px;flex-wrap:wrap;
}
.pricing-guarantee img{width:64px;}
.pricing-guarantee span{font-family:'Fraunces',serif;font-weight:600;font-size:1.05rem;max-width:26ch;}

/* === network upgrade: popup + sources === */
.np-pop {
  position: fixed; left: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  width: 320px; max-width: calc(100vw - 36px);
  padding: 12px 38px 12px 12px;
  background: #fff; color: #1c1c1c;
  border: 1px solid rgba(0,0,0,0.10); border-radius: 16px;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,0.45);
  font-family: inherit; text-align: left;
  transform: translateX(calc(-100% - 24px)); opacity: 0; visibility: hidden;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .5s ease, visibility .5s;
}
.np-pop.is-in { transform: translateX(0); opacity: 1; visibility: visible; }
.np-pop img {
  width: 52px; height: auto; flex: 0 0 52px;
  border-radius: 10px; border: 1px solid rgba(0,0,0,0.08); background: #fafafa;
}
.np-pop-body { min-width: 0; }
.np-pop-name { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.np-pop-what { font-size: .82rem; opacity: .72; line-height: 1.4; }
.np-pop-when { font-size: .68rem; letter-spacing: .04em; text-transform: uppercase; opacity: .6; margin-top: 2px; }
.np-pop-close {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px;
  border: 0; border-radius: 50%; background: transparent; color: inherit;
  opacity: .5; font-size: 1rem; line-height: 1; cursor: pointer;
}
.np-pop-close:hover { opacity: 1; background: rgba(0,0,0,0.06); }
@media (max-width: 560px) {
  /* not edge-to-edge on phones: a full-bleed card sits on top of the
     full-width CTA buttons these pages use, so leave the right side free */
  .np-pop { left: 10px; right: auto; bottom: 10px; width: min(300px, calc(100vw - 84px)); max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .np-pop { transition: opacity .2s ease, visibility .2s; transform: none; }
}

.np-sources { padding: 56px 0; }
.np-sources .np-wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.np-sources h2 { margin: 0 0 10px; }
.np-sources .np-intro { opacity: .75; max-width: 62ch; margin: 0 0 26px; }
.np-ref-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.np-ref-list li { padding-left: 16px; border-left: 3px solid rgba(0,0,0,0.12); font-size: .95rem; }
.np-ref-list a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.np-ref-src { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; opacity: .6; margin-top: 2px; }

/* === network upgrade: silo cross-links === */
.np-cross { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 32px 0; }
.np-cross a {
  display: block; padding: 16px 18px; border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px; text-decoration: none; color: inherit; background: rgba(0,0,0,.015);
  transition: border-color .15s ease, transform .15s ease;
}
.np-cross a:hover { border-color: rgba(0,0,0,.35); transform: translateY(-2px); }
.np-cross span { display: block; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-bottom: 5px; }
.np-cross strong { font-weight: 700; font-size: .98rem; line-height: 1.3; }
.np-crumbs { font-size: .85rem; opacity: .75; margin: 0 0 4px; }
.np-crumbs a { text-decoration: none; color: inherit; border-bottom: 1px solid rgba(0,0,0,.25); }
.np-crumbs .sep { opacity: .45; margin: 0 7px; }
