/* IntraScene — small custom layer that complements Tailwind.
   Keep heavy styling in Tailwind utilities; this file is only for
   global resets and effects that are awkward as utilities. */

/* ---- Self-hosted Inter (latin subset) ----
   Replaces the Google Fonts CDN: removes 2 DNS lookups + a render-blocking
   stylesheet with a 1-day cache, and serves fonts under our own 1-year cache.
   Only the weights the site actually uses (400/500/600/700/800). */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter-800.woff2") format("woff2");
}

:root {
  --brand-purple: #7c3aed;
  --brand-pink: #ec4899;
}

html {
  -webkit-font-smoothing: antialiased;
}

/* Branded scrollbar (WebKit) */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0d0b16;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-purple), var(--brand-pink));
  border-radius: 999px;
}

/* Reusable gradient text helper if you prefer a class over utilities */
.text-gradient {
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Inline Microsoft Bookings section ---- */
.booking-section {
  display: grid;
  grid-template-rows: 0fr;
  scroll-margin-top: 76px;
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(124, 58, 237, 0.2), transparent 70%),
    #0d0b16;
  transition: grid-template-rows 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.booking-section--open {
  grid-template-rows: 1fr;
  border-top: 1px solid rgba(167, 139, 250, 0.25);
}

.booking-section__clip {
  min-height: 0;
  overflow: hidden;
}

.booking-section__inner {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 88px;
}

.booking-section__glow {
  position: absolute;
  top: 100px;
  left: 50%;
  width: 70%;
  height: 380px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.16);
  filter: blur(100px);
  pointer-events: none;
  transform: translateX(-50%);
}

.booking-section__header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto 32px;
  text-align: center;
}

.booking-section__intro {
  max-width: 800px;
  margin: 0 auto;
}

.booking-section__intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.booking-section__intro > p {
  max-width: 672px;
  margin: 16px auto 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.625;
}

.booking-section__intro h2 + p {
  margin-top: 16px;
}

.booking-section__intro a {
  color: #c4b5fd;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(196, 181, 253, 0.45);
  text-underline-offset: 3px;
}

.booking-section__intro a:hover {
  color: #e9d5ff;
  text-decoration-color: currentColor;
}

.booking-section__close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.booking-section__close:hover,
.booking-section__close:focus-visible {
  border-color: rgba(167, 139, 250, 0.8);
  background: rgba(124, 58, 237, 0.2);
  outline: none;
  transform: rotate(4deg);
}

.booking-section__close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.booking-section__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55), 0 0 60px rgba(124, 58, 237, 0.14);
}

.booking-section__frame::before {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  height: 3px;
  background: linear-gradient(90deg, #5b21b6, #7c3aed, #c026d3);
  content: "";
}

.booking-section__body {
  position: relative;
  height: min(820px, 80vh);
  min-height: 680px;
  background: #fff;
}

.booking-section__body iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0;
  transition: opacity 180ms ease;
}

.booking-section--loaded .booking-section__body iframe {
  opacity: 1;
}

.booking-section__loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  color: #5b5568;
  font-size: 14px;
}

.booking-section__loading span {
  width: 34px;
  height: 34px;
  border: 3px solid #e9e5f0;
  border-top-color: var(--brand-purple);
  border-radius: 999px;
  animation: booking-spin 700ms linear infinite;
}

@keyframes booking-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .booking-section {
    scroll-margin-top: 64px;
  }
  .booking-section__inner {
    width: min(100% - 24px, 1180px);
    padding: 48px 0 56px;
  }
  .booking-section__header {
    margin-bottom: 24px;
    padding-top: 54px;
  }
  .booking-section__intro h2 {
    font-size: 30px;
  }
  .booking-section__close {
    width: 42px;
    height: 42px;
  }
  .booking-section__frame {
    border-radius: 16px;
  }
  .booking-section__body {
    height: 780px;
    min-height: 0;
  }
}

/* ---- "How It Works" gradient flowing arrows ---- */
.flow-arrow .chev {
  animation: chev-flow 1.6s ease-in-out infinite;
}
@keyframes chev-flow {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* ---- Cyber/tech faded pattern (replaces traditional grid) ---- */
/* Faint circuit-board traces + nodes — echoes "AI wired into your cameras". */
.cyber-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.8' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M0 24 H34 L46 36 H78'/%3E%3Cpath d='M46 36 V70 L58 82 V120'/%3E%3Cpath d='M120 50 H92 L80 38 V8'/%3E%3Cpath d='M120 96 H86 L74 84'/%3E%3Cpath d='M16 0 V22'/%3E%3Cpath d='M0 92 H22 L34 104 H64'/%3E%3Ccircle cx='88' cy='64' r='10'/%3E%3Ccircle cx='88' cy='64' r='4'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.9'%3E%3Ccircle cx='34' cy='24' r='2.4'/%3E%3Ccircle cx='78' cy='36' r='2.4'/%3E%3Ccircle cx='58' cy='82' r='2.4'/%3E%3Ccircle cx='80' cy='8' r='2.4'/%3E%3Ccircle cx='64' cy='104' r='2.4'/%3E%3Ccircle cx='22' cy='92' r='2.4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 132px 132px;
}

/* ---- Trusted-by logos: uniform white silhouettes on dark ---- */
.logo-mark {
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
.logo-mark:hover {
  opacity: 1;
}

/* ---- Shared soft float ---- */
@keyframes soft-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* ---- Founder portrait: float + text wrap ----
   Floated box includes the stripe peek so wrapping text never underlaps.
   Peek is small (0.55rem) so photo and stripe overlap more. */
.founder-photo {
  float: left;
  position: relative;
  z-index: 1;
  width: 12.55rem;  /* 12rem photo + 0.55rem stripe peek */
  height: 15.55rem; /* 15rem photo + 0.55rem stripe peek */
  margin: 0 2rem 1.25rem 0;
}
.founder-photo__stripe {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 12rem;
  height: 15rem;
  border-radius: 1rem;
  background: linear-gradient(to bottom right, #7c3aed, #c026d3);
}
.founder-photo__frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 12rem;
  height: 15rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  background: #17141f;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}
.founder-card__name {
  white-space: nowrap;
}
.founder-photo__frame picture,
.founder-photo__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.founder-card__clear {
  clear: both;
}
@media (max-width: 639px) {
  .founder-photo {
    float: none;
    display: block;
    margin: 0 auto 1.25rem;
  }
}

/* ---- Hero AI x CCTV animated graphic ---- */
@keyframes hero-dash { to { stroke-dashoffset: -40; } }
.hero-link { stroke-dasharray: 4 7; animation: hero-dash 1.6s linear infinite; }
.hero-bbox { stroke-dasharray: 7 6; animation: hero-dash 1.1s linear infinite; }

.hero-node { animation: hero-node 2.2s ease-in-out infinite; }
@keyframes hero-node { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* Per-camera field-of-view cone — gentle "scanning" breathe (works at any position) */
.hero-fov { animation: hero-fov 3.4s ease-in-out infinite; }
@keyframes hero-fov { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.55; } }

/* Detection sequence — subjects appear one after another (A, B, Weapon,
   Injured, Fire), all hold, then fade out together and repeat. Each subject's
   floor box + its pane readout share one class so they reveal in lockstep. */
.hd1, .hd2, .hd3, .hd4, .hd5 {
  animation-duration: 16s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.hd1 { animation-name: hd1; }
.hd2 { animation-name: hd2; }
.hd3 { animation-name: hd3; }
.hd4 { animation-name: hd4; }
.hd5 { animation-name: hd5; }
@keyframes hd1 { 0%, 3% { opacity: 0; transform: translateY(10px); } 10%, 84% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; } }
@keyframes hd2 { 0%, 16% { opacity: 0; transform: translateY(10px); } 23%, 84% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; } }
@keyframes hd3 { 0%, 29% { opacity: 0; transform: translateY(10px); } 36%, 84% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; } }
@keyframes hd4 { 0%, 42% { opacity: 0; transform: translateY(10px); } 49%, 84% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; } }
@keyframes hd5 { 0%, 55% { opacity: 0; transform: translateY(10px); } 62%, 84% { opacity: 1; transform: translateY(0); } 94%, 100% { opacity: 0; } }

.hero-cone {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: hero-cone 5s ease-in-out infinite alternate;
}
@keyframes hero-cone {
  0% { transform: rotate(-9deg); opacity: 0.3; }
  50% { opacity: 0.5; }
  100% { transform: rotate(9deg); opacity: 0.3; }
}

.hero-radar {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-radar 3s ease-out infinite;
}
@keyframes hero-radar {
  0% { transform: scale(0.25); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero-scanline { animation: hero-scan 4.5s ease-in-out infinite alternate; }
/* Travel matches the cropped floor plan (bottom empty Entrance strip removed) */
@keyframes hero-scan { 0% { transform: translateY(0); } 100% { transform: translateY(280px); } }

.hero-chip { animation: soft-float 5s ease-in-out infinite; }

.hero-fire {
  transform-box: fill-box;
  transform-origin: bottom center;
  animation: hero-fire 1.1s ease-in-out infinite alternate;
}
@keyframes hero-fire {
  0% { transform: scale(1, 0.92); opacity: 0.85; }
  100% { transform: scale(0.94, 1.12); opacity: 1; }
}

.hero-alert { animation: hero-alert 1s ease-in-out infinite; }
@keyframes hero-alert {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* ---- Investor market-trajectory chart ---- */
/* Bars + trend line draw ONCE on load and stay put (no reset). A traveling
   pulse (SVG animateMotion) keeps drawing the eye up the growth curve. */
.inv-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: inv-grow 1.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes inv-grow {
  0% { transform: scaleY(0); opacity: 0.3; }
  100% { transform: scaleY(1); opacity: 1; }
}
.inv-trend {
  stroke-dasharray: 540;
  stroke-dashoffset: 540;
  animation: inv-draw 2.1s ease-out 1.6s both;
}
@keyframes inv-draw {
  to { stroke-dashoffset: 0; }
}

/* ---- Partnership CTA animated visuals ---- */
.cta-icon { animation: soft-float 4.5s ease-in-out infinite; }

.cta-orb { animation: cta-orb 8s ease-in-out infinite; }
@keyframes cta-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -14px) scale(1.1); }
}

.cta-scan { animation: cta-scan 6s ease-in-out infinite; }
@keyframes cta-scan {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(420px); opacity: 0; }
}

/* ---- "CCTV, Re-Imagined" card mini-scenes ----
   Four compact animated illustrations, one per value card. They reuse the
   hero visual grammar (flowing dashed links, pulsing nodes, radar rings,
   scanline sweep, blinking alert) so the section stays on-brand. */
.rc-link { stroke-dasharray: 4 6; animation: hero-dash 1.5s linear infinite; }
.rc-node { animation: hero-node 2.2s ease-in-out infinite; }

/* Card 1/2 alternating "either place" glow (cloud vs on-prem, any camera) */
.rc-alt { animation: rc-alt 4s ease-in-out infinite; }
@keyframes rc-alt { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* Card 3 live scanline sweep (scoped to the ~88px mini view) */
.rc-scan { animation: rc-scan 3.2s ease-in-out infinite alternate; }
@keyframes rc-scan { 0% { transform: translateY(0); } 100% { transform: translateY(54px); } }

/* Card 3 locked-on detection box */
.rc-bbox { stroke-dasharray: 6 5; animation: hero-dash 1.1s linear infinite; }

/* Card 3/4 radar ping (transform-origin center) */
.rc-radar { transform-box: fill-box; transform-origin: center; animation: rc-radar 3s ease-out infinite; }
@keyframes rc-radar { 0% { transform: scale(0.3); opacity: 0.7; } 100% { transform: scale(2.4); opacity: 0; } }

/* Card 3 alert chip blink */
.rc-alert { animation: hero-alert 1s ease-in-out infinite; }

/* Card 2 deployment toggle: knob slides between CLOUD and ON-PREM, and the
   two destinations light up in lockstep, so only ONE is ever active. */
.rc-knob { transform-box: fill-box; animation: rc-knob 4.4s ease-in-out infinite; }
@keyframes rc-knob { 0%, 42% { transform: translateX(0); } 50%, 92% { transform: translateX(58px); } 100% { transform: translateX(0); } }
.rc-side-a { animation: rc-side-a 4.4s ease-in-out infinite; }
.rc-side-b { animation: rc-side-b 4.4s ease-in-out infinite; }
@keyframes rc-side-a { 0%, 42% { opacity: 1; } 50%, 92% { opacity: 0.16; } 100% { opacity: 1; } }
@keyframes rc-side-b { 0%, 42% { opacity: 0.16; } 50%, 92% { opacity: 1; } 100% { opacity: 0.16; } }

/* Card 3 full-height scanline sweeping the whole scene */
.rc-scan-full { animation: rc-scan-full 3.4s ease-in-out infinite alternate; }
@keyframes rc-scan-full { 0% { transform: translateY(0); } 100% { transform: translateY(72px); } }

/* Card 4 attribute chips reveal one-by-one, hold, then repeat */
.rc-chip { transform-box: fill-box; animation: rc-chip 5s ease-in-out infinite; }
@keyframes rc-chip {
  0%, 8% { opacity: 0; transform: translateX(-6px); }
  18%, 82% { opacity: 1; transform: translateX(0); }
  92%, 100% { opacity: 0; }
}

/* ---- VMS feature cards: compact product-UI vignettes ----
   Cloned from the live frontend chrome (Monitoring wall chip, CameraTimeline
   strip, camera-profile dialog, Add-camera AI / Non-AI picker). Kept here so
   the purged Tailwind build does not have to list every vignette class. */
.vms-grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .vms-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 36rem;
  }
}
.vms-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 36rem;
}
@media (min-width: 1024px) {
  .vms-card {
    min-height: 0;
  }
}
.vms-vignette {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  overflow: clip;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #17141f;
  min-height: 15.5rem;
  pointer-events: none;
}

.vms-wall {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 5px;
  padding: 6px;
  min-height: 0;
}
.vms-wall-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0 2px;
  font-size: 0.62rem;
  font-weight: 600;
  color: #a7abc6;
}
.vms-modes {
  display: inline-flex;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(33, 29, 46, 0.7);
  padding: 2px;
}
.vms-modes span {
  border-radius: 0.28rem;
  padding: 2px 7px;
}
.vms-modes .on {
  background: rgba(147, 51, 234, 0.35);
  color: #fff;
}
.vms-wall-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  flex: 1 1 auto;
  min-height: 0;
}
.vms-tile {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  border-radius: 0.4rem;
  background: #0d0b16;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.vms-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.vms-box {
  position: absolute;
  border: 1.5px solid #c026d3;
  box-shadow: 0 0 0 1px rgba(13, 11, 22, 0.45);
  pointer-events: none;
}
.vms-box::after {
  content: attr(data-label);
  position: absolute;
  left: -1px;
  bottom: 100%;
  background: #c026d3;
  color: #fff;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 1px 4px;
  white-space: nowrap;
}
.vms-livebar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 6px 4px;
  background: linear-gradient(180deg, transparent, rgba(13, 11, 22, 0.88) 55%);
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}
.vms-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f0abfc;
  flex-shrink: 0;
  animation: vms-live 1.6s ease-in-out infinite;
}
.vms-live-word {
  letter-spacing: 0.08em;
  font-size: 0.52rem;
  color: #f5d0fe;
}
.vms-livebar .where {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
  color: #e2e8f0;
}
.vms-mode {
  margin-left: auto;
  border-radius: 0.2rem;
  padding: 0 4px;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vms-mode.ai {
  background: rgba(192, 38, 211, 0.22);
  color: #f0abfc;
}
.vms-mode.native {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}
@keyframes vms-live {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

.vms-timeline {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem 0.7rem;
}
.vms-tl-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #a7abc6;
}
.vms-tl-seg {
  display: inline-flex;
  border-radius: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(33, 29, 46, 0.7);
  padding: 2px;
}
.vms-tl-seg span {
  border-radius: 0.3rem;
  padding: 2px 7px;
}
.vms-tl-seg .on {
  background: rgba(147, 51, 234, 0.35);
  color: #fff;
}
.vms-tl-legend {
  margin-left: auto;
  font-weight: 500;
  color: #94a3b8;
}
.vms-strip {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 7.5rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0b16;
}
.vms-film {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1940 / 180; /* 6×16:9 tiles + 4px gutters */
  flex: 0 0 auto;
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
}
.vms-alert {
  position: absolute;
  top: 2px;
  z-index: 2;
  transform: translateX(-50%);
  filter: drop-shadow(0 1px 2px rgba(13, 11, 22, 0.7));
}
.vms-alert svg {
  display: block;
  width: 16px;
  height: 16px;
}
.vms-alert.a1,
.vms-alert-chip.a1 { color: #c026d3; }
.vms-alert.a2,
.vms-alert-chip.a2 { color: #8b5cf6; }
.vms-alert.a3,
.vms-alert-chip.a3 { color: #f0abfc; }
.vms-alert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.vms-alert-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 600;
}
.vms-alert-chip.a1 { background: rgba(192, 38, 211, 0.16); }
.vms-alert-chip.a2 { background: rgba(139, 92, 246, 0.16); }
.vms-alert-chip.a3 { background: rgba(240, 171, 252, 0.14); }
.vms-alert-chip svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}
.vms-strip-grid {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
}
.vms-strip-grid i {
  flex: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.vms-track {
  position: relative;
  flex: 1 1 0;
  min-height: 2.6rem;
}
.vms-motion {
  position: absolute;
  inset: 0.15rem 0 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  pointer-events: none;
}
.vms-motion-fill {
  fill: url(#vmsMotionFill);
}
.vms-motion-line {
  fill: none;
  stroke: #7c3aed;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.vms-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c026d3;
  animation: vms-playhead 7s ease-in-out infinite;
}
@keyframes vms-playhead {
  0%, 8% { left: 18%; }
  50% { left: 62%; }
  92%, 100% { left: 18%; }
}
.vms-hours {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  font-size: 0.52rem;
  font-variant-numeric: tabular-nums;
  color: #a7abc6;
}
.vms-hours span {
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}
.vms-clip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #a7abc6;
}
.vms-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  color: #e879f9;
}

.vms-dialog {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 0;
  margin: 0.55rem;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #211d2e;
  padding: 0.65rem 0.75rem 0.55rem;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55);
}
.vms-cam-list {
  position: relative;
  margin-top: 0.4rem;
  flex: 1 1 0;
  min-height: 0;
  overflow: clip;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  background: rgba(13, 11, 22, 0.35);
  padding: 0.35rem 1.15rem 0 0.5rem;
}
.vms-cam-list::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.4rem;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(13, 11, 22, 0.92));
}
.vms-fake-scroll {
  position: absolute;
  top: 6px;
  right: 4px;
  bottom: 6px;
  width: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}
.vms-fake-scroll i {
  display: block;
  width: 100%;
  height: 34%;
  margin-top: 14%;
  border-radius: 999px;
  background: rgba(232, 121, 249, 0.5);
}
.vms-cam {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vms-cam-list--ai .vms-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 6.4rem;
  align-items: center;
}
.vms-cam-list--ai .vms-cam {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.vms-cam-list--ai .vms-cam::after {
  content: "";
  flex: 1 1 auto;
  min-width: 0.45rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.vms-ai {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex-shrink: 0;
}
.vms-ai > em {
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.vms-row:has(.vms-switch.on) .vms-ai > em {
  color: #f0abfc;
}
.vms-intel {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  width: 6.4rem;
  flex-shrink: 0;
}
.vms-intel-track {
  position: relative;
  flex: 1 1 auto;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}
.vms-intel-track b {
  position: absolute;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #64748b;
  transform: translate(-50%, -50%);
}
.vms-intel-track b:nth-child(1) { left: 8%; }
.vms-intel-track b:nth-child(2) { left: 50%; }
.vms-intel-track b:nth-child(3) { left: 92%; }
.vms-intel-track i {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f0abfc;
  transform: translate(-50%, -50%);
}
.vms-intel.low .vms-intel-track i { left: 8%; }
.vms-intel.med .vms-intel-track i { left: 50%; }
.vms-intel.high .vms-intel-track i { left: 92%; }
.vms-intel.low .vms-intel-track b:nth-child(1),
.vms-intel.med .vms-intel-track b:nth-child(2),
.vms-intel.high .vms-intel-track b:nth-child(3) {
  background: #e879f9;
}
.vms-intel > em {
  font-style: normal;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #94a3b8;
  line-height: 1;
  flex-shrink: 0;
}
.vms-switch {
  position: relative;
  width: 1.7rem;
  height: 0.95rem;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}
.vms-switch i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #cbd5e1;
}
.vms-switch.on {
  background: rgba(192, 38, 211, 0.45);
}
.vms-switch.on i {
  left: auto;
  right: 2px;
  background: #f0abfc;
}
.vms-meta {
  margin-top: 0.4rem;
  font-size: 0.62rem;
  color: #a7abc6;
}
.vms-dialog h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}
.vms-dialog .hint {
  margin-top: 0.2rem;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #a7abc6;
}
.vms-field {
  margin-top: 0.5rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.28rem 0.5rem;
  font-size: 0.7rem;
  color: #f3f2f8;
}
.vms-store {
  margin-top: 0.5rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.vms-cam-list .vms-store:first-child {
  margin-top: 0.1rem;
}
.vms-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.28rem;
  font-size: 0.7rem;
  color: #f3f2f8;
}
.vms-tick {
  width: 0.85rem;
  height: 0.85rem;
  flex-shrink: 0;
  border-radius: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
}
.vms-tick.on {
  background: rgba(124, 58, 237, 0.7);
  animation: vms-tick 4.8s ease-in-out infinite;
}
@keyframes vms-tick {
  0%, 12% { background: transparent; }
  22%, 100% { background: rgba(124, 58, 237, 0.7); }
}

.vms-roles {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.vms-roles span {
  flex: 1;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.35rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: #a7abc6;
}
.vms-roles .ai { animation: vms-role-ai 5.2s ease-in-out infinite; }
.vms-roles .view { animation: vms-role-view 5.2s ease-in-out infinite; }
@keyframes vms-role-ai {
  0%, 42% { border-color: #c026d3; background: rgba(192, 38, 211, 0.12); color: #fff; }
  50%, 92% { border-color: rgba(255, 255, 255, 0.1); background: transparent; color: #a7abc6; }
  100% { border-color: #c026d3; background: rgba(192, 38, 211, 0.12); color: #fff; }
}
@keyframes vms-role-view {
  0%, 42% { border-color: rgba(255, 255, 255, 0.1); background: transparent; color: #a7abc6; }
  50%, 92% { border-color: #9333ea; background: rgba(147, 51, 234, 0.12); color: #fff; }
  100% { border-color: rgba(255, 255, 255, 0.1); background: transparent; color: #a7abc6; }
}
.vms-caps {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.vms-caps i {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-size: 0.58rem;
  font-weight: 600;
  font-style: normal;
}
.vms-caps .ai {
  background: rgba(192, 38, 211, 0.12);
  color: #e879f9;
  box-shadow: inset 0 0 0 1px rgba(192, 38, 211, 0.35);
}
.vms-caps .view {
  background: rgba(255, 255, 255, 0.05);
  color: #a7abc6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.vms-caps .demand {
  background: rgba(147, 51, 234, 0.12);
  color: #c4b5fd;
  box-shadow: inset 0 0 0 1px rgba(147, 51, 234, 0.35);
}

/* VC estate console: profile ticks + AI + effort + on-demand $ + module chips. */
/* The estate grid is 62rem wide by design, so below ~1150px it scrolls inside
   its own frame instead of widening the page. The open "More" menu stays
   contained because the grid grows padding-bottom for it (see :has rule below). */
.vms-vignette--estate {
  flex: 0 0 auto;
  min-height: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  pointer-events: auto;
  scrollbar-width: thin;
}
.vms-dialog--estate {
  flex: 0 0 auto;
  min-height: auto;
  padding: 1rem 1.05rem 0.9rem;
}
.vms-dialog--estate h4 {
  font-size: 1.05rem;
}
.vms-dialog--estate .hint {
  font-size: 0.78rem;
  line-height: 1.45;
}
.vms-dialog--estate .vms-field {
  font-size: 0.88rem;
  padding: 0.38rem 0.6rem;
}
.vms-dialog--estate .vms-caps {
  margin-top: 0.7rem;
}
.vms-dialog--estate .vms-caps i {
  font-size: 0.68rem;
  padding: 0.2rem 0.55rem;
}
.vms-dialog--estate .vms-store {
  font-size: 0.7rem;
  margin-top: 0.7rem;
}
.vms-dialog--estate .vms-tick {
  width: 1rem;
  height: 1rem;
}
.vms-dialog--estate .vms-cam-list--estate {
  display: grid;
  grid-template-columns: 1rem minmax(7.5rem, 1fr) 2.6rem max-content 7.4rem 5.2rem 8.4rem;
  column-gap: 0.45rem;
  row-gap: 0.42rem;
  align-items: center;
  flex: none;
  height: auto;
  min-height: auto;
  min-width: 62rem;
  overflow: visible;
  padding: 0.45rem 1.1rem 0.5rem 0.3rem;
}
.vms-cam-list--estate .vms-fake-scroll {
  top: 8px;
  right: 5px;
  bottom: 8px;
  width: 8px;
  pointer-events: none;
}
.vms-cam-list--estate .vms-fake-scroll i {
  height: 28%;
  margin-top: 12%;
}
.vms-cam-list--estate::after {
  display: none;
}
.vms-estate-head,
.vms-cam-list--estate .vms-row {
  display: contents;
}
.vms-cam-list--estate .vms-row > * {
  font-size: 0.88rem;
}
.vms-cam-list--estate .vms-store {
  grid-column: 1 / -1;
}
.vms-estate-head {
  margin-top: 0.05rem;
  margin-bottom: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
}
.vms-estate-head span:nth-child(n+3) {
  justify-self: stretch;
  text-align: center;
}
.vms-cam-list--estate .vms-cam {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.vms-cam-list--estate .vms-cam::after {
  content: "";
  flex: 1 1 auto;
  min-width: 0.45rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.vms-cam-list--estate .vms-ai {
  justify-self: center;
}
.vms-cam-list--estate .vms-switch {
  width: 2.2rem;
  height: 1.22rem;
}
.vms-cam-list--estate .vms-switch i {
  width: 0.9rem;
  height: 0.9rem;
}
.vms-cam-list--estate .vms-intel {
  width: 100%;
  gap: 0.35rem;
}
.vms-cam-list--estate .vms-intel > em {
  font-size: 0.6rem;
}
.vms-cam-list--estate .vms-intel-track {
  height: 4px;
}
.vms-cam-list--estate .vms-intel-track b {
  width: 6px;
  height: 6px;
}
.vms-cam-list--estate .vms-intel-track i {
  width: 10px;
  height: 10px;
}
.vms-dash {
  justify-self: center;
  color: #64748b;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.vms-sample,
.vms-spend {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.18rem;
  min-width: 0;
  border-radius: 0.45rem;
  padding: 0.2rem 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}
.vms-cam-list--estate .vms-sample,
.vms-cam-list--estate .vms-sample input,
.vms-cam-list--estate .vms-sample > span,
.vms-cam-list--estate .vms-spend,
.vms-cam-list--estate .vms-spend input,
.vms-cam-list--estate .vms-spend > span {
  font-size: 0.7rem;
  font-weight: 700;
}
.vms-sample input,
.vms-spend input {
  width: 2.2rem;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  outline: none;
}
.vms-sample input {
  text-align: right;
}
.vms-sample > span,
.vms-spend > span {
  color: #94a3b8;
}
.vms-demand-cell {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 0.4rem;
}
.vms-spend {
  color: #94a3b8;
}
.vms-spend.on {
  color: #ddd6fe;
  background: rgba(147, 51, 234, 0.18);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.45);
}
.vms-spend.is-off {
  color: #64748b;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0.42;
}
.vms-spend.is-off input {
  pointer-events: none;
}
.vms-mods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  width: 100%;
  gap: 0.32rem;
}
.vms-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
.vms-chip.on {
  color: #f5d0fe;
  background: rgba(192, 38, 211, 0.2);
  box-shadow: inset 0 0 0 1px rgba(232, 121, 249, 0.45);
}
.vms-more {
  position: relative;
  display: inline-flex;
  pointer-events: none;
}
.vms-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: default;
  user-select: none;
}
.vms-more-btn svg {
  width: 0.7rem;
  height: 0.7rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Capabilities carousel (#features) ----
   Mechanics live here so JS-toggled .is-active is not Tailwind-purged.
   Screenshots stay object-contain on ink (#0D0B16), never object-cover. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.caps-carousel {
  margin-top: 4rem;
}

.caps-carousel:focus {
  outline: none;
}

.caps-carousel:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 6px;
  border-radius: 1.25rem;
}

.caps-carousel__stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "prev view next";
  gap: 0.85rem;
  align-items: center;
}

.caps-carousel__stage > [data-caps-prev] { grid-area: prev; }
.caps-carousel__viewport { grid-area: view; min-width: 0; }
.caps-carousel__stage > [data-caps-next] { grid-area: next; }

.caps-slide {
  display: none;
  position: relative;
  overflow: hidden;
  flex-direction: column;
  gap: 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #17141f;
  padding: 1.75rem 2rem 1.5rem;
}

.caps-slide.is-active {
  display: flex;
}

.caps-slide::before {
  content: "";
  position: absolute;
  right: -4rem;
  top: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.16);
  filter: blur(48px);
  pointer-events: none;
}

.caps-slide__copy,
.caps-slide__shot {
  position: relative;
}

.caps-slide__copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.caps-slide__copy p {
  margin: 0.5rem 0 0;
  max-width: 46rem;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.55;
}

.caps-beta {
  margin-left: 0.5rem;
  border-radius: 0.375rem;
  background: rgba(147, 51, 234, 0.2);
  padding: 0.15rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  color: #9333ea;
}

.caps-slide__shot {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0d0b16;
}

.caps-slide__shot picture {
  display: block;
  width: 100%;
}

.caps-slide__shot img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #0d0b16;
}

.caps-carousel__btn {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.caps-carousel__btn:hover,
.caps-carousel__btn:focus-visible {
  border-color: rgba(167, 139, 250, 0.85);
  background: rgba(124, 58, 237, 0.22);
  outline: none;
}

.caps-carousel__btn svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.caps-carousel__status {
  display: flex;
  justify-content: center;
  min-height: 1.6rem;
  margin-top: 0.85rem;
}
.caps-carousel__paused {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(23, 20, 31, 0.85);
  padding: 0.2rem 0.55rem 0.2rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
  transition: opacity 140ms ease;
}
.caps-carousel__paused svg {
  width: 0.7rem;
  height: 0.7rem;
  fill: currentColor;
}
.caps-carousel.is-paused .caps-carousel__paused,
.caps-carousel:hover .caps-carousel__paused {
  opacity: 1;
}
.caps-carousel__progress {
  margin: 0.45rem auto 0;
  width: min(100%, 22rem);
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.caps-carousel__progress-bar {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #7c3aed, #c026d3);
}

.caps-carousel__progress-bar.is-running {
  animation-name: caps-progress;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

@keyframes caps-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.caps-carousel__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.caps-dot {
  width: 0.65rem;
  height: 0.65rem;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 160ms ease, background 160ms ease;
}

.caps-dot.is-active {
  width: 1.55rem;
  background: linear-gradient(90deg, #7c3aed, #c026d3);
}

.caps-dot:focus-visible {
  outline: 2px solid #c4b5fd;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .caps-carousel__stage {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "view view"
      "prev next";
    justify-items: center;
  }
  .caps-carousel__viewport { width: 100%; }
  .caps-slide { padding: 1.25rem 1.1rem 1.1rem; }
  .caps-carousel__stage > [data-caps-prev] { justify-self: end; }
  .caps-carousel__stage > [data-caps-next] { justify-self: start; }
}

/* The field-experience card stands the full height of the two cards beside it,
   so its ticks sit at the foot of the column instead of floating mid-card.
   mt-auto is not in the purged styles.css build, hence the rule here. */
.adv-tall > ul {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* Landscape comparison table */
.cmp-wrap {
  overflow-x: auto;
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0D0B16;
  -webkit-overflow-scrolling: touch;
}
.cmp-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #94a3b8;
}
.cmp-table th,
.cmp-table td {
  padding: 1.05rem 1.15rem;
  vertical-align: top;
  background: #0D0B16;
  font-weight: inherit;
}
.cmp-table tbody th,
.cmp-table tbody td {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.cmp-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  padding-bottom: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  white-space: nowrap;
}
.cmp-table thead .cmp-us {
  color: #e2e8f0;
}
/* Row label column stays visible while the table scrolls sideways */
.cmp-table .cmp-feature {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 11.5rem;
  max-width: 13rem;
  font-weight: 500;
  color: #e2e8f0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.cmp-table thead .cmp-feature {
  z-index: 4;
}
/* The single accent in the table: our column */
.cmp-table .cmp-us {
  min-width: 13.5rem;
  background: rgba(124, 58, 237, 0.07);
  box-shadow: inset 1px 0 0 rgba(124, 58, 237, 0.35);
  color: #c4b5fd;
}

/* ==========================================================================
   Source markers on market figures
   ========================================================================== */
.bf-ref {
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: super;
  margin-left: 0.15em;
  white-space: nowrap;
}
.bf-ref a {
  display: inline-block;
  padding: 0 0.12em;
  border-radius: 0.2rem;
  color: #c026d3;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
.bf-ref a:hover,
.bf-ref a:focus-visible {
  color: #f5d0fe;
  background: rgba(192, 38, 211, 0.18);
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .caps-carousel__progress { display: none; }
}
