/* Help centre — layered on brand/site.css, which carries the tokens, header,
   footer and contrast mode. Nothing here redefines a token; if a value is not
   available as a var, that is a signal it belongs in the shared sheet. */

.hwrap{max-width:920px;margin:0 auto;padding:34px 24px 80px}

/* .sr-only lives in index.css, which help pages do not load — they load site.css
   (from legal.css) plus this. Defined here rather than moved into the shared sheet
   so nothing about the existing pages changes; fold it into site.css whenever the
   two stylesheets are finally unified. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}

/* index hero */
.hhero{background:linear-gradient(168deg,#291B47 0%,#392070 46%,#4C2998 100%);
  color:var(--on-dark-heading);border-radius:28px 28px 0 28px;
  padding:38px 34px;margin-bottom:30px}
.hhero h1{font-size:clamp(1.7rem,4vw,2.3rem);letter-spacing:-.025em;margin:0 0 10px}
.hhero p{color:var(--on-dark-body);max-width:52ch;margin:0;font-size:1.02rem}
#q{width:100%;margin-top:20px;padding:14px 16px;border:1px solid transparent;
  border-radius:var(--r-md);font-family:var(--font);font-size:15px;
  background:var(--surface);color:var(--heading);min-height:44px}
#q:focus-visible{outline:3px solid var(--brand-300);outline-offset:2px}

/* section headings + cards */
.hsec{font-size:11.5px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;
  color:var(--brand-700);margin:34px 0 12px}
.hcards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:680px){.hcards{grid-template-columns:1fr}}
.hcard{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r-lg);padding:16px 18px;text-decoration:none;display:block;
  transition:border-color .14s ease,transform .14s ease}
.hcard:hover{border-color:var(--brand);transform:translateY(-1px)}
.hcard .t{display:block;font-weight:600;font-size:15px;color:var(--heading);
  letter-spacing:-.01em;line-height:1.35}
.hcard .i{display:block;font-size:11px;color:var(--muted);margin-top:5px;
  font-family:ui-monospace,Menlo,monospace}

/* article */
.hb{display:inline-block;margin-bottom:18px;font-size:14px;color:var(--brand-700);
  text-decoration:none}
.hb:hover{text-decoration:underline}

/* The panel under every article. Solid brand-900 rather than the index hero's
   gradient: it should read as a way out, not as "you are at the top level".
   Corner grammar matches the rest of the site, square on the bottom right. */
.ax{background:var(--brand-900);color:var(--on-dark-body);
  border-radius:28px 28px 0 28px;padding:30px 34px;margin-top:26px}
@media (max-width:680px){.ax{padding:24px 20px}}
.ax h2{font-size:11.5px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;
  color:#B398ED;margin:0 0 4px}
.ax-links{list-style:none;margin:0 0 22px;padding:0}
.ax-links li{border-bottom:1px solid rgba(255,255,255,.09)}
.ax-links li:last-child{border-bottom:0}
.ax-links a{display:block;padding:12px 0;color:var(--on-dark-heading);
  text-decoration:none;font-weight:500;font-size:15px}
.ax-links a:hover{color:#fff;text-decoration:underline}
.ax-help{font-size:14px;color:var(--on-dark-muted);margin:0;max-width:58ch}
.ax-help a{color:var(--on-dark-body)}
:root[data-hc="on"] .ax-help,:root[data-hc="on"] .ax-links a{color:#FFFFFF}
article{background:var(--surface);border:1px solid var(--border);
  border-radius:var(--r-lg);padding:34px 36px}
@media (max-width:680px){article{padding:24px 20px}}
article .aid{font-size:11px;color:var(--muted);margin:0 0 6px;
  text-transform:uppercase;letter-spacing:.06em;font-weight:600}
article .aid-foot{font-size:11px;font-family:ui-monospace,Menlo,monospace;
  color:var(--muted);margin:30px 0 0;padding-top:14px;
  border-top:1px solid var(--border)}
article h1{font-size:clamp(1.45rem,3.4vw,1.75rem);letter-spacing:-.022em;
  line-height:1.25;margin:0 0 4px}
article h2{font-size:1.12rem;font-weight:600;margin:28px 0 8px;color:var(--heading)}
article h3{font-size:1rem;font-weight:600;margin:22px 0 6px;color:var(--heading)}
article p{margin:12px 0;color:var(--body)}
article ul,article ol{margin:12px 0 12px 22px;color:var(--body)}
article li{margin:6px 0}
article strong{color:var(--heading)}
article a{color:var(--brand-700)}
article code{font-family:ui-monospace,Menlo,monospace;font-size:12.5px;
  background:var(--brand-50);color:var(--brand-700);padding:2px 6px;
  border-radius:var(--r-sm)}
article blockquote{border-left:3px solid var(--amber-600);background:var(--amber-50);
  padding:13px 17px;border-radius:var(--r-md);margin:16px 0;color:var(--amber-900)}
article blockquote p{color:inherit;margin:6px 0}
.tocwrap,article .tablewrap{overflow-x:auto}
article table{width:100%;border-collapse:collapse;margin:16px 0;font-size:14px}
article th{background:var(--canvas);text-align:left;padding:10px 13px;font-size:11px;
  text-transform:uppercase;letter-spacing:.05em;color:var(--muted);
  border-bottom:1px solid var(--border)}
article td{padding:10px 13px;border-bottom:1px solid var(--border);
  color:var(--body);vertical-align:top}
article tr:last-child td{border-bottom:0}

/* search results */
#results:empty{display:none}
.nores{color:var(--muted);font-size:14px;padding:16px 2px}

:root[data-hc="on"] .hhero{background:#000;color:#fff}
:root[data-hc="on"] .hcard,:root[data-hc="on"] article{border-width:2px}

/* ---- Article reading aids (Oct 15 2026). Opt-in per article from kb.md via
   attr_list / md_in_html, so existing articles render exactly as before.
   ## Title {.step}                 numbered step heading (CSS counter)
   **Button**{.ui}                  an on-screen label, drawn as a key
   <div class="if" markdown="1">    a branch: "if this happens" detours
   <div class="sum" markdown="1">   the what-you-need box at the top
   <details markdown="1"><summary>  collapsible troubleshooting row       */
article p,article ul,article ol{max-width:68ch}
article{counter-reset:step}
article h2.step{counter-increment:step;display:flex;align-items:center;gap:12px;
  margin:36px 0 10px;padding-top:24px;border-top:1px solid var(--border)}
article h2.step::before{content:counter(step);flex:none;width:30px;height:30px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:var(--r-pill);background:var(--brand-600);color:#fff;
  font-size:14px;font-weight:700}
article strong.ui{display:inline;font-weight:600;font-size:.92em;
  padding:1px 8px;border:1px solid var(--brand-300);border-bottom-width:2px;
  border-radius:var(--r-sm);background:var(--brand-50);color:var(--brand-700);
  -webkit-box-decoration-break:clone;box-decoration-break:clone}
article td strong.ui{white-space:nowrap}
article .if{background:var(--brand-50);border-left:3px solid var(--brand-600);
  border-radius:var(--r-md);padding:4px 18px;margin:16px 0;max-width:68ch}
article .if p{margin:10px 0}
article .sum{background:var(--canvas);border:1px solid var(--border);
  border-radius:var(--r-md);padding:4px 18px;margin:18px 0 6px;max-width:68ch}
article .sum p{margin:10px 0}
article details{border:1px solid var(--border);border-radius:var(--r-md);
  margin:10px 0;max-width:68ch;background:var(--surface)}
article details+details{margin-top:8px}
article summary{cursor:pointer;padding:13px 16px;font-weight:600;
  color:var(--heading);list-style:none;display:flex;gap:10px;align-items:center;
  min-height:44px}
article summary::-webkit-details-marker{display:none}
article summary::before{content:"+";flex:none;width:20px;font-weight:700;
  color:var(--brand-700);font-size:18px;line-height:1}
article details[open] summary::before{content:"\2212"}
article summary:focus-visible{outline:3px solid var(--brand-300);outline-offset:2px}
article details>*:not(summary){margin:0 16px 14px 46px}
:root[data-hc="on"] article h2.step::before{background:#000;color:#fff}
:root[data-hc="on"] article strong.ui,:root[data-hc="on"] article .if,
:root[data-hc="on"] article .sum,:root[data-hc="on"] article details{
  border:2px solid #000;background:#fff;color:#000}
