/* ============================================================
   INTEGRATION PAGES, NEW LOOK (Dom, 27 Oct 2026): a sales page for firms
   that already run on the tool, told with the home page's animations,
   few words. First page: integrations/aryza-advize.html, made from the
   IVA page by tools/build-aryza-page.py. This file holds only what that
   page adds:
     .az-lock    the tool x Askpilot lockup over the hero title
     .az-video   the step-by-step setup video in the hero, under the
                 buttons (the player: css/demo-player.css)
     .az-uc      "Bring agentic operations to your IVA firm.": the use-case
                 tabs (css/hero-pmx.css) in their own section under the hero
   ============================================================ */

/* ---------- the lockup over the hero title ---------- */
.az-lock { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.az-lock + .hero-title { margin-top: 0; }   /* the logos sit close over the title (Dom, 28 Oct 2026) */
.az-lock span {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 3px rgba(22, 18, 26, .06), 0 12px 24px -18px rgba(22, 18, 26, .35);
}
.az-lock img { width: 28px; height: 28px; }
.az-lock i { font-style: normal; font-size: 1.125rem; color: var(--muted); }


/* ---------- the setup video in the hero: it enters last in the hero
   cascade (css/v8.css: title, description, buttons), like the use-case
   tabs it replaces, and the player waits for it (data-wait) ---------- */
.az-video { margin-top: 72px; }
.hero--static .az-video {
    opacity: 0; transform: translateY(10px);
    animation: hero-compare-in 560ms cubic-bezier(0.16, 1, 0.3, 1) 1020ms forwards;
}

/* ---------- agentic operations: the use-case tabs ---------- */
.az-uc { padding: 104px 0 112px; border-top: 1px solid var(--line); }
.az-uc .sec-head { margin-bottom: 52px; }
.az-uc .hu { margin-top: 0; }
/* the tabs become a full-width rail (css/hero-pmx.css): the section clips it, as the hero does */
@media (max-width: 1179px) { .az-uc { overflow-x: clip; } }

/* ---------- smaller screens ---------- */
@media (max-width: 767px) {
    .az-video { margin-top: 48px; }
    .az-uc { padding: 72px 0 80px; }
    .az-uc .sec-head { margin-bottom: 32px; }
    .az-lock { margin-bottom: 12px; }
    .az-lock span { width: 42px; height: 42px; border-radius: 12px; }
    .az-lock img { width: 24px; height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero--static .az-video { opacity: 1; transform: none; animation: none; }
}

/* the use cases (Dom, 30 Oct 2026): under the tabs, a violet "Learn more"
   button (to the PROCESS.md page) in place of the PROCESS.md pill */
/* the hero's "Watch how it works": Dom's play icon before the words (30 Oct 2026) */
.az-watch { gap: 9px; padding-left: 16px; }
.az-watch-ico { width: 18px; height: 18px; flex: none; transition: transform 0.2s ease; }
.az-watch:hover .az-watch-ico { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) { .az-watch-ico { transition: none; } .az-watch:hover .az-watch-ico { transform: none; } }
.az-uc-more { margin: 40px 0 0; text-align: center; }
.btn-violet { border-color: transparent; background: var(--brand-magenta); color: #fff; box-shadow: 0 10px 24px -14px rgba(213, 59, 213, 0.8); }
.btn-violet:hover { background: #BF2FBF; color: #fff; transform: translateY(-1px); }
.btn-violet:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* over the setup video: what is happening now (js/demo-now.js; Dom, 30 Oct
   2026, after the old home hero): the two apps the chapter joins, a dashed
   wire marching from the first to the second, and one line in capitals whose
   words arrive one by one when the chapter changes */
.az-now { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 28px; margin: 0 0 18px; font-size: 0.8125rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); text-align: center; }
.az-now-pair { display: inline-flex; flex: none; align-items: center; }
.az-now-pair img { width: 22px; height: 22px; object-fit: contain; }
.az-now-wire { position: relative; display: block; width: 26px; height: 2px; margin: 0 5px; }
.az-now-wire::before { content: ""; position: absolute; inset: 0; border-radius: 1px; background: repeating-linear-gradient(90deg, var(--muted) 0 3px, transparent 3px 6px); background-size: 6px 2px; animation: az-march 0.7s linear infinite; }
@keyframes az-march { to { background-position: 6px 0; } }
.az-now-t > span { display: inline-block; }
.az-now.is-in .az-now-t > span { animation: az-word 0.44s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0s) both; }
.az-now.is-in .az-now-pair { animation: az-word 0.44s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes az-word { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) {
    .az-now { gap: 9px; margin-bottom: 12px; font-size: 0.6875rem; letter-spacing: 0.1em; }
    .az-now-pair img { width: 18px; height: 18px; }
    .az-now-wire { width: 18px; margin: 0 4px; }
}
@media (prefers-reduced-motion: reduce) {
    .az-now-wire::before { animation: none; }
    .az-now.is-in .az-now-t > span, .az-now.is-in .az-now-pair { animation: none; }
}

