/* Home reference, using the shared demo palette, typography, actions and components. */
.home-page .home-hero{display:flex;justify-content:center;text-align:center;padding:64px 40px 96px}
.home-hero-copy{display:flex;flex-direction:column;align-items:center;gap:18px;width:min(860px,100%);min-width:0}
.home-hero h1{max-width:820px;text-wrap:balance}
.home-hero .hero-description{max-width:700px}
.home-search{display:grid;grid-template-columns:minmax(0,1fr) 230px auto;gap:8px;width:100%;padding:8px;margin-top:6px;border-radius:16px;background:var(--surface);box-shadow:0 16px 40px -20px rgb(0 0 0/.6);text-align:left}
.home-search-field{display:flex;align-items:center;gap:10px;min-height:52px;min-width:0;padding:0 14px;border-radius:11px;background:var(--paper);color:var(--muted);position:relative}
.home-search-field input,.home-search-field select{flex:1;min-width:0;width:100%;border:0;outline:none;background:transparent;font-size:16px;color:var(--ink);padding:12px 0}
.home-search-field select{appearance:none;padding-right:22px;cursor:pointer}
.home-search-field .phosphor-icon{width:18px;height:18px}
.home-state-field .arw{position:absolute;right:14px;pointer-events:none}
.home-search>.button{min-height:52px;padding-inline:22px;font-weight:600}
.home-search-help{font-size:14px;line-height:1.55;color:var(--hero-muted)}
.home-search-help a{display:inline-flex;align-items:center;gap:4px;color:#fff;font-weight:500}
.home-search-help a:hover{color:#fff}
.home-statbar{position:relative;z-index:2;width:min(860px,calc(100% - 160px));margin:-46px auto 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:22px 0;box-shadow:0 0 0 1px rgb(23 23 26/.06),0 18px 40px -22px rgb(18 26 46/.45)}
.home-statbar>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;border-left:1px solid var(--line);min-width:0;padding-inline:8px}
.home-statbar>div:first-child{border-left:0}
.home-statbar strong{font-size:26px;font-weight:600;letter-spacing:-.02em;line-height:1.3;white-space:nowrap}
.home-statbar .home-last-verified{font-size:21px}
.home-statbar span{font-size:13px;color:var(--muted)}
.home-hero-placement{padding-block:28px}
.home-top-placement{width:min(970px,100%);height:280px;margin-inline:auto}
.layout-frame{display:flex;align-items:center;justify-content:center;background:var(--surface);color:var(--muted);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:18px;padding:16px;text-align:center;font-size:13px}
.home-related-placement{min-height:120px}
.home-sections{display:flex;flex-direction:column;gap:56px;padding-bottom:32px}
.home-section{display:flex;flex-direction:column;gap:20px;min-width:0;scroll-margin-top:calc(var(--nav-height) + 16px)}
.home-section-head{display:flex;flex-direction:column;gap:8px}
.home-section-head h2{font-size:34px;line-height:1.08;letter-spacing:-.035em;font-weight:500}
.home-section-head>p:not(.eyebrow),.home-guide-head>div>p:not(.eyebrow){font-size:15px;line-height:1.55;color:var(--muted)}
.home-states{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:8px;gap:2px}
.home-state{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:54px;padding:8px 12px;border-radius:12px;min-width:0}
.home-state:hover{background:var(--paper)}
.home-state-code{width:36px;min-height:28px;border-radius:8px;background:var(--navy);color:#fff;font-size:12px;font-weight:600;letter-spacing:.04em;display:flex;align-items:center;justify-content:center}
.home-state-name{font-size:15px;font-weight:600;overflow-wrap:anywhere;line-height:1.3}
.home-state-count{font-size:13px;color:var(--muted);white-space:nowrap}
.home-coverage-note{padding:12px 14px;border-radius:12px;background:var(--wash);font-size:13px;line-height:1.55;color:var(--muted)}
.home-coverage-note strong{color:var(--ink);font-weight:600}
.home-largest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.home-largest{display:flex;flex-direction:column;gap:6px;padding:20px;min-width:0;transition:box-shadow .15s ease,transform .15s ease}
.home-largest:hover{box-shadow:0 0 0 1px var(--line),0 12px 28px -16px rgb(18 26 46/.35);transform:translateY(-2px);color:var(--ink)}
.home-largest-top{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--muted)}
.home-largest-top .arw{color:var(--interactive-ink);flex-shrink:0}
.home-largest h3{font-size:20px;font-weight:600;letter-spacing:-.02em}
.home-largest-count{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;font-size:14px;color:var(--muted);margin-top:4px}
.home-largest-count strong{font-size:22px;font-weight:600;color:var(--ink)}
.home-largest-count i{width:8px;height:8px;flex-shrink:0;border-radius:999px;background:#1f9d55;align-self:center}
.home-captured .home-largest-count>span{font-size:12px}
.home-population-list{padding:22px;display:flex;flex-direction:column;gap:14px;margin-top:4px}
.home-list-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.home-list-head h3{font-size:20px;font-weight:500}
.home-list-head>span{font-size:13px;color:var(--muted);flex-shrink:0}
.home-county-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.home-county-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:40px;padding:0 12px;border-radius:10px;background:var(--paper);font-size:14px;font-weight:500}
.home-county-roster{min-width:0;padding-block:10px;line-height:1.3}
.home-county-hub{font-size:12px;color:var(--muted);flex-shrink:0;padding-block:10px}
.home-county-roster:hover,.home-county-hub:hover{color:var(--accent-text,var(--accent))}
.home-county-list:not(.is-expanded) .home-county-extra{display:none}
.home-expand{align-self:center}
.home-expand[aria-expanded="true"] .arw{transform:rotate(180deg)}
.home-anatomy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch}
.home-example-wrap{display:flex;flex-direction:column;justify-content:center;gap:12px;background:var(--navy);border-radius:18px;padding:40px;min-width:0}
.home-example{padding:20px;display:flex;flex-direction:column;gap:12px;color:var(--ink)}
.home-example-top{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.home-example-top .status-badge{margin-left:auto}
.home-marker{flex-shrink:0;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--accent-text);color:#fff;font-size:12px;font-weight:600}
:root[data-theme="dark"] .home-marker{color:var(--navy)}
.home-example h3{font-size:20px;padding-left:34px}
.home-example-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:start;padding-top:12px;border-top:1px solid var(--line)}
.home-example-row>div{display:flex;flex-direction:column;gap:2px}
.home-example-row>div>span{font-size:12px;color:var(--muted)}
.home-example-row strong{font-size:14px;font-weight:500}
.home-example-foot{display:flex;align-items:center;gap:10px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}
.home-example-note{font-size:12px;color:var(--hero-muted);text-align:center}
.home-anatomy-list{list-style:none;padding:8px 24px;margin:0;display:flex;flex-direction:column;justify-content:center;min-width:0}
.home-anatomy-list li{display:flex;align-items:center;gap:14px;padding:18px 0;border-top:1px solid var(--line)}
.home-anatomy-list li:first-child{border-top:0}
.home-anatomy-list h3{font-size:17px;font-weight:600}
.home-anatomy-list p{margin:4px 0 0;font-size:14px;line-height:1.55;color:var(--record-copy)}
.home-guide-head{flex-direction:row;justify-content:space-between;align-items:flex-end;gap:24px}
.home-guide-head>div{display:flex;flex-direction:column;gap:8px}
.home-guide-head>.button{flex-shrink:0}
.home-guides-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.home-guide-feature{padding:28px;display:flex;flex-direction:column;gap:10px;min-width:0}
.home-guide-icon{flex-shrink:0;width:40px;height:40px;border-radius:10px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center}
.home-guide-icon-big{width:44px;height:44px;border-radius:12px;margin-bottom:6px}
.home-guide-category{font-size:13px;font-weight:500;color:var(--accent-text,var(--accent))}
.home-guide-feature h3{font-size:26px;line-height:1.2;letter-spacing:-.02em;font-weight:600}
.home-guide-feature>p{font-size:15px;line-height:1.6;color:var(--record-copy)}
.home-guide-foot{margin-top:auto;padding-top:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.home-guide-list{padding:6px 22px;display:flex;flex-direction:column;min-width:0}
.home-guide-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-top:1px solid var(--line);flex:1;min-width:0}
.home-guide-row:first-child{border-top:0}
.home-guide-row-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.home-guide-row-copy>span{font-size:12px;color:var(--muted)}
.home-guide-row h3{font-size:15px;font-weight:600;line-height:1.35}
.home-guide-row p{font-size:13px;line-height:1.5;color:var(--record-copy)}
.home-guide-row>.arw{color:var(--interactive-ink);flex-shrink:0}
.home-guide-row:hover h3,.home-guide-feature:hover h3{color:var(--accent-text,var(--accent))}
.home-editorial{font-size:13px;line-height:1.55;color:var(--muted)}
.home-editorial a{display:inline-flex;align-items:center;gap:4px;font-weight:500;color:var(--ink)}
.home-faq{display:grid;grid-template-columns:1fr 1.6fr;gap:32px}
.home-faq-list{overflow:hidden}
.home-faq details{border-bottom:1px solid var(--line)}
.home-faq details:last-child{border-bottom:0}
.home-faq summary{display:flex;align-items:flex-start;justify-content:space-between;list-style:none;cursor:pointer;padding:18px 22px;gap:12px;font-size:17px;font-weight:600;line-height:1.35}
.home-faq summary::-webkit-details-marker{display:none}
.home-faq summary .arw{flex-shrink:0;margin-top:4px;transition:transform .15s ease}
.home-faq details[open] summary .arw{transform:rotate(180deg)}
.home-faq details>p{padding:0 22px 18px;font-size:15px;line-height:1.6;color:var(--record-copy)}
.home-page .home-fcra{margin-block:0 16px}
@media(min-width:701px) and (max-width:1100px){
 .home-page .home-hero{padding-inline:28px}
 .home-statbar{width:min(860px,calc(100% - 136px))}
 .home-section-head h2{font-size:28px}
 .home-state{grid-template-columns:30px minmax(0,1fr);gap:2px 8px}
 .home-state-code{width:30px;grid-row:1/span 2}
 .home-state-count{grid-column:2}
 .home-county-list{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:701px) and (max-width:899px){
 .home-statbar{width:min(860px,calc(100% - 96px))}
}
@media(max-width:700px){
 .home-page .home-hero{padding:28px 20px 100px}
 .home-hero-copy{gap:18px}
 .home-hero h1{font-size:38px}
 .home-search{grid-template-columns:1fr}
 .home-statbar{width:calc(100% - 40px);margin-top:-76px;grid-template-columns:repeat(2,minmax(0,1fr));padding:6px 0}
 .home-statbar>div{padding:14px 8px}
 .home-statbar>div:nth-child(odd){border-left:0}
 .home-statbar>div:nth-child(n+3){border-top:1px solid var(--line)}
 .home-statbar strong{font-size:20px}
 .home-statbar .home-last-verified{font-size:18px}
 .home-hero-placement{padding-block:24px}
 .home-top-placement{width:min(336px,100%)}
 .home-sections{gap:40px;padding-bottom:24px}
 .home-section-head h2{font-size:26px;line-height:1.1}
 .home-states{grid-template-columns:repeat(2,minmax(0,1fr));padding:6px}
 .home-state{min-height:64px;padding:10px 8px;grid-template-columns:30px minmax(0,1fr);gap:0 8px}
 .home-state-code{grid-row:1/span 2;width:30px}
 .home-state-name{font-size:14px}
 .home-state-count{grid-column:2;font-size:12px}
 .home-largest-grid{grid-template-columns:1fr;gap:8px}
 .home-largest{padding:14px 16px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:'name count' 'state count';gap:2px 12px;align-items:center}
 .home-largest-top{grid-area:state;font-size:12px}
 .home-largest-top .arw{display:none}
 .home-largest h3{grid-area:name;font-size:17px}
 .home-largest-count{grid-area:count;margin:0;flex-direction:column;align-items:flex-end;gap:0;max-width:125px;font-size:12px;text-align:right}
 .home-largest-count strong{font-size:18px}
 .home-largest-count i{display:none}
 .home-captured .home-largest-count>span{font-size:11px;line-height:1.3}
 .home-population-list{padding:16px}
 .home-list-head{flex-direction:column;gap:2px}
 .home-county-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .home-county-link{flex-direction:column;align-items:flex-start;gap:1px;padding:8px 10px;font-size:13px}
 .home-county-roster,.home-county-hub{padding:0}
 .home-expand{align-self:stretch}
 .home-anatomy{grid-template-columns:1fr}
 .home-example-wrap{padding:18px 14px}
 .home-example{padding:16px}
 .home-example h3{font-size:18px}
 .home-example-top{font-size:12px}
 .home-example-row{grid-template-columns:24px minmax(0,1fr)}
 .home-example-row>div:last-child{grid-column:2}
 .home-anatomy-list{padding:4px 18px}
 .home-anatomy-list li{padding:14px 0}
 .home-guide-head{flex-direction:column;align-items:stretch}
 .home-guide-head>.button{align-self:flex-start}
 .home-guides-grid{grid-template-columns:1fr}
 .home-guide-feature{padding:20px}
 .home-guide-feature h3{font-size:21px}
 .home-guide-feature>p{font-size:14px}
 .home-guide-list{padding:2px 16px}
 .home-guide-row{padding:14px 0;gap:10px}
 .home-guide-row>.arw{display:none}
 .home-faq{grid-template-columns:1fr;gap:16px}
 .home-faq summary{font-size:16px;padding:16px 18px}
 .home-faq details>p{padding:0 18px 16px}
}
@media(max-width:360px){
 .home-statbar{width:calc(100% - 40px)}
 .home-last-verified time{font-size:16px}
 .home-states{padding:4px}
 .home-state{padding-inline:5px;gap:0 5px}
 .home-state-code{width:28px}
 .home-state-name{font-size:13px}
}

/* Mobile top-ad visibility: retain all copy, move coverage stats below the ad. */
@media(max-width:700px){
 .home-page main{display:flex;flex-direction:column}
 .home-page .home-hero{order:0;padding:16px 20px 20px}
 .home-page .home-hero-copy{gap:8px}
 .home-page .home-hero-placement{order:1;padding:20px 0 24px}
 .home-page .home-top-placement{height:250px}
 .home-page .home-statbar{order:2;margin:0 auto 24px}
 .home-page .home-sections{order:3}
 .home-page .home-fcra{order:4}
}
