/* Help pages */
.help-page {
    padding-top: 24px;
}

.help-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 14px;
}

.help-breadcrumbs a {
    color: var(--muted-dark);
    font-weight: 700;
    text-decoration: none;
}

.help-breadcrumbs a:hover {
    color: var(--blue);
}

.help-article {
    padding: 34px;
}

.help-article h1 {
    max-width: 860px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -0.035em;
}

.help-lead {
    max-width: 880px;
    color: var(--muted-dark);
    font-size: 18px;
    line-height: 1.65;
}

.help-note {
    margin: 26px 0;
    padding: 18px 20px;
    border: 1px solid rgba(36, 105, 166, 0.28);
    border-left: 5px solid var(--notice);
    border-radius: 14px;
    background: var(--notice-bg);
}

.help-note strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.help-section {
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.help-section h2 {
    margin-bottom: 14px;
    color: var(--text-dark);
}

.help-steps {
    display: grid;
    gap: 22px;
    margin: 0;
    padding-left: 24px;
}

.help-step h3 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.help-step p {
    max-width: 860px;
    color: var(--muted-dark);
    line-height: 1.65;
}

.help-screenshot {
    margin: 16px 0 0;
    padding: 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
}

.help-screenshot img {
    display: block;
    width: 100%;
    min-height: 220px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.04) 25%, transparent 25%) 0 0 / 22px 22px,
        linear-gradient(135deg, transparent 75%, rgba(15, 23, 42, 0.04) 75%) 0 0 / 22px 22px,
        #ffffff;
    object-fit: contain;
}

.help-screenshot figcaption {
    margin-top: 10px;
    color: var(--muted-dark);
    font-size: 14px;
}

.help-list,
.help-source-list {
    margin: 0;
    padding-left: 22px;
}

.help-list li + li,
.help-source-list li + li {
    margin-top: 8px;
}

.help-list li,
.help-source-list li {
    color: var(--muted-dark);
    line-height: 1.6;
}

.help-source-list a {
    color: var(--blue);
    font-weight: 700;
    text-decoration: none;
}

.help-source-list a:hover {
    text-decoration: underline;
}

.help-example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.help-example {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--info-bg);
}

.help-example strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.help-example p {
    margin: 0;
    color: var(--muted-dark);
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.help-example-good {
    border-left: 5px solid var(--success);
    background: #f0fdf4;
}

.help-example-bad {
    border-left: 5px solid var(--warning);
    background: #fff7ed;
}

.help-cta {
    margin-top: 34px;
    padding: 22px;
    border-radius: 18px;
    background: var(--dark);
    color: #ffffff;
}

.help-cta h2 {
    margin-bottom: 8px;
    color: #ffffff;
}

.help-cta p {
    margin-bottom: 16px;
    color: #d1d5db;
}

.help-cta .report-back-link {
    background: #ffffff;
    color: var(--dark);
}

.help-cta .report-back-link:hover {
    background: #e5e7eb;
}

.issue-main {
    margin-bottom: 10px;
    color: var(--text);
    font-weight: 700;
    line-height: 1.55;
}

.issue-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 10px;
}

.issue-help-link {
    color: var(--blue);
    font-weight: 800;
    text-decoration: none;
}

.issue-help-link:hover {
    text-decoration: underline;
}

.recommendation span {
    font-weight: 900;
}

@media (max-width: 760px) {
    .help-article {
        padding: 22px;
    }

    .help-example-grid {
        grid-template-columns: 1fr;
    }

    .help-screenshot img {
        min-height: 160px;
    }
}
