/* Typedream-independent runtime layer for the rescued static site. */
:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; }
.typedream.content { overflow-x: clip !important; overflow-y: visible !important; }
img, video, iframe { max-width: 100%; }
iframe { border: 0; }
iframe[data-tally-src*="tally.so"] {
  /* Match the embed's default scheme so the browser keeps its canvas transparent. */
  color-scheme: normal;
  background: transparent;
}
.fillly-waitlist-embed {
  display: block !important;
  min-height: 0 !important;
}
.fillly-waitlist-embed iframe {
  position: static !important;
  display: block;
  width: 100% !important;
  height: 200px;
}
#waitlist { scroll-margin-top: 80px; }

.typedream.content .animated-block-initial,
.typedream.content .fade-in,
.typedream.content .slide-in-up {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

html.static-enhanced .typedream.content .static-reveal {
  opacity: 0 !important;
  transform: translateY(18px) !important;
  transition: opacity .55s ease, transform .55s ease !important;
}
html.static-enhanced .typedream.content .static-reveal.static-visible {
  opacity: 1 !important;
  transform: none !important;
}

#td-navbar {
  position: sticky !important;
  top: 0;
  z-index: 10000 !important;
  background: rgba(18, 18, 20, .82) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 3px solid #fa9e34 !important;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  #td-navbar { max-height: none !important; overflow: visible !important; }
  #td-navbar > div:first-of-type { width: 100% !important; }
  #td-navbar > div:nth-of-type(2),
  #td-navbar > div:nth-of-type(3) { display: none !important; }
  #td-navbar.static-menu-open > div:nth-of-type(3) {
    display: flex !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px 20px !important;
    background: var(--background-highlight, #fff) !important;
    box-shadow: 0 18px 30px rgba(20,20,30,.18) !important;
  }
  #td-navbar.static-menu-open > div:nth-of-type(3) { top: 60px !important; padding-top: 12px !important; }
  #td-navbar.static-menu-open > div:nth-of-type(3) > * {
    width: 100% !important;
    text-align: center !important;
    padding: 8px 0 !important;
  }
}
@media (min-width: 901px) {
  #td-navbar [aria-label="Open menu"] { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.static-enhanced .typedream.content .static-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
