.article-page {
    --article-width: 760px;
    background: var(--paper);
}

.article-page::before {
    width: 520px;
    height: 520px;
    top: -220px;
}

.article-page::after {
    top: 36%;
}

.article-nav .nav-inner {
    padding-right: 28px;
    padding-left: 28px;
}

.article-shell {
    width: min(calc(100% - 48px), var(--article-width));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.article-hero {
    padding: 76px 0 64px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,246,231,.18));
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--leaf-dark);
    text-decoration: none;
}

.breadcrumbs a:hover,
.article-content a:hover {
    text-decoration: underline;
}

.article-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--leaf-dark);
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-hero h1 {
    max-width: 740px;
    margin: 0 0 24px;
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 900;
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.article-deck {
    max-width: 700px;
    margin: 0 0 28px;
    color: var(--ink-soft);
    font-size: clamp(18px, 2.4vw, 22px);
    line-height: 1.55;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    color: var(--muted);
    font-size: 13px;
}

.article-meta span + span::before {
    content: '·';
    margin-right: 24px;
}

.article-content {
    padding-top: 64px;
    padding-bottom: 100px;
    font-size: 18px;
    line-height: 1.75;
}

.article-content > p,
.article-content > ul,
.article-content > ol {
    margin-top: 0;
    margin-bottom: 26px;
}

.article-content h2 {
    margin: 68px 0 20px;
    font-size: clamp(30px, 4.5vw, 42px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -.03em;
    scroll-margin-top: 100px;
    text-wrap: balance;
}

.article-content h3 {
    margin: 36px 0 10px;
    font-size: 23px;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.article-content a {
    color: var(--leaf-dark);
    text-underline-offset: 3px;
}

.article-content .btn-tg,
.article-content .btn-tg:hover {
    color: white;
    text-decoration: none;
}

.article-content li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.quick-answer,
.article-toc,
.example-card,
.callout {
    margin: 0 0 40px;
    border-radius: 24px;
}

.quick-answer {
    padding: 26px 28px;
    background: var(--mint);
    box-shadow: var(--shadow-soft);
}

.quick-answer > strong,
.article-toc > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.quick-answer p,
.callout p {
    margin: 0 0 18px;
}

.formula {
    overflow-x: auto;
    padding: 15px 18px;
    border: 1px dashed rgba(26,26,26,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.68);
    color: var(--ink);
    font-family: 'Geist Mono', monospace;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
}

.article-toc {
    margin-top: 48px;
    padding: 24px 28px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.48);
}

.article-toc ol {
    margin: 12px 0 0;
    padding-left: 24px;
}

.article-toc li {
    margin: 5px 0;
}

.example-card {
    padding: 28px;
    background: var(--peach);
    box-shadow: var(--shadow-soft);
}

.example-card h3 {
    margin-top: 4px;
}

.example-card p:last-child {
    margin-bottom: 0;
}

.example-label {
    color: #9b5b00;
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mint-card {
    background: var(--mint);
}

.mint-card .example-label {
    color: var(--leaf-dark);
}

.callout {
    padding: 24px 28px;
    border-left: 5px solid var(--tg-blue);
    background: var(--sky);
}

.callout p {
    margin-top: 8px;
    margin-bottom: 0;
}

.steps-list {
    padding-left: 24px;
}

.recipe-card {
    background: white;
}

.recipe-row,
.recipe-total {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 16px;
}

.recipe-total {
    margin-bottom: 18px;
    border-bottom: 0;
    color: var(--leaf-dark);
    font-size: 18px;
}

.macro-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0;
}

.macro-grid div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow-soft);
}

.macro-grid span {
    color: var(--muted);
    font-size: 14px;
}

.macro-grid strong {
    font-family: 'Geist Mono', monospace;
    font-size: 20px;
}

.article-cta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    margin: 76px -48px 0;
    padding: 40px 44px;
    border-radius: 32px;
    background: var(--ink);
    color: white;
    box-shadow: 0 24px 60px rgba(20,20,15,.18);
}

.article-cta h2 {
    margin: 0 0 16px;
    color: white;
}

.article-cta p {
    margin: 0 0 24px;
    color: rgba(255,255,255,.74);
}

.article-cta .article-kicker {
    color: #81d694;
}

.cta-emoji {
    font-size: 52px;
    line-height: 1;
}

.article-faq {
    display: grid;
    gap: 12px;
}

.article-faq details {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
}

.article-faq summary {
    cursor: pointer;
    font-weight: 750;
}

.article-faq p {
    margin: 14px 0 0;
    color: var(--ink-soft);
}

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

.sources h2 {
    font-size: 30px;
}

.sources ul {
    padding-left: 22px;
}

.article-disclaimer {
    margin-top: 28px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255,255,255,.52);
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

@media (max-width: 720px) {
    .article-nav .nav-inner {
        padding-right: 20px;
        padding-left: 20px;
    }

    .article-nav-cta {
        padding: 10px 13px;
        font-size: 12px;
    }

    .article-shell {
        width: min(calc(100% - 36px), var(--article-width));
    }

    .article-hero {
        padding: 48px 0;
    }

    .breadcrumbs {
        margin-bottom: 28px;
    }

    .article-meta {
        flex-direction: column;
        gap: 4px;
    }

    .article-meta span + span::before {
        display: none;
    }

    .article-content {
        padding-top: 40px;
        padding-bottom: 72px;
        font-size: 17px;
    }

    .article-content h2 {
        margin-top: 52px;
    }

    .quick-answer,
    .article-toc,
    .example-card,
    .callout {
        padding: 22px;
        border-radius: 20px;
    }

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

    .article-cta {
        grid-template-columns: 1fr;
        margin: 60px 0 0;
        padding: 30px 24px;
        border-radius: 26px;
    }
}
