.bm-page {
    background: #f7f7f7;
    color: #111111;
    padding: 32px 0 72px;
}

.bm-shell {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.bm-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #666666;
    font-size: 13px;
    margin-bottom: 24px;
}

.bm-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.bm-hero,
.bm-toolbar,
.bm-panel,
.bm-cta,
.bm-podium-card,
.bm-card {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.05);
}

.bm-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
    gap: 24px;
    margin-bottom: 28px;
}

.bm-hero__copy,
.bm-hero__stats,
.bm-toolbar,
.bm-panel,
.bm-cta {
    padding: 32px;
}

.bm-hero__badge,
.bm-track,
.bm-chip,
.bm-card__score,
.bm-podium-rank {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
}

.bm-hero__badge,
.bm-podium-rank {
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
    padding: 8px 12px;
    font-weight: 700;
}

.bm-hero h1 {
    margin: 16px 0 12px;
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.bm-hero__desc,
.bm-toolbar__meta p,
.bm-panel__head p,
.bm-cta p,
.bm-card__desc,
.bm-podium-card p {
    color: #4d4d4d;
    line-height: 1.75;
}

.bm-hero__actions,
.bm-card__footer,
.bm-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.bm-hero__actions {
    margin-top: 24px;
}

.bm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.bm-btn--primary {
    background: #111111;
    color: #ffffff;
}

.bm-btn--secondary {
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
}

.bm-btn--ghost {
    border-color: #d9d9d9;
    color: #111111;
    background: #ffffff;
}

.bm-btn:hover {
    transform: translateY(-1px);
}

.bm-hero__stats {
    display: grid;
    gap: 14px;
}

.bm-stat {
    padding: 18px 20px;
    border-radius: 18px;
    background: #fafafa;
    border: 1px solid #efefef;
}

.bm-stat strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    margin-bottom: 8px;
}

.bm-stat span {
    color: #666666;
    font-size: 13px;
}

.bm-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
    gap: 20px;
    margin-bottom: 20px;
}

.bm-toolbar__label {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    color: #111111;
    font-size: 12px;
    font-weight: 700;
}

.bm-search {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bm-search input {
    flex: 1;
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid #dfdfdf;
    padding: 0 14px;
    font-size: 14px;
    background: #ffffff;
}

.bm-search button {
    min-width: 110px;
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: #111111;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
}

.bm-track-row,
.bm-category-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.bm-track,
.bm-chip {
    text-decoration: none;
    border: 1px solid #e4e4e4;
    background: #ffffff;
    color: #111111;
}

.bm-track {
    padding: 14px 16px;
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 170px;
}

.bm-track strong {
    font-size: 14px;
}

.bm-track span {
    color: #666666;
    font-size: 12px;
}

.bm-chip {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
}

.bm-track.is-active,
.bm-chip.is-active {
    border-color: rgba(124, 92, 255, 0.18);
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
}

.bm-podium {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.bm-podium-card {
    padding: 24px;
}

.bm-podium-cat,
.bm-card__rank,
.bm-card__score {
    font-size: 12px;
    font-weight: 700;
}

.bm-podium-cat {
    display: inline-flex;
    margin-top: 10px;
    color: #666666;
}

.bm-podium-card h2,
.bm-card h3 {
    margin: 16px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.bm-podium-card h2 a,
.bm-card h3 a {
    color: inherit;
    text-decoration: none;
}

.bm-podium-meta,
.bm-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #666666;
    font-size: 13px;
}

.bm-panel {
    margin-bottom: 24px;
}

.bm-story-section,
.bm-playbook {
    margin-bottom: 24px;
}

.bm-story-grid,
.bm-playbook-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bm-story-card,
.bm-playbook-item {
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.05);
    padding: 24px;
}

.bm-story-eyebrow,
.bm-playbook-step {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
    font-size: 12px;
    font-weight: 700;
}

.bm-story-card h3,
.bm-playbook-item h3 {
    margin: 16px 0 10px;
    font-size: 22px;
    line-height: 1.2;
}

.bm-story-card h3 a {
    color: inherit;
    text-decoration: none;
}

.bm-story-card p,
.bm-playbook-item p {
    color: #4d4d4d;
    line-height: 1.75;
}

.bm-story-meta,
.bm-story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bm-story-meta {
    color: #666666;
    font-size: 13px;
    margin-top: 16px;
}

.bm-story-actions {
    margin-top: 20px;
}

.bm-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 18px;
}

.bm-panel__head h2,
.bm-cta h2 {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.12;
}

.bm-panel__count {
    color: #666666;
    font-size: 13px;
    font-weight: 600;
}

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

.bm-card {
    padding: 22px;
}

.bm-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.bm-card__rank {
    color: #666666;
}

.bm-card__score {
    padding: 8px 12px;
    background: rgba(124, 92, 255, 0.08);
    color: #7c5cff;
}

.bm-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 18px;
}

.bm-card__chips span {
    display: inline-flex;
    padding: 8px 11px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #444444;
    font-size: 12px;
}

.bm-card__footer {
    margin-top: 20px;
}

.bm-card--empty {
    grid-column: 1 / -1;
}

.bm-cta {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 1100px) {
    .bm-hero,
    .bm-toolbar,
    .bm-podium,
    .bm-grid,
    .bm-cta {
        grid-template-columns: 1fr;
    }

    .bm-cta {
        display: grid;
    }
}

@media (max-width: 720px) {
    .bm-page {
        padding-top: 20px;
    }

    .bm-shell {
        padding: 0 16px;
    }

    .bm-hero__copy,
    .bm-hero__stats,
    .bm-toolbar,
    .bm-panel,
    .bm-cta,
    .bm-podium-card,
    .bm-card {
        padding: 22px;
        border-radius: 20px;
    }

    .bm-hero h1 {
        font-size: 32px;
    }

    .bm-panel__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .bm-search {
        flex-direction: column;
    }

    .bm-search button,
    .bm-search input {
        width: 100%;
    }
}
