/* Gary docs.
   The page borrows its bones from the best docs and help pages (one quiet ground, a narrow reading column, sections set
   apart by space alone, colour only in the characters; a search-first home page, topic cards, a sidebar of topics that
   open on a click, a search dialog) and wears Gary's own things: getquantis.com/gary's ground (its slate, #141A26, under
   the QUANTIS photograph) with glass surfaces over it,
   Futura PT for headings, the gators in their tints, and the pond's water rings and pads behind the app pictures. The
   app pictures keep the app's own night colours: they are pictures of the app. */

@font-face { font-family: "Futura PT"; src: url("/fonts/futura-pt-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Futura PT"; src: url("/fonts/futura-pt-bold-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #141A26;                      /* getquantis.com/gary's slate, under the photograph (body::before) */
  --bg-0: rgba(20, 26, 38, 0);        /* the same, clear: for fades */
  --tile: rgba(0, 0, 0, .30);         /* cards over the photograph, as /gary's tiles */
  --tile-up: rgba(0, 0, 0, .18);      /* a card on hover: lighter, as /gary's */
  --thick: rgba(28, 28, 30, .85);     /* what floats: the ask box, the search dialog, menus, the opened sidebar */
  --glass: rgba(28, 28, 30, .62);     /* the top bar, as /gary's header */
  --blur: blur(28px) saturate(1.15);
  --raised: #272D36;
  --button: #303743;
  --well: rgba(0, 0, 0, .22);         /* a step down: code, the foot of the site */
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .19);
  --fg: #ECEEF1;
  --fg-1: rgba(236, 238, 241, .92);
  --fg-2: #B9BFC8;                    /* the app's secondary words */
  --fg-3: #8E96A1;
  --moon: #d6ecfc;                    /* the water's moonlit strokes */
  --live: #7DB5EE;                    /* status is always a word too; blue and amber stay apart for red-green colour blindness */
  --review: #F5A33D;
  --display: "Futura PT", Futura, "Century Gothic", "Trebuchet MS", sans-serif;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --top: 72px;
  --col: 688px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--top) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--ui); -webkit-font-smoothing: antialiased; }
/* The photograph on a fixed layer, not background-attachment: fixed, which iOS Safari ignores (as getquantis.com/gary). */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--bg) url("/quantis-background.png") center / cover no-repeat; pointer-events: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: rgba(125, 181, 238, .35); }
:focus-visible { outline: 2px solid var(--moon); outline-offset: 2px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: 999px; background: #fff; color: #111; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- gators and pond pieces (drawn by gators.js) ---------------------------------------------------------------- */
.gator { --s: 28px; --period: 3.4s; --k: 0s; position: relative; display: block; flex: none;
  width: calc(var(--s) * 1.2); height: calc(var(--s) * .95); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gator[data-dry] { height: var(--s); }
.g-flip, .g-bob, .g-clip { position: absolute; inset: 0; display: block; }
.gator[data-mirrored] .g-flip { transform: scaleX(-1); }
.g-head { position: absolute; left: 0; top: 0; display: block; width: 100%; height: calc(100% / .95); overflow: visible; }
.gator[data-dry] .g-head { height: 100%; }
.p-in svg { display: block; width: 100%; height: auto; overflow: visible; }
.prop { position: absolute; display: block; width: var(--w); left: var(--x); top: var(--y);
  translate: calc(var(--ax, 50%) * -1) calc(var(--ay, 50%) * -1); pointer-events: none; }
.p-in { display: block; transform-origin: var(--ax) var(--ay); }
@media (prefers-reduced-motion: no-preference) {
  .prop.pad .p-in { animation: drift 11s ease-in-out infinite; }
  .prop.water .p-in { animation: swell 6.8s ease-in-out infinite; }
}
@keyframes drift { 0%, 100% { translate: -3px -1.5px; rotate: -1.4deg; } 50% { translate: 3px 1.5px; rotate: 1.4deg; } }
@keyframes swell { 0%, 100% { scale: .985; } 50% { scale: 1.015; } }

/* ---- top bar ---------------------------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 20px;
  height: var(--top); padding: 0 22px; background: var(--glass); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom: 1px solid var(--line); }
.menu-btn { display: none; place-items: center; width: 38px; height: 38px; margin-left: -8px; border-radius: 10px; color: var(--fg-1); }
.menu-btn:hover { background: rgba(255, 255, 255, .07); }
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.brand .gator { --s: 30px; margin: 0 -1px 2px -4px; }
.brand .word { font: 700 23px/1 var(--display); letter-spacing: -.005em; }
.brand .by { font-size: 12.5px; color: var(--fg-3); margin: 5px 0 0 2px; letter-spacing: .01em; }
.links { display: flex; gap: 24px; margin-right: 10px; }
.links a { font-size: 15px; color: var(--fg-2); text-decoration: none; transition: color .15s; }
.links a:hover, .links a[aria-current] { color: var(--fg); }
.tools { display: flex; align-items: center; gap: 10px; margin-left: auto; min-width: 0; }
.find-btn { display: flex; align-items: center; gap: 8px; width: 196px; height: 36px; padding: 0 8px 0 12px; border: 1px solid var(--line-2);
  border-radius: 10px; background: rgba(255, 255, 255, .04); color: var(--fg-2); font-size: 15px; text-align: left; transition: border-color .15s, background .15s; }
.find-btn span { flex: 1; }
.find-btn:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .07); }
kbd { font: 12px/1.5 var(--ui); color: var(--fg-3); padding: 0 6px; border: 1px solid var(--line-2); border-radius: 5px; white-space: nowrap; }
.cta { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; color: #111;
  font: 600 15px/1 var(--ui); text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
.cta:hover { background: #e4e4ea; }
.cta:active { transform: scale(.98); }

/* ---- the three columns ------------------------------------------------------------------------------------------ */
.shell { display: grid; grid-template-columns: 280px minmax(0, 1fr) 252px; max-width: 1560px; margin: 0 auto; }
.side, .rail { position: sticky; top: var(--top); align-self: start; height: calc(100vh - var(--top)); overflow-y: auto; scrollbar-width: none; }
.side::-webkit-scrollbar, .rail::-webkit-scrollbar { display: none; }
.side { padding: 16px 12px 40px; border-right: 1px solid var(--line); }
.rail h4 { font: 600 14.5px/1.3 var(--ui); margin: 0 0 8px 10px; }
/* The sidebar: a row for each topic, opened and closed by a click, the topic of the page being read open. */
.grp + .grp { margin-top: 2px; }
.grp summary { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; list-style: none; cursor: pointer;
  font: 600 14.5px/1.3 var(--ui); color: var(--fg-1); transition: background .12s, color .12s; -webkit-tap-highlight-color: transparent; }
.grp summary::-webkit-details-marker { display: none; }
.grp summary:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.grp summary > svg:first-child { flex: none; color: var(--fg-2); }
.grp summary span { flex: 1; }
.grp summary .chev { flex: none; color: var(--fg-3); transition: transform .15s; }
.grp[open] summary .chev { transform: rotate(90deg); }
.grp ul { padding: 2px 0 10px 28px; }
.side a { display: block; padding: 6px 10px; border-radius: 9px; font-size: 14.5px; line-height: 1.35; color: var(--fg-2);
  text-decoration: none; transition: color .12s, background .12s; }
.side a:hover { color: var(--fg); background: rgba(255, 255, 255, .05); }
.side a[aria-current] { color: var(--fg); background: rgba(255, 255, 255, .09); font-weight: 600; }

main { min-width: 0; padding: 26px 24px 128px; }      /* room at the foot for the ask bar */
.col { max-width: var(--col); margin: 0 auto; }

.rail { display: flex; flex-direction: column; padding: 30px 22px 26px 8px; }
.rail h4 { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 8px 10px; }
.rail h4 svg { color: var(--fg-2); }
.toc a { display: block; padding: 5px 10px; font-size: 13.5px; line-height: 1.42; color: var(--fg-2); text-decoration: none; transition: color .12s; text-wrap: pretty; }
.toc a:hover, .toc a[aria-current] { color: var(--fg); }
.rail-foot { margin-top: auto; padding: 16px 0 0 10px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
.rail-foot button { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--fg-2); transition: color .12s; }
.rail-foot button:hover { color: var(--fg); }

/* ---- the top of the page ---------------------------------------------------------------------------------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 14px; font-size: 13.5px; color: var(--fg-2); }
.crumbs:empty { display: none; }
.crumbs a { text-decoration: none; transition: color .12s; }
.crumbs a:hover { color: var(--fg); }
.crumbs .chev { color: var(--fg-3); }
.crumbs [aria-current] { color: var(--fg-1); }
h1 { font: 700 clamp(36px, 5.4vw, 48px)/1.05 var(--display); letter-spacing: -.012em; margin: 0 0 16px; text-wrap: balance; }
.wide h1 { font-size: clamp(42px, 7vw, 58px); }
/* Under the title: when the page last changed, and Copy for LLM with its menu, over a hairline. */
.meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line); font-size: 14px; color: var(--fg-2); }
.split { position: relative; display: flex; align-items: stretch; height: 34px; border: 1px solid var(--line-2); border-radius: 9px; }
.split > button { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; font: 600 13.5px/1 var(--ui); color: var(--fg-1); transition: background .12s, color .12s; }
.split > button:hover, .split-more[aria-expanded="true"] { background: rgba(255, 255, 255, .07); color: var(--fg); }
.split-main { border-radius: 8px 0 0 8px; }
.split-more { padding: 0 9px !important; border-left: 1px solid var(--line-2) !important; border-radius: 0 8px 8px 0; }
.split-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 25; min-width: 210px; padding: 6px; border: 1px solid var(--line-2);
  border-radius: 12px; background: var(--thick); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 14px 40px rgba(0, 0, 0, .35); }
.split-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14.5px; color: var(--fg-1); text-decoration: none; }
.split-menu a:hover, .split-menu a:focus-visible { background: rgba(255, 255, 255, .08); color: var(--fg); outline: 0; }
.split-menu svg { color: var(--fg-2); }

/* ---- the page's own words: whatever plain Markdown a page holds ------------------------------------------------- */
/* A page's text sits directly in .prose (before its first heading) or in a .cat section (under each h2). The blocks the
   engine draws (.steps, .apps, .cards, .teams, .wash, .linkcard) carry their own classes and are styled further down. */
.prose > p, .cat > p { margin-bottom: 18px; color: var(--fg-1); text-wrap: pretty; }
.prose > ul, .prose > ol, .cat > ul, .cat > ol { display: grid; gap: 7px; margin-bottom: 18px; color: var(--fg-1); }
.prose > ul > li, .cat > ul > li { position: relative; padding-left: 28px; text-wrap: pretty; }
.prose > ul > li::before, .cat > ul > li::before { content: ""; position: absolute; left: 11px; top: .68em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--fg-3); }
.prose > ol, .cat > ol { list-style: decimal; padding-left: 28px; }
.prose > ol > li, .cat > ol > li { padding-left: 4px; }
.prose li ul, .prose li ol { margin: 6px 0 0 20px; list-style: disc; display: grid; gap: 5px; }
.prose p:has(+ ul), .prose p:has(+ ol) { margin-bottom: 12px; }
.prose :is(p, li, td, th) a { text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.prose :is(p, li, td, th) a:hover { text-decoration-style: solid; }
.prose strong, .prose b { font-weight: 600; color: var(--fg); }
.cat > h3 { font: 400 23px/1.2 var(--display); margin: 34px 0 10px; scroll-margin-top: calc(var(--top) + 14px); }
.cat > h4, .prose > h4 { font: 600 16px/1.3 var(--ui); margin: 26px 0 8px; }
.prose :is(p, li, td) code { font: 14px ui-monospace, "SF Mono", Menlo, monospace; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.prose pre { margin-bottom: 18px; padding: 16px 18px; border-radius: 14px; background: var(--well); overflow-x: auto; }
.prose pre code { font: 14px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--fg-1); }
.prose > blockquote, .cat > blockquote { margin: 0 0 18px; padding: 2px 0 2px 16px; border-left: 2px solid var(--line-2); color: var(--fg-2); }
.prose table { width: 100%; margin-bottom: 20px; border-collapse: collapse; font-size: 15px; }
.prose th { text-align: left; font-weight: 600; color: var(--fg); }
.prose th, .prose td { padding: 9px 12px 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-1); }
.prose hr { margin: 34px 0; border: 0; border-top: 1px solid var(--line); }
.prose :is(p, li) > img { max-width: 100%; height: auto; border-radius: 14px; }
/* A gator or an app logo written into a sentence: ![Scout](gator:Scout), ![Gmail](app:gmail) */
.prose :is(p, li, td) > .gator { display: inline-block; vertical-align: -.42em; margin: 0 -1px; }
.app-chip { display: inline-grid; place-items: center; width: 1.4em; height: 1.4em; border-radius: .38em; background: rgba(255, 255, 255, .09); vertical-align: -.3em; }
.app-chip svg { width: 62%; height: 62%; }

/* ---- an address with no page (_204.md, _404.md): one large gator and a way back, in the middle of the space ------ */
.notfound main { display: grid; align-content: center; min-height: calc(100vh - var(--top)); min-height: calc(100dvh - var(--top)); }
.notfound .col { width: 100%; text-align: center; }
.notfound .hero h1 { margin-bottom: 10px; }
.notfound .prose > p { font-size: 17px; text-wrap: balance; }
.notfound .prose > p:last-child { margin-bottom: 0; }
.notfound .prose > p > img { display: block; width: auto; max-width: 92%; height: min(250px, 28vh); height: min(250px, 28dvh); object-fit: contain;
  margin: 14px auto 18px; border-radius: 0; }
.notfound .prose > p:last-child a { display: inline-flex; align-items: center; height: 42px; margin-top: 6px; padding: 0 18px; border-radius: 999px;
  background: #fff; color: #111; font: 600 15px/1 var(--ui); text-decoration: none; transition: background .15s; }
.notfound .prose > p:last-child a:hover { background: #e4e4ea; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0 28px; }
.step { display: flex; flex-direction: column; min-height: 252px; padding: 22px 22px 24px; border-radius: 18px; background: var(--tile);
  text-decoration: none; transition: background .15s, transform .15s; }
.step:hover { background: var(--tile-up); }
.step .art { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 7px; height: 104px; margin-bottom: 18px; }
.step .art .gator { margin-left: -6px; }
.step .art.trio { flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 0; padding-bottom: 6px; }
.step .art.trio .gator { margin: 0 -3px 0 -5px; }
.chips { display: flex; gap: 4px; }
.chips .app-chip { width: 24px; height: 24px; border-radius: 7px; }
.chips .app-chip svg { width: 13px; height: 13px; }
.chips b svg { width: 13px; height: 13px; }
.chips b { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 6px; border-radius: 999px; background: rgba(255, 255, 255, .09);
  font: 500 12px/1 var(--ui); color: var(--fg-2); white-space: nowrap; }
.step small { font-size: 13px; color: var(--fg-3); }
.step strong { font: 400 22px/1.18 var(--display); margin: 3px 0 8px; }
.step .t { font-size: 15px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }

/* ---- a section: a heading, a sentence, sometimes a picture, then the cards -------------------------------------- */
.cat { margin-top: 78px; scroll-margin-top: calc(var(--top) + 14px); }
.cat h2 { font: 400 clamp(29px, 4.6vw, 35px)/1.12 var(--display); letter-spacing: -.004em; margin-bottom: 10px; text-wrap: balance; }
.cat > h2 + p { margin-bottom: 22px; }
:is(.cards, .more, .teams, .wash, .linkcard) + :is(p, ul, ol, h3, h4) { margin-top: 30px; }

/* the row of apps: grey until chosen, then the app's own colour, with what Gary does there underneath */
.apps { display: grid; margin: 2px 0 30px; }
.app-icons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px -4px; }
.app-icons button { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: rgba(235, 235, 245, .3);
  transition: color .15s, background .15s; }
.app-icons svg { width: 30px; height: 30px; fill: currentColor; }
.app-icons button > span { font: 700 22px var(--display); }
.app-icons button:hover { color: var(--fg-2); background: rgba(255, 255, 255, .04); }      /* hover only hints; a click chooses */
.app-icons button[aria-selected="true"] { color: var(--brand); background: var(--tile); }
.app-say { grid-area: 2 / 1; }
.app-say[hidden] { display: block !important; visibility: hidden; }     /* all six share one cell, so the row below never jumps */
.app-name { font-size: 16.5px; color: var(--fg-2); margin-bottom: 3px; }
.app-say p + p { font-size: 17.5px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.app-say b { color: var(--fg); font-weight: 600; }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cards:has(.ex[open]) { align-items: start; }      /* an open prompt does not stretch its neighbour */
.cards.rest { margin-top: 12px; }
.cards:not(:has(.uc:not([hidden]))) { display: none; }
.uc { display: flex; flex-direction: column; padding: 22px 22px 18px; border-radius: 18px; background: var(--tile); scroll-margin-top: calc(var(--top) + 24px); }
.uc h3 { font: 400 21px/1.2 var(--display); text-wrap: balance; }
.uc .d { margin-top: 8px; font-size: 15px; line-height: 1.58; color: var(--fg-2); text-wrap: pretty; }
.ex { margin-top: auto; padding-top: 16px; }      /* the toggles line up across a row */
.ex summary { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; cursor: pointer; list-style: none; user-select: none; border-radius: 6px; }
.ex summary::-webkit-details-marker { display: none; }
.chev { transition: transform .18s; color: var(--fg-2); }
.ex[open] .chev, .more[aria-expanded="true"] .chev { transform: rotate(180deg); }
.prompt { position: relative; margin-top: 14px; padding: 15px 46px 15px 16px; border-radius: 13px; background: var(--well); }
.prompt p { font-size: 15px; line-height: 1.6; color: var(--fg-1); }
.ex[open] .prompt { animation: unfold .2s ease; }
@keyframes unfold { from { opacity: 0; translate: 0 -4px; } }
.copy { position: absolute; right: 9px; top: 9px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--fg-3); transition: color .12s, background .12s; }
.copy:hover { color: var(--fg); background: rgba(255, 255, 255, .07); }
.copy.done { color: var(--live); }
.uc.flash { animation: flash 1.9s ease; }
@keyframes flash { 0%, 55% { box-shadow: 0 0 0 2px var(--moon); } 100% { box-shadow: 0 0 0 2px rgba(214, 236, 252, 0); } }

.teams { display: grid; gap: 12px; }
.members { display: grid; gap: 11px; margin: 16px 0 15px; padding: 15px 16px; border-radius: 13px; background: var(--well); }
.members li { display: flex; align-items: center; gap: 9px; font-size: 15px; line-height: 1.45; color: var(--fg-2); }
.members li > span:last-child { text-wrap: pretty; }
.members b { margin-right: 3px; color: var(--fg); font-weight: 600; }
.members .gator { --s: 31px; margin: -5px -3px 0 -6px; }
.team .foot { font-size: 15px; color: var(--fg-2); }
.linkcard { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding: 17px 22px 18px 20px; border-radius: 18px; background: var(--tile);
  text-decoration: none; cursor: default; }
.linkcard .gator { --s: 46px; margin: -8px 0 0 -6px; }
.linkcard > span:nth-child(2) { display: grid; gap: 3px; flex: 1; min-width: 0; }
.linkcard strong { font: 400 21px/1.2 var(--display); }
.linkcard span span { font-size: 15px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.linkcard .arrow { flex: none; color: var(--fg-2); }

/* A network picture (::: network): what sits outside, what sits inside under the dashed line, and each numbered
   connection between them. One blue line at most (the one the page is about); the dashed line is amber. */
.net { margin: 8px 0 24px; overflow-x: auto; }
.net svg { display: block; width: 100%; min-width: 620px; height: auto; font-family: var(--ui); }
.net .box { fill: var(--tile); stroke: var(--line); }
.net .zone { fill: rgba(255, 255, 255, .025); stroke: var(--line-2); }
.net .piece { fill: var(--tile-up); stroke: var(--line); }
.net .name { fill: var(--fg); font-size: 14px; font-weight: 600; }
.net .note { fill: var(--fg-2); font-size: 12.5px; }
.net .zone-title { fill: var(--fg); font-size: 14px; font-weight: 600; }
.net .wire { stroke: var(--fg-3); stroke-width: 1.5; fill: none; }
.net .tip, .net .dot { fill: rgba(235, 235, 245, .62); }
.net .wire.loud { stroke: var(--live); stroke-width: 2.25; }
.net .tip.loud, .net .dot.loud { fill: var(--live); }
.net .badge circle { fill: var(--bg); stroke: var(--fg-3); stroke-width: 1.25; }
.net .badge.loud circle { stroke: var(--live); }
.net .badge text { fill: var(--fg); font-size: 11px; font-weight: 600; }
.net .way { fill: var(--fg-1); font-size: 12px; font-weight: 600; }
.net .how { fill: var(--fg-2); font-size: 11.5px; }
.net .lock { fill: none; stroke: var(--fg-2); stroke-width: 1.1; }
.net .wall { stroke: var(--review); stroke-width: 1.25; stroke-dasharray: 5 5; }
.net .wall-label { fill: var(--review); font-size: 12px; font-weight: 600; }
.net figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }

.more { display: inline-flex; align-items: center; gap: 7px; height: 42px; margin-top: 14px; padding: 0 16px 0 18px; border: 1px solid var(--line-2);
  border-radius: 999px; font-size: 15px; font-weight: 500; transition: border-color .15s, background .15s; }
.more:hover { border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .03); }

/* ---- a page's opening words (::: hero): buttons, then gators floating beside them or the steps the page follows -- */
.wide { --col: 912px; }                                  /* an overview: a wider column, its sentences still a reading width */
.wide .prose > p, .wide .cat > p, .wide .prose > ul, .wide .cat > ul { max-width: 688px; }
.lead { display: grid; gap: 30px; margin-bottom: 6px; }
.lead.art { grid-template-columns: minmax(0, 468px) minmax(0, 1fr); }
.lead.steps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.lead-words > p { margin-bottom: 16px; font-size: 16.5px; color: var(--fg-1); text-wrap: pretty; }
.lead-words > blockquote { margin: 24px 0 0; font-size: 20px; line-height: 1.42; font-weight: 500; color: var(--fg); text-wrap: balance; }
.lead-btns { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.prose .pill { display: inline-flex; align-items: center; height: 46px; padding: 0 26px; border: 1px solid var(--line-2); border-radius: 999px;
  font: 600 15.5px/1 var(--ui); color: var(--fg); text-decoration: none; transition: background .15s; }
.prose .pill:hover { background: rgba(255, 255, 255, .06); }
.prose .pill.go { background: #fff; border-color: #fff; color: #111; }
.prose .pill.go:hover { background: #e4e4ea; }
.onward { margin-bottom: 18px; }
.prose .onward a { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; color: var(--fg-2); text-decoration: none; transition: color .12s; }
.prose .onward a:hover { color: var(--fg); }
.onward .arrow { width: 14px; height: 14px; transition: translate .15s; }
.onward a:hover .arrow { translate: 2px 0; }
.lead-art { position: relative; height: 290px; margin-top: -10px; }       /* beside the opening words, under the line with Copy for LLM */
.lead-art > span { position: absolute; left: var(--x); top: var(--y); }
@media (prefers-reduced-motion: no-preference) {
  .lead-art > span { animation: afloat 6.4s ease-in-out infinite; animation-delay: calc(var(--n) * -1.37s); }
}
@keyframes afloat { 0%, 100% { translate: 0 -5px; } 50% { translate: 0 6px; } }
.lead-steps { display: grid; gap: 18px; padding-top: 3px; }
.lead-steps li { display: flex; align-items: flex-start; gap: 14px; }
.lead-steps .app-chip { flex: none; width: 34px; height: 34px; margin-top: 1px; border-radius: 10px; background: var(--tile); }
.app-chip.icon { color: var(--fg-2); }
.lead-steps li > span { display: grid; gap: 1px; }
.lead-steps strong { font-weight: 500; font-size: 15.5px; line-height: 1.5; color: var(--fg); }
.lead-steps small { font-size: 13.5px; color: var(--fg-3); }

/* ---- pictures in a row that moves on by itself (::::: slides) ---------------------------------------------------- */
.slides { margin: 36px 0 8px; }
.track { position: relative; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: none; display: flex; flex-direction: column; width: min(650px, 88%); scroll-snap-align: start; cursor: pointer; }
.slide.on { cursor: default; }
.slide h3 { font: 400 21px/1.2 var(--display); margin-bottom: 4px; }
.slide > p { margin-bottom: 14px; font-size: 15px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }
.slide .wash { width: 100%; margin: auto 0 0; }
.pager { display: flex; align-items: center; gap: 4px; height: 22px; margin-top: 14px; }
.pager [data-go] { display: grid; place-items: center; width: 14px; height: 22px; transition: width .25s; }
.pager [data-go] i { position: relative; display: block; width: 6px; height: 6px; border-radius: 3px; overflow: hidden; background: var(--fg-3); transition: width .25s, background .25s; }
.pager [data-go]:hover i { background: var(--fg-2); }
.pager [data-go][aria-current="true"] { width: 32px; }
.pager [data-go][aria-current="true"] i { width: 28px; background: rgba(255, 255, 255, .22); }
.pager [aria-current="true"] i::after { content: ""; position: absolute; inset: 0; border-radius: 3px; background: var(--fg); transform-origin: 0 50%; }
.slides.playing .pager [aria-current="true"] i::after { animation: fill var(--hold, 7s) linear both; }
@keyframes fill { from { transform: scaleX(0); } }
.hold { display: grid; place-items: center; width: 24px; height: 24px; margin-left: 6px; border-radius: 7px; color: var(--fg-2); transition: color .12s; }
.hold:hover { color: var(--fg); }
.hold .play, .slides.paused .hold .bars { display: none; }
.slides.paused .hold .play { display: block; }
@media (prefers-reduced-motion: no-preference) {                 /* the conversation on the picture in front is said line by line */
  .slide.on .win-chat > * { animation: say .5s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--n, 0) * .55s + .3s); }
}
@keyframes say { from { opacity: 0; translate: 0 8px; } }

/* ---- labels in a row; click one to read it (::: tabs). It shares the row of apps' markup and script. ------------- */
.tab-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 26px; }
.tab-chips button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px 0 12px; border: 1px solid var(--line-2);
  border-radius: 999px; font-size: 15px; color: var(--fg-2); transition: color .15s, border-color .15s, background .15s; }
.tab-chips .gator { --s: 22px; pointer-events: none; filter: grayscale(1) brightness(.85); opacity: .6; transition: filter .15s, opacity .15s; }
.tab-chips button:hover { color: var(--fg); }
.tab-chips button[aria-selected="true"] { color: var(--brand); border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent); }
.tab-chips button[aria-selected="true"] .gator { filter: none; opacity: 1; }
.tab-say > p:first-child { max-width: 610px; font-size: 20px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.tab-say .onward { margin: 18px 0 0; }
.prose .tab-say .onward a { font-size: 15px; color: var(--fg); }

/* ---- ways to do one thing, one shown at a time (::: options). The script is the row of apps'. -------------------- */
.options { margin: 6px 0 24px; }
.option-tabs { display: flex; gap: 26px; margin-bottom: 22px; overflow-x: auto; box-shadow: inset 0 -1px var(--line); }
.option-tabs button { padding: 10px 0 11px; border-bottom: 2px solid transparent; border-radius: 0; font: 600 15px/1.3 var(--ui);
  color: var(--fg-2); white-space: nowrap; outline-offset: -2px; transition: color .12s, border-color .12s; }
.option-tabs button:hover { color: var(--fg); }
.option-tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--fg); }
.option > p { margin-bottom: 18px; color: var(--fg-1); text-wrap: pretty; }
.option > :is(ul, ol) { display: grid; gap: 7px; margin-bottom: 18px; color: var(--fg-1); }
.option > ul > li { position: relative; padding-left: 28px; text-wrap: pretty; }
.option > ul > li::before { content: ""; position: absolute; left: 11px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--fg-3); }
.option > ol { list-style: decimal; padding-left: 28px; }
.option > h4 { font: 600 16px/1.3 var(--ui); margin: 26px 0 8px; }
.option > :first-child { margin-top: 0; }
.option > :last-child { margin-bottom: 0; }

/* ---- a row that opens (::: details) ------------------------------------------------------------------------------ */
.fold { margin-bottom: 12px; border-radius: 16px; background: var(--tile); }
.fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px 15px 22px; border-radius: 16px;
  font-size: 15.5px; font-weight: 500; cursor: pointer; list-style: none; user-select: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold[open] .chev { transform: rotate(180deg); }
.fold-body { padding: 0 22px 6px; font-size: 15px; color: var(--fg-1); animation: unfold .2s ease; }
.fold-body > :is(p, ul, ol) { margin-bottom: 14px; text-wrap: pretty; }
.fold-body > ul { display: grid; gap: 6px; }
.fold-body > ul > li, .release li { position: relative; padding-left: 20px; }
.fold-body > ul > li::before, .release li::before { content: ""; position: absolute; left: 5px; top: .68em; width: 5px; height: 5px; border-radius: 50%; background: var(--fg-3); }
:is(.fold, .rows, .boxes, .slides) + :is(p, ul, ol, h3, h4) { margin-top: 28px; }
:is(.cards, .more, .wash) + .fold { margin-top: 24px; }

/* ---- named rows with what happened at each (::: rows), and quiet panels of facts (::: boxes) --------------------- */
.prose ol.rows { display: grid; gap: 12px; margin: 4px 0 22px; padding: 0; list-style: none; }
.prose ol.rows > li { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; border-radius: 16px; background: var(--tile); }
.rows .app-chip { flex: none; width: 22px; height: 22px; margin-top: 1px; background: none; }
.rows .app-chip svg { width: 100%; height: 100%; }
.rows li > span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.rows strong { font-weight: 500; font-size: 15.5px; }
.rows small { font-size: 15px; color: var(--fg-2); }
.rows em { flex: none; font-style: normal; font-size: 15px; color: var(--fg-3); }
.rows li.on { background: var(--tile-up); }
.rows li.on em { color: var(--fg); }
.boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 22px; }
.boxes.odd .box:first-child { grid-column: 1 / -1; }
.box { padding: 18px 20px; border-radius: 18px; background: var(--tile); }
.box-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 15px; color: var(--fg-2); }
.box-head .gator { --s: 26px; margin: -3px 0 0 -4px; }
.box-head .gator + .gator { margin-left: -15px; }
.box-head:not(:has(.gator)) { margin-bottom: 4px; font-size: 15.5px; font-weight: 500; color: var(--fg); }
.box > p:not(.box-head) { font-size: 15px; line-height: 1.55; color: var(--fg-2); text-wrap: pretty; }
.box dl { display: grid; gap: 12px; margin: 0; }
.box dt { font-weight: 500; font-size: 15.5px; }
.box dd { margin: 1px 0 0; font-size: 15px; color: var(--fg-2); }

/* ---- a card with a picture, and a card that is a link (::: cards) ------------------------------------------------ */
.uc-art { display: flex; height: 46px; margin: 0 0 14px -6px; }
.uc-art .gator + .gator { margin-left: -12px; }
.uc.link { position: relative; transition: background .15s; }
.uc.link:hover { background: var(--tile-up); }
.uc.link h3 a { text-decoration: none; }
.uc.link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.explore { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px; font-size: 15px; color: var(--fg-2); }
.explore .arrow { width: 14px; height: 14px; }

/* ---- one entry in a changelog (::: release) ---------------------------------------------------------------------- */
.release { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 6px 24px; padding: 34px 0 30px; border-top: 1px solid var(--line); }
.release .when { padding-top: 9px; font: 600 12px/1.5 var(--ui); letter-spacing: .09em; text-transform: uppercase; color: var(--fg-2); }
.release h3 { font: 400 27px/1.15 var(--display); margin-bottom: 4px; text-wrap: balance; }
.release h4 { margin: 18px 0 10px; font: 400 15px/1.3 var(--ui); color: var(--fg-2); }
.release ul { display: grid; gap: 8px; color: var(--fg-1); }
.release li { text-wrap: pretty; }
.prose .release li code { margin-left: 4px; padding: 1px 8px; border: 1px solid var(--line-2); border-radius: 999px; background: none; font: 11.5px/1.5 var(--ui); color: var(--fg-2); white-space: nowrap; }

/* ---- the app pictures: a window on the pond at night ------------------------------------------------------------ */
.wash { position: relative; height: 404px; margin-bottom: 12px; border-radius: 22px; overflow: hidden; isolation: isolate;
  background: radial-gradient(125% 150% at var(--gx, 96%) -12%, var(--a) 0%, var(--b) 28%, var(--c) 60%, var(--d) 100%); }
.wash.blue { --a: #5a9bf8; --b: #2260d2; --c: #103384; --d: #0a1e52; }
.wash.teal { --a: #55d2b8; --b: #1a9482; --c: #0b584d; --d: #06332e; --gx: 4%; }
.wash.purple { --a: #a88cfa; --b: #6446d8; --c: #37238f; --d: #1d1354; }
.wash.gold { --a: #f8cf58; --b: #cf921f; --c: #81530d; --d: #472d07; --gx: 4%; }
.pond { position: absolute; inset: 0; opacity: .5; }
.win { position: absolute; inset: 52px 52px 0; display: grid; grid-template-columns: 202px minmax(0, 1fr); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0; border-radius: 18px 18px 0 0; background: #151516;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .42); font-size: 13.5px; line-height: 1.4; cursor: default; }
.win.right { grid-template-columns: minmax(0, 1fr) 186px; }
.win.solo { grid-template-columns: minmax(0, 1fr); }
.win-side { padding: 14px 10px; background: #111112; border-right: 1px solid rgba(255, 255, 255, .07); }
.win.right .win-side { border-right: 0; border-left: 1px solid rgba(255, 255, 255, .07); padding-top: 18px; }
.win-tools { display: flex; gap: 7px; padding: 2px 6px 16px; }
.win-tools i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a3e; }
.grp { padding: 4px 8px 6px; font-size: 12px; color: var(--fg-3); }
.row + .grp { margin-top: 12px; }
.row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 11px; }
.row.on { background: rgba(255, 255, 255, .075); }
.row .gator { --s: 27px; margin: 0 -3px 0 -4px; }
.row > span:last-child { display: grid; min-width: 0; }
.row strong { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row small { font-size: 12px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mark { flex: none; width: 18px; height: 18px; margin: 0 3px 0 2px; border-radius: 50%; border: 1.6px solid var(--fg-3); position: relative; }
.mark.needs { border-color: var(--review); background: radial-gradient(circle, var(--review) 0 3px, transparent 3.6px); }
.mark.working { border-color: rgba(255, 255, 255, .16); border-top-color: var(--live); }
.mark.done { border-color: var(--fg-3); }
.mark.done::after { content: ""; position: absolute; left: 4.6px; top: 2.2px; width: 4px; height: 7.5px; border: solid var(--fg-2); border-width: 0 1.6px 1.6px 0; rotate: 42deg; }
.mark.clock::before, .mark.clock::after { content: ""; position: absolute; left: 6.6px; background: var(--fg-3); border-radius: 1px; width: 1.6px; }
.mark.clock::before { top: 3px; height: 5px; }
.mark.clock::after { top: 6.6px; height: 4.6px; rotate: -68deg; transform-origin: 50% 0; }
@media (prefers-reduced-motion: no-preference) { .mark.working { animation: turn 1.1s linear infinite; } }
@keyframes turn { to { rotate: 360deg; } }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; padding: 2px 8px; }
.week i { height: 22px; border-radius: 5px; background: rgba(255, 255, 255, .05); position: relative; }
.week i.on::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #54ccb6; }
.week i.two::before { content: ""; position: absolute; left: 50%; bottom: 11px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: #54ccb6; }

.win-chat { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 18px 0; min-width: 0; }
.who { align-self: center; display: inline-flex; align-items: center; gap: 5px; height: 31px; padding: 0 9px 0 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .075); font-size: 13.5px; font-weight: 500; }
.who .gator { --s: 21px; }
.who.trio .gator + .gator { margin-left: -11px; }
.who.trio { padding-left: 4px; gap: 4px; }
.who svg { color: var(--fg-3); }
.time { align-self: center; font-size: 12px; color: var(--fg-3); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--fg-3); }
.me, .gary { max-width: 92%; padding: 9px 13px; border-radius: 17px; font-size: 14px; line-height: 1.45; }
.me { align-self: flex-end; background: #2d2d31; }
.me b { font-weight: 600; }
.gary { max-width: 100%; background: #1f1f22; }
.gary ul { margin-top: 5px; display: grid; gap: 3px; }
.gary li { position: relative; padding-left: 15px; color: var(--fg-2); }
.gary li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 4px; height: 4px; border-radius: 50%; background: var(--fg-3); }
.gary li b { color: var(--fg); font-weight: 600; }
.gary .after { margin-top: 6px; color: var(--fg-2); }
.gary small { display: block; font-size: 12px; color: var(--fg-3); margin-bottom: 1px; }
.file { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; padding: 5px 10px 5px 8px; border-radius: 9px; background: rgba(255, 255, 255, .07); font-size: 12.5px; color: var(--fg-1); }
.said { display: flex; align-items: flex-end; gap: 4px; max-width: 94%; }
.said .gator { --s: 25px; margin: 0 -2px 3px -6px; }
.said .gary { max-width: none; }
.card { width: min(100%, 420px); padding: 14px 16px 15px; border: 1px solid rgba(245, 163, 61, .34); border-radius: 16px; background: #1c1b19; }
.card small { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--review); }
.card p { margin: 5px 0 13px; font-size: 14.5px; line-height: 1.45; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; height: 32px; padding: 0 15px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 13.5px; font-weight: 600; }
.btn.go { background: #fff; color: #111; }
.always { margin-left: 4px; font-size: 12.5px; color: var(--fg-3); }
.fields { display: grid; margin: 2px 0 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px; }
.fields div { display: flex; gap: 8px; padding: 7px 11px; font-size: 13.5px; }
.fields div + div { border-top: 1px solid rgba(255, 255, 255, .08); }
.fields dt { color: var(--fg-3); }
.fields dd { margin: 0; min-width: 0; }
.quiet { font-size: 12.5px; color: var(--fg-3); padding-left: 4px; }

/* Gary's screen beside the conversation: a small browser on the site it has open, light so it reads as a web page. */
.win.screen { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.win-screen { position: relative; display: flex; flex-direction: column; gap: 9px; min-width: 0; padding: 12px 12px 0;
  background: #111112; border-left: 1px solid rgba(255, 255, 255, .07); }
.scr-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 3px; font-size: 12.5px; }
.scr-top b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--live); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); }
.scr { position: relative; flex: 1; min-height: 0; overflow: hidden; border-radius: 10px 10px 0 0; background: #f3f3f0; color: #1c1c1e; }
.scr-bar { display: flex; align-items: center; gap: 5px; padding: 7px 9px; background: #e1e1dd; }
.scr-bar i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #b9b9b4; }
.scr-bar span { flex: 1; min-width: 0; margin-left: 5px; padding: 3px 9px; border-radius: 6px; background: #fff; font-size: 11.5px; color: #56565b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-page { display: grid; gap: 8px; padding: 12px 13px; font-size: 12.5px; line-height: 1.4; }
.scr-page p { color: #56565b; }
.scr-page .scr-h { font-size: 14.5px; font-weight: 700; color: #1c1c1e; }
.scr-rows { display: grid; margin: 0; border: 1px solid #d8d8d3; border-radius: 8px; background: #fff; }
.scr-rows div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 9px; }
.scr-rows div + div { border-top: 1px solid #e7e7e2; }
.scr-rows dt { font-weight: 600; }
.scr-rows dd { margin: 0; color: #5d5d62; text-align: right; }
.scr-cur { position: absolute; left: 58%; top: 52%; width: 15px; height: 15px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 2.8 16 9.4l-5.1 1.5-1.7 5.3Z' fill='%231c1c1e' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; }
@media (prefers-reduced-motion: no-preference) { .scr-cur { animation: point 5.5s ease-in-out infinite alternate; } }
@keyframes point { 0%, 12% { translate: 0 0; } 45%, 60% { translate: -64px 34px; } 100% { translate: 22px -18px; } }
.scr-foot { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; pointer-events: none; }
.scr-foot .btn { gap: 6px; height: 34px; padding: 0 16px 0 11px; background: #19191b; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .14); }
.scr-foot .app-chip { all: unset; display: grid; width: 17px; height: 17px; }
.scr-foot .app-chip svg { width: 17px; height: 17px; }

/* ---- ask anything: a bar that stays at the foot of the column and opens upward ---------------------------------- */
/* Fixed to the window, not sticky: it shows in every browser whatever the page around it does. Its grid repeats the
   page's three columns so the bar sits exactly under the reading column, and only that column gets the fade. */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; pointer-events: none; }
.dock-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr) 252px; max-width: 1560px; margin: 0 auto; }
.dock-cell { grid-column: 2; padding: 40px 24px max(18px, env(safe-area-inset-bottom));
  background: linear-gradient(to bottom, var(--bg-0), var(--bg) 60%); }
/* The browser pane inside the Claude desktop app shows less of a page than it reports: about 60px at the foot are cut off
   (seen 2026-11-17: a capture of the page shows the whole bar, the screen shows only its top edge). A page cannot measure
   that, so app.js marks the pane by its user agent and the bar sits that much higher there. In an ordinary browser
   nothing changes. Delete these two rules and the line in app.js if the pane stops doing it. */
.in-app-pane .dock-cell { padding-bottom: 82px; }
.in-app-pane main { padding-bottom: 192px; }
.ask { pointer-events: auto; max-width: var(--col); margin: 0 auto; border: 1px solid var(--line-2); border-radius: 18px; background: var(--thick);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 12px 44px rgba(0, 0, 0, .5); overflow: hidden; transition: border-color .15s; }
.ask:focus-within { border-color: rgba(255, 255, 255, .34); }
.ask-bar { display: flex; align-items: center; gap: 6px; height: 52px; padding: 0 9px 0 8px; }
.ask-gator { display: grid; place-items: center; width: 40px; height: 36px; flex: none; }
.ask-gator .gator { --s: 29px; grid-area: 1 / 1; }
.ask-gator .busy, .ask.working .ask-gator .idle { visibility: hidden; }
.ask.working .ask-gator .busy { visibility: visible; }
.ask-bar input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--fg); font: 16px var(--ui); }
.ask-bar input::placeholder { color: var(--fg-2); }
.round { display: grid; place-items: center; flex: none; width: 33px; height: 33px; border-radius: 50%; background: var(--button); color: var(--fg-2); transition: background .15s, color .15s; }
.ask.ready #ask-send, #ask-stop { background: #fff; color: #111; }
.ask[data-off] input { cursor: not-allowed; }

.ask-panel { border-bottom: 1px solid var(--line); }
.ask-panel header { display: flex; align-items: center; gap: 4px; padding: 11px 10px 4px 16px; font-size: 13.5px; color: var(--fg-2); }
.ask-panel header strong { margin-right: auto; font-weight: 600; color: var(--fg); }
.ask-panel header button { height: 28px; padding: 0 9px; border-radius: 8px; color: var(--fg-2); transition: color .12s, background .12s; }
.ask-panel header button:hover { color: var(--fg); background: rgba(255, 255, 255, .07); }
.ask-panel header .ask-human { display: inline-flex; align-items: center; height: 28px; padding: 0 9px; border-radius: 8px; color: var(--fg-2);
  text-decoration: none; transition: color .12s, background .12s; }
.ask-panel header .ask-human:hover { color: var(--fg); background: rgba(255, 255, 255, .07); }
.ask-log { display: flex; flex-direction: column; gap: 14px; max-height: min(54vh, 470px); overflow-y: auto; padding: 8px 16px 16px; overscroll-behavior: contain; }
.hint { font-size: 14px; color: var(--fg-2); }
.starters { display: grid; gap: 6px; }
.starters button { padding: 9px 13px; border-radius: 12px; background: rgba(255, 255, 255, .055); font-size: 14.5px; line-height: 1.4; text-align: left; color: var(--fg-1); transition: background .12s; }
.starters button:hover { background: rgba(255, 255, 255, .1); }
.msg.q { align-self: flex-end; max-width: 86%; padding: 8px 14px; border-radius: 18px; background: var(--raised); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.msg.a { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 6px; align-items: start; }
.msg.a .gator { --s: 26px; margin: 1px 0 0 -5px; }
.msg.a .body { font-size: 15px; line-height: 1.58; color: var(--fg-1); overflow-wrap: anywhere; }
.msg.a .body p + p, .msg.a .body ul + p, .msg.a .body p + ul { margin-top: 8px; }
.msg.a .body ul { display: grid; gap: 4px; }
.msg.a .body li { position: relative; padding-left: 16px; }
.msg.a .body li::before { content: ""; position: absolute; left: 3px; top: .66em; width: 4px; height: 4px; border-radius: 50%; background: var(--fg-3); }
.msg.a .body code { font: 13.5px ui-monospace, "SF Mono", Menlo, monospace; padding: 1px 5px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.msg.a .body a { color: var(--fg); text-decoration: underline; text-decoration-style: dotted; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.msg.a .body a:hover { text-decoration-style: solid; }
.related { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.related a { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--fg-2); text-decoration: none; transition: color .12s, border-color .12s; }
.related a:hover { color: var(--fg); border-color: rgba(255, 255, 255, .4); }
.err { margin-top: 6px; font-size: 14px; color: var(--review); }
.dots { display: inline-flex; gap: 4px; padding: 9px 0; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-3); }
@media (prefers-reduced-motion: no-preference) {
  .dots i { animation: blink 1.1s ease-in-out infinite; }
  .dots i:nth-child(2) { animation-delay: .15s; }
  .dots i:nth-child(3) { animation-delay: .3s; }
}
@keyframes blink { 0%, 60%, 100% { opacity: .35; } 30% { opacity: 1; } }

/* ---- rows of articles: on the home page, on a topic's page, and under an article ---------------------------------- */
.doc-rows li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 600; color: var(--fg-1); text-decoration: none; transition: color .12s, background .12s; }
.doc-rows li a:hover { color: var(--fg); background: rgba(255, 255, 255, .03); }
.doc-rows li a > svg { flex: none; color: var(--fg-2); }
.doc-rows .t { display: grid; gap: 3px; min-width: 0; }
.doc-rows .d { font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--fg-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* Inside the article column the page's own list rules would put bullets and dotted links on them. */
.prose > ul.doc-rows { display: block; margin: 0 0 52px; color: inherit; }
.prose > ul.doc-rows > li { padding-left: 0; }
.prose > ul.doc-rows > li::before { display: none; }
.prose .doc-rows a { text-decoration: none; }

/* ---- the home page: a heading over the search box, the articles to start with, then a card for each topic --------- */
.home, .topic { --col: 860px; }
.home .shell, .home .dock-grid, .topic .shell, .topic .dock-grid { grid-template-columns: 280px minmax(0, 1fr); }
.home .rail, .topic .rail { display: none; }
.home .ask, .topic .ask { max-width: 688px; }
.find-hero { padding: 34px 0 30px; }
.find-hero h1 { max-width: 600px; margin-bottom: 26px; font-size: clamp(36px, 5.6vw, 54px); }
.find-field { display: flex; align-items: center; gap: 10px; width: min(100%, 440px); height: 48px; padding: 0 10px 0 14px; border: 1px solid var(--line-2);
  border-radius: 12px; background: var(--tile); color: var(--fg-2); font-size: 15.5px; text-align: left; transition: border-color .15s, background .15s; }
.find-field span { flex: 1; }
.find-field:hover { border-color: rgba(255, 255, 255, .36); background: var(--tile-up); }
.topics-head { font: 400 28px/1.2 var(--display); margin: 0 0 18px; }
.topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.topics:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.topic-card { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 12px; background: var(--tile); color: var(--fg);
  text-decoration: none; overflow: hidden; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); transition: border-color .15s, background .15s; }
.topic-card:hover { border-color: rgba(255, 255, 255, .34); background: var(--tile-up); }
.topic-art { display: flex; align-items: center; height: 64px; padding: 0 20px; border-bottom: 1px solid var(--line); color: var(--fg-1); }
.topic-card strong { padding: 16px 20px 6px; font: 400 21px/1.2 var(--display); }
.topic-card .d { padding: 0 20px 20px; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); text-wrap: pretty; }

/* ---- a topic's page: its description, how many articles, then each article with its first sentence --------------- */
.prose > p.lede { margin-bottom: 8px; font-size: 17px; }
.prose > p.count { margin-bottom: 14px; font-size: 14px; color: var(--fg-3); }

/* ---- the foot of an article: "Did this answer your question?", then related articles ------------------------------- */
.end { margin-top: 64px; }
.rate { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rate-q { font-size: 15px; color: var(--fg-1); }
.faces { display: flex; gap: 8px; }
.faces button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 11px; color: var(--fg-2);
  transition: color .12s, background .12s, border-color .12s; }
.faces button:hover { color: var(--fg); border-color: rgba(255, 255, 255, .36); background: rgba(255, 255, 255, .05); }
.faces button[aria-pressed="true"] { color: var(--bg); background: var(--live); border-color: var(--live); }   /* blue, never red or green */
.thanks { font-size: 14px; color: var(--fg-2); }
.thanks:empty { display: none; }
.rate .gator { --s: 32px; margin-left: auto; }
.reading { margin-top: 40px; }
.reading h2 { font: 400 24px/1.2 var(--display); margin-bottom: 8px; }

/* ---- the foot of the site --------------------------------------------------------------------------------------- */
/* Its foot is padded so the ask bar, fixed over the window's foot, never covers a link. */
.site-foot { position: relative; background: var(--well); border-top: 1px solid var(--line); }
.site-foot-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 32px 60px; max-width: 1560px; margin: 0 auto; padding: 44px 40px 156px; }
.at-foot .dock-cell { background: none; }               /* over the darker foot, the slate fade would show as a band */
.in-app-pane .site-foot-in { padding-bottom: 220px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 28px 72px; }
.foot-group h4 { margin-bottom: 10px; font: 600 13.5px/1.3 var(--ui); color: var(--fg-3); }
.foot-group a { display: block; padding: 4px 0; font-size: 14.5px; color: var(--fg-2); text-decoration: none; transition: color .12s; }
.foot-group a:hover { color: var(--fg); }

/* ---- the search dialog ------------------------------------------------------------------------------------------ */
.find { width: min(640px, calc(100vw - 32px)); max-width: none; max-height: min(620px, calc(100vh - 120px)); max-height: min(620px, calc(100dvh - 120px));
  margin: 11vh auto auto; padding: 0; border: 1px solid var(--line-2); border-radius: 16px; background: var(--thick); color: var(--fg);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 24px 70px rgba(0, 0, 0, .45); overflow: hidden; }
.find[open] { display: flex; flex-direction: column; }
.find::backdrop { background: rgba(0, 0, 0, .6); }
.find-top { display: flex; flex: none; align-items: center; gap: 10px; height: 58px; padding: 0 12px 0 18px; border-bottom: 1px solid var(--line); color: var(--fg-2); }
.find-top input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--fg); font: 17px var(--ui); }
.find-top input::placeholder { color: var(--fg-3); }
.find-close { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--fg-2); }
.find-close:hover { color: var(--fg); background: rgba(255, 255, 255, .08); }
.find-chips { display: flex; flex: none; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.find-chips:empty { display: none; }
.find-chips button { flex: none; height: 28px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--fg-2); white-space: nowrap;
  transition: color .12s, border-color .12s; }
.find-chips button:hover { color: var(--fg); border-color: rgba(255, 255, 255, .36); }
.find-chips button[aria-pressed="true"] { color: var(--bg); background: var(--fg); border-color: var(--fg); }
.find-list { flex: 1; min-height: 0; padding: 6px; overflow-y: auto; overscroll-behavior: contain; }
.find-list li[role="option"] { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.find-list li[role="option"]:hover { background: rgba(255, 255, 255, .05); }
.find-list li[aria-selected="true"] { background: rgba(255, 255, 255, .1); }
.find-list .ri { flex: none; color: var(--fg-2); }
.find-list .rw { display: grid; flex: 1; gap: 2px; min-width: 0; }
.find-list .t { overflow: hidden; font-size: 15px; color: var(--fg-1); text-overflow: ellipsis; white-space: nowrap; }
.find-list .t b { font-weight: 700; color: var(--fg); }
.find-list .c { overflow: hidden; font-size: 13px; color: var(--fg-3); text-overflow: ellipsis; white-space: nowrap; }
.find-list .enter { flex: none; color: var(--fg-3); visibility: hidden; }
.find-list li[aria-selected="true"] .enter { visibility: visible; }
.find-list .ask-row .ri { color: var(--live); }
.find-list .empty { padding: 14px 12px 8px; font-size: 14.5px; color: var(--fg-2); }
.find-keys { display: flex; flex: none; align-items: center; gap: 5px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--fg-3); }
.find-keys kbd:not(:first-child) { margin-left: 8px; }
.find-keys kbd + kbd { margin-left: 0; }

/* ---- narrower screens --------------------------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .shell, .dock-grid { grid-template-columns: 264px minmax(0, 1fr); }
  .rail { display: none; }
}
@media (max-width: 960px) {
  .shell, .dock-grid, .home .shell, .home .dock-grid, .topic .shell, .topic .dock-grid { grid-template-columns: minmax(0, 1fr); }
  .dock-cell { grid-column: 1; padding-left: 16px; padding-right: 16px; }
  .links, .side { display: none; }
  .menu-btn { display: grid; }
  /* The Topics button opens the sidebar over the page. */
  .side-open .side { display: block; position: fixed; top: var(--top); left: 0; bottom: 0; z-index: 28; width: min(320px, 86vw); height: auto; align-self: stretch;
    background: var(--thick); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-right: 1px solid var(--line-2); box-shadow: 0 0 60px rgba(0, 0, 0, .45); }
  .side-open::after { content: ""; position: fixed; inset: var(--top) 0 0; z-index: 27; background: rgba(0, 0, 0, .55); }
  .top { gap: 10px; padding: 0 16px; }
  .find-btn { width: auto; flex: 0 1 170px; min-width: 0; }
  main { padding: 14px 16px 128px; }
  .site-foot-in { padding: 36px 20px 156px; }
}
@media (max-width: 680px) {
  :root { --top: 64px; }
  .brand .by, .find-btn kbd, .find-btn span, .find-field kbd { display: none; }
  .find-btn { flex: none; justify-content: center; width: 38px; padding: 0; }
  .topics, .topics:has(> :nth-child(5)) { grid-template-columns: minmax(0, 1fr); }
  .find-hero { padding-top: 18px; }
  .meta { flex-wrap: wrap; }
  .find { width: 100vw; height: 100vh; height: 100dvh; max-height: none; margin: 0; border: 0; border-radius: 0; }
  .find-keys { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step .art { height: 88px; }
  .cards { grid-template-columns: 1fr; }
  .lead.art, .lead.steps, .boxes { grid-template-columns: minmax(0, 1fr); }
  .lead-art { height: 230px; margin-top: 0; }
  .release { grid-template-columns: minmax(0, 1fr); }
  .rows li { flex-wrap: wrap; }
  .rows em { flex-basis: 100%; padding-left: 34px; }
  .cat { margin-top: 64px; }
  .wash { height: 372px; border-radius: 18px; }
  .win, .win.right { inset: 30px 18px 0; grid-template-columns: minmax(0, 1fr); }
  .win-side { display: none; }
  .win.screen { grid-template-columns: minmax(0, 1fr); }
  .win.screen .win-chat { display: none; }                     /* on a phone the screen is the picture */
  .win-screen { border-left: 0; }
  .win-chat { padding: 12px 13px 0; }
  .me, .gary { max-width: 94%; }
}
