:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #11100f;
  color: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  background: #11100f;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  padding-top: calc(84px + env(safe-area-inset-top));
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
  background: #11100f;
}

.landing {
  width: min(100%, 828px);
  margin: 0 auto;
  overflow: hidden;
  background: #0c0c0c;
  box-shadow: 0 0 48px rgb(0 0 0 / 45%);
}

.landing__slice {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}

.landing__contact-section {
  position: relative;
}

.landing__hotspot {
  position: absolute;
  z-index: 2;
  top: 30%;
  right: 0;
  left: 0;
  height: 39%;
  cursor: pointer;
  outline: 0;
}

.landing__hotspot:focus-visible {
  outline: 4px solid #35d16f;
  outline-offset: -6px;
}

.contact-bar {
  position: fixed;
  z-index: 20;
  right: 0;
  left: 0;
  background: rgb(16 15 14 / 94%);
  backdrop-filter: blur(12px);
}

.contact-bar--top {
  top: 0;
  padding: calc(12px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 12px max(14px, env(safe-area-inset-left));
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.contact-bar--bottom {
  bottom: 0;
  padding: 12px max(14px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.contact-button {
  display: flex;
  width: min(100%, 800px);
  min-height: 52px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  background: #20b95a;
  color: #071b0e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.contact-button:hover {
  background: #38d573;
}

.contact-button.is-loading,
.contact-button.is-loading:hover {
  background: #f0a23a;
  color: #291700;
  cursor: wait;
}

.contact-button:active {
  transform: translateY(1px);
}

.contact-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.contact-button__mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.connecting {
  position: fixed;
  z-index: 30;
  top: calc(92px + env(safe-area-inset-top));
  left: 50%;
  display: flex;
  min-height: 44px;
  max-width: calc(100% - 32px);
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  transform: translateX(-50%);
  border: 1px solid rgb(255 255 255 / 16%);
  border-radius: 8px;
  background: #171615;
  box-shadow: 0 12px 30px rgb(0 0 0 / 38%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.connecting[hidden] {
  display: none;
}

.connecting__spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid rgb(255 255 255 / 30%);
  border-top-color: #38d573;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 900px) {
  body {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .contact-bar {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .contact-button {
    min-height: 58px;
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact-button {
    transition: none;
  }

  .connecting__spinner {
    animation-duration: 1.5s;
  }
}
