:root {
  --md-home-ink: #1d1d1f;
  --md-home-muted: #6e6e73;
  --md-home-line: #e8e8ed;
  --md-home-paper: #fff;
  --md-home-tray: #f5f5f7;
  --md-home-blue: #1d4ed8;
  --md-home-blue-dark: #1e40af;
  --md-home-good: #0b7a46;
  --md-home-shadow: 0 10px 34px rgb(17 24 39 / 7%);
  --md-home-sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

body.md-native-home {
  background: var(--md-home-paper);
  color: var(--md-home-ink);
  font-family: var(--md-home-sans);
  -webkit-font-smoothing: antialiased;
}

body.md-native-home .wd-page-content.main-page-wrapper {
  padding-block: 0;
}

body.md-native-home #main-content {
  display: block;
  width: 100%;
  max-width: none;
  min-height: 0;
  padding: 0 24px;
}

.md-legacy-home,
.md-legacy-home *,
.md-legacy-home *::before,
.md-legacy-home *::after {
  box-sizing: border-box !important;
}

.md-legacy-home {
  width: 100%;
  overflow: clip;
  color: var(--md-home-ink);
  font: 400 17px/1.55 var(--md-home-sans);
  font-variant-numeric: tabular-nums;
}

.md-legacy-home h1,
.md-legacy-home h2,
.md-legacy-home p {
  margin: 0;
  padding: 0;
  color: inherit;
  font-family: inherit;
  text-transform: none;
}

.md-legacy-home a {
  color: inherit;
  text-decoration: none;
}

.md-legacy-home button,
.md-legacy-home input {
  font-family: inherit;
  text-transform: none;
}

.md-legacy-home :focus-visible {
  outline: 2px solid var(--md-home-blue);
  outline-offset: 2px;
  border-radius: 6px;
}

.md-home-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#mdhero {
  max-width: 1180px;
  margin: 0 auto;
}

#mdhero .mdh-wrap {
  padding: 60px 0 34px;
  text-align: center;
}

#mdhero .mdh-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--md-home-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}

#mdhero h1 {
  font-size: clamp(30px, 4.3vw, 54px);
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -.024em;
}

#mdhero .mdh-lead {
  max-width: 52ch;
  margin: 18px auto 30px;
  color: var(--md-home-muted);
  font-size: 21px;
  line-height: 1.42;
}

#mdhero .mdh-find {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

#mdhero .mdh-find input {
  width: 100%;
  height: 58px;
  margin: 0;
  padding: 0 140px 0 48px;
  border: 1px solid var(--md-home-line);
  border-radius: 999px;
  outline: 0;
  background: var(--md-home-paper);
  box-shadow: var(--md-home-shadow);
  color: var(--md-home-ink);
  font-size: 17px;
  text-align: left;
  appearance: none;
  transition: border-color .14s, box-shadow .14s;
}

#mdhero .mdh-find input:focus {
  border-color: var(--md-home-blue);
  box-shadow: 0 0 0 4px rgb(29 78 216 / 8%);
}

#mdhero .mdh-find input::placeholder {
  color: var(--md-home-muted);
}

#mdhero .mdh-find input::-webkit-search-cancel-button {
  display: none;
}

#mdhero .mdh-mg {
  position: absolute;
  left: 20px;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -8px;
  border: 2px solid var(--md-home-muted);
  border-radius: 50%;
  pointer-events: none;
}

#mdhero .mdh-mg::after {
  position: absolute;
  right: -6px;
  bottom: -2px;
  width: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--md-home-muted);
  transform: rotate(45deg);
  content: "";
}

#mdhero .mdh-go {
  position: absolute;
  right: 5px;
  top: 5px;
  min-width: 0;
  height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--md-home-blue);
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  font-size: 16.5px;
  font-weight: 400;
  appearance: none;
  transition: background .2s;
}

#mdhero .mdh-go:hover {
  background: var(--md-home-blue-dark);
}

#mdhero .mdh-hint {
  max-width: 60ch;
  margin: 14px auto 0;
  color: var(--md-home-muted);
  font-size: 14.5px;
}

#mdhero .mdh-hint a,
#mdhero .mdh-where a,
.md-legacy-map-link a,
.md-legacy-reviews__frame > a {
  color: var(--md-home-blue);
}

#mdhero .mdh-hint a:hover,
#mdhero .mdh-where a:hover,
.md-legacy-map-link a:hover,
.md-legacy-reviews__frame > a:hover {
  color: var(--md-home-blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#mdhero .mdh-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 52px;
}

#mdhero .mdh-stat {
  display: block;
  padding: 26px 22px;
  border-radius: 20px;
  background: var(--md-home-paper);
  box-shadow: var(--md-home-shadow);
  color: var(--md-home-ink);
  text-align: center;
}

#mdhero .mdh-stat .v {
  display: block;
  font-size: 40px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.03em;
}

#mdhero .mdh-stat .v em {
  font-size: 22px;
  font-style: normal;
  vertical-align: 6px;
}

#mdhero .mdh-stat .v.ok {
  color: var(--md-home-good);
}

#mdhero .mdh-stat .k {
  display: block;
  margin-top: 6px;
  color: var(--md-home-muted);
  font-size: 14.5px;
  line-height: 1.4;
}

#mdhero .mdh-where {
  margin-top: 30px;
  color: var(--md-home-muted);
  font-size: 14.5px;
  line-height: 1.5;
}

#mdhero .mdh-where b {
  color: var(--md-home-ink);
  font-weight: 600;
}

.md-legacy-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
}

.md-legacy-shell--wizard {
  width: min(100%, 880px);
}

.md-legacy-price {
  padding: 18px 0 110px;
  scroll-margin-top: 84px;
}

.md-legacy-location {
  padding: 10px 0 110px;
}

.md-legacy-location__heading {
  margin-bottom: 22px;
  text-align: center;
}

.md-legacy-location__heading h2,
.md-legacy-reviews h2 {
  font-size: 28px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.md-legacy-location__heading p {
  margin-top: 8px;
  color: var(--md-home-muted);
  font-size: 14.5px;
}

.md-legacy-map,
.md-legacy-reviews__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--md-home-line);
  border-radius: 14px;
  background: var(--md-home-tray);
}

.md-legacy-map iframe,
.md-legacy-reviews__frame iframe {
  display: block;
  width: 100%;
  max-width: none;
  border: 0;
}

.md-legacy-map__local {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 32px;
  background: #eef1f4;
  color: var(--md-home-ink);
  text-align: center;
}

.md-legacy-map__local p,
.md-legacy-map__local small {
  position: relative;
  z-index: 2;
}

.md-legacy-map__local small {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--md-home-muted);
  font-size: 11px;
}

.md-legacy-map__road {
  position: absolute;
  width: 130%;
  height: 28px;
  background: #fff;
  box-shadow: 0 0 0 1px #d9dde2;
}

.md-legacy-map__road--one {
  left: -15%;
  top: 45%;
  transform: rotate(-8deg);
}

.md-legacy-map__road--two {
  left: -10%;
  top: 52%;
  transform: rotate(72deg);
}

.md-legacy-map__pin {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 42%;
  width: 28px;
  height: 28px;
  border: 7px solid var(--md-home-blue);
  border-radius: 50% 50% 50% 0;
  background: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.md-legacy-map-link {
  margin-top: 12px;
  font-size: 14.5px;
  text-align: center;
}

.md-legacy-reviews {
  padding: 0 0 110px;
  text-align: center;
}

.md-legacy-shell--reviews {
  width: min(100%, 600px);
}

.md-legacy-reviews h2 {
  margin-bottom: 22px;
}

.md-legacy-reviews__frame {
  min-height: 320px;
  display: grid;
  place-content: center;
  padding: 0;
  background: var(--md-home-paper);
}

.md-legacy-reviews__frame > p {
  max-width: 36ch;
  margin: 0 auto 12px;
  color: var(--md-home-muted);
}

.md-legacy-reviews__credit {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  overflow: hidden;
  color: #b3b3b3 !important;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 960px) {
  #mdhero .mdh-wrap {
    padding: 40px 0 26px;
  }

  #mdhero .mdh-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.md-native-home #main-content {
    padding: 0 16px;
  }

  #mdhero .mdh-wrap {
    padding: 28px 0 22px;
  }

  #mdhero .mdh-lead {
    margin: 14px auto 24px;
    font-size: 18px;
    line-height: 1.45;
  }

  #mdhero .mdh-find input {
    height: 54px;
    padding: 0 16px 0 44px;
  }

  #mdhero .mdh-go {
    position: static;
    width: 100%;
    height: 50px;
    margin-top: 10px;
  }

  #mdhero .mdh-mg {
    margin-top: -37px;
  }

  #mdhero .mdh-stats {
    gap: 10px;
    margin-top: 32px;
  }

  #mdhero .mdh-stat {
    padding: 18px 14px;
  }

  #mdhero .mdh-stat .v {
    font-size: 32px;
  }

  #mdhero .mdh-stat .v em {
    font-size: 17px;
  }

  .md-legacy-price {
    padding: 18px 0 84px;
  }

  .md-legacy-location,
  .md-legacy-reviews {
    padding-bottom: 84px;
  }

  .md-legacy-map__local {
    min-height: 320px;
  }

  .md-legacy-map__local small {
    right: 10px;
    left: 10px;
  }
}
