:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #111418;
  --muted: #444b55;
  --accent: #0b3d91;
  --accent-text: #ffffff;
  --notice-bg: #fff4d6;
  --notice-border: #8a5a00;
  --border: #c9ced6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1014;
    --text: #f2f4f7;
    --muted: #b9c0ca;
    --accent: #9cc2ff;
    --accent-text: #0d1014;
    --notice-bg: #2b2208;
    --notice-border: #e0b04a;
    --border: #3a414b;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.site-header,
main,
footer {
  max-width: 38rem;
  margin: 0 auto;
  padding: 1rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
}

.brand {
  margin: 0;
  font-weight: 700;
  font-size: 1.125rem;
}

h1 {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0.75rem 0;
}

h2 {
  font-size: 1.375rem;
  margin: 1.5rem 0 0.5rem;
}

h3 {
  font-size: 1.125rem;
  margin: 0 0 0.25rem;
}

.badge {
  display: inline-block;
  margin: 1rem 0 0;
  padding: 0.125rem 0.625rem;
  border: 2px solid var(--notice-border);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
}

.notice {
  margin: 1rem 0;
  padding: 0 1rem;
  background: var(--notice-bg);
  border-left: 0.375rem solid var(--notice-border);
  border-radius: 0.25rem;
}

.button {
  display: inline-block;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: var(--accent-text);
  border-radius: 0.5rem;
  font-weight: 700;
  text-decoration: none;
}

a {
  color: var(--accent);
}

.button:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--bg);
}

.steps {
  margin: 1.5rem 0;
  padding: 0 1rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.steps:not(:target) {
  display: none;
}

.steps ol {
  padding-left: 1.25rem;
}

.steps li {
  margin-bottom: 1rem;
}

.fine,
footer {
  color: var(--muted);
  font-size: 0.9375rem;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}
