.hs-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hs-brand-mark,
.hs-footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 0.72rem;
  background: #030817;
  box-shadow:
    0 0 18px rgba(54, 214, 255, 0.36),
    0 0 34px rgba(150, 82, 255, 0.24);
  flex: 0 0 auto;
}

.hs-brand-mark {
  width: 2.75rem;
  height: 2.75rem;
}

.hs-footer-mark {
  width: 2.5rem;
  height: 2.5rem;
}

.hs-brand-mark img,
.hs-footer-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: none;
  filter: saturate(1.05) contrast(1.05);
}

.hs-brand-name {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  font-weight: 700;
  color: hsl(var(--foreground));
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.hs-nav-demo,
.hs-primary-cta,
.hs-secondary-cta,
.hs-demo-summary,
.hs-demo-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 700;
  text-decoration: none;
  min-height: 2.75rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.hs-nav-demo {
  padding: 0 1.5rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.hs-primary-cta,
.hs-demo-summary,
.hs-demo-submit {
  padding: 0 2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow:
    0 0 50px rgba(255, 255, 255, 0.5),
    0 0 80px rgba(255, 255, 255, 0.3);
}

.hs-secondary-cta {
  padding: 0 2rem;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
  background: transparent;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.hs-nav-demo:hover,
.hs-primary-cta:hover,
.hs-secondary-cta:hover,
.hs-demo-summary:hover,
.hs-demo-submit:hover {
  transform: translateY(-1px);
}

.hs-demo-dropdown {
  position: relative;
  z-index: 300;
}

.hs-demo-dropdown[open] {
  z-index: 1000;
}

.hs-demo-summary {
  cursor: pointer;
  list-style: none;
}

.hs-demo-summary::-webkit-details-marker {
  display: none;
}

.hs-demo-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(92vw, 30rem);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translate(-50%, -50%);
  padding: 2.75rem 1rem 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: rgba(11, 17, 30, 0.96);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(24px);
  text-align: left;
  -webkit-overflow-scrolling: touch;
}

.hs-demo-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 1px solid hsl(var(--border));
  border-radius: 9999px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  cursor: pointer;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
}

.hs-demo-close:hover {
  background: hsl(var(--muted));
}

.hs-demo-panel label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
  font-size: 0.82rem;
  font-weight: 650;
}

.hs-demo-panel input,
.hs-demo-panel select,
.hs-demo-panel textarea {
  width: 100%;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  padding: 0.72rem 0.85rem;
  font: inherit;
}

.hs-demo-panel textarea {
  min-height: 5rem;
}

.hs-demo-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

@media (max-width: 640px) {
  .hs-brand-mark {
    width: 2.35rem;
    height: 2.35rem;
  }

  .hs-brand-name {
    max-width: 12rem;
    white-space: normal;
    line-height: 1.05;
  }

  .hs-demo-panel {
    left: 1rem;
    right: 1rem;
    top: 1rem;
    width: auto;
    max-height: calc(100vh - 2rem);
    transform: none;
  }
}
