/* The documentation pages' type and the site's header and footer (`_layouts/docs.html`,
   `_includes/site-header-style.html`) as a style sheet, for a page whose policy admits no inline
   style: the API keys page (`api-keys.html`, #764). Built by the site from the same includes, so it
   stays in step with them. */
@font-face{font-family:"Sleevesight Flex";src:url(/assets/fonts/RobotoFlex-page.woff2) format("woff2");
  font-weight:400 700;font-stretch:88% 100%;font-display:swap}
@font-face{font-family:"Sleevesight Slab";src:url(/assets/fonts/RobotoSlab-page.woff2) format("woff2");
  font-weight:350 700;font-display:swap}
@font-face{font-family:"Sleevesight Mono";src:url(/assets/fonts/RobotoMono-page.woff2) format("woff2");
  font-weight:500;font-display:swap}
:root{
  --bg:#fff; --ink:#141a22; --muted:#596473; --line:#d2d8e0; --sight:#cf222e;
  --f-ui:"Sleevesight Flex",system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-text:"Sleevesight Slab",ui-serif,Georgia,serif;
  --tile-bg:#fff; --tile-edge:#00000026; --tile-ink:#141a22; --rim:#1f2328; --core:none; --groove:inline;
}
body{background:var(--bg);font-family:var(--f-text)}
.skip{position:absolute;left:16px;top:-48px;background:#fafbfc;padding:8px 12px;border-radius:8px;z-index:20;font-family:var(--f-ui)}
.skip:focus{top:12px}
main.markdown-body{padding-top:8px}
.markdown-body{font-family:var(--f-text);font-weight:350;font-size:18px;line-height:1.55}
.markdown-body strong,.markdown-body b{font-weight:700}
.markdown-body h1,.markdown-body h2,.markdown-body h3{font-family:var(--f-ui);font-weight:700;letter-spacing:-.01em}
.markdown-body h1{font-stretch:90%}
.markdown-body h2,.markdown-body h3{font-stretch:92%}
.markdown-body code{font-family:"Sleevesight Mono",ui-monospace,"SFMono-Regular",Menlo,monospace;font-weight:500}
.markdown-body .docs-nav{font-family:var(--f-ui);font-size:16px;margin:0 0 24px}
.markdown-body .docs-nav.foot{margin:40px 0 0}
.markdown-body .docs-nav:has(+ .docs-version),.markdown-body .docs-nav:has(+ .docs-wip){margin-bottom:4px}
.markdown-body .docs-version{font-family:var(--f-ui);font-size:14px;color:var(--muted);margin:0 0 24px}
.markdown-body .made-in{font-family:var(--f-ui);font-size:14px;line-height:1.45;color:var(--muted);margin:0 0 24px}
.markdown-body .docs-wip{font-family:var(--f-ui);font-size:16px;line-height:1.45;margin:8px 0 24px;padding:10px 14px;
  background:#fff8c5;border:1px solid #d4a72c66;border-radius:6px}
.markdown-body img{border:1px solid #d0d7de;border-radius:6px}
/* The app's screenshots (`_includes/screenshots.html`): a row of phone screens at about the size
   of a phone in the hand, two to a row on a phone. */
.markdown-body .shots{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 6px}
.markdown-body .shots figure{margin:0;flex:0 1 240px;min-width:0}
.markdown-body .shots a{display:block}
.markdown-body .shots img{display:block;width:100%;height:auto;box-sizing:border-box;background:#f8f8fa}
.markdown-body .shots figcaption{font-family:var(--f-ui);font-size:14px;line-height:1.4;color:var(--muted);margin-top:6px}
.markdown-body .shots-from{font-family:var(--f-ui);font-size:14px;color:var(--muted);margin:0 0 16px}
@media (max-width:600px){.markdown-body .shots figure{flex-basis:calc(50% - 8px)}}
footer{margin-top:40px}

header.top{font-family:var(--f-ui);font-weight:400}
.wrap{max-width:1040px;margin:0 auto;padding:0 16px}
/* The header. At the top of the page it is large. Scrolled down, it stays at the top of the window,
   small (`.sl-compact`, set by the script at the end). Where the menu does not fit on one line beside the
   logo, its items go on lines of their own under it (`.sl-stack`); scrolled down, a stacked menu is
   hidden until the top. Without the script, the header is large and scrolls away with the page, and
   the menu stacks below 506 px, a little above where the script's own test stacks it (about 487 px
   with the page's Flex). */
header.top .row{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;padding:20px 16px}
.brand{display:flex;align-items:center;flex:none;text-decoration:none}
/* The logo: the one-line logo (#985), as in the app's header: "Sleeve", then "sight" and the record
   moved up beside it from where they are in the brand sheet's 8b mark. The svg is its ink box, from
   the top of the "l" to the foot of the "g", 192.11 by 35.16 units; the type is 30 px at the top of
   the page and 24 px scrolled down (37.6 units to the em), as the linear logo's (`logo-linear.html`). */
.brand>svg{display:block;flex:none;width:153.28px;height:28.05px;overflow:visible}
nav.top{flex:none}
.sl-stack header.top .row{flex-direction:column;align-items:flex-start}
.sl-stack nav.top ul{flex-direction:column;gap:0}
.sl-stack nav.top a{display:block;padding:3px 0}
@media (max-width:506px){
  html:not(.js) header.top .row{flex-direction:column;align-items:flex-start}
  html:not(.js) nav.top ul{flex-direction:column;gap:0}
  html:not(.js) nav.top a{display:block;padding:3px 0}
}
.js{scroll-padding-top:80px}
.js header.top .bar{position:fixed;top:0;left:0;right:0;z-index:10;background:var(--bg);border-bottom:1px solid transparent}
.sl-compact header.top .bar{border-bottom-color:var(--line);box-shadow:0 8px 18px -14px rgba(0,0,0,.45)}
.sl-compact header.top .row{padding-top:12px;padding-bottom:12px}
.sl-compact .brand>svg{width:122.62px;height:22.44px}
.sl-compact nav.top ul{font-size:15px;gap:4px 18px}
.sl-compact.sl-stack header.top .row{flex-direction:row}
.sl-compact.sl-stack nav.top{display:none}
@media (prefers-reduced-motion: no-preference){
  header.top .bar{transition:border-color .25s,box-shadow .25s}
  header.top .row{transition:padding .25s ease}
  .brand>svg{transition:width .25s ease,height .25s ease}
  nav.top ul{transition:font-size .25s ease}
}
.sl-still *{transition:none!important}
/* The words (`#words`): outlined from Roboto Flex 400 at 88% width
   (`assets/logo/src/make_tile.py`), so they need no font; "Sleeve" in ink (`--tile-ink`, the page's
   `--ink` in light and dark), and "sight" in `--sight`. Each word is a group of paths, one to a
   letter (`#w-sleeve-1` to `#w-sight-5`), so an intro can show or turn each letter on its own. The
   tile, in the intros only: white with a faint edge on light, since the page is white too, and
   black with a faint edge on dark. The record (`#lp`) is the eye logo's disc in its colours, set
   through variables, since a selector cannot reach into a <use>. On dark, the record's rim takes
   the outline's grey, and the groove gives way to a wider black disc, so the grey meets the black
   directly. */
.t-bg{fill:var(--tile-bg);stroke:var(--tile-edge)}
.t-ink{fill:var(--tile-ink)}
.t-red{fill:var(--sight)}
/* The shapes' sheet (`.sl-defs`) out of the flow, and the record's colours, by class rather than
   `style` attributes (`site-header.html`). */
.sl-defs{position:absolute}
.lp-rim{fill:var(--rim)}
.lp-core{display:var(--core)}
.lp-groove{display:var(--groove)}
nav.top ul{list-style:none;margin:0;padding:0;display:flex;gap:4px 22px;font-size:17px;white-space:nowrap}
nav.top a{color:var(--muted);text-decoration:none}
nav.top a:hover{color:var(--ink);text-decoration:underline}
footer{border-top:1px solid var(--line);padding:24px 0 40px;font-size:15px;color:var(--muted)}
footer p{margin:0 0 4px}
/* The line on where Sleevesight is made (#839), on the product page: set apart from the licence. */
footer .made-in{margin-bottom:12px}
/* A link off the site, in the line on where Sleevesight is made (`made-in.html`): an arrow after it,
   and "(external site, opens in a new tab)" for a screen reader. Not under `footer`: the documentation pages show the line
   under their title. */
.ext{vertical-align:-.02em;margin-left:.15em}
.ext-vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
/* Who wrote the page, and who edited or reviewed it (#743), on its own line above the licence: small
   caps at the footer's size, each label a link in its who's colour, underlined in that colour rather
   than the footer's link colour. Human is brick and AI slate-teal; the light colours are the defaults
   here, and a page's dark mode sets `--prov-human` (#e8836b) and `--prov-ai` (#7cc4d2). Each is at
   least 4.5:1 on its footer's background. The full stop that ends a label is for screen readers. */
footer .prov{font-variant-caps:all-small-caps}
footer .prov a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
footer .prov-human{color:var(--prov-human,#b5462e)}
footer .prov-ai{color:var(--prov-ai,#2f6f7e)}
footer .prov-stop{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* The intro (`.sl-intro`): set by the scripts when motion is allowed, the address has no `#`, the
   page was neither reloaded nor reached by Back or Forward (the navigation's type), and it was not
   reached by a link from another page of the site (the referrer's origin, #654), so a reload or a
   link within the site skips it without the address changing or anything kept in the browser. A
   typed address, a bookmark or a link from elsewhere sends no referrer of the site, and plays it. One
   of those below, picked at random (`data-logo`); no address picks one. Each plays large in the middle
   of the window (`.splash`) and ends on the 8b mark, which then shrinks onto the header's (`--fx`,
   `--fy`, `--fs`, measured by the script), "sight" and the record (`.ln`) moving up beside "Sleeve" on
   the way, as in the app (`sl-line`), so it lands as the one-line logo, where the header's own logo takes over at `--land` and the
   rest of the page fades in. Scrolling, a key or a click ends the intro at once. On the product page,
   activating the logo (a click, Enter or Space) plays one again where the page is (`replay()`); on
   the documentation pages the logo is a link to the product page.
   - C (`.sp-c`): the mark fades in (0-0.7 s), turns twice about the record's centre (0.9-2.9 s), and
     shrinks onto the header (3.3-3.95 s).
   - D (`.sp-d`): the tile, on C's timings, turning about the dot of the i; the tile fades as it flies,
     so the words land on the page, and the record then turns in beside "sight", growing as it fades
     in (4.2-4.9 s).
   - F (`.sp-f`): the mark fades in, and the record circles the words once about the dot of the i, the
     words staying still (0.9-2.9 s), on C's timings; the splash is a square centred on the dot, with
     room for the record's path (92.04 units from the dot at the farthest).
   - G (`.sp-g`): the record fades in alone, where it sits in the mark, and the words are typed in
     beside it, a letter at a time (`--at`, 0.9-2.68 s): an uneven beat, 120-210 ms between letters,
     and 360 ms between the lines, as for a return; no caret. Then the flight, on C's timings.
   - H (`.sp-h`): the mark fades in, and each e of "Sleeve" turns once about the centre of its ink, as
     the record does on hover (`lg-turn`, 900 ms), one after the other from the left, each 600 ms after
     the one before (0.9-3 s). Then the flight, on C's timings.
   - I (`.sp-i`): the record fades in where it sits in the mark, with the words to its right,
     left-aligned with each other, as far from it as "sight" is in the mark (10 units). Each word then
     slides left into its place, on C's turning easing: "Sleeve" (0.9-2.05 s), then "sight" (1.75-2.9 s),
     starting before "Sleeve" lands and passing behind the record, which is drawn over it. Then the
     flight, on C's timings.
   - R1 (`.sp-r1`): "Sleeve" fades in, and the record rolls in under it from the left, two and a
     quarter turns over its own circumference (2.25 × 2 × pi × 17.58 = 248.53 units), uncovering "sight"
     (0.7-3.15 s), fading in as it starts, since a wide window would otherwise show it waiting; then
     the flight (3.4-4.05 s).
   - R2 (`.sp-r2`): the tile slides left off the record behind it (0.56-2.1 s); the record shrinks into
     its place beside "sight" and the tile fades, leaving the words (2.52-3.92 s); then the flight
     (4.1-4.75 s).
   The reveals' timelines are the brand sheet's, played once. Hovering over or focusing the logo
   (`.play`) spins the record once in place. Nothing moves under "reduce motion". */
:root{--fly:3300ms;--land:3950ms}
[data-logo="r1"]{--fly:3400ms;--land:4050ms}
[data-logo="r2"]{--fly:4100ms;--land:4750ms}
.brand .lp-disc{transform-box:fill-box;transform-origin:center}
.splash{display:none}
.sl-intro .splash{position:fixed;z-index:30;left:var(--sx);top:var(--sy);pointer-events:none}
.sl-intro[data-logo="c"] .sp-c,.sl-intro[data-logo="d"] .sp-d,.sl-intro[data-logo="f"] .sp-f,
.sl-intro[data-logo="g"] .sp-g,.sl-intro[data-logo="h"] .sp-h,.sl-intro[data-logo="i"] .sp-i{display:block;animation:tl-in 700ms ease-out both,sl-gone 1ms var(--land) forwards}
.sl-intro[data-logo="r1"] .sp-r1,.sl-intro[data-logo="r2"] .sp-r2{display:block;animation:sl-gone 1ms var(--land) forwards}
.splash .fly{width:var(--sb);height:var(--sbh);transform-origin:0 0;animation:sl-fly 650ms cubic-bezier(.3,0,.2,1) var(--fly) both}
/* "sight" and the record move onto the line as the app's do: each part's place goes straight from the
   splash to the header in the window, so in the shrinking splash's units the move is the flight's
   progress (`--e`, eased as the flight) times `--fs` over the splash's scale at that moment. */
@property --e{syntax:"<number>";inherits:false;initial-value:0}
.splash .ln{animation:sl-line 650ms cubic-bezier(.3,0,.2,1) var(--fly) both;
  transform:translate(calc(63.84px * var(--e) * var(--fs) / (1 + (var(--fs) - 1) * var(--e))),
                      calc(-33.84px * var(--e) * var(--fs) / (1 + (var(--fs) - 1) * var(--e))))}
.splash .spin{width:100%;height:100%;animation:tl-spin 2000ms cubic-bezier(.45,0,.55,1) 900ms both}
.splash svg{display:block;width:100%;height:100%;overflow:visible}
/* The record's path is about the dot, the origin of the words' units. */
.sp-f .orbit{transform-box:view-box;transform-origin:0 0;animation:lg-turn 2000ms cubic-bezier(.45,0,.55,1) 900ms both}
/* G's letters each show at their key's moment. H's e's each turn about the centre of their ink (set
   on each <use> in the words' units, `transform-box: view-box`), on the hover's spin (`lg-turn`,
   900 ms). */
.sp-g .key{animation:tl-in 1ms var(--at) both}
.sp-h .turn{transform-box:view-box;animation:lg-turn 900ms cubic-bezier(.45,0,.55,1) var(--at) both}
/* I's words slide in from where they start, right of the record, each by its own distance in the
   words' units. */
.sp-i .i-sleeve{animation:i-sleeve 1150ms cubic-bezier(.45,0,.55,1) 900ms both}
.sp-i .i-sight{animation:i-sight 1150ms cubic-bezier(.45,0,.55,1) 1750ms both}
.sp-d .t-bg{animation:tl-bare 650ms cubic-bezier(.3,0,.2,1) var(--fly) both}
.splash .rv-all{animation:rv-all 7s both}
.r1-rec{transform-box:fill-box;transform-origin:center;animation:r1-turn 7s both}
.r1-roll{animation:r1-roll 7s both,r1-show 7s both}
.r1-wipe{animation:r1-roll 7s both}
.r2-pan{animation:r2-pan 7s both}
.r2-tile{animation:r2-slide 7s both}
.r2-bg{animation:r2-bg 7s both}
.r2-rec{animation:r2-shrink 7s both}
.sl-wait header.top .brand,.sl-wait header.top nav,.sl-wait main,.sl-wait footer{opacity:0}
.sl-intro .brand>svg{animation:sl-hold var(--land)}
.sl-intro header.top nav,.sl-intro main,.sl-intro footer{animation:sl-arrive 450ms ease-out var(--land) both}
.sl-intro[data-logo="d"] .brand .lp-disc{animation:d-rec 700ms cubic-bezier(.2,0,.2,1) calc(var(--land) + 250ms) both}
@media (prefers-reduced-motion: no-preference){
  .brand.play .lp-disc{animation:lg-turn 900ms cubic-bezier(.45,0,.55,1)}
}
@keyframes sl-fly{to{transform:translate(var(--fx),var(--fy)) scale(var(--fs))}}
@keyframes sl-line{to{--e:1}}
@keyframes sl-gone{from,to{visibility:hidden;opacity:0}}
@keyframes sl-hold{from,to{opacity:0}}
@keyframes sl-arrive{from{opacity:0}}
@keyframes tl-in{from{opacity:0}}
@keyframes tl-bare{to{opacity:0}}
@keyframes tl-spin{from{transform:rotate(0)}to{transform:rotate(720deg)}}
@keyframes lg-turn{to{transform:rotate(360deg)}}
@keyframes i-sleeve{from{transform:translateX(138.27px)}}
@keyframes i-sight{from{transform:translateX(117.58px)}}
@keyframes d-rec{from{opacity:0;transform:rotate(-360deg) scale(.6)}to{opacity:1;transform:none}}
@keyframes rv-all{0%{opacity:0}5%,100%{opacity:1}}
@keyframes r1-roll{0%,10%{transform:translateX(-248.53px);animation-timing-function:cubic-bezier(.45,0,.3,1)}45%,100%{transform:none}}
@keyframes r1-turn{0%,10%{transform:rotate(-810deg);animation-timing-function:cubic-bezier(.45,0,.3,1)}45%,100%{transform:none}}
@keyframes r1-show{0%,10%{opacity:0}20%,100%{opacity:1}}
@keyframes r2-pan{0%,36%{transform:translateX(-39.5px);animation-timing-function:cubic-bezier(.45,0,.3,1)}56%,100%{transform:none}}
@keyframes r2-slide{0%,8%{transform:translateX(140px);animation-timing-function:cubic-bezier(.45,0,.2,1)}30%,100%{transform:none}}
@keyframes r2-bg{0%,38%{opacity:1}54%,100%{opacity:0}}
@keyframes r2-shrink{0%,36%{transform:translate(-126.12px,-51.55px) scale(3.6405);animation-timing-function:cubic-bezier(.45,0,.3,1)}56%,100%{transform:none}}

