@font-face{font-family:"geist mono";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/geist-mono-regular.woff2) format("woff2")}
@font-face{font-family:"geist mono";font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/geist-mono-bold.woff2) format("woff2")}

/* light is default; literal colors first so browsers without custom properties still work */
:root{--bg:#f7f6f2;--fg:#2b2b2b}
@media (prefers-color-scheme:dark){:root{--bg:#1c1c1c;--fg:#d6d4cf}}
:root[data-theme="light"]{--bg:#f7f6f2;--fg:#2b2b2b;color-scheme:light}
:root[data-theme="dark"]{--bg:#1c1c1c;--fg:#d6d4cf;color-scheme:dark}

*{box-sizing:border-box}
html{
  background:#f7f6f2;color:#2b2b2b;background:var(--bg);color:var(--fg);
  font-family:"geist mono",ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;
  font-size:16px;line-height:1.65;-webkit-text-size-adjust:100%;text-size-adjust:100%;
}
body{margin:0}
.wrap{max-width:66ch;margin:0 auto;padding:2.5rem 1.25rem 3rem}

a{color:inherit;text-decoration:underline;text-underline-offset:.2em;text-decoration-thickness:1px}
a:hover,a:focus-visible{text-decoration-thickness:2px}
:focus-visible{outline:2px solid currentColor;outline-offset:2px}
::selection{background:var(--fg);color:var(--bg)}

h1,h2,h3{font-size:1em;font-weight:700;margin:2.25em 0 .5em}
h1{margin-top:0}
p,ul,ol,pre,blockquote{margin:0 0 1em}
ul,ol{list-style:none;padding:0}
em{font-style:normal;text-decoration:underline dotted}
strong{font-weight:700}
pre,code{font:inherit}
pre{border:1px dashed currentColor;padding:1em;overflow:auto}
:not(pre)>code{border:1px dashed currentColor;padding:0 .35ch;border-radius:2px;white-space:nowrap}
blockquote p:last-child{margin-bottom:0}
blockquote{padding-left:2ch;border-left:1px solid currentColor;margin-left:0}
img{max-width:100%;height:auto}
hr{border:0;border-top:1px dashed currentColor;margin:2em 0}

header{display:flex;flex-wrap:wrap;align-items:baseline;margin-bottom:3em}
header .brand{font-weight:700;text-decoration:none;margin-right:auto}
header nav a{margin-left:2ch}
header nav a[aria-current]{text-decoration:none;font-weight:700}
header nav a[aria-current]::before{content:"→ "}
button.theme{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline dotted;text-underline-offset:.2em}

.links li{padding-left:2ch;text-indent:-2ch}
.links li::before{content:"→ "}

.rows li{display:grid;grid-template-columns:11ch 1fr;grid-column-gap:2ch;margin-bottom:.6em}
.rows .when{white-space:nowrap}
.rows .what span{display:block}

.back{margin-bottom:2em}

footer{margin-top:4em;padding-top:1em;border-top:1px dashed currentColor;display:flex;flex-wrap:wrap}
footer span{margin-right:auto}
footer a{margin-left:2ch}

@media (max-width:36em){
  html{font-size:15px}
  .wrap{padding-top:1.5rem}
  header{margin-bottom:2em}
  header nav{width:100%;margin-top:.25em}
  header nav a{margin:0 1.5ch 0 0;display:inline-block}
  header nav a[aria-current]::before{content:none}
  .rows li{display:block;margin-bottom:1em}
}

@media print{
  :root{--bg:#fff;--fg:#000}
  header nav,button.theme,footer{display:none}
  a[href^="http"]::after{content:" (" attr(href) ")"}
}
