/* Nunito and Bangers are included under the SIL Open Font License. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("/fonts/nunito-latin-500.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;
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: optional;
  src: url("/fonts/nunito-latin-800.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;
}
@font-face {
  font-family: "Bangers";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("/fonts/bangers-latin-400.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;
}

:root {
  --bg: #07080c;
  --ink: #f6f3ea;
  --muted: #d5d0c4;
  --dim: #9a9588;
  --blue: #2f9bff;
  --yellow: #ffd23a;
  --paper: #141820;
  --line: #f4f1e8;
  --font: "Nunito", "Segoe UI", sans-serif;
  --display: "Bangers", "Impact", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1.1px, transparent 1.1px);
  background-size: 8px 8px;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.55;
}

a { color: var(--yellow); }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--yellow);
  color: #16140a;
  padding: 0.55rem 0.85rem;
  border: 3px solid #111;
  border-radius: 999px;
  text-decoration: none;
}

.skip:focus { top: 0.8rem; }

.nav {
  display: flex;
  align-items: center;
  height: 4.6rem;
  padding: 0 1.15rem;
  background: rgba(7, 8, 12, 0.92);
  border-bottom: 3px solid #111;
  box-shadow: 0 4px 0 var(--blue);
}

.nav img { height: 2.55rem; width: auto; }
.nav picture { display: flex; align-items: center; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.2rem 1.15rem 3rem;
}

article {
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 6px 6px 0 #111;
  padding: 1.3rem 1.2rem 1.5rem;
}

h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

article h2 {
  margin: 1.15rem 0 0.45rem;
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--ink);
}

article strong { font-weight: 800; }

.updated {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-weight: 700;
}

article p { margin: 0 0 0.95rem; color: var(--muted); }
article p:last-child { margin-bottom: 0; }
article a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.15rem 1.8rem;
  border-top: 3px solid #111;
  box-shadow: inset 0 4px 0 var(--yellow);
  color: var(--dim);
}

.foot a {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 1.3rem;
  text-decoration: none;
}

.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 3px solid #111;
  border-radius: 999px;
  background: var(--paper);
  color: var(--yellow);
  box-shadow: 3px 3px 0 var(--blue);
  line-height: 0;
}
.social svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}
