:root {
  --paper: #fbf9f1;
  --surface: #fffefa;
  --ink: #172e29;
  --muted: #40534c;
  --forest: #154738;
  --moss: #e1f1e3;
  --line: #b7c7b9;
  --clay: #95371f;
  --peach: #ffdfcf;
  --ochre: #f8d681;
  --sky: #dbedf9;
  --violet: #ece3fa;
  --body: 'Segoe UI', system-ui, sans-serif;
  --display: Georgia, 'Times New Roman', serif;
  font-family: var(--body);
}
.wrap { width: min(100% - clamp(1.5rem, 6vw, 5rem), 78rem); }
main { padding-top: clamp(1.15rem, 3vw, 2.25rem); }
main h1 { font-size: clamp(2.35rem, 5.4vw, 4.65rem); line-height: 1.06; }
main h2 { font-size: clamp(1.65rem, 3.4vw, 2.8rem); line-height: 1.14; }
main h3 { font-size: clamp(1.13rem, 2vw, 1.38rem); line-height: 1.28; }
p, .content-card p { line-height: 1.64; }
.page-intro, .directory-intro { color: var(--muted); }
button, input, select, textarea { font-family: inherit; }
label { font-size: .98rem; }
figcaption { color: var(--muted); font-size: .875rem; }
.challenge-facts, [data-count], .ql-work time { font-variant-numeric: tabular-nums; }
.site-header { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); }
.site-header a { color: var(--forest); }
.wordmark { display: inline-flex; font-size: clamp(.98rem, 3vw, 1.12rem); }
.wordmark::before { background: radial-gradient(circle at 67% 33%, var(--surface) 47%, transparent 48%), var(--ochre); border-color: var(--forest); }
.site-header :focus-visible, .hero :focus-visible { outline-color: var(--clay); }
.menu-toggle { display: inline-flex; align-items: center; gap: .7rem; min-width: 44px; min-height: 44px; border: 1px solid var(--forest); padding-inline: .9rem; border-radius: .55rem; font-weight: 650; }
.menu-icon { display: block; width: 1.15rem; height: 2px; background: currentColor; box-shadow: 0 -5px currentColor, 0 5px currentColor; }
.nav-fallback { margin-inline-start: auto; }
.nav-fallback ul { display: block; }
.menu-open { overflow: hidden; }
.navigation-drawer { box-sizing: border-box; position: fixed; inset: 0 0 0 auto; margin: 0; width: min(100%, 27rem); max-width: none; max-height: none; height: 100%; height: 100dvh; padding: 1rem clamp(1rem, 4vw, 1.75rem) 2rem; border: 0; border-inline-start: 1px solid var(--line); background: var(--surface); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.navigation-drawer[open] { animation: menu-enter .22s ease-out; }
.navigation-drawer::backdrop { background: #112a2280; }
@keyframes menu-enter { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .navigation-drawer[open] { animation: none; } }
.drawer-head { position: sticky; inset-block-start: -1rem; background: var(--surface); display: flex; justify-content: space-between; align-items: center; padding-block: .7rem; z-index: 1; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font: 600 1.5rem var(--display); }
.drawer-head button { min-width: 44px; min-height: 44px; font-size: 1.4rem; }
.navigation-drawer ul { margin: 0; padding: 0; list-style: none; }
.navigation-drawer details ul { margin-inline-start: .65rem; padding-inline-start: .7rem; border-inline-start: 1px solid var(--line); }
.navigation-drawer nav a, .navigation-drawer summary { display: flex; align-items: center; min-height: 44px; padding: .45rem .35rem; }
.navigation-drawer summary { display: list-item; padding-block: .6rem; font-weight: 650; }
.navigation-drawer nav a:hover { background: var(--moss); }
.navigation-drawer .drawer-start { margin-block: 1rem; border-radius: .5rem; background: var(--forest); color: white; justify-content: center; font-weight: 700; }
.navigation-drawer .drawer-start:hover { background: #20664f; }
.drawer-secondary { border-top: 1px solid var(--line); font-size: .92rem; }
.hero { padding: 0; gap: 0; grid-template-columns: 1.05fr 1fr; min-height: 0; background: #f8edce; border: 1px solid #dbc89b; color: var(--ink); border-radius: 1rem; }
.hero-copy { padding: clamp(1.3rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.45rem, 5.9vw, 5.25rem); letter-spacing: -.045em; max-width: 13ch; }
.hero p, .hero .hero-tag { color: var(--forest); }
.hero .hero-tag { font-weight: 700; max-width: 28ch; }
.hero-actions { margin-top: 1.6rem; }
.hero-actions a { color: var(--forest); border-color: var(--forest); text-decoration: none; font-weight: 650; }
.hero-actions a:first-child { color: white; background: var(--forest); border-color: var(--forest); }
.hero-actions a:hover { text-decoration: underline; }
.hero-photograph { position: relative; align-self: stretch; margin: 0; min-width: 0; }
.hero-photograph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 50%; }
.hero-photograph figcaption { position: absolute; inset: auto 1rem 1rem; width: fit-content; max-width: calc(100% - 2rem); background: var(--surface); padding: .4rem .75rem; border-radius: .4rem; }
.quick-start { border-bottom: 1px solid var(--line); padding-block: .7rem 1.15rem; }
.quick-start a:nth-child(2) { background: var(--peach); }
.quick-start a:nth-child(3) { background: var(--sky); }
.quick-start a:nth-child(4) { background: var(--violet); }
.content-card { overflow: hidden; }
.card-photo { display: block; width: 100%; aspect-ratio: 1.75; object-fit: cover; }
.card > .card-photo + .card-body, #interests .card > .card-body { padding: 1rem 1.2rem 1.25rem; }
#interests .grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,17rem),1fr)); }
#interests .content-card { padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: .7rem; }
#challenge-lengths .content-card:nth-child(1) { background: #e8f4e8; }
#challenge-lengths .content-card:nth-child(2) { background: #ffede1; }
#challenge-lengths .content-card:nth-child(3) { background: #e6effb; }
#featured .content-card { background: var(--surface); border-top: .28rem solid var(--forest); }
#toolkit .grid { background: #eef4eb; border-radius: .75rem; }
.directory-lead { background: var(--moss); padding: clamp(1rem, 4vw, 2.5rem); border-radius: .8rem; }
.directory-lead:has(> .directory-photo) { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(1rem, 4vw, 3rem); }
.directory-lead h1 { margin-block-end: .8rem; }
.directory-photo { width: 100%; aspect-ratio: 1.5; object-fit: cover; border-radius: .55rem; }
.directory-intro { max-width: 45rem; }
[data-page-id=D30] .directory-lead { background: var(--peach); border-inline-start: .4rem solid var(--clay); }
[data-page-id=D100] .directory-lead { background: var(--sky); border-bottom: .4rem solid var(--forest); }
[data-page-id=D100] .directory-lead h1 { color: var(--forest); background: transparent; padding: 0; }
.directory-jump { display: inline-block; padding: .65rem 0; font-weight: 700; }
.content-card-tool { border-inline-start: .3rem solid var(--clay); }
.content-card-guide { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.content-card-printable { background: #fff; box-shadow: inset 0 .25rem var(--sky); }
.paper-preview { display: grid; gap: .45rem; padding: .65rem .85rem; margin-bottom: .9rem; background: var(--sky); border: 1px solid var(--line); border-radius: .35rem; }
.paper-preview p { font-size: .77rem; font-weight: 700; margin: 0; }
.paper-preview strong { font-size: .825rem; }
.paper-preview span { display: block; border-bottom: 1px solid #647971; margin-top: .55rem; }
.challenge-outcome { border-top: 1px solid var(--line); padding-top: .65rem; }
.guide-byline { font-size: .95rem; }
[data-page=guide] .editorial { max-width: 66ch; font-size: 1.075rem; }
[data-page=trust] main { max-width: 56rem; }
[data-page=tool] .editorial { max-width: 73ch; }

:root {
  --text-card: .98rem;
  --text-control: 1rem;
  --text-reading: clamp(1rem, .96rem + .28vw, 1.125rem);
}

.content-card h3 { font-weight: 650; line-height: 1.28; }
.content-card p { font-size: var(--text-card); }
.filters label, .ql-work label { font-size: var(--text-control); font-weight: 600; line-height: 1.4; }
.ql-work :is(button, input, select, textarea) { font-size: var(--text-control); line-height: 1.4; }
[data-page=tool] .editorial, .tool-practice { font-size: var(--text-reading); }
[data-page=tool] .editorial :is(p, li), .tool-practice p { line-height: 1.72; }
[data-page=tool] .editorial > h2 { font-size: clamp(1.55rem, 1.35rem + .8vw, 2.15rem); }
.tool-reading-links .link-list { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.tool-reading-links a { display: inline-block; padding-block: .35rem; font-weight: 650; }
#tool-practice { max-width: 73ch; margin-block: 1.5rem 2.5rem; }
.tool-practice { border-inline-start: 3px solid var(--forest); padding-inline-start: clamp(.8rem, 3vw, 1.4rem); }
.tool-practice dd { margin-inline-start: 0; }
.tool-practice dd p { margin-block: .25rem 1rem; }
.tool-comparison { overflow: auto; max-width: 100%; }
.tool-comparison table { width: 100%; border-collapse: collapse; }
.tool-comparison :is(th, td) { border-block-end: 1px solid var(--line); padding: .7rem; text-align: start; vertical-align: top; }
.tool-comparison thead { background: var(--moss); }
.tool-comparison a { font-weight: 650; }
.comparison-label { display: none; }

@media (max-width: 42rem) {
  .tool-comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tool-comparison :is(table, tbody, tr, th, td) { display: block; }
  .tool-comparison tbody tr { border-block-end: 1px solid var(--line); padding-block: .6rem; }
  .tool-comparison tbody :is(th, td) { border: 0; padding: .3rem 0; }
  .comparison-label { display: block; font-size: .875rem; color: var(--muted); }
}
.site-footer { background: #e7f3e7; }
@media (max-width: 48rem) {
  .site-header .header-inner { align-items: center; }
  .hero, .directory-lead:has(> .directory-photo) { grid-template-columns: 1fr; }
  .hero-photograph { aspect-ratio: 1.45; }
  .hero h1 { max-width: 14ch; }
}
@media print {
  .navigation-drawer, .hero-photograph { display: none; }
  .hero { display: block; }
}
