/* ============================================================
   BLOG — Lumichess
   Blog listing + article pages
   ============================================================ */

/* ── Blog Layout ─────────────────────────────────────────── */

.blog-main {
    max-width: 800px;
    padding: 48px 24px 80px;
}

/* ── Blog Header ─────────────────────────────────────────── */

.blog-header {
    margin-bottom: 48px;
}

.blog-header__title {
    font-size: 36px;
    font-weight: 800;
    color: var(--lumi-text-primary);
    margin: 0 0 8px;
    letter-spacing: -0.03em;
}

.blog-header__sub {
    font-size: 16px;
    color: var(--lumi-text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ── Blog Card (listing page) ────────────────────────────── */

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--lumi-bg-card);
    border: 1px solid var(--lumi-border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
    border-color: rgba(212,164,75,0.2);
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    transform: translateY(-1px);
}

.blog-card__img {
    width: 200px;
    height: 140px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--lumi-bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--lumi-accent);
}

.blog-card__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--lumi-text-secondary);
}

.blog-card__tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lumi-accent);
    padding: 3px 8px;
    background: rgba(212,164,75,0.1);
    border-radius: 4px;
}

.blog-card__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--lumi-text-primary);
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin: 0;
}

.blog-card__excerpt {
    font-size: 14px;
    color: var(--lumi-text-primary);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__read {
    font-size: 13px;
    font-weight: 700;
    color: var(--lumi-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ── Article Page ────────────────────────────────────────── */

.article {
    max-width: 680px;
    margin: 0 auto;
}

.article__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--lumi-text-secondary);
    text-decoration: none;
    margin-bottom: 32px;
    transition: color 0.15s;
}

.article__back:hover {
    color: var(--lumi-accent);
}

.article__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--lumi-accent);
    padding: 4px 10px;
    background: rgba(212,164,75,0.1);
    border-radius: 5px;
    margin-bottom: 16px;
}

.article__title {
    font-size: 36px;
    font-weight: 800;
    color: var(--lumi-text-primary);
    margin: 0 0 12px;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.article__meta {
    font-size: 14px;
    color: var(--lumi-text-secondary);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.article__meta-dot {
    width: 3px;
    height: 3px;
    background: var(--lumi-text-muted);
    border-radius: 50%;
}

/* ── Article Content ─────────────────────────────────────── */

.article__content {
    font-size: 16px;
    color: var(--lumi-text-primary);
    line-height: 1.75;
}

.article__content h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--lumi-text-primary);
    margin: 48px 0 16px;
    letter-spacing: -0.02em;
}

.article__content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--lumi-text-primary);
    margin: 32px 0 12px;
}

.article__content p {
    margin: 0 0 20px;
}

.article__content strong {
    color: var(--lumi-text-primary);
    font-weight: 700;
}

.article__content a {
    color: var(--lumi-accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(212,164,75,0.3);
    transition: border-color 0.15s;
}

.article__content a:hover {
    border-color: var(--lumi-accent);
}

.article__content ul,
.article__content ol {
    padding-left: 24px;
    margin: 0 0 20px;
}

.article__content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.article__content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    background: rgba(212,164,75,0.06);
    border-left: 3px solid var(--lumi-accent);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--lumi-text-primary);
}

.article__content blockquote p {
    margin: 0;
}

.article__content img {
    width: 100%;
    border-radius: 12px;
    margin: 28px 0 8px;
    border: 1px solid rgba(255,255,255,0.06);
}

.article__caption {
    font-size: 14px;
    color: var(--lumi-text-secondary);
    line-height: 1.55;
    margin: 0 0 28px;
    padding-left: 14px;
    border-left: 2px solid rgba(212, 164, 75, 0.4);
    font-style: italic;
}

.article__content code {
    font-family: var(--lumi-font-mono);
    font-size: 14px;
    background: rgba(255,255,255,0.06);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--lumi-accent);
}

/* Feature list in articles */
.article__feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 24px 0 28px;
}

.article__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
}

.article__feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,164,75,0.1);
    border-radius: 8px;
    color: var(--lumi-accent);
    font-size: 16px;
}

.article__feature-text {
    flex: 1;
    min-width: 0;
}

.article__feature-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--lumi-text-primary);
    margin-bottom: 2px;
}

.article__feature-desc {
    font-size: 12px;
    color: var(--lumi-text-secondary);
    line-height: 1.4;
}

/* CTA at bottom of article */
.article__cta {
    margin-top: 48px;
    padding: 28px 32px;
    background: linear-gradient(135deg, rgba(212,164,75,0.1) 0%, rgba(212,164,75,0.04) 100%);
    border: 1px solid rgba(212,164,75,0.2);
    border-radius: 14px;
    text-align: center;
}

.article__cta-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--lumi-text-primary);
    margin: 0 0 8px;
}

.article__cta-sub {
    font-size: 14px;
    color: var(--lumi-text-primary);
    margin: 0 0 20px;
}

.article__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--lumi-accent);
    color: var(--lumi-accent-text);
    font-family: var(--lumi-font);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
}

.article__cta-btn:hover {
    background: var(--lumi-accent-hover);
    box-shadow: var(--lumi-glow-btn);
}

/* Blog nav and footer removed — blog uses the app sidebar nav */

/* ── Responsive ──────────────────────────────────────────── */

@media (max-width: 640px) {
    .blog-main {
        padding: 32px 16px 60px;
    }

    .blog-header__title {
        font-size: 28px;
    }

    .blog-card {
        flex-direction: column;
        gap: 16px;
    }

    .blog-card__img {
        width: 100%;
        height: 180px;
    }

    .article__title {
        font-size: 28px;
    }

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

    .article__cta {
        padding: 24px 20px;
    }
}

/* ============================================================
   INTERACTIVE DEMO COMPONENTS
   Used inside .article__content to show real product UI
   snippets — classification chips, stat tiles, mini radar,
   donut charts, comparison bars, sample sidebar tabs, etc.
   ============================================================ */

/* Shared frame for any embedded demo block */
.demo {
    background: linear-gradient(180deg, #1f1d1a 0%, #1a1816 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 22px;
    margin: 28px 0;
}
.demo__caption {
    font-size: 13px;
    color: var(--lumi-text-secondary);
    margin: 14px 0 0;
    line-height: 1.45;
    text-align: center;
}

/* ── Classification chip gallery (interactive hover) ── */
.demo-chips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
}
.demo-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    transition: transform 0.18s, background 0.18s, border-color 0.18s;
    cursor: default;
}
.demo-chip:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(212,164,75,0.25);
    transform: translateY(-1px);
}
.demo-chip__badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.demo-chip__body {
    min-width: 0;
}
.demo-chip__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--lumi-text-primary);
    line-height: 1.2;
}
.demo-chip__desc {
    font-size: 12px;
    color: var(--lumi-text-secondary);
    margin-top: 3px;
    line-height: 1.35;
}

/* Badge colour variants */
.demo-chip__badge--brilliant { background: #34D399; }
.demo-chip__badge--great { background: #67D584; }
.demo-chip__badge--best { background: #5DB67D; }
.demo-chip__badge--excellent { background: #6FA774; }
.demo-chip__badge--good { background: #809A5C; }
.demo-chip__badge--book { background: #A47A4A; }
.demo-chip__badge--inaccuracy { background: #E8C06A; color: #1a1816; }
.demo-chip__badge--mistake { background: #E0913A; }
.demo-chip__badge--blunder { background: #CF6E6E; }
.demo-chip__badge--missed { background: #B07ECF; }

/* ── Mini eval graph ── */
.demo-evalgraph {
    height: 130px;
    width: 100%;
}
.demo-evalgraph svg { display: block; width: 100%; height: 100%; }

/* ── Stat tile (matches Profile Report tile look) ── */
.demo-tiles {
    display: grid;
    gap: 12px;
}
.demo-tiles--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.demo-tiles--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 640px) {
    .demo-tiles--3, .demo-tiles--4 { grid-template-columns: 1fr; }
}
.demo-tile {
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 14px 16px;
    border-top: 3px solid #D4A44B;
}
.demo-tile--green { border-top-color: #5DB67D; }
.demo-tile--blue { border-top-color: #6B9FD4; }
.demo-tile--red { border-top-color: #CF6E6E; }
.demo-tile--amber { border-top-color: #D4A44B; }
.demo-tile__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.demo-tile__label {
    font-size: 14px;
    font-weight: 700;
    color: inherit;
}
.demo-tile__label--green { color: #5DB67D; }
.demo-tile__label--blue { color: #6B9FD4; }
.demo-tile__label--red { color: #CF6E6E; }
.demo-tile__label--amber { color: #D4A44B; }
.demo-tile__count {
    font-size: 11px;
    color: var(--lumi-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.demo-tile__big {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 10px;
}
.demo-tile__num {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}
.demo-tile__unit {
    font-size: 13px;
    color: var(--lumi-text-primary);
    font-weight: 500;
}
.demo-tile__foot {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

/* ── Move quality bars ── */
.demo-mq {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.demo-mq__row {
    display: grid;
    grid-template-columns: 100px 1fr 50px;
    align-items: center;
    gap: 12px;
}
.demo-mq__label {
    font-size: 13px;
    font-weight: 600;
}
.demo-mq__track {
    height: 22px;
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}
.demo-mq__fill {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.demo-mq__count {
    font-size: 12px;
    color: var(--lumi-text-secondary);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ── You vs Opponents comparison ── */
.demo-vs {
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    padding: 16px 18px;
    border-top: 3px solid #CF6E6E;
}
.demo-vs__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.demo-vs__title { font-size: 15px; font-weight: 700; color: #fff; }
.demo-vs__delta {
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(207,110,110,0.12);
    color: #CF6E6E;
}
.demo-vs__big { font-size: 28px; font-weight: 800; color: #CF6E6E; line-height: 1; margin-bottom: 14px; }
.demo-vs__big span { font-size: 13px; color: var(--lumi-text-primary); font-weight: 500; margin-left: 6px; }
.demo-vs__row { margin-bottom: 8px; }
.demo-vs__row:last-child { margin-bottom: 0; }
.demo-vs__head2 {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--lumi-text-secondary);
    margin-bottom: 4px;
    font-weight: 600;
}
.demo-vs__bar {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}
.demo-vs__bar > div { height: 100%; border-radius: 3px; }

/* ── Mini radar (SVG) ── */
.demo-radar {
    display: flex;
    justify-content: center;
    align-items: center;
}
.demo-radar svg { width: min(360px, 100%); height: auto; }

/* ── Donut chart preview ── */
.demo-donut-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 640px) {
    .demo-donut-row { grid-template-columns: 1fr; }
}
.demo-donut {
    text-align: center;
}
.demo-donut__title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}
.demo-donut__title--green { color: #5DB67D; }
.demo-donut__title--red { color: #CF6E6E; }
.demo-donut svg { width: 100%; max-width: 220px; height: auto; }
.demo-donut__legend {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 12px;
    color: var(--lumi-text-primary);
}
.demo-donut__legend span::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-right: 5px;
    vertical-align: middle;
    background: var(--c, #6B9FD4);
}

/* ── Sample sidebar with tab switching ── */
.demo-sidebar {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    overflow: hidden;
}
.demo-sidebar__tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.demo-sidebar__tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: var(--lumi-text-secondary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    font-family: inherit;
}
.demo-sidebar__tab:hover { color: var(--lumi-text-primary); }
.demo-sidebar__tab.is-active {
    color: #D4A44B;
    background: rgba(212,164,75,0.08);
    box-shadow: inset 0 -2px 0 #D4A44B;
}
.demo-sidebar__pane {
    display: none;
    padding: 16px;
}
.demo-sidebar__pane.is-active { display: block; }

.demo-moverow {
    display: grid;
    grid-template-columns: 36px 60px 1fr 50px;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background 0.15s;
}
.demo-moverow:hover { background: rgba(255,255,255,0.04); }
.demo-moverow__num { font-size: 12px; color: var(--lumi-text-muted); font-weight: 600; }
.demo-moverow__san { font-size: 14px; font-weight: 600; color: var(--lumi-text-primary); }
.demo-moverow__badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}
.demo-moverow__acc { font-size: 12px; color: var(--lumi-text-secondary); text-align: right; font-variant-numeric: tabular-nums; }

.demo-focuscard {
    background: rgba(207,110,110,0.06);
    border-left: 3px solid #CF6E6E;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.demo-focuscard:last-child { margin-bottom: 0; }
.demo-focuscard__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}
.demo-focuscard__title { font-size: 14px; font-weight: 700; color: var(--lumi-text-primary); }
.demo-focuscard__tag {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(207,110,110,0.18);
    color: #E3A8A8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.demo-focuscard__line { font-size: 12px; color: var(--lumi-text-primary); margin: 0 0 4px; line-height: 1.45; }
.demo-focuscard__line strong { color: #fff; }
.demo-focuscard__cta {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    color: #D4A44B;
    font-weight: 700;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid rgba(212,164,75,0.3);
    border-radius: 6px;
    transition: background 0.15s;
    cursor: pointer;
}
.demo-focuscard__cta:hover { background: rgba(212,164,75,0.12); }

/* ── Coach commentary card ── */
.demo-coach {
    background: rgba(212,164,75,0.06);
    border-left: 3px solid #D4A44B;
    border-radius: 8px;
    padding: 14px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.demo-coach__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212,164,75,0.18);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #D4A44B;
    font-weight: 800;
    font-size: 16px;
}
.demo-coach__body { min-width: 0; }
.demo-coach__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #D4A44B;
    font-weight: 700;
    margin-bottom: 4px;
}
.demo-coach__text { font-size: 14px; color: var(--lumi-text-primary); margin: 0; line-height: 1.5; }
.demo-coach__text em { color: #D4A44B; font-style: normal; font-weight: 600; }

/* ── Callout box ── */
.demo-callout {
    background: rgba(107,159,212,0.08);
    border-left: 3px solid #6B9FD4;
    border-radius: 8px;
    padding: 14px 18px;
    margin: 24px 0;
}
.demo-callout--amber {
    background: rgba(212,164,75,0.08);
    border-left-color: #D4A44B;
}
.demo-callout__title {
    font-size: 13px;
    font-weight: 700;
    color: #6B9FD4;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 6px;
}
.demo-callout--amber .demo-callout__title { color: #D4A44B; }
.demo-callout__body {
    font-size: 14px;
    color: var(--lumi-text-primary);
    margin: 0;
    line-height: 1.55;
}

/* ── Anatomy diagram ── */
.demo-anatomy {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 14px;
}
@media (max-width: 640px) {
    .demo-anatomy { grid-template-columns: 1fr; }
}
.demo-anatomy__board {
    aspect-ratio: 1;
    background:
        linear-gradient(45deg, #A67B4B 25%, transparent 25%),
        linear-gradient(-45deg, #A67B4B 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #A67B4B 75%),
        linear-gradient(-45deg, transparent 75%, #A67B4B 75%);
    background-color: #F5E6C8;
    background-size: 25% 25%;
    background-position: 0 0, 0 12.5%, 12.5% -12.5%, -12.5% 0;
    border-radius: 6px;
    position: relative;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.demo-anatomy__badge {
    position: absolute;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #5DB67D;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    top: 18%;
    left: 56%;
}
.demo-anatomy__arrow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.demo-anatomy__sidepanel {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 12px;
    font-size: 12px;
    color: var(--lumi-text-secondary);
}

/* ── Workflow steps ── */
.demo-steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.demo-steps li {
    counter-increment: step;
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    align-items: start;
    padding-left: 0 !important;
}
.demo-steps li::before {
    content: counter(step);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(212,164,75,0.12);
    border: 1px solid rgba(212,164,75,0.3);
    color: #D4A44B;
    font-weight: 800;
    font-size: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.article__content .demo-steps li::before { margin-top: 2px; }

/* ── Conversion bucket cards ── */
.demo-buckets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
@media (max-width: 640px) { .demo-buckets { grid-template-columns: 1fr 1fr; } }
.demo-bucket {
    background: rgba(255,255,255,0.04);
    border-radius: 8px;
    padding: 12px;
    border-top: 3px solid #D4A44B;
    text-align: center;
}
.demo-bucket__label {
    font-size: 12px;
    color: var(--lumi-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 6px;
}
.demo-bucket__num {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.demo-bucket--good { border-top-color: #5DB67D; }
.demo-bucket--mid { border-top-color: #D4A44B; }
.demo-bucket--bad { border-top-color: #CF6E6E; }

