:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050505;
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 280px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #050505;
}

main {
  width: min(100%, 720px);
}

h1 {
  margin: 0 0 36px;
  color: #ffffff;
  font-size: clamp(3rem, 12vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.07em;
  text-align: center;
}

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

a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
  padding: 20px 24px;
  border: 2px solid #38bdf8;
  border-radius: 12px;
  color: #ffffff;
  background: #0c1820;
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #050505;
  background: #38bdf8;
}

a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (max-width: 520px) {
  body {
    padding: 18px;
  }

  h1 {
    margin-bottom: 28px;
  }

  a {
    min-height: 72px;
    padding: 18px;
  }
}
