/* Promo films (promo.js): laid out at 1920 × 1080 and scaled to the width of their frame. Colours and type are the
   site's own (styles.css); nothing here adds a colour the site does not already use. */
.promo { position: relative; display: block; width: 100%; overflow: hidden; container-type: inline-size; border-radius: 16px; }
.promo > .pm-cv { position: absolute; top: 0; left: 0; overflow: hidden; transform-origin: 0 0; transform: scale(tan(atan2(100cqw, var(--pm-w)))); }
.pm-cv {
  --pm-ink: #0f172a; --pm-ink-soft: #334155; --pm-muted: #526077; --pm-paper: #fff; --pm-surface: #f6f7f9; --pm-surface-2: #eef1f5;
  --pm-line: #e3e7ed; --pm-line-strong: #ccd4df; --pm-accent: #1d4ed8; --pm-accent-soft: #eef3fd; --pm-ticket: #fdfcf8;
  --pm-on-dark-muted: #93a4bf; --pm-on-dark-soft: #b4c0d3; --pm-on-dark-accent: #93b4f5; --pm-on-dark-line: rgb(255 255 255 / .14);
  --pm-glow: rgb(29 78 216 / .38); --pm-shadow: rgb(2 6 23 / .6); --pm-dot: rgb(255 255 255 / .07);
  --pm-ok: #15803d; --pm-ok-soft: #f0fdf4; --pm-warn: #b45309; --pm-warn-soft: #fff7ed;
  --pm-font: Outfit, "Segoe UI", "Microsoft YaHei", sans-serif; --pm-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  font-family: var(--pm-font); color: var(--pm-ink); text-align: left; letter-spacing: 0;
}
.pm-cv *, .pm-cv *::before, .pm-cv *::after { box-sizing: border-box; }
.pm-cv p, .pm-cv h2, .pm-cv h3, .pm-cv ul, .pm-cv ol { margin: 0; padding: 0; list-style: none; }
.pm-cv .pm-abs { position: absolute; }
/* Drawn product screens inside a film show their finished state; a film that wants a screen's own motion adds
   .pm-live to it. */
.pm-cv .scene:not(.pm-live) .sc-cv * { animation: none !important; }
/* The two grounds: the night stage of the homepage and the daylight surface of the inner pages. */
.pm-night { background: var(--pm-ink); color: var(--pm-paper); }
.pm-night::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 45% at 50% 56%, var(--pm-glow), transparent 75%), radial-gradient(var(--pm-dot) 1px, transparent 1.5px) 0 0 / 28px 28px; }
.pm-day { background: var(--pm-surface); color: var(--pm-ink); }
/* Pause button. Blended films fade at their edges, so it sits inside the fade. */
.promo-toggle { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--on-dark-line); border-radius: 50%; background: var(--ink); color: var(--paper); cursor: pointer; opacity: .78; transition: opacity 160ms ease; }
.promo-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.promo-toggle .is-play { display: none; fill: currentColor; }
.promo.is-paused .promo-toggle .is-play { display: block; }
.promo.is-paused .promo-toggle .is-pause { display: none; }
.promo.is-paused .promo-toggle { opacity: 1; }
.promo.is-blended .promo-toggle { right: 6%; bottom: 7%; }
.promo-toggle:hover { opacity: 1; }
@media (max-width: 800px) { .promo-toggle { width: 44px; height: 44px; } }
