/* Basement's site rules: no accent colour, Inter Tight, near-black text, light only. */
@font-face {
  font-family: "Inter Tight";
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/InterTight-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter Tight";
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/InterTight-Medium.woff2") format("woff2");
}

:root {
  color-scheme: light;
}

body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 0 1rem 4rem;
  background: #ffffff;
  color: #0a0a0a;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: -999rem;
}

.skip:focus {
  position: static;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

nav a {
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  text-decoration: underline;
}

h1,
h2 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  margin: 3rem 0 0.5rem;
  font-size: 2.25rem;
}

h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: 1.25rem;
}

.version {
  margin: 0 0 1.5rem;
  color: #525252;
  font-size: 0.875rem;
}

.intro {
  font-size: 1.125rem;
}

li {
  margin: 0.25rem 0;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  color: #525252;
  font-size: 0.875rem;
}

footer p {
  margin: 0.25rem 0;
}
