/* AZO User presentation — projector-bright, screenshot-first */
.azo-ap {
  --ap-bg: #ececef;
  --ap-panel: #ffffff;
  --ap-fg: #1d1d1f;
  --ap-muted: #6e6e73;
  --ap-blue: #0071e3;
  --ap-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ap-chrome-h: 52px;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--ap-bg);
  color: var(--ap-fg);
  font-family: "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s var(--ap-ease);
}
.azo-ap.is-open {
  opacity: 1;
  pointer-events: auto;
}

.azo-ap-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: var(--ap-chrome-h);
  padding: 8px clamp(16px, 3vw, 40px);
  background: rgba(236, 236, 239, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.azo-ap-chrome-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-right: auto;
}
/* Match info/partners .service-page-back (light pages) */
.azo-ap-back.service-page-back {
  color: #222;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: transparent;
  border: 0;
  align-items: center;
  min-height: 40px;
  margin: 0;
  padding: 0;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
  display: inline-flex;
}
.azo-ap-back.service-page-back:hover {
  color: #000;
  transform: translateX(-3px);
}
.azo-ap-pill {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--ap-fg);
  border-radius: 980px;
  min-height: 34px;
  padding: 0 16px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 550;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.azo-ap-pill:hover { background: #f5f5f7; border-color: rgba(0, 0, 0, 0.2); }
.azo-ap-pill.is-blue {
  border-color: transparent;
  background: var(--ap-blue);
  color: #fff;
}

.azo-ap-scroller {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.azo-ap-scroller::-webkit-scrollbar { width: 0; height: 0; }

.azo-ap-chapter {
  position: relative;
  height: 100dvh;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
}

.azo-ap-sticky {
  height: 100%;
  min-height: 100%;
  display: grid;
  place-items: stretch;
  padding: calc(var(--ap-chrome-h) + 10px) clamp(16px, 3vw, 40px) clamp(72px, 9vh, 96px);
  box-sizing: border-box;
}

/* Split: BIG bright shot + text panel (no dim overlay on image) */
.azo-ap-stage {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  gap: clamp(16px, 2.2vw, 36px);
  align-items: stretch;
  min-height: 0;
}
.azo-ap-chapter.is-flip .azo-ap-stage {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.55fr);
}
.azo-ap-chapter.is-flip .azo-ap-media { order: 2; }
.azo-ap-chapter.is-flip .azo-ap-copy { order: 1; }

.azo-ap-media {
  position: relative;
  min-height: 0;
  display: grid;
  place-items: center;
  transform: translate3d(0, var(--ap-media-y, 24px), 0) scale(var(--ap-media-s, 0.97));
  opacity: var(--ap-media-o, 0);
  will-change: transform, opacity;
}
.azo-ap-frame {
  width: 100%;
  height: 100%;
  max-height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: clamp(16px, 1.6vw, 28px);
  overflow: hidden;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  display: grid;
  place-items: center;
}
.azo-ap-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: #fff;
  image-rendering: -webkit-optimize-contrast;
}

.azo-ap-copy {
  align-self: center;
  padding: clamp(12px, 1.6vw, 28px);
  background: var(--ap-panel);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: clamp(16px, 1.6vw, 24px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  transform: translate3d(0, var(--ap-copy-y, 28px), 0);
  opacity: var(--ap-copy-o, 0);
  will-change: transform, opacity;
  max-height: 100%;
  overflow: auto;
}
.azo-ap-kicker {
  margin: 0 0 10px;
  color: var(--ap-blue);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: var(--ap-kicker-o, 0);
  transform: translate3d(0, var(--ap-kicker-y, 14px), 0);
}
.azo-ap-title {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.85rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ap-fg);
  opacity: var(--ap-title-o, 0);
  transform: translate3d(0, var(--ap-title-y, 18px), 0);
}
.azo-ap-lead {
  margin: 14px 0 0;
  color: var(--ap-muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.45;
  opacity: var(--ap-lead-o, 0);
  transform: translate3d(0, var(--ap-lead-y, 14px), 0);
}
.azo-ap-points {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  opacity: var(--ap-points-o, 0);
  transform: translate3d(0, var(--ap-points-y, 12px), 0);
}
.azo-ap-points li {
  color: var(--ap-fg);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  line-height: 1.35;
  padding: 10px 12px 10px 34px;
  position: relative;
  background: #f5f5f7;
  border-radius: 12px;
}
.azo-ap-points li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--ap-blue);
}
.azo-ap-cap {
  margin: 14px 0 0;
  color: var(--ap-muted);
  font-size: 0.88rem;
  opacity: var(--ap-cap-o, 0);
}
.azo-ap-cta-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: var(--ap-cta-o, 0);
  transform: translate3d(0, var(--ap-cta-y, 12px), 0);
}

/* Hero */
.azo-ap-hero {
  width: min(1100px, 100%);
  margin: auto;
  text-align: center;
  padding: 24px;
}
.azo-ap-hero-word {
  margin: 0;
  font-size: clamp(4.2rem, 12vw, 9.5rem);
  font-weight: 780;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ap-fg);
  transform: scale(var(--ap-hero-s, 0.94));
  opacity: var(--ap-hero-o, 0);
}
.azo-ap-hero-sub {
  margin: 22px auto 0;
  max-width: 20ch;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
  opacity: var(--ap-sub-o, 0);
  transform: translate3d(0, var(--ap-sub-y, 20px), 0);
}
.azo-ap-hero-note {
  margin: 14px auto 0;
  max-width: 36ch;
  color: var(--ap-muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.45;
  opacity: var(--ap-note-o, 0);
}

.azo-ap-chapter.is-end .azo-ap-stage {
  grid-template-columns: 1fr;
  place-items: center;
  text-align: center;
}
.azo-ap-chapter.is-end .azo-ap-copy {
  width: min(560px, 100%);
  margin: 0 auto;
}

.azo-ap-dots {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-width: min(92vw, 640px);
  overflow-x: auto;
}
.azo-ap-dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 980px;
  background: rgba(0, 0, 0, 0.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s var(--ap-ease), background 0.2s ease;
}
.azo-ap-dot.is-on {
  width: 24px;
  background: var(--ap-fg);
}

.azo-ap-hint {
  position: fixed;
  left: 50%;
  bottom: max(56px, calc(env(safe-area-inset-bottom) + 48px));
  transform: translateX(-50%);
  z-index: 34;
  color: var(--ap-muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: var(--ap-hint-o, 1);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.azo-ap-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: var(--ap-progress, 0%);
  z-index: 40;
  background: var(--ap-blue);
  pointer-events: none;
}

@media (max-width: 980px) {
  .azo-ap-stage,
  .azo-ap-chapter.is-flip .azo-ap-stage {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1.35fr) auto;
    gap: 12px;
  }
  .azo-ap-chapter.is-flip .azo-ap-media { order: 0; }
  .azo-ap-chapter.is-flip .azo-ap-copy { order: 1; }
  .azo-ap-copy { padding: 14px 16px; }
  .azo-ap-title { font-size: clamp(1.45rem, 6vw, 2rem); }
  .azo-ap-points { display: none; }
  .azo-ap-sticky {
    padding-bottom: clamp(78px, 12vh, 110px);
  }
}

@media (min-width: 1400px) {
  .azo-ap-title { font-size: clamp(2.2rem, 2.4vw, 3.1rem); }
  .azo-ap-lead { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .azo-ap-scroller { scroll-behavior: auto; }
  .azo-ap-copy,
  .azo-ap-media,
  .azo-ap-kicker,
  .azo-ap-title,
  .azo-ap-lead,
  .azo-ap-points,
  .azo-ap-hero-word,
  .azo-ap-hero-sub {
    transform: none !important;
    opacity: 1 !important;
  }
}


/* phone chrome hit */
@media (max-width: 900px) {
  .azo-ap-chrome {
    padding-top: max(8px, env(safe-area-inset-top, 0px));
    padding-left: max(14px, env(safe-area-inset-left, 0px));
    padding-right: max(14px, env(safe-area-inset-right, 0px));
    min-height: calc(var(--ap-chrome-h) + env(safe-area-inset-top, 0px));
  }
  .azo-ap-back.service-page-back {
    min-width: 44px;
    min-height: 44px;
    padding: 10px 12px;
    margin-left: -12px;
  }
  .azo-ap-sticky {
    padding-top: calc(var(--ap-chrome-h) + env(safe-area-inset-top, 0px) + 10px);
  }
}
