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

body {
  margin: 0;
  padding: clamp(20px, 5vw, 64px);
}

main {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid #d7dce5;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 48px rgb(31 42 68 / 8%);
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  margin-top: 0;
  font-size: clamp(2rem, 6vw, 3.5rem);
}

h2 {
  margin-top: 2rem;
}

p,
li {
  line-height: 1.65;
}

a {
  color: #315fb5;
  text-underline-offset: 3px;
}

.language-note,
.updated {
  color: #5f6777;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #0f1115;
    color: #eef1f7;
  }

  main {
    border-color: #343945;
    background: #181b22;
    box-shadow: none;
  }

  a {
    color: #9dbdff;
  }

  .language-note,
  .updated {
    color: #aeb6c7;
  }
}
