@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-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;
}
@font-face {
  font-family: "Press Start 2P";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/press-start-2p.woff2") format("woff2");
}

:root {
  --sky: #2ed3e0;
  --ink: #101418;
  --paper: #ffffff;
  --yellow: #ffd62e;
  --gutter: 16px;
  --column: 960px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--sky);
}

main {
  flex: 1 0 auto;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-weight: 800;
  line-height: 1.1;
}

h1 {
  font-size: clamp(32px, 7vw, 56px);
}

h2 {
  font-size: clamp(24px, 4.5vw, 34px);
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--column);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.panel {
  padding: 20px;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 20px;
  box-shadow: 0 6px 0 var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  font: inherit;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--ink);
}

.btn:active {
  box-shadow: 0 4px 0 var(--ink);
  transform: translateY(2px);
}

.btn.yellow {
  background: var(--yellow);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 12px;
  padding-bottom: 6px;
}

.arcade {
  font-family: "Press Start 2P", monospace;
  font-weight: 400;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.placeholder {
  padding: 0 6px;
  background: var(--yellow);
  color: var(--ink);
}

.site-header {
  margin-bottom: 28px;
  padding: 12px 0;
  background: var(--paper);
  border-bottom: 4px solid var(--ink);
  box-shadow: 0 6px 0 var(--ink);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px var(--gutter);
}

.brand {
  display: block;
  flex: none;
  width: 112px;
  border-radius: 8px;
}

.brand img {
  width: 112px;
  height: 32px;
}

.brand[aria-current="page"] {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
}

.site-header nav a:active {
  box-shadow: 0 1px 0 var(--ink);
  transform: translateY(2px);
}

.site-header nav a[aria-current="page"] {
  background: var(--yellow);
}

.site-header nav a.lang {
  color: var(--paper);
  background: var(--ink);
}

.site-footer {
  margin-top: 40px;
  padding-bottom: 32px;
}

.site-footer .panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  font-size: 14px;
}

.site-footer strong {
  font-weight: 800;
  font-size: 18px;
}
