:root {
  color-scheme: dark;
  --ink: #070a12;
  --paper: #f3efe6;
  --mute: #9aa3b5;
  --cyan: #3ee0c8;
  --line: rgba(243, 239, 230, 0.12);
}
html[data-theme="light"] {
  color-scheme: light;
  --ink: #f4efe4;
  --paper: #151922;
  --mute: #5b6578;
  --cyan: #0c7d70;
  --line: rgba(21, 25, 34, 0.12);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--ink);
  color: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.theme-switch {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--ink);
}
.theme-switch button {
  border: 0;
  background: transparent;
  color: var(--mute);
  font-family: inherit;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
}
.theme-switch button.is-on {
  background: var(--paper);
  color: var(--ink);
}
main { max-width: 36rem; padding: 2rem; text-align: center; }
h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}
h1 span { color: var(--cyan); }
p { margin: 0; line-height: 1.6; color: var(--mute); }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.meta { margin-top: 1.5rem; font-size: 0.875rem; }
