.bl-root {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #0a0a0a;
    min-height: 100vh;
}

.bl-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 48px;
}

.bl-wrap--wide { max-width: 1160px; }

/* ── Hero ── */

.bl-hero {
    padding: 132px 0 56px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: linear-gradient(180deg, #f4f6fa 0%, #fff 100%);
}

.bl-hero__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 48px;
}

.bl-hero--article .bl-hero__inner { max-width: 760px; }

.bl-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 18px;
}

.wai-root .bl-index__h,
.wai-root .bl-title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -1.8px;
    line-height: 1.08;
    margin: 0 0 18px;
}

.wai-root .bl-index__sub,
.wai-root .bl-deck {
    font-size: 18px;
    color: #666;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 0 4px;
}

.bl-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: #777;
    margin-top: 26px;
}

.bl-meta strong { color: #0a0a0a; font-weight: 500; }

.bl-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7aa8ff, #c98bff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

/* ── Index grid ── */

.bl-index { padding-top: 56px; padding-bottom: 104px; }

.bl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.bl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.bl-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0,0,0,0.18);
    box-shadow: 0 14px 36px rgba(10,10,10,0.09);
}

.bl-card__img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    display: block;
    background: #f1f3f7;
}

.bl-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.bl-card__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #7aa8ff;
}

.bl-card__title {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.bl-card__desc {
    font-size: 15px;
    color: #666;
    line-height: 1.65;
    flex: 1;
}

.bl-card__meta {
    font-size: 13px;
    color: #999;
    margin-top: 6px;
}

.wai-root .bl-empty {
    font-size: 17px;
    color: #777;
    padding: 40px 0;
    margin: 0;
}

/* ── Article ── */

.bl-article { padding-top: 48px; padding-bottom: 104px; }

.bl-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.bl-toc {
    background: #f7f8fb;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 44px;
}

.bl-toc__h {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 12px;
}

.bl-toc ul { list-style: none; margin: 0; padding: 0; }
.bl-toc li { margin: 8px 0; font-size: 15px; }
.bl-toc li.lvl-3 { padding-left: 18px; font-size: 14px; }
.bl-toc a { color: #4a4a4a; transition: color 0.15s; }
.bl-toc a:hover { color: #0a0a0a; }

.bl-body {
    font-size: 17.5px;
    color: #333;
    line-height: 1.8;
}

.wai-root .bl-body h2 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #0a0a0a;
    letter-spacing: -0.9px;
    line-height: 1.2;
    margin: 52px 0 16px;
    scroll-margin-top: 96px;
}

.wai-root .bl-body h3 {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: -0.5px;
    line-height: 1.3;
    margin: 36px 0 12px;
    scroll-margin-top: 96px;
}

.wai-root .bl-body p { margin: 0 0 22px; }

.bl-body ul, .bl-body ol { margin: 0 0 22px; padding-left: 24px; }
.bl-body li { margin: 9px 0; }

.bl-body a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.15s;
}

.bl-body a:hover { opacity: 0.7; }

.bl-body img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.08);
    margin: 30px 0;
}

.bl-body blockquote {
    border-left: 3px solid #7aa8ff;
    padding: 4px 0 4px 22px;
    margin: 28px 0;
    color: #555;
    font-style: italic;
}

.bl-body pre {
    background: #0d1018;
    color: #e7eaf2;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 20px;
    overflow: auto;
    margin: 0 0 24px;
    font-size: 14.5px;
    line-height: 1.65;
}

.bl-body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em; }
.bl-body :not(pre) > code { background: #f1f3f7; color: #0a0a0a; padding: 2px 6px; border-radius: 5px; }

.bl-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 26px;
    font-size: 15.5px;
    display: block;
    overflow-x: auto;
}

.bl-body th, .bl-body td { border: 1px solid rgba(0,0,0,0.1); padding: 11px 14px; text-align: left; }
.bl-body th { background: #f7f8fb; font-weight: 600; }

.bl-back {
    display: inline-block;
    margin-top: 52px;
    font-size: 15px;
    color: #777;
    transition: color 0.15s;
}

.bl-back:hover { color: #0a0a0a; }

@media (max-width: 640px) {
    .bl-wrap, .bl-hero__inner { padding-left: 24px; padding-right: 24px; }
    .bl-hero { padding-top: 112px; padding-bottom: 44px; }
    .bl-index { padding-top: 44px; padding-bottom: 72px; }
    .bl-article { padding-top: 36px; padding-bottom: 72px; }
    .bl-body { font-size: 16.5px; }
}
