:root {
  color-scheme: light;
  --primary: #084734;
  --accent: #d4ff94;
  --background: #f6f4f1;
  --text: #242d29;
  --muted: #59645e;
  --border: #dfe5df;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; }

.skip-link { position: absolute; top: -100px; left: 16px; }
.skip-link:focus { top: 12px; padding: 8px 16px; background: white; z-index: 1; }
.page { max-width: 944px; margin: 0 auto; padding: 32px 24px 24px; }
.site-header, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { margin-bottom: 24px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 650; }
.brand-mark { padding: 4px 12px; border-radius: 9px; background: var(--primary); color: var(--accent); font-size: 23px; font-weight: 850; letter-spacing: -1px; }
nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--primary); font-weight: 700; text-decoration: underline; }
.card { padding: 44px 48px; background: white; border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 12px 36px rgb(8 71 52 / 5%); }
.document-header { padding-bottom: 28px; margin-bottom: 30px; border-bottom: 1px solid var(--border); }
.eyebrow { margin: 0 0 12px; color: var(--primary); font-size: 12px; font-weight: 750; letter-spacing: 1.2px; }
h1 { margin: 0 0 16px; color: var(--primary); font-size: clamp(28px, 4vw, 38px); line-height: 1.25; letter-spacing: -0.7px; }
.intro { color: var(--muted); font-size: 17px; }
.updated, .hint { color: var(--muted); font-size: 13px; }
.updated { margin-top: 18px; }
section + section { margin-top: 30px; }
h2 { margin: 0 0 12px; color: var(--primary); font-size: 20px; line-height: 1.45; }
p { margin: 10px 0; }
ul, ol { padding-left: 24px; margin: 12px 0; }
li + li { margin-top: 9px; }
.notice { margin-top: 22px; padding: 12px 20px; background: #f1f7eb; border-left: 3px solid var(--primary); border-radius: 0 10px 10px 0; }
.button { display: inline-block; margin: 12px 0 4px; padding: 12px 20px; border-radius: 10px; background: var(--primary); color: white; text-decoration: none; font-weight: 650; text-align: center; }
.button:hover { background: #063a2b; text-decoration: underline; }
.site-footer { margin-top: 24px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }

@media (max-width: 600px) {
  .page { padding: 20px 16px; }
  .site-header { gap: 18px; }
  .card { padding: 28px 22px; border-radius: 16px; }
  .document-header { padding-bottom: 22px; margin-bottom: 24px; }
  .intro { font-size: 16px; }
  h2 { font-size: 18px; }
  .button { width: 100%; }
}

@media print {
  body { background: white; }
  .page { max-width: none; padding: 0; }
  .card { padding: 0; border: 0; box-shadow: none; }
  .site-header, .site-footer, .skip-link, .button { display: none; }
  h2 { break-after: avoid; }
}
