/* Help center — layered on top of home.css */
.help-hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 0 52px; }
.help-hero h1 { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 40px); }
.help-hero p { margin: 0; max-width: 46em; color: rgba(255,255,255,.74); font-size: 17px; }
.help-hero .eyebrow { color: var(--cyan); }

.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
.toc-h { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; border-left: 2px solid var(--line); }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; }
.toc a::before { content: counter(t) ". "; color: var(--faint); }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }

.content { min-width: 0; }
.content section { padding: 8px 0 40px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.content section:last-child { border-bottom: 0; }
.content h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 26px; }
.content h2 span { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 9px; background: var(--navy-3); color: #fff; font-size: 15px; }
.content h3 { margin: 28px 0 12px; font-size: 18.5px; }
.content p, .content li { color: var(--muted); }
.content b { color: var(--text); }
.content ul { padding-left: 22px; }
.content li { margin: 6px 0; }
.content a { text-decoration: underline; text-underline-offset: 3px; }

code { font: 600 13px var(--mono); background: var(--alt); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--text); word-break: break-word; }
kbd { display: inline-block; font: 600 12.5px var(--font); padding: 1px 8px; border-radius: 6px; border: 1px solid var(--line2); border-bottom-width: 2px;
  background: var(--panel); color: var(--text); white-space: nowrap; }

.steps-doc { margin: 0; padding: 0; list-style: none; counter-reset: sd; }
.steps-doc > li { counter-increment: sd; position: relative; padding: 2px 0 10px 40px; margin: 0; }
.steps-doc > li::before { content: counter(sd); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; }
.steps-doc ul { margin-top: 6px; }

.tip, .warn { margin: 12px 0 4px; padding: 12px 16px; border-radius: 10px; font-size: 15px; color: var(--muted); }
.tip { background: var(--accent-soft); border-left: 3px solid var(--accent); }
.warn { background: color-mix(in srgb, var(--danger) 9%, var(--panel)); border-left: 3px solid var(--danger); }
.note { display: inline; font-size: 14px; color: var(--faint); }
.note::before { content: "— "; }
p.note::before { content: ""; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.box { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 8px; background: var(--panel); }
.box h4 { margin: 0 0 6px; font-size: 16px; }
.box ul { padding-left: 20px; margin: 0 0 8px; }

.t { width: 100%; border-collapse: collapse; margin: 14px 0 10px; font-size: 15px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: table; }
.t th, .t td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--muted); }
.t thead th { background: var(--alt); color: var(--text); font-size: 13px; font-weight: 700; }
.t tbody tr:last-child td { border-bottom: 0; }
.t td:first-child { white-space: nowrap; }
.narrow-t { max-width: 460px; }

/* screen mock */
.mock { margin: 16px 0 18px; border: 1px solid var(--line2); border-radius: 12px; overflow: hidden; font-size: 12.5px; background: var(--panel); }
.m-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--alt); flex-wrap: wrap; }
.m-logo { font-weight: 700; }
.m-search { flex: 1; min-width: 160px; padding: 5px 10px; border: 1px solid var(--line2); border-radius: 7px; color: var(--faint); background: var(--panel); }
.m-search i { float: right; font-style: normal; font-size: 11px; }
.m-btn { padding: 4px 10px; border-radius: 7px; background: var(--accent); color: #fff; font-weight: 600; }
.m-ic { width: 24px; text-align: center; color: var(--muted); }
.m-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #7a5af8; color: #fff; font-weight: 700; font-size: 11px; }
.m-body { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr; min-height: 200px; }
.m-body > div { display: flex; flex-direction: column; gap: 6px; padding: 12px; color: var(--muted); }
.m-side { background: var(--alt); border-right: 1px solid var(--line); }
.m-list { border-right: 1px solid var(--line); }
.m-body b { color: var(--text); }
.m-body em { font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; color: var(--faint); margin-top: 6px; }

details { margin-top: 10px; }
details summary code { font-size: 13px; }

@media (max-width: 960px) {
  .doc { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; max-height: none; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--alt); }
  .toc ol { columns: 2; column-gap: 24px; border-left: 0; }
  .toc a { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .t { display: block; overflow-x: auto; }
  .t td:first-child { white-space: normal; }
  .m-body { grid-template-columns: 1fr; }
  .m-side, .m-list { border-right: 0; border-bottom: 1px solid var(--line); }
}
