:root {
  --ink: #17211c;
  --muted: #5f6b64;
  --paper: #fbfbf7;
  --surface: #ffffff;
  --line: #d9dfd7;
  --green: #1f6f57;
  --teal: #0d7f88;
  --coral: #c65a43;
  --gold: #b8842b;
  --blue: #234f8c;
  --shadow: 0 22px 70px rgba(23, 33, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(251, 251, 247, 0.88);
  border-bottom: 1px solid rgba(217, 223, 215, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: white;
  background: var(--green);
  border-radius: 8px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--green);
}

.hero {
  min-height: auto;
  padding: clamp(48px, 8vw, 110px) clamp(18px, 5vw, 72px) clamp(42px, 7vw, 86px);
  background:
    radial-gradient(circle at 76% 28%, rgba(13, 127, 136, 0.14), transparent 27%),
    linear-gradient(135deg, #fbfbf7 0%, #f0f5f0 52%, #eef4f7 100%);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 4.4vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 680px;
  margin: 28px 0 0;
  color: #3f4d45;
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: white;
  background: var(--ink);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.58);
}

.chain {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: center;
}

.chain span {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
}

.chain span:nth-child(2) {
  background: var(--coral);
}

.chain span:nth-child(3) {
  background: var(--blue);
}

.chain span:nth-child(4) {
  background: var(--gold);
}

.chain span:nth-child(5) {
  background: var(--teal);
}

.chain span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: 10px;
  height: 3px;
  background: #8a978d;
  transform: translateY(-50%);
}

.notice {
  width: min(1120px, calc(100% - 36px));
  margin: -18px auto 0;
  padding: 18px 20px;
  background: #fff7e7;
  border: 1px solid #ead5ab;
  border-radius: 8px;
  color: #513d18;
  box-shadow: 0 14px 32px rgba(81, 61, 24, 0.08);
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
}

.compact-page .detail-hero {
  padding-bottom: 18px;
}

.compact-page .section {
  padding: clamp(28px, 4.5vw, 48px) 0;
}

.compact-page .section-heading {
  margin-bottom: 16px;
}

.compact-page .detail-longform {
  gap: 10px;
  padding: 0;
}

.compact-page .detail-longform article,
.compact-page .detail-overview article {
  padding: 20px;
}

.compact-page .use-grid {
  margin-top: 18px;
}

.compact-page .two-column {
  gap: clamp(20px, 4vw, 42px);
}

.compact-page .image-card img {
  max-height: 280px;
  object-fit: contain;
}

.uses-page .section {
  padding: clamp(16px, 2.6vw, 30px) 0;
}

.uses-page .detail-hero {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: 8px;
}

.uses-page .detail-hero h1 {
  margin: 10px 0 12px;
}

.uses-page .section-heading {
  margin-bottom: 12px;
}

.uses-page .section-heading p {
  margin-bottom: 0;
}

.uses-page .detail-longform {
  padding-bottom: 0;
}

.uses-page .detail-overview {
  padding-bottom: 0;
}

.uses-page .use-grid {
  gap: 10px;
}

.uses-page .use-grid article {
  padding: 18px;
}

.uses-page .table-wrap {
  box-shadow: 0 10px 28px rgba(23, 33, 28, 0.07);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.68fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.5vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.image-card {
  margin: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.image-card img {
  width: 100%;
  padding: 14px;
  background: #f7faf8;
  border-radius: 6px;
}

figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.use-grid article,
.steps article {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.use-grid article:nth-child(2) {
  border-top-color: var(--teal);
}

.use-grid article:nth-child(3) {
  border-top-color: var(--coral);
}

.use-grid article:nth-child(4) {
  border-top-color: var(--gold);
}

.access {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.steps span {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-weight: 900;
}

.catalog {
  width: min(1380px, calc(100% - 24px));
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 780px;
}

.controls {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(150px, 0.62fr) minmax(140px, 0.54fr);
  gap: 12px;
  min-width: min(720px, 100%);
}

label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 0.96rem;
  text-transform: none;
}

.table-wrap {
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23, 33, 28, 0.08);
}

table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

th,
td {
  padding: 15px 14px;
  border-bottom: 1px solid #e8ede6;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #eef4ef;
  color: #334139;
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

td {
  color: #334139;
  font-size: 0.93rem;
}

td:first-child {
  color: var(--ink);
  font-weight: 850;
}

.peptide-link {
  color: var(--green);
  text-decoration: none;
}

.peptide-link:hover {
  text-decoration: underline;
}

.tag {
  display: inline-flex;
  max-width: 100%;
  padding: 4px 8px;
  color: #204137;
  background: #e8f3ed;
  border: 1px solid #c8ddd1;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.result-count {
  margin: 14px 4px 0;
  font-size: 0.92rem;
}

.sources {
  border-top: 1px solid var(--line);
}

.sources ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.feature-card:hover {
  border-color: #b8cbc1;
  box-shadow: 0 16px 38px rgba(23, 33, 28, 0.1);
  transform: translateY(-2px);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f5f8f5;
  border: 1px solid #e3e9e2;
  border-radius: 6px;
}

.feature-card p {
  margin: 0;
}

.content-hero {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.blog-page .section {
  padding: clamp(32px, 5vw, 68px) 0;
}

.blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  padding: clamp(42px, 6vw, 78px) 0 clamp(28px, 5vw, 54px);
}

.blog-hero h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(2.35rem, 4.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.blog-hero p {
  max-width: 760px;
  margin: 0;
  color: #3f4d45;
  font-size: clamp(1.04rem, 1.6vw, 1.24rem);
}

.blog-hero-panel {
  padding: 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.blog-hero-panel strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.02rem;
}

.blog-hero-panel ul,
.pathway-card ul,
.article-sidebar ul,
.article-sidebar ol,
.source-checkpoints ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.blog-hero-panel li {
  color: #e7efe9;
}

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pathway-card {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 33, 28, 0.06);
}

.pathway-card h3 {
  margin: 0 0 10px;
  font-size: 1.28rem;
}

.pathway-card p {
  margin: 0 0 18px;
  color: #3f4d45;
}

.pathway-card a,
.article-sidebar a,
.source-checkpoints a {
  color: var(--green);
  font-weight: 800;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.blog-library .feature-card {
  grid-template-rows: auto auto 1fr;
}

.article-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(24px, 5vw, 56px);
  align-items: end;
  padding: clamp(42px, 6vw, 72px) 0 30px;
}

.article-hero h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.9vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.article-hero p {
  max-width: 780px;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
}

.article-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f5f8f5;
  border: 1px solid #e3e9e2;
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(23, 33, 28, 0.11);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.article-meta span {
  padding: 7px 10px;
  color: #3f4d45;
  background: #eef6f2;
  border: 1px solid #c8ddd1;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 250px) minmax(0, 820px);
  gap: clamp(24px, 5vw, 56px);
  align-items: start;
  padding-bottom: 70px;
}

.article-sidebar {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 14px;
}

.sidebar-block {
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sidebar-block h2 {
  margin: 0 0 12px;
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.sidebar-block li {
  color: #3f4d45;
  font-size: 0.94rem;
}

.article-content {
  max-width: 820px;
}

.article-content p {
  color: #3f4d45;
  font-size: 1.08rem;
}

.article-content h2 {
  margin-top: 38px;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: #3f4d45;
  font-size: 1.04rem;
}

.article-summary {
  display: grid;
  gap: 10px;
  margin: 24px 0 34px;
  padding: 20px;
  background: #eef6f2;
  border: 1px solid #c8ddd1;
  border-radius: 8px;
}

.article-summary strong {
  color: var(--ink);
}

.quick-answer,
.article-toolkit,
.source-checkpoints {
  margin: 0 0 26px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(23, 33, 28, 0.06);
}

.quick-answer {
  background: #eef6f2;
  border-color: #c8ddd1;
}

.quick-answer h2,
.article-toolkit h2,
.source-checkpoints h2,
.decision-grid h2 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.quick-answer p,
.source-checkpoints p {
  margin: 0;
}

.decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.decision-grid > div {
  padding: 20px;
  background: #fffdf6;
  border: 1px solid #ead5ab;
  border-radius: 8px;
}

.decision-grid > div:first-child {
  background: #fff7f2;
  border-color: #efc3b6;
}

.source-checkpoints {
  margin-top: 16px;
}

.article-notice {
  width: 100%;
  margin: 30px 0 0;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 920px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
}

.faq details p {
  margin: 0;
  padding: 0 20px 20px;
}

.detail-page,
.legal-page {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.detail-hero {
  padding: clamp(40px, 6vw, 70px) 0 26px;
}

.detail-hero h1 {
  max-width: 840px;
  margin: 18px 0 16px;
  font-size: clamp(2rem, 4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.detail-hero p {
  max-width: 760px;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 850;
  text-decoration: none;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 22px;
}

.detail-grid article,
.detail-overview article,
.detail-longform article,
.detail-media article,
.legal-content {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-grid h2,
.detail-overview h2,
.detail-longform h2,
.detail-media h2,
.legal-content h2 {
  font-size: 1.35rem;
}

.detail-overview,
.detail-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding-bottom: 22px;
}

.detail-longform {
  display: grid;
  gap: 14px;
  padding: 8px 0 22px;
}

.detail-longform article {
  display: block;
}

.detail-longform article h2 {
  margin: 0 0 12px;
}

.detail-longform article p:first-of-type {
  margin-top: 0;
}

.detail-longform article p {
  max-width: 820px;
}

.fact-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.fact-list div {
  display: grid;
  grid-template-columns: minmax(110px, 0.34fr) minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8ede6;
}

.fact-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 0;
  color: #334139;
}

.resource-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 20px;
}

.resource-list a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.resource-list a:hover {
  text-decoration: underline;
}

.detail-disclaimer {
  width: 100%;
  margin: 20px 0 72px;
}

.detail-section {
  width: 100%;
  padding-top: 44px;
}

.question-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-left: 20px;
  color: var(--muted);
}

.legal-content {
  margin-bottom: 64px;
}

.legal-content h2 {
  margin-top: 28px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.cookie-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  width: min(720px, calc(100% - 36px));
  padding: 18px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.cookie-notice[hidden] {
  display: none;
}

.cookie-notice p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-actions button {
  min-height: 40px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  color: white;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-actions button:last-child {
  color: var(--ink);
  background: white;
}

@media (max-width: 980px) {
  .hero,
  .two-column,
  .access,
  .blog-hero,
  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pathway-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

  .controls {
    margin-top: 22px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-overview,
  .detail-media {
    grid-template-columns: 1fr;
  }

  .detail-longform article {
    display: block;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 36px;
  }

  .hero-actions,
  footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .use-grid,
  .steps,
  .controls,
  .feature-grid,
  .decision-grid,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .blog-hero-panel,
  .quick-answer,
  .article-toolkit,
  .source-checkpoints,
  .decision-grid > div {
    padding: 18px;
  }

  .cookie-notice {
    grid-template-columns: 1fr;
  }

  .cookie-actions button {
    flex: 1 1 160px;
  }

  th,
  td {
    padding: 12px;
  }
}
