:root {
  color-scheme: light;
  --background: #f5f7fa;
  --surface: #ffffff;
  --text: #17212b;
  --muted: #5a6875;
  --border: #dfe5eb;
  --accent: #0b6b5d;
  --accent-dark: #075448;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
}

a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
a:focus-visible { outline: 3px solid #8bd7ca; outline-offset: 3px; }

.site-header,
.site-footer {
  background: var(--surface);
  border-color: var(--border);
}

.site-header { border-bottom: 1px solid var(--border); }
.site-footer { border-top: 1px solid var(--border); margin-top: 3rem; }

.bar,
main {
  width: min(100% - 2rem, 780px);
  margin-inline: auto;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.brand {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 750;
  text-decoration: none;
}

nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
nav a { font-size: .94rem; font-weight: 600; text-decoration: none; }

main {
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgb(30 48 64 / 7%);
}

h1, h2 { line-height: 1.2; letter-spacing: -.02em; }
h1 { margin: 0 0 .5rem; font-size: clamp(2rem, 6vw, 3.15rem); }
h2 { margin-top: 2.2rem; font-size: 1.35rem; }
p, li { max-width: 70ch; }
.lede { color: var(--muted); font-size: 1.1rem; }
.updated { color: var(--muted); font-size: .92rem; }
.notice {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  background: #edf8f5;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}
.steps li { margin-bottom: .65rem; }
.site-footer .bar { color: var(--muted); font-size: .9rem; }

@media (max-width: 640px) {
  .bar { align-items: flex-start; flex-direction: column; }
  main { width: min(100% - 1rem, 780px); margin-top: .5rem; border-radius: 12px; }
  nav { gap: .35rem .8rem; }
}
