/* The compact cover belongs to the order explanation, not to the hero photo.
   Scope every rule to this component so Sol and cabinet players stay separate. */
.landing-video-preview {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  overflow: hidden;
  min-height: 148px;
  margin-bottom: 32px;
  border: 1px solid #cce5f5;
  border-radius: 24px;
  background: #eff8fe;
  color: #0f172a;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.landing-video-preview:hover { border-color: #38bdf8; box-shadow: 0 12px 32px rgb(15 23 42 / .08); }
.landing-video-preview__image { position: relative; min-width: 0; }
.landing-video-preview__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 56% center; }
.landing-video-preview__play { position: absolute; inset: 0; display: grid; place-items: center; }
.landing-video-preview__play svg { width: 52px; height: 52px; padding: 15px; border: 1px solid rgb(255 255 255 / .7); border-radius: 50%; background: rgb(255 255 255 / .9); color: #075985; box-shadow: 0 8px 28px rgb(15 23 42 / .15); }
.landing-video-preview__copy { align-self: center; min-width: 0; padding: 22px 18px; }
.landing-video-preview__title { display: block; font-size: 1.25rem; font-weight: 720; line-height: 1.2; }
.landing-video-preview__description { display: none; }
.landing-video-preview__duration { display: block; margin-top: 12px; font-size: .9rem; color: #075985; }
.landing-video-hero { gap: 10px; }
.landing-video-hero svg { width: 16px; height: 16px; flex: none; }
.landing-video-preview:focus-visible, .landing-video-dialog__close:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 4px; }

/* Native modal provides focus containment and Escape. Hide it explicitly:
   component layout must never override the browser's closed-dialog state. */
.landing-video-dialog:not([open]) { display: none; }
.landing-video-dialog {
  width: min(1100px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: auto;
  padding: 14px;
  overflow: auto;
  border: 1px solid #d8e9f8;
  border-radius: 22px;
  background: #f8fbff;
  color: #0f172a;
  box-shadow: 0 24px 100px rgb(0 0 0 / .3);
}
.landing-video-dialog::backdrop { background: rgb(15 23 42 / .78); }
.landing-video-dialog__head { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.landing-video-dialog__head h2 { margin: 0; font-size: 1.15rem; font-weight: 720; line-height: 1.2; }
.landing-video-dialog__close { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 1px solid #d8e9f8; border-radius: 50%; background: #ffffff; color: #0f172a; cursor: pointer; }
.landing-video-dialog__close svg { width: 20px; height: 20px; }
.landing-video-dialog video { display: block; width: 100%; max-height: calc(100dvh - 155px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); aspect-ratio: 16 / 9; border-radius: 12px; background: #0f172a; object-fit: contain; }
.landing-video-dialog--vertical { width: min(430px, calc(100% - 24px)); }
.landing-video-dialog--vertical video { aspect-ratio: 9 / 16; }
.landing-video-dialog__note { margin: 10px 0 0; color: #475569; font-size: .85rem; line-height: 1.4; }
.landing-video-dialog__status { margin: 10px 0 0; font-size: .9rem; line-height: 1.4; }
.landing-video-dialog__direct { display: inline-block; margin-top: 8px; color: #075985; text-decoration: underline; }
.landing-video-dialog [hidden] { display: none; }
.homepage-video-open { overflow: hidden; }

@media (min-width: 768px) {
  .landing-video-preview { grid-template-columns: minmax(0, .34fr) minmax(0, .66fr); min-height: 200px; }
  .landing-video-preview__copy { padding: 28px 36px; }
  .landing-video-preview__title { font-size: 1.75rem; }
  .landing-video-preview__description { display: block; margin-top: 10px; font-size: 1rem; line-height: 1.5; color: #475569; }
  .landing-video-dialog { padding: 20px; }
  .landing-video-dialog__head h2 { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .landing-video-preview { transition: none; }
}
