/* Useful Games House: shared tokens and base styles.
   Allo is the only typeface. Roundness 0 everywhere, so corners are square. */
@font-face {
  font-family: "Allo";
  src: url("/assets/fonts/Allo.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f3ee;
  --ink: #111111;
  --ink-2: #55554f;
  --field: #c9c8c0;
  --sub: #7a7970;
  --hot: #ff3b1d;
  --error: #d42a10;
  --error-2: #8f1a08;
  --line: #111111;
  --hair: #d9d8d0;
  --gutter: clamp(16px, 4vw, 56px);
  --font: "Allo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-variation-settings: "ROND" 0;
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Top bar: wordmark left, one link right. Hairline below. */
.bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mark {
  font-size: 20px; font-weight: 850; letter-spacing: -0.03em;
  text-decoration: none; display: inline-flex; align-items: center; min-height: 44px;
}
.mark i { font-style: normal; color: var(--hot); }
.bar nav { display: flex; gap: 4px; }
.bar nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  text-decoration: none; font-weight: 500;
}
.bar nav a:hover, .bar nav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding: 20px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  color: var(--ink-2); font-size: 14px;
}
.foot a { color: var(--ink-2); }
.foot a:hover { color: var(--ink); }
@media (max-width: 420px) { .bar nav a { padding: 0 10px; } }
