:root {
  --bg: #f4f7f7;
  --surface: #ffffff;
  --ink: #1a2a2e;
  --muted: #55676b;
  --accent: #008583;
  --accent-ink: #ffffff;
  --line: #d5dfe0;
}
:root:not([data-theme="light"]) {
  color-scheme: light dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.65;
  font-size: 1.05rem;
}
header,
main,
footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  display: block;
  border-radius: 8px;
}
nav {
  display: flex;
  gap: 1.25rem;
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}
a {
  color: var(--accent);
}
a:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  margin: 2.5rem 0 1rem;
}
h2 {
  font-size: 1.3rem;
  margin: 2.2rem 0 0.5rem;
}
p,
li {
  max-width: 40rem;
}
.lead {
  font-size: 1.25rem;
  color: var(--muted);
}
.btn {
  display: inline-block;
  margin: 1.25rem 0 0.5rem;
  padding: 0.85rem 1.6rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 0.5rem;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  text-decoration: none;
}
.note {
  color: var(--muted);
  font-size: 0.95rem;
  font-family: system-ui, sans-serif;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.9rem;
  margin-top: 3rem;
}
footer a {
  margin-right: 1rem;
}
