@charset "UTF-8";
/* The menu: the app's parts as slips of squared paper hanging from the header on paper clips, written in ballpoint
   (Gochi Hand, in fonts/). Pointed at, a slip swings straight and slides down; the slip of the part in view has a gold
   clip and a yellow highlight (menu.js). The slips drop in one after another when the page opens. Comes after
   blueprint.css. */
@font-face{font-family:"Gochi Hand";font-style:normal;font-weight:400;font-display:swap;src:url("fonts/gochi-hand-normal-400.woff2") format("woff2")}

html{scroll-padding-top:110px}
.top{z-index:60;background:color-mix(in srgb,var(--paper) 92%,transparent);border-bottom:1px solid rgba(255,255,255,.55)}
.top-row{display:flex;align-items:flex-start;gap:18px;height:92px;padding:0 28px}
.top-row>.brand,.top-row>.launch{margin-top:26px;flex:none}
.slips-nav{flex:1 1 auto;min-width:0;align-self:stretch}
.slips{position:relative;display:flex;justify-content:center;align-items:flex-start;gap:8px;margin:0;padding:10px 0 0;list-style:none}
.slips li{flex:none}
.slip{position:relative;display:block;padding-top:6px;text-decoration:none;color:#1f3f9a;-webkit-tap-highlight-color:transparent}
.slip-paper{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:68px;padding:0 10px 10px;rotate:var(--r);transform-origin:50% 0;
 box-shadow:0 3px 5px rgba(0,0,0,.3);transition:rotate .5s cubic-bezier(.3,1.6,.5,1),translate .5s cubic-bezier(.3,1.6,.5,1);
 background:linear-gradient(rgba(70,120,200,.2) 1px,transparent 1px) 0 0/8px 8px,linear-gradient(90deg,rgba(70,120,200,.2) 1px,transparent 1px) 0 0/8px 8px,#fbfdff;
 animation:slip-in .75s cubic-bezier(.3,1.5,.5,1) backwards;animation-delay:calc(var(--i,0) * 70ms + 200ms)}
@keyframes slip-in{from{translate:0 -90px}}
.slip-paper>span{position:relative;isolation:isolate;font:400 20px/1 "Gochi Hand",cursive;white-space:nowrap}
.slip-paper>span::before{content:"";position:absolute;left:-4px;right:-4px;top:40%;height:55%;z-index:-1;background:rgba(255,214,64,.9);
 transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.6,0,.3,1)}
.slip small{font:500 9px/1 var(--mono);color:#5d6f95;margin-bottom:5px;letter-spacing:.04em}
.slip-clip{position:absolute;left:50%;top:-4px;width:16px;height:36px;margin-left:-8px;z-index:2;overflow:visible;fill:none;stroke:#d5dade;stroke-width:1.7;
 stroke-linecap:round;filter:drop-shadow(0 1px 1px rgba(0,0,0,.45));transition:stroke .3s}
.slip:hover .slip-paper,.slip:focus-visible .slip-paper{rotate:0deg;translate:0 7px}
.slip:focus-visible{outline:none}
.slip:focus-visible .slip-paper{outline:2px solid var(--note);outline-offset:3px}
.slip[aria-current] .slip-clip{stroke:#f2c935}
.slip[aria-current] .slip-paper>span::before{transform:scaleX(1)}

/* The way into the app: round, with a yellow shadow under it */
.top .launch{min-height:40px;padding:0 20px;border-radius:999px;font-size:14px;box-shadow:0 4px 0 color-mix(in srgb,var(--note) 70%,transparent);
 transition:background .2s,border-color .2s,translate .3s cubic-bezier(.34,1.56,.64,1),box-shadow .3s}
.top .launch:hover{translate:0 -2px;box-shadow:0 6px 0 var(--note)}

/* Narrower: the slips a little smaller, then the launch button short, then the slips on a row of their own that
   scrolls sideways, with the current one kept in view */
@media (max-width:1440px){
 .slips{gap:6px}
 .slip-paper{padding:0 8px 9px}
 .slip-paper>span{font-size:18px}
}
@media (max-width:1320px){.top .launch .long{display:none}}
@media (max-width:1180px){
 html{scroll-padding-top:156px}
 .top-row{flex-wrap:wrap;height:auto;padding:0 16px;gap:0 14px;justify-content:space-between}
 .top-row>.brand,.top-row>.launch{margin-top:14px}
 .slips-nav{order:3;flex:1 0 100%;margin:0 -16px}
 .slips{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;padding:12px 16px 12px;gap:6px;-webkit-overflow-scrolling:touch}
 .slips::-webkit-scrollbar{display:none}
 .slip-paper{height:54px;padding:0 9px 8px}
 .slip small{margin-bottom:4px}
 .slip:hover .slip-paper{translate:0 4px}
}
@media (max-width:640px){
 .top .brand{font-size:15px;gap:8px}
 .top .brand img{width:28px;height:28px}
}
@media (prefers-reduced-motion:reduce){.slip-paper{animation:none;transition:none}}
