:root {
  color-scheme: light;
  --paper: #f8f7f2;
  --ink: #202925;
  --green: #193e32;
  --link: #304f84;
  --muted: #535d55;
  --rule: #c7cabe;
  --wash: #eeefe7;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.5 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
button,
input {
  font: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #755996;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(calc(100% - 3rem), 67rem);
  margin-inline: auto;
}
.skip {
  position: absolute;
  top: -6rem;
  background: white;
  padding: 0.6rem 1rem;
  z-index: 1;
}
.skip:focus {
  top: 0.5rem;
  left: 0.5rem;
}
.mast {
  border-top: 5px solid var(--green);
}
.mast-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
  border-bottom: 3px double #818b80;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.brand img {
  width: clamp(9.2rem, 23vw, 14.2rem);
  height: auto;
  display: block;
}
.mast nav {
  display: flex;
  gap: 1.4rem;
  font-size: 0.93rem;
}
.mast nav a,
.foot a,
.crumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.intro-block {
  padding: clamp(1.4rem, 3vw, 2.2rem) 0 1.35rem;
}
h1,
h2,
p {
  margin: 0;
}
h1 {
  font: bold clamp(2.1rem, 4.8vw, 3.55rem)/1.08 var(--serif);
  letter-spacing: -0.045em;
  color: #1e352a;
}
.intro {
  color: var(--muted);
  margin-top: 0.55rem;
}
h2 {
  font: bold 1.4rem/1.22 var(--serif);
  letter-spacing: -0.025em;
}
.board {
  display: grid;
  grid-template-columns: minmax(13rem, 16.5rem) minmax(0, 1fr);
  gap: clamp(1.7rem, 4.3vw, 3.5rem);
  align-items: start;
}
aside {
  background: var(--wash);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--green);
}
.search-box,
.state-nav {
  padding: 1rem 1.1rem;
}
.search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.8rem;
}
.search input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid #909b91;
  background: #fff;
  padding: 0 0.68rem;
  border-radius: 2px;
  color: var(--ink);
}
.search button {
  padding: 0.45rem 1.2rem;
  min-height: 44px;
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 2px;
  cursor: pointer;
  font-weight: 600;
}
.search button:hover {
  background: #28533f;
}
.state-nav {
  border-top: 1px solid var(--rule);
}
.state-nav h2 {
  font-size: 1.13rem;
}
.state-nav ul,
.listings {
  padding: 0;
  margin: 0;
  list-style: none;
}
.state-nav ul {
  margin-top: 0.45rem;
}
.state-nav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  font-size: 0.96rem;
}
.state-nav a[aria-current] {
  color: var(--ink);
  font-weight: bold;
}
.state-nav a[aria-current]:before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  background: var(--green);
  margin-right: 0.5rem;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0 0.65rem;
  border-top: 3px solid var(--green);
  border-bottom: 1px solid var(--rule);
}
.section-head h2 {
  font-size: 1.52rem;
}
#result-count {
  font:
    0.82rem/1.4 ui-monospace,
    Menlo,
    monospace;
  color: var(--muted);
}
.columns,
.listing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 0.6rem;
  align-items: center;
  padding-inline: 0.7rem;
}
.columns {
  padding-block: 0.38rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: bold;
  background: var(--wash);
  border-bottom: 1px solid var(--rule);
}
.listing {
  border-bottom: 1px solid var(--rule);
}
.listing a {
  display: flex;
  align-items: center;
  min-height: 49px;
  font: bold 1.16rem/1.35 var(--serif);
}
.listing a:visited {
  color: #624e78;
}
.listing a:hover {
  background: #f0f1e9;
  text-decoration: none;
}
.listing a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.row-state,
.open {
  font:
    normal 0.92rem/1.4 Arial,
    sans-serif;
  color: var(--muted);
}
.row-state small {
  display: none;
}
.open {
  justify-self: end;
  color: var(--link);
}
#clear {
  min-height: 44px;
  padding: 0.25rem 0.3rem;
  background: none;
  border: 0;
  color: var(--link);
  cursor: pointer;
  text-decoration: underline;
}
.empty,
.reviews p,
.notice p {
  padding: 0.85rem 0.7rem;
  color: var(--muted);
}
.reviews {
  margin-top: 1.65rem;
}
.reviews .section-head {
  border-top: 1px solid #858e80;
}
.about {
  margin: 1.8rem 0;
  display: grid;
  grid-template-columns: minmax(13rem, 16.5rem) 1fr;
  gap: clamp(1.7rem, 4.3vw, 3.5rem);
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
.about h2 {
  font-size: 1.14rem;
}
.about p {
  max-width: 67ch;
  font-size: 0.93rem;
  color: var(--muted);
}
footer {
  border-top: 1px solid var(--rule);
}
.foot {
  color: var(--muted);
  font-size: 0.83rem;
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.dot {
  padding: 0 0.32rem;
}
.city-page {
  padding-bottom: 3rem;
}
.crumb {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.94rem;
  margin: 1rem 0;
}
.notice {
  margin-top: 1.5rem;
  border-top: 3px solid var(--green);
  padding: 1rem 0;
}
.notice p {
  padding: 0.6rem 0;
}
.notice a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
@media (max-width: 700px) {
  .wrap {
    width: min(calc(100% - 2rem), 40rem);
  }
  .board,
  .about {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .mast-inner {
    min-height: 68px;
  }
  .mast nav {
    gap: 0.8rem;
    font-size: 0.86rem;
  }
  .intro-block {
    padding: 1.3rem 0 1.05rem;
  }
  .intro {
    max-width: 40ch;
  }
  .search-box,
  .state-nav {
    padding: 0.75rem 0.85rem;
  }
  .search {
    flex-wrap: nowrap;
    margin-top: 0.5rem;
  }
  .search input {
    flex: 1;
    width: 0;
  }
  .state-nav {
    display: flex;
    align-items: baseline;
    gap: 0.35rem 0.85rem;
    flex-wrap: wrap;
  }
  .state-nav h2 {
    font:
      600 0.83rem/1.4 Arial,
      sans-serif;
  }
  .state-nav ul {
    display: flex;
    gap: 0 0.85rem;
    flex-wrap: wrap;
    margin: 0;
  }
  .state-nav a {
    min-height: 44px;
    font-size: 0.88rem;
  }
  .about {
    gap: 0.4rem;
    margin: 1.4rem 0;
  }
}
@media (max-width: 365px) {
  .mast nav {
    gap: 0.55rem;
    font-size: 0.81rem;
  }
  .brand img {
    width: 8.5rem;
  }
  .state-nav {
    display: block;
  }
  .row-state {
    font-size: 0.86rem;
  }
}

.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.crumb li + li::before {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin: 0 0.65rem 0.13rem 0;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.state-cities {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0;
}
.state-cities a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.states-index {
  margin-top: 2rem;
}
.state-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: 1rem;
  padding-top: 0.8rem;
}
.state-groups h3 {
  margin: 0 0 0.4rem;
  font: bold 1rem var(--serif);
}
.state-groups ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.state-groups a,
#state-results a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 700px) {
  .state-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .state-groups a,
  #state-results a {
    min-height: 44px;
  }
}

.intro {
  max-width: 64ch;
}
.listing .state-link {
  font:
    normal 0.95rem/1.4 Arial,
    sans-serif;
}
.state-total {
  font:
    0.82rem ui-monospace,
    Menlo,
    monospace;
  color: var(--muted);
}
.alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.6rem;
}
.alphabet a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.45rem;
  font-weight: 600;
}
#state-results {
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--rule);
}
#state-results h3 {
  margin: 0;
  font: bold 1.04rem var(--serif);
}
#state-results ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1rem;
  padding: 0;
  margin: 0.3rem 0 0;
}
@media (max-width: 365px) {
  .mast nav {
    gap: 0.45rem;
  }
}
