
body {
  background: orange;
  min-height: 100vh;
  min-width: 100vw;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
}

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

/* Responsive video container */
#sm-video, #sleep-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  max-width: 100vw;
  max-height: 100vh;
}

#sm-video video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* Responsive button container */
#button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 90vw;
  max-width: 640px;
  top: 68% !important;
  gap: 12px;
  flex-wrap: nowrap;
}

#button-container button {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  font-size: clamp(12px, 1.4vw, 16px);
  padding: clamp(8px, 1.8vw, 12px) clamp(14px, 2.6vw, 20px);
  margin: 0;
}

@media (max-width: 900px) {
  #button-container {
    top: 72% !important;
    gap: 10px;
    flex-wrap: nowrap;
  }
  #button-container button {
    flex: 1 1 0;
    font-size: clamp(12px, 2.6vw, 15px);
    padding: clamp(8px, 2.4vw, 14px);
  }
  #logo img {
    height: 32px !important;
  }
}

@media (max-width: 600px) {
  #button-container {
    top: 75% !important;
    gap: 8px;
    flex-wrap: nowrap;
  }
  #button-container button {
    flex: 1 1 0;
    font-size: clamp(11px, 3.8vw, 14px);
    padding: clamp(8px, 3.2vw, 12px);
  }
  #logo img {
    height: 26px !important;
  }
}

@media (max-width: 400px) {
  #button-container {
    top: 80% !important;
    gap: 6px;
    flex-wrap: nowrap;
  }
  #button-container button {
    font-size: clamp(10px, 4.6vw, 13px);
    padding: clamp(6px, 4vw, 10px);
  }
  #logo img {
    height: 22px !important;
  }
}

/*
  Override the default styling of the sm-video container so that the
  Digital Person video fills the screen rather than appearing as a
  circular cut‑out.  The sleep placeholder uses similar sizing to
  ensure a consistent experience.
*/
#sm-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
#sm-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}