:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #222;
  background: #fff;
}

body {
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 32px 20px;
}

h1 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  text-align: center;
  overflow-wrap: anywhere;
}

footer {
  padding: 12px 16px 20px;
  text-align: center;
}

footer a {
  display: inline-block;
  padding: 8px;
  color: #555;
  font-size: 0.875rem;
  text-underline-offset: 3px;
}

a:focus-visible {
  outline: 2px solid #155eef;
  outline-offset: 3px;
}
