/* Stage 5 — MyQRGuide Help Center */
.help-center-page {
    --help-ink: #0f172a;
    --help-muted: #475569;
    --help-accent: #0e7490;
    --help-surface: #f8fafc;
    --help-line: #e2e8f0;
    --help-max: 960px;
    color: var(--help-ink);
    font-family: Lato, "Segoe UI", sans-serif;
}

.help-center-page .help-shell {
    width: 100%;
    max-width: var(--help-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
}

.help-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--help-accent);
    margin: 0 0 0.75rem;
}

.help-hero {
    background: linear-gradient(180deg, #ecfeff 0%, #ffffff 70%);
    padding: 2.5rem 0 2rem;
}

.help-hero__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    text-align: center;
}

.help-hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

.help-lede {
    color: var(--help-muted);
    font-size: 1.05rem;
    margin: 0 auto 1.5rem;
    max-width: 38rem;
}

.help-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.help-search input {
    width: 100%;
    border: 1px solid var(--help-line);
    border-radius: 999px;
    padding: 0.9rem 3.25rem 0.9rem 1.25rem;
    font-size: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.help-search button {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: var(--help-accent);
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    cursor: pointer;
}

.help-audience {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1.5rem 0 0.5rem;
}

.help-audience__btn {
    border: 1px solid var(--help-line);
    background: #fff;
    color: var(--help-muted);
    border-radius: 999px;
    padding: 0.65rem 1.35rem;
    font-weight: 700;
    cursor: pointer;
}

.help-audience__btn.is-active {
    background: var(--help-accent);
    border-color: var(--help-accent);
    color: #fff;
}

.help-audience-blurb {
    text-align: center;
    color: var(--help-muted);
    max-width: 36rem;
    margin: 0.25rem auto 1.5rem;
    padding: 0;
}

.help-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    max-width: none;
    width: 100%;
    margin: 0 0 2.5rem;
    padding: 0;
}

.help-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    background: var(--help-surface);
    border: 1px solid var(--help-line);
    border-radius: 1rem;
    padding: 1.25rem 0.75rem;
    width: 200px;
    max-width: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.help-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    color: inherit;
}

.help-card__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
}

.help-card__icon img {
    max-width: 56px;
    max-height: 56px;
}

.help-card__title {
    font-weight: 700;
    font-size: 0.95rem;
}

.help-empty,
.help-filter-empty {
    text-align: center;
    color: var(--help-muted);
    padding: 1rem 0;
    width: 100%;
}

.help-cta {
    background: linear-gradient(120deg, #ecfeff, #f8fafc);
    padding: 3rem 0;
    margin-top: 1rem;
}

.help-cta__copy {
    max-width: none;
    margin: 0;
    text-align: center;
}

.help-cta__btn {
    display: inline-block;
    margin: 0.5rem 0.35rem 0;
    background: var(--help-accent);
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
}

.help-cta__btn--ghost {
    background: #fff;
    color: var(--help-accent) !important;
    border: 1px solid var(--help-accent);
}

.help-breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 1.25rem 0;
    color: var(--help-muted);
    font-size: 0.9rem;
}

.help-breadcrumbs li:not(:last-child)::after {
    content: "/";
    margin-left: 0.35rem;
    color: #94a3b8;
}

.help-breadcrumbs a {
    color: var(--help-accent);
    text-decoration: none;
}

.help-article {
    max-width: 860px;
    margin: 0 auto;
    padding: 1rem 1.25rem 2rem;
}

.help-article__header {
    margin-bottom: 1.5rem;
}

.help-article__hero img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.help-kicker {
    font-weight: 700;
    color: var(--help-accent);
}

.help-step {
    border-top: 1px solid var(--help-line);
    padding: 1.5rem 0;
}

.help-step h2 {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
}

.help-step__body {
    color: var(--help-muted);
    line-height: 1.65;
}

.help-step__video a {
    color: var(--help-accent);
    font-weight: 700;
}

.help-related {
    max-width: 860px;
    margin: 0 auto 2rem;
    padding: 0 1.25rem;
}

.help-related ul {
    list-style: none;
    padding: 0;
    margin: 0.75rem 0 0;
    display: grid;
    gap: 0.5rem;
}

.help-related a {
    color: var(--help-accent);
    font-weight: 600;
    text-decoration: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 640px) {
    .help-card {
        width: calc(50% - 0.5rem);
    }
}
