.home { --field: #76848a; --field-bg: #fcfdfd; }
.home > * { display: flow-root; container-type: inline-size; }

.home-head h1 { margin: 0; max-width: 17em; font: italic 500 clamp(28px, 4.6cqi + 12px, 46px)/1.06 var(--serif); letter-spacing: -0.012em; text-wrap: balance; }
.home-dek { max-width: 34em; margin: 14px 0 0; font: 17px/1.5 var(--serif); text-wrap: pretty; }

.home-find { margin-top: 28px; scroll-margin-top: calc(var(--mast) + 12px); }
.home-find label { display: block; margin-bottom: 8px; font: 600 14px/1.3 var(--sans); }
.home-field { position: relative; }
.home-field svg { position: absolute; top: 50%; left: 15px; width: 19px; height: 19px; translate: 0 -50%; color: var(--dim); pointer-events: none; }
.home-field input { width: 100%; height: 52px; margin: 0; padding: 0 12px 0 46px; border: 1px solid var(--field); border-radius: var(--radius); background: var(--field-bg); color: var(--ink); font: 17px/1.2 var(--sans); caret-color: var(--accent); -webkit-appearance: none; appearance: none; }
.home-field input::placeholder { color: var(--dim); opacity: 1; }
.home-field input::-webkit-search-cancel-button { -webkit-appearance: none; width: 28px; height: 28px; margin-right: -4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9.5 9.5l9 9m0-9l-9 9' stroke='%23536067' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / 28px no-repeat; cursor: pointer; }
.home-field input:focus-visible { border-color: var(--accent); outline: 1px solid var(--accent); outline-offset: 0; }
.home-status { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.home-out { margin-top: 10px; }
.home-try { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.7; text-wrap: pretty; }
.home-try button { min-height: 28px; padding: 0; border: 0; background: none; color: var(--ink); font-size: inherit; text-decoration: underline 1px color-mix(in oklab, var(--accent) 70%, transparent); text-underline-offset: 3px; cursor: pointer; }
.home-try button:hover { color: var(--accent-ink); }

.home-leads, .home-places { list-style: none; margin: 0; padding: 0; }
.home-leads { margin-bottom: 14px; border-bottom: 1px solid var(--rule); }
.home-lead { border-top: 1px solid var(--rule); }
.home-lead > a { display: grid; grid-template-columns: 10px minmax(0, 1fr); align-items: center; column-gap: 12px; min-height: 56px; padding: 10px 0 12px; text-decoration: none; }
.home-lead b { display: block; font: 500 19px/1.25 var(--serif); }
.home-lead small { display: block; margin-top: 3px; color: var(--dim); font-size: 13.5px; }
.home-lead > :hover b, .home-lead > :focus-visible b { color: var(--accent-ink); }
.home-sw { width: 10px; height: 10px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 62%, var(--ink)); }
.home-sw.is-state { border-radius: 2px; background: none; box-shadow: inset 0 0 0 1.5px var(--ink); }
.home-leads .reg > a { position: relative; padding-left: 22px; }
.home-leads .reg > a::before { content: ""; position: absolute; top: 19px; left: 0; width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ink); }

.home-count { margin: 0 0 2px; color: var(--dim); font-size: 13px; font-variant-numeric: tabular-nums; }
.home-places li + li { border-top: 1px solid var(--rule); }
.home-more { min-height: 44px; margin-top: 8px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 22px; background: none; font-size: 14px; font-weight: 600; cursor: pointer; }
.home-more:hover { border-color: var(--dim); }

.home-sec { margin-top: 52px; }
.home-sec-h { display: flow-root; margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font: italic 500 23px/1.2 var(--serif); }
.home-note { display: flow-root; max-width: 40em; margin: 10px 0 14px; color: var(--dim); font-size: 14.5px; line-height: 1.5; text-wrap: pretty; }
.home-states { clear: left; }

.home > .home-kinds-sec { display: block; container-type: normal; }
.home-theme { display: flow-root; margin-top: 12px; }
.home-theme-h { display: inline; margin: 0 12px 0 0; font: italic 500 17px/1.2 var(--serif); white-space: nowrap; }
.home-theme-h::before { content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 9px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--c) 62%, var(--ink)); vertical-align: -1px; }
.home-theme-h .n { color: var(--dim); font: 500 13px/1 var(--sans); font-style: normal; font-variant-numeric: tabular-nums; }
.home-kinds { display: inline; margin: 0; padding: 0; list-style: none; }
.home-kinds li { display: inline; }
.home-kinds .chip { margin: 0 6px 8px 0; vertical-align: middle; text-decoration: none; }
@media (min-width: 760px) {
	.frame[data-mode="reduced"] .home-head h1 { max-width: none; font-size: 21px; line-height: 1.25; letter-spacing: 0; }
	.frame[data-mode="reduced"] .home-dek { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.frame[data-mode="reduced"] .home-find { margin-top: 18px; }
	.frame[data-mode="reduced"] .home-out { margin-top: 6px; }
	.frame[data-mode="reduced"] .home-kinds-sec { margin-top: 30px; }
}
@media (max-width: 759px) {
	.home { display: flex; flex-direction: column; }
	.home-find { order: -1; margin-top: 0; }
	.home-head { margin-top: 30px; }
	.home-sec { margin-top: 44px; }
}

.home-state-list { list-style: none; margin: 0; padding: 0; }
.home-state { padding: 14px 0 16px; border-top: 1px solid var(--rule); break-inside: avoid; }
.home-state:first-child { border-top: 0; }
.home-state h3 { margin: 0; font: 500 21px/1.2 var(--serif); }
.home-state h3 a { display: inline-block; padding: 4px 0; text-decoration: none; }
.home-state h3 a:hover { color: var(--accent-ink); text-decoration: underline 1px; }
.home-state-n { margin: 0; color: var(--dim); font-size: 13.5px; }
.home-state .mix { height: 6px; margin-top: 8px; border-radius: 3px; }
.home-state-rg { margin: 10px 0 0; color: var(--dim); font-size: 15px; line-height: 1.85; text-wrap: pretty; }
.home-state-rg a { padding: 4px 0; color: var(--ink); text-decoration: none; }
.home-state-rg a:hover, .home-state-rg a:focus-visible { color: var(--accent-ink); text-decoration: underline 1px; }
.home-away { margin-left: 4px; color: var(--dim); font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; text-decoration: none; }

@container (min-width: 520px) {
	.home-state { display: grid; grid-template-columns: 10rem minmax(0, 1fr); grid-template-areas: "name rg" "n rg" "mix rg"; grid-template-rows: auto auto 1fr; column-gap: 24px; }
	.home-state h3 { grid-area: name; }
	.home-state-n { grid-area: n; }
	.home-state .mix { grid-area: mix; }
	.home-state-rg { grid-area: rg; margin: 3px 0 0; }
}
@container (min-width: 900px) {
	.home-state-list { columns: 2; column-gap: 48px; }
	.home-state:first-child { border-top: 1px solid var(--rule); }
}
