*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: #05070b;
  color: #fff;
  font-family: system-ui, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a,
button,
input {
  font: inherit;
}

.mockup-stack {
  width: 100%;
}

.mockup-section {
  position: relative;
  width: min(100%, var(--mockup-width));
  margin: 0 auto;
  line-height: 0;
}

.mockup-image {
  width: 100%;
  height: auto;
}

.hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  border-radius: 999px;
  outline: none;
}

.hotspot:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(245, 197, 66, 0.9);
}

.waitlist-overlay {
  position: absolute;
  left: 55.3%;
  top: 68.4%;
  width: 37.2%;
  display: grid;
  grid-template-columns: 58.8% 36.4%;
  gap: 4.8%;
  align-items: stretch;
}

.waitlist-overlay input,
.waitlist-overlay button {
  min-width: 0;
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 18px;
  background: transparent;
  color: transparent;
  outline: none;
}

.waitlist-overlay button {
  cursor: pointer;
}

.waitlist-overlay button span {
  opacity: 0;
}

.waitlist-overlay input::placeholder {
  color: transparent;
}

.waitlist-overlay input:focus {
  padding: 0 18px;
  background: rgba(3, 7, 13, 0.96);
  color: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.35);
}

.waitlist-overlay input:focus::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.waitlist-overlay button:focus-visible {
  box-shadow: 0 0 0 2px rgba(245, 197, 66, 0.55);
}

.waitlist-overlay button:disabled {
  cursor: not-allowed;
}

.waitlist-status {
  position: absolute;
  left: 55.8%;
  top: 76.2%;
  width: 34%;
  min-height: 22px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
}

.waitlist-status:empty {
  display: none;
}

.waitlist-status[data-state="ok"] {
  color: #79f0ad;
}

.waitlist-status[data-state="err"] {
  color: #ff9c9c;
}

.footer-refresh {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 21.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 3.8% 5.2% 3.4%;
  background:
    linear-gradient(180deg, rgba(4, 7, 11, 0.06), rgba(4, 7, 11, 0.88) 12%, rgba(4, 7, 11, 0.985) 38%, rgba(4, 7, 11, 1) 100%);
  border-top: 1px solid rgba(245, 197, 66, 0.14);
}

.footer-refresh__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
}

.footer-refresh__brand img {
  width: 34px;
  height: 34px;
}

.footer-refresh__brand span {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(20px, 1.7vw, 29px);
  font-weight: 700;
  letter-spacing: -0.05em;
}

.footer-refresh__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 28px;
}

.footer-refresh__links a {
  color: rgba(255, 255, 255, 0.74);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.2;
  text-decoration: none;
}

.footer-refresh__links a:hover,
.footer-refresh__links a:focus-visible {
  color: rgba(245, 197, 66, 0.96);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .waitlist-overlay {
    left: 7%;
    top: 77.9%;
    width: 86%;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .waitlist-overlay input,
  .waitlist-overlay button {
    height: 54px;
    border-radius: 16px;
  }

  .waitlist-status {
    left: 8%;
    top: 87.7%;
    width: 82%;
    font-size: 13px;
  }

  .footer-refresh {
    height: 20%;
    align-items: flex-end;
    justify-content: flex-start;
    flex-direction: column;
    padding: 6% 7% 5%;
  }

  .footer-refresh__brand,
  .footer-refresh__links {
    width: 100%;
  }

  .footer-refresh__links {
    justify-content: flex-start;
    gap: 10px 18px;
  }
}
