:root {
  color-scheme: light;
  --ink: #17372e;
  --muted: #62726c;
  --accent: #136c50;
  --line: #dce5df;
  --paper: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: #f4f7f3; line-height: 1.75; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #093d2d; }
a:focus-visible { outline: 3px solid #309d78; outline-offset: 4px; border-radius: 2px; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .6rem 1rem; background: white; z-index: 2; }
.skip:focus { top: 1rem; }
.header { background: #143b30; color: white; }
.header-inner { max-width: 1180px; margin: auto; padding: 1.3rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { color: white; text-decoration: none; font-size: 1.2rem; font-weight: 750; letter-spacing: -.025em; }
.header nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.header nav a { color: #d4e4dc; font-size: .95rem; text-decoration: none; }
.header nav a[aria-current="page"] { color: white; text-decoration: underline; }
.layout { max-width: 1180px; margin: 3.5rem auto 5rem; padding: 0 2rem; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; align-items: start; }
.contents { position: sticky; top: 2rem; padding-top: .5rem; }
.contents summary { font-size: .9rem; font-weight: 700; color: var(--muted); list-style: none; pointer-events: none; }
.contents summary::-webkit-details-marker { display: none; }
.contents ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.contents li { margin-bottom: .8rem; line-height: 1.4; }
.contents a { color: #52675d; text-decoration: none; font-size: .95rem; }
.contents a:hover { color: var(--accent); text-decoration: underline; }
main { min-width: 0; background: var(--paper); padding: 2.5rem 3rem; border: 1px solid var(--line); border-radius: 12px; }
h1 { font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.15; letter-spacing: -.045em; margin: 0 0 1rem; font-weight: 700; overflow-wrap: break-word; }
.date { color: var(--muted); margin: 0 0 1.8rem; font-size: .9rem; }
.intro { font-size: 1.1rem; margin-bottom: 2.5rem; }
h2 { font-size: 1.4rem; line-height: 1.35; letter-spacing: -.025em; margin: 0 0 1rem; }
section { padding: 1.8rem 0 .4rem; border-top: 1px solid var(--line); margin-top: 1.4rem; }
p { margin: 0 0 1rem; }
li { margin-bottom: .5rem; }
ul { padding-left: 1.25rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
th, td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; }
th { font-weight: 650; color: var(--muted); font-size: .9rem; }
td:last-child { white-space: nowrap; }
.contact { background: #edf5ef; border-radius: 8px; padding: 1.3rem 1.5rem; margin-top: 2rem; }
.contact p { margin: 0; }
.contact strong { display: block; margin-bottom: .35rem; }
footer { max-width: 1180px; margin: 0 auto; padding: 0 2rem 2rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 850px) {
  .layout { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2rem; }
  .contents { position: static; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .contents ul { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
  .contents li { margin: 0; }
  main { padding: 2rem; }
}
@media (max-width: 540px) {
  .header-inner { padding: 1rem 1.2rem; flex-direction: column; align-items: flex-start; gap: .6rem; }
  .header nav { gap: .5rem 1.2rem; }
  .layout { padding: 0 1rem; margin: 1.5rem auto 2.5rem; }
  main { padding: 1.5rem 1.2rem; border-radius: 8px; }
  .intro { font-size: 1rem; }
  footer { padding: 0 1.2rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; }
  .header, .contents, .skip, footer { display: none; }
  .layout { display: block; margin: 0; padding: 0; }
  main { padding: 0; border: 0; }
  a { color: black; }
  section { break-inside: avoid; }
}
