/* recd Help. Stands alone: it doesn't load /style.css. Colours, fonts and buttons follow the brand
   guide (recd.io/brand) and the home page. Every class starts with h- so nothing collides.
   Slate (dark) by default; Paper (light) when the system asks for it. Record red is only for the dot,
   recording, or "from what you said"; red words on light use Red 700. Never white text on red. */

:root{
  /* Slate */
  --s950:#0F1116;--s900:#15171D;--s850:#1D2029;--s800:#26282F;--s750:#2F3139;--s700:#3A3D45;
  --s500:#5A5E68;--s400:#8D9099;--s300:#B4B6BD;--s200:#D5D6DA;--s100:#ECECEE;
  /* Paper */
  --paper:#F4F4F2;--white:#FFFFFF;--ink:#17181C;--ink-muted:#6B6E77;
  /* Record red */
  --red:#EF4B43;--red-300:#FF8F86;--red-700:#B02D26;
  --display:"Urbanist","Avenir Next","Helvetica Neue",Arial,sans-serif;
  --sans:"Geist",-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
  --mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,monospace;
  --ease:cubic-bezier(.2,0,0,1);

  /* Roles, dark */
  --bg:var(--s900);--fg:var(--s100);--mut:var(--s300);--dim:var(--s400);--line:var(--s800);--line2:var(--s700);--card:var(--s850);
  --red-text:var(--red-300);--btn-bg:var(--s100);--btn-fg:var(--s900);
  --h-text:var(--s200);--h-soft:rgba(255,255,255,.03);--h-fill:rgba(255,255,255,.06);--h-fill2:rgba(255,255,255,.1);
  --h-top:60px;--h-side:276px;--h-mark:rgba(236,236,238,.18);--h-shadow:0 40px 100px rgba(0,0,0,.45),0 0 0 1px rgba(255,255,255,.05);
  --h-glass:rgba(21,23,29,.86);--h-scrim:rgba(10,11,15,.72);
  color-scheme:dark}
@media (prefers-color-scheme:light){
  :root{--bg:var(--paper);--fg:var(--ink);--mut:var(--ink-muted);--dim:var(--ink-muted);--line:#E2E2DF;--line2:#CFD0CC;--card:var(--white);
    --red-text:var(--red-700);--btn-bg:var(--ink);--btn-fg:var(--white);
    --h-text:var(--ink);--h-soft:rgba(23,24,28,.025);--h-fill:rgba(23,24,28,.05);--h-fill2:rgba(23,24,28,.08);--h-mark:rgba(23,24,28,.1);
    --h-shadow:0 30px 80px rgba(23,24,28,.14),0 0 0 1px rgba(23,24,28,.06);--h-glass:rgba(244,244,242,.88);--h-scrim:rgba(23,24,28,.35);
    color-scheme:light}
}

*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0}
.h-body{background:var(--bg);color:var(--fg);font:16px/1.6 var(--sans);-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
.h-body a{color:var(--fg)}
.h-body h1,.h-body h2,.h-body h3{font-family:var(--display)}
.h-body :focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:6px}
.h-body svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.skip{position:absolute;left:-9999px}
.skip:focus{left:16px;top:12px;z-index:70;padding:8px 14px;border-radius:999px;background:var(--btn-bg);color:var(--btn-fg)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Uppercase is only for fixed labels, never text that can contain "recd" (always lowercase).
   The one primary button (Start here) is a pill with a small red dot: Slate 100 on dark, Ink on light. */
.h-start-go{background:var(--btn-bg);color:var(--btn-fg)}
.h-start-go i{width:10px;height:10px;border-radius:50%;background:var(--red);display:block;flex:none}

/* ---------- top bar ---------- */
.h-top{position:sticky;top:0;z-index:40;height:var(--h-top);display:flex;align-items:center;gap:20px;padding:0 24px;
  background:var(--h-glass);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--line)}
.h-brand{display:flex;align-items:center;gap:12px;flex:none;min-width:calc(var(--h-side) - 48px)}
.h-logo{color:var(--fg);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.h-body .h-mark{display:block;height:24px;width:59px;overflow:visible;fill:currentColor;stroke:none}
.h-body .h-mark-dot{fill:var(--red)}
.h-brand-sep{color:var(--line2);font-size:18px}
.h-brand-help{color:var(--mut);text-decoration:none;font:700 18px var(--display);letter-spacing:-.01em;min-height:44px;display:inline-flex;align-items:center}
.h-brand-help:hover{color:var(--fg)}
.h-search-btn{display:flex;align-items:center;gap:10px;width:min(360px,100%);height:40px;padding:0 8px 0 14px;border:1px solid var(--line2);border-radius:999px;
  background:var(--h-soft);color:var(--dim);font:14px var(--sans);cursor:pointer;transition:border-color .15s,background .15s}
.h-search-btn:hover{border-color:var(--dim);background:var(--h-fill)}
.h-search-ic svg,.h-search-field>svg{width:17px;height:17px;flex:none}
.h-search-ic{display:flex}
.h-search-ph{flex:1;text-align:left}
.h-top-links{display:flex;gap:22px;margin-left:auto}
.h-top-links a{color:var(--mut);text-decoration:none;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.h-top-links a:hover{color:var(--fg)}
.h-menu{display:none;width:44px;height:44px;margin-left:-10px;border:0;background:none;color:var(--fg);border-radius:10px;cursor:pointer;align-items:center;justify-content:center}
.h-menu svg{width:22px;height:22px}

/* ---------- keycaps ---------- */
.h-keys{display:inline-flex;gap:3px;vertical-align:baseline;white-space:nowrap}
kbd.h-key{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border:1px solid var(--line2);border-bottom-width:2px;
  border-radius:6px;background:var(--card);color:var(--fg);font:500 12.5px/1 var(--sans);position:relative;top:-1px;box-sizing:border-box}
kbd.h-key-w{font:500 11px/1 var(--mono);letter-spacing:.02em}
.h-search-kbd kbd.h-key,.h-hero-kbd kbd.h-key{color:var(--dim);background:transparent}

/* ---------- layout ---------- */
.h-shell{display:grid;grid-template-columns:var(--h-side) minmax(0,1fr) 232px;max-width:1440px;margin:0 auto;min-height:calc(100vh - var(--h-top))}
.h-home .h-shell{grid-template-columns:var(--h-side) minmax(0,1fr)}
.h-main{padding:40px 56px 96px;min-width:0;outline:none}
.h-article{max-width:740px}

/* ---------- sidebar ---------- */
.h-side{position:sticky;top:var(--h-top);height:calc(100vh - var(--h-top));overflow-y:auto;overscroll-behavior:contain;border-right:1px solid var(--line);scrollbar-width:thin}
.h-side-in{padding:20px 14px 28px}
.h-side-home{display:flex;align-items:center;gap:10px;padding:7px 10px;margin-bottom:10px;border-radius:9px;color:var(--fg);text-decoration:none;font-size:14px;font-weight:600}
.h-side-home:hover,.h-group-btn:hover{background:var(--h-fill)}
.h-side-home[aria-current]{background:var(--h-fill2)}
.h-ic{width:18px;height:18px;flex:none;color:var(--mut)}
.h-body .h-ic .h-ic-red{fill:var(--red);stroke:none}
.h-groups,.h-groups ul{list-style:none;margin:0;padding:0}
.h-group-btn{display:flex;align-items:center;gap:10px;width:100%;padding:7px 10px;border:0;border-radius:9px;background:none;color:var(--fg);font:600 14px/1.3 var(--sans);text-align:left;cursor:pointer}
.h-group-btn span{flex:1}
.h-chev{width:14px;height:14px;flex:none;color:var(--dim);transition:transform .2s var(--ease)}
.h-group-btn[aria-expanded=true] .h-chev{transform:rotate(90deg)}
.h-group>ul{margin:2px 0 10px 19px;padding-left:9px;border-left:1px solid var(--line)}
.h-js .h-group:not(.h-open)>ul{display:none}
.h-group>ul a{display:block;padding:5px 10px;border-radius:7px;color:var(--mut);text-decoration:none;font-size:14px;line-height:1.4}
.h-group>ul a:hover{color:var(--fg);background:var(--h-fill)}
.h-group>ul a[aria-current]{color:var(--fg);background:var(--h-fill2);font-weight:550}
.h-group>ul a.h-group-all{color:var(--dim);font-size:13px}
.h-side-foot{margin:22px 10px 0;padding-top:16px;border-top:1px solid var(--line);font-size:13px;color:var(--dim)}
.h-side-foot p{margin:0 0 2px}
.h-side-foot a{color:var(--mut);word-break:break-all}
.h-scrim{display:none}

/* ---------- article ---------- */
.h-crumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0 0 26px;padding:0;font-size:13px;color:var(--dim)}
.h-crumbs li+li::before{content:"›";margin-right:6px;color:var(--line2)}
.h-crumbs a{color:var(--dim);text-decoration:none}.h-crumbs a:hover{color:var(--fg)}
.h-eyebrow{display:flex;align-items:center;gap:8px;margin:0;font:500 12px var(--mono);color:var(--dim);letter-spacing:.08em;text-transform:uppercase}
.h-eyebrow .h-ic{width:16px;height:16px}
.h-art-head h1{font-size:clamp(34px,4.4vw,50px);line-height:1.02;letter-spacing:-.035em;margin:12px 0 14px;max-width:none;font-weight:800;text-wrap:balance}
.h-lede{font-size:19px;line-height:1.55;color:var(--mut);margin:0 0 36px;max-width:36em}

.h-prose{font-size:16.5px;line-height:1.72;color:var(--h-text)}
.h-prose>:first-child{margin-top:0}
.h-prose h2,.h-prose h3,.h-prose h4{color:var(--fg);scroll-margin-top:calc(var(--h-top) + 20px);position:relative}
.h-prose h2{font-size:28px;line-height:1.15;letter-spacing:-.025em;font-weight:800;margin:56px 0 14px;padding-top:28px;border-top:1px solid var(--line)}
.h-prose h3{font-size:20px;letter-spacing:-.015em;font-weight:700;margin:34px 0 8px}
.h-prose h4{font-size:16px;font-weight:600;margin:26px 0 6px}
.h-anchor{margin-left:10px;color:var(--dim);text-decoration:none;font:400 .8em var(--mono);opacity:0;transition:opacity .15s}
.h-prose :is(h2,h3,h4):hover .h-anchor,.h-anchor:focus-visible{opacity:1}
.h-prose p{margin:0 0 16px}
.h-prose ul,.h-prose ol{margin:0 0 20px;padding-left:22px}
.h-prose li{margin:7px 0;padding-left:2px}
.h-prose li::marker{color:var(--dim)}
.h-prose li>ul,.h-prose li>ol{margin:6px 0 4px}
.h-prose strong{color:var(--fg);font-weight:600}
.h-prose em{font-style:italic;color:var(--fg)}
.h-prose a,.h-ask a{color:var(--fg);text-decoration:underline;text-decoration-color:var(--line2);text-underline-offset:3px;text-decoration-thickness:1px;transition:text-decoration-color .15s}
.h-prose a:hover,.h-ask a:hover{text-decoration-color:var(--fg)}
.h-prose code{font:500 .86em var(--mono);background:var(--h-fill);color:var(--fg);padding:.14em .42em;border-radius:6px;overflow-wrap:anywhere}
.h-code{margin:6px 0 22px;padding:15px 18px;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow-x:auto;font:13.5px/1.65 var(--mono);color:var(--fg);white-space:pre}
.h-code code{font:inherit;background:none;padding:0;border-radius:0;overflow-wrap:normal}

/* numbered steps */
.h-prose ol.h-steps{list-style:none;padding:0;counter-reset:h-step}
.h-steps>li{position:relative;padding-left:44px;margin:0 0 14px;counter-increment:h-step}
.h-steps>li::before{content:counter(h-step);position:absolute;left:0;top:1px;width:28px;height:28px;border-radius:50%;border:1px solid var(--line2);
  display:flex;align-items:center;justify-content:center;font:600 13px/1 var(--mono);color:var(--fg);background:var(--card)}
.h-steps>li .h-code{margin-top:10px}

/* callouts */
.h-callout{margin:26px 0;padding:16px 20px 16px 18px;border:1px solid var(--line);border-left:3px solid var(--fg);border-radius:12px;background:var(--h-soft)}
.h-callout-note{border-left-color:var(--dim)}
.h-callout-headsup{background:var(--h-fill);border-left-color:var(--fg)}
.h-callout-label{display:flex;align-items:center;gap:7px;margin:0 0 4px!important;font:500 12px/1.4 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--fg)}
.h-callout-label svg{width:16px;height:16px}
.h-callout p:last-child{margin-bottom:0}
.h-callout p{font-size:15.5px}

/* screenshots */
.h-shot{margin:30px 0 32px}
.h-shot img{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--line);background:var(--card)}
.h-shot figcaption{margin-top:10px;font-size:13.5px;line-height:1.5;color:var(--dim);text-align:center}

/* tables */
.h-table{margin:18px 0 28px;overflow-x:auto}
.h-prose table{width:100%;max-width:none;border-collapse:collapse;font-size:15px;line-height:1.55}
.h-prose th,.h-prose td{text-align:left;vertical-align:top;padding:11px 18px 11px 0;border-bottom:1px solid var(--line)}
.h-prose thead th{font:500 12px var(--mono);color:var(--dim);padding-top:0}
.h-prose tbody th{font-weight:500;color:var(--fg);min-width:9em}
.h-prose td{color:var(--h-text)}
.h-prose tr:last-child>*{border-bottom:0}

.h-ask{margin:56px 0 0;padding-top:20px;border-top:1px solid var(--line);font-size:14px;color:var(--dim)}
.h-pager{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.h-pager a{display:flex;flex-direction:column;gap:3px;padding:15px 18px;border:1px solid var(--line);border-radius:14px;background:var(--card);text-decoration:none;transition:border-color .15s,background .15s}
.h-pager a:hover{border-color:var(--line2);background:var(--h-soft)}
.h-pager small{font:500 11.5px var(--mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.h-pager span{font-size:15px;font-weight:600;color:var(--fg);line-height:1.35}
.h-prev small::before{content:"← "}
.h-next{text-align:right}.h-next small::after{content:" →"}

/* on this page */
.h-toc{min-width:0}
.h-toc-in{position:sticky;top:var(--h-top);padding:44px 24px 24px 8px;max-height:calc(100vh - var(--h-top));overflow-y:auto}
.h-toc p{margin:0 0 10px;font:500 11.5px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim)}
.h-toc ul{list-style:none;margin:0;padding:0;border-left:1px solid var(--line)}
.h-toc a{display:block;margin-left:-1px;padding:4px 0 4px 13px;border-left:1px solid transparent;color:var(--dim);text-decoration:none;font-size:13px;line-height:1.45;transition:color .15s,border-color .15s}
.h-toc a:hover{color:var(--fg)}
.h-toc a.h-active{color:var(--fg);border-left-color:var(--fg)}
.h-toc .h-toc-l3 a{padding-left:25px}

/* ---------- topic pages ---------- */
.h-rows{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.h-rows a{display:grid;grid-template-columns:1fr auto;column-gap:16px;align-items:center;padding:18px 6px;border-bottom:1px solid var(--line);text-decoration:none;transition:background .15s}
.h-rows a:hover{background:var(--h-soft)}
.h-row-t{font:700 19px var(--display);letter-spacing:-.01em;color:var(--fg)}
.h-row-d{grid-column:1;font-size:14.5px;line-height:1.5;color:var(--mut);margin-top:3px}
.h-row-go{grid-row:1/3;grid-column:2;width:16px;height:16px;color:var(--dim)}
.h-row-d code{font:500 .9em var(--mono)}

/* ---------- landing ---------- */
.h-main-home{padding-top:0}
.h-hero{padding:76px 0 40px;max-width:760px}
.h-hero-eyebrow{display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;margin:0 0 20px;border:1px solid var(--line2);border-radius:15px;font:500 12px var(--mono);color:var(--mut)}
.h-rec-dot{width:7px;height:7px;border-radius:50%;background:var(--red)}
.h-hero h1{font-size:clamp(46px,7vw,84px);line-height:.95;font-weight:800;letter-spacing:-.045em;margin:0 0 18px;max-width:none}
.h-hero .h-lede{font-size:20px;margin-bottom:30px}
.h-hero-search{position:relative;max-width:640px}
.h-search-field{display:flex;align-items:center;gap:12px}
.h-hero-field{height:58px;padding:0 14px 0 20px;border:1px solid var(--line2);border-radius:29px;background:var(--card);color:var(--dim);transition:border-color .15s,box-shadow .15s}
.h-hero-field:focus-within{border-color:var(--dim);box-shadow:0 0 0 4px var(--h-fill)}
.h-hero-field>svg{width:20px;height:20px}
.h-search-field input{flex:1;min-width:0;height:100%;border:0;background:none;color:var(--fg);font:400 17px var(--sans);outline:none;-webkit-appearance:none;appearance:none}
.h-search-field input::placeholder{color:var(--dim)}
.h-search-field input::-webkit-search-cancel-button{display:none}
.h-body .h-search-field input:focus-visible{outline:none}
.h-hero-results{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;max-height:min(460px,60vh);overflow-y:auto;margin:0;padding:8px;list-style:none;
  background:var(--bg);border:1px solid var(--line2);border-radius:16px;box-shadow:var(--h-shadow)}
.h-popular{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:20px 0 0;font-size:13px;color:var(--dim)}
.h-popular span{margin-right:2px}
.h-popular a{padding:5px 12px;border:1px solid var(--line);border-radius:999px;color:var(--mut);text-decoration:none;transition:border-color .15s,color .15s}
.h-popular a:hover{border-color:var(--line2);color:var(--fg)}

.h-start{display:grid;grid-template-columns:minmax(0,300px) 1fr auto;align-items:center;gap:28px;margin:16px 0 60px;padding:18px 26px 18px 18px;border:1px solid var(--line);
  border-radius:20px;background:var(--card);text-decoration:none;transition:border-color .2s,transform .2s var(--ease)}
.h-start:hover{border-color:var(--line2);transform:translateY(-1px)}
.h-start-img{width:100%;height:auto;border-radius:12px;display:block}
.h-start-t{display:flex;flex-direction:column;gap:4px;font:800 24px/1.1 var(--display);letter-spacing:-.025em;color:var(--fg)}
.h-start-t small{font:500 12.5px var(--mono);color:var(--dim)}
.h-start-go{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 18px;border-radius:999px;font:600 15px var(--sans);white-space:nowrap}
.h-start-go svg{width:15px;height:15px;stroke-width:2.2}

.h-body .h-sec-title{font:500 12px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--dim);margin:0 0 16px}
.h-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:14px}
.h-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;background:var(--card);transition:border-color .2s,transform .2s var(--ease)}
.h-card:hover{border-color:var(--line2);transform:translateY(-1px)}
.h-card-main{display:flex;flex-direction:column;gap:6px;padding:22px 22px 12px;text-decoration:none;border-radius:18px 18px 0 0}
.h-card-main .h-ic{width:40px;height:40px;padding:9px;margin-bottom:10px;border-radius:11px;background:var(--h-fill);color:var(--fg);stroke-width:1.6}
.h-card-t{font:800 21px var(--display);letter-spacing:-.02em;color:var(--fg)}
.h-card-d{font-size:14px;line-height:1.5;color:var(--mut)}
.h-card-links{list-style:none;margin:auto 0 0;padding:6px 22px 18px}
.h-card-links a{display:block;padding:4px 0;color:var(--mut);text-decoration:none;font-size:14px}
.h-card-links a::before{content:"›";margin-right:8px;color:var(--dim)}
.h-card-links a:hover{color:var(--fg)}
.h-card-links a.h-card-more{color:var(--dim);font-size:13px}

.h-contact{margin:64px 0 0;padding:34px 34px 36px;border:1px solid var(--line);border-radius:22px;background:var(--card)}
.h-contact h2{font-size:32px;font-weight:800;letter-spacing:-.03em;line-height:1.05;margin:0 0 10px}
.h-contact p{margin:0 0 22px;color:var(--mut);max-width:36em}
.h-body .h-contact-btn{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:0 20px;border-radius:999px;background:transparent;color:var(--fg);box-shadow:inset 0 0 0 1px var(--line2);font:600 15px var(--sans);text-decoration:none;overflow-wrap:anywhere}
.h-contact-btn:hover{box-shadow:inset 0 0 0 1px var(--dim)}

/* ---------- search ---------- */
.h-search{position:fixed;inset:0;z-index:60;background:var(--h-scrim);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);padding:12vh 16px 16px}
.h-search[hidden]{display:none}
.h-search-box{max-width:660px;margin:0 auto;background:var(--bg);border:1px solid var(--line2);border-radius:18px;box-shadow:var(--h-shadow);overflow:hidden;display:flex;flex-direction:column;max-height:76vh}
.h-search-box .h-search-field{height:60px;padding:0 12px 0 20px;border-bottom:1px solid var(--line);color:var(--dim)}
.h-search-esc{border:0;background:none;padding:6px;cursor:pointer;border-radius:8px}
.h-results{list-style:none;margin:0;padding:8px;overflow-y:auto}
.h-search-box .h-results{flex:1}
.h-results:empty{display:none}
.h-results a{display:block;padding:10px 12px;border-radius:11px;text-decoration:none;color:var(--fg)}
.h-results [aria-selected=true] a{background:var(--h-fill2)}
.h-r-meta{display:block;font-size:12px;color:var(--dim);margin-bottom:2px}
.h-r-t{display:block;font-size:15px;font-weight:600;line-height:1.35}
.h-r-s{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;line-height:1.5;color:var(--mut);margin-top:2px}
.h-results mark{background:var(--h-mark);color:var(--fg);border-radius:3px;padding:0 1px}
.h-r-empty{padding:22px 14px;color:var(--mut);font-size:14px}
.h-results .h-r-empty a{display:inline;padding:0;color:var(--fg);text-decoration:underline}
.h-search-foot{display:flex;gap:18px;align-items:center;margin:0;padding:10px 18px;border-top:1px solid var(--line);font:12px var(--mono);color:var(--dim)}
.h-search-foot kbd.h-key{min-width:20px;height:20px;font-size:11px;margin-right:2px}
.h-search-count{margin-left:auto}

/* ---------- footer ---------- */
.h-foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;border-top:1px solid var(--line);margin:0;padding:24px 32px 40px;font-size:13.5px;color:var(--dim)}
.h-foot nav{display:flex;flex-wrap:wrap;gap:10px 24px}
.h-body .h-foot a{color:var(--dim);text-decoration:none}
.h-body .h-foot a:hover{color:var(--fg)}

/* ---------- smaller screens ---------- */
@media (max-width:1180px){
  .h-shell{grid-template-columns:var(--h-side) minmax(0,1fr)}
  .h-toc{display:none}
  .h-main{padding:36px 40px 88px}
}
@media (max-width:860px){
  .h-top{padding:0 16px;gap:12px}
  .h-menu{display:inline-flex}
  .h-brand{min-width:0}
  .h-top-links{display:none}
  .h-search-btn{margin-left:auto;width:44px;height:44px;padding:0;justify-content:center;border-color:transparent;background:none;color:var(--fg)}
  .h-search-ph,.h-search-kbd{display:none}
  .h-search-ic svg{width:20px;height:20px}
  .h-shell,.h-home .h-shell{display:block}
  .h-main{padding:24px 16px 72px}
  .h-js .h-side{position:fixed;z-index:50;top:var(--h-top);left:0;bottom:0;width:min(330px,88vw);height:auto;background:var(--bg);border-right:1px solid var(--line2);
    transform:translateX(-102%);visibility:hidden;transition:transform .28s var(--ease),visibility 0s linear .28s}
  .h-drawer-open .h-side{transform:none;visibility:visible;transition:transform .28s var(--ease)}
  .h-drawer-open .h-scrim{display:block;position:fixed;inset:var(--h-top) 0 0 0;z-index:45;background:var(--h-scrim)}
  .h-drawer-open{overflow:hidden}
  html:not(.h-js) .h-side{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line)}
  .h-hero{padding:44px 0 28px}
  .h-hero .h-lede{font-size:18px}
  .h-hero-kbd{display:none}
  .h-start{grid-template-columns:1fr;gap:14px;padding:14px 14px 18px;margin-bottom:44px}
  .h-start-go{justify-self:start}
  .h-lede{font-size:17.5px;margin-bottom:28px}
  .h-prose{font-size:16px}
  .h-prose h2{font-size:22px;margin-top:44px;padding-top:24px}
  .h-pager{grid-template-columns:1fr}
  .h-next{text-align:left}
  .h-callout{padding:14px 16px}
  .h-contact{padding:26px 20px 28px}
  .h-search{padding:10px 10px}
  .h-search-box{max-height:calc(100dvh - 20px)}
  .h-search-foot span:not(.h-search-count){display:none}
  .h-foot{padding:24px 16px 36px}
  .h-prose tbody th{min-width:7em}
}
@media (prefers-reduced-motion:reduce){
  .h-body *{transition:none!important;animation:none!important}
}
@media print{
  .h-top,.h-side,.h-toc,.h-pager,.h-ask,.h-foot,.h-search{display:none!important}
  .h-shell{display:block}
}
