.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--fg2);
  opacity: 0.6;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 1;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.hero-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--fg0);
  margin-bottom: 20px;
  line-height: 1.2;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* typing animation styles */
.typed-text {
  display: inline;
  min-width: 1ch;
}

.cursor {
  display: inline;
  color: var(--fg0);
  animation: blink 1s step-end infinite;
}

.cursor.typing {
  animation: none;
  opacity: 1;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.hero-subhead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  color: var(--fg1);
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.top-banner {
  width: 100%;
  background: var(--bg2);
  color: var(--fg1);
  border-bottom: 2px solid var(--accent);
  text-align: center;
  padding: 10px 12px;
  font-size: 12px;
}

.demo-video {
  margin: 0 auto;
  max-width: 760px;
}

.video-embed {
  background: var(--bg1);
  border: 2px solid var(--accent);
}

.video-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

.video-controls[data-hidden="true"] {
  display: none;
}

.video-button {
  appearance: none;
  background: var(--bg1);
  color: var(--fg0);
  border: 1px solid var(--accent);
  font-family: inherit;
  font-size: 0; /* icons render via svg for consistent sizing */
  padding: 4px 8px;
  cursor: pointer;
}

.video-button:hover {
  background: var(--bg0);
}

.video-progress {
  flex: 1 1 auto;
}

.video-time {
  font-size: 12px;
  color: var(--fg0);
}

.video-spacer {
  flex: 0 0 8px;
}

.video-select {
  background: var(--bg1);
  color: var(--fg0);
  border: 1px solid var(--accent);
  font-family: inherit;
  font-size: 12px;
  padding: 4px 6px;
}

.video-placeholder {
  background: var(--bg1);
  border: 2px solid var(--accent);
  padding: 80px 48px;
  margin: 0 auto;
  color: var(--fg2);
}

.video-placeholder p {
  margin-bottom: 8px;
  font-size: 13px;
}

.video-note {
  font-size: 12px;
  color: var(--fg2);
}

.cta-form {
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}

.email-input {
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  background: var(--bg1);
  border: 1px solid var(--accent);
  color: var(--fg1);
  transition: border-color 0.2s;
}

.turnstile-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.email-input:focus {
  outline: none;
  border-color: var(--focus);
  background: var(--bg0);
}

.email-input::placeholder {
  color: var(--fg2);
}

.cta-button {
  padding: 10px 20px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  background: var(--info);
  color: var(--fg0);
  border: 1px solid var(--info);
  cursor: pointer;
  transition: all 0.2s;
}

.cta-button:hover {
  background: var(--info-hover);
  border-color: var(--info-hover);
}

.form-microcopy {
  font-size: 12px;
  color: var(--fg2);
  text-align: center;
  line-height: 1.5;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 11px;
  color: var(--fg2);
  line-height: 1.35;
  padding: 0;
  margin: -8px 0 -8px 0;
  max-width: 100%;
}

.checkbox-input {
  margin-top: 2px;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--fg2);
  opacity: 0.6;
}

.checkbox-input:checked {
  opacity: 1;
  accent-color: var(--info);
}

.checkbox-text {
  flex: 1;
  user-select: none;
  text-align: left;
}

em {
  font-style: italic;
  color: var(--fg0);
  font-weight: 500;
}

.step {
  text-align: center;
}

.step-icon {
  margin-bottom: 20px;
  color: var(--fg2);
  transition: all 0.2s;
}

.step-icon svg {
  width: 40px;
  height: 40px;
}

.step-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--fg0);
  margin-bottom: 12px;
}

.step-text {
  color: var(--fg1);
  line-height: 1.5;
  max-width: 240px;
  margin: 0 auto;
  font-size: 13px;
}

.philosophy-headline h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--fg0);
  line-height: 1.3;
}

.philosophy-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.checkmark {
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--fg2);
}

.point-content {
  color: var(--fg1);
  line-height: 1.5;
  font-size: 13px;
}

.point-content strong {
  color: var(--fg0);
}

.final-cta-headline {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--fg0);
  margin-bottom: 40px;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .waitlist-form {
    gap: 12px;
  }

  /* prevent ios safari from auto-zooming into inputs */
  .email-input,
  .cta-button {
    font-size: 16px;
  }

  .video-placeholder {
    padding: 60px 32px;
  }

  .scroll-indicator {
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .philosophy-points {
    gap: 20px;
  }

  .point {
    gap: 12px;
  }

  .video-placeholder {
    padding: 48px 24px;
  }

  .scroll-indicator {
    bottom: 12px;
  }
}
