/* ShaftKings Help Center — the site's own design language (shaftkings.gg:
   #100E14 page, white-glass surfaces, Clash Grotesk 500/600, Unbounded
   display, 8/12/16px corners, the yellow call to action), with a docs layout
   in the manner of Linear and Stripe: sidebar, readable column, contents. */

@font-face { font-family: "Clash Grotesk"; src: url(fonts/clash.woff2) format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url(fonts/unbounded.woff2) format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --bg: #100E14;
  --surface: #16141B;
  --glass-weak: rgba(255, 255, 255, .04);
  --glass: rgba(255, 255, 255, .06);
  --glass-hover: rgba(255, 255, 255, .09);
  --glass-active: rgba(255, 255, 255, .16);
  --line: rgba(255, 255, 255, .07);
  --line-strong: rgba(255, 255, 255, .12);
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, .80);
  --text-3: rgba(255, 255, 255, .58);
  --text-4: rgba(255, 255, 255, .42);
  --purple: #6A38FF;
  --purple-ink: #B9A5FF;
  --yellow: #FFCC00;
  --orange: #FF9100;
  --ink: #0B0A0F;
  --red: #FF5C66;
  --green: #4ED68A;
  --r-8: 8px; --r-12: 12px; --r-16: 16px; --r-20: 20px;
  --sidebar: 248px;
  --topbar: 72px;
  --font: "Clash Grotesk", ui-sans-serif, system-ui, sans-serif;
  --display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 500 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--purple-ink); outline-offset: 2px; border-radius: var(--r-8); }
kbd { font: 600 11px/1 var(--font); color: var(--text-3); background: var(--glass); border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; }
.i { width: 16px; height: 16px; flex: none; fill: currentColor; }
.i--sm { width: 14px; height: 14px; }
.i--xs { width: 12px; height: 12px; opacity: .6; }
.i--title { width: 20px; height: 20px; color: var(--orange); }
.mark { width: auto; height: 20px; flex: none; }

/* ------------------------------------------------------------- layout --- */
.app { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.main { min-width: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line); }
main { flex: 1; }

/* ------------------------------------------------------------ sidebar --- */
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 0 16px 16px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.12) transparent; }
.sidebar > * { flex: none; }
.sb-head { height: var(--topbar); display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 28px; width: auto; }
.sb-close { display: none; }
.sb-search { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px 0 12px; border-radius: var(--r-12); background: var(--glass-weak); color: var(--text-3); font: 600 13px/1 var(--font); transition: background .15s, color .15s; }
.sb-search span { flex: 1; text-align: left; }
.sb-search:hover { background: var(--glass); color: var(--text-2); }
.sb-nav { display: flex; flex-direction: column; gap: 8px; }
.sb-group { display: flex; flex-direction: column; gap: 2px; padding: 6px; border-radius: var(--r-12); background: var(--glass); }
.sb-item { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: var(--r-8); font: 600 13px/1 var(--font); color: var(--text-2); transition: background .15s, color .15s; }
.sb-item span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-item:hover { background: var(--glass); color: var(--text); }
.sb-item.is-active { background: var(--glass-active); color: var(--text); }
.sb-item.is-open { color: var(--text); }
.sb-item--home { border-radius: var(--r-12); padding: 0 12px; }
.sb-item .i--caret { width: 12px; height: 12px; opacity: .45; }
.sb-sub { display: flex; flex-direction: column; margin: 2px 0 6px 17px; padding-left: 9px; border-left: 1px solid var(--line-strong); }
.sb-sub__label { margin: 10px 10px 4px; font: 600 11px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--text-4); }
.sb-sub__item { padding: 7px 10px; border-radius: var(--r-8); font: 500 13px/1.35 var(--font); color: var(--text-3); transition: background .15s, color .15s; }
.sb-sub__item:hover { color: var(--text); background: var(--glass-weak); }
.sb-sub__item.is-active { color: var(--text); background: var(--glass); }
.sidebar > .sb-foot { margin-top: auto; }
.sb-foot { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.sb-foot > .sb-item { background: var(--glass-weak); border-radius: var(--r-12); padding: 0 12px; }
.sb-social { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sb-social a { height: 34px; display: grid; place-items: center; border-radius: var(--r-12); background: var(--glass); color: var(--text-2); transition: background .15s, color .15s; }
.sb-social a:hover { background: var(--glass-hover); color: var(--text); }

/* ------------------------------------------------------------- topbar --- */
.topbar { position: sticky; top: 0; z-index: 30; height: var(--topbar); display: flex; align-items: center; gap: 12px; padding: 0 32px; background: rgba(16, 14, 20, .72); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--line); }
.tb-menu, .tb-brand { display: none; }
.tb-search { display: flex; align-items: center; gap: 10px; height: 40px; width: min(400px, 100%); padding: 0 8px 0 14px; border-radius: var(--r-12); background: var(--glass-weak); border: 1px solid var(--line); color: var(--text-4); font: 500 14px/1 var(--font); transition: border-color .15s, background .15s; }
.tb-search span { flex: 1; text-align: left; }
.tb-search:hover { border-color: var(--line-strong); background: var(--glass); }
.tb-actions { margin-left: auto; display: flex; gap: 8px; }
.home-page .tb-search { visibility: hidden; }

/* ------------------------------------------------------------ buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--r-12); font: 600 13px/1 var(--font); white-space: nowrap; transition: background .15s, box-shadow .2s, transform .15s; }
.btn--glass { background: var(--glass); color: var(--text); }
.btn--glass:hover { background: var(--glass-hover); }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #FFD633; box-shadow: 0 10px 28px -10px rgba(255, 204, 0, .6); }
.btn--lg { height: 44px; padding: 0 20px; font-size: 14px; }
.btn.is-chosen { background: var(--glass-active); }

/* --------------------------------------------------------------- hero --- */
.hero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(-1 * var(--topbar)); padding: calc(var(--topbar) + 60px) 48px 44px; }
.hero__art { position: absolute; inset: 0; z-index: -1; background: url(art/cover.webp) 70% 24% / cover no-repeat; }
.hero__art::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(16,14,20,.94) 0%, rgba(16,14,20,.80) 34%, rgba(16,14,20,.25) 66%, rgba(16,14,20,.05) 100%),
  linear-gradient(180deg, rgba(16,14,20,.35) 0%, rgba(16,14,20,0) 30%, rgba(16,14,20,0) 62%, var(--bg) 100%); }
.hero__inner { max-width: 1117px; margin: 0 auto; }
.eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 20px; font: 600 13px/1 var(--font); letter-spacing: .02em; color: var(--text-2); }
.eyebrow .mark { height: 18px; }
.display { margin: 0; max-width: 11ch; font: 800 58px/1.04 var(--display); letter-spacing: -.01em; text-transform: uppercase; color: #fff; }
.pill { display: inline-block; margin-top: .1em; padding: .07em .3em .03em; border-radius: 16px; color: #2A1406;
  background: linear-gradient(134.95deg, rgba(255,255,255,.2) 0 1.2%, rgba(255,255,255,0) 1.2% 3.1%), linear-gradient(134.95deg, #FF8A1A 0%, #FFAE3D 30%, #FFD166 55%, #FF9D2E 100%);
  box-shadow: 0 14px 34px -14px rgba(255, 145, 0, .65), inset 0 -3px 0 rgba(0, 0, 0, .12); }
.hero__sub { margin: 22px 0 30px; max-width: 42ch; font: 500 18px/1.5 var(--font); color: var(--text-2); }
.hero__search { display: flex; align-items: center; gap: 12px; width: min(580px, 100%); height: 58px; padding: 0 12px 0 18px; border-radius: var(--r-16); background: rgba(22, 20, 27, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border: 1px solid var(--line-strong); color: var(--text-4); font: 500 16px/1 var(--font); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7); transition: border-color .15s, background .15s; }
.hero__search .i { width: 20px; height: 20px; color: var(--text-2); }
.hero__search span { flex: 1; text-align: left; }
.hero__search:hover { border-color: rgba(255, 255, 255, .22); background: rgba(28, 26, 34, .8); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; max-width: 820px; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: var(--r-12); background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 13px/1 var(--font); color: var(--text-2); transition: background .15s, color .15s; }
.chip:hover { background: var(--glass-active); color: #fff; }

/* -------------------------------------------------------------- blocks --- */
.wrap { max-width: 1213px; margin: 0 auto; width: 100%; padding: 0 48px 8px; }
.block { margin-top: 44px; }
.block:first-child { margin-top: 8px; }
.block__title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 20px/24px var(--font); }
.topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.topic { display: flex; flex-direction: column; min-height: 176px; padding: 20px; border-radius: var(--r-16); background: var(--glass-weak); border: 1px solid var(--line); transition: background .2s, border-color .2s, transform .2s; }
.topic:hover { background: var(--glass); border-color: var(--line-strong); transform: translateY(-2px); }
.topic__icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 18px; border-radius: var(--r-12); background: var(--glass); color: #fff; }
.topic__icon .i { width: 20px; height: 20px; }
.topic__title { font: 600 16px/1.3 var(--font); }
.topic__desc { margin-top: 6px; font: 500 14px/1.45 var(--font); color: var(--text-3); }
.topic__count { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 4px; font: 600 12px/1 var(--font); color: var(--text-4); transition: color .15s; }
.topic:hover .topic__count { color: var(--text-2); }

.panel { border-radius: var(--r-16); background: var(--glass-weak); border: 1px solid var(--line); overflow: hidden; }
.rows { display: grid; }
.rows--two { grid-template-columns: 1fr 1fr; }
.row { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); transition: background .15s; }
.rows:not(.rows--two) .row:last-child, .rows--two .row:nth-last-child(-n + 2) { border-bottom: 0; }
.rows--two .row:nth-child(odd) { border-right: 1px solid var(--line); }
.row:hover { background: var(--glass-weak); }
.row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row__title { font: 600 15px/1.35 var(--font); }
.row__meta { font: 500 13px/1.45 var(--font); color: var(--text-3); }
.row__go { color: var(--text-4); transition: transform .15s, color .15s; }
.row:hover .row__go { transform: translateX(2px); color: var(--text); }

.help { position: relative; display: flex; align-items: center; min-height: 232px; margin-top: 44px; padding: 32px 36px; border-radius: var(--r-20); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.help__text { position: relative; z-index: 1; max-width: 540px; }
.help__faces { display: flex; align-items: center; margin-bottom: 16px; }
.help__faces img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--surface); object-fit: cover; }
.help__faces img + img { margin-left: -10px; }
.help__live { width: 12px; height: 12px; margin: 26px 0 0 -12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--surface); }
.help h2 { margin: 0 0 6px; font: 600 24px/1.2 var(--font); letter-spacing: -.005em; }
.help p { margin: 0 0 20px; color: var(--text-2); }
.help__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.help__king { position: absolute; right: 28px; bottom: -86px; width: 250px; transform: rotate(-8deg); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); pointer-events: none; }
.help--slim { min-height: 0; padding: 24px 28px; }
.help--slim h2 { font-size: 20px; }
.help--slim .help__faces img { width: 34px; height: 34px; }
.help--slim .help__live { margin-top: 22px; }

/* -------------------------------------------------------------- footer --- */
.footer { margin-top: 72px; padding: 40px 48px 48px; border-top: 1px solid var(--line); }
.footer__top { max-width: 1117px; margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__top > img { height: 28px; width: auto; }
.footer__cols { display: flex; gap: 72px; }
.footer__cols p { margin: 0 0 14px; font: 600 14px/1 var(--font); }
.footer__cols a { display: block; margin: 0 0 12px; font: 600 14px/18px var(--font); color: rgba(255, 255, 255, .62); transition: color .15s; }
.footer__cols a:hover { color: #fff; }
.footer__legal { max-width: 1117px; margin: 36px auto 0; font: 500 12.5px/1.65 var(--font); color: var(--text-4); }
.footer__note { max-width: 1117px; margin: 16px auto 0; display: flex; align-items: center; gap: 10px; font: 500 13px/1.4 var(--font); color: var(--text-4); }
.age { display: inline-grid; place-items: center; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--line-strong); font: 600 11px/1 var(--font); color: var(--text-2); }

/* ---------------------------------------------------------- topic page --- */
.wrap--narrow { max-width: 880px; padding-top: 40px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; font: 600 13px/1.3 var(--font); color: var(--text-4); }
.crumbs a { color: var(--text-3); transition: color .15s; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--text-2); }
.topic-head { display: flex; align-items: center; gap: 18px; margin: 0 0 36px; }
.topic__icon--lg { width: 56px; height: 56px; margin: 0; border-radius: var(--r-16); }
.topic__icon--lg .i { width: 28px; height: 28px; }
.topic-head h1 { margin: 0; font: 600 34px/1.15 var(--font); letter-spacing: -.015em; }
.topic-head p { margin: 6px 0 0; color: var(--text-3); }
.topic-sec { margin-bottom: 28px; }
.topic-sec h2 { margin: 0 0 12px; font: 600 12px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }

/* ------------------------------------------------------------- article --- */
.doc { display: grid; grid-template-columns: minmax(0, 720px) 200px; gap: 72px; justify-content: center; padding: 40px 48px 0; }
.article { min-width: 0; }
.article h1 { margin: 0; max-width: 22ch; font: 600 38px/1.12 var(--font); letter-spacing: -.02em; }
.meta { display: flex; align-items: center; gap: 8px; margin: 16px 0 36px; font: 500 13px/1 var(--font); color: var(--text-4); }
.dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.prose { font: 500 16.5px/1.72 var(--font); color: var(--text-2); }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 22px; }
.prose .lead { font-size: 19px; line-height: 1.6; color: var(--text); }
.prose strong { font-weight: 600; color: #fff; }
.prose em { font-style: normal; color: var(--text); }
.prose a { color: var(--purple-ink); text-decoration: underline; text-decoration-color: rgba(185, 165, 255, .35); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .15s, color .15s; }
.prose a:hover { color: #D2C6FF; text-decoration-color: currentColor; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--glass); font: 500 .9em ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); }
.prose h2 { margin-top: 48px; font: 600 23px/1.25 var(--font); letter-spacing: -.01em; color: #fff; }
.prose h2 + * { margin-top: 14px; }
.bullets { padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 22px; }
.bullets li + li { margin-top: 10px; }
.bullets li::before { content: ""; position: absolute; left: 6px; top: .74em; width: 5px; height: 5px; border-radius: 50%; background: var(--text-4); }

.steps { padding: 0; list-style: none; }
.steps > li { position: relative; counter-increment: step; padding: 0 0 30px 48px; }
.steps > li:last-child { padding-bottom: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 600 14px/28px var(--font); text-align: center; }
.steps > li::after { content: ""; position: absolute; left: 13.5px; top: 35px; bottom: 6px; width: 1px; background: var(--line-strong); }
.steps > li:last-child::after { display: none; }
.step > p { margin: 0; color: var(--text); }
.step ul { margin: 10px 0 0; padding-left: 18px; }
.step .shot { margin-top: 18px; }

.shot { margin: 0; }
.shot img { border-radius: var(--r-16); }

.callout { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; border-radius: var(--r-12); border: 1px solid; font-size: 15.5px; line-height: 1.6; }
.callout p { margin: 0; color: var(--text-2); }
.callout__icon { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: currentColor; }
.callout--yellow { background: rgba(255, 204, 0, .07); border-color: rgba(255, 204, 0, .22); }
.callout--yellow .callout__icon { color: var(--yellow); }
.callout--red { background: rgba(255, 92, 102, .07); border-color: rgba(255, 92, 102, .25); }
.callout--red .callout__icon { color: var(--red); }
.callout--purple, .callout--blue, .callout--green { background: rgba(106, 56, 255, .10); border-color: rgba(155, 123, 255, .26); }
.callout--purple .callout__icon, .callout--blue .callout__icon, .callout--green .callout__icon { color: var(--purple-ink); }

.feedback { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line); font: 600 14px/1 var(--font); color: var(--text-2); }
.feedback > span { margin-right: 8px; }
.related { margin-top: 40px; }
.related h2 { margin: 0 0 12px; font: 600 18px/1.3 var(--font); }
.article .help { margin-top: 40px; }

.toc { position: sticky; top: calc(var(--topbar) + 40px); align-self: start; display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid var(--line); }
.toc p { margin: 0 0 10px; font: 600 12px/1 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--text-4); }
.toc a { padding: 6px 0; font: 500 13px/1.35 var(--font); color: var(--text-3); transition: color .15s; }
.toc a:hover, .toc a.is-active { color: #fff; }

/* ------------------------------------------------------------- palette --- */
.palette { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 12vh 16px 16px; background: rgba(8, 7, 11, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.palette[hidden] { display: none; }
.palette__box { width: min(640px, 100%); border-radius: var(--r-16); background: #18161E; border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .85); overflow: hidden; }
.palette__field { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.palette__field .i { width: 20px; height: 20px; color: var(--text-3); }
.palette__field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: #fff; font: 500 17px/1 var(--font); -webkit-appearance: none; appearance: none; }
.palette__field input::placeholder { color: var(--text-4); }
.palette__field input::-webkit-search-cancel-button { display: none; }
.palette__results { max-height: min(60vh, 480px); overflow-y: auto; padding: 8px; }
.pr { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: var(--r-12); }
.pr.is-active { background: var(--glass); }
.pr__c { font: 600 11px/1 var(--font); letter-spacing: .05em; text-transform: uppercase; color: var(--text-4); }
.pr__t { font: 600 15px/1.35 var(--font); }
.pr__x { font: 500 13px/1.5 var(--font); color: var(--text-3); }
.pr mark { background: none; color: var(--yellow); }
.palette__empty { padding: 28px 16px; text-align: center; color: var(--text-3); }
.palette__empty button { color: var(--purple-ink); text-decoration: underline; text-underline-offset: 3px; }

.scrim { display: none; }
.fab { display: none; }

/* ---------------------------------------------------------- responsive --- */
@media (max-width: 1279px) {
  .doc { grid-template-columns: minmax(0, 720px); }
  .toc { display: none; }
}
@media (max-width: 1180px) {
  .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .app { grid-template-columns: 1fr; }
  .main { border-left: 0; }
  .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(320px, 86vw); transform: translateX(-100%); transition: transform .25s ease; box-shadow: 24px 0 60px rgba(0, 0, 0, .55); }
  body.menu-open .sidebar { transform: none; }
  .scrim { display: block; position: fixed; inset: 0; z-index: 50; background: rgba(8, 7, 11, .62); opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.menu-open .scrim { opacity: 1; pointer-events: auto; }
  .sb-close { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-12); background: var(--glass); }
  .topbar { padding: 0 20px; }
  .tb-menu { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--r-12); background: var(--glass); }
  .tb-brand { display: block; flex: none; }
  .tb-brand img { height: 24px; width: auto; }
  .home-page .tb-search { visibility: visible; }
}
@media (max-width: 700px) {
  :root { --topbar: 64px; }
  .topbar { gap: 10px; padding: 0 16px; }
  .tb-search { width: 40px; flex: none; justify-content: center; margin-left: auto; padding: 0; color: var(--text-2); }
  .tb-search span, .tb-search kbd { display: none; }
  .tb-actions { display: none; }
  .hero { padding: calc(var(--topbar) + 36px) 20px 40px; }
  .hero__art { background-position: 74% 30%; }
  .hero__art::after { background: linear-gradient(180deg, rgba(16,14,20,.55) 0%, rgba(16,14,20,.78) 45%, var(--bg) 100%); }
  .eyebrow { margin-bottom: 14px; }
  .display { font-size: 36px; }
  .pill { border-radius: 11px; }
  .hero__sub { margin: 14px 0 22px; font-size: 16px; }
  .hero__search { height: 52px; }
  .hero__search kbd { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 14px -20px 0; padding: 0 20px 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .wrap { padding: 0 16px 8px; }
  .block { margin-top: 36px; }
  .topics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .topic { min-height: 0; padding: 16px; }
  .topic__icon { margin-bottom: 14px; }
  .topic__desc { display: none; }
  .topic__count { padding-top: 8px; }
  .rows--two { grid-template-columns: 1fr; }
  .rows--two .row:nth-child(odd) { border-right: 0; }
  .rows--two .row:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .row { padding: 14px 16px; }
  .help { padding: 24px; min-height: 0; }
  .help__king { display: none; }
  .help__actions .btn--glass { display: none; }
  .wrap--narrow { padding-top: 24px; }
  .topic-head h1 { font-size: 28px; }
  .doc { padding: 24px 16px 0; }
  .article h1 { font-size: 29px; }
  .meta { margin-bottom: 28px; }
  .prose { font-size: 16px; }
  .prose .lead { font-size: 17.5px; }
  .steps > li { padding-left: 42px; }
  .footer { padding: 32px 16px 104px; }
  .footer__cols { gap: 32px 48px; flex-wrap: wrap; }
  .fab { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 40; height: 48px; padding: 0 18px; border-radius: var(--r-16); box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .7), 0 8px 24px -12px rgba(255, 204, 0, .5); }
}

/* ---------------------------------------------------------------- 404 --- */
.notfound { padding-top: 96px; padding-bottom: 40px; }
.notfound h1 { margin: 0 0 10px; font: 600 34px/1.15 var(--font); letter-spacing: -.015em; }
.notfound > p:not(.eyebrow) { margin: 0 0 24px; color: var(--text-2); }
