/* The Peptide Index - site styles */
:root {
  --bg: #fafaf5;
  --bg-soft: #f4f4ec;
  --surface: #ffffff;
  --line: #e7e5dd;
  --line-soft: #efeee6;
  --text: #0f1419;
  --text-2: #4a4f5c;
  --text-3: #76746c;
  /* Primary: teal, with a deeper green-teal anchor. Inspired by the
     Pantone paint-chip palette: teal, deep teal, lavender, royal purple,
     hot pink, crimson. */
  --primary: #12c0a9;
  --primary-deep: #008f7f;
  --primary-darkest: #006b5f;
  --primary-soft: rgba(18, 192, 169, 0.10);
  --primary-tint: rgba(74, 229, 213, 0.18);
  --secondary: #4e3086;
  --secondary-deep: #3a2163;
  --secondary-soft: rgba(78, 48, 134, 0.10);
  --lavender: #9583d9;
  --lavender-soft: rgba(149, 131, 217, 0.18);
  --accent: #ef84bc;
  --accent-deep: #c41e63;
  --accent-soft: rgba(239, 132, 188, 0.16);
  --warn: #bd2846;
  --warn-soft: rgba(189, 40, 70, 0.10);
  --ok: #12c0a9;
  --teal-light: #4ae5d5;
  --crimson: #bd2846;
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.04), 0 1px 1px rgba(15, 20, 25, 0.02);
  --shadow: 0 4px 12px -2px rgba(15, 20, 25, 0.06), 0 2px 4px -1px rgba(15, 20, 25, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(15, 20, 25, 0.10), 0 8px 16px -4px rgba(15, 20, 25, 0.04);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin: 2.5rem 0 1rem; letter-spacing: -0.025em; }
h3 { font-size: 1.35rem; margin: 1.5rem 0 0.75rem; font-weight: 600; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; font-weight: 600; }
p { margin-bottom: 1rem; }
code, .mono { font-family: 'JetBrains Mono', 'SF Mono', monospace; font-size: 0.9em; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.75rem; }
.prose { max-width: 720px; margin: 0 auto; }
.narrow { max-width: 920px; margin: 0 auto; }

/* Top nav */
.topnav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 245, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(15, 20, 25, 0.06);
}
.topnav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent 0%, #12c0a9 25%, #4e3086 60%, #bd2846 85%, transparent 100%);
  opacity: 0.35;
}
.topnav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 2rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 700; font-size: 1.1rem; color: var(--text);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, #12c0a9 0%, #4e3086 60%, #c41e63 100%);
  display: inline-flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 4px 12px -2px rgba(78, 48, 134, 0.35), inset 0 1px 0 rgba(255,255,255,0.18);
}
.nav-links { display: flex; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 0.9rem; border-radius: 8px;
  color: var(--text-2); font-size: 0.92rem; font-weight: 500;
  transition: all 0.15s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--text); text-decoration: none; }
.nav-links a.active { color: var(--primary-darkest); background: rgba(18, 192, 169, 0.12); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 6px; padding: 0.4rem 0.6rem; cursor: pointer; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 0.5rem 1rem; gap: 0.25rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem; }
}

/* Footer */
footer {
  margin-top: 6rem; padding: 4rem 0 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-soft) 0%, rgba(244, 244, 236, 0.5) 100%);
  position: relative;
}
footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #12c0a9 0%, #4e3086 50%, #bd2846 100%);
  opacity: 0.6;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.footer-grid h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin: 0 0 1rem; font-weight: 600; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--text-2); font-size: 0.95rem; transition: color 0.15s; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--text-3);
}
.disclaimer { font-size: 0.85rem; color: var(--text-2); line-height: 1.5; max-width: 360px; }

/* Page header */
.page-header { padding: 3rem 0 1.5rem; }
.eyebrow { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); font-weight: 600; margin-bottom: 0.75rem; }
.lede { font-size: 1.15rem; color: var(--text-2); max-width: 680px; line-height: 1.55; margin-top: 0.5rem; }

/* Cards */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.4rem; }
.card-dek { color: var(--text-2); font-size: 0.95rem; line-height: 1.5; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.4rem; border-radius: 10px;
  font-family: inherit; font-size: 0.98rem; font-weight: 500;
  border: 1px solid transparent; cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  letter-spacing: -0.005em;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, #14c9b1 0%, #12c0a9 100%);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 4px 12px -2px rgba(18, 192, 169, 0.35);
}
.btn-primary:hover { background: linear-gradient(180deg, #0a9b87 0%, #008f7f 100%); color: white; }
.btn-secondary {
  background: var(--surface); color: var(--text);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(15, 20, 25, 0.04);
}
.btn-secondary:hover { background: var(--bg-soft); color: var(--text); border-color: rgba(15, 20, 25, 0.12); }
.btn-violet { background: var(--secondary); color: white; }
.btn-violet:hover { background: var(--secondary-deep); color: white; }

/* Pills / tags */
.tag { display: inline-block; padding: 0.18rem 0.6rem; font-size: 0.75rem; font-weight: 500; border-radius: 999px; letter-spacing: 0.02em; }
.tag-tractable { background: var(--primary-soft); color: var(--primary-deep); }
.tag-plausible { background: var(--secondary-soft); color: var(--secondary-deep); }
.tag-speculative { background: var(--lavender-soft); color: var(--lavender); }
.tag-experimental { background: var(--warn-soft); color: var(--warn); }

/* Home hero */
.hero {
  padding: 6rem 0 4rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 80% -20%, rgba(149, 131, 217, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 0% 10%, rgba(18, 192, 169, 0.10) 0%, transparent 50%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,20,25,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,20,25,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, transparent 100%);
  pointer-events: none;
}
.hero-inner { max-width: 820px; position: relative; }
.hero h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.hero h1 br + br { display: none; }
.hero .lede { font-size: 1.25rem; max-width: 640px; line-height: 1.55; }
.hero-cta { margin-top: 2.25rem; display: flex; gap: 0.875rem; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 1.75rem; margin-top: 2.5rem; flex-wrap: wrap;
  font-size: 0.88rem; color: var(--text-3);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); display: inline-block; }
.hero-meta .dot { width: 6px; height: 6px; }
.hero-meta span:nth-child(1) { color: var(--primary-deep); font-weight: 500; }

/* Report promo block */
.report-promo {
  margin: 4rem 0 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #006b5f 0%, #4e3086 50%, #bd2846 100%);
  color: white;
  box-shadow: 0 30px 60px -12px rgba(78, 48, 134, 0.35), 0 12px 24px -8px rgba(189, 40, 70, 0.18);
  position: relative;
  isolation: isolate;
}
.report-promo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(74, 229, 213, 0.30) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(239, 132, 188, 0.25) 0%, transparent 45%);
  pointer-events: none;
  z-index: -1;
}
.report-promo::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.10) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.5;
}
.report-promo-inner { padding: 3.5rem 3.5rem; position: relative; z-index: 1; }
.report-promo-text { max-width: 720px; }
.report-promo .eyebrow {
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.5rem;
}
.report-promo h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  margin: 0 0 0.85rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.report-promo p {
  color: rgba(255,255,255,0.92);
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 1.85rem;
  max-width: 640px;
}
.report-promo .btn-primary {
  background: white;
  color: var(--primary-darkest);
}
.report-promo .btn-primary:hover {
  background: var(--bg-soft);
  color: var(--primary-darkest);
}
@media (max-width: 720px) {
  .report-promo-inner { padding: 1.75rem 1.5rem; }
  .report-promo h3 { font-size: 1.5rem; }
}

/* Cluster grid */
.cluster-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 2.5rem 0; }
@media (max-width: 768px) { .cluster-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .cluster-grid { grid-template-columns: 1fr; } }
.cluster {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; transition: all 0.2s; display: block; color: var(--text);
  text-decoration: none; border-left-width: 3px; position: relative;
  box-shadow: 0 1px 2px rgba(15, 20, 25, 0.03);
}
.cluster.cluster-teal { border-left-color: #12c0a9; }
.cluster.cluster-purple { border-left-color: #9583d9; }
.cluster.cluster-pink { border-left-color: #ef84bc; }
.cluster.cluster-teal:hover { border-color: #12c0a9; text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.cluster.cluster-purple:hover { border-color: #9583d9; border-left-color: #4e3086; text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.cluster.cluster-pink:hover { border-color: #ef84bc; border-left-color: #bd2846; text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.cluster-title { font-weight: 600; font-size: 1.08rem; margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.5rem; letter-spacing: -0.01em; }
.cluster-title::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.cluster-teal .cluster-title::before { background: #12c0a9; }
.cluster-purple .cluster-title::before { background: #9583d9; }
.cluster-pink .cluster-title::before { background: #ef84bc; }
.cluster-dek { color: var(--text-2); font-size: 0.92rem; line-height: 1.5; }
.cluster-icon { width: 24px; height: 24px; flex-shrink: 0; color: var(--primary); }

/* 3-up callout */
.cta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 3rem 0; }
@media (max-width: 900px) { .cta-row { grid-template-columns: 1fr; } }
.cta-card {
  padding: 2.25rem 2.25rem 2rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; text-align: left;
  transition: all 0.2s; display: block; color: var(--text);
  position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 20, 25, 0.03);
}
.cta-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0)); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.cta-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: 20px 20px 0 0;
}
.cta-card.cta-teal { background: linear-gradient(135deg, rgba(18, 192, 169, 0.16), rgba(74, 229, 213, 0.22)); }
.cta-card.cta-teal::before { background: linear-gradient(90deg, #12c0a9, #4ae5d5); }
.cta-card.cta-purple { background: linear-gradient(135deg, rgba(149, 131, 217, 0.18), rgba(78, 48, 134, 0.18)); }
.cta-card.cta-purple::before { background: linear-gradient(90deg, #9583d9, #4e3086); }
.cta-card.cta-pink { background: linear-gradient(135deg, rgba(239, 132, 188, 0.18), rgba(189, 40, 70, 0.16)); }
.cta-card.cta-pink::before { background: linear-gradient(90deg, #ef84bc, #bd2846); }
.cta-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.cta-card-title {
  font-size: 1.4rem; font-weight: 700; margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
  letter-spacing: -0.015em;
}
.cta-teal .cta-card-title { color: var(--primary-darkest); }
.cta-purple .cta-card-title { color: #3a2163; }
.cta-pink .cta-card-title { color: #bd2846; }
.cta-card-dek { color: var(--text-2); font-size: 0.98rem; line-height: 1.55; margin-bottom: 1.25rem; }
.cta-card .btn-primary { background: var(--primary); }
.cta-teal .btn-primary { background: var(--primary); }
.cta-teal .btn-primary:hover { background: var(--primary-darkest); }
.cta-purple .btn-primary { background: var(--secondary); }
.cta-purple .btn-primary:hover { background: var(--secondary-deep); }
.cta-pink .btn-primary { background: var(--accent-deep); }
.cta-pink .btn-primary:hover { background: #9a1547; }
.cta-pink .btn-violet { background: var(--accent-deep); }

/* Reference page */
.reference-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3rem; margin: 2rem 0; }
@media (max-width: 900px) { .reference-layout { grid-template-columns: 1fr; gap: 1.5rem; } }
.reference-toc { position: sticky; top: 80px; align-self: start; }
.reference-toc h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin: 0 0 0.75rem; font-weight: 600; }
.reference-toc ul { list-style: none; }
.reference-toc li { margin-bottom: 0.25rem; }
.reference-toc a { color: var(--text-2); font-size: 0.88rem; padding: 0.2rem 0; display: block; }
.reference-toc a:hover { color: var(--primary-deep); text-decoration: none; }
.category-section { margin: 2.5rem 0; padding-top: 1rem; border-top: 1px solid var(--line); }
.category-section:first-of-type { border-top: none; padding-top: 0; }
.category-section h2 { margin-top: 0; }
.category-meta { color: var(--text-2); font-size: 0.95rem; margin-bottom: 1.5rem; }
.peptide-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 1.5rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm);
}
.peptide-header { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.peptide-name { font-size: 1.2rem; font-weight: 600; }
.peptide-sub { color: var(--text-3); font-size: 0.88rem; font-weight: 400; margin-left: 0.5rem; }
.peptide-body { color: var(--text-2); font-size: 0.95rem; margin: 0.5rem 0 1rem; }
.peptide-row { display: grid; grid-template-columns: 120px 1fr; gap: 0.5rem 1rem; padding: 0.4rem 0; font-size: 0.9rem; border-top: 1px dashed var(--line-soft); }
.peptide-row dt { color: var(--text-3); font-weight: 500; }
.peptide-row dd { color: var(--text); }
.plausibility-line { margin-top: 0.75rem; font-size: 0.9rem; }
.plausibility-line strong { color: var(--text-3); font-weight: 500; margin-right: 0.4rem; }

/* FAQ */
.faq-cat { margin: 2.5rem 0; }
.faq-cat h2 { margin-top: 0; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 0.75rem; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.25rem;
  font-weight: 500; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: 1.02rem; color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 1.4rem;
  color: var(--text-3); transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item .faq-answer { padding: 0 1.25rem 1.25rem; color: var(--text-2); font-size: 0.95rem; line-height: 1.6; }

/* Articles index */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 2rem 0; }
@media (max-width: 700px) { .article-grid { grid-template-columns: 1fr; } }
.article-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.5rem; display: block; color: var(--text); transition: all 0.2s;
}
.article-card:hover { border-color: var(--primary); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.article-card .article-meta { font-size: 0.78rem; color: var(--text-3); margin-bottom: 0.5rem; display: flex; gap: 0.75rem; align-items: center; }
.article-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.article-card .article-dek { color: var(--text-2); font-size: 0.92rem; line-height: 1.5; }

/* Article page */
.article-page { padding: 2.5rem 0 4rem; }
.article-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.article-header h1 { margin-bottom: 0.75rem; }
.article-meta { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-3); flex-wrap: wrap; }
.article-body h2 { margin-top: 2.5rem; padding-left: 0.9rem; border-left: 3px solid var(--primary); }
.article-body h3 { margin-top: 1.75rem; }
.article-body p { font-size: 1.05rem; line-height: 1.7; }
.article-body ul, .article-body ol { margin: 1rem 0 1rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; line-height: 1.6; }
.report-shell h2 { border-left: 3px solid var(--primary); padding-left: 0.9rem; }
.report-shell .cat-header h2, .report-shell .peptide-head h2 { border-left: none; padding-left: 0; }
.article-cta {
  background: linear-gradient(135deg, var(--primary-soft), var(--lavender-soft));
  border: 1px solid var(--line); border-radius: 14px;
  padding: 1.75rem; margin: 2.5rem 0; text-align: center;
}
.article-cta h3 { margin-top: 0; }
.last-reviewed { font-size: 0.82rem; color: var(--text-3); margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* About / prescribers */
.prose-page { padding: 2.5rem 0 4rem; }
.prose-page h2 { margin-top: 2.5rem; padding-left: 0.9rem; border-left: 3px solid var(--primary); }
.prose-page p { font-size: 1.05rem; line-height: 1.7; }
.source-list { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 1.5rem 1.5rem 1.5rem 1.75rem; margin: 1.5rem 0; }
.source-list-teal { border-left: 4px solid var(--primary); }
.source-list-purple { border-left: 4px solid var(--secondary); }
.source-list-pink { border-left: 4px solid var(--accent); }
.source-list ul { list-style: none; margin: 0; }
.source-list li { padding: 0.4rem 0; font-size: 0.95rem; }
.source-list strong { color: var(--text); }
.callout-warn { background: var(--warn-soft); border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: 12px; padding: 1.5rem 1.5rem 1.5rem 1.75rem; margin: 2rem 0; }
.callout-warn h2 { color: var(--warn); border-left: none; padding-left: 0; margin-top: 0; }

/* Email subscribe */
.subscribe-band {
  background: linear-gradient(135deg, rgba(18, 192, 169, 0.08), rgba(149, 131, 217, 0.10), rgba(239, 132, 188, 0.08));
  border: 1px solid var(--line); border-radius: 24px;
  padding: 3rem 2rem; margin: 4rem 0 2rem; text-align: center;
  position: relative;
  overflow: hidden;
}
.subscribe-band::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(18, 192, 169, 0.3), rgba(78, 48, 134, 0.3), rgba(189, 40, 70, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.subscribe-band h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400; font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.02em; margin: 0 0 0.5rem;
}
.subscribe-form { display: flex; gap: 0.5rem; max-width: 460px; margin: 1.5rem auto 0; flex-wrap: wrap; }
.subscribe-form input {
  flex: 1; min-width: 200px; padding: 0.8rem 1rem;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 0.98rem; background: var(--surface);
  transition: all 0.15s;
}
.subscribe-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(18, 192, 169, 0.15); }
.subscribe-band p { margin: 0.4rem 0 0; color: var(--text-2); font-size: 0.95rem; }

/* Calculator page wrapper */
.calc-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0; margin: 2rem 0; overflow: hidden; }
.calc-wrap iframe { width: 100%; border: none; min-height: 1400px; display: block; }

/* Update banner */
.update-banner {
  background: var(--secondary-soft); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 1.1rem; margin: 1.5rem 0; font-size: 0.9rem; color: var(--text-2);
  display: flex; gap: 0.6rem; align-items: center;
}
.update-banner strong { color: var(--secondary-deep); }

/* Tablet + phone media tweaks */
@media (max-width: 768px) {
  .hero { padding: 2.5rem 0 2rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
}
