:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #202e35;
  background: #f6f5ef;
  line-height: 1.65;
}
* { box-sizing: border-box; }
body { margin: 0; }
.wrap { width: min(1120px, 100% - 64px); margin-inline: auto; }
a { color: #115c54; text-underline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #c16a10; outline-offset: 5px; border-radius: 2px; }
.skip-link { position: absolute; top: 12px; left: 12px; padding: 12px 20px; background: white; z-index: 2; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.hero { background: #163f3b; color: #fffdf4; padding: 54px 0 66px; }
.eyebrow { font-size: .76rem; letter-spacing: .14em; font-weight: 750; margin: 0 0 20px; }
.badge { display: inline-block; border: 1px solid #91b2a6; border-radius: 30px; padding: 5px 13px; color: #dcece3; font-size: .83rem; margin: 8px 0 24px; }
h1 { font-size: clamp(2.5rem, 5.7vw, 4.6rem); line-height: 1.08; letter-spacing: -.045em; max-width: 850px; margin: 0 0 25px; font-weight: 760; }
.intro { max-width: 680px; font-size: 1.17rem; color: #d9e7df; margin: 0 0 32px; }
.primary-link { display: inline-block; background: #e5eea3; color: #173f34; text-decoration: none; padding: 13px 22px; border-radius: 5px; font-weight: 700; }
.primary-link:hover { background: #f0f7bc; }
.primary-link span { margin-left: 16px; }
nav { background: #fffdf8; border-bottom: 1px solid #d9ded3; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px 30px; padding-block: 14px; }
.nav-links a { font-weight: 650; font-size: .9rem; text-decoration: none; padding-block: 8px; }
.nav-links a:hover { text-decoration: underline; }
section { scroll-margin-top: 24px; }
.about { border-bottom: 1px solid #d4dacf; padding: 44px 0 38px; }
.about .eyebrow { color: #526359; margin-bottom: 8px; }
.about h2 { font-size: 1.2rem; letter-spacing: 0; overflow-wrap: anywhere; margin: 0 0 12px; }
.about p:last-child { max-width: 870px; margin-bottom: 0; color: #4b5a58; }
.chapter { padding: 54px 0; border-bottom: 1px solid #d4dacf; }
.chapter-label { color: #536859; font-size: .76rem; font-weight: 750; letter-spacing: .12em; margin-bottom: 12px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 20px; }
h3 { font-size: 1.18rem; line-height: 1.35; margin: 0 0 12px; }
p { margin: 0 0 18px; }
.chapter > p { max-width: 850px; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0 24px; }
.checklist { padding-left: 22px; margin: 0; }
li { padding-left: 5px; margin-bottom: 12px; }
.example { background: #e9ecdf; border-radius: 8px; padding: 28px; border-left: 4px solid #668264; }
.example .eyebrow { color: #50634d; margin-bottom: 16px; }
.example p:last-child { margin-bottom: 0; }
.note { color: #4d5b54; font-size: .93rem; margin-top: 24px; margin-bottom: 0; }
.steps { max-width: 900px; padding-left: 25px; margin: 26px 0; }
.steps li { padding-left: 10px; margin-bottom: 18px; }
.steps li::marker { color: #246257; font-weight: 750; }
.callout { border: 1px solid #c6d4c5; background: #edf1e6; border-radius: 8px; padding: 24px 28px; margin-top: 28px; }
.callout p { margin-bottom: 0; max-width: 850px; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.status-card { background: #fffdf8; border: 1px solid #d8ddd2; border-top: 4px solid #9f7933; border-radius: 7px; padding: 25px 24px; }
.status-card.running { border-top-color: #447b90; }
.status-card.done { border-top-color: #4f7950; }
.state-label { font-size: .73rem; font-weight: 800; letter-spacing: .13em; color: #6c521e; margin-bottom: 18px; }
.running .state-label { color: #315e72; }
.done .state-label { color: #426743; }
.status-card p { font-size: .94rem; }
.status-card .action { border-top: 1px solid #e0e4db; padding-top: 17px; margin-bottom: 0; }
code { background: #e8ebdf; padding: 2px 5px; border-radius: 3px; font-size: .9em; overflow-wrap: anywhere; }
.help { background: #fffdf8; border: 1px solid #d8ddd2; border-radius: 7px; padding: 18px 24px; }
summary { cursor: pointer; font-weight: 650; color: #245c51; }
.help p { margin: 18px 0 0; max-width: 850px; }
.closing { padding: 42px 0 54px; max-width: 860px; }
.closing h2 { font-size: 1.55rem; }
.closing a { font-weight: 650; }
footer { background: #e9ecdf; border-top: 1px solid #d4dacf; padding: 28px 0; color: #44544a; font-size: .85rem; }
.footer-content { display: flex; justify-content: space-between; gap: 28px; }
footer p { margin-bottom: 0; }
.version { max-width: 480px; }
.version details { margin-top: 8px; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: .8rem; }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .hero { padding: 38px 0 44px; }
  .intro { font-size: 1.05rem; }
  .nav-links { gap: 4px 22px; }
  .nav-links a { font-size: .85rem; }
  .two-columns, .status-grid { grid-template-columns: 1fr; gap: 20px; }
  .chapter { padding: 38px 0; }
  .about { padding: 32px 0; }
  .example, .callout, .status-card { padding: 22px; }
  .footer-content { flex-direction: column; gap: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
