/*
 * The clean pass: the blog, Support and the API's pages in the homepage's own finish.
 * Loaded last on those pages (after blog.css / help.css / dev.css), so it settles how they look.
 *
 * What the homepage is made of below its art, and so what these pages are made of now:
 *   panes     Liquid Glass, the holder its exhibits sit in (craft.css .feat__pic .exhibit): flat,
 *             a rim of light, a hairline of ink, the glass's thickness inside its edge, one soft
 *             shadow. Covers, figures, notes, code, the facts beside a title: each sits in one
 *   keys      the polished black key (.btn--ink) for what a page lets you do; yellow stays the
 *             one thing that matters on a screen; the quiet key is paper
 *   type      the poster face for a page's title only. Inside a page, headings are the sans, bold
 *             and close-set, as the homepage's features are
 *   marks     a list has a small ink dot, a step a plain numeral. No stamped tags, no squares
 *   objects   the soft drawn objects of the homepage's features (assets/img/case), not pixel icons
 */

/* ---- a pane of glass, as a holder for anything */
.pane,
.craft .post__cover .cover, .craft .blead__pic .cover, .craft .bcard .cover, .craft .bfig img,
.craft .bcallout, .craft .bexhibit, .craft .post__end,
.hcall, .hpost__facts, .hprose figure img, .help .fb, .help .topic, .help .way, .help .stuck, .help .pn a, .help .brief, .help .src, .help .person,
.dev .ln, .dev .dmode, .dev .sbx__strip {
  border: 0; border-radius: 22px; background: rgba(255, 255, 255, .52);
  box-shadow: 0 0 0 1px rgba(23, 19, 15, .1), 0 0 0 3px rgba(255, 255, 255, .86), 0 2px 3px rgba(23, 19, 15, .05), 0 16px 26px -18px rgba(23, 19, 15, .18), 0 34px 40px -32px rgba(23, 19, 15, .32);
}
/* the smaller things hold a shallower shadow */
.craft .bcallout, .hcall, .hpost__facts, .help .fb, .help .pn a, .help .src, .craft .bexhibit, .craft .post__end, .dev .ln, .dev .dmode, .dev .sbx__strip {
  box-shadow: 0 0 0 1px rgba(23, 19, 15, .09), 0 0 0 3px rgba(255, 255, 255, .8), 0 1px 2px rgba(23, 19, 15, .04), 0 14px 22px -18px rgba(23, 19, 15, .22);
}

/* ---- keys: the polished black one does the work */
.craft .post__share .btn, .help .hrail__box .btn, .help .way .btn--line, .help .stuck .btn--line {
  color: var(--paper); border: 1.5px solid var(--ink); background: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 2px 2px 0 rgba(23, 19, 15, .28);
}
.craft .post__share .btn:hover, .help .way .btn--line:hover, .help .stuck .btn--line:hover { border-color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 3px 3px 0 rgba(23, 19, 15, .28); }
.craft .btn { border-radius: 11px; }
.craft .btn--sm { border-radius: 9px; }

/* ==========================================================================
   A note, and a help page: one article
   ========================================================================== */
/* the cover in its pane */
.craft .post__cover .cover, .craft .blead__pic .cover { border-radius: 26px; overflow: hidden; }
.craft .post__cover figcaption { margin-top: 18px; }
/* the text: quieter. Section heads in the sans, a dot on a list, a numeral on a step */
.craft .prose, .hprose { font-size: 18.5px; line-height: 1.72; }
.craft .prose h2, .hprose > h2 { margin-top: 2.1em; font: 700 clamp(25px, 2.2vw, 31px)/1.18 var(--f-sans); letter-spacing: -.024em; text-transform: none; word-spacing: normal; text-wrap: balance; }
.craft .prose h3, .hprose > h3 { font-size: 20.5px; letter-spacing: -.014em; }
.craft .prose ul li::before, .hprose > ul > li::before { top: .72em; left: -1em; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); box-shadow: none; opacity: .7; }
.craft .prose ol { list-style: decimal; padding-left: 1.5em; }
.craft .prose ol li::marker { font: 700 1em var(--f-sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.craft .prose a:not(.cite):not(.btn), .hprose a:not(.btn):not(.label) { text-decoration-thickness: 1.5px; text-decoration-color: rgba(23, 19, 15, .35); transition: text-decoration-color .15s; }
.craft .prose a:not(.cite):not(.btn):hover, .hprose a:not(.btn):not(.label):hover { text-decoration-color: var(--ink); }
/* a note in its pane: no brackets, no wash. The caution carries one small mark */
.craft .bcallout, .hcall { padding: 18px 22px; border-radius: 18px; background: rgba(255, 255, 255, .58); font-size: 16.5px; line-height: 1.6; }
.craft .bcallout::before, .hcall::before { content: none; }
.craft .bcallout--warn, .hcall--warn { padding-left: 46px; background: rgba(255, 255, 255, .58); }
.craft .bcallout--warn::before, .hcall--warn::before { content: "!"; position: absolute; left: 16px; top: 18px; inset: auto; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: var(--paper); font: 700 12.5px/1 var(--f-sans); filter: none; }
.hcall--aside { padding: 2px 0 2px 20px; border-radius: 0; border-left: 2px solid var(--ink); background: none; box-shadow: none; font-size: 18.5px; }
.craft .pull { padding: 2px 0 2px 24px; border-left: 2px solid var(--ink); box-shadow: none; }
.craft .pull p { font: 600 clamp(22px, 2vw, 27px)/1.32 var(--f-sans); letter-spacing: -.018em; text-transform: none; word-spacing: normal; }
.craft .bcode, .hprose .hcode { border-radius: 18px; box-shadow: 0 0 0 1px rgba(23, 19, 15, .5), 0 0 0 3px rgba(255, 255, 255, .7), 0 16px 26px -18px rgba(23, 19, 15, .4); }
.craft .bfig img, .hprose figure img { border-radius: 20px; }
.craft .bhr, .hprose hr { border-top-style: solid; }
/* tags, and what's on this page */
.craft .btag { padding: 5px 10px; border: 0; border-radius: 9px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(23, 19, 15, .1); }
.craft .btag:hover { box-shadow: 0 0 0 1px var(--ink); }
.craft .post__toc a.is-on, .hpost__toc a[aria-current] { background: none; border-left-color: var(--ink); }
.craft .post__copy { margin-top: 20px; padding: 0 12px; height: 32px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--ink); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 2px 2px 0 rgba(23, 19, 15, .28); align-self: flex-start; }
.hpost__tools { gap: 8px; }
.hpost__tools button, .hpost__tools a { height: 32px; padding: 0 12px; display: inline-flex; align-items: center; border: 1px solid rgba(23, 19, 15, .2); border-radius: 9px; background: rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 #fff; }
.hpost__tools button:hover, .hpost__tools a:hover { border-color: var(--ink); }
.hpost__tools a[data-ask-page] { border: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 2px 2px 0 rgba(23, 19, 15, .28); }
/* the foot of a note, and of a help page */
.craft .post__end { margin-top: 3em !important; padding: 20px 24px; border-top: 0; border-bottom: 0; }
.hpost__facts { padding: 6px 20px; border-top: 0; }
.hpost__facts div:last-child { border-bottom: 0; }
.help .fb { margin-top: 3em; padding: 20px 24px; border-top: 0; }
.help .fb__opts label { border-radius: 9px; background: rgba(255, 255, 255, .7); }
.help .fb__opts label:has(:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.help .pn a { padding: 16px 20px; }
.help .pn a:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(23, 19, 15, .2), 0 0 0 3px rgba(255, 255, 255, .86), 0 18px 28px -18px rgba(23, 19, 15, .34); }
.help .alist, .help .alist--file { border-top: 1px solid var(--rule); }
.help .alist i { border-radius: 9px; }
.help .hside a[aria-current="page"] { border-radius: 10px; box-shadow: 0 0 0 1px rgba(23, 19, 15, .08), 0 1px 2px rgba(23, 19, 15, .08); }
.help .crumbs li + li::before { width: 3px; height: 3px; border-radius: 50%; background: var(--graphite); box-shadow: none; }
.help .tagn { border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); font: 700 10.5px/1.6 var(--f-tag); padding: 2px 6px; -webkit-font-smoothing: auto; }

/* ==========================================================================
   The blog's first page
   ========================================================================== */
.craft .blead__pic .cover, .craft .bcard .cover { transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.craft .bcard .cover { border-radius: 20px; overflow: hidden; }
.craft .blead:hover .blead__pic .cover, .craft .bcard:hover .cover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(23, 19, 15, .16), 0 0 0 3px rgba(255, 255, 255, .9), 0 2px 3px rgba(23, 19, 15, .06), 0 22px 30px -18px rgba(23, 19, 15, .28), 0 40px 46px -32px rgba(23, 19, 15, .42); }
.craft .blead__t { font-weight: 800; }
.craft .blead__go { height: 40px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 14.5px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 2px 2px 0 rgba(23, 19, 15, .28); }
.craft .blead__go svg { width: 13px; height: 13px; }
.craft .bcard:hover .bcard__t { text-decoration-color: rgba(23, 19, 15, .4); text-decoration-thickness: 1.5px; }
.craft .bcard__k .is-feat { border: 0; border-radius: 6px; background: var(--ink); color: var(--paper); box-shadow: none; padding: 2px 7px; }
.craft .bfilters { border-bottom: 1px solid var(--rule); }
.craft .bchips, .craft .bview { padding: 4px; border-radius: 13px; background: rgba(255, 255, 255, .5); box-shadow: 0 0 0 1px rgba(23, 19, 15, .09), inset 0 1px 0 rgba(255, 255, 255, .8); }
.craft .bchips button, .craft .bview button { border-radius: 9px; }
.craft .bchips button[aria-selected="true"], .craft .bview button[aria-checked="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.craft .bchips button[aria-selected="true"] i { opacity: .8; }
.craft .bsearch { height: 40px; border: 0; border-radius: 13px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(23, 19, 15, .1), inset 0 1px 0 #fff; }
.craft .bsearch:focus-within { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 5px color-mix(in srgb, var(--signal) 50%, transparent); }
.craft .brow:hover { background: rgba(255, 255, 255, .5); }
.craft .bsub__form .lookup__row { border: 0; border-radius: 16px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(23, 19, 15, .12), 0 0 0 3px rgba(255, 255, 255, .86), 0 16px 26px -18px rgba(23, 19, 15, .22); }
.craft .bsub__form .lookup__row .btn--signal { color: var(--paper); border-color: var(--ink); background: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); border-radius: 11px; }
.craft .bhero__write { height: 30px; padding: 0 11px; border: 1.5px solid var(--ink); border-radius: 9px; background: var(--ink); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }

/* ==========================================================================
   Support's first page, a file, Ask Smudge
   ========================================================================== */
/* a file: its object (assets/img/support/<file>.webp, when it's been made), its name, its first pages */
.help .topics.gridsheet { background: none; }
.help .topic { padding: 24px 24px 20px; border-radius: 24px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.help .topic::before, .help .topic::after { content: none; }
.help .topic:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(23, 19, 15, .16), 0 0 0 3px rgba(255, 255, 255, .9), 0 22px 30px -18px rgba(23, 19, 15, .26), 0 40px 46px -32px rgba(23, 19, 15, .4); }
.help .topic__k { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.topic__ic { display: block; width: 56px; height: 56px; filter: drop-shadow(0 6px 8px rgba(20, 21, 25, .1)); }
.help .topic .ptile, .help .thead .ptile, .help .hsheet .ptile { display: none; }
.help .topic__all { color: var(--ink); }
.help .way { padding: 24px; border-radius: 24px; }
.help .way--first { box-shadow: 0 0 0 1px rgba(23, 19, 15, .1), 0 0 0 3px rgba(255, 255, 255, .86), 0 2px 3px rgba(23, 19, 15, .05), 0 16px 26px -18px rgba(23, 19, 15, .18), 0 34px 40px -32px rgba(23, 19, 15, .32); border: 0; }
.help .way--first .btn--signal, .help .stuck .btn--signal, .help .fb__act .btn--signal { color: var(--paper); border-color: var(--ink); background: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 2px 2px 0 rgba(23, 19, 15, .28); }
.help .btn__ico--ai { background: var(--signal); color: var(--ink); }
.help .stuck { padding: 26px 28px; border-radius: 24px; }
.help .brief { border-radius: 24px; }
.help .src { border-radius: 18px; }
.help .person { border-radius: 22px; }
.help .unconf { border-radius: 14px; }
.help .lookup__row { border-radius: 16px; }
.help .hfind { border-radius: 13px; border: 0; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(23, 19, 15, .1), inset 0 1px 0 #fff; }
.help .hsheet__in { border-radius: 24px; border: 0; box-shadow: 0 0 0 1px rgba(23, 19, 15, .16), 0 0 0 4px rgba(255, 255, 255, .7), 0 40px 80px -30px rgba(23, 19, 15, .6); }
/* the key in the corner: a polished black key, Smudge's mark in yellow */
.askkey__btn { height: 46px; padding: 0 18px 0 8px; gap: 10px; border-radius: 14px; background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 10px 24px -10px rgba(23, 19, 15, .6); }
.askkey__btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 16px 28px -12px rgba(23, 19, 15, .7); }
.askkey__box { border: 0; border-radius: 20px; background: rgba(255, 253, 248, .96); box-shadow: 0 0 0 1px rgba(23, 19, 15, .14), 0 0 0 3px rgba(255, 255, 255, .8), 0 30px 50px -24px rgba(23, 19, 15, .5); backdrop-filter: blur(10px); }
.askkey__box .btn--signal { color: var(--paper); border-color: var(--ink); background: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }

/* ==========================================================================
   The API's pages
   ========================================================================== */
.dev .ln { padding: 13px 16px; border-radius: 16px; }
.dev .ln + .ln { margin-top: 8px; border-radius: 16px; }
.dev .ln:has(+ .ln) { border-radius: 16px; }
.dev .dmode { border-radius: 16px; background: rgba(255, 253, 248, .82); }
.dev .dmode__seg button[aria-checked="true"], .dev .sbx__by button[aria-checked="true"] { background: var(--ink); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); }
.dev .pk__btn { border-color: var(--ink); background: var(--ink); color: var(--paper); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2); border-radius: 10px; }
.dev .pk__btn:hover, .dev .pk.is-open .pk__btn { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 6px 14px -6px rgba(23, 19, 15, .6); }
.dev .pk__pop { border: 0; border-radius: 18px; box-shadow: 0 0 0 1px rgba(23, 19, 15, .14), 0 0 0 3px rgba(255, 255, 255, .8), 0 30px 50px -24px rgba(23, 19, 15, .5); }
.dev .con { border: 0; border-radius: 20px; box-shadow: 0 0 0 1px rgba(23, 19, 15, .6), 0 0 0 3px rgba(255, 255, 255, .7), 0 20px 30px -20px rgba(23, 19, 15, .5); }
.dev .ep { border-top: 1px solid var(--rule); }
.dev .ep__m { border-radius: 6px; }
.dev .ep__m--post { background: var(--signal); box-shadow: none; }
.dev .sbx__form, .dev .sbx__out { border-top: 1px solid var(--rule); }
.dev .sbx__seg button { border: 0; border-radius: 16px; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px rgba(23, 19, 15, .1), inset 0 1px 0 #fff; }
.dev .sbx__seg button[aria-checked="true"] { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 4px rgba(255, 255, 255, .8), 0 14px 20px -16px rgba(23, 19, 15, .4); }
.dev .sbx__seg button[aria-checked="true"]::before { background: radial-gradient(var(--paper) 0 3.5px, var(--ink) 4px); }
.dev .sbx__in { border: 0; border-radius: 14px; box-shadow: 0 0 0 1px rgba(23, 19, 15, .2), inset 0 1px 0 #fff; }
.dev .sbx__in:focus { box-shadow: 0 0 0 1.5px var(--ink), 0 0 0 5px color-mix(in srgb, var(--signal) 50%, transparent); }
.dev .sbx__row > .tagn { margin-top: 2px; }
.dev .sbx__go .btn--signal { color: var(--paper); border-color: var(--ink); background: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 2px 2px 0 rgba(23, 19, 15, .28); }
.dev .sbx__say--yes h2 span, .dev .sbx__say--yes > h2:not(:has(span)) { background: linear-gradient(var(--signal), var(--signal)) 0 90% / 100% 26% no-repeat; }
.dev .dkeys { border-top: 1px solid var(--rule); }
.dev .dkeys__new { border: 0; border-radius: 16px; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(23, 19, 15, .12), 0 0 0 3px rgba(255, 255, 255, .8); }

@media (max-width: 640px) {
  .craft .post__cover .cover, .craft .blead__pic .cover { border-radius: 20px; }
  .help .topic, .help .way, .help .stuck { border-radius: 20px; }
}

/* the search sheet: a file's row is its title and where it is; only Smudge's row carries a mark */
.help .hsheet li a:not(:has(.aimark)) b, .help .hsheet li a:not(:has(.aimark)) p { grid-column: 1 / span 2; }
.help .hsheet li a:hover, .help .hsheet li a.is-on { box-shadow: 0 0 0 1px rgba(23, 19, 15, .12), 0 0 0 3px rgba(255, 255, 255, .9), 0 10px 16px -12px rgba(23, 19, 15, .3); }
.help .hsheet li a { border-radius: 14px; }

/* the sandbox's rows are numbered with a plain numeral; the reference's list of calls reads from the left */
.sbx__n { align-self: start; width: 1.2em; font: 700 19px/1.25 var(--f-sans); font-variant-numeric: tabular-nums; color: var(--graphite); }
.dev .sbx__say--yes h2 span, .dev .sbx__say--yes > h2:not(:has(span)) { background: none; }
.dev .dnav ol a { justify-content: flex-start; }
.dev .dnav .hrail__box .btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 36px; padding: 0 12px; font-size: 13.5px; color: var(--paper); }

/* ---- Smudge on the keys that ask him (20 Nov 2026). He is ink-dark and so are the keys, so he sits
   on a yellow seat, where the star was. He's allowed out of it: a hop takes his head over the edge.
   The corner key is taller for him, and on a phone it is his seat alone. He draws and moves himself
   (assets/js/smudge-mark.js); all this sets is where he sits and how big he is */
.smg { display: grid; place-items: end center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--signal); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -1.5px 0 rgba(23, 19, 15, .16); overflow: visible; }
.smg .smudge { width: 28px; height: 26px; margin-bottom: 1px; }
.craft .btn:has(> .smg) { padding-left: 6px; }
.craft .btn > .smg { width: calc(var(--h) - 12px); height: calc(var(--h) - 12px); border-radius: 10px; }
.craft .btn > .smg .smudge { width: calc(var(--h) - 15px); height: calc((var(--h) - 15px) * .92); }
.help .sfind .btn { padding-left: 7px; }
.askkey { transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }
.askkey.is-away { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
.askkey__btn { height: 56px; padding: 0 22px 0 8px; gap: 12px; border-radius: 18px; font-size: 16px; }
.askkey__btn .smg { width: 40px; height: 40px; border-radius: 12px; }
.askkey__btn .smudge { width: 38px; height: 35px; margin-bottom: 1px; }
/* in an answer's header he stands on the paper, a little over the line */
.brief__him { display: inline-grid; place-items: end center; flex: none; width: 46px; height: 34px; margin: -10px 0 -4px -4px; }
.brief__him .smudge { width: 44px; height: 40px; }
@media (max-width: 720px) {
  .askkey__btn { height: 54px; padding: 0 7px; gap: 0; border-radius: 17px; }
  .askkey__btn > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media print { .smg, .brief__him { display: none; } }

/* the ask page's boxes are the first page's pane; the corner box's field has one ring, not two */
.ask__q.sfind { margin-top: 0; padding-left: 24px; }
.sfind--sm { height: 58px; margin-top: 18px; padding: 0 9px 0 22px; border-radius: 19px; }
.sfind--sm input { font-size: 17px; }
.help .sfind--sm .btn { --h: 40px; padding: 0 16px; border-radius: 12px; font-size: 15px; }
.help .sfind .btn kbd, .askkey__box .btn kbd { color: rgba(243, 239, 228, .8); background: rgba(243, 239, 228, .14); box-shadow: none; }
.askkey__box textarea { border: 1px solid rgba(23, 19, 15, .2); border-radius: 12px; background: #fff; }
.help .askkey__box textarea:focus-visible { outline: none; }
.askkey__box textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 52%, transparent); }
@media (max-width: 560px) { .help .ask__q.sfind .btn { font-size: 0; gap: 0; padding: 0 6px; } .ask__q.sfind { padding-left: 18px; } }
