:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #4d4d4d;
  --link: #0b57d0;
  --focus: #0b57d0;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: #f0f0f0;
    --muted: #bdbdbd;
    --link: #8ab4f8;
    --focus: #8ab4f8;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}
main { width: 100%; max-width: 40rem; text-align: center; }
h1 {
  margin: 0 0 8px;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.tm { font-size: 0.35em; vertical-align: super; font-weight: 600; margin-left: 0.1em; }
p { margin: 0 0 12px; font-size: 1.125rem; color: var(--muted); }
a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
