/* FYH Peptides — Legal page styles (terms / privacy / shipping / disclaimer) */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-900: #14532d;
  --green-800: #166534;
  --green-700: #1B6B3A;
  --green-500: #22c55e;
  --green-50:  #f0fdf4;
  --warm-50:  #FDFCFA;
  --warm-100: #F8F6F1;
  --warm-200: #F0EDE6;
  --zinc-900: #18181b;
  --zinc-800: #27272a;
  --zinc-700: #3f3f46;
  --zinc-600: #52525b;
  --zinc-500: #71717a;
  --zinc-400: #a1a1aa;
  --zinc-200: #e4e4e7;
  --red-600:  #dc2626;
  --red-50:   #fef2f2;
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  --radius-sm: 0.75rem;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--warm-50);
  color: var(--zinc-800);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 800px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }

/* Header */
.site-header {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--warm-200);
  background: rgba(253, 252, 250, 0.85);
  backdrop-filter: blur(12px);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container { max-width: 1200px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo-text { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--green-900); }
.logo-text span {
  font-weight: 400; color: var(--zinc-500); font-size: 0.72rem;
  display: block; letter-spacing: 0.08em; text-transform: uppercase; margin-top: -2px;
}
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; }
.nav-links a {
  display: block; padding: 0.5rem 1rem; font-size: 0.9rem; font-weight: 500;
  color: var(--zinc-600); text-decoration: none; border-radius: var(--radius-sm);
}
.nav-links a:hover { color: var(--green-800); background: var(--green-50); }

/* Page heading */
.page-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--warm-200);
  margin-bottom: 2.5rem;
}
.page-hero .label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-700); font-weight: 600; margin-bottom: 0.6rem;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700; letter-spacing: -0.02em; color: var(--zinc-900);
  line-height: 1.15;
}
.page-hero .updated {
  display: block; margin-top: 0.75rem;
  font-size: 0.82rem; color: var(--zinc-500);
}

/* Content */
.page-content {
  padding-bottom: 4rem;
}
.page-content h2 {
  font-size: 1.4rem; font-weight: 700;
  color: var(--zinc-900); letter-spacing: -0.02em;
  margin: 2.5rem 0 0.85rem;
}
.page-content h3 {
  font-size: 1.1rem; font-weight: 700;
  color: var(--zinc-800);
  margin: 1.75rem 0 0.6rem;
}
.page-content p { margin: 0 0 1rem; color: var(--zinc-700); }
.page-content ul, .page-content ol {
  margin: 0 0 1rem 1.5rem;
  color: var(--zinc-700);
}
.page-content li { margin-bottom: 0.45rem; }
.page-content strong { color: var(--zinc-900); }
.page-content a { color: var(--green-800); text-decoration: underline; }
.page-content a:hover { color: var(--green-700); }

/* Emphasis blocks */
.callout-warn {
  background: var(--red-50);
  border-left: 4px solid var(--red-600);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.callout-warn strong { color: var(--red-600); }

/* Footer */
.site-footer {
  background: var(--zinc-900); color: var(--zinc-400);
  padding: 3rem 0 2rem; margin-top: 3rem;
}
.site-footer .container { max-width: 1200px; }
.footer-inner { display: flex; flex-direction: column; gap: 1.25rem; text-align: center; }
.footer-disclaimer {
  font-size: 0.78rem; padding: 1rem 1.5rem;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: var(--radius-sm); color: #fca5a5;
}
.footer-disclaimer strong { color: #fca5a5; }
.footer-links {
  font-size: 0.85rem; padding: 0.5rem 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 0.85rem;
  justify-content: center;
}
.footer-links a { color: var(--zinc-300); text-decoration: none; }
.footer-links a:hover { color: var(--green-500); }
.footer-bottom {
  font-size: 0.78rem; color: var(--zinc-500);
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.06);
}

/* Research Library */
.rl-subtitle {
  margin-top: 0.85rem;
  font-size: 1.05rem;
  color: var(--zinc-600);
  line-height: 1.6;
  max-width: 70ch;
}
.rl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
  margin: 1.75rem 0 1rem;
}
.rl-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.4rem 1.5rem;
  background: var(--warm-100);
  border: 1px solid var(--warm-200);
  border-radius: 1rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.rl-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-700);
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.12);
}
.rl-card-cat {
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-700); font-weight: 700;
}
.rl-card-title {
  font-size: 1.05rem; font-weight: 700; color: var(--zinc-900);
  line-height: 1.35; letter-spacing: -0.01em;
}
.rl-card-desc {
  font-size: 0.85rem; color: var(--zinc-600); line-height: 1.55;
}
.rl-card-meta {
  margin-top: 0.35rem;
  font-size: 0.74rem; color: var(--zinc-500);
  font-family: var(--font-mono, monospace);
}

/* Article → product link card */
.rl-product-link { margin: 2.5rem 0 1rem; }
.rl-product-label {
  display: block;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--zinc-500); font-weight: 700; margin-bottom: 0.5rem;
}
.rl-product-card {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--green-50);
  border: 1px solid rgba(22,101,52,0.15);
  border-radius: 1rem;
  text-decoration: none;
}
.rl-product-card:hover { border-color: var(--green-700); }
.rl-product-name { font-size: 1.15rem; font-weight: 700; color: var(--zinc-900); }
.rl-product-meta { font-size: 0.85rem; color: var(--zinc-600); }
.rl-product-cta { margin-top: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--green-800); }

/* Article citations */
.rl-cites { list-style: none; margin: 1rem 0 0; padding: 0; }
.rl-cite {
  display: flex; gap: 0.6rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--warm-200);
}
.rl-cite:last-child { border-bottom: none; }
.rl-cite-num {
  flex-shrink: 0; font-weight: 700; color: var(--zinc-500);
  font-family: var(--font-mono, monospace); font-size: 0.85rem;
}
.rl-cite-body { display: flex; flex-direction: column; gap: 0.2rem; }
.rl-cite-title { font-size: 0.92rem; font-weight: 600; color: var(--zinc-900); line-height: 1.4; }
.rl-cite-src { font-size: 0.8rem; color: var(--zinc-600); }
.rl-cite-links { font-size: 0.78rem; margin-top: 0.15rem; }
.rl-cite-links a { color: var(--green-800); font-weight: 600; }

@media (max-width: 768px) {
  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.1rem;
  }
  .nav-links a { padding: 0.4rem 0.55rem; font-size: 0.8rem; }
  .header-inner { gap: 0.75rem; flex-wrap: wrap; }
  .rl-grid { grid-template-columns: 1fr; }
}
