/* ── Comprehensive Help ── */
/* Long-form article pages under /help/<lang>/. Content is plain prose +
   real app screenshots, so this stays close to .legal typography rather
   than the illustrative calc-mock styling in navigator.css. */

.help-crumbs {
    display: block; margin-bottom: 1.5rem; font-size: .88rem;
    color: var(--clr-muted);
}
.help-crumbs a { color: var(--clr-muted); }
.help-crumbs a:hover { color: var(--clr-text); }

.help-article { max-width: 700px; margin: 0 auto; }
.help-article h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.help-article h3 { font-size: 1.02rem; margin: 1.5rem 0 .5rem; }
.help-article p { color: var(--clr-muted); margin-bottom: 1rem; line-height: 1.7; }
.help-article p strong { color: var(--clr-text); }
.help-article ul { color: var(--clr-muted); margin: 0 0 1rem 1.25rem; line-height: 1.8; }
.help-article ul a { font-weight: 600; }

.help-article figure { margin: 1.5rem 0; }
.help-article figure img {
    border-radius: 12px; border: 1px solid var(--clr-border);
    background: var(--clr-surface);
    max-width: calc(100% - 1.2rem); margin-left: .6rem; margin-right: .6rem;
}
.help-article figcaption { font-size: .8rem; color: var(--clr-muted); text-align: center; margin-top: .5rem; }

/* Numbered reference badges — matches the same red badges baked into the
   screenshots (assets/img/callouts/), so text and image agree on numbering. */
.callout-badge {
    display: inline-flex; width: 1.15em; height: 1.15em;
    vertical-align: -0.2em; margin-right: .3em; flex-shrink: 0;
}

.help-note {
    background: var(--clr-card); border: 1px solid var(--clr-border);
    border-radius: 10px; padding: 1rem 1.25rem; margin: 1.5rem 0;
}
.help-note p:last-child { margin-bottom: 0; }

/* ── Topic index (hub) ── */
.help-group { margin-bottom: 2.5rem; }
.help-group h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.help-topic-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.help-topic-card {
    display: block; background: var(--clr-card); border: 1px solid var(--clr-border);
    border-radius: var(--radius); padding: 1.1rem 1.25rem; color: inherit;
}
.help-topic-card:hover { border-color: var(--clr-muted); text-decoration: none; }
.help-topic-card h3 { font-size: .98rem; margin-bottom: .35rem; }
.help-topic-card p { color: var(--clr-muted); font-size: .85rem; margin: 0; }

.help-footer-nav {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--clr-border);
}

@media (max-width: 640px) {
    .help-article img { max-width: 100%; }
}
