:root {
  color-scheme: light;
  --bg: #fbf9f5;
  --ink: #1b1c1a;
  --muted: #5b5e58;
  --border: #c9c7c0;
  --accent: #7e6420;
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}
* { box-sizing: border-box; }
html { min-width: 320px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
}
main { width: min(100%, 720px); }
.gateway-fallback { border-block: 1px solid var(--border); padding-block: 32px; }
.gateway-languages { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.gateway-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: clamp(26px, 8vw, 30px); line-height: 1.25; }
p { margin: 16px 0 0; }
a {
  display: inline-block;
  min-height: 44px;
  padding-block: 8px;
  color: inherit;
  text-decoration-color: var(--border);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
