.peptide-intake-guide {
    --peptide-accent: #0f766e;
    --peptide-accent-dark: #115e59;
    --peptide-berry: #9f1239;
    --peptide-gold: #b7791f;
    --peptide-soft: rgba(15, 118, 110, 0.08);
    --peptide-berry-soft: rgba(159, 18, 57, 0.08);
    background:
        radial-gradient(circle at 16% 8%, rgba(15, 118, 110, 0.10), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(159, 18, 57, 0.08), transparent 30%),
        #f8f6ef;
}

.peptide-intake-guide .meridian-guide__hero-copy {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.92)),
        linear-gradient(135deg, rgba(15, 118, 110, 0.10), rgba(159, 18, 57, 0.07));
}

.peptide-intake-guide__hero-visual img {
    max-width: min(100%, 360px);
    max-height: 380px;
    object-fit: contain;
    border-radius: 20px;
    background: #ffffff;
}

.peptide-intake-guide__stage-grid,
.peptide-intake-guide__product-grid,
.peptide-intake-guide__matrix,
.peptide-intake-guide__source-links {
    display: grid;
    gap: 18px;
}

.peptide-intake-guide__stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.peptide-intake-guide__product-grid {
    grid-template-columns: repeat(auto-fit, minmax(146px, 176px));
    justify-content: center;
    align-items: start;
}

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

.peptide-intake-guide__source-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.peptide-intake-guide__product-card,
.peptide-intake-guide__matrix-card,
.peptide-intake-guide__source-card {
    margin: 0;
    padding: 18px;
    border: 1px solid var(--guide-border);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.96));
    box-shadow: var(--guide-shadow);
}

.peptide-intake-guide__product-card {
    width: 100%;
    max-width: 176px;
    padding: 12px;
    border-radius: 16px;
    text-align: center;
}

.peptide-intake-guide__product-card img {
    display: block;
    width: min(100%, 142px);
    max-height: 142px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    background: #f8fafc;
}

.peptide-intake-guide__product-card figcaption {
    margin-top: 10px;
    color: var(--guide-ink);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 700;
}

.peptide-intake-guide__matrix-card h3,
.peptide-intake-guide__source-card h3 {
    margin: 0 0 10px;
    color: var(--guide-ink);
}

.peptide-intake-guide__matrix-card p,
.peptide-intake-guide__source-card p {
    margin: 0;
}

.peptide-intake-guide__timeline {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.peptide-intake-guide__timeline-step {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--guide-border);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.05), rgba(159, 18, 57, 0.05));
}

.peptide-intake-guide__timeline-step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--peptide-accent);
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
}

.peptide-intake-guide__timeline-step h3 {
    margin: 0 0 8px;
    color: var(--guide-ink);
}

.peptide-intake-guide__timeline-step p {
    margin: 0;
}

.peptide-intake-guide .training-guide__warning a,
.peptide-intake-guide .training-guide__note a,
.peptide-intake-guide .training-guide__list-card a,
.peptide-intake-guide__matrix-card a,
.peptide-intake-guide__source-card a {
    color: var(--peptide-accent-dark);
    font-weight: 700;
}

.peptide-intake-guide .training-guide__warning a:hover,
.peptide-intake-guide .training-guide__note a:hover,
.peptide-intake-guide .training-guide__list-card a:hover,
.peptide-intake-guide__matrix-card a:hover,
.peptide-intake-guide__source-card a:hover,
.peptide-intake-guide .training-guide__warning a:focus-within,
.peptide-intake-guide .training-guide__note a:focus-within,
.peptide-intake-guide .training-guide__list-card a:focus-within,
.peptide-intake-guide__matrix-card a:focus-within,
.peptide-intake-guide__source-card a:focus-within{
    color: var(--peptide-berry);
}

.peptide-intake-guide .meridian-guide__search-links ul {
    columns: 2;
    column-gap: 28px;
}

.peptide-intake-guide .meridian-guide__search-links li {
    break-inside: avoid;
}

html[data-effective-theme="dark"] .peptide-intake-guide {
    --guide-ink: #f8fafc;
    --guide-text: #d1d5db;
    --guide-muted: #a7b0bd;
    --guide-border: rgba(148, 163, 184, 0.28);
    --guide-surface: #111827;
    background:
        radial-gradient(circle at 16% 8%, rgba(20, 184, 166, 0.12), transparent 30%),
        radial-gradient(circle at 86% 18%, rgba(244, 63, 94, 0.10), transparent 30%),
        #0b1120;
}

html[data-effective-theme="dark"] .peptide-intake-guide .meridian-guide__hero-copy,
html[data-effective-theme="dark"] .peptide-intake-guide .training-guide__program-card,
html[data-effective-theme="dark"] .peptide-intake-guide .training-guide__list-card,
html[data-effective-theme="dark"] .peptide-intake-guide__product-card,
html[data-effective-theme="dark"] .peptide-intake-guide__matrix-card,
html[data-effective-theme="dark"] .peptide-intake-guide__source-card,
html[data-effective-theme="dark"] .peptide-intake-guide__timeline-step {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.96));
    border-color: rgba(148, 163, 184, 0.28);
}

html[data-effective-theme="dark"] .peptide-intake-guide .training-guide__note {
    background: rgba(20, 184, 166, 0.12);
}

html[data-effective-theme="dark"] .peptide-intake-guide .training-guide__warning {
    background: rgba(245, 158, 11, 0.12);
}

html[data-effective-theme="dark"] .peptide-intake-guide .meridian-guide__stat {
    background: rgba(15, 23, 42, 0.92);
}

html[data-effective-theme="dark"] .peptide-intake-guide .meridian-guide__toc-box {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.12), rgba(244, 63, 94, 0.08));
}

html[data-effective-theme="dark"] .peptide-intake-guide__product-card img,
html[data-effective-theme="dark"] .peptide-intake-guide__hero-visual img {
    background: #f8fafc;
}

@media (max-width: 1080px) {
    .peptide-intake-guide__stage-grid,
    .peptide-intake-guide__source-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .peptide-intake-guide__product-grid {
        grid-template-columns: repeat(auto-fit, minmax(138px, 168px));
    }

    .peptide-intake-guide__product-card {
        max-width: 168px;
    }
}

@media (max-width: 760px) {
    .peptide-intake-guide__stage-grid,
    .peptide-intake-guide__matrix,
    .peptide-intake-guide__source-links {
        grid-template-columns: 1fr;
    }

    .peptide-intake-guide__hero-visual img {
        max-width: min(100%, 280px);
        max-height: 300px;
    }

    .peptide-intake-guide__product-grid {
        grid-template-columns: repeat(2, minmax(0, 156px));
        gap: 14px;
    }

    .peptide-intake-guide__product-card {
        max-width: 156px;
        padding: 10px;
    }

    .peptide-intake-guide__product-card img {
        width: min(100%, 122px);
        max-height: 122px;
    }

    .peptide-intake-guide__timeline-step {
        grid-template-columns: 1fr;
    }

    .peptide-intake-guide__timeline-step strong {
        justify-self: start;
    }

    .peptide-intake-guide .meridian-guide__search-links ul {
        columns: 1;
    }
}

@media (max-width: 520px) {
    .peptide-intake-guide__product-card,
    .peptide-intake-guide__matrix-card,
    .peptide-intake-guide__source-card,
    .peptide-intake-guide__timeline-step {
        padding: 14px;
    }

    .peptide-intake-guide__product-card {
        padding: 10px;
    }
}

@media (max-width: 380px) {
    .peptide-intake-guide__product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .peptide-intake-guide__product-card {
        max-width: none;
    }

    .peptide-intake-guide__product-card img {
        width: min(100%, 108px);
        max-height: 108px;
    }
}
