:root {
  color-scheme: light;
  --ink: #162b33;
  --muted: #465a63;
  --link: #075d65;
  --border: #d5e0e1;
  --paper: #ffffff;
  --background: #f4f7f6;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: .08em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .75rem 1rem; background: var(--paper); z-index: 2; }
.skip-link:focus { top: 1rem; }
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
}
.brand { font-size: 1.7rem; font-weight: 750; letter-spacing: -.07em; text-decoration: none; color: var(--ink); }
.brand span { color: var(--link); }
.document-type { font-size: .9rem; color: var(--muted); }
.document {
  max-width: 880px;
  margin: 0 auto 3rem;
  padding: 2.5rem 3.5rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--paper);
}
.document-heading { margin-top: 0; }
.eyebrow { margin: 0 0 .5rem; color: var(--link); font-size: .88rem; font-weight: 650; }
h1 { max-width: 22ch; margin: 0; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; letter-spacing: -.035em; }
.updated { margin: 1rem 0 1.75rem; color: var(--muted); font-size: .95rem; }
.introduction { font-size: 1.1rem; }
.contents { padding: 1.3rem 1.5rem; margin: 1.8rem 0 2.2rem; background: #f1f6f5; border-radius: 10px; }
.contents h2 { margin: 0 0 .5rem; font-size: 1rem; }
.contents ol { margin: 0; padding-left: 1.35rem; columns: 2; column-gap: 2rem; }
.contents li { padding: .2rem 0; break-inside: avoid; }
section { margin-top: 2.25rem; }
h2 { margin: 0 0 .8rem; font-size: 1.3rem; line-height: 1.4; letter-spacing: -.02em; }
h3 { margin: 0; font-size: 1rem; line-height: 1.5; }
p { margin: .75rem 0; }
.contact-link { font-weight: 600; }
.document-footer { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }
.document-footer p { margin: 0; }

@media (max-width: 600px) {
  .site-header { padding: 1rem 1.25rem; }
  .document { margin: 0 .6rem 1.5rem; padding: 1.5rem 1.2rem; border-radius: 12px; }
  .contents { padding: 1rem 1.2rem; }
  .contents ol { columns: 1; }
  .document-footer { flex-direction: column; gap: .6rem; }
}

@media print {
  body { background: white; color: black; }
  .site-header, .skip-link, .contents, .document-footer a { display: none; }
  .document { max-width: none; border: 0; margin: 0; padding: 0; }
  h2 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
  @page { size: A4; margin: 16mm 17mm; }
  a { color: inherit; }
}
