@font-face {
  font-family: "Reading";
  src: url("./assets/fonts/LiberationSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Note";
  src: url("./assets/fonts/LiberationMono-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #121212;
  --heading: #e8e8e8;
  --body: #bfbfbf;
  --metadata: #9b9b9b;
  --rule: #343434;
  --link: #c9c9c9;
  --underline: #686868;
  --footer: #808080;
}
* { box-sizing: border-box; }
html { margin: 0; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--heading);
  font-family: "Reading", Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--heading); outline-offset: 6px; }
a:hover { color: #fff; }
::selection { background: #dedede; color: #121212; }
.skip-link {
  position: absolute;
  top: -80px;
  left: 24px;
  z-index: 2;
  padding: 12px 16px;
  background: var(--heading);
  color: var(--background);
}
.skip-link:focus { top: 12px; color: var(--background); }
.site-header {
  min-height: 100px;
  margin: 0 auto;
  max-width: 1232px;
  width: calc(100% - 208px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--rule);
}
.name { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; letter-spacing: .01em; text-decoration: none; }
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font: 10px "Note", "Courier New", monospace;
  letter-spacing: .075em;
  text-transform: uppercase;
  text-decoration: none;
}
main { width: min(688px, calc(100% - 48px)); margin: 86px auto 0; }
main:focus { outline: none; }
.meta {
  font: 10px "Note", "Courier New", monospace;
  letter-spacing: .09em;
  color: var(--metadata);
  margin-bottom: 24px;
  text-transform: uppercase;
}
h1 {
  font-size: 46px;
  font-weight: 400;
  letter-spacing: -.028em;
  line-height: 1.13;
  margin: 0 0 37px;
}
h2 { font-size: 25px; font-weight: 400; letter-spacing: -.02em; line-height: 1.25; margin: 40px 0 18px; }
p { font-size: 19px; line-height: 1.62; margin: 0 0 25px; color: var(--body); }
.links {
  margin-top: 42px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  font-size: 13px;
}
.links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--underline);
}
.links a:hover { color: #fff; text-decoration-color: currentColor; }
.end {
  font: 9px "Note", "Courier New", monospace;
  letter-spacing: .06em;
  color: var(--footer);
  margin-top: 39px;
  margin-bottom: 48px;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .site-header { width: calc(100% - 48px); min-height: 79px; }
  .name { font-size: 12px; }
  .site-header nav a { font-size: 9px; }
  main { margin-top: 45px; }
  .meta { font-size: 9px; margin-bottom: 20px; }
  h1 { font-size: 34px; margin-bottom: 28px; }
  h2 { font-size: 22px; margin-top: 34px; margin-bottom: 16px; }
  p { font-size: 16px; line-height: 1.63; margin-bottom: 23px; }
  .links { margin-top: 33px; font-size: 12px; }
  .end { font-size: 8px; margin-top: 27px; margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  :root { color-scheme: light; --background: #fff; --heading: #111; --body: #222; --metadata: #555; --rule: #bbb; --link: #222; --underline: #666; --footer: #555; }
  .skip-link, .site-header nav { display: none; }
  .site-header { min-height: 60px; width: 100%; }
  main { width: 100%; margin-top: 32px; }
  p { orphans: 3; widows: 3; }
}
