:root {
  --uc-hs-bg: #07111F;
  --uc-hs-text: rgba(255, 255, 255, 0.92);
  --uc-hs-muted: rgba(255, 255, 255, 0.70);
  --uc-hs-border: rgba(255, 255, 255, 0.14);
  --uc-hs-surface: rgba(10, 18, 32, 0.38);
}

.uc-hs-body {
  background:
    radial-gradient(circle at top left,
      rgba(15,45,82,0.9) 0%,
      rgba(5,18,38,1) 35%,
      rgba(2,8,20,1) 100%
    );
  color: var(--uc-hs-text);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

.uc-hs-header {
  background: rgba(3,10,20,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(240, 245, 255, 0.92);
}

/* Override global dark-hero styling (homepage.css) on HubSpot pages only */
body.uc-hs-body.uc-dark .hero.uc-hs-header {
  background: rgba(3,10,20,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.uc-hs-body .hero-nav {
  height: 88px;
}

.uc-hs-body .hero-nav__link {
  color: rgba(240, 245, 255, 0.90);
  opacity: 0.92;
}

.uc-hs-body .hero-nav__link:hover,
.uc-hs-body .hero-nav__link:focus {
  color: rgba(240, 245, 255, 0.98);
  opacity: 1;
}

.uc-hs-body .hero-nav__cta {
  background: rgba(80, 165, 255, 0.16);
  border-color: rgba(80, 165, 255, 0.34);
}

.uc-hs-body::before {
  content: none;
}

/* HubSpot pages only: remove the duplicate Deployment Models nav entry */
.uc-hs-body .hero-nav__link[href="/#testimonials"],
.uc-hs-body .hero-nav__link[href="#testimonials"] {
  display: none;
}

@supports selector(li:has(> a)) {
  .uc-hs-body .hero-nav__item:has(> a.hero-nav__link[href="/#testimonials"]),
  .uc-hs-body .hero-nav__item:has(> a.hero-nav__link[href="#testimonials"]) {
    display: none;
  }
}

.uc-hs-main {
  width: 100%;
  flex: 1 0 auto;
}

.uc-hs-shell {
  width: 100%;
  max-width: 1200px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .uc-hs-shell {
    padding-left: 64px;
    padding-right: 64px;
  }
}

.uc-hs-section {
  padding: 64px 0;
}

@media (min-width: 992px) {
  .uc-hs-section {
    padding: 88px 0;
  }
}

.uc-hs-hero {
  padding: 96px 0 40px;
}

.uc-hs-section + .uc-hs-section {
  border-top: none;
}

.uc-hs-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 18, 32, 0.22);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.uc-hs-h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.98);
  margin: 0 0 16px;
}

.uc-hs-lede {
  font-size: 18px;
  line-height: 1.75;
  color: var(--uc-hs-muted);
  margin: 0;
  max-width: 65ch;
}

.uc-hs-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.uc-hs-btn-primary {
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(80, 165, 255, 0.40);
  background: rgba(80, 165, 255, 0.20);
  color: rgba(255, 255, 255, 0.98);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.uc-hs-btn-primary:hover {
  transform: translateY(-1px);
  background: rgba(80, 165, 255, 0.26);
  border-color: rgba(80, 165, 255, 0.52);
  color: rgba(255, 255, 255, 0.98);
}

.uc-hs-btn-secondary {
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 18, 32, 0.22);
  color: rgba(255, 255, 255, 0.92);
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.uc-hs-btn-secondary:hover {
  transform: translateY(-1px);
  background: rgba(10, 18, 32, 0.32);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.98);
}

.uc-hs-card {
  border-radius: 18px;
  border: 1px solid var(--uc-hs-border);
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.52), rgba(10, 18, 32, 0.24));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  padding: 20px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.uc-hs-card h2,
.uc-hs-card h3 {
  color: rgba(255, 255, 255, 0.96);
}

.uc-hs-card p,
.uc-hs-card li {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.uc-hs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 992px) {
  .uc-hs-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 18px;
    align-items: start;
  }
}

.uc-hs-media {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 18, 32, 0.24);
  overflow: hidden;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
}

.uc-hs-media img {
  width: 100%;
  height: auto;
  display: block;
}

.uc-hs-media--stack {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.uc-hs-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  margin-bottom: 10px;
}

.uc-hs-title {
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.97);
  margin: 0 0 14px;
}

.uc-hs-text {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.75;
  margin: 0;
}

.uc-hs-media--primary {
  margin-top: 26px;
  margin-left: auto;
  margin-right: auto;
  max-width: 880px;
}

.uc-hs-media--primary img {
  max-height: clamp(280px, 34vw, 440px);
  object-fit: contain;
}

.uc-hs-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 16px;
}

.uc-hs-media-grid .uc-hs-media img {
  max-height: clamp(220px, 22vw, 320px);
  object-fit: contain;
}

@media (min-width: 768px) {
  .uc-hs-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.uc-hs-steps {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 32, 0.18);
  padding: 18px;
}

.uc-hs-steps__list {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.uc-hs-steps__list li {
  margin: 0 0 10px 0;
}

.uc-hs-address {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 32, 0.28);
  padding: 14px 14px;
  margin: 14px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}

.uc-hs-address div {
  display: grid;
  gap: 2px;
}

.uc-hs-address span {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.60);
}

.uc-hs-address strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 575px) {
  .uc-hs-address {
    grid-template-columns: 1fr;
  }
}

.uc-hs-list {
  margin: 0;
  padding-left: 18px;
}

.uc-hs-embed {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  background: rgba(10, 18, 32, 0.24);
}

.uc-hs-note {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 18, 32, 0.18);
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.78);
}

/* =========================================================
   HubSpot Integration Overview-only refinements
   (Scoped so Installation page remains unchanged)
   ========================================================= */

.uc-hso-body {
  position: relative;
}

.uc-hso-body .hero-nav__link {
  color: rgba(255, 255, 255, 0.92);
}

.uc-hso-body .hero-nav__cta {
  background: rgba(80, 165, 255, 0.14);
  border-color: rgba(80, 165, 255, 0.28);
}

/* Keep nav premium and usable on narrow widths (no structure changes) */
.uc-hso-body .hero-nav .nav {
  flex-wrap: nowrap;
  gap: 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.uc-hso-body .hero-nav .nav::-webkit-scrollbar {
  height: 0;
}

.uc-hso-body .hero-nav__item {
  flex: 0 0 auto;
}

.uc-hso-body .hero-nav__cta {
  white-space: nowrap;
}

/* Section rhythm + typography */
.uc-hso-hero {
  padding-top: 112px;
  padding-bottom: 38px;
}

.uc-hso-section {
  padding: 72px 0;
}

@media (min-width: 992px) {
  .uc-hso-section {
    padding: 96px 0;
  }
}

.uc-hso-body .uc-hs-text {
  color: rgba(255, 255, 255, 0.72);
  max-width: 72ch;
}

.uc-hso-body .uc-hs-lede {
  color: rgba(255, 255, 255, 0.72);
  max-width: 68ch;
}

/* Showcase layout */
.uc-hso-showcase {
  margin-top: 28px;
}

.uc-hso-showcaseRow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .uc-hso-showcaseRow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1100px) {
  .uc-hso-showcaseRow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.uc-hso-frame {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 18, 32, 0.30);
  box-shadow: 0 22px 84px rgba(0, 0, 0, 0.42);
  overflow: hidden;
  padding: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.uc-hso-img {
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  max-width: 94%;
}

.uc-hso-showcaseRow .uc-hso-frame {
  padding: 0;
  min-height: 0;
  aspect-ratio: 16 / 10;
  align-items: stretch;
  justify-content: stretch;
}

.uc-hso-showcaseRow .uc-hso-img {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
}

/* Connected explanation panels (Overview) */
.uc-hso-panels {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 992px) {
  .uc-hso-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .uc-hso-panels::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 32px;
    height: 2px;
    background: linear-gradient(90deg, rgba(80,165,255,0), rgba(80,165,255,0.22), rgba(150,115,255,0.18), rgba(80,165,255,0));
    opacity: 0.55;
    pointer-events: none;
  }
}

.uc-hso-panel {
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.52), rgba(10, 18, 32, 0.22));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.40);
  padding: 20px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.uc-hso-panel::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(80, 165, 255, 0.60);
  box-shadow: 0 0 18px rgba(80, 165, 255, 0.22);
}

.uc-hso-panel__kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 10px;
  padding-left: 18px;
}

.uc-hso-panel__title {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.6vw, 30px);
}

/* =========================================================
   HubSpot Installation-only connected rail
   ========================================================= */

.uc-hsi-body {
  position: relative;
}

.uc-hsi-hero {
  padding-top: 112px;
  padding-bottom: 34px;
}

.uc-hsi-rail {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.uc-hsi-rail::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(80,165,255,0.0), rgba(80,165,255,0.22), rgba(150,115,255,0.16), rgba(80,165,255,0.0));
  filter: drop-shadow(0 0 10px rgba(80,165,255,0.16));
  pointer-events: none;
}

.uc-hsi-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
}

.uc-hsi-node {
  position: relative;
  width: 36px;
  height: 36px;
  margin-left: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(2, 8, 20, 0.92);
  border: 1px solid rgba(80,165,255,0.40);
  box-shadow: 0 0 0 6px rgba(80,165,255,0.08), 0 18px 50px rgba(0,0,0,0.35);
}

.uc-hsi-node span {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
}

.uc-hsi-panel {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.52), rgba(10, 18, 32, 0.22));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.40);
  padding: 20px 18px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.uc-hsi-kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 10px;
}

.uc-hsi-title {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: -0.02em;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
}

.uc-hsi-subtitle {
  margin-top: 14px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.90);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.uc-hsi-perms {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 18, 32, 0.22);
  padding: 14px 14px;
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.78);
}

.uc-hsi-perm strong {
  color: rgba(255, 255, 255, 0.92);
}

.uc-hsi-govern {
  margin-top: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 18, 32, 0.22);
  padding: 14px 14px;
}

.uc-hsi-governTitle {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(150, 205, 255, 0.78);
  margin-bottom: 10px;
}

.uc-hsi-governList {
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.uc-hs-body .block-44 {
  border-radius: 0;
}
