/* Scoped to the landing hero and independent explainer dialog only. */
.view-home .home-screen img { aspect-ratio: 16 / 9; }
@media (min-width: 701px) {
  .view-home .home-intro .title { max-width: none; font-size: clamp(3.25rem, 4.25vw, 3.5rem); line-height: 1.12; }
}
#explainer-dialog { width: min(900px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; overflow: auto; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 24px 70px rgba(24, 24, 48, .28); }
#explainer-dialog::backdrop { background: rgba(15, 17, 35, .72); }
.explainer-inner { padding: clamp(16px, 3vw, 28px); }
.explainer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
#explainer-title { margin: 0; font-size: clamp(1.25rem, 3vw, 1.75rem); line-height: 1.2; }
#explainer-close { min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); cursor: pointer; }
#explainer-close:focus-visible, [data-explainer]:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
#explainer-video { display: block; width: 100%; height: auto; max-height: min(65dvh, 600px); background: #141827; aspect-ratio: 16 / 9; }
#explainer-error { min-height: 1.5em; margin: 12px 0 0; color: #8c2d31; }
@media (max-width: 700px) { #explainer-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); } }
