/* Screen-only presentation. Worksheet and print styles remain in site.css. */
body:has(.home08),body:has(.discover){background:#faf9f5}
.home08-hero{background:#edf5f0;border:1px solid #cddfd6;box-shadow:none}
.home08-copy h1{font-size:clamp(28px,3.2vw,42px);line-height:1.55;letter-spacing:.02em;margin:10px 0 18px;color:#233f4c}
.home08-copy h1 em{color:#226c60;font-style:normal}
.home08 .home08-lead{font-size:16px;line-height:1.9}
.home08 .home08-jump{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0 28px}
.home08-jump a{background:white;border:1px solid #b9cec7;padding:12px 18px;border-radius:12px;color:#245b55;font-weight:700;min-height:44px}
.home08 .home-age-entry{background:#fff;border:1px solid #d2ded8;padding:28px;border-radius:20px;margin-bottom:24px}
.home-age-entry #home-age-title{font-size:26px;line-height:1.5;margin:8px 0 12px}
.home-age-entry h2:not(#home-age-title){font-size:18px;margin:22px 0 10px}
.home08 .home-age-buttons a{border:1px solid #acc9bf;background:#f4f8f5;border-radius:12px;padding:14px 12px;font-size:22px;min-height:80px}
.home08 .home-age-buttons a span{font-size:13px;margin-top:5px}
.home08 .home-age-small{font-size:13px;line-height:1.8;color:#52625c}
.visual-news{border:1px solid #d7ded8;background:#fff;border-radius:12px;padding:16px 20px;margin:20px 0}
.visual-news summary{cursor:pointer;color:#285e55;font-weight:700;min-height:28px}
.visual-news .home08-note{padding:12px 0;margin:0;border-bottom:1px solid #e6ebe7;line-height:1.9}
.home08-section{scroll-margin-top:30px}
.home08 .home08-goal{border:1px solid #d4dfd8;box-shadow:0 3px 12px #23463708}
.home08 .home08-card{border:1px solid #d4dfd8;box-shadow:0 3px 12px #23463708}
.home08 a:focus-visible,.discover a:focus-visible{outline:3px solid #b65d1d;outline-offset:4px}
.discover-card{border:1px solid #ccdcd4;border-radius:16px;background:#fff;padding:18px;box-shadow:0 3px 12px #23463708}
.discover-card h3{line-height:1.6}.discover-card .button{min-height:44px}
@media(max-width:620px){
body .site-header{padding:12px 16px;gap:12px}
body .site-header .brand{font-size:16px;line-height:1.5;gap:8px;flex-wrap:wrap}
body .site-header .brand-mark{width:30px;height:30px;flex:none}
body .site-header .prototype{font-size:10px;padding:2px 5px}
body .site-header nav{display:flex;flex-wrap:wrap;gap:6px;width:100%}
body .site-header nav a{font-size:12px;padding:8px 10px;min-height:44px;display:flex;align-items:center;justify-content:center;flex:1 1 auto;border-radius:9px}
.home08 .home08-hero{padding:24px 20px!important}
.home08-copy h1{font-size:27px;line-height:1.6;margin-top:8px}
.home08 .home08-lead{font-size:15px}
.home08 .home08-jump{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0 24px}
.home08-jump a{font-size:13px;padding:12px 10px;text-align:center}
.home08 .home-age-entry{padding:20px 16px}
.home-age-entry #home-age-title{font-size:23px}
.home08 .home-grade-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}
.home08 .home-age-buttons a{font-size:21px;padding:12px 6px;min-height:78px}
.home08 .home-age-buttons a span{font-size:11px}
.discover-card{padding:16px;grid-template-columns:1fr;gap:16px}
.discover-card .discover-preview{width:100%;height:220px;max-height:220px;background:#f0f4ef;border-radius:10px}
.discover-card .discover-preview img,.discover-card .discover-preview svg{max-height:210px;object-fit:contain}
.discover-card .button{width:100%;text-align:center}
}

/* Directory-first homepage, inspired by category and sample navigation. */
.directory-entry{background:#fff;border:1px solid #d6ddd3;border-top:6px solid #398264;border-radius:16px;padding:28px;margin-bottom:24px}
.directory-entry h1{font-size:30px;line-height:1.5;margin:6px 0 12px}.directory-subjects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}
.directory-subject{border:1px solid #cbded1;border-radius:12px;background:#f0f7ee;padding:18px;position:relative}
.directory-subject h2{font-size:20px;margin:10px 0 6px}.directory-subject p{font-size:14px;margin:0 0 14px}.directory-subject a{display:block;color:#205e52;font-weight:700;min-height:44px;padding:10px 0;line-height:1.6}
.directory-symbol{display:inline-block;background:#fff;border:1px solid #d0d9cf;border-radius:8px;padding:5px 12px;color:#315d4e;font-weight:800;font-size:19px}
.directory-color-1,.directory-color-4{background:#fff5e3;border-color:#e6d6b8}.directory-color-2,.directory-color-5{background:#edf5fb;border-color:#c5d9e8}
.directory-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.directory-shortcuts a{background:white;border:1px solid #b9cdc0;border-radius:8px;padding:12px;font-weight:700;font-size:14px}
.home08 .home08-hero{display:block;padding:24px!important;background:#f2f6ef}.home08-hero-art{display:none}.home08-copy h2{font-size:23px}.home08-hero .home08-eyebrow,.home08-hero .home08-lead{display:none}.home08-hero .home08-keywords{margin-top:12px}.home08-hero .home08-reassure{margin-bottom:0}
.directory-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.directory-previews article{border:1px solid #d3ded4;background:white;border-radius:12px;overflow:hidden}.directory-previews article>div{padding:16px}.directory-previews h3{margin:0}.directory-previews p{font-size:13px}.directory-paper{display:block;background:#eef2e9;padding:16px;text-align:center}.directory-paper img{display:block;width:100%;height:270px;object-fit:contain}.directory-previews .button{font-size:14px}
@media(max-width:620px){.directory-entry{padding:20px 14px}.directory-entry h1{font-size:25px}.directory-subjects{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.directory-subject{padding:12px}.directory-subject h2{font-size:17px}.directory-subject p{font-size:13px}.directory-subject a{font-size:13px}.directory-shortcuts{display:grid;grid-template-columns:1fr 1fr}.directory-shortcuts a{font-size:12px}.directory-previews{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.directory-paper{padding:8px}.directory-paper img{height:180px}.directory-previews article>div{padding:10px}.directory-previews h3{font-size:17px}.directory-previews .button{font-size:12px;padding:10px 6px;white-space:normal}.home08 .home08-hero{padding:18px!important}}

/* Crawlable home copy, also serves visitors when JavaScript is unavailable. */
.search-index-intro{max-width:1040px;margin:26px auto;padding:24px;background:#fff;border:1px solid #d4dfd8;border-radius:16px;line-height:1.8;color:#294650}
.search-index-intro h1{font-size:clamp(24px,3vw,34px);line-height:1.4;margin:0 0 12px}
.search-index-intro p{max-width:78ch}.search-index-intro nav{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.search-index-intro nav a{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border:1px solid #b9cec7;border-radius:9px;color:#245b55;font-weight:700}
@media(max-width:620px){.search-index-intro{margin:16px 0;padding:18px 14px}.search-index-intro nav{display:grid;grid-template-columns:1fr}}

/* Bright, friendly screen palette. Worksheet SVG/PDF output is unchanged. */
:root{--ink:#293746;--muted:#566675;--green:#267c83;--green-dark:#1c6870;--soft:#eaf5f5;--yellow:#ffd66b;--line:#eadfce;--paper:#fffaf2}
body:has(.home08),body:has(.discover){background:#fffaf2}
body .site-header{background:#fffdf8;border-bottom-color:#eadfce}
body .brand-mark{background:#267c83;color:#ffe17a}
body .prototype{background:#fff1d6;border-color:#f2ce84;color:#6b511d}
body nav a[aria-current],body .home08-jump a,body .search-index-intro nav a{color:#17636b}
body .home08-hero{background:#e8f5f3;border-color:#b9ded9;border-radius:24px;box-shadow:0 8px 24px #267c8312}
body .home08-copy h1 em{color:#d15b43}
body .home08 .home08-jump a{background:#fff;border-color:#b9ded9;border-radius:14px}
body .home-age-entry,body .visual-news,body .search-index-intro{background:#fff;border-color:#eadfce;border-radius:20px;box-shadow:0 6px 20px #725b2a0a}
body .home-age-buttons a{background:#fff0d0;border-color:#f1cf7e;color:#5b4a24}
body .home-age-buttons a:nth-child(3n+2){background:#e7f3fb;border-color:#bfd9eb;color:#294f6d}
body .home-age-buttons a:nth-child(3n){background:#f2eafb;border-color:#d9c5ec;color:#5b4776}
body .home08-card,body .discover-card,body .directory-previews article{border-color:#e8dcc9;box-shadow:0 5px 18px #614a2510}
body .home08-goal,body .directory-entry{border-color:#e8c875}
body .home08-goal:nth-child(3n+2),body .directory-subject:nth-child(3n+2),body .directory-subject:nth-child(3n+5){background:#edf6fc}
body .home08-goal:nth-child(3n),body .directory-subject:nth-child(3n),body .directory-subject:nth-child(3n+6){background:#fff0e9}
body button:not(.secondary),body .button:not(.secondary){background:#be4b34;border-color:#be4b34;color:#fff}
body button:not(.secondary):hover,body .button:not(.secondary):hover{background:#a94331;border-color:#a94331}
body button.secondary,body .button.secondary{background:#fff;color:#216d74;border-color:#83b8b8}
body :focus-visible{outline-color:#d45f44}
body .search-index-intro{color:#293746}
body .search-index-intro nav a{background:#e8f5f3;border-color:#b9ded9;border-radius:12px}
