/* Golden rain hero (trade homepage only) */
.rain-hero { position: relative; overflow: hidden; }
.rain-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: block; width: 100%; height: 100%; }
.rain-hero > :not(.rain-canvas) { position: relative; z-index: 1; }
.rain-hero h1 { margin-top: 130px; }
@media (max-width: 800px) { .rain-hero h1 { margin-top: 100px; } }

/* Visual-only typed example over the disabled search box */
.rain-hero .search-field { position: relative; }
.search-typed {
  position: absolute; top: 0; bottom: 0; left: 23px; right: 23px;
  display: flex; align-items: center; pointer-events: none; white-space: nowrap; overflow: hidden;
  font-size: 17px; color: rgba(247,244,239,0.72);
}
.search-typed-text { flex: 0 0 auto; }
.search-caret { position: absolute; left: 0; top: 50%; width: 1px; height: 1.2em; background: #d6b46e; visibility: hidden; transform: translate(0, -50%); animation: rain-caret 1s steps(1) infinite; }
.search-field.is-typing .search-caret { visibility: visible; }
.search-field.is-static .search-caret { visibility: hidden; }
.search-box .search-field.is-typing input[type="search"]::placeholder,
.search-box .search-field.is-static input[type="search"]::placeholder { color: transparent; -webkit-text-fill-color: transparent; }
@keyframes rain-caret { 50% { opacity: 0; } }
@media (max-width: 800px) { .search-typed { left: 19px; right: 19px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .search-caret { animation: none; } }
