/* Homepage composition and shared navigation only. Loaded after both themes. */
body>header .module-nav{align-items:center;gap:4px}
body>header .module-nav :is(a,button){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:9px 12px;border:1px solid transparent;border-radius:8px;font-size:13px;line-height:1.5;font-weight:500;text-decoration:none;white-space:nowrap;background:transparent;color:#e2e8f0;box-shadow:none}
body>header .module-nav :is(a,button) span{margin:0;font-size:16px}
body>header .module-nav :is(a,button):hover{background:#ffffff12;color:#fff;border-color:#ffffff30}
body>header .module-nav [aria-current=page]{background:var(--color-primary);color:#fff;border-color:transparent}
html[data-color-mode=dark] body>header .module-nav [aria-current=page]{color:#082637}
body>header .module-nav :is(a,button):focus-visible{outline:3px solid var(--color-focus);outline-offset:2px}
#home{max-width:1280px;padding:28px 32px 40px}
#home .nkw-hero{display:block;margin:0 0 28px;text-align:center}
#home .nkw-hero-copy{max-width:900px;margin:0 auto;padding:8px 0 0}
#home .nkw-hero-copy>.eyebrow{font-size:11px;letter-spacing:1.3px;padding:6px 12px}
#home h1{font-size:clamp(26px,2.8vw,38px);font-weight:650;line-height:1.5;letter-spacing:-.5px;margin:12px 0 8px}
#home .hero-accent{display:inline-block}
#home .intro{font-size:15px;line-height:1.8;margin:0 auto;max-width:720px}
#home .home-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 24px;list-style:none;padding:0;margin:18px 0 0;font-size:13px;line-height:1.6}
#home .home-meta li{display:flex;align-items:center;gap:8px}
#home .home-meta b{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;font-size:11px;flex-shrink:0}
#home .home-meta li:nth-child(2) b{background:#0e7490;color:#fff}
#home .home-meta li:nth-child(3) b{background:#6d28d9;color:#fff}
html[data-color-mode=dark] #home .home-meta b{background:#183e50;color:#a5f3fc}
#home .section-title{gap:12px;margin-bottom:16px}
#home .section-title h2{margin:5px 0 0;font-size:22px}
#home .cards .card-body{padding:20px}
#home .cards .card-body h2{font-size:20px;margin:10px 0 8px}
#home .cards .card-body p{font-size:14px;line-height:1.85}
#home .cards .card-body>.wide{font-size:14px;min-height:56px;padding:12px;line-height:1.6}
@media(max-width:1120px){body>header nav{justify-content:flex-start}body>header .module-nav{width:auto}}
@media(min-width:901px){#home .cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){#home{padding:24px}#home .cards{grid-template-columns:minmax(0,1fr);max-width:600px;margin-inline:auto}#home .nkw-hero{margin-bottom:24px}#home .section-title{max-width:600px;margin-inline:auto}#home .notice{max-width:600px;margin-inline:auto}#home .cards .card-photo{aspect-ratio:16/9}#home .cards .card-body h2,#home .cards .card-body p{min-height:0}}
@media(max-width:600px){#home{padding:20px 16px 28px}body>header .module-nav{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}body>header .module-nav :is(a,button){white-space:normal;min-width:0;min-height:44px;padding:8px;font-size:13px}#home h1{font-size:27px}#home .intro{font-size:14px}#home .home-meta{gap:10px 16px;font-size:12px}#home .section-title{align-items:flex-start;flex-wrap:wrap}#home .section-title h2{font-size:21px}}
