@font-face {
  font-family: "Nunito Sans";
  src: url("/nunito-sans-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Nunito Sans", "Trebuchet MS", sans-serif;
  color: #243f30;
  background: #fbfcf8;
  font-synthesis: none;
  scroll-padding-bottom: 7rem;
}

* { box-sizing: border-box; }
body { margin: 0; padding-bottom: 7rem; font-size: 18px; line-height: 1.65; }
main, article, section, aside, div { min-width: 0; }
h1, h2, h3, .section-heading, p, ul, ol, dl { margin-top: 0; }
h1 { font-size: clamp(2.7rem, 5.4vw, 5.1rem); font-weight: 650; line-height: 1.08; letter-spacing: -0.045em; margin-bottom: 1.5rem; }
h2, .section-heading { font-size: clamp(1.75rem, 3vw, 2.2rem); font-weight: 680; line-height: 1.22; letter-spacing: -0.025em; margin-bottom: 1.25rem; text-wrap: balance; }
h3 { font-size: 23px; line-height: 1.3; font-weight: 700; margin-bottom: 0.75rem; }
p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.65rem; }
strong { font-weight: 750; }
a { color: #245f3b; text-underline-offset: 0.22em; text-decoration-thickness: 1px; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; min-width: 44px; max-width: 100%; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid #28633e; outline-offset: 5px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 2px solid #285a3b; background: #285a3b; color: #fff; padding: 0.75rem 1.3rem; min-height: 52px; min-width: 44px; border-radius: 2rem; cursor: pointer; line-height: 1.4; }
button:hover { background: #19482c; border-color: #19482c; }
button:disabled { cursor: default; background: #e0e8d8; border-color: #75907d; color: #3f5948; }
button[type="reset"], #copy-questions, #print-questions { background: #fbfcf8; color: #245339; }
button[type="reset"]:hover, #copy-questions:hover, #print-questions:hover { background: #e2edd9; }
fieldset { min-width: 0; padding: 0; margin: 1.75rem 0; border: 0; }
legend { font-weight: 750; font-size: 22px; margin-bottom: 1.25rem; padding: 0; }
label { display: block; font-weight: 700; margin: 1.5rem 0 0.5rem; }
input, select, textarea { width: 100%; min-width: 0; min-height: 56px; padding: 0.7rem 1rem; border: 2px solid #75907d; border-radius: 16px; background: #fff; line-height: 1.5; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: #285a3b; }
[hidden] { display: none !important; }
::selection { color: #183b27; background: #c8ddb4; }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 30; transform: translateY(-160%); background: #fff; padding: 0.8rem 1rem; border: 2px solid #285a3b; border-radius: 20px; }
.skip-link:focus { transform: none; }

.masthead { max-width: 1256px; margin: 0 auto; padding: 24px 32px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.masthead > a { text-decoration: none; font-weight: 750; line-height: 1.3; }
.masthead > a:first-child { flex-wrap: wrap; column-gap: 1rem; }
.masthead > a:first-child span { color: #526553; font-weight: 450; }
.masthead > a:last-child { font-size: 16px; font-weight: 650; }

.home-opening { max-width: 1192px; margin: 0 auto; padding: 58px 58px 64px; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 3.5rem; background: #e2efd4; border-radius: 48px 48px 108px 48px; }
.home-opening h1 { font-size: clamp(2.75rem, 5.2vw, 4.7rem); }
.home-opening h1 span { color: #426748; font-weight: 450; }
.guide-label { font-size: 18px; color: #3e6247; font-weight: 700; margin-bottom: 1.65rem; }
.opening-copy { font-size: 21px; line-height: 1.6; max-width: 39rem; }
.opening-link { padding: 0.8rem 1.3rem; margin-top: 1.5rem; border-radius: 40px; background: #285a3b; color: #fff; text-decoration: none; font-weight: 700; gap: 1rem; }
.opening-link:hover { background: #19482c; }
.route-notes { align-self: center; padding: 22px 0 0; }
.route-notes p { padding: 1rem 1.3rem; border-radius: 24px; background: #c7dcaf; color: #2b4e33; font-size: 21px; font-weight: 650; line-height: 1.4; width: max-content; max-width: 100%; margin-bottom: 14px; }
.route-notes p:nth-child(2) { margin-left: 1.25rem; background: #f7faf0; }
.route-notes p:nth-child(3) { margin-left: 2.25rem; background: #eeddab; }
.route-notes > span { display: block; font-size: 48px; font-weight: 350; margin-left: 2.3rem; line-height: 1.1; }
.route-notes p:last-child { background: transparent; color: #4a6347; font-weight: 450; font-size: 19px; padding: 1rem 0 0 1rem; }

.page-opening { max-width: 1056px; padding: 38px 48px 48px; margin: 0 auto; }
.page-opening h1 { max-width: 18ch; }
.page-opening .guide-label { margin-bottom: 1.3rem; }
.page-opening .guide-label a { color: inherit; }
.page-opening .opening-copy { max-width: 43rem; }
.reading-flow { max-width: 1080px; margin: 0 auto; padding: 64px 32px 24px; }
.reading-flow > section, .topic-group > section { max-width: 46rem; margin: 0 auto 64px; }
:is(.reading-flow, .topic-group) > section:not(.topic-group) :is(h2, .section-heading) { max-width: 29ch; }
.reading-flow > section:last-child { margin-bottom: 24px; }
/* Topic wrappers and heading levels change the outline without adding layout boxes. */
.reading-flow .topic-group { display: contents; }
.takeaway { max-width: 52rem; margin: 0 auto 64px; padding: 34px 40px; background: #edf3e5; border-radius: 32px; }
.takeaway :is(h2, .section-heading) { font-size: 29px; max-width: 34ch; }
.carry-question { max-width: 52rem; margin: 0 auto 64px; border-radius: 36px 36px 70px 36px; background: #ede4bd; padding: 30px 40px; }
.carry-question .question-label { font-size: 18px; line-height: 1.5; margin-bottom: 12px; letter-spacing: 0; font-weight: 700; }
.carry-question > p:last-child { font-size: 26px; line-height: 1.45; font-weight: 550; color: #454a2d; }
.next-path { max-width: 46rem; margin: 16px auto 40px; padding-top: 20px; border-top: 3px solid #d4e3c7; }
.next-path p { margin-bottom: 8px; color: #526553; }
.next-path a { font-size: 21px; font-weight: 700; gap: 0.8rem; }

.reading-flow > .path-index { max-width: 100%; }
.path-index > h2 { padding-left: 8px; }
.path-index ul { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.path-index li { margin: 0; min-width: 0; }
.path-index li > a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; gap: 8px 16px; width: 100%; height: 100%; padding: 24px 26px; border-radius: 28px; background: #edf3e5; text-decoration: none; }
.path-index li > a:hover { background: #dce9cc; }
.path-index a > h3 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.25; }
.path-index a > span:nth-child(2) { grid-column: 1; font-size: 18px; line-height: 1.5; color: #4c614d; }
.path-index a > span:last-child { grid-column: 2; grid-row: 1 / 3; font-size: 28px; align-self: start; line-height: 1.3; }
.path-index li:last-child { grid-column: 1 / -1; }
.path-index li:last-child > a { background: #e9e4c9; }
.path-index li:last-child > a:hover { background: #e0d8b4; }

.visit-choices { margin-top: 28px; display: grid; gap: 24px; }
.visit-choices > div { border-left: 6px solid #b2ce97; padding: 8px 0 8px 24px; }
.visit-questions { margin: 28px 0 0; display: grid; grid-template-columns: 8rem 1fr; gap: 26px; }
.visit-questions dt { color: #426748; font-weight: 750; border-top: 3px solid #d4e3c7; padding-top: 16px; }
.visit-questions dd { margin: 0; padding-top: 16px; border-top: 3px solid #e7eddc; font-size: 21px; line-height: 1.5; }
.urgent-note { background: #f1e5cc; max-width: 52rem; margin: 0 auto 64px; padding: 34px 40px; border-radius: 32px; }
.urgent-note :is(h2, .section-heading) { font-size: 29px; }
.urgent-note p:last-child { font-weight: 750; font-size: 21px; }

.reading-flow > .worksheet { max-width: 52rem; padding: 36px 40px; border: 3px solid #ccddbe; border-radius: 36px; background: #f2f6ec; }
.worksheet-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 28px; }
.worksheet-result { margin-top: 36px; padding-top: 30px; border-top: 3px solid #b6cba5; }
.worksheet-result dl { margin: 0 0 30px; }
.worksheet-result dt { font-weight: 750; margin-top: 20px; }
.worksheet-result dd { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.worksheet-result ul { margin-top: 1.25rem; }
#copy-status { margin-top: 20px; color: #375b3e; }
#copy-status:empty { display: none; }

footer { max-width: 1080px; margin: 32px auto 0; padding: 36px 32px 32px; font-size: 17px; color: #526553; }
footer > p { max-width: 46rem; margin: 0 auto 16px; }
footer > div { max-width: 46rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 26px; }
footer a { font-size: 17px; }
.bottom-dock { position: fixed; z-index: 20; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; width: max-content; max-width: calc(100% - 24px); padding: 7px; border: 2px solid #cfdfc3; border-radius: 50px; background: #fff; box-shadow: 0 7px 22px #24452d19; }
.bottom-dock a { padding: 11px 25px; min-height: 50px; border-radius: 40px; justify-content: center; text-decoration: none; line-height: 1.3; font-size: 17px; font-weight: 700; }
.bottom-dock a:hover { background: #edf3e5; }
.bottom-dock a[aria-current="page"] { background: #dbeacb; color: #1d4b2b; }

@media (max-width: 1240px) {
  .home-opening { margin-inline: 24px; padding: 48px 40px; gap: 36px; }
  .home-opening h1 { font-size: clamp(2.7rem, 5.4vw, 4.4rem); }
}

@media (max-width: 760px) {
  .masthead { padding: 18px 22px; gap: 1rem; }
  .masthead > a:first-child { display: block; font-size: 17px; }
  .masthead > a:first-child span { display: block; padding-top: 4px; font-size: 16px; }
  .masthead > a:last-child { max-width: 8rem; text-align: right; font-size: 16px; }
  .home-opening { grid-template-columns: 1fr; margin-inline: 14px; padding: 32px 26px 30px; gap: 36px; border-radius: 32px 32px 64px 32px; }
  .home-opening h1 { font-size: clamp(2.65rem, 8.5vw, 4.25rem); }
  .home-opening h1 br { display: none; }
  .home-opening h1 span { display: block; }
  .opening-copy { font-size: 20px; line-height: 1.5; }
  .guide-label { font-size: 17px; margin-bottom: 24px; }
  .opening-link { margin-top: 14px; }
  .route-notes { padding: 0; max-width: 24rem; width: 100%; }
  .route-notes p { font-size: 19px; padding: 0.75rem 1.1rem; margin-bottom: 10px; }
  .route-notes p:nth-child(2) { margin-left: 15%; }
  .route-notes p:nth-child(3) { margin-left: 20%; }
  .route-notes > span { display: none; }
  .route-notes p:last-child { padding: 12px 0 0; font-size: 18px; line-height: 1.5; }
  .route-notes p:last-child br { display: none; }
  .page-opening { padding: 24px 24px 36px; }
  .page-opening h1 { font-size: clamp(2.7rem, 8.5vw, 3.7rem); max-width: 19ch; }
  .reading-flow { padding: 20px 22px 0; }
  .reading-flow > section, .topic-group > section { margin-bottom: 48px; }
  .takeaway, .carry-question, .urgent-note { padding: 26px 24px; margin-bottom: 48px; border-radius: 28px; }
  .takeaway :is(h2, .section-heading), .urgent-note :is(h2, .section-heading) { font-size: 26px; }
  .carry-question > p:last-child { font-size: 23px; }
  .path-index ul { grid-template-columns: 1fr; gap: 12px; }
  .path-index > h2 { padding-left: 0; }
  .path-index li > a { padding: 23px; border-radius: 26px; }
  .path-index a > h3 { margin: 0; font-size: 23px; }
  .path-index a > span:nth-child(2) { font-size: 18px; }
  .visit-questions { grid-template-columns: 1fr; gap: 0; }
  .visit-questions dt { padding-top: 20px; margin-top: 24px; }
  .visit-questions dt:first-child { margin-top: 0; }
  .visit-questions dd { padding-top: 8px; border-top: 0; font-size: 20px; }
  .reading-flow > .worksheet { padding: 26px 21px; }
  .worksheet-actions { align-items: stretch; }
  .worksheet-actions button { width: 100%; }
  footer { padding: 22px 24px 30px; }
  footer > div { gap: 8px 22px; }
  .bottom-dock { bottom: 12px; width: calc(100% - 24px); gap: 0; padding: 6px; }
  .bottom-dock a { padding: 12px 4px; flex: 1; min-width: 0; min-height: 50px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  body { padding-bottom: 0; background: #fff; color: #000; font-size: 12pt; }
  .masthead, .bottom-dock, .skip-link, .next-path, footer, .worksheet-actions { display: none; }
  .page-opening, .home-opening { padding: 0; margin: 0; background: #fff; }
  .page-opening h1, .home-opening h1 { font-size: 30pt; }
  .reading-flow { padding: 24px 0 0; }
  .reading-flow > section, .topic-group > section, .takeaway, .carry-question, .urgent-note { margin-bottom: 24px; }
  .takeaway, .carry-question, .urgent-note { background: #fff; padding: 20px 0; border-top: 2px solid #777; }
  a { min-height: 0; min-width: 0; display: inline; color: #000; }
  h2, h3, legend { break-after: avoid; }
  input, select, textarea { background: #fff; color: #000; border-color: #777; }
  .reading-flow > .worksheet { background: #fff; padding: 24px; border-color: #777; }
  .worksheet-result { break-before: page; }
  body[data-print-worksheet] .page-opening,
  body[data-print-worksheet] .reading-flow > :not(.worksheet),
  body[data-print-worksheet] .worksheet > h2,
  body[data-print-worksheet] .worksheet > p,
  body[data-print-worksheet] .worksheet > form { display: none; }
  body[data-print-worksheet] .reading-flow { padding: 0; }
  body[data-print-worksheet] .worksheet { padding: 0; border: 0; }
  body[data-print-worksheet] .worksheet-result { margin: 0; padding: 0; border: 0; break-before: auto; }
}
