/* The Beginner's Supplement Guide — PharmaNutrition Glow
   Palette: deep navy, warm gold, cream — clinical-premium apothecary feel
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Work+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --navy: #0B2545;
  --navy-deep: #071930;
  --gold: #C9A24B;
  --gold-deep: #AD8836;
  --cream: #FAF7F0;
  --paper: #FFFFFF;
  --line: #E4DFD0;
  --text: #1B2530;
  --muted: #5B6472;
  --radius: 16px;
  --max: 1080px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }
body{
  font-family:'Work Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{
  font-family:'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight:700;
}
a{ color: var(--navy); }
img,svg{ max-width:100%; display:block; }
.wrap{ max-width: var(--max); margin:0 auto; padding:0 24px; }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top:0; z-index:50;
  background: rgba(250,247,240,.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; }
.brand{ font-family:'Cormorant Garamond', serif; font-weight:700; font-size:1.25rem; color: var(--navy); text-decoration:none; }
.btn{
  display:inline-block; text-decoration:none; font-weight:700;
  padding:12px 24px; border-radius:6px; font-size:.92rem; letter-spacing:.02em;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary{ background: var(--navy); color: var(--gold); box-shadow: 0 6px 18px rgba(11,37,69,.25); }
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(11,37,69,.35); }
.btn-gold{ background: var(--gold); color: var(--navy-deep); }
.btn-gold:hover{ transform: translateY(-1px); box-shadow: 0 10px 22px rgba(201,162,75,.4); }

/* ---------- Hero ---------- */
.hero{
  background: radial-gradient(1000px 480px at 88% -10%, rgba(201,162,75,.14), transparent 60%), linear-gradient(180deg, #F1ECDC, var(--cream));
  padding: 58px 0 42px;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.76rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color: var(--gold-deep); background:#fff; border:1px solid var(--line);
  padding:7px 14px; border-radius:3px; margin-bottom:20px;
}
.hero-grid{ display:grid; grid-template-columns: 1.05fr .95fr; gap:48px; align-items:center; }
.hero h1{ font-size: clamp(2rem, 4vw, 3rem); }
.hero .accent{ color: var(--gold-deep); font-style:italic; }
.hero p.lead{ color: var(--muted); font-size:1.08rem; max-width:48ch; margin:0 0 26px; }
.hero-actions{ display:flex; align-items:center; gap:18px; flex-wrap:wrap; margin-bottom:16px; }
.reassure{ color: var(--muted); font-size:.88rem; }
.hero-art img{
  border-radius:8px;
  box-shadow: 0 30px 60px -20px rgba(11,37,69,.4);
}
.credential-strip{ display:flex; gap:10px; align-items:center; margin-top:24px; }
.credential-strip .badge-ic{ width:34px; height:34px; flex:none; }
.credential-strip p{ font-size:.86rem; color: var(--muted); margin:0; }
.credential-strip strong{ color: var(--navy); }

/* ---------- Section shell ---------- */
section{ padding:58px 0; }
.section-head{ max-width:64ch; margin-bottom:34px; }
.section-head .rule{ width:46px; height:2px; background: var(--gold); border:none; margin:0 0 16px; }
.section-head h2{ font-size: clamp(1.55rem, 3vw, 2.05rem); }
.section-head p{ color: var(--muted); }
.center{ text-align:center; margin-left:auto; margin-right:auto; }

/* ---------- Relate / pain point band ---------- */
.relate-band{ background: var(--navy); color:#E9EEF5; border-radius:6px; margin:0 24px; padding:48px 32px; }
.relate-band .section-head h2, .relate-band .section-head p{ color:#E9EEF5; }
.relate-band .section-head p{ opacity:.78; }
.relate-band .section-head .rule{ background: var(--gold); }
.relate-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap:14px; }
.relate-item{
  display:flex; gap:12px; align-items:flex-start;
  background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.14);
  border-radius: 8px; padding:16px 18px;
}
.relate-item .dot{ flex:none; width:6px; height:6px; border-radius:50%; background: var(--gold); margin-top:9px; }
.relate-item p{ margin:0; font-size:.96rem; }

/* ---------- Promise cards (will / won't) ---------- */
.promise-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:20px; }
.promise-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:26px 26px; }
.promise-card h3{ font-family:'Work Sans',sans-serif; font-weight:800; font-size:1.02rem; color: var(--navy); margin-bottom:14px; }
.promise-card ul{ margin:0; padding-left:20px; color: var(--muted); font-size:.94rem; }
.promise-card li{ margin-bottom:8px; }
.promise-card.will{ border-top:3px solid var(--gold); }
.promise-card.wont{ border-top:3px solid var(--line); }

/* ---------- Foundational Five cards ---------- */
.five-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.five-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:22px 20px; }
.five-num{
  width:30px; height:30px; border-radius:50%; background: var(--navy); color: var(--gold);
  display:flex; align-items:center; justify-content:center; font-weight:700; margin-bottom:12px; font-family:'Cormorant Garamond',serif; font-size:1.05rem;
}
.five-card h3{ font-family:'Work Sans',sans-serif; font-size:.98rem; font-weight:800; color: var(--navy); margin-bottom:6px; }
.five-card p{ color: var(--muted); font-size:.88rem; margin:0; }

/* ---------- Chapter list ---------- */
.chapter-list{ columns:2; column-gap:32px; }
.chapter-item{
  display:flex; gap:12px; align-items:baseline;
  break-inside: avoid; margin-bottom:14px; padding-bottom:14px; border-bottom:1px dotted var(--line);
}
.chapter-item .cnum{ font-family:'Cormorant Garamond',serif; font-weight:700; color: var(--gold-deep); font-size:1.1rem; flex:none; width:26px; }
.chapter-item p{ margin:0; font-size:.95rem; color: var(--text); font-weight:600; }

/* ---------- About product cards ---------- */
.audience-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.aud-card{ background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:26px 24px; }
.aud-icon{ font-size:1.6rem; margin-bottom:12px; }
.aud-card h3{ font-family:'Work Sans',sans-serif; font-weight:800; font-size:1rem; color:var(--navy); }
.aud-card p{ color: var(--muted); font-size:.93rem; margin:0; }

/* ---------- CTA band (price reveal) ---------- */
.cta-band{ text-align:center; background: linear-gradient(135deg, var(--navy), var(--navy-deep)); color:#fff; border-radius:10px; margin:0 24px; padding:56px 28px; position:relative; overflow:hidden; }
.cta-band::before{ content:""; position:absolute; inset:-40% -20% auto auto; width:280px; height:280px; background: radial-gradient(circle, rgba(201,162,75,.25), transparent 70%); }
.cta-band h2{ color:#fff; }
.cta-band .price-line{ font-size:1rem; color:#CBD6E6; margin-bottom:6px; }
.cta-band .price{ font-family:'Cormorant Garamond',serif; font-size:3rem; color: var(--gold); font-weight:700; margin-bottom:22px; }
.cta-band p.sub{ color:#CBD6E6; margin-bottom:26px; max-width:50ch; margin-left:auto; margin-right:auto; }
.cta-band .btn-gold{ font-size:1.05rem; padding:16px 34px; }
.fine{ margin-top:16px; color:#CBD6E6; font-size:.85rem; }

/* ---------- Author ---------- */
.author{ display:flex; gap:22px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding:28px; }
.author-badge{ flex:none; width:56px; height:56px; border-radius:50%; background: var(--navy); color: var(--gold); display:flex; align-items:center; justify-content:center; font-weight:700; font-family:'Cormorant Garamond',serif; font-size:1.3rem; }
.author h3{ margin:0 0 8px; font-size:1.15rem; }
.author p{ color: var(--muted); margin:0; }

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1px solid var(--line); padding:18px 0; }
.faq-item summary{ cursor:pointer; list-style:none; font-weight:700; color: var(--navy); display:flex; justify-content:space-between; align-items:center; gap:16px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:1.4rem; color: var(--gold-deep); flex:none; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ color: var(--muted); margin:12px 0 0; }

/* ---------- Footer ---------- */
footer{ background:#F1ECDC; border-top:1px solid var(--line); padding:44px 0 28px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap:28px; margin-bottom:26px; }
.footer-grid h4{ font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; color: var(--navy); margin:0 0 12px; }
.footer-grid p{ color: var(--muted); font-size:.92rem; }
.footer-grid ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.footer-grid a{ color: var(--muted); text-decoration:none; font-size:.92rem; }
.footer-grid a:hover{ color: var(--gold-deep); }
.footer-bottom{ border-top:1px solid var(--line); padding-top:20px; color: var(--muted); font-size:.85rem; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

.footer-links{ list-style:none; padding:0; margin:0 0 20px; display:flex; flex-wrap:wrap; gap:8px 22px; }
.footer-links a{ color: var(--muted); text-decoration:none; font-size:.92rem; }
.footer-links a:hover{ color: var(--gold-deep); }

/* ---------- Legal pages ---------- */
.legal{ padding:56px 0 80px; }
.legal .back{ display:inline-block; margin-bottom:26px; font-weight:700; text-decoration:none; }
.legal h1{ font-size:2rem; margin-bottom:22px; }
.legal p{ color: var(--text); margin:0 0 16px; }
.legal strong{ color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 860px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-art{ order:-1; }
  .relate-grid{ grid-template-columns:1fr; }
  .promise-grid{ grid-template-columns:1fr; }
  .five-grid{ grid-template-columns:1fr; }
  .chapter-list{ columns:1; }
  .audience-grid{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .author{ flex-direction:column; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .btn-primary:hover, .btn-gold:hover{ transform:none; }
}
