:root {
  color-scheme: light dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body {
  margin: 0;
  background: #f6f8fa;
  color: #1f2328;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px;
}

article {
  background: #ffffff;
  border: 1px solid #d0d7de;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 6px 24px rgb(140 149 159 / 15%);
}

h1,
h2 {
  line-height: 1.25;
}

a {
  color: #0969da;
}

nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 28px 0;
}

.notice {
  border-left: 4px solid #bf8700;
  background: #fff8c5;
  padding: 12px 16px;
}

footer {
  margin-top: 28px;
  color: #59636e;
  font-size: 0.92rem;
}

@media (prefers-color-scheme: dark) {
  body {
    background: #0d1117;
    color: #f0f6fc;
  }

  article {
    background: #161b22;
    border-color: #30363d;
  }

  a {
    color: #58a6ff;
  }

  .notice {
    background: #3b2e00;
    border-left-color: #d29922;
  }

  footer {
    color: #8b949e;
  }
}
