/* The help centre. Long-form reading on the marketing site's tokens — this
   file only adds a two-column grid with a topic list, the index's card list,
   and a reading measure. Nothing here restates a colour. */

.helpgrid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding-top: 24px; }
@media (max-width: 860px) { .helpgrid { grid-template-columns: 1fr; } }

.hnav { position: sticky; top: 18px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; }
@media (max-width: 860px) { .hnav { position: static; order: 2; border-top: 1px solid var(--line); padding-top: 18px; } }
.hnav-home { font-weight: 500; color: var(--ink); }
.hnav-group { display: flex; flex-direction: column; gap: 5px; }
.hnav-group .k { margin-bottom: 2px; }
.hnav-group a { color: var(--body-ink); line-height: 1.45; }
.hnav-group [aria-current="page"] { color: var(--ink); font-weight: 500; line-height: 1.45; }

.hdoc { max-width: 66ch; }
.hdoc h1 { font-size: clamp(28px, 4vw, 38px); margin: 8px 0 18px; line-height: 1.12; text-wrap: balance; }
.hdoc h2 { font-size: 20px; margin: 34px 0 10px; }
.hdoc h3 { font-size: 16px; margin: 24px 0 8px; }
.hdoc p, .hdoc li { font-size: 16px; line-height: 1.68; color: var(--body-ink); text-wrap: pretty; }
.hdoc p { margin: 0 0 14px; }
.hdoc ol, .hdoc ul { padding-left: 22px; margin: 0 0 16px; }
.hdoc li { margin-bottom: 7px; }
.hdoc li::marker { color: var(--muted); }
.hdoc strong { color: var(--ink); font-weight: 500; }
.hdoc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; background: var(--strip); padding: 1px 5px; border-radius: 4px; }
.hdoc blockquote { margin: 0 0 16px; padding: 10px 16px; border-left: 3px solid var(--c-aqua); background: color-mix(in srgb, var(--c-aqua) 18%, #fff); border-radius: 0 8px 8px 0; }
.hdoc blockquote p { margin: 0; }
.hdoc a { text-decoration: underline; text-underline-offset: 2px; }
.hfoot { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.hsec { border-top: 1px solid var(--line); }
.hsec h2 { font-size: 20px; margin: 0 0 14px; }
.hlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hitem { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--rc); background: var(--surface); color: var(--ink); text-decoration: none; }
.hitem:hover { border-color: var(--ink); text-decoration: none; }
.hitem strong { font-weight: 500; font-size: 15px; line-height: 1.35; }
.hitem span { font-size: 13.5px; line-height: 1.5; color: var(--muted); }
