/* Homepage-only real controls and states; screenshot geometry comes from the
   unmodified reference-foundation.css + nerdwallet-screenshot.css. */
.nw-page a:focus-visible,.nw-page button:focus-visible,.nw-page input:focus-visible,.nw-page summary:focus-visible { outline:3px solid #132238; outline-offset:3px; box-shadow:0 0 0 6px #fff; }
.nw-toggle { min-height:44px; }
.nw-search__send { position:relative; }
.nw-search__send::before { content:""; position:absolute; inset:-3px; }
.nw-search-hint { font-size:12px; line-height:1.6; color:#e0f4e8; margin:11px 0 0; }
.nw-search-results { padding:0 0 26px; border-bottom:1px solid #c5e3d5; margin-bottom:24px; }
.nw-search-results[hidden] { display:none; }
.nw-search-results h2 { font-size:24px; margin:0 0 12px; }
.nw-results__list { display:grid; gap:10px; }
.nw-result { display:block; padding:17px 20px; background:white; border:1px solid #d7e8de; border-radius:10px; text-decoration:none; }
.nw-result h3 { margin:0 0 7px; font-size:17px; line-height:1.5; }
.nw-result p { margin:0; color:#495c55; font-size:14px; line-height:1.7; }
.nw-result:hover h3 { text-decoration:underline; }
.nw-empty { line-height:1.7; }
.nw-data-note { color:#495c55; font-size:14px; line-height:1.7; margin:20px 0; }
.nw-safety { border-left:4px solid #a36d13; padding:10px 20px; background:#fff8e8; margin:40px 0 0; }
.nw-safety h2 { font-size:20px; margin:0 0 10px; }
.nw-safety p { font-size:15px; line-height:1.8; margin:0 0 10px; }
.nw-safety a { color:#5d491c; font-size:14px; }
.nw-footer p { line-height:1.7; margin:14px 0; }
.nw-footer__links { display:flex; flex-wrap:wrap; gap:4px 20px; margin:16px 0; }
.nw-footer__links a { display:inline-flex; align-items:center; min-height:44px; text-underline-offset:4px; }
.nw-page.no-js .nw-menu { display:flex; }
.no-js .nw-toggle { display:none; }
@media(max-width:900px) { .no-js .nw-menu { display:flex; } .nw-menu a { min-height:44px; } }
@media print { .nw-header,.nw-search,.nw-toggle,.nw-footer,.skip { display:none!important; } .nw-hero { color:#132238; background:white; min-height:0; } .nw-hero::before { display:none; } .nw-hero__stage { min-height:0; padding:0; } .nw-hero__content { margin:0; } .nw-categories { margin-top:0; } .nw-category-grid { grid-template-columns:repeat(3,1fr); } .nw-category { break-inside:avoid; } }
