:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --white: #fffefa;
  --blue: #2052c9;
  --blue-deep: #1945ac;
  --ink: #233b55;
  --muted: #4e6073;
  --sky: #e6edfc;
  --yellow: #eee18d;
  --rule: #c7d0dc;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: #d4dff9; }
a { color: var(--blue-deep); text-decoration-thickness: .075em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { margin-bottom: 1.2rem; font-size: clamp(2.35rem, 7.5vw, 4.5rem); font-weight: 650; letter-spacing: -.052em; }
h2 { margin-bottom: 1.3rem; font-size: clamp(1.8rem, 4.8vw, 2.6rem); font-weight: 630; letter-spacing: -.035em; }
h3, h4, .checklist__title--label { margin-bottom: .65rem; font-size: 1.15rem; line-height: 1.35; font-weight: 650; }
p { margin-bottom: 1rem; }
ul { padding-left: 1.35rem; }
li { padding-left: .15rem; }
::selection { color: #173c95; background: #e7d782; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 20; min-height: 48px; padding: .65rem 1rem; background: var(--white); border: 2px solid var(--blue); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.site-shell { min-width: 0; }
.site-shell__body { min-width: 0; }
.side-index { padding: 1.1rem 1.1rem .8rem; background: var(--sky); }
.side-index__brand { display: inline-flex; align-items: center; gap: .8rem; min-height: 56px; padding: .15rem .2rem .8rem; font-size: 1.1rem; font-weight: 650; line-height: 1.15; text-decoration: none; }
.side-index__mark { position: relative; width: 32px; height: 38px; background: var(--blue); border-radius: 14px 14px 3px 3px; transform: rotate(-9deg); flex: 0 0 auto; }
.side-index__mark::after { content: ""; position: absolute; width: 12px; height: 15px; right: -4px; bottom: 5px; background: var(--yellow); border-radius: 9px 9px 1px 1px; }
.side-index__list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .35rem; margin: .45rem 0 0; padding: 0; list-style: none; }
.side-index__list li { padding: 0; min-width: 0; }
.side-index__link { display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: .55rem .45rem; border-radius: 9px; text-decoration: none; font-size: 16px; }
.side-index__link:hover { background: #d6e1fb; }
.side-index__link--current { color: var(--white); background: var(--blue); }
.side-index__link--current:hover { background: var(--blue-deep); }
.side-index__name { font-weight: 650; }
.side-index__detail, .side-index__note { display: none; }
.guide { padding: 2rem 1.25rem 3rem; max-width: 1220px; margin: 0 auto; }
.page-heading { position: relative; padding-bottom: 2.8rem; }
.page-heading__copy { position: relative; z-index: 1; }
.page-heading__kicker { margin-bottom: 1.1rem; font-size: 16px; color: var(--blue-deep); }
.page-heading__intro { max-width: 60ch; font-size: 1.1rem; line-height: 1.55; color: var(--muted); }
.page-heading__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 52px; padding: .7rem 1rem; font-size: 16px; font-weight: 600; line-height: 1.4; border: 0; border-radius: 11px; text-decoration: none; cursor: pointer; }
.button--blue { color: var(--white); background: var(--blue); }
.button--blue:hover { color: var(--white); background: var(--blue-deep); }
.button--paper { color: var(--blue-deep); background: var(--sky); }
.button--paper:hover { background: #d6e1fb; }
.text-link { display: inline-flex; align-items: center; gap: .8rem; min-height: 48px; padding: .55rem 0; border: 0; color: var(--blue-deep); background: transparent; text-decoration: underline; text-decoration-thickness: .075em; text-underline-offset: .2em; font-size: 16px; cursor: pointer; }
.paper-collage { position: relative; width: min(100%,410px); height: 295px; margin: 1.9rem auto .5rem; isolation: isolate; }
.paper-collage__arch { position: absolute; width: 205px; height: 255px; left: 13%; top: 3%; background: #7296ee; border-radius: 120px 120px 2px 2px; transform: rotate(-14deg); box-shadow: 4px 8px 0 #e1e5e6; }
.paper-collage__circle { position: absolute; top: 2%; right: 3%; width: 122px; height: 122px; border: 30px solid var(--blue); border-radius: 50%; transform: rotate(12deg); }
.paper-collage__sheet { position: absolute; width: 212px; height: 215px; top: 20%; left: 25%; border-radius: 2px; }
.paper-collage__sheet--back { background: #d1dcf2; transform: rotate(13deg); box-shadow: 8px 9px 0 #253b5520; }
.paper-collage__sheet--front { display: grid; align-content: center; grid-template-columns: 22px 1fr; gap: 21px 16px; padding: 25px; background: var(--white); transform: rotate(-7deg); box-shadow: 1px 4px 10px #233b5521; clip-path: polygon(0 0,100% 0,100% 96%,95% 98%,90% 96%,84% 100%,78% 97%,71% 99%,65% 96%,59% 100%,51% 97%,44% 99%,36% 96%,30% 100%,23% 96%,15% 99%,8% 97%,0 99%); }
.paper-collage__tick { position: relative; width: 21px; height: 21px; border: 2px solid #4868b3; border-radius: 4px; }
.paper-collage__tick::after { content: ""; position: absolute; width: 10px; height: 6px; left: 4px; top: 4px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.paper-collage__line { display: block; align-self: center; height: 9px; background: #d4def0; border-radius: 6px; }
.paper-collage__cut { grid-column: 1/-1; width: 56px; height: 10px; margin-bottom: 1px; border-radius: 2px; background: #adc1ed; }
.paper-collage__tape { position: absolute; top: 17%; left: 40%; width: 95px; height: 29px; background: #e8d981; opacity: .9; transform: rotate(-10deg); clip-path: polygon(0 8%,98% 0,100% 90%,2% 100%); }
.paper-collage__scrap { position: absolute; bottom: 1%; left: 5%; width: 76px; height: 53px; background: #e4d37f; transform: rotate(12deg); clip-path: polygon(3% 0,100% 6%,96% 94%,0 100%); }
.page-heading__paper { display: none; }
.chapter { scroll-margin-top: 1.5rem; padding: 2.5rem 0; border-top: 2px solid var(--rule); }
.chapter__heading { max-width: 43rem; }
.chapter__tab { display: inline-block; padding: .35rem .75rem; margin-bottom: 1rem; color: var(--blue-deep); background: var(--sky); border-radius: 6px 6px 6px 0; font-size: 16px; line-height: 1.5; }
.chapter > p, .chapter > h3 { max-width: 67ch; }
.checklist { list-style: none; padding: 0; margin: 0; max-width: 70ch; }
.checklist__item { position: relative; padding: 0 0 1.6rem 2.35rem; }
.checklist__item::before { content: ""; position: absolute; width: 23px; height: 23px; border: 2px solid #6d8bca; border-radius: 6px; top: 2px; left: 0; }
.checklist__item::after { content: ""; position: absolute; width: 11px; height: 6px; left: 6px; top: 9px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.checklist__item:last-child { padding-bottom: .25rem; }
.checklist__title { margin-bottom: .55rem; }
.checklist__item p { margin-bottom: .3rem; }
.checklist__item .checklist__title--label { margin-bottom: .55rem; }
.checklist--caution .checklist__item::before { background: var(--yellow); border-color: #b8a750; border-radius: 50%; }
.checklist--caution .checklist__item::after { height: 10px; width: 2px; left: 11px; top: 8px; transform: none; border: 0; background: var(--ink); }
.chapter-notes { max-width: 72ch; margin-top: 1.5rem; padding-top: 1rem; }
.chapter-notes__label { display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; font-size: 16px; font-weight: 650; color: var(--muted); }
.chapter-notes__label::before { content: ""; display: inline-block; width: 32px; height: 3px; background: #8da5d6; }
.chapter-notes__list { display: grid; gap: .1rem; list-style: none; padding: 0; margin: 0; }
.chapter-notes__list li { padding: 0; }
.chapter-notes__list a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 48px; padding: .55rem .2rem; font-size: 16px; line-height: 1.5; }
.chapter-notes__list a span { flex: 0 0 auto; }
.margin-note { max-width: 67ch; padding: 1rem 1.15rem; margin: .5rem 0 1.2rem; border-radius: 0 12px 12px 0; border-left: 5px solid #88a5e7; background: #eaf0fc; }
.margin-note p:last-child { margin: 0; }
.price-note { max-width: 67ch; padding: 1.4rem 1.2rem; margin-bottom: 1.8rem; background: #eee9d8; border-radius: 14px 14px 14px 0; }
.price-note__lead { font-size: 1.2rem; line-height: 1.55; }
.price-note p:last-child { margin-bottom: 0; }
.next-sheet { display: grid; gap: 1rem; padding: 1.7rem 1.3rem; margin-top: 1.2rem; background: var(--sky); border-radius: 20px 20px 20px 0; }
.next-sheet__label { margin-bottom: .7rem; color: var(--blue-deep); font-size: 16px; }
.next-sheet h2 { max-width: 18ch; margin-bottom: .8rem; }
.next-sheet p { max-width: 50ch; }
.next-sheet .button { justify-self: start; }
.worksheet { max-width: 72ch; margin-top: 1.6rem; padding: 1.3rem 1.1rem; border-radius: 15px; background: var(--white); box-shadow: 0 5px 0 #dce3f1; }
.worksheet__choices { display: grid; gap: .6rem; padding: 0; margin: 0; border: 0; min-width: 0; }
.worksheet__choices legend { float: left; width: 100%; margin-bottom: 1rem; font-weight: 650; font-size: 1.1rem; line-height: 1.45; }
.worksheet__choice { display: flex; align-items: center; min-height: 52px; gap: .85rem; padding: .5rem .65rem; background: #edf1fb; border-radius: 8px; cursor: pointer; line-height: 1.45; }
.worksheet__choice input { appearance: none; position: relative; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; border: 2px solid #7185ac; border-radius: 8px; background: var(--white); cursor: pointer; }
.worksheet__choice input:checked { background: var(--blue); border-color: var(--blue); }
.worksheet__choice input:checked::after { content: ""; position: absolute; width: 18px; height: 10px; left: 10px; top: 11px; border-left: 3px solid white; border-bottom: 3px solid white; transform: rotate(-45deg); }
.worksheet__hint { margin: 1.1rem 0 1.5rem; font-size: 16px; color: var(--muted); }
.worksheet__output-title { padding-bottom: 1rem; border-bottom: 2px solid var(--rule); font-size: 1.35rem; }
.worksheet__group { padding: .8rem 0; }
.worksheet__group ul { margin-bottom: 0; }
.worksheet__group li { margin-bottom: .6rem; }
.worksheet__actions { display: flex; flex-wrap: wrap; gap: .65rem; padding-top: .8rem; }
.worksheet__actions button:disabled { cursor: default; background: #dbe2ef; color: #4e6073; }
.worksheet__status { min-height: 1.6em; margin: .8rem 0 0; font-size: 16px; }
.help-note { max-width: 67ch; padding: 1.2rem 1.25rem; margin-top: 1.7rem; background: #f0e8b8; border-radius: 13px; }
.help-note p { margin-bottom: 0; }
.site-footer { max-width: 1220px; padding: 1.8rem 1.25rem 2.2rem; margin: 0 auto; border-top: 2px solid var(--rule); color: var(--muted); font-size: 16px; }
.site-footer p { max-width: 68ch; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.site-footer__links a { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .5rem 0; font-size: 16px; }
.recovery { padding: 2rem 0; }
.recovery ul { padding: 0; list-style: none; }
.recovery a { display: inline-flex; align-items: center; min-height: 52px; padding: .6rem 0; }
@media (min-width: 700px) {
  .guide { padding: 3.5rem 2.5rem 4rem; }
  .paper-collage { width: 390px; height: 320px; }
  .page-heading { padding-bottom: 3.5rem; }
  .chapter { padding: 3rem 0; }
  .worksheet { padding: 1.8rem; }
  .next-sheet { padding: 2rem; }
  .site-footer { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (min-width: 1040px) {
  .site-shell { display: grid; grid-template-columns: 236px minmax(0,1fr); }
  .side-index { align-self: start; position: sticky; top: 0; min-height: 100vh; padding: 2.2rem 1.25rem; border-radius: 0 28px 28px 0; }
  .side-index__brand { font-size: 1.35rem; padding: .3rem .5rem; margin-bottom: 3.5rem; }
  .side-index__mark { width: 36px; height: 43px; }
  .side-index__list { grid-template-columns: 1fr; gap: .6rem; }
  .side-index__link { min-height: 94px; padding: .8rem 1rem; border-radius: 13px; font-size: 18px; }
  .side-index__name { font-size: 1.05rem; }
  .side-index__detail { display: block; margin-top: .25rem; font-size: 16px; line-height: 1.4; }
  .side-index__note { display: block; margin: 4rem .8rem 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
  .guide { padding: 4rem 4.1vw; }
  .page-heading { padding-bottom: 4rem; }
  .page-heading h1 { max-width: 17ch; }
  .page-heading--home { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr); gap: .2rem; align-items: center; }
  .page-heading--home h1 { font-size: clamp(3rem, 4.5vw, 4.5rem); max-width: 14ch; }
  .page-heading__intro { font-size: 1.12rem; }
  .paper-collage { width: 100%; height: 345px; margin: 0; transform: translateY(-.5rem); }
  .paper-collage__sheet { width: 208px; height: 228px; left: 20%; top: 23%; }
  .paper-collage__circle { right: 0; top: 3%; }
  .paper-collage__arch { left: 8%; top: 5%; height: 284px; }
  .paper-collage__tape { top: 22%; left: 36%; }
  .paper-collage__scrap { left: 1%; bottom: 0; }
  .page-heading__paper { display: block; position: absolute; top: 1rem; right: 2rem; width: 130px; height: 150px; opacity: .7; }
  .page-heading__paper span { position: absolute; width: 86px; height: 108px; left: 20px; top: 20px; background: #c6d6f8; transform: rotate(12deg); border-radius: 5px; }
  .page-heading__paper span:nth-child(2) { background: #e6d886; transform: rotate(-12deg); left: 10px; top: 30px; }
  .page-heading__paper span:nth-child(3) { width: 65px; height: 86px; top: 45px; left: 30px; background: var(--white); transform: rotate(-5deg); }
  .page-heading:not(.page-heading--home) .page-heading__copy { padding-right: 150px; }
  .chapter { display: grid; grid-template-columns: minmax(0,1fr); }
  .chapter__heading { margin-bottom: .45rem; }
  .checklist__item { padding-bottom: 1.9rem; }
  .chapter-notes { margin-left: 2.35rem; }
  .next-sheet { grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 1.6rem; }
  .next-sheet h2 { font-size: 2.1rem; }
  .next-sheet p:last-child { margin-bottom: 0; }
  .next-sheet .button { align-self: end; max-width: 235px; }
  .site-footer { padding: 2rem 4.1vw 2.5rem; }
}
@media (min-width: 1500px) {
  .site-shell { grid-template-columns: 265px minmax(0,1fr); }
  .guide { padding-top: 5rem; }
  .paper-collage { height: 385px; }
  .paper-collage__arch { height: 320px; width: 230px; }
  .paper-collage__sheet { width: 240px; height: 250px; }
  .paper-collage__circle { width: 140px; height: 140px; border-width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .worksheet__choice input { appearance: auto; }
  .paper-collage, .page-heading__paper { forced-color-adjust: none; }
  .side-index__link--current { outline: 2px solid currentColor; }
}
@media print {
  :root { font-size: 12pt; color: #000; background: #fff; }
  .site-shell { display: block; }
  .side-index, .skip-link, .paper-collage, .page-heading__paper, .next-sheet, .site-footer__links, .worksheet__actions, .worksheet__choices, .worksheet__hint, .worksheet__status { display: none !important; }
  .guide { padding: 0; max-width: none; }
  .page-heading:not(.page-heading--home) .page-heading__copy { padding-right: 0; }
  .page-heading { padding-bottom: 1rem; }
  h1, .page-heading--home h1 { font-size: 28pt; max-width: none; }
  h2 { font-size: 20pt; }
  .chapter { padding: 1.3rem 0; }
  .chapter, .worksheet__group { break-inside: avoid; }
  .worksheet { box-shadow: none; padding: 0; }
  a { color: #000; }
  .site-footer { padding: 1rem 0; }
}
