/* Prompt-stream hero: typed prompt + agent thinking steps */
.hp-hero { padding: 8px 0 88px; text-align: center; }
.hp-cycle { transition: opacity 420ms ease; }
.hp-cycle.hp-out { opacity: 0; }
.hp-prompt { font-size: 52px; line-height: 1.12; font-weight: 500; letter-spacing: -1px; color: var(--neutrals-white); margin: 0 auto 110px; min-height: 2.3em; max-width: 920px; }
.hp-prompt .hp-brand { color: var(--neutrals-white); }
.hp-tail { white-space: nowrap; }
.hp-caret { display: inline-block; width: 4px; height: 0.82em; background: var(--brand-300); margin-left: 7px; vertical-align: -0.06em; animation: hpBlink 1.1s steps(2, start) infinite; }
@keyframes hpBlink { 50% { opacity: 0; } }
.hp-steps { list-style: none; margin: 0; padding: 0; min-height: 56px; position: relative; }
.hp-step { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 19px; line-height: 1.3; color: #a8e6a3; animation: hpIn 500ms ease both; }
.hp-step.leaving { position: absolute; left: 0; right: 0; top: 0; animation: hpOut 400ms ease both; }
@keyframes hpIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes hpOut { to { opacity: 0; transform: translateY(-10px); } }
.hp-step-mark { flex: none; width: 15px; color: var(--brand-300); opacity: 0.55; transition: opacity 300ms ease, color 300ms ease; }
.hp-step-mark svg { display: block; width: 15px; height: auto; }
.hp-step.active .hp-step-mark { color: var(--neutrals-white); opacity: 1; animation: hpPulse 1.2s ease-in-out infinite; }
@keyframes hpPulse { 50% { transform: scale(1.28); opacity: 0.55; } }
.hp-step.active .hp-step-txt {
  background: linear-gradient(90deg, #a8e6a3 0%, #fff 50%, #a8e6a3 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: hpShimmer 1.5s linear infinite;
}
@keyframes hpShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.hp-step.done { color: #a8e6a3; }
.hp-hero .hero-ctas { margin-top: 48px; justify-content: center; }
.hp-blocks { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 28px; min-height: 56px; transition: opacity 460ms ease; }
.hp-blocks.hp-fade { opacity: 0; }
.hp-block {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 10px;
  padding: 15px 26px 15px 20px;
  background: rgba(255,255,255,0.1);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
  font-size: 18px; font-weight: 500; color: var(--brand-100); white-space: nowrap;
  animation: hpBlockIn 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hp-block + .hp-block {
  margin-left: -9px;
  padding-left: 30px;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%);
}
.hp-block .ph { font-size: 19px; color: var(--brand-300); }
@keyframes hpBlockIn { from { opacity: 0; transform: translateY(-18px) scale(0.9); } }
@media (max-width: 980px) { .hp-prompt { font-size: 40px; } }
@media (max-width: 700px) {
  .hp-prompt { font-size: 30px; letter-spacing: -0.5px; }
  .hp-step { font-size: 18px; align-items: flex-start; text-align: left; }
  .hp-step-mark { margin-top: 5px; }
  .hp-blocks { gap: 8px; }
  .hp-block, .hp-block + .hp-block { font-size: 18px; padding: 10px 16px; margin-left: 0; clip-path: none; border-radius: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp-caret, .hp-step.active .hp-step-mark { animation: none; }
  .hp-step, .hp-step.leaving, .hp-block { animation: none; }
  .hp-step.active .hp-step-txt { animation: none; background: none; color: var(--brand-100); }
}
