/* Help Centre / Glossary — public marketing-site styling.
   The Help Article page additionally links blogpost.css and reuses its
   bp-* article structure + TOC JS; this file styles the Help Centre
   listing, the Glossary, and the help-only article extras (glossary
   lede, video embed, related list). */

:root {
    --hc-ink: #0b1f33;
    --hc-muted: #5b6b7b;
    --hc-line: #e3e8ee;
    --hc-blue: #0d6efd;
    --hc-bg: #f6f8fb;
}

.hc-root {
    font-family: 'Roboto', system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--hc-ink);
    background: var(--hc-bg);
}

.hc-page {
    max-width: 1120px;
    margin: 0 auto;
    padding: 56px 24px 96px;
}

.hc-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 12px;
    font-weight: 700;
    color: var(--hc-blue);
    margin-bottom: 14px;
}

.hc-rule {
    width: 34px;
    height: 2px;
    background: var(--hc-blue);
    display: inline-block;
}

.hc-title {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.08;
    font-weight: 900;
    margin: 0 0 12px;
}

    .hc-title em {
        font-style: normal;
        color: var(--hc-blue);
    }

.hc-dek {
    font-size: 18px;
    color: var(--hc-muted);
    max-width: 60ch;
    margin: 0 0 28px;
}

.hc-search {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin: 0 0 28px;
}

    .hc-search input {
        flex: 1;
        border: 1px solid var(--hc-line);
        border-radius: 10px;
        padding: 14px 16px;
        font-size: 16px;
        background: #fff;
        outline: none;
    }

        .hc-search input:focus {
            border-color: var(--hc-blue);
            box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
        }

.hc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.hc-chip {
    border: 1px solid var(--hc-line);
    background: #fff;
    color: var(--hc-ink);
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

    .hc-chip.active {
        background: var(--hc-blue);
        border-color: var(--hc-blue);
        color: #fff;
    }

    .hc-chip .n {
        opacity: .65;
        margin-left: 6px;
    }

.hc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.hc-card {
    display: block;
    background: #fff;
    border: 1px solid var(--hc-line);
    border-radius: 14px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

    .hc-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(11, 31, 51, .08);
        border-color: #c9d4e0;
        text-decoration: none;
        color: inherit;
    }

.hc-card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--hc-blue);
    margin-bottom: 8px;
}

.hc-card-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.hc-card-dek {
    color: var(--hc-muted);
    font-size: 14px;
    margin: 0 0 14px;
}

.hc-card-meta {
    font-size: 12px;
    color: var(--hc-muted);
    display: flex;
    gap: 14px;
}

.hc-empty {
    text-align: center;
    color: var(--hc-muted);
    padding: 60px 0;
}

.hc-glossary-cta {
    margin-top: 36px;
    background: #fff;
    border: 1px solid var(--hc-line);
    border-radius: 14px;
    padding: 24px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.hc-btn {
    display: inline-block;
    background: var(--hc-blue);
    color: #fff;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 700;
    text-decoration: none;
}

    .hc-btn:hover {
        color: #fff;
        text-decoration: none;
        filter: brightness(.95);
    }

/* ---- Glossary page --------------------------------------------------- */

.hg-azbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 30px;
    position: sticky;
    top: 0;
    background: var(--hc-bg);
    padding: 10px 0;
    z-index: 2;
}

.hg-azbar a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--hc-line);
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
    color: var(--hc-ink);
    text-decoration: none;
    font-size: 13px;
}

    .hg-azbar a:hover {
        border-color: var(--hc-blue);
        color: var(--hc-blue);
        text-decoration: none;
    }

.hg-group {
    margin-bottom: 30px;
}

.hg-letter {
    font-size: 26px;
    font-weight: 900;
    color: var(--hc-blue);
    border-bottom: 2px solid var(--hc-line);
    padding-bottom: 6px;
    margin-bottom: 14px;
}

.hg-term {
    background: #fff;
    border: 1px solid var(--hc-line);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
}

    .hg-term h3 {
        font-size: 17px;
        font-weight: 700;
        margin: 0 0 6px;
    }

        .hg-term h3 a {
            color: var(--hc-ink);
            text-decoration: none;
        }

            .hg-term h3 a:hover {
                color: var(--hc-blue);
            }

    .hg-term p {
        margin: 0;
        color: var(--hc-muted);
    }

/* ---- Help Article extras (on top of blogpost.css) -------------------- */

.ha-glossary-lede {
    background: #eef5ff;
    border: 1px solid #cfe0ff;
    border-left: 4px solid var(--hc-blue);
    border-radius: 10px;
    padding: 16px 18px;
    margin: 0 0 26px;
}

    .ha-glossary-lede .lbl {
        text-transform: uppercase;
        letter-spacing: .1em;
        font-size: 11px;
        font-weight: 800;
        color: var(--hc-blue);
        display: block;
        margin-bottom: 4px;
    }

    .ha-glossary-lede p {
        margin: 0;
        font-size: 16px;
    }

.ha-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin: 0 0 28px;
    border-radius: 12px;
    overflow: hidden;
}

    .ha-video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.ha-related {
    margin-top: 14px;
}

    .ha-related h3 {
        font-size: 13px;
        text-transform: uppercase;
        letter-spacing: .1em;
        color: var(--hc-muted);
        margin: 0 0 10px;
    }

    .ha-related a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--hc-line);
        color: var(--hc-ink);
        text-decoration: none;
        font-weight: 600;
    }

        .ha-related a:hover {
            color: var(--hc-blue);
        }

        .ha-related a:last-child {
            border-bottom: 0;
        }
