:root {
  color-scheme: dark;
  --paper: #000;
  --ink: #f2f2ef;
  --muted: #adadaa;
  --rule: #353534;
  --focus: #e6efbd;
  --sans: Inter, 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --gutter: clamp(1rem, 5.1vw, 5.5rem);
  background: var(--paper);
  color: var(--ink);
  font: 100% / 1.5 var(--sans);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
button { -webkit-tap-highlight-color: transparent; }
img, video, svg { display: block; max-width: 100%; }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
}
[hidden] { display: none !important; }
::selection { color: #000; background: #e3e7cf; }
.wrap {
  width: min(100% - 2 * var(--gutter), 78rem);
  margin-inline: auto;
}
.skip { position: absolute; z-index: 4; top: .5rem; left: var(--gutter); padding: .65rem; color: #000; background: #fff; transform: translateY(-160%); }
.skip:focus { transform: none; }
.world-inner {
  position: relative;
  padding-block: clamp(3.6rem, 5.8vw, 5.5rem) clamp(1.7rem, 3.5vw, 3rem);
}
.languages {
  display: flex;
  gap: .2rem;
}
.world .languages {
  position: absolute;
  top: 1rem;
  inset-inline-end: 0;
}
.languages a {
  display: inline-grid;
  place-items: center;
  min-width: 2.05rem;
  min-height: 2.1rem;
  color: var(--muted);
  font: .875rem / 1.4 var(--mono);
  letter-spacing: .02em;
  text-decoration: none;
}
.languages a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: .32em; }
.languages a:hover { color: #fff; text-decoration: underline; }
.world h1 {
  margin: 0 0 0 -.045em;
  font: 500 clamp(3.15rem, 9.5vw, 8.2rem) / .98 var(--sans);
  letter-spacing: -.075em;
  overflow-wrap: anywhere;
}
.world-intro p {
  margin: .8rem 0 0;
  max-width: 55ch;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  color: var(--muted);
  line-height: 1.4;
  text-wrap: pretty;
}
section[id] { scroll-margin-block-start: 1.2rem; }
@media (max-width: 39rem) {
  .world .languages { top: .75rem; }
  .languages { gap: .1rem; }
  .languages a { min-width: 1.9rem; min-height: 1.95rem; }
}
@media (max-width: 19.5rem) {
  .world-inner { padding-top: 3.25rem; }
  .world h1 { font-size: clamp(2.25rem, 15vw, 3.15rem); }
}
