/* Public, script-free help. Shared site colors and supplied footer art are retained. */
.help-page { --help-panel: #101b16; }
.help-page .nav { align-items: center; }
.help-page .nav-links { gap: .5rem 1.2rem; }
.help-page .nav-links a { min-height: 44px; display: inline-flex; align-items: center; }
.help-page .nav-links [aria-current="page"] { color: var(--accent); text-decoration: underline; }
.help-page main { padding-bottom: 4rem; }
.help-page .help-hero { padding: 4.8rem 0 3rem; }
.help-page .help-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); max-width: 850px; }
.help-page .help-hero .lead { max-width: 48rem; }
.help-page .help-hero .eyebrow { margin-top: 1.6rem; }
.help-page .breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem .65rem; margin: 0; font-size: .9rem; color: var(--muted); }
.help-page .breadcrumb span[aria-hidden] { color: #748e7d; }
.help-page .scope-line { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.5rem; color: var(--muted); font-size: .9rem; }
.help-page .scope-line span { display: inline-flex; align-items: center; gap: .5rem; }
.help-page .scope-line span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.help-page .help-layout { display: grid; grid-template-columns: minmax(180px, .65fr) minmax(0, 2fr); gap: 3.5rem; align-items: start; }
.help-page .help-toc { position: sticky; top: 1.5rem; padding: 2.3rem 0; }
.help-page .help-toc h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.help-page .help-toc ul { list-style: none; padding: 0; margin: 0; }
.help-page .help-toc a { display: flex; align-items: center; min-height: 44px; font-size: .92rem; padding: .4rem 0; }
.help-page .help-content { min-width: 0; }
.help-page .help-content section { padding: 2.8rem 0; }
.help-page .help-content h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); }
.help-page .help-content h3 { margin-top: 1.8rem; }
.help-page .help-content p, .help-page .help-content li { max-width: 75ch; }
.help-page .help-content ul, .help-page .help-content ol:not(.guide-steps) { padding-left: 1.4rem; }
.help-page .help-content li + li { margin-top: .55rem; }
.help-page .help-content a, .help-page .help-card a, .help-page .sample-card a { color: var(--accent); }
.help-page .help-content :last-child { margin-bottom: 0; }
.help-page .ui-label { font-weight: 700; color: #e3f3e8; }
.help-page .callout { background: var(--help-panel); border: 1px solid #385747; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; padding: 1.35rem 1.5rem; margin: 1.8rem 0; }
.help-page .callout p:last-child { margin: 0; }
.help-page .callout h3 { font-size: 1.08rem; margin: 0 0 .6rem; }
.help-page .help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.8rem; }
.help-page .help-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.8rem; background: linear-gradient(145deg, #17271e, #0e1713); display: flex; flex-direction: column; min-width: 0; }
.help-page .help-card .card-index { font-size: .75rem; letter-spacing: .1em; color: var(--accent); margin-bottom: 1.3rem; }
.help-page .help-card h3 { font-size: 1.5rem; line-height: 1.2; }
.help-page .help-card p { color: var(--muted); }
.help-page .help-card a { display: inline-flex; align-items: center; min-height: 44px; margin-top: auto; }
.help-page .help-card ul { padding-left: 1.2rem; margin: 0 0 1.2rem; color: var(--muted); }
.help-page .guide-steps { list-style: none; counter-reset: help-step; padding: 0; margin: 1.4rem 0; }
.help-page .guide-steps > li { counter-increment: help-step; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.help-page .guide-steps > li::before { content: counter(help-step, decimal-leading-zero); color: var(--accent); font-size: .85rem; padding-top: .12rem; }
.help-page .guide-steps h3 { font-size: 1.12rem; margin: 0 0 .5rem; }
.help-page .guide-steps p:last-child { margin: 0; }
.help-page .sample-card { margin: 1.5rem 0; padding: 1.6rem; border: 1px solid #375043; border-radius: 12px; background: radial-gradient(ellipse at top right, #24473566, transparent 85%), var(--help-panel); }
.help-page .sample-card > .eyebrow { font-size: .73rem; margin-bottom: .8rem; }
.help-page .sample-card h3 { margin-top: 0; }
.help-page .sample-facts { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: .7rem 1.4rem; margin: 1.4rem 0; }
.help-page .sample-facts dt { color: var(--muted); }
.help-page .sample-facts dd { margin: 0; overflow-wrap: anywhere; }
.help-page .sample-facts dt, .help-page .sample-facts dd { padding-top: .7rem; border-top: 1px solid #2d4437; }
.help-page .faq-answer + .faq-answer { border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: .2rem; }
.help-page .faq-answer h3 { font-size: 1.16rem; line-height: 1.4; }
.help-page .help-next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 2rem; border: 1px solid #3d5848; border-radius: 12px; margin-top: 3rem; background: var(--help-panel); }
.help-page .help-next h2 { font-size: 1.6rem; margin: 0 0 .6rem; }
.help-page .help-next p { margin: 0; max-width: 43rem; color: var(--muted); }
.help-page .help-next .actions { margin: 0; }
.help-page .help-next .button { color: #0a1310; }
.help-page .help-next .button.secondary { color: var(--fg); }
.help-page footer { padding-bottom: 3rem; }
.help-page .footer-grid .credits { max-width: 36rem; align-items: start; }
.help-page .footer-grid .credits a { display: inline-flex; align-items: center; min-height: 44px; }
.help-page a { overflow-wrap: anywhere; }
.help-page [id] { scroll-margin-top: 1.5rem; }
.help-page :focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
@media (max-width: 850px) {
  .help-page .help-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .help-page .help-toc { position: static; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
  .help-page .help-toc ul { display: flex; flex-wrap: wrap; gap: .1rem 1.5rem; }
  .help-page .help-toc a { font-size: .88rem; }
  .help-page .help-hero { padding-top: 3rem; }
}
@media (max-width: 600px) {
  .help-page .nav { display: block; }
  .help-page .brand { display: inline-flex; min-height: 44px; align-items: center; }
  .help-page .nav-links { justify-content: flex-start; gap: .1rem 1rem; }
  .help-page .help-hero { padding: 2rem 0; }
  .help-page .help-grid { grid-template-columns: minmax(0, 1fr); }
  .help-page .help-card, .help-page .sample-card, .help-page .callout, .help-page .help-next { padding: 1.25rem; }
  .help-page .help-content section { padding: 2.1rem 0; }
  .help-page .guide-steps > li { gap: .5rem; grid-template-columns: 1.8rem minmax(0, 1fr); }
  .help-page .sample-facts { display: block; }
  .help-page .sample-facts dt { margin-top: .75rem; }
  .help-page .sample-facts dd { border: 0; padding-top: .2rem; }
  .help-page .help-next .actions { width: 100%; }
  .help-page .help-next .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .help-page { scroll-behavior: auto; } }
@media print {
  .help-page { background: #fff; color: #111; }
  .help-page header, .help-page .help-toc, .help-page .help-next, .help-page footer, .help-page .skip { display: none; }
  .help-page .shell { width: 100%; }
  .help-page .help-layout, .help-page .help-grid { display: block; }
  .help-page .help-hero { padding-top: 0; }
  .help-page .callout, .help-page .sample-card, .help-page .help-card { background: #fff; border-color: #888; break-inside: avoid; }
  .help-page p, .help-page li, .help-page a, .help-page .ui-label, .help-page .eyebrow, .help-page .sample-facts dt, .help-page .scope-line { color: #111; }
}
