:root {
  color-scheme: light;
  --paper: #f8f9f2;
  --panel: #fff;
  --ink: #17251f;
  --muted: #455b50;
  --line: #cad7c8;
  --green: #244d39;
  --lime: #dcecad;
  font-family: system-ui, sans-serif;
  line-height: 1.65;
  background: var(--paper);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--green); text-underline-offset: .18em; }
a:focus-visible { outline: 3px solid #9b390e; outline-offset: 4px; }
.shell { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.bar, .site-footer { display: flex; align-items: center; gap: 1rem; justify-content: space-between; flex-wrap: wrap; padding-block: 1.1rem; }
.wordmark { color: var(--ink); font-weight: 850; letter-spacing: .08em; text-decoration: none; }
.wordmark span { color: #a34218; }
nav { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; }
nav a { padding-block: .25rem; }
.skip { position: absolute; top: 0; left: .5rem; padding: .5rem; background: var(--panel); transform: translateY(-150%); }
.skip:focus { transform: none; }
h1, h2, h3 { font-family: Georgia, serif; line-height: 1.14; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.45rem, 6vw, 4.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.38rem; }
p { margin: 0 0 1rem; }
.hero { margin-block: 2rem 3.5rem; padding: clamp(1.25rem, 5vw, 4rem); display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 1rem; background: var(--green); color: #fff; border-radius: 1.5rem; }
.category { font-weight: 750; letter-spacing: .08em; text-transform: uppercase; font-size: .875rem; }
.hero .category { color: var(--lime); }
.lede { font-size: clamp(1.1rem, 2.4vw, 1.3rem); max-width: 38em; }
.button { display: inline-block; background: var(--lime); color: var(--ink); padding: .7rem 1.1rem; border-radius: .5rem; font-weight: 750; }
.button:focus-visible { outline-color: #fff; }
.illustration { position: relative; aspect-ratio: 1; max-width: 18rem; width: 100%; justify-self: center; }
.paper { position: absolute; inset: 9% 21%; border-radius: .55rem; box-shadow: 0 12px 24px #142e24aa; }
.paper-back { background: #e9ad7b; transform: rotate(13deg) translate(15%, 4%); }
.paper-front { padding: 10%; background: #f7f8ea; transform: rotate(-11deg); display: grid; gap: 8%; grid-template-columns: repeat(2, 1fr); }
.paper-front i { border: 2px dashed #668471; border-radius: .25rem; }
.counter { position: absolute; bottom: 8%; right: 9%; width: 20%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); box-shadow: inset 0 -5px #a4bc6d, 0 5px 10px #142e2488; }
.counter.second { bottom: 3%; right: 27%; width: 14%; background: #efb586; box-shadow: inset 0 -4px #b87346, 0 5px 10px #142e2488; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card, .start, .related, .worksheet { border: 1px solid var(--line); padding: clamp(1rem, 3vw, 1.55rem); background: var(--panel); border-radius: .75rem; }
.card .category, .card p:last-child, .site-footer, .crumb { color: var(--muted); }
.card p:last-child { margin: 0; }
.start { margin-block: 2.5rem; }
.start p { max-width: 68ch; }
.reading { width: min(100%, 44rem); margin: clamp(2rem, 7vw, 4rem) auto; }
.reading h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
.reading > section, .related { margin-block: 2rem; }
.reading > h2 { margin-top: 2rem; }
.related ul { margin: 0; }
.site-footer { border-top: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; table-layout: fixed; }
caption { text-align: left; font-weight: bold; }
th, td { border: 1px solid var(--line); text-align: left; padding: .25rem; height: 2.2rem; overflow-wrap: anywhere; }
.blank { display: inline-block; width: min(12rem, 50%); border-bottom: 1px solid; }
.checks { padding: 0; list-style: none; }
.checks li::before { content: ""; display: inline-block; width: .75rem; height: .75rem; border: 1px solid; margin-right: .6rem; }
@media (max-width: 50rem) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 37rem) {
  .hero, .guide-grid { grid-template-columns: 1fr; }
  .illustration { max-width: 10rem; justify-self: start; }
}
@media print {
  :root { background: white; color: black; }
  body:has(.worksheet) .site-header, body:has(.worksheet) .site-footer,
  body:has(.worksheet) .skip, body:has(.worksheet) .reading > :not(.worksheet) { display: none; }
  .worksheet { border: 0; margin: 0; padding: 0; }
}
