/* Expando's site. One stylesheet, every page.
   What a person types is set in monospace with the trigger in orange; what
   Expando says back is set in the text face. Orange for the trigger, the caret
   and the button; blue for links. */
:root{
  color-scheme:light dark;
  --ink:#0f1b2d; --muted:#5c6579; --paper:#f9fafc; --card:#fff; --rule:rgba(15,27,45,.12); --rule-2:rgba(15,27,45,.22);
  --orange:#fa4616; --orange-ink:#c93a12; --orange-soft:rgba(250,70,22,.10);
  /* The button's fill, the same in both appearances: #fa4616 under a white label is 3.5:1,
     #c93a12 is 5.1:1. */
  --btn:#c93a12; --btn-glow:rgba(201,58,18,.32);
  /* Links: #1a6fe8 on the paper was 4.49:1, a hair under 4.5 (contrastcheck, Oct 12). */
  --blue:#1868dc; --blue-soft:rgba(26,111,232,.10);
  --ok:#177a40; --warn:#b7791f;
  --wrap:66rem; --measure:38rem;
  --mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,monospace;
  --shadow:0 1px 2px rgba(15,27,45,.05),0 16px 40px rgba(15,27,45,.08);
}
@media (prefers-color-scheme:dark){:root{
  --ink:#e7ecf4; --muted:#8f99ac; --paper:#0c1220; --card:#151d2d; --rule:rgba(231,236,244,.13); --rule-2:rgba(231,236,244,.24);
  --orange:#ff5a2c; --orange-ink:#ff8a66; --orange-soft:rgba(255,90,44,.16);
  --blue:#5b9cf5; --blue-soft:rgba(91,156,245,.14);
  --ok:#3fd07c; --warn:#e0a94a;
  --shadow:0 1px 2px rgba(0,0,0,.4),0 18px 44px rgba(0,0,0,.45);
}}
*{box-sizing:border-box}
[hidden]{display:none!important}  /* a .btn's display must not unhide it */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--paper);color:var(--ink);
  font:17px/1.6 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg{max-width:100%}
a{color:var(--blue)}
a.plain{color:inherit;text-decoration:none}
h1,h2,h3{letter-spacing:-.025em;line-height:1.06;margin:0;text-wrap:balance}
h1{font-size:clamp(2.5rem,6.2vw,4.4rem);font-weight:760}
h2{font-size:clamp(1.7rem,3.4vw,2.4rem);font-weight:720}
h3{font-size:1.1rem;font-weight:660;letter-spacing:-.01em}
p{margin:0 0 1rem}
/* No word stranded alone on a last line, and short copy breaks where a person would. */
p,li,td,th,dd,dt,figcaption,blockquote,label,.small,.lede{text-wrap:pretty}
.line{display:block}  /* a heading of two sentences, one per line */
.clause{white-space:nowrap}  /* js/wraps.js: a short clause moves to the next line whole */
/* Narrower than any current phone, a clause kept whole can be wider than the screen (the docs'
   "The menu bar mark has a warning badge," is 295px); there it wraps like any other text. */
@media (max-width:359px){.clause{white-space:normal}}
code,kbd,.mono{font-family:var(--mono)}
code{font-size:.9em;background:var(--blue-soft);padding:.1em .4em;border-radius:5px}
code.trig{background:var(--orange-soft);color:var(--orange-ink)}
kbd{display:inline-block;font:600 .8em/1 var(--mono);color:var(--ink);background:var(--card);border:1px solid var(--rule-2);
  border-bottom-width:2px;border-radius:6px;padding:.28em .45em .24em;min-width:1.9em;text-align:center;vertical-align:middle}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.4rem}
.muted{color:var(--muted)}
.measure{max-width:var(--measure)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

/* Header */
.top{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--paper) 86%,transparent);
  backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--rule)}
.top .wrap{display:flex;align-items:center;gap:1rem;height:64px}
.brand{display:flex;align-items:center;gap:.55rem;text-decoration:none;color:inherit;font-weight:700;font-size:1.1rem;letter-spacing:-.01em}
.brand img{width:26px;height:26px}
.top nav{margin-left:auto;display:flex;align-items:center;gap:1.4rem;font-size:15px}
.top nav a{color:var(--muted);text-decoration:none;font-weight:500}
.top nav a:hover,.top nav a[aria-current=page]{color:var(--ink)}
.top nav a.btn,.top nav a.btn:hover{color:#fff}
/* On a phone every link stays: Docs, Download and Buy fit at 390 with a tighter gap. */
@media (max-width:640px){.top .wrap{height:58px}.top nav{gap:.9rem}.top nav .btn{padding:.6rem .9rem}}
@media (max-width:360px){.top .wrap{gap:.6rem}.top nav{gap:.7rem;font-size:14px}.brand{font-size:1rem}}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:650;font-size:15px;
  padding:.72rem 1.15rem;border-radius:10px;text-decoration:none;border:1px solid transparent;white-space:nowrap;
  background:var(--btn);color:#fff;cursor:pointer;font-family:inherit;line-height:1;
  transition:transform .12s ease,box-shadow .12s ease}
.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px var(--btn-glow)}
.btn.ghost{background:transparent;color:var(--ink);border-color:var(--rule-2)}
.btn.ghost:hover{box-shadow:none;border-color:var(--ink)}
@media (prefers-reduced-motion:reduce){.btn,.btn:hover{transition:none;transform:none}}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;font:600 12.5px/1 inherit;letter-spacing:.08em;text-transform:uppercase;color:var(--orange-ink);margin-bottom:1rem}
/* The bullet is the mark's own semicolon, not a typed one, so the brand glyph
   and the page agree. Masked so it takes the current color. */
.eyebrow::before{content:"";width:.46em;height:1.25em;background:var(--orange);
  -webkit-mask:url(/branding/expando-semicolon.svg) center/contain no-repeat;mask:url(/branding/expando-semicolon.svg) center/contain no-repeat}
.semi{display:inline-block;width:.37em;height:1em;vertical-align:-.12em;background:currentColor;
  -webkit-mask:url(/branding/expando-semicolon.svg) center/contain no-repeat;mask:url(/branding/expando-semicolon.svg) center/contain no-repeat}

/* Hero */
.hero{padding:4.2rem 0 2.4rem;display:grid;gap:2.6rem;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);align-items:center}
@media (max-width:900px){.hero{grid-template-columns:1fr;padding-top:2.8rem;gap:2rem}}
.hero h1 .accent{color:var(--orange)}
.hero .lede{font-size:clamp(1.1rem,1.6vw,1.3rem);color:var(--muted);max-width:32rem;margin:1.1rem 0 0}
.hero .cta{display:flex;gap:.7rem;flex-wrap:wrap;align-items:center;margin:1.7rem 0 .9rem}
.hero .fine{font-size:14px;color:var(--muted);margin:0}

/* The typing demo: a document that fills itself in. */
.doc{position:relative;background:var(--card);border:1px solid var(--rule);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.doc .chrome{display:flex;align-items:center;gap:6px;padding:.7rem .9rem;border-bottom:1px solid var(--rule);font-size:12.5px;color:var(--muted)}
.doc .chrome i{width:10px;height:10px;border-radius:50%;background:var(--rule-2);display:block}
.doc .chrome span{margin-left:.5rem}
.doc .page{padding:1.3rem 1.4rem 1.5rem;min-height:15.5rem;font:15.5px/1.7 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;position:relative}
.doc .trig{background:var(--orange-soft);color:var(--orange-ink);border-radius:4px;padding:1px 2px}
.doc .exp{color:var(--ink)}
.doc .key{display:inline-block;font:600 11.5px/1 -apple-system,system-ui,sans-serif;color:var(--muted);border:1px solid var(--rule-2);
  border-bottom-width:2px;border-radius:5px;padding:3px 6px;vertical-align:1px;margin-left:.2rem}
.doc .caret{display:inline-block;width:2px;height:1.1em;background:var(--orange);vertical-align:-3px;animation:blink 1.1s steps(2,start) infinite}
@keyframes blink{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.doc .caret{animation:none}}
.doc .form{position:absolute;left:1.4rem;right:1.4rem;bottom:1.2rem;background:var(--paper);border:1px solid var(--rule-2);border-radius:12px;
  padding:.8rem .9rem;font:14px/1.4 -apple-system,system-ui,sans-serif;box-shadow:var(--shadow);display:none;gap:.5rem;grid-template-columns:auto 1fr;align-items:center}
.doc .form.on{display:grid}
.doc .form .hint kbd{font-size:12px}
.doc .form label{color:var(--muted);font-weight:500}
.doc .form .field{background:var(--card);border:1px solid var(--rule-2);border-radius:7px;padding:.35rem .55rem;min-height:1.9rem;font-family:var(--mono)}
.doc .form .field:focus-within,.doc .form .field.on{border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}
.doc .form .hint{grid-column:1/-1;font-size:12.5px;color:var(--muted)}
.doc-foot{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin:.8rem 0 0;font-size:14px;color:var(--muted)}
.doc-foot button{font:600 13px/1 inherit;padding:.45rem .7rem;border-radius:999px;border:1px solid var(--rule-2);background:var(--card);color:var(--muted);cursor:pointer}
.doc-foot button[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.doc-foot button:hover{border-color:var(--ink);color:var(--ink)}
.doc-foot button[aria-pressed=true]:hover{color:var(--paper)}

/* Sections */
section{padding:4.2rem 0}
@media (max-width:640px){section{padding:3rem 0}}
.sec-head{display:grid;gap:.6rem;max-width:var(--measure);margin-bottom:2rem}
.sec-head p{color:var(--muted);font-size:1.08rem;margin:0}

/* How it fires: three typographic panels, prefix, abbreviation, key. */
.fires{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
@media (max-width:760px){.fires{grid-template-columns:1fr}}
.fires .panel{background:var(--card);border:1px solid var(--rule);border-radius:16px;padding:1.4rem 1.3rem 1.3rem;display:grid;gap:.6rem;align-content:start}
.fires .big{font:700 clamp(2.6rem,5vw,3.6rem)/1 var(--mono);letter-spacing:-.04em;color:var(--ink)}
.fires .big.trig{color:var(--orange)}
.fires .big kbd{font-size:.42em;padding:.38em .55em .34em;border-radius:9px;vertical-align:.35em}
.fires h3{margin-top:.3rem}
.fires p{margin:0;color:var(--muted);font-size:15.5px}

/* Tokens: a cheat sheet, dense on purpose. */
.tokens{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(19rem,100%),1fr));gap:0 2rem;list-style:none;margin:0;padding:0;
  background:var(--card);border:1px solid var(--rule);border-radius:16px;padding:.5rem 1.4rem}
.tokens li{display:grid;grid-template-columns:minmax(9rem,auto) 1fr;gap:.9rem;align-items:baseline;padding:.75rem 0;border-top:1px solid var(--rule);font-size:15px}
.tokens li:first-child{border-top:0}
@media (min-width:38rem) and (max-width:57.9rem){.tokens{grid-template-columns:1fr}}
@media (min-width:58rem){.tokens li:nth-child(2){border-top:0}}
.tokens code{background:var(--blue-soft);color:var(--ink);white-space:nowrap;font-size:13.5px}
.tokens code.trig{background:var(--orange-soft);color:var(--orange-ink)}
.tokens span{color:var(--muted)}
@media (max-width:480px){.tokens{padding:.3rem 1rem}.tokens li{grid-template-columns:1fr;gap:.3rem}}

/* Two-column rows */
.row{display:grid;gap:2.4rem;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
.row.flip>.art{order:-1}
@media (max-width:820px){.row{grid-template-columns:1fr;gap:1.4rem}.row.flip>.art{order:0}}
.row .art{background:var(--card);border:1px solid var(--rule);border-radius:16px;padding:1.3rem;box-shadow:var(--shadow)}
.row h2{margin-bottom:.8rem}
.row p{color:var(--muted)}
.row ul{margin:0;padding:0;list-style:none;display:grid;gap:.55rem}
.row li{padding-left:1.5rem;position:relative}
.row li::before{content:"";position:absolute;left:0;top:.62em;width:.6rem;height:.3rem;border-left:2px solid var(--orange);border-bottom:2px solid var(--orange);transform:rotate(-45deg)}

/* What leaves the Mac, drawn as a Mac and the lines out of it: the two that happen by
   default, then the two that are off until you turn them on. */
.net{display:grid;gap:.6rem}
.net .when{margin:.5rem 0 -.2rem 1.4rem;font-size:12px;font-weight:600;line-height:1.2;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.net .mac{display:flex;align-items:center;gap:.8rem;padding:.9rem 1rem;border-radius:12px;background:var(--ink);color:var(--paper);font-weight:600}
@media (prefers-color-scheme:dark){.net .mac{background:var(--paper);color:var(--ink);border:1px solid var(--rule)}}
.net .mac svg{width:22px;height:22px;flex:none}
.net .mac small{display:block;font-weight:500;opacity:.7;font-family:var(--mono);font-size:12px}
.net .call{display:grid;grid-template-columns:1.6rem 1fr;gap:.6rem;align-items:start;padding:.7rem .6rem;margin-left:1.4rem;font-size:15px;border-top:1px solid var(--rule)}
.net .when+.call{border-top:0}
.net .call svg{width:1.2rem;height:1.2rem;color:var(--orange);margin-top:.15rem}
.net .call strong{display:block;font-weight:620}
.net .call span{color:var(--muted);font-size:14px}

/* Import chips */
.chips{display:flex;flex-direction:column;align-items:center;gap:.5rem;margin:1rem 0 0;--chip-gap:8}
.chips .chip-row{display:flex;flex-wrap:nowrap;gap:.5rem}
.chips span{font:600 14px/1 inherit;padding:.55rem .8rem;border-radius:999px;border:1px solid var(--rule-2);background:var(--card)}

/* Menu bar states: the real template images on a real-looking bar. */
.states{display:grid;gap:.6rem}
.state{display:grid;grid-template-columns:auto 1fr;gap:1rem;align-items:center}
.state .bar{width:9.5rem;height:2rem;border-radius:7px;background:#1d2230;display:flex;align-items:center;justify-content:flex-end;gap:.9rem;padding:0 .7rem;flex:none}
.state .bar img{height:17px;width:auto;filter:invert(1)}
.state .bar i{width:14px;height:14px;border-radius:3px;background:rgba(255,255,255,.35);display:block}
.state .bar b{font:500 11px/1 -apple-system,system-ui,sans-serif;color:rgba(255,255,255,.85)}
.state p{margin:0;font-size:15px}
.state p strong{font-weight:620}
.state p span{color:var(--muted);display:block;font-size:14px}
/* On a phone the bar and its words stack, so the words get the full width instead of
   wrapping a syllable at a time beside a fixed-width bar. */
@media (max-width:520px){.state{grid-template-columns:1fr;gap:.45rem}.states{gap:1.1rem}}

/* Getting started: three panels, the same cards as How it fires. */
.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
@media (max-width:760px){.steps{grid-template-columns:1fr}}
.steps .panel{background:var(--card);border:1px solid var(--rule);border-radius:16px;padding:1.4rem 1.3rem 1.3rem;display:grid;gap:.6rem;align-content:start}
.steps h3{margin:0}
.steps p{margin:0;color:var(--muted);font-size:15.5px}
.steps dl{margin:0;display:grid;gap:.5rem;font-size:15.5px}
.steps dt{font-weight:620;color:var(--ink)}
.steps dd{margin:0;color:var(--muted)}

/* Questions: cards in two columns; .span takes both. */
.faqs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
@media (max-width:760px){.faqs{grid-template-columns:1fr}}
.faq{background:var(--card);border:1px solid var(--rule);border-radius:16px;padding:1.3rem 1.3rem 1.2rem}
.faq.span{grid-column:1/-1}
.faq .cols{display:grid;gap:.7rem 2rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:760px){.faq .cols{grid-template-columns:1fr}}
.faq h3{margin:0 0 .5rem}
.faq p{margin:0;color:var(--muted);font-size:15.5px}

/* Pricing */
.pricing{display:grid;gap:1rem;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.pricing .scroller{display:flex;flex-direction:column;min-width:0}
.pricing .compare{flex:1;height:auto}
.pricing .scroller .small{margin:.7rem 0 0}
@media (max-width:820px){.pricing{grid-template-columns:1fr}}
.price{background:var(--card);border:2px solid var(--orange);border-radius:16px;padding:1.6rem;display:grid;gap:1rem;align-content:space-between;box-shadow:var(--shadow);height:100%}
.price .amount{font-size:3.2rem;font-weight:760;letter-spacing:-.04em;line-height:1}
.price .amount small{font-size:1rem;font-weight:500;letter-spacing:0;color:var(--muted);margin-left:.3rem}
.price ul{margin:0;padding:0;list-style:none;display:grid;gap:.45rem;font-size:15.5px}
.price li{padding-left:1.4rem;position:relative}
.price li::before{content:"";position:absolute;left:0;top:.6em;width:.55rem;height:.28rem;border-left:2px solid var(--ok);border-bottom:2px solid var(--ok);transform:rotate(-45deg)}
.price p{margin:0;color:var(--muted);font-size:15px}
.compare{width:100%;border-collapse:collapse;background:var(--card);border:1px solid var(--rule);border-radius:14px;overflow:hidden;font-size:15px}
.compare th,.compare td{text-align:left;padding:.65rem .9rem;border-bottom:1px solid var(--rule);vertical-align:top}
.compare tr:last-child td{border-bottom:0}
.compare th{font:600 12px/1.4 inherit;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.compare td.yes{color:var(--ok);font-weight:600;white-space:nowrap}
.compare td:first-child{color:var(--muted);white-space:nowrap}
.scroller{overflow-x:auto}
/* On a phone the table fits the screen instead of scrolling sideways: tighter cells, and its
   clauses wrap inside a cell (wraps.js keeps them whole elsewhere). */
@media (max-width:520px){.compare{font-size:14px}.compare th,.compare td{padding:.6rem .5rem}.compare th{letter-spacing:.03em}
  .compare .clause{white-space:normal}}
/* Narrower than an iPhone, the labels wrap again rather than push the table sideways. */
@media (max-width:380px){.compare td:first-child,.compare td.yes{white-space:normal}}

/* The newsletter signup */
#news{scroll-margin-top:5rem}
.early{background:var(--ink);color:var(--paper);border-radius:18px;padding:2.2rem;display:grid;gap:1.2rem;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center}
@media (max-width:760px){.early{grid-template-columns:1fr;padding:1.6rem}}
@media (prefers-color-scheme:dark){.early{background:var(--card);border:1px solid var(--rule);color:var(--ink)}}
.early h2{color:inherit}
.early p{color:color-mix(in srgb,var(--paper) 72%,transparent);margin:.6rem 0 0}
@media (prefers-color-scheme:dark){.early p{color:var(--muted)}}
.early strong{color:var(--orange)}
.earlyform{display:grid;gap:.6rem;justify-items:start}
.earlyform input[type=email]{width:100%;font:inherit;padding:.72rem .9rem;border:1px solid var(--rule-2);border-radius:10px;
  background:var(--card);color:var(--ink);min-height:46px}
.earlyform input[type=email]:focus{outline:2px solid var(--orange);outline-offset:1px}
.earlyform button{min-height:46px}
.earlymsg{margin:0;font-size:.9rem;line-height:1.45;color:var(--muted);overflow-wrap:anywhere}
.earlymsg.is-bad{color:#ff8a80}
.earlydone{display:flex;gap:.7rem;align-items:flex-start;font-size:.98rem;line-height:1.5;outline:0;animation:earlyin .28s ease both}
.earlydone strong{color:var(--orange)}
.earlytick{flex:0 0 auto;width:1.35em;height:1.35em;margin-top:.05em;color:var(--orange)}
@keyframes earlyin{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.earlydone{animation:none}}

/* Plain pages: buy, legal, thanks */
.page{max-width:var(--measure);padding:3rem 0 2rem}
.page h1{font-size:clamp(2rem,4vw,2.8rem);margin-bottom:.4rem}
.page h2{font-size:1.3rem;margin:2rem 0 .5rem}
.page .lede{font-size:1.15rem;color:var(--muted)}
.page h1 a{color:inherit;text-decoration-thickness:.06em;text-underline-offset:.12em}
.page .small{font-size:14.5px;color:var(--muted)}
.page ol,.page ul{padding-left:1.3rem}
.page li{margin:.35rem 0}
.page table{width:100%;border-collapse:collapse;background:var(--card);border:1px solid var(--rule);border-radius:12px;overflow:hidden;margin:.8rem 0 1.4rem}
.page th,.page td{text-align:left;padding:.65rem .85rem;border-bottom:1px solid var(--rule);font-size:15px;vertical-align:top}
.page tr:last-child td{border-bottom:0}
.page th{font:600 12px/1.4 inherit;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.wide{max-width:none}
/* A license key on the page, with its buttons under it (purchased, activate). */
.keybox{display:block;margin:.4rem 0 1rem;padding:1rem 1.1rem;background:var(--card);border:1px solid var(--rule-2);
  border-radius:12px;font:14px/1.55 var(--mono);word-break:break-all;color:var(--ink)}
.keyrow{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin:0 0 1.4rem}
.split{display:grid;gap:2rem;grid-template-columns:minmax(0,22rem) minmax(0,1fr);align-items:start}
@media (max-width:760px){.split{grid-template-columns:1fr}}

/* Docs */
.doc-layout{display:grid;grid-template-columns:13rem minmax(0,1fr);gap:2.5rem;padding:2.5rem 0 2rem}
@media (max-width:820px){.doc-layout{grid-template-columns:1fr;gap:1.2rem}}
.toc{position:sticky;top:5rem;align-self:start;font-size:14.5px}
.toc a{display:block;padding:.28rem 0;color:var(--muted);text-decoration:none}
.toc a:hover{color:var(--ink)}
.toc a.on{color:var(--orange-ink);font-weight:600}
@media (max-width:820px){.toc{position:static;display:flex;flex-wrap:wrap;gap:.2rem .9rem}.toc a{padding-left:0;margin-left:0;border:0}.toc .eyebrow{flex-basis:100%}}
.docs h1{font-size:clamp(2rem,4vw,2.8rem);margin-bottom:.4rem}
.docs h2{font-size:1.5rem;margin:2.6rem 0 .6rem;scroll-margin-top:5rem;padding-top:1.2rem;border-top:1px solid var(--rule)}
.docs h3{margin:1.4rem 0 .3rem;scroll-margin-top:5rem}
.docs table{width:100%;border-collapse:collapse;background:var(--card);border:1px solid var(--rule);border-radius:12px;overflow:hidden;margin:.8rem 0 1.4rem}
.docs th,.docs td{text-align:left;padding:.65rem .85rem;border-bottom:1px solid var(--rule);font-size:15px;vertical-align:top}
.docs tr:last-child td{border-bottom:0}
.docs th{font:600 12px/1.4 inherit;letter-spacing:.05em;text-transform:uppercase;color:var(--muted)}
.docs .small{font-size:14.5px;color:var(--muted)}
.docs td code{white-space:nowrap}
.docs td.nw{white-space:nowrap}  /* a short label in a first column stays on one line */
/* On a phone a docs table is a list: each row stacks its cells, the first one bold, and the
   header row (which only labels the columns) goes. Side by side, the code column pushed
   the page sideways. */
@media (max-width:520px){
  .docs table,.docs tbody,.docs tr,.docs td{display:block}
  .docs tr:first-child:has(th){display:none}
  .docs tr{padding:.6rem .85rem;border-bottom:1px solid var(--rule)}
  .docs tr:last-child{border-bottom:0}
  .docs td{padding:0;border:0}
  .docs td:first-child{font-weight:600;color:var(--ink);margin-bottom:.15rem}
}
.docs ul{padding-left:1.3rem}.docs li{margin:.35rem 0}

footer{border-top:1px solid var(--rule);margin-top:2rem}
footer .wrap{padding:2rem 1.4rem 3rem;display:flex;gap:1.2rem;flex-wrap:wrap;align-items:center;color:var(--muted);font-size:14.5px}
footer nav{display:flex;gap:1.1rem;flex-wrap:wrap;margin-left:auto}
footer a{color:var(--muted)}
footer a:hover{color:var(--ink)}
