/* Help Center (/{slug}/help-center). Layered on compliance.css — reuses its
   --cl-* tokens, header and .compliance-btn; only the page-specific blocks live here. */

.hc-main {
    padding-bottom: 48px;
}

.hc-eyebrow {
    margin: 26px 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    color: var(--cl-muted);
}

.hc-title {
    margin: 0 0 8px;
    font-size: clamp(2rem, 5vw, 2.7rem);
    line-height: 1.1;
    font-weight: 800;
    color: var(--cl-text);
}

.hc-lede {
    margin: 0 0 22px;
    color: var(--cl-muted);
    font-size: 1.05rem;
}

.hc-note {
    margin: 0 0 24px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(167, 139, 250, .35);
    background: rgba(124, 58, 237, .14);
    color: var(--cl-text);
}

.hc-note a,
.hc-details a {
    color: var(--cl-link);
    text-decoration: underline;
}

.hc-block {
    margin: 0 0 24px;
    padding: clamp(18px, 3vw, 31px);
    border-radius: var(--cl-radius);
    border: 1px solid rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .04);
}

.hc-block h2 {
    margin: 0 0 18px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--cl-text);
}

.hc-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hc-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    transition: border-color .2s, background .2s;
}

.hc-card:hover,
.hc-card:focus-within {
    border-color: var(--cl-accent-edge);
    background: rgba(124, 58, 237, .16);
}

.hc-card a {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 100%;
    padding: 16px 44px 16px 18px;
    color: var(--cl-text);
    text-decoration: none;
}

.hc-card a::after {
    content: "\203A";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    color: var(--cl-link);
}

.hc-card-title {
    font-weight: 700;
}

.hc-card-desc {
    font-size: .85rem;
    color: var(--cl-muted);
    overflow-wrap: anywhere;
}

.hc-details {
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: minmax(150px, 220px) 1fr;
    gap: 14px 20px;
}

.hc-details dt {
    font-weight: 700;
    color: var(--cl-muted);
}

.hc-details dd {
    margin: 0;
    color: var(--cl-text);
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    .hc-cards {
        grid-template-columns: 1fr;
    }

    .hc-details {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .hc-details dd {
        margin-bottom: 12px;
    }

    .hc-cta {
        width: 100%;
    }
}

/* Narrow phones: the shared compliance header (logo + name + two buttons) is wider
   than the screen, so let the name shrink and the buttons tighten. */
@media (max-width: 480px) {
    .compliance-header-inner {
        padding: 0 12px;
        gap: 8px;
    }

    .compliance-logo {
        min-width: 0;
        gap: 8px;
    }

    .compliance-logo img {
        width: 36px;
        height: 36px;
    }

    .compliance-logo span {
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .compliance-header-auth {
        gap: 6px;
        flex-shrink: 0;
    }

    .compliance-header-auth .compliance-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
}
