:root {
  color-scheme: light;
  --ink: #182320;
  --muted: #53615d;
  --paper: #fafaf7;
  --line: #dfe5e1;
  --accent: #20705e;
  --accent-light: #e8f3ef;
  --width: 820px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.72;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.topbar, footer { border-bottom: 1px solid var(--line); }
.topbar-inner, main, footer .inner {
  width: min(var(--width), calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
  text-decoration: none;
}

.topbar nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; }
main { padding: 64px 0 88px; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 12px 0 18px; font-size: clamp(36px, 7vw, 58px); line-height: 1.08; letter-spacing: -.035em; }
.intro { max-width: 690px; color: var(--muted); font-size: 20px; }
.notice { margin: 32px 0; padding: 20px 24px; border-left: 4px solid var(--accent); border-radius: 4px; background: var(--accent-light); }
section { margin-top: 42px; }
h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.3; }
h3 { margin: 24px 0 8px; font-size: 18px; }
p { margin: 0 0 16px; }
ul { padding-left: 24px; }
li { margin: 6px 0; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin-top: 22px; }
.link-card { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.link-card:hover { border-color: var(--accent); }
.link-card strong, .link-card span { display: block; }
.link-card span { margin-top: 4px; color: var(--muted); font-size: 14px; }
.updated { margin-top: 42px; color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--line); border-bottom: 0; }
footer .inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0; color: var(--muted); font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 540px) {
  body { font-size: 16px; }
  .topbar-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 14px 0; }
  main { padding-top: 44px; }
  .intro { font-size: 18px; }
}
