:root { color-scheme: dark; --bg: #101917; --surface: #192521; --text: #f0f3e9; --muted: #b7c6be; --accent: #b7ed91; --line: #35443c; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.75; }
a { color: var(--accent); text-underline-offset: .25em; }
a:hover { color: #dcffbe; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { max-width: 1056px; margin: auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--text); display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 650; text-decoration: none; letter-spacing: -.04em; }
.mark { display: grid; place-items: center; width: 34px; height: 34px; background: var(--accent); color: var(--bg); border-radius: 10px 10px 10px 2px; font-size: 21px; font-weight: 800; }
nav { display: flex; gap: 24px; font-size: 13px; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current] { color: var(--accent); text-decoration: underline; }
main { max-width: 824px; margin: auto; padding: 72px 32px 88px; min-height: calc(100vh - 185px); }
.eyebrow, .updated, .card-number, .section-number { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 12px; }
.eyebrow { color: var(--accent); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 22px; }
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.12; font-weight: 650; letter-spacing: -.05em; margin: 0 0 22px; text-wrap: balance; }
.updated { color: var(--muted); margin-bottom: 32px; }
.intro { color: var(--muted); font-size: 18px; line-height: 1.8; margin-bottom: 40px; }
.contents { background: var(--surface); border: 1px solid var(--line); padding: 16px 22px; border-radius: 12px; margin: 0 0 42px; }
summary { cursor: pointer; font-size: 14px; font-weight: 600; }
.contents ol { padding-left: 24px; font-size: 14px; }
.contents li { margin: 7px 0; }
article section { padding: 8px 0 24px; }
h2 { font-size: 21px; line-height: 1.4; letter-spacing: -.02em; margin: 0 0 14px; }
.section-number { color: var(--accent); display: inline-block; margin-right: 14px; vertical-align: middle; }
article p, article li { color: var(--muted); }
article p { margin: 0 0 16px; }
article ul { padding-left: 22px; }
article li { padding-left: 4px; margin-bottom: 12px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 48px 0 32px; }
.card { display: block; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--text); text-decoration: none; }
.card:hover { border-color: var(--accent); color: var(--text); }
.card-number { display: block; color: var(--accent); margin-bottom: 24px; }
.card h2 { display: flex; justify-content: space-between; gap: 12px; }
.card p { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.contact-note { font-size: 14px; color: var(--muted); }
footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.skip-link { position: absolute; left: 20px; top: -100px; padding: 10px 18px; background: var(--text); color: var(--bg); z-index: 2; }
.skip-link:focus { top: 8px; }
@media (max-width: 600px) {
  .header-inner { padding: 20px; flex-wrap: wrap; gap: 14px; }
  nav { gap: 22px; }
  main { padding: 44px 20px 60px; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { padding: 24px 20px; flex-wrap: wrap; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root { color-scheme: light; --bg: white; --text: black; --muted: #333; --accent: #274d22; --line: #ccc; }
  header, footer, .contents, .skip-link { display: none; }
  main { max-width: none; padding: 0; }
  h1 { font-size: 30px; }
  h2 { break-after: avoid; }
}
