
.intro-details > p {
  margin: 0;
  color: #635e57;
  font-size: 14px;
  line-height: 1.5;
}
.motion-toggle {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #3c4740;
  font: 500 12px Geist, Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.motion-toggle:focus-visible { outline: 2px solid #b52f0a; outline-offset: 3px; }
.preview-motion { display: none; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .preview-motion { display: block; }
  .motion-ready [data-motion-preview] *,
  .motion-ready [data-motion-preview] *::before,
  .motion-ready [data-motion-preview] *::after {
    animation-play-state: paused !important;
  }
  .motion-ready [data-motion-preview].is-animating *,
  .motion-ready [data-motion-preview].is-animating *::before,
  .motion-ready [data-motion-preview].is-animating *::after {
    animation-play-state: running !important;
  }
  .market-playhead {
    position: absolute;
    inset: 24% 4% 25% 35%;
    overflow: hidden;
    animation: chart-preview 10s ease-in-out infinite;
  }
  .market-playhead > span {
    position: absolute;
    inset: 0 auto 0 0;
    width: 1px;
    background: #b7e6ce;
  }
  .market-playhead > i {
    position: absolute;
    top: 58%;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b7e6ce;
  }
  @keyframes chart-preview {
    0%, 8% { transform: translateX(0); opacity: 0; }
    14% { opacity: .8; }
    82% { transform: translateX(78%); opacity: .8; }
    92%, 100% { transform: translateX(78%); opacity: 0; }
  }
  .motion-ready .origin-globe {
    animation: globe-travel 12s ease-in-out infinite;
  }
  .motion-ready .origin-prompt {
    animation: origin-intro 12s ease-in-out infinite;
  }
  .origin-question {
    position: absolute;
    inset: 84px 20px 76px 24px;
    color: #edf2fa;
    animation: origin-question 12s ease-in-out infinite;
  }
  .origin-question small {
    color: #aebacf;
    font: 11px monospace;
  }
  .origin-question h3 {
    margin: 15px 0;
    font: 600 clamp(18px, 2vw, 28px)/1.15 Geist, Arial, sans-serif;
    letter-spacing: -.025em;
  }
  .origin-question > div {
    box-sizing: border-box;
    width: min(100%, 360px);
    padding: 10px 12px;
    margin-top: 6px;
    border: 1px solid #a2b6d34d;
    border-radius: 5px;
    color: #d6e0ef;
    background: #070c14e8;
    font: 12px/1.3 Geist, Arial, sans-serif;
  }
  .origin-question .selected-answer {
    animation: answer-select 12s ease-in-out infinite;
  }
  .selected-answer span { float: right; }
  @keyframes globe-travel {
    0%, 26%, 96%, 100% { transform: translateX(0); opacity: 1; }
    40%, 80% { transform: translateX(15%); opacity: .3; }
  }
  @keyframes origin-intro {
    0%, 26%, 96%, 100% { opacity: 1; transform: translateY(0); }
    35%, 85% { opacity: 0; transform: translateY(-8px); }
  }
  @keyframes origin-question {
    0%, 30%, 90%, 100% { opacity: 0; transform: translateY(8px); }
    40%, 80% { opacity: 1; transform: translateY(0); }
  }
  @keyframes answer-select {
    0%, 60%, 88%, 100% { background: #070c14e8; color: #d6e0ef; }
    67%, 80% { background: #e4eaf4; color: #111a2a; }
  }
  .terminal-boot {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    padding: 10% 7%;
    overflow: hidden;
    background: #030905;
    color: #52f784;
    animation: boot-overlay 11s ease-in-out infinite;
  }
  .terminal-wordmark {
    margin: 0 0 8%;
    font: 700 clamp(3px, .51vw, 7px)/1.12 monospace;
    white-space: pre;
  }
  .terminal-lines p {
    width: 0;
    max-width: 100%;
    margin: 10px 0;
    overflow: hidden;
    white-space: nowrap;
    font: 11px/1.3 monospace;
    animation: terminal-type 11s steps(46,end) infinite;
  }
  .terminal-lines p:nth-child(2) { animation-delay: .7s; }
  .terminal-lines p:nth-child(3) { animation-delay: 1.4s; }
  .terminal-lines p:nth-child(4) { animation-delay: 2.1s; }
  .terminal-progress {
    height: 3px;
    margin-top: 18px;
    background: #183523;
  }
  .terminal-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform-origin: left;
    background: #52f784;
    animation: terminal-progress 11s linear infinite;
  }
  .terminal-ready {
    margin-top: 16px;
    font: 10px/1.4 monospace;
    animation: terminal-ready 11s step-end infinite;
  }
  @keyframes boot-overlay {
    0%, 5%, 76%, 100% { opacity: 0; }
    12%, 66% { opacity: 1; }
  }
  @keyframes terminal-type {
    0%, 10%, 96%, 100% { width: 0; }
    24%, 90% { width: 100%; }
  }
  @keyframes terminal-progress {
    0%, 10% { transform: scaleX(0); }
    53%, 100% { transform: scaleX(1); }
  }
  @keyframes terminal-ready {
    0%, 48%, 70%, 100% { opacity: 0; }
    52%, 58%, 64% { opacity: 1; }
    55%, 61% { opacity: .3; }
  }
}
@media (max-width: 809.98px) {
  .intro-details { margin-top: 18px; }
  .origin-question { inset: 65px 16px 66px; }
  .origin-question h3 { font-size: 19px; margin: 8px 0; }
  .origin-question > div { font-size: 10px; padding: 6px 10px; }
  .terminal-wordmark { font-size: 3.4px; }
  .terminal-lines p { font-size: 9px; margin: 7px 0; }
}

.preview-video {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  pointer-events: none;
}
.motion-ready .preview-video[data-ready] { display: block; }
.market-screen .preview-video {
  box-sizing: border-box;
  border: 4px solid #26362d;
  border-radius: 10px;
  background: #17221c;
}
.facade-screen .preview-video { background: #0c0d12; }

.preview-video { border-radius: 8px; }
.motion-ready .market-screen:has(.preview-video[data-ready]) > img,
.motion-ready .project-screen:has(.preview-video[data-ready]) > img,
.motion-ready .facade-screen:has(.preview-video[data-ready]) > img {
  opacity: 0;
}