/* nimangostudios.com: the studio's own look, independent of any game's. */
@font-face {
  font-family: 'Inter';
  src: url('/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f7f7f4;
  --fg: #111111;
  --muted: #6a6a66;
  --line: #e2e2dc;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0f;
    --fg: #f2f2ef;
    --muted: #9c9c97;
    --line: #29292b;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--fg);
  background: var(--bg);
  font: 17px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: 44rem;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
  border-radius: 2px;
}

header {
  padding-top: 28px;
}

.mark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark span {
  margin-left: 0.3em;
  font-weight: 400;
  color: var(--muted);
}

main {
  flex: 1;
  padding-top: 16vh;
  padding-bottom: 64px;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.3rem, 8vw, 3.8rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 34rem;
  margin: 18px 0 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.lede + .lede {
  margin-top: 8px;
}

h2 {
  margin: 76px 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.games {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.games li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 4px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.games .name {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.games .name:hover {
  text-decoration: underline;
}

.games .status {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
}

.games .what {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.games .what a {
  color: var(--fg);
}

footer {
  padding-top: 32px;
  padding-bottom: calc(32px + env(safe-area-inset-bottom));
  font-size: 0.85rem;
  color: var(--muted);
}

.missing h1 {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
}

