@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

body {
  font-family: "IBM Plex Sans", sans-serif;
  line-height: 1.5;
  max-width: 40rem;
  margin: 2rem auto;
  padding: 0 1rem;
  color: #000;
  background: #fff;
}
a {
  color: #000;
}
a:not(.button) {
  padding: 0 0.15em;
  margin: 0 -0.15em;
}
a:not(.button):hover {
  background: #000;
  color: #fff;
  text-decoration: none;
}
h1 {
  font-size: 1.4rem;
  font-weight: 600;
}
h2 {
  font-size: 1.1rem;
  font-weight: 600;
}

.brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  color: #666;
  font-family: "IBM Plex Mono", monospace;
}
.brand a,
.lang .active {
  margin: 0 -0.4rem;
  padding: 0.1rem 0.4rem;
  color: #666;
  text-decoration: none;
}
.lang a,
.lang .active {
  margin: 0;
  padding: 0;
}
.brand a:hover {
  background: #000;
  color: #fff;
}
.brand > a {
  color: #da1e28;
}
.brand > a:hover {
  background: #da1e28;
  color: #fff;
}
.lang .active {
  color: #000;
}
.sep {
  color: #666;
  font-weight: 400;
  padding: 0 0.3rem;
}
.sub {
  color: #666;
  font-weight: 400;
}
.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #000;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #000;
  border-radius: 4px;
}
.button:hover {
  background: #fff;
  color: #000;
}
.legal {
  margin-top: 4rem;
  padding-top: 1rem;
  border-top: 1px solid #666;
}

@media (max-width: 40rem) {
  h1 .sep {
    display: none;
  }
  h1 .sub {
    display: block;
  }
}
