:root {
  --forest: #173c31;
  --ink: #14221d;
  --muted: #5f6b66;
  --paper: #f4f3ed;
  --line: #dce3dd;
  --lime: #dffe8d;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
header { background: var(--forest); color: #fff; padding: 22px; }
header div,
main,
footer { width: min(820px, calc(100% - 36px)); margin: auto; }
.brand { font-size: 21px; font-weight: 800; }
.tag { color: #d8e5df; margin: 2px 0 0; }
main {
  background: #fff;
  margin-top: 28px;
  margin-bottom: 28px;
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 20px;
}
h1 { font-size: clamp(29px, 5vw, 42px); line-height: 1.15; margin: 0 0 10px; }
h2 { margin-top: 32px; font-size: 21px; }
a { color: #246b53; }
.notice {
  background: #eef5f0;
  border-left: 4px solid #3e8669;
  padding: 14px 16px;
  border-radius: 9px;
}
nav { margin-top: 15px; }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  margin-right: 15px;
}
footer { padding: 0 0 32px; color: var(--muted); font-size: 13px; }
ul { padding-left: 22px; }
:focus-visible { outline: 3px solid #1f765a; outline-offset: 3px; }
header :focus-visible { outline-color: var(--lime); }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 9px;
  background: #fff;
  color: var(--forest);
  font-weight: 800;
  transform: translateY(-170%);
}
.skip-link:focus { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (max-width: 540px) {
  main { width: 100%; margin: 0; border: 0; border-radius: 0; padding: 24px 18px; }
  header div, footer { width: calc(100% - 36px); }
}
