:root {
  color-scheme: light dark;
  --background: #ffffff;
  --foreground: #1b1b1b;
  --muted: #5f6368;
  --rule: #e3e5e8;
  --link: #0b63ce;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #14161a;
    --foreground: #e9eaec;
    --muted: #a5a9b0;
    --rule: #2b2f36;
    --link: #7ab7ff;
  }
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

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

header {
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.25;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.2rem;
  line-height: 1.35;
}

p {
  margin: 0 0 0.9rem;
}

.updated {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 560px) {
  main {
    padding: 32px 18px 48px;
  }

  h1 {
    font-size: 1.6rem;
  }
}

@media print {
  :root {
    --background: #ffffff;
    --foreground: #000000;
    --muted: #444444;
    --rule: #cccccc;
    --link: #000000;
  }

  main {
    max-width: none;
    padding: 0;
  }
}
