/* Home page only. The motion is in home.js: Wireface Images brings the faces to life and anime.js brings the
   cards and tiles in. */

/* a product picture's frame; Wireface Images clips its faces to it */
.usecard .pic { display: block; overflow: hidden; border-bottom: 1px solid var(--line); }
.usecard .pic img { border-bottom: 0; }
/* the faces are drawn over the pictures, so the cards stay put on hover (the border still lights up) */
#uses .usecard:hover { transform: none; }

/* the wireframe face, drawn live in the grid's first tile */
.portraits .holo canvas.wire { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* the launch offer bar under the nav: hidden until launch-banner.js has the offer's real count from the pay service */
.promo { border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(34, 211, 238, .12), rgba(99, 102, 241, .16) 55%, rgba(167, 139, 250, .12)); }
.promo[hidden] { display: none; }
.promo-row { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px 22px; padding: 12px 48px; }
.promo p { margin: 0; line-height: 1.45; }
.promo-main { display: block; font-size: .96rem; }
.promo-sub { display: block; color: var(--muted); font-size: .85rem; }
.promo-tag { flex: none; padding: 2px 10px; border-radius: 999px; background: var(--grad); color: #050914; font: 600 .72rem/1.7 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.promo b { color: #fff; font-weight: 600; }
.promo .promo-left { color: var(--cyan); }
.promo .btn { flex: none; }
.promo-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); appearance: none; background: none; border: 0; border-radius: 8px; color: var(--muted); font: 400 1.4rem/1 var(--body); padding: 6px 10px; cursor: pointer; }
.promo-close:hover { color: var(--text); background: rgba(148, 163, 184, .12); }
@media (max-width: 820px) {
  .promo-row { flex-wrap: wrap; justify-content: flex-start; align-items: flex-start; padding: 12px 40px 14px 0; }
  .promo p { flex: 1 1 100%; }
  .promo-main { font-size: .9rem; }
  .promo-close { top: 8px; transform: none; }
}
