/* =========================================================
   Pepra — site.css
   Page-level styles built on top of tokens.css.
   ========================================================= */

@import url('./tokens.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-thickness var(--dur-fast) var(--ease); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button { font-family: inherit; cursor: pointer; }

/* ===== Layout primitives ===== */
.container { max-width: var(--container-marketing); margin: 0 auto; padding: 0 32px; }
.container-app { max-width: var(--container-app); margin: 0 auto; padding: 0 32px; }
.container-prose { max-width: var(--container-prose); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-loose { padding: 128px 0; }
.divider { border-top: 1px solid var(--border); }

/* ===== Type utilities ===== */
.t-display-1 { font-family: var(--font-display); font-size: var(--fs-display-1); line-height: var(--lh-display); letter-spacing: var(--tracking-display); font-weight: 400; font-variation-settings: 'opsz' 144; color: var(--fg); margin: 0; }
.t-display-2 { font-family: var(--font-display); font-size: var(--fs-display-2); line-height: var(--lh-display); letter-spacing: var(--tracking-display); font-weight: 400; font-variation-settings: 'opsz' 144; color: var(--fg); margin: 0; }
.t-h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: var(--lh-heading); letter-spacing: var(--tracking-heading); font-weight: 400; font-variation-settings: 'opsz' 72; color: var(--fg); margin: 0; }
.t-h2 { font-family: var(--font-body); font-size: var(--fs-h2); line-height: var(--lh-heading); letter-spacing: var(--tracking-heading); font-weight: 500; color: var(--fg); margin: 0; }
.t-h3 { font-family: var(--font-body); font-size: var(--fs-h3); line-height: var(--lh-tight); font-weight: 500; color: var(--fg); margin: 0; }
.t-h4 { font-family: var(--font-body); font-size: var(--fs-h4); line-height: var(--lh-tight); font-weight: 600; color: var(--fg); margin: 0; }
.t-body { font-family: var(--font-body); font-size: var(--fs-body); line-height: var(--lh-body); margin: 0; color: var(--fg); }
.t-body-lg { font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.t-body-sm { font-size: var(--fs-body-sm); line-height: var(--lh-body); color: var(--fg-soft); margin: 0; }
.t-caption { font-size: var(--fs-caption); line-height: var(--lh-tight); color: var(--fg-mute); margin: 0; }
.t-eyebrow { font-size: var(--fs-eyebrow); line-height: 1; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; font-weight: 500; color: var(--fg-mute); }
.t-mono, code { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: var(--tracking-mono); }
.italic-display { font-style: italic; color: var(--accent); }

.t-fade { color: var(--fg-soft); }
.t-mute { color: var(--fg-mute); }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 14px 24px; border-radius: 2px; font-size: 15px; font-weight: 500; border: 1px solid transparent; text-decoration: none; transition: all var(--dur-fast) var(--ease); white-space: nowrap; cursor: pointer; }
.btn-primary { background: var(--green); color: var(--bone); }
.btn-primary:hover { background: var(--green-deep); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); padding: 14px 0; border: none; text-decoration: underline; }
.btn-ghost:hover { text-decoration-thickness: 2px; }
.btn-on-dark { background: var(--bone); color: var(--ink); }
.btn-on-dark:hover { background: var(--bone-soft); text-decoration: none; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn:active { transform: scale(0.98); }

/* ===== Badges / chips ===== */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; }
.chip-green { background: var(--green-soft); color: var(--green-deep); }
.chip-warm { background: var(--apricot-soft); color: var(--apricot); }
.chip-sage { background: rgba(168, 181, 162, 0.18); color: var(--ink-soft); border: 1px solid var(--border); }
.chip-ink { background: var(--ink); color: var(--bone); }
.chip-dot { width: 5px; height: 5px; border-radius: 999px; background: currentColor; }

/* ===== Nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(244, 239, 230, 0.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav-inner { max-width: 1280px; margin: 0 auto; height: 64px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-brand { color: var(--ink); display: flex; align-items: center; text-decoration: none; }
.nav-brand object { width: 96px; height: 28px; pointer-events: none; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 14px; letter-spacing: -0.005em; transition: color var(--dur-fast) var(--ease); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 2px; background: var(--ink); }
.nav-right { display: flex; gap: 18px; align-items: center; }
.nav-right .signin { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.nav-right .signin:hover { color: var(--ink); }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-panel { position: absolute; top: calc(100% + 16px); left: -32px; width: 640px; background: var(--bone); border: 1px solid var(--border); padding: 24px; opacity: 0; pointer-events: none; transform: translateY(-4px); transition: all var(--dur-base) var(--ease); display: grid; grid-template-columns: 1fr 1fr; gap: 8px; box-shadow: var(--shadow-lg); }
.nav-dropdown:hover .nav-dropdown-panel, .nav-dropdown:focus-within .nav-dropdown-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-item { display: flex; flex-direction: column; gap: 2px; padding: 12px; text-decoration: none; border-radius: 2px; transition: background var(--dur-fast) var(--ease); }
.nav-dropdown-item:hover { background: var(--bone-deep); text-decoration: none; }
.nav-dropdown-item .code { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); }
.nav-dropdown-item .name { font-family: var(--font-display); font-size: 18px; color: var(--ink); font-variation-settings: 'opsz' 72; }
.nav-dropdown-item .for { font-size: 12px; color: var(--ink-mute); }

/* mobile nav */
.nav-mobile-toggle { display: none; background: none; border: none; padding: 8px; color: var(--ink); }
@media (max-width: 880px) {
  .nav-links, .nav-right .signin { display: none; }
  .nav-mobile-toggle { display: block; }
  .nav-right .btn { padding: 8px 14px; font-size: 12px; }
}

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-dotbg { position: absolute; inset: 0; background-image: url('../assets/dot-grid.svg'); background-size: 160px; opacity: 0.5; pointer-events: none; }
.hero-inner { position: relative; max-width: 1280px; margin: 0 auto; padding: 96px 32px 80px; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.hero-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.hero-eyebrow .dot { color: var(--green); }
.hero-headline { font-family: var(--font-display); font-size: clamp(56px, 7vw, 96px); font-weight: 400; line-height: 1; letter-spacing: -0.025em; color: var(--ink); margin: 24px 0 24px; font-variation-settings: 'opsz' 144; }
.hero-italic { font-style: italic; color: var(--green); }
.hero-lede { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 52ch; margin: 0 0 28px; }
.hero-cta-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.hero-meta { display: flex; align-items: center; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-meta-num { font-family: var(--font-display); font-size: 32px; display: block; letter-spacing: -0.02em; color: var(--ink); font-variation-settings: 'opsz' 72; }
.hero-meta-lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.hero-meta-sep { width: 1px; height: 32px; background: var(--border); }
.hero-image { display: flex; justify-content: center; }
.hero-image img { width: 100%; max-width: 360px; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 24px; gap: 32px; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 240px; }
  .hero-meta { gap: 18px; }
  .hero-meta-num { font-size: 24px; }
}

/* ===== Sections ===== */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; gap: 24px; flex-wrap: wrap; }
.section-head .head-left { display: flex; flex-direction: column; gap: 12px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); margin: 0; line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: 'opsz' 144; color: var(--ink); }
.section-head p { font-size: 17px; color: var(--ink-soft); max-width: 56ch; margin: 0; }
.section-link { font-size: 14px; color: var(--green); text-decoration: underline; cursor: pointer; }

/* ===== Notice / regulatory banner ===== */
.notice-banner { background: var(--ink); color: var(--bone); border-bottom: 1px solid var(--border); }
.notice-inner { max-width: 1280px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.notice-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 16px; }
.notice-h { font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-variation-settings: 'opsz' 144; }
.notice-h em { font-style: italic; color: var(--sage); }
.notice-body { display: flex; flex-direction: column; gap: 18px; }
.notice-body p { font-size: 16px; line-height: 1.65; color: rgba(244, 239, 230, 0.80); margin: 0; max-width: 60ch; }
.notice-body p strong { color: var(--bone); font-weight: 500; }
@media (max-width: 880px) {
  .notice-inner { grid-template-columns: 1fr; padding: 48px 24px; gap: 24px; }
}

/* ===== Peptide cards ===== */
.peptide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.peptide-card { background: var(--bg); border: 1px solid var(--border); border-radius: 2px; padding: 28px; transition: all 200ms var(--ease); display: flex; flex-direction: column; gap: 10px; min-height: 280px; text-decoration: none; color: var(--ink); position: relative; overflow: hidden; }
.peptide-card:hover { border-color: var(--ink); text-decoration: none; }
.peptide-card .card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.peptide-card .card-eyebrow { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.peptide-card .card-icon { width: 24px; height: 24px; color: var(--sage-deep); }
.peptide-card .card-icon object { pointer-events: none; }
.peptide-card .card-code { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); margin-top: 24px; }
.peptide-card .card-name { font-family: var(--font-display); font-size: 32px; line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: 'opsz' 72; color: var(--ink); margin: 4px 0 8px; }
.peptide-card .card-tag { font-size: 14px; color: var(--ink-soft); flex: 1; }
.peptide-card .card-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 16px; }
.peptide-card .card-price { font-family: var(--font-mono); font-size: 13px; color: var(--ink); }
.peptide-card .card-link { font-size: 13px; color: var(--green); font-weight: 500; }
.peptide-card.featured { background: var(--green); color: var(--bone); border-color: var(--green); }
.peptide-card.featured .card-eyebrow, .peptide-card.featured .card-code, .peptide-card.featured .card-tag, .peptide-card.featured .card-price { color: rgba(244, 239, 230, 0.7); }
.peptide-card.featured .card-name { color: var(--bone); }
.peptide-card.featured .card-link { color: var(--bone); }
.peptide-card.featured .card-foot { border-top-color: rgba(244, 239, 230, 0.2); }
.peptide-card.featured .card-icon { color: var(--bone); }

@media (max-width: 880px) {
  .peptide-grid { grid-template-columns: 1fr; }
}

/* ===== Process steps ===== */
.process-section { background: var(--bg-deep); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.process-step { padding: 32px 32px 32px 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 14px; }
.process-step:last-child { border-right: none; }
.process-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); letter-spacing: 0.08em; }
.process-t { font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-variation-settings: 'opsz' 72; color: var(--ink); margin: 0; }
.process-d { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
@media (max-width: 880px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 0; }
}

/* ===== Science section ===== */
.science-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.science-inner { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.science-h { font-family: var(--font-display); font-size: clamp(32px, 4vw, 52px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: 16px 0 0; font-variation-settings: 'opsz' 144; }
.science-body { display: flex; flex-direction: column; gap: 18px; }
.science-body p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 60ch; }
.science-body p strong { color: var(--ink); font-weight: 500; }
@media (max-width: 880px) {
  .science-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Stack feature ===== */
.stack-feature { padding: 80px 32px; background: var(--bg-deep); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1280px; margin: 0 auto; align-items: center; }
.stack-text .eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.stack-text h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.025em; margin: 16px 0; font-variation-settings: 'opsz' 144; }
.stack-text h2 em { font-style: italic; color: var(--green); }
.stack-text p { font-size: 17px; color: var(--ink-soft); line-height: 1.6; max-width: 56ch; }
.stack-vials { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stack-vials .vial { background: var(--bg); border: 1px solid var(--border); padding: 24px; aspect-ratio: 3 / 4; display: flex; flex-direction: column; justify-content: space-between; }
.stack-vials .vial .code { font-family: var(--font-mono); font-size: 12px; color: var(--ink-mute); }
.stack-vials .vial .name { font-family: var(--font-display); font-size: 28px; line-height: 1.1; font-variation-settings: 'opsz' 72; }
.stack-vials .vial .for { font-size: 13px; color: var(--ink-soft); }
.stack-vials .vial.alt { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.stack-vials .vial.alt .code, .stack-vials .vial.alt .for { color: var(--sage); }

@media (max-width: 880px) {
  .stack-grid { grid-template-columns: 1fr; }
}

/* ===== Testimonials ===== */
.testimonials { padding: 96px 32px; background: var(--bg); }
.testimonial-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 1280px; margin: 0 auto; }
.testimonial { padding: 32px; background: var(--bg-soft); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 20px; }
.testimonial .stars { display: flex; gap: 2px; color: var(--green); font-size: 14px; letter-spacing: 0.05em; font-family: var(--font-mono); }
.testimonial blockquote { font-family: var(--font-display); font-size: 22px; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink); margin: 0; font-variation-settings: 'opsz' 96; }
.testimonial blockquote .pull { color: var(--green); font-style: italic; }
.testimonial-cite { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--bg-deep); display: flex; align-items: center; justify-content: center; color: var(--ink); font-family: var(--font-display); font-size: 16px; font-variation-settings: 'opsz' 72; flex-shrink: 0; border: 1px solid var(--border); }
.testimonial-cite .person { display: flex; flex-direction: column; gap: 2px; }
.testimonial-cite .name { font-size: 14px; font-weight: 500; color: var(--ink); }
.testimonial-cite .meta { font-size: 12px; color: var(--ink-mute); }
.testimonial .verified { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase; }
.testimonial .verified::before { content: '·'; color: var(--green); font-weight: bold; }

@media (max-width: 880px) { .testimonial-strip { grid-template-columns: 1fr; } }

/* ===== Editorial pull-quote ===== */
.pull-quote { background: var(--ink); color: var(--bone); }
.pull-quote-inner { max-width: 900px; margin: 0 auto; padding: 96px 32px; text-align: center; display: flex; flex-direction: column; gap: 28px; align-items: center; }
.pull-quote-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); font-weight: 500; }
.pull-quote q { font-family: var(--font-display); font-style: italic; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.25; letter-spacing: -0.01em; margin: 0; font-variation-settings: 'opsz' 144; quotes: '\201C' '\201D'; }
.pull-quote-cite { display: flex; flex-direction: column; gap: 4px; }
.pull-quote-cite .name { font-size: 14px; font-weight: 500; }
.pull-quote-cite .role { font-size: 12px; color: var(--sage); letter-spacing: 0.04em; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { padding: 24px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; font-family: var(--font-display); font-size: 22px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); font-variation-settings: 'opsz' 72; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-body); font-size: 24px; color: var(--ink-mute); transition: transform var(--dur-base) var(--ease); flex-shrink: 0; line-height: 1; padding-top: 4px; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 64px 32px 0; max-width: 60ch; }
.faq-item .faq-body p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 12px; }
.faq-item .faq-body p:last-child { margin-bottom: 0; }
.faq-item .faq-body a { color: var(--green); }

/* ===== Trust strip ===== */
.trust-strip { padding: 48px 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-item { display: flex; flex-direction: column; gap: 6px; padding-right: 24px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-item .label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.trust-item .value { font-family: var(--font-display); font-size: 18px; font-variation-settings: 'opsz' 72; line-height: 1.25; color: var(--ink); }
.trust-item .meta { font-size: 12px; color: var(--ink-mute); }
@media (max-width: 880px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
}

/* ===== Final CTA ===== */
.final-cta { background: var(--green); color: var(--bone); }
.final-cta-inner { max-width: 1280px; margin: 0 auto; padding: 96px 32px; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.025em; margin: 0; font-variation-settings: 'opsz' 144; }
.final-cta h2 em { font-style: italic; color: var(--bone); opacity: 0.7; }
.final-cta p { font-size: 17px; line-height: 1.55; color: rgba(244, 239, 230, 0.85); margin: 16px 0 0; max-width: 50ch; }
.final-cta .cta-actions { display: flex; flex-direction: column; gap: 14px; }
.final-cta .cta-actions .btn { width: 100%; justify-content: space-between; }
.final-cta .cta-actions .meta { font-size: 12px; color: rgba(244, 239, 230, 0.65); }
@media (max-width: 880px) {
  .final-cta-inner { grid-template-columns: 1fr; padding: 64px 24px; }
}

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 64px 32px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-head { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin-bottom: 4px; }
.footer-link { font-size: 13px; color: var(--ink-soft); text-decoration: none; }
.footer-link:hover { color: var(--ink); text-decoration: underline; }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 14px; color: var(--ink-soft); }
.footer-legal { border-top: 1px solid var(--border); max-width: 1280px; margin: 0 auto; padding: 24px 32px; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-mute); letter-spacing: 0.04em; flex-wrap: wrap; gap: 16px; }
.footer-disclaimer { max-width: 1280px; margin: 0 auto; padding: 0 32px 24px; font-size: 11px; line-height: 1.5; color: var(--ink-mute); }

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ===== Peptide detail page ===== */
.peptide-detail { background: var(--bg); }
.peptide-detail-bar { padding: 16px 32px; border-bottom: 1px solid var(--border); max-width: 1280px; margin: 0 auto; display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--ink-soft); }
.peptide-detail-bar a { color: var(--ink-soft); text-decoration: none; }
.peptide-detail-bar a:hover { color: var(--ink); }
.peptide-detail-bar .sep { color: var(--ink-mute); }

.peptide-detail-header { padding: 64px 32px; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; border-bottom: 1px solid var(--border); }
.peptide-detail-header .head-inner { display: flex; flex-direction: column; gap: 16px; }
.peptide-detail-header .h1 { font-family: var(--font-display); font-size: clamp(48px, 6vw, 88px); line-height: 1; letter-spacing: -0.025em; margin: 0; font-variation-settings: 'opsz' 144; color: var(--ink); }
.peptide-detail-header .lede { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin: 0; max-width: 56ch; }
.peptide-detail-header .head-side { display: flex; align-items: center; justify-content: center; }
.peptide-detail-header .head-side .molecule { width: 100%; max-width: 360px; color: var(--sage-deep); }
.peptide-detail-header .price-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--border-strong); font-family: var(--font-mono); font-size: 13px; align-self: flex-start; margin-top: 8px; }

.peptide-spec { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.peptide-spec-col { padding: 24px 16px 24px 0; border-right: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.peptide-spec-col:last-child { border-right: none; }
.peptide-spec-lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.peptide-spec-val { font-size: 14px; color: var(--ink); }

.peptide-body { max-width: 1280px; margin: 0 auto; padding: 64px 32px; display: grid; grid-template-columns: 7fr 5fr; gap: 64px; }
.peptide-body-main { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.peptide-body-main h2 { font-family: var(--font-display); font-size: 32px; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); margin: 32px 0 0; font-variation-settings: 'opsz' 96; }
.peptide-body-main h2:first-child { margin-top: 0; }
.peptide-body-main p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.peptide-body-main p strong { color: var(--ink); font-weight: 500; }
.peptide-body-main ul { padding-left: 20px; margin: 0; }
.peptide-body-main ul li { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin-bottom: 6px; }
.peptide-body-main ul li::marker { color: var(--green); }

.peptide-aside { background: var(--green); color: var(--bone); padding: 32px; align-self: start; position: sticky; top: 96px; }
.peptide-aside .aside-head { font-family: var(--font-display); font-size: 26px; line-height: 1.2; font-variation-settings: 'opsz' 72; margin-bottom: 14px; }
.peptide-aside .aside-body { font-size: 14px; line-height: 1.55; color: rgba(244, 239, 230, 0.82); margin: 0 0 20px; }
.peptide-aside .aside-meta { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(244, 239, 230, 0.2); display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: rgba(244, 239, 230, 0.7); }
.peptide-aside .aside-meta .row { display: flex; gap: 8px; }
.peptide-aside .aside-meta .row::before { content: '·'; color: var(--bone); }
.peptide-aside .aside-price { font-family: var(--font-mono); font-size: 16px; padding: 14px 0; border-bottom: 1px solid rgba(244, 239, 230, 0.2); margin-bottom: 20px; display: flex; justify-content: space-between; }

@media (max-width: 880px) {
  .peptide-detail-header, .peptide-body { grid-template-columns: 1fr; padding: 32px 24px; gap: 24px; }
  .peptide-spec { grid-template-columns: 1fr 1fr; }
  .peptide-spec-col:nth-child(2) { border-right: none; }
  .peptide-aside { position: static; }
}

/* ===== References / footnotes ===== */
.references { background: var(--bg-deep); padding: 64px 32px; border-top: 1px solid var(--border); }
.references-inner { max-width: 1280px; margin: 0 auto; }
.references h3 { font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 24px; }
.references ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px; }
.references li { font-size: 12px; line-height: 1.55; color: var(--ink-soft); padding-left: 28px; position: relative; }
.references li .num { position: absolute; left: 0; top: 0; font-family: var(--font-mono); color: var(--ink-mute); }
.references li em { font-style: italic; color: var(--ink); }
@media (max-width: 880px) { .references ol { grid-template-columns: 1fr; } }

/* ===== Intake / wizard ===== */
.intake-shell { background: var(--bg); min-height: 100vh; }
.intake-topbar { border-bottom: 1px solid var(--border); padding: 16px 32px; display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; }
.intake-topbar a { color: var(--ink-soft); font-size: 13px; text-decoration: none; }
.intake-progress { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-mute); letter-spacing: 0.04em; font-family: var(--font-mono); }
.intake-progress-track { width: 200px; height: 2px; background: var(--bg-deep); position: relative; overflow: hidden; }
.intake-progress-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--green); transition: width var(--dur-slow) var(--ease); }

.intake-step { max-width: 720px; margin: 0 auto; padding: 80px 32px; }
.intake-step .step-eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; margin-bottom: 16px; }
.intake-step h1 { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 16px; font-variation-settings: 'opsz' 144; }
.intake-step .step-lede { font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 40px; max-width: 56ch; }
.intake-step .step-actions { margin-top: 40px; display: flex; gap: 16px; align-items: center; }
.intake-step .help { margin-top: 8px; font-size: 13px; color: var(--ink-mute); }

/* form fields */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.field label { font-size: 13px; color: var(--ink); font-weight: 500; letter-spacing: 0.01em; }
.field .hint { font-size: 12px; color: var(--ink-mute); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=date], .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: 2px;
  padding: 12px 14px; outline: none; transition: border-color var(--dur-fast) var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.55; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: 1px solid var(--border-strong); border-radius: 2px; cursor: pointer; transition: all var(--dur-fast) var(--ease); background: var(--bg-soft); }
.choice:hover { border-color: var(--ink); }
.choice input[type=checkbox], .choice input[type=radio] { margin-top: 2px; accent-color: var(--green); width: 16px; height: 16px; flex-shrink: 0; }
.choice .choice-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.choice .choice-text .t { font-size: 14px; font-weight: 500; color: var(--ink); }
.choice .choice-text .d { font-size: 12px; color: var(--ink-mute); line-height: 1.5; }
.choice.selected { border-color: var(--green); background: var(--green-soft); }
.choice-grid.col-1 { grid-template-columns: 1fr; }

@media (max-width: 600px) { .choice-grid { grid-template-columns: 1fr; } }

/* ===== Auth / login ===== */
.auth-shell { min-height: 100vh; display: grid; grid-template-columns: 5fr 7fr; }
.auth-side { background: var(--ink); color: var(--bone); padding: 48px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side .dotbg { position: absolute; inset: 0; opacity: 0.15; background-image: url('../assets/dot-grid.svg'); background-size: 160px; }
.auth-side > * { position: relative; }
.auth-side .quote { font-family: var(--font-display); font-size: 28px; line-height: 1.3; font-style: italic; max-width: 16em; font-variation-settings: 'opsz' 96; }
.auth-side .quote-cite { color: var(--sage); font-size: 13px; margin-top: 16px; }
.auth-form-wrap { display: flex; align-items: center; justify-content: center; padding: 48px; }
.auth-form { width: 100%; max-width: 400px; }
.auth-form h1 { font-family: var(--font-display); font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 8px; font-variation-settings: 'opsz' 144; }
.auth-form .sub { color: var(--ink-soft); margin-bottom: 32px; font-size: 15px; }
@media (max-width: 880px) { .auth-shell { grid-template-columns: 1fr; } .auth-side { padding: 32px; } }

/* ===== App / dashboard ===== */
.app-shell { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }
.sidebar { background: var(--bg-soft); border-right: 1px solid var(--border); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.sidebar-brand { padding: 4px 12px 16px; }
.sidebar-brand object { width: 88px; height: 26px; pointer-events: none; }
.sidebar-section { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); padding: 16px 12px 8px; font-weight: 500; }
.sidebar-link { display: flex; align-items: center; gap: 12px; padding: 9px 12px; font-size: 13px; color: var(--ink-soft); text-decoration: none; border-radius: 2px; transition: background var(--dur-fast) var(--ease); }
.sidebar-link:hover { background: var(--bg-deep); }
.sidebar-link.active { background: var(--ink); color: var(--bone); }
.sidebar-link .icon { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.sidebar-user { display: flex; gap: 12px; align-items: center; padding: 12px; }
.sidebar-user .avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--green); color: var(--bone); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; }
.sidebar-user .meta { display: flex; flex-direction: column; gap: 1px; }
.sidebar-user .meta .name { font-size: 13px; font-weight: 500; color: var(--ink); }
.sidebar-user .meta .email { font-size: 11px; color: var(--ink-mute); }

.app-main { padding: 48px; max-width: var(--container-app); }
.app-header-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.app-h1 { font-family: var(--font-display); font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; font-variation-settings: 'opsz' 144; margin: 0; }
.app-greeting { font-size: 17px; color: var(--ink-soft); margin: 8px 0 0; max-width: 60ch; }

.protocol-card { background: var(--bg-soft); border: 1px solid var(--border); padding: 24px; border-radius: 2px; display: flex; flex-direction: column; gap: 8px; transition: all 200ms var(--ease); cursor: pointer; }
.protocol-card:hover { border-color: var(--ink); }
.protocol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .protocol-grid { grid-template-columns: 1fr; } .app-shell { grid-template-columns: 1fr; } .sidebar { position: sticky; top: 0; flex-direction: row; flex-wrap: wrap; padding: 12px; } .app-main { padding: 24px; } }

.timeline { display: flex; flex-direction: column; }
.timeline-row { display: grid; grid-template-columns: 80px 12px 1fr; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--border); }
.timeline-row .tl-date { font-family: var(--font-mono); font-size: 11px; color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.timeline-row .tl-mark { width: 10px; height: 10px; border-radius: 999px; border: 1.5px solid var(--sage); margin-top: 6px; }
.timeline-row .tl-mark.now { background: var(--green); border-color: var(--green); }
.timeline-row .tl-body { display: flex; flex-direction: column; gap: 2px; }
.timeline-row .tl-body .t { font-size: 14px; font-weight: 500; color: var(--ink); }
.timeline-row .tl-body .d { font-size: 12px; color: var(--ink-mute); }

.progress-bar { height: 3px; background: var(--bg-deep); overflow: hidden; }
.progress-fill { height: 100%; background: var(--green); transition: width var(--dur-slow) var(--ease); }

/* ===== Misc ===== */
.spacer-32 { height: 32px; }
.spacer-48 { height: 48px; }
.spacer-64 { height: 64px; }

.callout { padding: 28px; border: 1px solid var(--border); background: var(--bg-soft); border-left: 4px solid var(--green); }
.callout .label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); font-weight: 500; margin-bottom: 8px; }
.callout p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin: 0; }
.callout.warn { border-left-color: var(--amber); }
.callout.warn .label { color: var(--amber); }

.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.kv-grid .kv-row { display: flex; flex-direction: column; gap: 4px; }
.kv-grid .kv-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.kv-grid .kv-value { font-family: var(--font-mono); font-size: 14px; color: var(--ink); }

.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; }
.compare-table th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.compare-table td.code { font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.compare-table tr:hover td { background: var(--bg-deep); }
.compare-table .price { font-family: var(--font-mono); }

/* ===== Hero variant for product pages ===== */
.hero-product { border-bottom: 1px solid var(--border); padding: 48px 32px; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .hero-product { grid-template-columns: 1fr; padding: 32px 24px; } }

/* "Best for" / "Why start here" callout pair */
.feature-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin: 24px 0; }
.feature-pair .item { display: flex; flex-direction: column; gap: 6px; }
.feature-pair .label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.feature-pair .value { font-family: var(--font-display); font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); font-variation-settings: 'opsz' 72; }
.feature-pair .desc { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 600px) { .feature-pair { grid-template-columns: 1fr; } }

/* Related peptides */
.related-strip { background: var(--bg-deep); padding: 80px 32px; border-top: 1px solid var(--border); }
.related-strip-inner { max-width: 1280px; margin: 0 auto; }

/* ===== Print + Reduce motion ===== */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* ===== SEO content sections (long-form text blocks) ===== */
.long-form { padding: 96px 32px; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 4fr 8fr; gap: 64px; }
.long-form .lf-side { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 96px; align-self: start; }
.long-form .lf-side .eyebrow { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
.long-form .lf-side h2 { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 0; font-variation-settings: 'opsz' 144; }
.long-form .lf-body { display: flex; flex-direction: column; gap: 16px; max-width: 60ch; }
.long-form .lf-body p { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.long-form .lf-body p strong { color: var(--ink); font-weight: 500; }
.long-form .lf-body h3 { font-family: var(--font-display); font-size: 22px; font-variation-settings: 'opsz' 72; margin: 24px 0 0; color: var(--ink); }
@media (max-width: 880px) { .long-form { grid-template-columns: 1fr; padding: 64px 24px; gap: 24px; } .long-form .lf-side { position: static; } }

/* small wave/inline svg star for testimonials */
.icon-star { width: 14px; height: 14px; }
