:root {
  color-scheme: light;
  --default-font: "Open Sans", Arial, sans-serif;
  --heading-font: "Raleway", Arial, sans-serif;
  --nav-font: "Raleway", Arial, sans-serif;
  --accent-color: #94c045;
  --nav-color: #565e49;
  --nav-hover-color: #94c045;
  --link: #527321;
  --line: #e1e6d9;
  --state: #e4e8de;
  --available: #bdd88c;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.main {
  flex: 1;
  min-width: 0;
  scroll-margin-top: 125px;
}

.main:focus {
  outline: none;
}

button,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: #3c4133;
}

.skip-link:focus {
  top: 12px;
}

.header {
  padding: 0;
  box-shadow: 0 2px 15px rgb(0 0 0 / 10%);
}

.header-inner {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header .logo {
  order: 0;
}

.header .logo .sitename {
  color: #3c4133;
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 1px;
}

.parent-nav {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px 22px;
  min-width: 0;
  padding: 12px 0;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 600;
}

.parent-nav a {
  color: var(--nav-color);
  white-space: nowrap;
}

.parent-nav a:hover {
  color: var(--nav-hover-color);
}

.parent-nav a[aria-current="page"]:not(.getstarted) {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.parent-nav a.getstarted,
.parent-nav a.getstarted:focus {
  background: #94c045;
  padding: 8px 25px;
  border-radius: 50px;
  color: #fff;
}

.header .parent-nav .btn-getstarted {
  margin: 0;
  color: #fff;
}

.hero {
  min-height: 0;
  padding: 96px 0;
}

.hero .hero-background {
  object-fit: cover;
  object-position: center center;
}

.hero:before {
  content: "";
  background: rgb(0 0 0 / 55%);
}

.hero .hero-eyebrow {
  margin: 0 0 12px;
  color: #e4f1ce;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
}

.hero .hero-description {
  margin: 14px 0 0;
  color: #eee;
  font-size: 19px;
}

.hero .btn-get-started {
  margin-top: 26px;
  padding: 9px 28px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .btn-get-started:hover {
  background: #3c4133;
  border-color: #3c4133;
}

.city-directory {
  padding: 48px 0 56px;
  scroll-margin-top: 50px;
}

.layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
}

.sidebar {
  align-self: start;
  padding: 26px 22px;
  border-top: 3px solid var(--accent-color);
  background: #f3f6ee;
  scroll-margin-top: 95px;
  font-size: 14px;
}

.sidebar h2 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.4;
}

.sidebar h3 {
  margin: 26px 0 12px;
  font-size: 15px;
  font-weight: 700;
}

.sidebar p {
  margin: 0 0 12px;
}

.sidebar a,
.directory-content a {
  color: var(--link);
}

.sidebar a:hover,
.directory-content a:hover {
  color: #354d16;
  text-decoration: underline;
}

.live-city {
  font-weight: 600;
}

.coming-soon-cities {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coming-soon-cities li + li {
  margin-top: 4px;
}

#coming-soon-toggle {
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
}

#coming-soon-toggle:hover {
  color: #354d16;
  text-decoration: underline;
}

.map-legend {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.legend-swatch {
  display: inline-block;
  flex: 0 0 12px;
  height: 12px;
  border: 1px solid #a2ad94;
  border-radius: 2px;
  background: var(--state);
}

.legend-swatch.available {
  background: var(--available);
}

.directory-content {
  min-width: 0;
}

.directory-heading {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.directory-heading h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
}

.directory-heading p {
  margin: 10px 0 0;
  color: #68705e;
  font-size: 14px;
}

.directory-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 16px 0;
  font-size: 13px;
}

.state-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.state-picker select {
  max-width: 100%;
  padding: 7px 30px 7px 10px;
  border: 1px solid #bcc6b0;
  border-radius: 4px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' fill='none' stroke='%23444' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  color: #444;
  -webkit-appearance: none;
  appearance: none;
}

#back-button {
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--link);
  font-weight: 600;
}

#back-button:hover {
  text-decoration: underline;
}

.map-panel {
  min-width: 0;
}

.map-panel svg {
  display: block;
  width: 100%;
  height: auto;
}

.state-shape {
  fill: var(--state);
  stroke: #fff;
  stroke-width: 1;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.state-choice {
  cursor: pointer;
  transition: fill 0.2s;
}

.state-choice.is-available,
.state-outline {
  fill: var(--available);
}

.state-choice:hover,
.state-choice:focus-visible {
  fill: var(--accent-color);
}

.state-choice:focus-visible {
  stroke: #527321;
  stroke-width: 2;
  outline: none;
}

.state-label {
  pointer-events: none;
  fill: #4c5740;
  font-family: var(--default-font);
  font-size: 11px;
  text-anchor: middle;
  dominant-baseline: central;
}

.directory.is-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  align-items: start;
  gap: 24px;
  padding: 20px 0;
}

#state-map {
  max-height: 560px;
}

.state-outline {
  stroke: #8da768;
}

.state-outline.is-upcoming {
  fill: var(--state);
  stroke: #a2ad94;
}

.city-panel {
  padding: 0;
  overflow: visible;
}

.city-panel h3 {
  margin: 0;
  padding: 5px 0 12px;
  border-bottom: 1px solid var(--line);
  font-size: 19px;
  font-weight: 600;
}

.city-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.city-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.city-list a,
.city-list button {
  display: inline-block;
  padding: 2px 0;
  font-size: 17px;
}

.city-list a {
  font-weight: 600;
}

.city-list button {
  border: 0;
  background: none;
  color: #75796e;
  text-align: left;
  cursor: pointer;
}

.city-status {
  display: block;
  color: #75796e;
  font-size: 12px;
}

.city-status.is-live {
  color: var(--link);
}

#empty-state {
  margin-top: 16px;
  font-size: 14px;
}

.city-pin {
  fill: #75796e;
  stroke: #fff;
  stroke-width: calc(var(--city-label-size, 5px) * 0.2);
}

.city-pin.is-live {
  fill: #354d16;
}

.city-map-label {
  fill: #555e4a;
  font-family: var(--default-font);
  font-size: var(--city-label-size, 5px);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: calc(var(--city-label-size, 5px) * 0.28);
  stroke-linejoin: round;
}

.city-pin,
.city-map-label,
.city-map-link {
  cursor: pointer;
}

.city-map-link .city-map-label {
  fill: #354d16;
  text-decoration: underline;
}

.city-map-link:hover .city-pin,
.city-map-link:focus-visible .city-pin {
  fill: #000;
}

.directory-hint {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #68705e;
  font-size: 12px;
  text-align: center;
}

#map-status {
  padding: 40px 15px;
  color: #68705e;
  text-align: center;
}

.content-section {
  padding: 52px 0 64px;
}

.page-heading {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.25;
}

.page-intro {
  margin: 0;
  color: #565e49;
  font-size: 18px;
  line-height: 1.7;
}

.page-updated {
  margin-bottom: 16px;
  color: #68705e;
  font-size: 13px;
}

.content-prose h2,
.content-card h2,
.page-callout h2 {
  margin: 30px 0 12px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
}

.content-prose > h2:first-child,
.content-card h2,
.page-callout h2 {
  margin-top: 0;
}

.content-prose p,
.content-card p,
.page-callout p {
  margin-bottom: 16px;
}

.content-prose ul,
.content-prose ol {
  padding-left: 24px;
}

.content-prose li + li {
  margin-top: 10px;
}

.content-section a:not(.site-button) {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content-section a:not(.site-button):hover {
  color: #354d16;
}

.content-section code {
  color: #354d16;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 32px 0;
}

.content-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-color);
}

.content-card p:last-child,
.page-callout p:last-child {
  margin-bottom: 0;
}

.page-callout {
  margin-top: 32px;
  padding: 28px;
  border-left: 3px solid var(--accent-color);
  background: #f3f6ee;
}

.contact-notice {
  margin: 0 0 32px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 24px;
}

.site-button {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--link);
  border-radius: 24px;
  background: var(--link);
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.site-button:hover {
  border-color: #354d16;
  background: #354d16;
  color: #fff;
}

.faq-list details {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  color: #3c4133;
  font-weight: 600;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
}

.footer {
  --background-color: #1c1f18;
  padding-top: 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  padding-bottom: 20px;
}

.footer-brand {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 24px;
  font-weight: 600;
}

.footer-content p {
  margin: 8px 0 0;
  color: #c4cbb9;
  font-size: 13px;
}

.footer-directory {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.footer a:not(.footer-brand) {
  color: #bdd88c;
}

.footer a:hover {
  color: #fff;
}

.footer .copyright {
  font-size: 12px;
}

.footer .credits,
.map-credit {
  font-size: 11px;
}

.map-credit {
  display: block;
  margin-top: 6px;
  color: #c4cbb9;
}

@media (max-width: 1199px) {
  .city-directory {
    scroll-margin-top: 46px;
  }
}

@media (max-width: 991px) {
  .header .logo .sitename {
    font-size: 23px;
  }

  .parent-nav {
    gap: 8px 18px;
    font-size: 14px;
  }

  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .sidebar {
    grid-row: 2;
  }
}

@media (max-width: 575px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .header .logo {
    width: 100%;
    text-align: center;
  }

  .parent-nav {
    flex-basis: 100%;
    justify-content: center;
    gap: 8px 12px;
    padding: 0;
    font-size: 13px;
  }

  .content-section {
    padding: 32px 0 44px;
  }

  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-intro {
    font-size: 16px;
  }

  .content-card,
  .page-callout {
    padding: 20px;
  }

  .footer-content {
    flex-direction: column;
  }

  .header .parent-nav .btn-getstarted {
    padding: 6px 16px;
    font-size: inherit;
  }

  .hero {
    padding: 76px 0;
  }

  .hero .hero-description {
    font-size: 16px;
  }

  .city-directory {
    padding: 32px 0;
    scroll-margin-top: 84px;
  }

  .directory-heading h2 {
    font-size: 26px;
  }

  .directory.is-state {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  #state-map {
    max-height: 460px;
  }

  .city-list a,
  .city-list button {
    min-height: 34px;
  }

  .sidebar {
    scroll-margin-top: 125px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
