/* ============== OWLE LANDING — isomeet-style, OWLE design system ==============
   Inherits all tokens from styles.css. Adds: marketing-only typography,
   layout helpers (.landing-*), badge modifiers, marquee carousel,
   audience grid, tabs, accordion. Dark default, light theme inherited. */

.pai-scope{
  /* Marketing-only typography */
  --font-size-display: 72px;
  --font-size-display-sm: 40px;
  --font-size-h2-mkt: 40px;
  --font-size-lead: 18px;
  --font-size-body-mkt: 16px;

  /* Section rhythm */
  --section-py-desktop: 112px;
  --section-py-mobile: 72px;
  --landing-max: 1200px;

  /* Marquee speed */
  --marquee-duration: 70s;

  /* Soft brand glow tokens (only for the landing) */
  --glow-blue:   rgba(155, 108, 245, 0.40);
  --glow-purple: rgba(168, 85, 247, 0.30);
  --glow-cyan:   rgba(125, 211, 252, 0.30);
}

.pai-scope :root[data-theme="light"]{
  --glow-blue:   rgba(155, 108, 245, 0.18);
  --glow-purple: rgba(168, 85, 247, 0.14);
  --glow-cyan:   rgba(3, 105, 161, 0.14);
}

.pai-scope.landing-body{
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-size: var(--font-size-body-mkt);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.pai-scope .landing-shell{
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
.pai-scope .landing-container{
  width: 100%;
  max-width: var(--landing-max);
  margin: 0 auto;
  padding: 0 32px;
}

.pai-scope .landing-container.wide{
  max-width: 1440px;
}

.pai-scope .landing-section{
  padding: var(--section-py-desktop) 0;
  position: relative;
}

.pai-scope .gradient-divider{
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--border) 20%,
    var(--primary) 50%,
    var(--border) 80%,
    transparent 100%
  );
  opacity: 0.55;
}

.pai-scope .section-header{
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}

.pai-scope .eyebrow{
  display: none;
}

.pai-scope .section-h2{
  font-size: var(--font-size-h2-mkt);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-heading);
  margin: 0 0 18px;
  line-height: 1.1;
}
.pai-scope .section-sub{
  font-size: var(--font-size-lead);
  color: var(--text-tertiary);
  margin: 0 auto;
  line-height: 1.55;
  max-width: 64ch;
}

.pai-scope .landing-nav{
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  background: rgba(10, 10, 14, 0.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow:
    0 24px 60px -28px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  max-width: calc(100% - 32px);
  width: min(1180px, calc(100% - 32px));
}
.pai-scope :root[data-theme="light"] .landing-nav{
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(24, 24, 27, 0.08);
  box-shadow:
    0 20px 50px -28px rgba(24, 24, 27, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.pai-scope .landing-nav-inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 58px;
  padding: 0 8px 0 22px;
  gap: 12px;
}
.pai-scope .landing-nav-inner > .landing-nav-left{ justify-self: start; display: inline-flex; align-items: center; gap: 10px; }
.pai-scope .landing-nav-inner > .landing-nav-links{ justify-self: center; }
.pai-scope .landing-nav-inner > .landing-nav-cta{ justify-self: end; }

.pai-scope .pai-switcher{ position: relative; }
.pai-scope .pai-switcher-btn{
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              border-color 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              color 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .pai-switcher-btn svg{ width: 18px; height: 18px; display: block; }
.pai-scope .pai-switcher-btn:hover{
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-heading);
}
.pai-scope .pai-switcher-btn[aria-expanded="true"]{
  background: rgba(155, 108, 245, 0.14);
  border-color: rgba(155, 108, 245, 0.32);
  color: var(--primary-light);
}
.pai-scope :root[data-theme="light"] .pai-switcher-btn{
  background: rgba(24, 24, 27, 0.04);
  border-color: rgba(24, 24, 27, 0.08);
}
.pai-scope .pai-switcher-menu{
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  width: 340px;
  padding: 8px;
  background: rgba(10, 10, 14, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 32px 80px -28px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.05);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              visibility 0.32s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 51;
}
.pai-scope :root[data-theme="light"] .pai-switcher-menu{
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(24, 24, 27, 0.08);
}
.pai-scope .pai-switcher.is-open .pai-switcher-menu{
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.pai-scope .psm-head{
  padding: 10px 12px 12px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-quaternary);
}
.pai-scope .psm-item{
  display: grid !important;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  transition: background 0.25s cubic-bezier(0.32, 0.72, 0, 1), color 0.25s cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .psm-item:hover{ background: rgba(255, 255, 255, 0.05); color: var(--text-heading); }
.pai-scope :root[data-theme="light"] .psm-item:hover{ background: rgba(24, 24, 27, 0.04); }
.pai-scope .psm-item-current{
  background: rgba(155, 108, 245, 0.12);
  border: 1px solid rgba(155, 108, 245, 0.32);
}
.pai-scope .psm-item-current:hover{ background: rgba(155, 108, 245, 0.18); }
.pai-scope .psm-mark{
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.pai-scope :root[data-theme="light"] .psm-mark{
  background: rgba(24, 24, 27, 0.04);
  border-color: rgba(24, 24, 27, 0.06);
}
.pai-scope .psm-mark svg{ width: 22px; height: 22px; display: block; }
.pai-scope .psm-text{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pai-scope .psm-name{ font-size: 14px; font-weight: 600; color: var(--text-heading); letter-spacing: -0.01em; }
.pai-scope .psm-tag{ font-size: 12px; color: var(--text-tertiary); line-height: 1.35; }
.pai-scope .psm-chev{
  color: var(--text-quaternary);
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), color 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .psm-chev svg{ width: 16px; height: 16px; }
.pai-scope .psm-item:hover .psm-chev{ color: var(--text-secondary); transform: translateX(2px); }
@media (max-width: 540px) {
  .pai-scope .pai-switcher-menu{ width: calc(100vw - 32px); left: 0; }
}
@media (max-width: 860px) {
  .pai-scope .landing-nav{ top: 14px; }
  .pai-scope .landing-nav-inner{ grid-template-columns: 1fr auto; padding: 0 8px 0 16px; height: 52px; }
}
.pai-scope .landing-nav-logo{
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-heading);
  text-decoration: none;
}
.pai-scope .landing-nav-logo img{ height: 24px; width: auto; display: block; }
.pai-scope .landing-nav-logo-svg{ height: 26px; width: auto; display: block; color: var(--text-heading); }
.pai-scope :root[data-theme="light"] .landing-nav-logo-svg{ color: #0a0a0e; }
.pai-scope .landing-nav-links{
  display: flex;
  align-items: center;
  gap: 4px;
}
.pai-scope .landing-nav-link{
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  transition: background 0.12s ease, color 0.12s ease;
}
.pai-scope .landing-nav-link:hover{
  color: var(--text-heading);
  background: var(--bg-hover);
}
.pai-scope .landing-nav-cta{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 8px 20px -8px rgba(155, 108, 245, 0.55);
  transition: background 380ms cubic-bezier(0.32, 0.72, 0, 1),
              transform 380ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .landing-nav-cta:hover{
  background: var(--primary-hover);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px -8px rgba(155, 108, 245, 0.7);
}
.pai-scope .landing-nav-cta:active{ transform: scale(0.98); }
@media (max-width: 860px) {
  .pai-scope .landing-nav-links{ display: none; }
}

.pai-scope .hero{
  /* body.dark-hero pulls <main> up 113px so this hero fills the space behind the
     transparent header bar -- that is what stops the bar rendering as a solid
     band. The content therefore has to start at least 113px down to clear the
     81px bar (.5rem header pad + .5rem nav pad + 47px logo + 1px borders).

     `safe center` matters: body.pai .hero-card caps this box at 40svh, and the
     content is taller than that, so a plain `center` overflows equally in both
     directions -- straight back up under the nav, however much top padding is
     set. `safe` keeps the centring but never overflows the start edge. */
  padding: clamp(140px, 16vh, 180px) 0 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: safe center;
}
.pai-scope .hero::before{ content: none; }
.pai-scope .hero-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  width: 100%;
  padding: 32px;
  /* Was margin-top:-80px. It cancelled half the hero's top padding, leaving the
     content clearing the header by 1px on desktop and overlapping it by 33px on
     mobile (where this element's own padding collapses, so nothing absorbed the
     difference). The hero's padding above is now the only vertical offset. */
}
.pai-scope .hero-copy{ max-width: 600px; }

.pai-scope .hero-tagline{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  padding: 6px 14px 6px 8px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 28px;
}
.pai-scope .hero-tagline .new-pill{
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  background: var(--primary-subtle);
  color: var(--primary-light);
  border-radius: var(--radius-full);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.pai-scope :root[data-theme="light"] .hero-tagline .new-pill{ color: var(--primary); }
.pai-scope .hero-tagline .sep{ color: var(--text-muted); }

.pai-scope .hero h1{
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.6px;
  line-height: 1.28;
  color: var(--text-heading);
  margin: 0 0 22px;
  max-width: 16ch;
}
.pai-scope .hero h1 .accent{
  background: var(--primary);
  color: #ffffff;
  padding: 2px 14px 6px;
  margin: 0 -2px;
  border-radius: 10px;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  box-shadow: 0 14px 30px -16px rgba(155, 108, 245, 0.6);
  letter-spacing: -1.6px;
}

.pai-scope .hero-sub{
  font-size: 18px;
  color: var(--text-tertiary);
  line-height: 1.55;
  margin: 0 0 32px;
  max-width: 52ch;
}

.pai-scope .hero-ctas{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.pai-scope .btn-mkt{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, filter 0.12s ease;
  white-space: nowrap;
}
.pai-scope .btn-mkt-primary{
  background: var(--text-heading);
  color: var(--bg-deep);
}
.pai-scope .btn-mkt-primary:hover{ filter: brightness(0.92); }
.pai-scope .btn-mkt-ghost{
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border-strong);
}
.pai-scope .btn-mkt-ghost:hover{ background: var(--bg-hover); border-color: var(--border-input); }
.pai-scope .btn-mkt-blue{
  background: var(--primary);
  color: var(--text-on-primary);
}
.pai-scope .btn-mkt-blue:hover{ background: var(--primary-hover); }
.pai-scope .btn-mkt.sm{ height: 40px; padding: 0 16px; font-size: 13.5px; }

.pai-scope .hero-meta{
  font-size: 13px;
  color: var(--text-quaternary);
  margin: 0;
}
.pai-scope .hero-meta .dot{ color: var(--text-muted); padding: 0 6px; }

.pai-scope .hero-stage{
  position: relative;
  width: 100%;
  /* Was translate(40px,-60px). The -60px lifted the art column above the hero's
     top padding, and .float-card-tr sits a further -8% above the video, so the
     top-right badge landed behind the nav whatever padding the hero carried.
     The horizontal offset is kept; below 980px this transform was already none. */
  transform: translate(40px, 0);
}
@media (max-width: 980px) {
  .pai-scope .hero-stage{ transform: none; }
}

.pai-scope .float-card{
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 20px 50px -24px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--text-heading);
  animation: float-bob 5s ease-in-out infinite;
  white-space: nowrap;
}
.pai-scope :root[data-theme="light"] .float-card{
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(24, 24, 27, 0.06);
}
.pai-scope .float-card .float-icon{
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  color: var(--primary-light);
  flex-shrink: 0;
}
.pai-scope :root[data-theme="light"] .float-card .float-icon{ color: var(--primary); }
.pai-scope .float-card .float-icon svg{ width: 18px; height: 18px; }
.pai-scope .float-card .float-icon.dot-icon{ background: rgba(239, 68, 68, 0.12); }
.pai-scope .float-card .live-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18);
  animation: live-pulse 1.4s ease-out infinite;
}
.pai-scope .float-card .float-text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.pai-scope .float-card .float-label{
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}
.pai-scope .float-card .float-sub{
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

.pai-scope .float-card-tl{ top: 12%; left: -10%; animation-delay: -0.5s; }
.pai-scope .float-card-tr{ top: -8%; right: -8%; animation-delay: -3.5s; }
.pai-scope .float-card-br{ bottom: 18%; right: -8%; animation-delay: -2s; }
.pai-scope .float-card-bl{ bottom: -5%; left: -6%; animation-delay: -3.5s; }

@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .pai-scope .float-card{ animation: none; }
}
@media (max-width: 1100px) {
  .pai-scope .float-card-tl{ left: 4%; }
  .pai-scope .float-card-tr{ right: 4%; top: -4%; }
  .pai-scope .float-card-br{ right: 4%; }
  .pai-scope .float-card-bl{ left: 4%; bottom: -8%; }
}
@media (max-width: 720px) {
  .pai-scope .float-card{ display: none; }
}

.pai-scope .hero-video{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  border: 1px solid var(--border);
  overflow: hidden;
  background:
    radial-gradient(60% 55% at 30% 30%, rgba(155, 108, 245,0.55), transparent 65%),
    radial-gradient(50% 60% at 80% 25%, rgba(168,85,247,0.40), transparent 65%),
    radial-gradient(70% 60% at 50% 100%, rgba(15,23,42,1), rgba(10,10,15,1) 85%);
  box-shadow:
    0 30px 80px -40px rgba(155, 108, 245,0.55),
    0 18px 50px -28px rgba(0,0,0,0.7);
  isolation: isolate;
}

.pai-scope .hero-video::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 22%, rgba(125,211,252,0.55), transparent 18%),
    radial-gradient(circle at 14% 78%, rgba(192,132,252,0.45), transparent 14%),
    radial-gradient(circle at 86% 76%, rgba(192, 132, 252,0.40), transparent 16%);
  filter: blur(8px);
  z-index: 0;
}

.pai-scope .hero-video .portrait{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.pai-scope .hero-video .portrait-video{
  object-fit: cover;
  background: #000;
}
.pai-scope .hero-video::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(60% 60% at 50% 50%, transparent 55%, rgba(0,0,0,0.55) 100%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}

.pai-scope .video-chrome{
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
  pointer-events: none;
}
.pai-scope .live-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px 0 8px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pai-scope .live-pill .red-dot{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.22);
  animation: live-pulse 1.4s ease-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.22); }
  50%      { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.05); }
}
.pai-scope .lang-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.pai-scope .video-waveform{
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 84px;
  height: 26px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  z-index: 2;
}
.pai-scope .video-waveform span{
  width: 3px;
  background: rgba(255,255,255,0.78);
  border-radius: 2px;
  animation: wave-bar 1.2s ease-in-out infinite;
}
.pai-scope .video-waveform span:nth-child(1){ height: 30%; animation-delay: -0.0s; }
.pai-scope .video-waveform span:nth-child(2){ height: 60%; animation-delay: -0.1s; }
.pai-scope .video-waveform span:nth-child(3){ height: 90%; animation-delay: -0.2s; }
.pai-scope .video-waveform span:nth-child(4){ height: 50%; animation-delay: -0.3s; }
.pai-scope .video-waveform span:nth-child(5){ height: 80%; animation-delay: -0.4s; }
.pai-scope .video-waveform span:nth-child(6){ height: 35%; animation-delay: -0.5s; }
.pai-scope .video-waveform span:nth-child(7){ height: 70%; animation-delay: -0.6s; }
.pai-scope .video-waveform span:nth-child(8){ height: 55%; animation-delay: -0.7s; }
.pai-scope .video-waveform span:nth-child(9){ height: 90%; animation-delay: -0.8s; }
.pai-scope .video-waveform span:nth-child(10){ height: 40%; animation-delay: -0.9s; }
.pai-scope .video-waveform span:nth-child(11){ height: 65%; animation-delay: -1.0s; }
.pai-scope .video-waveform span:nth-child(12){ height: 30%; animation-delay: -1.1s; }
@keyframes wave-bar {
  0%, 100% { transform: scaleY(0.4); opacity: 0.6; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

.pai-scope .subtitle-overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  z-index: 4;
  pointer-events: none;
  min-height: 52px;
}
.pai-scope .subtitle-line{
  position: absolute;
  bottom: 0;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.005em;
  padding: 8px 14px;
  border-radius: 4px;
  text-align: center;
  max-width: 88%;
  opacity: 0;
  transform: translateY(8px);
  box-shadow: 0 6px 16px -8px rgba(0,0,0,0.7);
  animation: subtitle-cycle 16s infinite;
  white-space: nowrap;
}
.pai-scope .subtitle-line .caret{
  display: inline-block;
  width: 1px;
  height: 16px;
  vertical-align: text-bottom;
  background: currentColor;
  margin-left: 3px;
  animation: caret-blink 0.9s steps(1) infinite;
}
@keyframes caret-blink {
  50% { opacity: 0; }
}
.pai-scope .subtitle-line:nth-child(1){ animation-delay: 0s; }
.pai-scope .subtitle-line:nth-child(2){ animation-delay: 4s; }
.pai-scope .subtitle-line:nth-child(3){ animation-delay: 8s; }
.pai-scope .subtitle-line:nth-child(4){ animation-delay: 12s; }
@keyframes subtitle-cycle {
  0%             { opacity: 0; transform: translateY(8px); }
  3%, 23%        { opacity: 1; transform: translateY(0); }
  26%, 100%      { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .pai-scope .subtitle-line, .pai-scope .video-waveform span, .pai-scope .live-pill .red-dot{ animation: none; }
  .pai-scope .subtitle-line:nth-child(1){ opacity: 1; transform: translateY(0); }
  .pai-scope .subtitle-line:nth-child(2), .pai-scope .subtitle-line:nth-child(3), .pai-scope .subtitle-line:nth-child(4){ display: none; }
}

@media (max-width: 980px) {
  .pai-scope .hero-inner{ grid-template-columns: 1fr; gap: 40px; }
  .pai-scope .hero-copy{ max-width: none; }
  .pai-scope .hero h1{ font-size: 40px; letter-spacing: -0.8px; max-width: 18ch; }
  .pai-scope .hero-sub{ font-size: 16.5px; }
  .pai-scope .hero-video{ max-width: 520px; margin: 0 auto; aspect-ratio: 16 / 11; }
  .pai-scope .subtitle-line{ font-size: 13px; }
}

.pai-scope .upload-band{
  padding: 8px 0 112px;
  position: relative;
  z-index: 2;
}
.pai-scope .upload-heading{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin: 0 auto 20px;
  text-align: center;
}
.pai-scope .upload-heading svg{
  width: 18px;
  height: 18px;
  opacity: 0.55;
  animation: nudge-down 1.8s ease-in-out infinite;
}
@keyframes nudge-down {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .pai-scope .upload-heading svg{ animation: none; }
}
.pai-scope .upload-card{
  position: relative;
  margin: 0 auto;
  background: rgba(24, 24, 27, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 30px 80px -40px rgba(155, 108, 245, 0.20),
    0 18px 50px -28px rgba(0, 0, 0, 0.45);
}
.pai-scope :root[data-theme="light"] .upload-card{
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(24, 24, 27, 0.08);
}
.pai-scope .upload-zone{
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 32px 56px;
  border: 1px dashed var(--border);
  border-radius: 22px;
  background: var(--bg-deep);
  text-align: center;
}
.pai-scope .upload-icon{
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pai-scope .upload-icon svg{ width: 64px; height: 64px; display: block; }
.pai-scope .upload-prompt{
  font-size: 17px;
  font-weight: 500;
  color: var(--text-heading);
  margin: 0;
  letter-spacing: -0.1px;
}
.pai-scope .upload-hint{
  font-size: 12.5px;
  color: var(--text-quaternary);
  margin: 0;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.pai-scope .upload-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.pai-scope .upload-meta{
  font-size: 13px;
  color: var(--text-quaternary);
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
}
.pai-scope .upload-meta .dot{ color: var(--text-muted); padding: 0 8px; }
.pai-scope .upload-tools{
  display: flex;
  align-items: center;
  gap: 8px;
}
.pai-scope .upload-tool-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.pai-scope .upload-tool-btn:not(.with-label){ width: 38px; padding: 0; justify-content: center; }
.pai-scope .upload-tool-btn:hover{
  background: var(--bg-hover);
  color: var(--text-heading);
  border-color: var(--border-strong);
}
.pai-scope .upload-tool-btn svg{ width: 16px; height: 16px; }

@media (max-width: 720px) {
  .pai-scope .upload-card{ padding: 20px; }
  .pai-scope .upload-zone{ min-height: 220px; padding: 36px 16px 40px; }
  .pai-scope .upload-footer{ flex-direction: column; align-items: stretch; }
  .pai-scope .upload-footer .btn-mkt{ justify-content: center; }
}

.pai-scope .why-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pai-scope .why-card{
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px 28px;
  overflow: hidden;
  transition: border-color 0.12s ease, transform 0.12s ease;
}
.pai-scope .why-card:hover{
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.pai-scope .why-card .icon-tile{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-subtle);
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pai-scope .why-card .icon-tile svg{ width: 26px; height: 26px; }
.pai-scope .why-card h3{
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 8px;
  letter-spacing: -0.3px;
}
.pai-scope .why-card p{
  font-size: 14.5px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.55;
}

@media (max-width: 880px) { .pai-scope .why-grid{ grid-template-columns: 1fr; } }

.pai-scope .aud-grid{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
.pai-scope .aud-cell{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 14px 18px;
  background: rgba(20, 20, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  animation: aud-cell-in 700ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  animation-delay: var(--d, 0s);
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1),
              border-color 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}
.pai-scope :root[data-theme="light"] .aud-cell{
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(24, 24, 27, 0.06);
}
.pai-scope .aud-cell:hover{
  transform: translateY(-3px);
  border-color: rgba(155, 108, 245, 0.30);
  background: rgba(155, 108, 245, 0.04);
}
@keyframes aud-cell-in {
  to { opacity: 1; transform: translateY(0); }
}
.pai-scope .aud-ic{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 30% 25%, rgba(192, 132, 252, 0.22), rgba(155, 108, 245, 0.12)),
    rgba(20, 20, 24, 0.6);
  border: 1px solid rgba(155, 108, 245, 0.20);
  color: var(--primary-light, #c084fc);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 14px -8px rgba(155, 108, 245, 0.45);
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .aud-ic svg{
  width: 22px;
  height: 22px;
  display: block;
}
.pai-scope .aud-cell:hover .aud-ic{
  transform: scale(1.08) translateY(-1px);
}
.pai-scope .aud-label{
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
  line-height: 1.3;
}

@media (max-width: 1100px) { .pai-scope .aud-grid{ grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 780px)  { .pai-scope .aud-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px)  { .pai-scope .aud-grid{ grid-template-columns: repeat(2, 1fr); gap: 8px; } }

@media (prefers-reduced-motion: reduce) {
  .pai-scope .aud-cell{ opacity: 1 !important; transform: none !important; animation: none !important; }
}

.pai-scope .audience-band{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 16px 0;
  background: transparent;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pai-scope .audience-band::before, .pai-scope .audience-band::after{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 12%;
  z-index: 2;
  pointer-events: none;
}
.pai-scope .audience-band::before{ left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.pai-scope .audience-band::after{ right: 0; background: linear-gradient(270deg, var(--bg-deep), transparent); }
.pai-scope .audience-track{
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll calc(var(--marquee-duration) - 18s) linear infinite;
}
.pai-scope .audience-track.reverse{
  animation-direction: reverse;
  animation-duration: calc(var(--marquee-duration) - 12s);
}
.pai-scope .audience-chip{
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  color: var(--text-heading);
  white-space: nowrap;
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 18px 26px 18px 64px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}
.pai-scope :root[data-theme="light"] .audience-chip{
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(24, 24, 27, 0.08);
}
.pai-scope .audience-chip .a-icon{
  position: absolute;
  left: -10px;
  bottom: -14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light, #c084fc);
  opacity: 0.5;
  filter: drop-shadow(0 4px 10px rgba(155, 108, 245, 0.25));
}
.pai-scope .audience-chip .a-icon svg{ width: 56px; height: 56px; display: block; }
.pai-scope .audience-chip .a-name{ font-weight: 600; letter-spacing: -0.2px; }

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .pai-scope .audience-chip .a-icon{ animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pai-scope .audience-track{ animation: none; }
}

.pai-scope .tabs{
  display: inline-flex;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 4px;
  margin: 0 auto 40px;
  gap: 2px;
}
.pai-scope .tabs-wrap{ text-align: center; }
.pai-scope .tab-btn{
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-tertiary);
  background: transparent;
  border: 0;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.pai-scope .tab-btn:hover{ color: var(--text-heading); }
.pai-scope .tab-btn.active{
  background: var(--bg-elevated);
  color: var(--text-heading);
}

.pai-scope .tab-panel{ display: none; }
.pai-scope .tab-panel.active{ display: block; animation: fade-in 0.25s ease; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pai-scope .feature-row{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pai-scope .feature-row.four-up{ grid-template-columns: repeat(4, 1fr); }

.pai-scope .feature-card{
  position: relative;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.12s ease;
}
.pai-scope .feature-card:hover{ border-color: var(--border-strong); }
.pai-scope .feature-card .feature-visual{
  height: 200px;
  background:
    radial-gradient(80% 80% at 50% 0%, var(--primary-subtle), transparent 70%),
    var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-row);
  position: relative;
}
.pai-scope .feature-card .feature-visual svg{ width: 86%; height: 78%; }
.pai-scope .feature-card .feature-body{
  padding: 22px 24px 26px;
}
.pai-scope .feature-card h3{
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0 0 6px;
  letter-spacing: -0.2px;
}
.pai-scope .feature-card p{
  font-size: 14px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.55;
}
.pai-scope .feature-card .corner-badge{
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
}

@media (max-width: 880px) {
  .pai-scope .feature-row, .pai-scope .feature-row.four-up{ grid-template-columns: 1fr; }
}

.pai-scope .bento{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: minmax(220px, auto) minmax(220px, auto);
  gap: 16px;
  margin-bottom: 96px;
}
.pai-scope .bento-card{
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.15s ease;
}
.pai-scope .bento-card:hover{
  transform: translateY(-2px);
}
.pai-scope .bento-a{ grid-column: span 2; grid-row: span 1; }
.pai-scope .bento-b{ grid-column: span 2; grid-row: span 2; }
.pai-scope .bento-c{ grid-column: span 1; grid-row: span 1; }
.pai-scope .bento-d{ grid-column: span 1; grid-row: span 1; }

.pai-scope .bento-visual{
  position: relative;
  flex: 1;
  min-height: 200px;
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(155, 108, 245, 0.10), transparent 70%),
    rgba(20, 20, 24, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  isolation: isolate;
}
.pai-scope :root[data-theme="light"] .bento-visual{
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(155, 108, 245, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.78);
  border-color: rgba(24, 24, 27, 0.06);
}
.pai-scope .bento-visual::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(155, 108, 245, 0.18), transparent 30%);
  opacity: 0.5;
}

.pai-scope .bv-mono{
  font-family: 'Geist Mono', ui-monospace, "JetBrains Mono", monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--text-quaternary);
}
.pai-scope .bv-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  background: rgba(20, 20, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.pai-scope .bv-pill.bv-mono{
  font-family: 'Geist Mono', ui-monospace, monospace;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--text-tertiary);
}
.pai-scope .bv-pill-live{
  color: #fff;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 9.5px;
}
.pai-scope .bv-pill-live i{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.6);
  animation: bv-live-pulse 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes bv-live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.pai-scope .bv-stt{
  padding: 18px 22px 20px;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.pai-scope .bv-stt-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  mask-image: radial-gradient(120% 80% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 50%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.pai-scope .bv-stt > *{ position: relative; z-index: 1; }
.pai-scope .bv-stt-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pai-scope .bv-wave{
  width: 100%;
  height: 80px;
  display: block;
}
.pai-scope .bv-wave .wb{
  transform-box: fill-box;
  transform-origin: center;
  animation: bv-wave-bar 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
  animation-delay: calc(var(--i) * 60ms);
  will-change: transform;
}
@keyframes bv-wave-bar {
  0%, 100% { transform: scaleY(0.55); opacity: 0.65; }
  50%      { transform: scaleY(1.05); opacity: 1; }
}
.pai-scope .bv-playhead{
  animation: bv-playhead 4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes bv-playhead {
  0%   { transform: translateX(-160px); opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(220px); opacity: 0; }
}
.pai-scope .bv-cap{
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 14px;
  background: rgba(10, 10, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.pai-scope .bv-cap-tc{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--primary-light, #c084fc);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.pai-scope .bv-cap-text{
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pai-scope .bv-caret{
  display: inline-block;
  width: 1.5px;
  height: 13px;
  background: currentColor;
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: bv-caret 0.95s steps(1) infinite;
}
@keyframes bv-caret { 50% { opacity: 0; } }

.pai-scope .bv-trans{
  flex-direction: column;
  padding: 22px;
  gap: 14px;
  align-items: stretch;
  justify-content: flex-start;
  position: relative;
}
.pai-scope .bv-trans-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 60% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 50%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.pai-scope .bv-trans > *{ position: relative; z-index: 1; }

.pai-scope .bv-trans-source{
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.pai-scope .bv-trans-source-head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.pai-scope .bv-trans-source-body{
  font-size: 12.5px;
  color: var(--text-heading);
  line-height: 1.45;
}

.pai-scope .bv-flag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 22px;
  padding: 0 7px;
  border-radius: 7px;
  background: rgba(155, 108, 245, 0.18);
  border: 1px solid rgba(155, 108, 245, 0.30);
  color: var(--primary-light, #c084fc);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.pai-scope .bv-flag-src{
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-heading);
}

.pai-scope .bv-trans-wires{
  display: none; /* hidden because targets are stacked — wires would not align cleanly. kept in DOM for accessibility but unused. */
}

.pai-scope .bv-trans-targets{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pai-scope .bv-target{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  animation: bv-target-in 700ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  animation-delay: var(--d);
  transition: border-color 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .bv-target:hover{
  border-color: rgba(155, 108, 245, 0.30);
  background: rgba(155, 108, 245, 0.06);
}
@keyframes bv-target-in {
  to { opacity: 1; transform: translateY(0); }
}
.pai-scope .bv-target-text{
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pai-scope .bv-conf{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  color: var(--success-fg, #4ade80);
  letter-spacing: 0.02em;
}

.pai-scope .bv-broadcast{
  padding: 18px;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.pai-scope .bv-player{
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(8, 8, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.pai-scope .bv-player-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  padding: 0 12px;
  background: rgba(20, 20, 24, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.pai-scope .bv-player-head .bv-mono{ color: var(--primary-light, #c084fc); }
.pai-scope .bv-player-fmt{ color: var(--text-quaternary) !important; }
.pai-scope .bv-stage{
  position: relative;
  flex: 1;
  min-height: 88px;
  background: #000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
}
.pai-scope .bv-safe{
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  pointer-events: none;
}
.pai-scope .bv-rec{
  position: absolute;
  top: 8px;
  left: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
  animation: bv-live-pulse 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
.pai-scope .bv-sub{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 1;
}
.pai-scope .bv-sub-line{
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 8px;
  border-radius: 2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  line-height: 1.35;
}
.pai-scope .bv-timeline{
  display: flex;
  gap: 4px;
  height: 18px;
  padding: 6px 12px;
  background: rgba(20, 20, 24, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  align-items: center;
}
.pai-scope .bv-timeline i{
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.10);
}
.pai-scope .bv-timeline i.active{
  background: var(--primary-light, #c084fc);
  box-shadow: 0 0 8px rgba(192, 132, 252, 0.55);
}
.pai-scope .bv-fmt-row{
  display: flex;
  align-items: center;
  gap: 6px;
}
.pai-scope .bv-fmt-pill{
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
}
.pai-scope .bv-fmt-active{
  background: rgba(155, 108, 245, 0.15);
  border-color: rgba(155, 108, 245, 0.32);
  color: var(--primary-light, #c084fc);
}
.pai-scope .bv-fmt-meta{
  margin-left: auto;
  font-size: 9px !important;
  color: var(--text-quaternary) !important;
}

.pai-scope .bv-codecs{
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: 22px 22px 24px;
}
.pai-scope .bv-codec-group{
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.pai-scope .bv-codec-label{
  font-size: 9.5px !important;
  color: var(--text-quaternary) !important;
}
.pai-scope .bv-codec-row{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pai-scope .bv-codec{
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 7px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.03em;
  transition: border-color 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1),
              color 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .bv-codec:hover{
  border-color: rgba(155, 108, 245, 0.32);
  background: rgba(155, 108, 245, 0.08);
  color: var(--primary-light, #c084fc);
}
.pai-scope .bv-codec-dim{
  opacity: 0.45;
  border-style: dashed;
}

.pai-scope @media (prefers-reduced-motion: reduce){
  .bv-wave .wb,
  .bv-playhead,
  .bv-caret,
  .bv-pill-live i,
  .bv-rec,
  .bv-target { animation: none !important; }
  .bv-target { opacity: 1; transform: none; }
}

.pai-scope .bento-body{ display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.pai-scope .bento-body .badge{ align-self: flex-start; margin-bottom: 4px; }
.pai-scope .bento-body h3{
  font-size: 18px;
  font-weight: 600;
  color: var(--text-heading);
  margin: 0;
  letter-spacing: -0.2px;
}
.pai-scope .bento-body p{
  font-size: 14px;
  color: var(--text-tertiary);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .pai-scope .bento{ grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .pai-scope .bento-a, .pai-scope .bento-b, .pai-scope .bento-c, .pai-scope .bento-d{ grid-column: span 1; grid-row: auto; }
}
@media (max-width: 600px) {
  .pai-scope .bento{ grid-template-columns: 1fr; }
}

.pai-scope .explorer{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}
.pai-scope .explorer-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pai-scope .explorer-item{
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}
.pai-scope .explorer-item:hover{
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}
.pai-scope .explorer-item.active{
  background: rgba(155, 108, 245, 0.10);
  border-color: rgba(155, 108, 245, 0.35);
}
.pai-scope .explorer-item.active::before{
  content: "";
  position: absolute;
  left: -1px; top: 12px; bottom: 12px;
  width: 3px;
  background: var(--primary);
  border-radius: 0 2px 2px 0;
}
.pai-scope .explorer-item .ex-icon{
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.12s ease, color 0.12s ease;
}
.pai-scope .explorer-item .ex-icon svg{ width: 18px; height: 18px; }
.pai-scope .explorer-item.active .ex-icon{
  background: var(--primary);
  color: #fff;
}
.pai-scope .explorer-item .ex-text{
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}
.pai-scope .explorer-item .ex-title{
  font-size: 15px;
  font-weight: 600;
  color: var(--text-heading);
  letter-spacing: -0.1px;
}
.pai-scope .explorer-item .ex-sub{
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.pai-scope .explorer-preview{
  position: relative;
  background: rgba(24, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.pai-scope :root[data-theme="light"] .explorer-preview{
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(24, 24, 27, 0.08);
}
.pai-scope .explorer-preview .preview{
  position: absolute;
  inset: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(8px) scale(0.99);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.pai-scope .explorer-preview .preview.active{
  opacity: 1;
  transform: translateY(0) scale(1);
}
.pai-scope .explorer-preview .preview svg{
  width: 100%;
  height: 100%;
  max-height: 380px;
}

.pai-scope .pv-shell{
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(155, 108, 245, 0.06), transparent 35%),
    rgba(10, 10, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.pai-scope :root[data-theme="light"] .pv-shell{
  background:
    linear-gradient(180deg, rgba(155, 108, 245, 0.05), transparent 35%),
    rgba(255, 255, 255, 0.75);
  border-color: rgba(24, 24, 27, 0.06);
}
.pai-scope .pv-shell--dark{
  background: #000;
  padding: 14px;
}
.pai-scope .pv-shell::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
  pointer-events: none;
  opacity: 0.6;
}
.pai-scope .pv-shell > *{ position: relative; z-index: 1; }

.pai-scope .pv-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pai-scope .pv-eyebrow{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-quaternary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.pai-scope .pv-eyebrow--inset{ color: var(--text-tertiary); }
.pai-scope .pv-tc{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
}
.pai-scope .pv-tc--ok{ color: var(--success-fg, #4ade80); }
.pai-scope .pv-tc--white{ color: rgba(255, 255, 255, 0.85); }
.pai-scope .pv-tc--mono{ font-family: 'Geist Mono', ui-monospace, monospace; }

.pai-scope .pv-noise-grid{
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 170px;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}
.pai-scope .pv-wave-row{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  min-height: 0;
}
.pai-scope .pv-wave-label{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-quaternary);
  letter-spacing: 0.16em;
  flex-shrink: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.pai-scope .pv-wave-label--clean{ color: var(--primary-light, #c084fc); }
.pai-scope .pv-wave-svg{
  flex: 1;
  height: 60px;
  width: 100%;
  display: block;
  overflow: visible;
}
.pai-scope .pv-wave-svg--noisy{ opacity: 0.7; }
.pai-scope .pv-wave-row--after .pv-wave-svg g rect{
  transform-box: fill-box;
  transform-origin: center;
  animation: bv-wave-bar 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.pai-scope .pv-noise-panel{
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(20, 20, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}
.pai-scope .pv-noise-head{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-quaternary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 2px;
}
.pai-scope .pv-toggle{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  padding: 4px 0;
}
.pai-scope .pv-switch{
  position: relative;
  display: inline-block;
  width: 26px;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  transition: background 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .pv-switch b{
  position: absolute;
  top: 1px;
  left: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6b6b75;
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1), background 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .pv-switch--on{
  background: rgba(155, 108, 245, 0.35);
  border-color: rgba(155, 108, 245, 0.45);
}
.pai-scope .pv-switch--on b{ transform: translateX(12px); background: var(--primary-light, #c084fc); }
.pai-scope .pv-apply{
  margin-top: auto;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1), background 380ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 6px 16px -8px rgba(155, 108, 245, 0.6);
}
.pai-scope .pv-apply:hover{ background: var(--primary-hover, var(--primary)); }
.pai-scope .pv-apply:active{ transform: scale(0.98); }

.pai-scope .pv-radar{
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}
.pai-scope .pv-radar-svg{
  width: 100%;
  height: 100%;
  max-height: 240px;
}
.pai-scope .pv-radar-beam-g{
  transform-origin: 180px 110px;
  animation: pv-radar-spin 6s linear infinite;
}
@keyframes pv-radar-spin { to { transform: rotate(360deg); } }
.pai-scope .pv-lang-wrap{
  position: absolute;
  transform: translate(-50%, -50%);
}
.pai-scope .pv-lang{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px 0 5px;
  border-radius: 8px;
  background: rgba(20, 20, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: var(--text-tertiary);
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  animation: pv-lang-float var(--dur, 5s) cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-delay: calc(var(--i, 0) * -0.6s);
  will-change: transform;
}
@keyframes pv-lang-float {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(var(--dx, 0px), var(--dy, -3px)); }
}
.pai-scope .pv-lang--active{
  background: rgba(155, 108, 245, 0.22);
  border-color: rgba(155, 108, 245, 0.55);
  color: var(--primary-light, #c084fc);
  box-shadow:
    0 0 0 4px rgba(155, 108, 245, 0.10),
    0 6px 16px -8px rgba(155, 108, 245, 0.55);
}

.pai-scope .explorer-preview .preview svg.pv-flag, .pai-scope svg.pv-flag{
  display: block;
  width: 16px !important;
  height: 16px !important;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 0.5px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.45);
}

.pai-scope .pv-radar-core{
  transform-origin: 180px 110px;
  transform-box: view-box;
  animation: pv-core-pulse 2.4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes pv-core-pulse {
  0%, 100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.78; }
}
.pai-scope .pv-lang-meter{
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pai-scope .pv-meter-row{
  display: grid;
  grid-template-columns: 28px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-secondary);
}
.pai-scope .pv-meter-row--dim{ opacity: 0.55; }
.pai-scope .pv-meter-code{ font-weight: 700; }
.pai-scope .pv-meter-bar{
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.pai-scope .pv-meter-bar i{
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(155, 108, 245, 0.4), var(--primary-light, #c084fc));
  border-radius: 2px;
}
.pai-scope .pv-meter-val{ text-align: right; color: var(--text-tertiary); }

.pai-scope .pv-jobs{
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}
.pai-scope .pv-job{
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-size: 11px;
  position: relative;
}
.pai-scope .pv-job--active{
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.20);
}
.pai-scope .pv-job--queued{
  background: rgba(251, 191, 36, 0.04);
  border-color: rgba(251, 191, 36, 0.15);
}
.pai-scope .pv-job--live{
  background: rgba(125, 211, 252, 0.05);
  border-color: rgba(125, 211, 252, 0.20);
}
.pai-scope .pv-job-id{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
}
.pai-scope .pv-job-body{ min-width: 0; }
.pai-scope .pv-job-title{
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pai-scope .pv-job-meta{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  color: var(--text-quaternary);
  letter-spacing: 0.03em;
  margin-top: 2px;
}
.pai-scope .pv-job-progress{
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 1px;
  overflow: hidden;
}
.pai-scope .pv-job-progress i{
  display: block; height: 100%;
  background: var(--success-fg, #4ade80);
  border-radius: 1px;
  position: relative;
}
.pai-scope .pv-job-progress i::after{
  content: "";
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: pv-shimmer 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes pv-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.pai-scope .pv-job-state{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-quaternary);
  letter-spacing: 0.08em;
}
.pai-scope .pv-job-state--ok{ color: var(--success-fg, #4ade80); }
.pai-scope .pv-job-state--warn{ color: #fbbf24; }
.pai-scope .pv-job-state--live{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #7dd3fc;
}
.pai-scope .pv-job-state--live i{
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #7dd3fc;
  animation: pv-blink 1.4s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
@keyframes pv-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.pai-scope .pv-deploy{
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 14px;
}
.pai-scope .pv-deploy-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  min-height: 0;
  height: 100%;
}
.pai-scope .pv-deploy-card--accent{
  background: linear-gradient(180deg, rgba(155, 108, 245, 0.08), rgba(155, 108, 245, 0.02));
  border-color: rgba(155, 108, 245, 0.30);
}
.pai-scope .pv-deploy-head{ display: flex; align-items: center; justify-content: space-between; }
.pai-scope .pv-deploy-tag{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.12em;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.pai-scope .pv-deploy-tag--accent{
  background: rgba(155, 108, 245, 0.18);
  color: var(--primary-light, #c084fc);
}
.pai-scope .pv-deploy-sub{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  color: var(--text-quaternary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pai-scope .pv-deploy-stack{ display: flex; flex-direction: column; gap: 4px; }
.pai-scope .pv-stack-row{
  display: grid;
  grid-template-columns: 6px 1fr auto;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: var(--text-secondary);
  padding: 5px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}
.pai-scope .pv-stack-row:last-child{ border-bottom: 0; }
.pai-scope .pv-stack-row i{
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light, #c084fc);
  opacity: 0.6;
}
.pai-scope .pv-stack-row b{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
}
.pai-scope .pv-deploy-foot{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
  text-align: center;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: auto;
}
.pai-scope .pv-deploy-bridge{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: center;
}
.pai-scope .pv-bridge-line{
  flex: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  min-height: 20px;
}
.pai-scope .pv-bridge-or{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-quaternary);
  letter-spacing: 0.12em;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pai-scope .pv-fmt{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pai-scope .pv-fmt-row{
  display: grid;
  grid-template-columns: 1fr 100px 64px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pai-scope .pv-fmt-row:last-child{ border-bottom: 0; }
.pai-scope .pv-fmt-key{
  font-size: 11.5px;
  color: var(--text-secondary);
}
.pai-scope .pv-fmt-bar{
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.pai-scope .pv-fmt-bar i{
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(155, 108, 245, 0.4), var(--primary-light, #c084fc));
  border-radius: 2px;
}
.pai-scope .pv-fmt-val{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-heading);
  text-align: right;
  letter-spacing: 0.02em;
}
.pai-scope .pv-fmt-val em{
  font-style: normal;
  font-weight: 400;
  font-size: 9.5px;
  color: var(--text-quaternary);
  margin-left: 3px;
}
.pai-scope .pv-fmt-preview{
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.pai-scope .pv-fmt-tc{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--primary-light, #c084fc);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.pai-scope .pv-fmt-cue{ flex: 1; display: flex; flex-direction: column; gap: 1px; }
.pai-scope .pv-fmt-line{
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px 8px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.pai-scope .pv-meta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pai-scope .pv-meta-cell{
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  position: relative;
}
.pai-scope .pv-meta-key{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  color: var(--text-quaternary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.pai-scope .pv-meta-val{
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
}
.pai-scope .pv-meta-val--ok{ color: var(--success-fg, #4ade80); }
.pai-scope .pv-meta-tag{
  position: absolute;
  top: 10px; right: 10px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 8.5px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}
.pai-scope .pv-meta-tag--ok{ color: var(--success-fg, #4ade80); background: rgba(74, 222, 128, 0.08); }
.pai-scope .pv-moments{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.pai-scope .pv-moments ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pai-scope .pv-moments li{
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  font-size: 11px;
  color: var(--text-secondary);
}
.pai-scope .pv-mom-tc{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--primary-light, #c084fc);
  letter-spacing: 0.04em;
}
.pai-scope .pv-mom-conf{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10px;
  color: var(--text-tertiary);
}

.pai-scope .pv-live-frame{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.pai-scope .pv-live-meta{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.pai-scope .pv-live-channel{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}
.pai-scope .pv-live-pill{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 20px;
  padding: 0 9px;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.40);
  border-radius: 999px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.pai-scope .pv-live-pill i{
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #ef4444;
  animation: bv-live-pulse 1.6s cubic-bezier(0.32, 0.72, 0, 1) infinite;
}
.pai-scope .pv-live-stage{
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(70% 50% at 50% 40%, rgba(155, 108, 245, 0.10), transparent 70%),
    #050505;
  overflow: hidden;
}

.pai-scope .pv-live-grid{
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  mask-image: radial-gradient(90% 70% at 50% 50%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(90% 70% at 50% 50%, #000 30%, transparent 100%);
  pointer-events: none;
}

.pai-scope .pv-live-axis{
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10) 20%, rgba(255, 255, 255, 0.10) 80%, transparent);
  transform: translateY(-0.5px);
}

.pai-scope .pv-live-vu{
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  grid-template-columns: auto 36px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 4px 8px;
  z-index: 2;
}
.pai-scope .pv-live-vu-label{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 8.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}
.pai-scope .pv-live-vu-track{
  position: relative;
  width: 36px;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.pai-scope .pv-live-vu-track i{
  display: block;
  height: 100%;
  width: var(--w, 0%);
  background: linear-gradient(90deg, rgba(74, 222, 128, 0.8) 0%, rgba(251, 191, 36, 0.8) 75%, rgba(239, 68, 68, 0.9) 100%);
  border-radius: 2px;
}

.pai-scope .explorer-preview .preview svg.pv-live-wave{
  display: block;
  position: absolute;
  left: 10%;
  right: 10%;
  width: 80% !important;
  max-width: 80%;
  height: 30px !important;
  max-height: 30px;
  pointer-events: none;
}
.pai-scope .explorer-preview .preview svg.pv-live-wave--top{
  bottom: calc(50% + 4px);
}
.pai-scope .explorer-preview .preview svg.pv-live-wave--bottom{
  top: calc(50% + 4px);
}
.pai-scope .pv-live-wave .wb{
  transform-box: fill-box;
  transform-origin: center;
  animation: pv-live-bar 1.8s cubic-bezier(0.32, 0.72, 0, 1) infinite;
  animation-delay: calc(var(--i) * 25ms);
  will-change: transform;
}
.pai-scope .pv-live-wave--bottom .wb{
  transform-origin: top;
}
.pai-scope .pv-live-wave--top .wb{
  transform-origin: bottom;
}
@keyframes pv-live-bar {
  0%, 100% { transform: scaleY(0.45); }
  50%      { transform: scaleY(1); }
}

.pai-scope .pv-live-caption{
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  padding: 5px 11px;
  border-radius: 2px;
  max-width: 82%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(2px);
}
.pai-scope .pv-live-caption span{
  font-size: 11.5px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
  letter-spacing: -0.005em;
}
.pai-scope .pv-live-foot{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 10px;
}
.pai-scope .pv-live-foot .pv-tc--mono{
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.06em;
}

.pai-scope .pv-timeline2{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.pai-scope .pv-timeline2-track{
  display: flex;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
}
.pai-scope .pv-seg{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pai-scope .pv-seg--content{ background: rgba(125, 211, 252, 0.18); border-right: 1px solid rgba(0, 0, 0, 0.3); }
.pai-scope .pv-seg--content:last-child{ border-right: 0; }
.pai-scope .pv-seg--pause{
  background: rgba(251, 191, 36, 0.22);
  border: 1px solid rgba(251, 191, 36, 0.55);
  position: relative;
}
.pai-scope .pv-seg--pause b{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.pai-scope .pv-timeline2-ticks{
  display: flex;
  justify-content: space-between;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9px;
  color: var(--text-quaternary);
  letter-spacing: 0.04em;
}
.pai-scope .pv-candidates{
  flex: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pai-scope .pv-candidates li{
  display: grid;
  grid-template-columns: 60px 1fr 110px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.pai-scope .pv-cand-tc{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-light, #c084fc);
  letter-spacing: 0.02em;
}
.pai-scope .pv-cand-title{
  font-size: 12px;
  font-weight: 600;
  color: var(--text-heading);
}
.pai-scope .pv-cand-meta{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 9.5px;
  color: var(--text-quaternary);
  letter-spacing: 0.03em;
  margin-top: 2px;
}
.pai-scope .pv-cand-score{ display: flex; align-items: center; gap: 8px; }
.pai-scope .pv-cand-bar{
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.pai-scope .pv-cand-bar i{
  display: block;
  height: 100%;
  background: linear-gradient(90deg, rgba(155, 108, 245, 0.4), var(--primary-light, #c084fc));
  border-radius: 2px;
}
.pai-scope .pv-cand-val{
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pai-scope @media (prefers-reduced-motion: reduce){
  .pv-radar-beam-g,
  .pv-job-progress i::after,
  .pv-live-wave .wb,
  .pv-live-pill i,
  .pv-wave-row--after .pv-wave-svg g rect,
  .pv-job-state--live i,
  .pv-lang,
  .pv-radar-core { animation: none !important; }
}

@media (max-width: 880px) {
  .pai-scope .explorer{ grid-template-columns: 1fr; }
  .pai-scope .explorer-preview{ position: static; min-height: 280px; }
  .pai-scope .pv-noise-grid{ grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .pai-scope .pv-noise-panel{ grid-row: auto; }
  .pai-scope .pv-deploy{ grid-template-columns: 1fr; }
  .pai-scope .pv-deploy-bridge{ flex-direction: row; }
  .pai-scope .pv-bridge-line{ width: 100%; height: 1px; min-height: 0; }
}

.pai-scope .ps-access{
  position: relative;
}
.pai-scope .ps-access::before{
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background:
    radial-gradient(60% 60% at 50% 30%, rgba(155, 108, 245, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pai-scope .ps-access .landing-container{ position: relative; z-index: 1; }

.pai-scope .ps-access-shell{
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 50px 100px -40px rgba(0, 0, 0, 0.55),
    0 30px 60px -30px rgba(155, 108, 245, 0.30);
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 900ms cubic-bezier(0.32, 0.72, 0, 1),
              transform 900ms cubic-bezier(0.32, 0.72, 0, 1),
              filter 900ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .ps-access-shell.is-revealed{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.pai-scope .ps-access-shell::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(155, 108, 245, 0.45), rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.0));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.pai-scope :root[data-theme="light"] .ps-access-shell{
  background: linear-gradient(180deg, rgba(24, 24, 27, 0.05), rgba(24, 24, 27, 0.02));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 40px 90px -40px rgba(0, 0, 0, 0.18),
    0 24px 50px -30px rgba(155, 108, 245, 0.25);
}

.pai-scope .ps-access-core{
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 72px);
  border-radius: calc(40px - 8px);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(155, 108, 245, 0.12), transparent 60%),
    rgba(14, 14, 16, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
  overflow: hidden;
}
.pai-scope :root[data-theme="light"] .ps-access-core{
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(155, 108, 245, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.pai-scope .ps-access-core::after{
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(155, 108, 245, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pai-scope .ps-access-core > *{ position: relative; z-index: 1; }

.pai-scope .ps-access-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(155, 108, 245, 0.14);
  border: 1px solid rgba(155, 108, 245, 0.32);
  color: var(--primary-light);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Geist Mono', ui-monospace, monospace;
}

.pai-scope .ps-access-title{
  margin: 22px auto 16px;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--text-heading);
  max-width: 18ch;
}

.pai-scope .ps-access-sub{
  margin: 0 auto 36px;
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--text-tertiary);
  line-height: 1.55;
  max-width: 56ch;
}

.pai-scope .ps-access-form{
  max-width: 560px;
  margin: 0 auto 28px;
}
.pai-scope .ps-access-input-wrap{
  position: relative;
  display: flex;
  align-items: center;
  height: 64px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  transition: border-color 380ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope :root[data-theme="light"] .ps-access-input-wrap{
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(24, 24, 27, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.pai-scope .ps-access-input-wrap:focus-within{
  border-color: rgba(155, 108, 245, 0.55);
  box-shadow: 0 0 0 6px var(--primary-ring);
  background: rgba(255, 255, 255, 0.06);
}
.pai-scope .ps-access-input-wrap input[type="email"]{
  flex: 1;
  height: 100%;
  padding: 0 8px 0 22px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  min-width: 0;
}
.pai-scope .ps-access-input-wrap input[type="email"]::placeholder{
  color: var(--text-quaternary);
  font-weight: 400;
}
.pai-scope .ps-access-submit{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 0 8px 0 22px;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1),
              background 380ms cubic-bezier(0.32, 0.72, 0, 1),
              box-shadow 380ms cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 10px 30px -10px rgba(155, 108, 245, 0.55);
}
.pai-scope .ps-access-submit:hover{ background: var(--primary-hover); }
.pai-scope .ps-access-submit:active{ transform: scale(0.98); }
.pai-scope .ps-access-submit-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .ps-access-submit-icon svg{ width: 14px; height: 14px; }
.pai-scope .ps-access-submit:hover .ps-access-submit-icon{
  transform: translate(2px, -2px) scale(1.04);
}
.pai-scope .ps-access-success{
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--success-fg, var(--primary-light));
  font-weight: 500;
}

.pai-scope .ps-access-points{
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-quaternary);
}
.pai-scope .ps-access-points li{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pai-scope .ps-access-points li svg{
  width: 12px;
  height: 12px;
  color: var(--primary-light);
}

@media (max-width: 620px) {
  .pai-scope .ps-access-core{ padding: 40px 24px; }
  .pai-scope .ps-access-input-wrap{
    height: auto;
    flex-direction: column;
    gap: 8px;
    border-radius: 22px;
    padding: 10px;
  }
  .pai-scope .ps-access-input-wrap input[type="email"]{
    width: 100%;
    height: 52px;
    padding: 0 16px;
  }
  .pai-scope .ps-access-submit{
    width: 100%;
    height: 52px;
    justify-content: center;
    padding: 0 18px;
  }
}

.pai-scope .reserve{
  text-align: center;
}
.pai-scope .reserve-card{
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 32px 36px;
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
}
.pai-scope .reserve-card::before{
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}
.pai-scope .reserve-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--queue-fg);
  margin-bottom: 16px;
}
.pai-scope .reserve-card h2{
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-heading);
  margin: 0 0 12px;
  line-height: 1.15;
}
.pai-scope .reserve-card .reserve-sub{
  font-size: 15px;
  color: var(--text-tertiary);
  margin: 0 auto 28px;
  max-width: 50ch;
  line-height: 1.55;
}
.pai-scope .reserve-form{
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 18px;
}
.pai-scope .reserve-form input[type="email"]{
  flex: 1;
  height: 52px;
  padding: 0 16px;
  background: var(--bg-deep);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.pai-scope .reserve-form input[type="email"]::placeholder{ color: var(--text-quaternary); }
.pai-scope .reserve-form input[type="email"]:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-ring);
}
.pai-scope .reserve-form button{
  height: 52px;
  padding: 0 24px;
  background: var(--primary);
  color: var(--text-on-primary);
  border: 0;
  border-radius: var(--radius-full);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.12s ease;
  white-space: nowrap;
}
.pai-scope .reserve-form button:hover{ background: var(--primary-hover); }
.pai-scope .reserve-form.success{
  justify-content: center;
  color: var(--success-fg);
  font-size: 14.5px;
  align-items: center;
}

.pai-scope .reserve-points{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--text-quaternary);
}
.pai-scope .reserve-points span{ display: inline-flex; align-items: center; gap: 6px; }
.pai-scope .reserve-points svg{ width: 13px; height: 13px; color: var(--success-fg); }

@media (max-width: 620px) {
  .pai-scope .reserve-form{ flex-direction: column; }
  .pai-scope .reserve-card h2{ font-size: 26px; }
}

.pai-scope .faq{
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pai-scope .faq-item{
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color 0.12s ease;
}
.pai-scope .faq-item:hover{ border-color: var(--border-strong); }
.pai-scope .faq-q{
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--text-heading);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  padding: 20px 56px 20px 24px;
  position: relative;
  cursor: pointer;
  line-height: 1.4;
}
.pai-scope .faq-q::after{
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 14px no-repeat;
  color: var(--text-tertiary);
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.18s ease;
}
.pai-scope .faq-item.open .faq-q::after{
  transform: translateY(-50%) rotate(45deg);
}
.pai-scope .faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.pai-scope .faq-item.open .faq-a{ max-height: 320px; }
.pai-scope .faq-a-inner{
  padding: 0 24px 22px;
  color: var(--text-tertiary);
  font-size: 14.5px;
  line-height: 1.6;
}

.pai-scope .stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: transparent;
  border: 0;
}
.pai-scope .stat-cell{
  position: relative;
  padding: 36px 28px;
  text-align: left;
  border: 0;
  border-radius: 22px;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(155, 108, 245,0.10), transparent 55%),
    rgba(24, 24, 27, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.15s ease;
}
.pai-scope :root[data-theme="light"] .stat-cell{
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(155, 108, 245,0.08), transparent 55%),
    rgba(255, 255, 255, 0.55);
}
.pai-scope .stat-cell::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,0.14), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.pai-scope .stat-cell:hover{ transform: translateY(-3px); }
.pai-scope .stat-num{
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.5px;
  display: block;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(180deg, var(--text-heading) 30%, rgba(250,250,250,0.55));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pai-scope .stat-num .unit{
  background: linear-gradient(180deg, var(--primary-light), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pai-scope .stat-label{
  font-size: 13.5px;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (max-width: 880px) {
  .pai-scope .stats{ grid-template-columns: 1fr 1fr; }
  .pai-scope .stat-num{ font-size: 48px; }
}
@media (max-width: 480px) {
  .pai-scope .stats{ grid-template-columns: 1fr 1fr; gap: 12px; }
  .pai-scope .stat-cell{ padding: 24px 20px; }
}

.pai-scope .final-cta{
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 128px 0;
}
.pai-scope .final-cta::before{
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 70% at 50% 100%, var(--glow-blue), transparent 65%),
    radial-gradient(40% 40% at 80% 0%, var(--glow-purple), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.pai-scope .final-cta > .landing-container{ position: relative; z-index: 1; }
.pai-scope .final-cta h2{
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  color: var(--text-heading);
  margin: 0 auto 18px;
  max-width: 18ch;
}
.pai-scope .final-cta p{
  font-size: 17px;
  color: var(--text-tertiary);
  max-width: 56ch;
  margin: 0 auto 32px;
  line-height: 1.55;
}
.pai-scope .final-cta .hero-ctas{ justify-content: center; margin-bottom: 0; }

@media (max-width: 720px) {
  .pai-scope .final-cta{ padding: 80px 0; }
  .pai-scope .final-cta h2{ font-size: 36px; letter-spacing: -0.8px; }
}

.pai-scope .landing-footer{
  padding: 56px 0 40px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border);
}
.pai-scope .footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.pai-scope .footer-col-wide{ grid-column: span 1; }

.pai-scope .footer-marks{ display: flex; flex-wrap: wrap; gap: 8px; }
.pai-scope .fm{
  display: inline-flex !important; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px !important;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-decoration: none;
  transition: background 0.4s cubic-bezier(0.32, 0.72, 0, 1),
              border-color 0.4s cubic-bezier(0.32, 0.72, 0, 1),
              color 0.3s cubic-bezier(0.32, 0.72, 0, 1),
              transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.pai-scope .fm:hover{
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text-heading);
  transform: translateY(-1px);
}
.pai-scope .fm svg{ width: 22px; height: 22px; display: block; flex-shrink: 0; }
.pai-scope .fm-current{
  background: rgba(155, 108, 245, 0.10);
  border-color: rgba(155, 108, 245, 0.30);
  color: var(--primary-light);
}
.pai-scope .fm-current:hover{
  background: rgba(155, 108, 245, 0.16);
  border-color: rgba(155, 108, 245, 0.42);
  color: var(--primary-light);
}
.pai-scope :root[data-theme="light"] .fm{
  background: rgba(24, 24, 27, 0.03);
  border-color: rgba(24, 24, 27, 0.08);
}
.pai-scope :root[data-theme="light"] .fm:hover{
  background: rgba(24, 24, 27, 0.06);
  border-color: rgba(24, 24, 27, 0.14);
}
.pai-scope .footer-brand img{ height: 24px; width: auto; margin-bottom: 14px; }
.pai-scope .footer-brand p{
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-tertiary);
  max-width: 32ch;
  line-height: 1.55;
}
.pai-scope .made-in{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-quaternary);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-base);
}
.pai-scope .made-in .flag{
  display: inline-block;
  width: 14px; height: 10px;
  background: linear-gradient(180deg, #005bbb 0 50%, #ffd500 50% 100%);
  border-radius: 2px;
}
.pai-scope .footer-col-h{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-quaternary);
  margin: 4px 0 14px;
}
.pai-scope .footer-col ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pai-scope .footer-col a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.12s ease;
}
.pai-scope .footer-col a:hover{ color: var(--text-heading); }

.pai-scope .footer-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  font-size: 12.5px;
  color: var(--text-quaternary);
}
.pai-scope .footer-meta .footer-tools{
  display: flex;
  align-items: center;
  gap: 6px;
}
.pai-scope .footer-legal{ display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pai-scope .footer-live-link{
  color: var(--text-quaternary);
  opacity: 0.5;
  text-decoration: none;
  font-size: 12px;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.pai-scope .footer-live-link:hover{ opacity: 0.95; color: var(--text-tertiary); }
.pai-scope .footer-tool{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-tertiary);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.pai-scope .footer-tool:hover{
  background: var(--bg-hover);
  border-color: var(--border-strong);
  color: var(--text-heading);
}
.pai-scope .footer-tool svg{ width: 16px; height: 16px; }
.pai-scope .footer-lang{
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-tertiary);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: not-allowed;
  font-family: inherit;
}
@media (max-width: 880px) {
  .pai-scope .footer-grid{ grid-template-columns: 1fr 1fr; }
  .pai-scope .footer-meta{ flex-direction: column; align-items: flex-start; }
}

.pai-scope .badge-available{ background: var(--success-bg); color: var(--success-fg); }
.pai-scope .badge-in-progress{ background: var(--warning-bg); color: var(--warning-fg); }
.pai-scope .badge-coming{ background: var(--queue-bg);   color: var(--queue-fg); }
.pai-scope .badge-player{ background: var(--bg-elevated); color: var(--text-tertiary); }
.pai-scope .badge .badge-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
  margin-right: 6px;
}

.pai-scope @media (max-width: 980px){
  .hero { padding: 64px 0 0; }
  .hero h1 { font-size: var(--font-size-display-sm); letter-spacing: -1px; max-width: 16ch; }
  .hero-sub { font-size: 17px; }
  .hero-marquee { margin-top: 40px; }
  .shot { width: 280px; height: 188px; }
  .section-h2 { font-size: 28px; letter-spacing: -0.5px; }
  .section-header { margin-bottom: 40px; }
}
@media (max-width: 720px) {
  .pai-scope .landing-section{ padding: var(--section-py-mobile) 0; }
  .pai-scope .landing-container{ padding: 0 20px; }
}
