:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: #f5f7fa;
  color: #172033;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 32px 18px 64px;
}

main {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 32px;
  border: 1px solid #dde3ec;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 12px 40px rgba(26, 39, 64, 0.08);
}

h1,
h2 {
  line-height: 1.25;
}

h1 {
  margin-top: 0;
}

h2 {
  margin-top: 28px;
}

a {
  color: #3457d5;
}

.meta {
  color: #607089;
}

.notice {
  padding: 16px;
  border-left: 4px solid #3457d5;
  border-radius: 8px;
  background: #edf2ff;
}

.danger {
  border-left-color: #b42318;
  background: #fff1f0;
}

.button {
  display: inline-block;
  margin: 10px 0;
  padding: 11px 16px;
  border-radius: 10px;
  background: #3457d5;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
}

nav {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #dde3ec;
}

nav a {
  margin-right: 14px;
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #10131a;
    color: #ecf0f7;
  }

  main {
    border-color: #303746;
    background: #191e28;
    box-shadow: none;
  }

  .meta {
    color: #aab4c6;
  }

  .notice {
    background: #202b48;
  }

  .danger {
    background: #3a2020;
  }

  a {
    color: #9fb4ff;
  }
}
