/* Inter and JetBrains Mono, served from this site (no third party sees a
   visitor). Variable weight, Latin + Latin-ext (č, š, ž); SIL OFL 1.1, see
   fonts/OFL-*.txt. Ranges as fontsource ships them. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
  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: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations');
  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 { color-scheme: dark; }

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #000;
  color: #ededed;
  overflow: hidden;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}

#c {
  position: fixed;
  inset: 0;
  display: block;
  touch-action: none;
}

.hero {
  position: fixed;
  left: 50%;
  top: 57%;
  transform: translateX(-50%);
  width: min(92vw, 320px);
  text-align: center;
  pointer-events: none;
}

/* The board must never fight the mark and the word: a soft dark pool behind both. */
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 150px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.92) 52%, rgba(0, 0, 0, 0));
  z-index: -1;
}

.mark {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 16px;
  color: #fff;
}

.word {
  margin: 0;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.word a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

@media (max-width: 699px) {
  .hero { top: 60%; }
  .mark { width: 26px; height: 26px; margin-bottom: 12px; }
  .word { font-size: 20px; }
}
