/* Mobile hero: read the promise first, then explore the diamond and its active facet together. */
.signal-core.is-clicked { animation: none; }
.signal-core.is-clicked > i { animation: diamond-click-annoyed .3s cubic-bezier(.2,.9,.25,1.12); }
@keyframes diamond-click-annoyed {
  0%, 100% { opacity: 1; filter: brightness(1) saturate(1); }
  38% { opacity: .78; filter: brightness(1.16) saturate(1.35); }
  68% { opacity: 1; filter: brightness(.94) saturate(1.06); }
}

@media (max-width: 900px) {
  .hero-refraction {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
    padding: 88px 22px 26px;
    overflow: hidden;
  }
  .hero-refraction .hero-copy {
    position: relative;
    z-index: 5;
    order: 1;
    width: 100%;
    margin: 0;
  }
  .hero-refraction .hero-copy h1 {
    max-width: 350px;
    font-size: clamp(42px, 11.2vw, 58px);
    line-height: .88;
  }
  .hero-refraction .hero-lede,
  .hero-refraction .hero-cta { display: none; }
  .hero-refraction .signal-stage {
    position: relative;
    z-index: 4;
    order: 2;
    width: 100%;
    height: min(33vh, 278px);
    min-height: 236px;
    margin: 2px 0 -6px;
    overflow: visible;
  }
  .hero-refraction .signal-stage svg,
  .hero-refraction .signal-tag,
  .hero-refraction .signal-output-tag,
  .hero-refraction .signal-drag-hint { display: none; }
  .hero-refraction .signal-core {
    top: 47%;
    left: 50%;
    width: min(57vw, 238px);
  }
  .hero-refraction .hero-insight {
    position: relative;
    z-index: 5;
    order: 3;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 15px 17px;
    border-radius: 20px 8px 20px 8px;
  }
  .hero-refraction .hero-insight h2 { margin: 7px 0 5px; font-size: 23px; }
  .hero-refraction .hero-insight p { font-size: 12px; line-height: 1.38; }
}

@media (prefers-reduced-motion: reduce) {
  .signal-core.is-clicked,
  .signal-core.is-clicked > i { animation: none; }
}
