.discovery-demo .site-header {
  padding-top: 18px;
  padding-bottom: 18px;
}
.discovery-demo .demo-bar {
  padding: 8px 20px;
  font-size: 13px;
}
.discovery-demo .demo-bar button {
  min-height: 40px;
  padding: 7px 10px;
}
.discovery-demo main {
  padding-top: 16px;
}
.discovery {
  max-width: 1040px;
  margin: auto;
}
.discovery-heading p {
  margin-bottom: 8px;
  font-size: 14px;
}
.discovery h1,
.demo-contact h1,
.demo-results h1 {
  font-size: clamp(34px, 3.4vw, 48px);
  margin-bottom: 28px;
}
.discovery-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px 52px;
}
.demo-options {
  border: 0;
  padding: 0;
  margin: 0 0 26px;
  min-width: 0;
}
.demo-options legend,
.count-field > label,
.location-field h2 {
  font-family: inherit;
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 12px;
  padding: 0;
}
.option-row {
  display: flex;
  gap: 8px;
}
.option-row label {
  position: relative;
  flex: 1;
  cursor: pointer;
}
.option-row input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  min-height: 1px;
  height: 1px;
  margin: 0;
}
.option-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid #82978d;
  border-radius: 12px;
  min-height: 50px;
  padding: 10px 6px;
  background: #fffdf7;
  font-size: 15px;
}
.option-row input:checked + span {
  color: #fff;
  background: #235955;
  border-color: #235955;
}
.option-row input:focus-visible + span {
  outline: 3px solid #a0482d;
  outline-offset: 3px;
}
.role-options span {
  min-height: 76px;
  font-size: 18px;
  font-weight: 650;
}
.count-field {
  margin-bottom: 26px;
}
.count-field > label {
  display: block;
}
.count-control {
  display: flex;
  align-items: center;
  gap: 8px;
}
.count-control #count {
  width: 70px;
  text-align: center;
  appearance: textfield;
}
.count-control input::-webkit-inner-spin-button {
  appearance: none;
}
.count-control button {
  font-size: 22px;
  width: 50px;
  padding: 8px;
}
.location-field {
  min-width: 0;
}
.location-field h2 {
  margin-top: 0;
}
.search-label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}
.location-field small,
.map-message,
.map-privacy,
.pin-status,
.demo-hint {
  font-size: 13px;
  line-height: 1.5;
}
#place-results {
  position: relative;
}
#place-results:not(:empty) {
  border: 1px solid #82978d;
  background: #fffdf7;
  border-radius: 10px;
  padding: 6px;
  margin: 8px 0;
}
#place-results p {
  margin: 8px;
  font-size: 14px;
}
.place-result {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  font-size: 14px;
  padding: 10px;
  color: #235955;
}
.place-result:hover {
  background: #edf0e5;
}
#private-map {
  height: 280px;
  margin-top: 12px;
  background: #e5e9df;
  border: 1px solid #82978d;
  border-radius: 14px;
  z-index: 0;
  font-family: inherit;
}
.map-loading {
  display: block;
  padding: 24px;
}
#private-map .leaflet-control-attribution {
  font-size: 11px;
  line-height: 1.5;
  color: #273e3b;
  background: #fff;
}
#private-map .leaflet-control-attribution a {
  color: #235955;
}
#private-map .leaflet-control-zoom a {
  width: 40px;
  height: 40px;
  line-height: 40px;
}
.private-pin {
  background: transparent;
}
.private-pin span {
  display: block;
  width: 30px;
  height: 30px;
  margin: 1px 3px;
  border-radius: 50% 50% 50% 0;
  background: #a0482d;
  border: 3px solid #fff;
  box-shadow: 0 1px 5px #273e3b80;
  transform: rotate(-45deg);
}
.private-pin span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  top: 8px;
  left: 8px;
}
.map-privacy {
  margin: 8px 0;
}
.pin-status {
  margin: 0 0 4px;
  color: #465951;
}
.map-message {
  margin: 0;
}
#map-retry {
  padding: 8px 0;
  font-size: 14px;
}
.coordinate-fallback {
  margin-top: 12px;
  font-size: 14px;
}
.coordinate-fallback summary {
  cursor: pointer;
  padding: 8px 0;
  min-height: 44px;
}
.coordinate-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.coordinate-fields input {
  margin-top: 6px;
}
.discovery-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}
.discovery-submit button {
  min-width: 180px;
}
.demo-contact,
.demo-results {
  max-width: 640px;
  margin: auto;
}
.demo-contact {
  max-width: 520px;
}
.demo-contact h1,
.demo-results h1 {
  margin-bottom: 16px;
}
.demo-contact label:not(.check) {
  display: block;
  margin: 18px 0 8px;
  font-weight: 650;
  font-size: 14px;
}
.demo-contact .check {
  margin-top: 24px;
}
.demo-contact small {
  font-size: 13px;
}
.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0;
}
.demo-contact .demo-actions {
  flex-wrap: nowrap;
  align-items: stretch;
}
.intent-summary {
  font-size: 14px;
  background: #edf0e5;
  padding: 12px 16px;
  border-radius: 12px;
}
.suggestion {
  background: #fffdf7;
  border: 1px solid #bdc9bc;
  padding: 26px;
  border-radius: 20px;
  margin: 26px 0;
}
.suggestion h2 {
  font-family: Georgia, serif;
  font-size: 28px;
  line-height: 1.25;
  margin: 10px 0 12px;
}
.suggestion > button {
  display: block;
  margin-top: 12px;
}
.suggestion .contact-reveal {
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
}
.suggestion p {
  margin: 16px 0;
}
.demo-results .empty {
  margin-top: 30px;
}
@media (max-width: 760px) {
  .discovery-demo .site-header {
    padding: 14px 20px;
  }
  .discovery-demo .brand {
    font-size: 24px;
  }
  .discovery-demo .demo-bar {
    margin-bottom: 0;
    gap: 4px 12px;
  }
  .discovery-demo .demo-bar span {
    order: 3;
    flex-basis: 100%;
  }
  .discovery-demo main {
    padding: 24px 20px 36px;
  }
  .discovery-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .discovery-heading p {
    font-size: 12px;
  }
  .discovery h1 {
    margin-bottom: 24px;
  }
  .role-options span {
    min-height: 66px;
    font-size: 17px;
  }
  .demo-options,
  .count-field {
    margin-bottom: 22px;
  }
  #private-map {
    height: 260px;
  }
  .discovery-submit {
    margin-top: 22px;
  }
  .discovery-submit button {
    width: 100%;
  }
  .suggestion {
    padding: 20px;
  }
  .suggestion h2 {
    font-size: 25px;
  }
  .demo-contact .demo-actions button {
    padding: 12px;
  }
}
