* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  margin: 0;
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

[id] {
  scroll-margin-top: 84px;
}

a,
button,
input,
textarea,
summary {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

details > summary {
  list-style: none;
  cursor: pointer;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] .demo-plus {
  transform: rotate(45deg);
}

.demo-map-link-panel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 280px;
  padding: 18px 20px;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.68);
  color: inherit;
  text-align: center;
  line-height: 1.4;
}

.demo-map-link-panel strong {
  font-size: 18px;
  font-weight: 700;
}

.demo-map-link-panel span {
  font-size: 15px;
  opacity: 0.78;
}

.demo-map-link-panel a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.demo-map-embed {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
  background: #dfe8ec;
}

.faq-group-title {
  margin: 32px 0 8px;
  color: var(--faq-group-color, currentColor);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.faq-group-title:first-of-type {
  margin-top: 0;
}

.demo-mobile-menu {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  gap: 8px;
  padding: 14px 20px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.14);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.demo-mobile-menu[hidden] {
  display: none;
}

.demo-mobile-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-size: 17px;
}

.demo-form-status {
  margin: 2px 0 0;
  font-size: 15px;
  line-height: 1.45;
}

.demo-menu-toggle {
  display: none;
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 820px) {
  body {
    padding-bottom: 76px;
  }

  [id] {
    scroll-margin-top: 70px;
  }

  .desktop-nav {
    display: none !important;
  }

  .demo-menu-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .mobile-sticky-cta {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 20px;
    border-top: 1px solid var(--sticky-rule, rgba(255, 255, 255, 0.16));
    background: var(--sticky-bg, rgba(23, 23, 23, 0.96));
    color: var(--sticky-text, #fff);
    box-shadow: 0 -12px 28px rgba(0, 0, 0, 0.16);
  }

  .mobile-sticky-cta span {
    min-width: 0;
    font-weight: 700;
    line-height: 1.2;
  }

  .mobile-sticky-cta a {
    flex: 0 0 auto;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--sticky-radius, 999px);
    background: var(--sticky-action-bg, #fff);
    color: var(--sticky-action-text, #171717);
    padding: 0 18px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
  }
}
