/* Help center (/help): same tokens as style.css */
.nav .links a[href="/help"] { color: var(--text); }

/* home */
.h-hero { padding: 72px 0 40px; text-align: center; overflow: visible; }
.h-hero::before { content: ""; position: absolute; inset: -40% 0 auto; height: 140%; background: radial-gradient(40% 50% at 50% 30%, rgba(47,123,255,.22), transparent 70%); pointer-events: none; }
.h-hero .wrap { position: relative; }
.h-hero h1 { font-size: clamp(36px, 5.5vw, 56px); }
.h-search { position: relative; max-width: 620px; margin: 26px auto 0; }
.h-search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; }
.h-search input { width: 100%; font: inherit; font-size: 17px; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 17px 22px 17px 52px; outline: none; transition: border-color .15s, box-shadow .15s; }
.h-search input::placeholder { color: #7d87b8; }
.h-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,123,255,.18); }
.h-res { max-width: 620px; margin: 14px auto 0; text-align: left; display: grid; gap: 8px; }
.h-res[hidden], .h-grid[hidden] { display: none; }
.h-res a { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.h-res a:hover { border-color: rgba(47,123,255,.5); }
.h-res b { display: block; font-size: 16px; }
.h-res span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.h-none { color: var(--muted); text-align: center; }
.h-none a { color: var(--cyan); }

.h-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; padding-top: 12px; padding-bottom: 20px; }
.h-sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 12px; scroll-margin-top: 90px; }
.h-sec-h { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.h-sec-h h2 { font-size: 20px; margin: 0; letter-spacing: -.01em; }
.h-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(25,211,255,.1); flex: none; }
.h-ic svg { width: 19px; height: 19px; stroke: var(--cyan); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.h-sec ul { list-style: none; margin: 0; padding: 0; }
.h-sec li + li { border-top: 1px solid var(--line); }
.h-sec li a { display: block; text-decoration: none; padding: 13px 0; }
.h-sec li a:hover b { color: var(--cyan); }
.h-sec li b { display: block; font-size: 16px; font-weight: 700; }
.h-sec li span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }

/* article */
.h-art { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
.h-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.h-crumb a { text-decoration: none; color: var(--muted); }
.h-crumb a:hover { color: var(--cyan); }
.h-art h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 10px; }
.h-sum { font-size: 19px; color: var(--muted); margin-bottom: 30px; }
.h-body { font-size: 16.5px; line-height: 1.65; color: #c9cff0; }
.h-body h2 { font-size: 22px; color: var(--text); margin: 34px 0 10px; letter-spacing: -.01em; }
.h-body p, .h-body li { color: #c9cff0; }
.h-body b { color: var(--text); }
.h-body a { color: var(--cyan); text-decoration: none; }
.h-body a:hover { text-decoration: underline; }
.h-body ul, .h-body ol { padding-left: 22px; margin: 0 0 16px; }
.h-body li { margin-bottom: 8px; }
.h-body .h-steps ol { list-style: none; counter-reset: st; padding: 0; }
.h-body .h-steps li { counter-increment: st; position: relative; padding: 2px 0 6px 46px; margin-bottom: 10px; }
.h-body .h-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; }
.h-body .tip { background: rgba(25,211,255,.07); border: 1px solid rgba(25,211,255,.25); border-radius: 14px; padding: 14px 18px; margin: 18px 0; font-size: 15.5px; }
.h-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 20px; display: block; overflow-x: auto; }
.h-body th, .h-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.h-body th { color: var(--text); white-space: nowrap; }
.h-body td:first-child { white-space: nowrap; color: var(--text); font-weight: 600; }

.h-more { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.h-more h3 { font-size: 17px; margin-bottom: 10px; }
.h-more ul { list-style: none; padding: 0; margin: 0; }
.h-more li { margin-bottom: 8px; }
.h-more a { color: var(--cyan); text-decoration: none; }
.h-more a:hover { text-decoration: underline; }
.h-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.h-pn a { text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 700; font-size: 15px; }
.h-pn a:hover { border-color: rgba(47,123,255,.5); }
.h-pn a span { display: block; color: var(--muted); font-weight: 600; font-size: 13px; margin-bottom: 2px; }
.h-pn a.nx { text-align: right; }
.h-stuck { margin: 36px auto 0; max-width: 780px; background: linear-gradient(120deg, rgba(25,211,255,.1), rgba(155,61,255,.12)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.h-home .h-stuck { margin-bottom: 72px; }
.h-stuck b { font-size: 17px; }
.h-stuck p { margin: 6px 0 0; color: #c9cff0; }
.h-stuck a { color: var(--cyan); }

@media (max-width: 800px) {
  .h-grid { grid-template-columns: 1fr; }
  .h-hero { padding: 48px 0 28px; }
  .h-art { padding-top: 32px; }
  .h-pn { grid-template-columns: 1fr; }
  .h-pn a.nx { text-align: left; }
  .h-body td:first-child { white-space: normal; }
}
@media (max-width: 760px) { .nav .links { display: none; } }
