:root {
  color-scheme: light;
  font-family: "Courier Prime", "IBM Plex Mono", "Courier New", monospace;
  color: #111111;
  background: #ffffff;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}

body {
  min-width: 320px;
}

a,
button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 20px;
  border-bottom: 1px solid #eeeeee;
  background: #ffffff;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: #111111;
  line-height: 1;
  text-decoration: none;
}

.brand > span:first-child {
  font-size: 1rem;
}

.brand-ticker {
  margin-top: 5px;
  color: #777777;
  font-size: 0.75rem;
}

.header-actions,
.final-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.button {
  min-height: 38px;
  padding: 10px 14px 8px;
  border: 1px solid #111111;
  border-radius: 1px;
  font-size: 0.875rem;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: color 130ms ease, background-color 130ms ease;
}

.button-buy {
  color: #ffffff;
  background: #111111;
}

.button-buy:hover,
.button-buy:focus-visible {
  color: #111111;
  background: #ffffff;
}

.button-join {
  color: #111111;
  background: #ffffff;
}

.button-join:hover,
.button-join:focus-visible {
  color: #ffffff;
  background: #111111;
}

.button:focus-visible,
.brand:focus-visible,
.sequence-controls button:focus-visible,
.experience:focus-visible {
  outline: 1px dashed #111111;
  outline-offset: 4px;
}

.experience {
  display: grid;
  width: 100%;
  height: 100dvh;
  min-height: 500px;
  cursor: pointer;
  place-items: center;
  padding: 100px 28px 128px;
  outline: none;
}

.screen {
  width: min(760px, 100%);
  min-height: 210px;
  text-align: center;
}

.question,
.answer,
.aside {
  margin: 0;
}

.question {
  min-height: 1.35em;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.35;
}

.answer {
  min-height: 1.18em;
  margin-top: 30px;
  font-size: clamp(2.75rem, 5.2vw, 4rem);
  line-height: 1.18;
}

.answer.final-answer {
  font-size: clamp(4rem, 7vw, 5.5rem);
}

.typing::after {
  content: "|";
  display: inline-block;
  margin-left: 0.06em;
  font-weight: 400;
  animation: blink 850ms step-end infinite;
}

.aside {
  min-height: 1.35em;
  margin-top: 28px;
  color: #777777;
  font-size: 0.875rem;
  line-height: 1.35;
}

.aside.prompt {
  animation: appear 350ms ease both;
}

.final-actions {
  margin-top: 34px;
  color: #777777;
  font-size: 0.875rem;
  animation: appear 400ms ease both;
}

.final-actions[hidden],
.footer[hidden] {
  display: none;
}

.final-buttons {
  justify-content: center;
  margin-bottom: 22px;
}

.sequence-controls {
  position: fixed;
  z-index: 8;
  bottom: 51px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 22px;
  transform: translateX(-50%);
  color: #777777;
  font-size: 0.75rem;
}

.sequence-controls button {
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  color: #777777;
  background: transparent;
  cursor: pointer;
  font-size: 1.125rem;
}

.sequence-controls button:hover {
  color: #111111;
}

.sequence-controls button:disabled {
  cursor: default;
  opacity: 0.25;
}

.footer {
  position: fixed;
  right: 18px;
  bottom: 44px;
  display: flex;
  flex-direction: column;
  color: #777777;
  font-size: 0.7rem;
  line-height: 1.45;
  text-align: right;
}

.non-progress {
  position: fixed;
  z-index: 12;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 0 14px 14px;
  color: #777777;
  background: #ffffff;
  font-size: 0.7rem;
  line-height: 1;
}

.non-progress i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #e8e8e8;
}

@keyframes blink {
  0%,
  45% {
    opacity: 1;
  }
  46%,
  100% {
    opacity: 0;
  }
}

@keyframes appear {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 8px;
    min-height: 70px;
    padding: 8px 10px;
  }

  .header-actions {
    gap: 5px;
  }

  .button {
    min-height: 36px;
    padding: 10px 8px 8px;
    font-size: 0.72rem;
  }

  .experience {
    padding: 94px 20px 130px;
  }

  .screen {
    min-height: 190px;
  }

  .question {
    font-size: clamp(1.4rem, 6.6vw, 1.75rem);
  }

  .answer {
    margin-top: 24px;
    font-size: clamp(2.25rem, 11vw, 3rem);
  }

  .answer.final-answer {
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .final-actions {
    margin-top: 28px;
  }

  .sequence-controls {
    bottom: 55px;
  }

  .footer {
    right: 10px;
    bottom: 76px;
    left: 10px;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .brand-ticker {
    display: none;
  }

  .button {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 0.67rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
