/* What the ten pages share. Loaded after each page's own styles, so what is
   here is the same everywhere: the typeface, the bar that follows you, the
   way from one page to the next, the install panel, the scene captions. */

@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;
  src:url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Archivo';font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;
  src:url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* From one page to the next: the browser cross-fades, the bar stays put. */
@view-transition{navigation:auto}
.sitebar{view-transition-name:sitebar}

.skip{position:fixed;left:12px;top:-60px;z-index:60;background:#fff;color:#000;padding:10px 16px;border-radius:999px;font-family:var(--display);font-weight:700;font-size:15px;border:0}
.skip:focus{top:10px}

/* ---------- the bar ---------- */
.sitebar{position:fixed;top:0;left:0;right:0;z-index:40;display:flex;align-items:center;gap:14px;height:54px;padding:0 var(--gutter);
  font-family:var(--display);font-size:15px;font-weight:500;color:#fff;transition:background .25s ease,border-color .25s ease;border-bottom:1.5px solid transparent}
.sitebar.solid{background:#000;border-bottom-color:var(--g2)}
.sitebar a{border:0;color:inherit}
.sitebar .home{font-weight:700;display:inline-flex;align-items:center;min-height:44px}
.sitebar .here{color:var(--g5);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:0;transition:opacity .25s}
.sitebar.solid .here{opacity:1}
.sitebar .here::before{content:'/';margin-right:14px;color:var(--g3)}
.sitebar .grow{flex:1}
.sitebar button{all:unset;box-sizing:border-box;cursor:pointer;font:inherit;display:inline-flex;align-items:center;min-height:44px;padding:0 4px;white-space:nowrap}
.sitebar button:focus-visible,.sitebar a:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:6px}
.sitebar .all{border-bottom:0}
.sitebar .all span{border-bottom:1px solid currentColor;padding-bottom:1px}
.sitebar .go{min-height:36px;padding:0 16px;border-radius:999px;background:#fff;color:#000;font-weight:700;opacity:0;pointer-events:none;transition:opacity .25s}
.sitebar.solid .go{opacity:1;pointer-events:auto}
@media (max-width:640px){.sitebar{gap:10px;font-size:14px}.sitebar .here{display:none}}
/* The page's own top line gives way to the bar. */
.top{display:none !important}

/* ---------- the nine, one tap away ---------- */
.siteindex{position:fixed;inset:0;z-index:39;background:#000;color:#fff;padding:78px var(--gutter) 32px;overflow:auto;
  opacity:0;visibility:hidden;transform:translateY(-12px);transition:opacity .25s ease,transform .35s var(--ease),visibility 0s linear .3s}
.siteindex.open{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.siteindex ol{list-style:none;margin:0;padding:0;border-top:1.5px solid var(--g2)}
.siteindex li{border-bottom:1.5px solid var(--g2)}
.siteindex a{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:6px 28px;align-items:baseline;padding:16px 0;border:0;color:inherit}
.siteindex b{font-family:var(--display);font-weight:800;font-size:clamp(26px,4.6vw,60px);line-height:1;letter-spacing:-.03em;font-variation-settings:'wdth' 100;transition:font-variation-settings .45s var(--ease)}
.siteindex a:hover b,.siteindex a:focus-visible b{font-variation-settings:'wdth' 125}
.siteindex span{color:var(--g5);font-size:clamp(15px,1.4vw,19px)}
.siteindex [aria-current] b{color:var(--g4)}
.siteindex [aria-current] span::after{content:' You are here.';color:var(--g4)}
.siteindex .kin{margin:0 0 14px;font-family:var(--display);font-size:15px;color:var(--g5)}
@media (max-width:640px){.siteindex a{grid-template-columns:1fr}}

/* ---------- the way on, at the foot of every page ---------- */
.sitenext{background:#000;color:#fff;padding:clamp(40px,6vw,88px) var(--gutter) 84px;border-top:1.5px solid var(--g2)}
.sitenext .up{font-family:var(--display);font-size:16px;font-weight:500;color:var(--g5);margin:0 0 10px}
.sitenext .big{display:block;border:0;color:inherit}
.sitenext .big b{display:block;font-family:var(--display);font-weight:800;font-size:clamp(46px,10.5vw,190px);line-height:.86;letter-spacing:-.035em;margin-left:-.04em;font-variation-settings:'wdth' 62;transition:font-variation-settings .9s var(--ease)}
.sitenext .big:hover b,.sitenext .big:focus-visible b,.sitenext.seen .big b{font-variation-settings:'wdth' 112}
.sitenext .big span{display:block;margin-top:clamp(14px,2vw,26px);max-width:34rem;font-size:clamp(18px,1.5vw,21px);color:var(--g5)}
.sitenext nav{display:flex;flex-wrap:wrap;gap:8px 10px;margin-top:clamp(32px,5vw,64px)}
.sitenext nav a{font-family:var(--display);font-weight:600;font-size:15px;border:1.5px solid var(--g3);border-radius:999px;padding:9px 16px;min-height:44px;display:inline-flex;align-items:center}
.sitenext nav a:hover,.sitenext nav a:focus-visible{border-color:#fff}
.sitenext nav a[aria-current]{background:#fff;color:#000;border-color:#fff}
.sitenext .sign{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 32px;margin-top:clamp(32px,5vw,64px);padding-top:18px;border-top:1.5px solid var(--g2);font-size:14px;color:var(--g5)}
.sitenext .sign a{border-bottom-width:1px}
.sitenext .sign nav{margin:0;gap:8px 22px}
.sitenext .sign nav a{border:0;border-bottom:1px solid currentColor;border-radius:0;padding:0;min-height:0;font-family:inherit;font-weight:400;font-size:14px}
/* The page's own footer links are said once, here. */
.foot{display:none !important}

/* ---------- install: the line is shown, and what it will do ---------- */
.installpanel{border:0;padding:0;background:transparent;color:#fff;max-width:min(680px,calc(100vw - 24px));width:100%}
.installpanel::backdrop{background:rgba(0,0,0,.72)}
.installpanel .box{background:#000;border:1.5px solid #fff;border-radius:22px;padding:clamp(20px,3vw,34px)}
.installpanel h2{font-family:var(--display);font-weight:800;font-variation-settings:'wdth' 112;font-size:clamp(26px,3.4vw,40px);line-height:1;letter-spacing:-.03em;margin:0}
.installpanel p{margin:12px 0 0;color:var(--g5);font-size:16px}
.installpanel .line{display:flex;align-items:center;gap:12px;margin-top:18px;border:1.5px solid var(--g3);border-radius:14px;padding:12px 12px 12px 16px}
.installpanel code{flex:1;font-family:ui-monospace,'DejaVu Sans Mono',monospace;font-size:13.5px;line-height:1.45;overflow-wrap:anywhere;color:#fff}
.installpanel button{all:unset;box-sizing:border-box;cursor:pointer;font-family:var(--display);font-weight:700;font-size:15px;min-height:44px;padding:0 18px;border-radius:999px;border:1.5px solid #fff;display:inline-flex;align-items:center;white-space:nowrap}
.installpanel button.main{background:#fff;color:#000}
.installpanel button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.installpanel ol{margin:18px 0 0;padding:0 0 0 1.2em;color:#fff;font-size:16px}
.installpanel ol li{padding:3px 0}
.installpanel dl{margin:18px 0 0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 18px;font-size:15px;border-top:1.5px solid var(--g2);padding-top:16px}
.installpanel dt{color:var(--g5)}
.installpanel dd{margin:0;color:#fff}
.installpanel .foot2{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;margin-top:20px}
.installpanel .foot2 a{font-size:15px;color:var(--g5);border-bottom:1px solid currentColor}
.installpanel kbd{font-size:.8em}
[data-copy].copied{background:transparent !important;color:inherit !important}

/* ---------- motion: one switch, for everything that moves by itself ---------- */
.motion{all:unset;box-sizing:border-box;position:fixed;right:14px;bottom:14px;z-index:38;cursor:pointer;font-family:var(--display);font-weight:600;font-size:14px;
  min-height:44px;padding:0 16px;border-radius:999px;background:#000;color:#fff;border:1.5px solid var(--g3);display:inline-flex;align-items:center;gap:8px;
  opacity:0;pointer-events:none;transition:opacity .25s}
.motion.shown{opacity:1;pointer-events:auto}
.motion:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* Phones: the switch is a round button, so it covers as little as it can. */
@media (max-width:640px){.motion{right:10px;bottom:10px;width:44px;padding:0;justify-content:center}.motion span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}
.motion i{display:inline-block;width:10px;height:12px;border-left:3.5px solid #fff;border-right:3.5px solid #fff}
html[data-motion="paused"] .motion i{width:0;height:0;border:6px solid transparent;border-left:10px solid #fff;border-right:0}
html[data-motion="paused"] *,html[data-motion="paused"] *::before,html[data-motion="paused"] *::after{animation-play-state:paused !important}

/* ---------- the three steps: a word never covers its own text ---------- */
.steps li > h3{min-width:0;white-space:nowrap}
.steps li > p{min-width:0}

/* ---------- scenes: one caption, one frame ---------- */
.scene figcaption,.scene > figcaption{padding:14px 20px 16px;border-top:1.5px solid var(--g2);font-family:var(--body);font-size:15px;line-height:1.45;color:var(--g5);background:#000;text-align:left;position:static;margin:0}

/* ---------- wide screens: the heading on the left, its paragraph on the right ---------- */
@media (min-width:1100px){
  .sec > h2:has(+ .intro){float:left;width:56%;margin-right:0}
  .sec > h2 + .intro{margin-left:60%;margin-top:0;padding-top:.5em;max-width:30rem}
  .sec > h2 + .intro + *{clear:both}
  .sec > h2 + .intro::after{content:'';display:table;clear:both}
}

/* The slogan is said in the hero and at the foot; in between, once. */
@media (prefers-reduced-motion:reduce){.sitebar,.siteindex,.sitenext .big b{transition:none}}
