:root {
  color-scheme: dark;
  --background: #0d1117;
  --text: #edf2f7;
  --link: #8ab9ff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

main {
  width: min(420px, calc(100% - 40px));
  text-align: center;
}

h1 {
  margin: 0 0 30px;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.055em;
}

nav {
  display: grid;
  gap: 15px;
}

a {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #2a3442;
  border-radius: 9px;
  background: #151b24;
  color: var(--link);
  font-size: 1.1rem;
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--text);
  border-color: var(--link);
  background: #1a222d;
}
a:focus-visible { outline: 2px solid var(--link); outline-offset: 5px; }
