/* Launch video (homepage, between hero and Transform). Storyboard board 1, signed off Nov 11, 2026.
   Stage is 1280 x 720 design px, scaled to fit by motion.js. Scenes: data-step 1-6 on .lv (2.6-4.4s each, ~18.8s loop; lengths in data-steps). */
.home-launch { padding-block: 56px 0; }
.lv { max-width: 1120px; margin-inline: auto; }
.lv__wrap { border-radius: 16px; background: var(--black); }
.lv__wrap::after { content: ""; position: absolute; inset: 0; z-index: 4; border: 1px solid var(--n800); border-radius: inherit; pointer-events: none; }
.lv__stage { height: 720px; overflow: hidden; background: var(--black); color: var(--white); }
.lv__stage p { margin: 0; }

/* 1-2  Database grid, push-in, then hot contacts light up */
.lv-grid {
  position: absolute; left: 80px; top: 64px; width: 1108px;
  display: grid; grid-template-columns: repeat(10, 100px); gap: 12px;
  opacity: 0; transform-origin: 50% 50%;
  transition: opacity .45s ease, transform 3s linear;
}
.lv[data-step="1"] .lv-grid, .lv[data-step="2"] .lv-grid { opacity: 1; transform: scale(1.04); }
.lv-cell {
  position: relative; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border-radius: 10px; background: #1c1c1c;
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .5s ease, background-color .4s ease;
}
.lv-cell i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--n700); transition: background-color .4s; }
.lv-cell b { flex: 1; height: 6px; border-radius: 3px; background: var(--n800); transition: opacity .3s; }
.lv-cell em { position: absolute; left: 42px; font-style: normal; font-size: 14px; font-weight: 600; color: var(--black); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.lv[data-step="1"] .lv-cell { opacity: 1; transform: none; transition-delay: calc(var(--r) * .09s); }
.lv[data-step="2"] .lv-cell { opacity: .35; transform: none; }
.lv[data-step="2"] .lv-cell.is-hot { opacity: 1; background: var(--lime); transition-delay: .35s; }
.lv[data-step="2"] .is-hot i { background: var(--black); transition-delay: .35s; }
.lv[data-step="2"] .is-hot b { opacity: 0; }
.lv[data-step="2"] .is-hot em { opacity: 1; transition-delay: .5s; }
.lv-sig {
  position: absolute; z-index: 2; padding: 6px 14px;
  border: 1.5px solid var(--lime); border-radius: 999px; background: var(--black);
  color: var(--lime); font-size: 18px; font-weight: 500; line-height: 1.4; white-space: nowrap;
}

/* 3  Hot leads table */
.lv-table { position: absolute; left: 120px; top: 56px; width: 1040px; box-sizing: border-box; padding: 28px 32px 8px; border: 1px solid var(--n700); border-radius: 20px; background: #141414; }
.lv-table__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.lv-table__title { font-size: 30px; line-height: 1.3; font-weight: 600; }
.lv-table__tag { padding: 4px 12px; border: 1.5px solid var(--lime); border-radius: 999px; color: var(--lime); font-size: 16px; font-weight: 500; }
.lv-table__head, .lv-table__row { display: grid; grid-template-columns: 230px 130px 230px minmax(0, 1fr); align-items: center; gap: 16px; }
.lv-table__head { padding-bottom: 12px; border-bottom: 1px solid var(--n700); color: var(--n400); font-size: 16px; font-weight: 600; }
.lv-table__row { padding: 18px 0; border-bottom: 1px solid var(--n700); font-size: 20px; line-height: 1.4; }
.lv-table__row:last-child { border-bottom: 0; }
.lv-who { display: flex; align-items: center; gap: 12px; font-weight: 500; white-space: nowrap; }
.lv-who img { flex: none; width: 36px; height: 36px; border-radius: 50%; }
.lv-chip { display: inline-flex; padding: 3px 12px; border: 1.5px solid var(--lime); border-radius: 999px; color: var(--lime); font-size: 16px; font-style: normal; white-space: nowrap; }
.lv-dim { color: var(--n400); }
.lv-act { color: var(--lime-200); }

/* 4  Phone + talking points */
.lv-points { position: absolute; left: 80px; top: 96px; width: 660px; }
.lv-points__label { margin-bottom: 10px !important; color: var(--n400); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em !important; }
.lv-points__who { margin-bottom: 24px !important; font-size: 34px; line-height: 1.2; font-weight: 600; }
.lv-points ul { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.lv-points li { position: relative; padding-left: 28px; color: var(--n200); font-size: 26px; line-height: 1.3; }
.lv-points li::before { content: ""; position: absolute; left: 0; top: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.lv-phone {
  position: absolute; left: 830px; top: 40px; width: 270px; height: 500px; box-sizing: border-box;
  display: flex; flex-direction: column; gap: 16px; padding: 56px 16px 20px;
  border: 3px solid var(--n700); border-radius: 44px; background: #141414;
}
.lv-note { padding: 14px 16px; border-radius: 18px; background: var(--white); color: var(--black); }
.lv-note__app { color: var(--n600); font-size: 12px; font-weight: 600; letter-spacing: .02em !important; }
.lv-note__title { margin-top: 4px !important; font-size: 17px; line-height: 1.3; font-weight: 600; }
.lv-note__body { margin-top: 2px !important; color: var(--n600); font-size: 14px; line-height: 1.4; }
.lv-contact { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: auto; padding: 20px 12px; border-radius: 20px; background: #1c1c1c; text-align: center; }
.lv-contact img { width: 72px; height: 72px; border-radius: 50%; }
.lv-contact__name { font-size: 20px; font-weight: 600; }
.lv-contact__meta { color: var(--n400); font-size: 14px; }
.lv-contact__btns { display: flex; gap: 10px; margin-top: 10px; }
.lv-call, .lv-text { width: 100px; padding: 10px 0; border-radius: 999px; font-size: 16px; font-weight: 600; text-align: center; }
.lv-call { background: var(--lime); color: var(--black); }
.lv-text { background: var(--n800); color: var(--white); }
.lv[data-step="4"] .lv-call { animation: lv-tap .7s 1.9s both; }
@keyframes lv-tap {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(210, 255, 112, .6); }
  35% { transform: scale(.9); }
  100% { transform: scale(1); box-shadow: 0 0 0 20px rgba(210, 255, 112, 0); }
}

/* 5  Nurture: first email, then the drip runs for months */
.lv-mail { position: absolute; left: 80px; top: 56px; width: 300px; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--white); color: var(--black); }
.lv-mail__brand { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 8px; background: var(--n900); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: .06em !important; }
.lv-mail__img { display: flex; align-items: center; justify-content: center; height: 120px; border-radius: 8px; background: var(--n150); color: var(--n500); }
.lv-mail__title { font-size: 20px; line-height: 1.3; font-weight: 600; }
.lv-bar { display: block; height: 8px; border-radius: 4px; background: var(--n200); }
.lv-mail__btn { align-self: flex-start; padding: 8px 16px; border-radius: 999px; background: var(--lime); font-size: 14px; font-weight: 600; }
.lv-drip { position: absolute; left: 430px; top: 64px; width: 770px; display: flex; flex-direction: column; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lv-drip li { display: flex; align-items: center; gap: 18px; height: 68px; box-sizing: border-box; padding: 0 22px; border-radius: 14px; background: #1c1c1c; }
.lv-dot { flex: none; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; background: var(--lime); }
.lv-drip .is-next .lv-dot { border: 2px solid var(--lime); background: transparent; }
.lv-when { flex: none; width: 90px; color: var(--n400); font-size: 16px; font-weight: 600; }
.lv-subj { flex: 1; min-width: 0; font-size: 22px; }
.lv-drip .is-next .lv-subj { color: var(--n300); }
.lv-stat { flex: none; padding: 4px 12px; border-radius: 999px; background: var(--n800); color: var(--n300); font-size: 14px; font-weight: 600; }
.lv-stat--open { background: var(--lime); color: var(--black); }

/* 6  Lead closes, lime end card */
.lv-end { position: absolute; inset: 0; z-index: 1; background: var(--lime); color: var(--black); opacity: 0; transition: opacity .5s ease; }
.lv[data-step="6"] .lv-end { opacity: 1; }
.lv-pipe { position: absolute; left: 80px; top: 72px; width: 1120px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lv-pipe__col p { margin-bottom: 10px !important; color: var(--n800); font-size: 18px; line-height: 1.5; font-weight: 600; }
.lv-pipe__col i { display: block; height: 64px; box-sizing: border-box; border: 1.5px dashed rgba(10, 10, 10, .35); border-radius: 12px; }
.lv-pipe__card {
  position: absolute; left: 8px; top: 45px; width: 246px; height: 48px; box-sizing: border-box;
  display: flex; align-items: center; gap: 10px; padding: 0 14px;
  border-radius: 10px; background: var(--black); color: var(--white); font-size: 16px; font-weight: 500; white-space: nowrap;
  transform: translateX(572px); transition: transform .8s cubic-bezier(.6, 0, .2, 1);
}
.lv-pipe__card img { width: 32px; height: 32px; border-radius: 50%; }
.lv[data-step="6"] .lv-pipe__card { transform: translateX(858px); transition-delay: .4s; }
.lv-end__brand, .lv-end__tag { position: absolute; left: 80px; opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .55s ease; }
.lv-end__brand { top: 250px; display: flex; }
.lv-end__brand .logo-svg { width: 350px; height: 60px; }
.lv-end__tag { top: 340px; color: var(--n800); font-size: 26px; font-weight: 500; }
.lv[data-step="6"] .lv-end__brand { opacity: 1; transform: none; transition-delay: .6s; }
.lv[data-step="6"] .lv-end__tag { opacity: 1; transform: none; transition-delay: .75s; }

/* Captions */
.lv-caps { margin: 0; padding: 0; list-style: none; }
.lv-cap { position: absolute; left: 80px; right: 80px; bottom: 64px; z-index: 3; font-size: 48px; line-height: 1.15; font-weight: 600; text-wrap: balance; }
.lv-cap--dark { color: var(--black); }
/* the site's lime focus ring disappears on the lime end card */
.lv[data-step="6"] .mloop__toggle:focus-visible { outline-color: var(--black); }

@media (max-width: 1100px) { .home-launch { padding-top: 40px; } }
@media (max-width: 640px) {
  .home-launch { padding-top: 32px; }
  .lv__wrap { border-radius: 12px; }
  .lv .mloop__toggle { right: 8px; bottom: 8px; width: 32px; height: 32px; }
  /* scaled down, the 32px control covers ~90-140 design px of the corner: keep captions clear of it */
  .lv-cap { right: 190px; }
}
/* Phones: the stage renders at ~0.27x, so the 48px caption was ~13px. 60 design px is ~16px at 390. */
@media (max-width: 480px) {
  .lv-cap { bottom: 48px; font-size: 60px; }
}
