@font-face {
  font-family: "Inconsolata";
  font-style: normal;
  font-weight: 200 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("/assets/fonts/inconsolata-latin-variable.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 {
  --palette-1: #e5dcc4;
  --palette-2: #292929;
  --palette-3: #dfd6bf;
  --palette-4: #e2d9c1;
  --palette-5: #2e2e2d;

  color-scheme: light;
  font-family: "Inconsolata", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: var(--palette-1);
  color: var(--palette-2);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--palette-1);
}

body {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--palette-1);
}

main {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.notice {
  margin: 0;
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
}

footer {
  padding: 1.5rem 1.5rem max(1.5rem, env(safe-area-inset-bottom));
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

a {
  color: var(--palette-5);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--palette-2);
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  border-radius: 0.125rem;
  outline: 0.2rem solid var(--palette-2);
  outline-offset: 0.25rem;
}

.booster-badge {
  position: absolute;
  right: max(1.5rem, env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  display: block;
  line-height: 0;
}

.booster-badge img {
  display: block;
  width: clamp(4.5rem, 10vw, 8rem);
  height: auto;
}

@media (max-width: 24rem) {
  .booster-badge img {
    width: 3.5rem;
  }
}

::selection {
  background: var(--palette-2);
  color: var(--palette-1);
}
