/* ============================================================
   PeptideForward - shared design system
   Aesthetic: clinical-apothecary. Pine green + warm cream +
   copper accent. Fraunces display / Hanken Grotesk body.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --pine:        #16352c;
  --pine-deep:   #0d231d;
  --pine-soft:   #2a5247;
  --cream:       #f6f1e7;
  --cream-deep:  #ede5d4;
  --paper:       #fffdf8;
  --copper:      #c2703d;
  --copper-soft: #d98b58;
  --ink:         #1c241f;
  --ink-soft:    #4a544c;
  --line:        #d9cfba;
  --sage:        #8fa596;

  --serif: 'Fraunces', Georgia, serif;
  --sans:  'Hanken Grotesk', -apple-system, sans-serif;

  --maxw: 1160px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(13,35,29,.06), 0 12px 32px rgba(13,35,29,.08);
  --shadow-lg: 0 2px 6px rgba(13,35,29,.08), 0 24px 60px rgba(13,35,29,.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper);
}
.lede { font-size: 1.22rem; color: var(--ink-soft); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 15px 28px; border-radius: 100px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--copper); color: #fff; box-shadow: 0 8px 22px rgba(194,112,61,.32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(194,112,61,.42); background: var(--copper-soft); }
.btn-ghost { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-ghost:hover { background: var(--pine); color: var(--cream); transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--pine); }
.btn-cream:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,241,231,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; color: var(--pine); display: flex; align-items: center; gap: 9px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .95rem; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.nav a:hover { color: var(--pine); }
.nav .btn { padding: 11px 22px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; font-size: 1.6rem; color: var(--pine); }

/* ---------- Footer ---------- */
.site-foot { background: var(--pine-deep); color: var(--cream); padding: 48px 0 28px; margin-top: 60px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.site-foot .brand { color: var(--cream); }
.site-foot h5 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 18px; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 11px; }
.site-foot a { font-size: .95rem; color: rgba(246,241,231,.78); transition: color .2s; }
.site-foot a:hover { color: var(--copper-soft); }
.foot-note { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(246,241,231,.14); font-size: .82rem; color: rgba(246,241,231,.55); line-height: 1.7; }
.disclaimer { background: rgba(246,241,231,.06); border-left: 3px solid var(--copper); padding: 16px 20px; border-radius: 8px; font-size: .82rem; color: rgba(246,241,231,.7); margin-top: 24px; line-height: 1.65; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav { position: fixed; inset: 72px 0 auto 0; z-index: 50; flex-direction: column; background: var(--cream); padding: 24px 28px 32px; gap: 18px; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s ease, visibility .35s ease; align-items: stretch; visibility: hidden; pointer-events: none; }
  .nav.open { transform: none; visibility: visible; pointer-events: auto; }
  .nav a { font-size: 1.05rem; }
  .menu-btn { display: block; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   Shared sections & components (consolidated from page styles)
   ============================================================ */
.section { padding: 54px 0; }
.section-head { max-width: 38em; margin-bottom: 34px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); color: var(--pine); margin: 14px 0 14px; }

.chip-btn { padding: 10px 18px; border-radius: 100px; border: 1.5px solid var(--line); background: var(--paper); font-family: var(--sans); font-size: .88rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: all .2s; }
.chip-btn:hover { border-color: var(--copper-soft); color: var(--pine); }
.chip-btn.active { background: var(--pine); color: var(--cream); border-color: var(--pine); }

.capture-inner { background: linear-gradient(135deg, var(--pine), var(--pine-soft)); border-radius: var(--r-lg); padding: 40px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 38px; align-items: center; box-shadow: var(--shadow-lg); }
.capture-inner h2 { color: var(--cream); font-size: clamp(1.8rem,3vw,2.4rem); }
.capture-inner p { color: rgba(246,241,231,.8); margin-top: 12px; }
.cform { display: flex; gap: 10px; flex-wrap: wrap; }
.cform input { flex: 1; min-width: 200px; padding: 16px 20px; border-radius: 100px; border: 0; font-family: var(--sans); font-size: 1rem; }
.cform input:focus { outline: 2px solid var(--copper); }

/* ===== Legal / document pages ===== */
.legal-hero { background: linear-gradient(180deg, var(--cream-deep), var(--cream)); padding: 40px 0 30px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.2rem,4.4vw,3.2rem); color: var(--pine); margin: 12px 0 10px; }
.legal-hero .updated { font-size: .9rem; color: var(--ink-soft); }
.legal-body { padding: 40px 0 0; }
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 52px; align-items: start; }
.legal-toc { position: sticky; top: 96px; }
.legal-toc h5 { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); margin-bottom: 14px; }
.legal-toc a { display: block; font-size: .88rem; color: var(--ink-soft); padding: 6px 0 6px 14px; border-left: 2px solid var(--line); transition: all .2s; }
.legal-toc a:hover { color: var(--pine); border-color: var(--copper); }
.doc h2 { font-size: 1.5rem; color: var(--pine); margin: 40px 0 14px; scroll-margin-top: 90px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.12rem; color: var(--pine-soft); margin: 22px 0 8px; }
.doc p, .doc li { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.72; }
.doc p { margin-bottom: 16px; }
.doc ul { margin: 0 0 18px 22px; }
.doc li { margin-bottom: 9px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--copper); font-weight: 600; }
.note { background: var(--cream-deep); border-left: 4px solid var(--copper); border-radius: 10px; padding: 18px 22px; margin: 0 0 30px; font-size: .95rem; color: var(--ink); line-height: 1.65; }
.note b { color: var(--pine); }
.caps { font-size: .95rem; }
.template-flag { background: rgba(194,112,61,.1); border: 1px dashed var(--copper); border-radius: 10px; padding: 16px 20px; margin-bottom: 30px; font-size: .9rem; color: var(--ink); line-height: 1.6; }

@media (max-width: 900px){ .legal-layout{ grid-template-columns:1fr; } .legal-toc{ display:none; } }
@media (max-width: 860px){ .capture-inner{ grid-template-columns:1fr; padding:36px; } }

/* ===== Cookie consent banner ===== */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; background: var(--pine-deep); color: var(--cream); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 24px; transform: translateY(120%); transition: transform .4s cubic-bezier(.2,.8,.2,1); flex-wrap: wrap; box-shadow: 0 -8px 30px rgba(13,35,29,.2); }
.cookie-bar.show { transform: none; }
.cookie-text { font-size: .88rem; color: rgba(246,241,231,.85); max-width: 70ch; line-height: 1.5; margin: 0; }
.cookie-text a { color: var(--copper-soft); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn { font-family: var(--sans); font-weight: 600; font-size: .88rem; padding: 10px 22px; border-radius: 100px; cursor: pointer; border: 1px solid transparent; transition: all .2s; }
.cookie-btn.accept { background: var(--copper); color: #fff; }
.cookie-btn.accept:hover { background: var(--copper-soft); }
.cookie-btn.decline { background: transparent; color: var(--cream); border-color: rgba(246,241,231,.4); }
.cookie-btn.decline:hover { border-color: var(--cream); }
@media (max-width: 600px){ .cookie-bar { flex-direction: column; align-items: flex-start; } .cookie-actions { width: 100%; } .cookie-btn { flex: 1; } }

/* ===== FTC affiliate disclosure ===== */
.disclosure-bar { background: var(--cream-deep); border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .8rem; text-align: center; padding: 9px 20px; line-height: 1.45; }
.disclosure-bar a { color: var(--copper); font-weight: 600; white-space: nowrap; }
.cta-disclosure { font-size: .8rem; color: var(--ink-soft); margin-top: 12px; line-height: 1.45; max-width: 46em; }
.cta-disclosure a { color: var(--copper); font-weight: 600; }
.hero-cta + .cta-disclosure, .cta + .cta-disclosure { margin-top: 16px; }
.cta-disclosure.on-dark { color: rgba(246,241,231,.72); }
.cta-disclosure.on-dark a { color: var(--copper-soft); }
.cta-disclosure.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Logo mark + wordmark ===== */
.brand .mark { flex: 0 0 auto; display: inline-block; }
.brand .mark .mono { font-family: var(--serif); font-weight: 600; }
.brand .wm { display: inline; }
.brand .wm-f { color: var(--copper); }
.site-foot .brand .mark .hex { fill: var(--cream); }
.site-foot .brand .mark .mono { fill: var(--pine); }
