:root {
  /* Primary: dark sage green (derived from logo #c8e6d1) */
  --color-primary: #3d7a5f;
  --bs-primary-rgb: 61, 122, 95;
  --color-primary-: #3d7a5f;
  --bs-primary--rgb: 61, 122, 95;
  --color-primary-10: #f6faf8;
  --bs-primary-10-rgb: 246, 250, 248;
  --color-primary-25: #f0f7f3;
  --bs-primary-25-rgb: 240, 247, 243;
  --color-primary-50: #e3f0e9;
  --bs-primary-50-rgb: 227, 240, 233;
  --color-primary-100: #c8e1d3;
  --bs-primary-100-rgb: 200, 225, 211;
  --color-primary-200: #9cc8af;
  --bs-primary-200-rgb: 156, 200, 175;
  --color-primary-300: #70af8b;
  --bs-primary-300-rgb: 112, 175, 139;
  --color-primary-400: #549471;
  --bs-primary-400-rgb: 84, 148, 113;
  --color-primary-500: #3d7a5f;
  --bs-primary-500-rgb: 61, 122, 95;
  --color-primary-600: #31624c;
  --bs-primary-600-rgb: 49, 98, 76;
  --color-primary-700: #254939;
  --bs-primary-700-rgb: 37, 73, 57;
  --color-primary-800: #183126;
  --bs-primary-800-rgb: 24, 49, 38;
  --color-primary-900: #0c1813;
  --bs-primary-900-rgb: 12, 24, 19;
  --color-primary-950: #060c09;
  --bs-primary-950-rgb: 6, 12, 9;

  /* Secondary: light sage background */
  --color-secondary: #eef6f1;
  --bs-secondary-rgb: 238, 246, 241;
  --color-secondary-: #eef6f1;
  --bs-secondary--rgb: 238, 246, 241;
  --color-secondary-500: #eef6f1;
  --bs-secondary-500-rgb: 238, 246, 241;
  --color-secondary-600: #bed0c4;
  --bs-secondary-600-rgb: 190, 208, 196;
  --color-secondary-700: #8fa898;
  --bs-secondary-700-rgb: 143, 168, 152;

  /* Tertiary: the logo green accent */
  --color-tertiary: #c8e6d1;
  --bs-tertiary-rgb: 200, 230, 209;
  --color-tertiary-: #c8e6d1;
  --bs-tertiary--rgb: 200, 230, 209;
  --color-tertiary-50: #f3faf6;
  --bs-tertiary-50-rgb: 243, 250, 246;
  --color-tertiary-100: #e8f4ec;
  --bs-tertiary-100-rgb: 232, 244, 236;
  --color-tertiary-200: #d8ede0;
  --bs-tertiary-200-rgb: 216, 237, 224;
  --color-tertiary-300: #c8e6d1;
  --bs-tertiary-300-rgb: 200, 230, 209;
  --color-tertiary-400: #a3d4b3;
  --bs-tertiary-400-rgb: 163, 212, 179;
  --color-tertiary-500: #c8e6d1;
  --bs-tertiary-500-rgb: 200, 230, 209;
  --color-tertiary-600: #7ab893;
  --bs-tertiary-600-rgb: 122, 184, 147;
  --color-tertiary-700: #5a9e78;
  --bs-tertiary-700-rgb: 90, 158, 120;
  --color-tertiary-800: #3d7a5f;
  --bs-tertiary-800-rgb: 61, 122, 95;
  --color-tertiary-900: #1e3d2f;
  --bs-tertiary-900-rgb: 30, 61, 47;
  --color-tertiary-950: #0f1e18;
  --bs-tertiary-950-rgb: 15, 30, 24;
}

/* Twin Partners page rhythm: readable spacing + type hierarchy */
#wrapper {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

#wrapper .section:not(#hero_header) .section-outer {
  padding-top: clamp(3rem, 6vw, 5.25rem) !important;
  padding-bottom: clamp(3rem, 6vw, 5.25rem) !important;
}

#wrapper .section h1,
#wrapper .section h2,
#wrapper .section h3,
#wrapper .section h4 {
  font-family: var(--font-family-primary);
  letter-spacing: -0.017em;
  text-wrap: balance;
}

#wrapper .section h1 {
  line-height: 1.06;
}

#wrapper .section h2 {
  line-height: 1.12;
}

#wrapper .section h3,
#wrapper .section h4 {
  line-height: 1.2;
}

#wrapper .section p,
#wrapper .section li {
  line-height: 1.65;
  letter-spacing: 0.0025em;
  text-wrap: pretty;
}

#wrapper .section p.fs-7,
#wrapper .section p.fs-8 {
  line-height: 1.55;
}

#wrapper .section .text-center > p {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

#wrapper .section .panel.vstack > p + p {
  margin-top: 0.7rem;
}

/* Decorative vector utilities */
.tp-decor {
  --tp-decor-shift-x: 0px;
  --tp-decor-shift-y: 0px;
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  transform: translate3d(var(--tp-decor-shift-x), var(--tp-decor-shift-y), 0);
  will-change: transform;
}

.tp-decor--inline {
  position: relative;
  z-index: 1;
  display: block;
  opacity: 0.82;
}

.tp-decor--hero-inline {
  width: 24px;
  height: 24px;
  margin-bottom: 0.2rem;
  color: var(--color-primary);
}

.tp-decor--solution-inline {
  width: 44px;
  height: 18px;
  opacity: 0.64;
  color: var(--color-primary);
}

.tp-decor--who-corner {
  top: 8%;
  right: 2%;
  width: clamp(130px, 18vw, 240px);
  color: rgba(61, 122, 95, 0.18);
}

.tp-decor--who-inline {
  width: 30px;
  height: 30px;
  opacity: 0.72;
  color: var(--color-primary);
}

.tp-decor--how-corner {
  top: 3%;
  right: 3%;
  width: clamp(100px, 14vw, 190px);
  color: rgba(61, 122, 95, 0.16);
}

.tp-decor--proof-corner {
  top: -18%;
  right: 4%;
  width: clamp(180px, 20vw, 290px);
  color: rgba(61, 122, 95, 0.2);
  opacity: 0.24;
}

.tp-decor--proof-inline {
  width: 34px;
  height: 34px;
  opacity: 0.75;
  color: var(--color-primary);
}

.tp-decor--stat-icon {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  margin-bottom: 0.45rem;
  opacity: 0.72;
  color: var(--color-primary);
}

.tp-decor--faq-corner {
  top: 4%;
  right: 3%;
  width: clamp(110px, 16vw, 190px);
  color: rgba(61, 122, 95, 0.16);
}

.tp-decor--faq-inline {
  width: 28px;
  height: 28px;
  opacity: 0.72;
  color: var(--color-primary);
}

.tp-decor--about-hero-illustration {
  right: -2%;
  bottom: -8%;
  width: clamp(150px, 24vw, 290px);
  opacity: 0.2;
}

.tp-decor--about-cta-corner {
  bottom: -38%;
  left: 3%;
  width: clamp(180px, 22vw, 280px);
  color: rgba(61, 122, 95, 0.2);
  opacity: 0.2;
}

:where(.uc-dark) .tp-decor {
  opacity: 0.14;
}

:where(.uc-dark) .tp-decor--inline,
:where(.uc-dark) .tp-decor--stat-icon {
  opacity: 0.62;
  color: var(--color-tertiary);
}

@media (max-width: 767px) {
  .tp-decor--stat-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0.35rem;
  }
}

/* Button overrides */
.btn-primary {
  --bs-btn-bg: #3d7a5f;
  --bs-btn-border-color: #3d7a5f;
  --bs-btn-hover-bg: #31624c;
  --bs-btn-hover-border-color: #31624c;
  --bs-btn-focus-shadow-rgb: 84, 148, 113;
  --bs-btn-active-bg: #254939;
  --bs-btn-active-border-color: #254939;
  --bs-btn-disabled-bg: #3d7a5f;
  --bs-btn-disabled-border-color: #3d7a5f;
}

.btn-outline-primary {
  --bs-btn-color: #3d7a5f;
  --bs-btn-border-color: #3d7a5f;
  --bs-btn-hover-bg: #3d7a5f;
  --bs-btn-hover-border-color: #3d7a5f;
  --bs-btn-focus-shadow-rgb: 61, 122, 95;
  --bs-btn-active-bg: #254939;
  --bs-btn-active-border-color: #254939;
  --bs-btn-disabled-color: #3d7a5f;
  --bs-btn-disabled-border-color: #3d7a5f;
}

.btn-alt-primary {
  color: #3d7a5f !important;
}
.btn-alt-primary:focus,
.btn-alt-primary:hover {
  background: #3d7a5f !important;
}

.btn-ghost-primary {
  background: #e3f0e9 !important;
  color: #3d7a5f !important;
}
.btn-ghost-primary:focus,
.btn-ghost-primary:hover {
  background: #c8e1d3 !important;
  color: #3d7a5f !important;
}

.btn-secondary {
  --bs-btn-bg: #eef6f1;
  --bs-btn-border-color: #eef6f1;
  --bs-btn-hover-bg: #bed0c4;
  --bs-btn-hover-border-color: #bed0c4;
  --bs-btn-active-bg: #8fa898;
  --bs-btn-active-border-color: #8fa898;
  --bs-btn-disabled-bg: #eef6f1;
  --bs-btn-disabled-border-color: #eef6f1;
}

.btn-tertiary {
  --bs-btn-bg: #c8e6d1;
  --bs-btn-border-color: #c8e6d1;
  --bs-btn-hover-bg: #7ab893;
  --bs-btn-hover-border-color: #7ab893;
  --bs-btn-active-bg: #5a9e78;
  --bs-btn-active-border-color: #5a9e78;
  --bs-btn-disabled-bg: #c8e6d1;
  --bs-btn-disabled-border-color: #c8e6d1;
}

.btn-outline-tertiary {
  --bs-btn-border-color: #c8e6d1;
  --bs-btn-hover-bg: #c8e6d1;
  --bs-btn-hover-border-color: #c8e6d1;
  --bs-btn-active-bg: #5a9e78;
  --bs-btn-active-border-color: #5a9e78;
  --bs-btn-disabled-border-color: #c8e6d1;
}

.btn-ghost-tertiary {
  background: #f3faf6 !important;
}
.btn-ghost-tertiary:focus,
.btn-ghost-tertiary:hover {
  background: #e8f4ec !important;
}

/* Gradient overrides */
.from-primary {
  --uc-gradient-from: #3d7a5f;
}
.from-secondary {
  --uc-gradient-from: #eef6f1;
}
.to-tertiary {
  --uc-gradient-to: #c8e6d1;
}
.from-tertiary {
  --uc-gradient-from: #c8e6d1;
}

:where(.uc-dark) .dark\:to-tertiary {
  --uc-gradient-to: #c8e6d1 !important;
}

/* Feature card hover effects */
.tp-feature-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.4s ease;
  border: 1px solid transparent;
  will-change: auto;
}
.tp-feature-card:hover,
.tp-feature-card:focus-within {
  will-change: transform;
}
.tp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(61, 122, 95, 0.10);
  border-color: var(--color-tertiary);
}
.tp-feature-card .icon-box {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.4s ease;
}
.tp-feature-card:hover .icon-box {
  transform: scale(1.08);
  background: var(--color-primary) !important;
}
.tp-feature-card .icon-box svg,
.tp-feature-card .icon-box svg path,
.tp-feature-card .icon-box svg rect,
.tp-feature-card .icon-box svg circle {
  transition: fill 0.4s ease;
}
.tp-feature-card:hover .icon-box svg,
.tp-feature-card:hover .icon-box svg path,
.tp-feature-card:hover .icon-box svg rect,
.tp-feature-card:hover .icon-box svg circle {
  fill: #ffffff !important;
}
.tp-feature-card .icon-box i[class*="unicon-"] {
  transition: color 0.4s ease;
}
.tp-feature-card:hover .icon-box i[class*="unicon-"] {
  color: #ffffff !important;
}

/* Capabilities section aura */
@keyframes aura-drift-1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.18; }
  33%  { transform: translate(30px, -20px) scale(1.05); opacity: 0.25; }
  66%  { transform: translate(-15px, 15px) scale(0.95); opacity: 0.15; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.18; }
}
@keyframes aura-drift-2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.15; }
  33%  { transform: translate(-25px, 25px) scale(1.08); opacity: 0.22; }
  66%  { transform: translate(20px, -10px) scale(0.92); opacity: 0.12; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.15; }
}
@keyframes aura-drift-3 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.12; }
  50%  { transform: translate(15px, 20px) scale(1.1); opacity: 0.20; }
  100% { transform: translate(0, 0) scale(1); opacity: 0.12; }
}
.tp-aura {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: auto;
}
.tp-aura-1 {
  width: 400px; height: 400px;
  top: -80px; left: -5%;
  background: radial-gradient(circle, var(--color-tertiary) 0%, transparent 70%);
  animation: aura-drift-1 8s ease-in-out infinite;
}
.tp-aura-2 {
  width: 350px; height: 350px;
  top: 40%; right: -3%;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
  animation: aura-drift-2 10s ease-in-out infinite;
}
.tp-aura-3 {
  width: 300px; height: 300px;
  bottom: -60px; left: 30%;
  background: radial-gradient(circle, var(--color-tertiary) 0%, transparent 70%);
  animation: aura-drift-3 7s ease-in-out infinite;
}

/* Pill navbar (header-six): match template – solid bar, no blur, readable on white hero */
/* At top (uc-navbar-transparent) and when sticky: same solid bar so text is always readable */
.header-six .uc-navbar-container.uc-navbar-float,
.header-six .uc-navbar-container.uc-navbar-transparent,
.header-six .uc-navbar-container.uc-navbar-sticky {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}
.dark .header-six .uc-navbar-container.uc-navbar-float,
.dark .header-six .uc-navbar-container.uc-navbar-transparent,
.dark .header-six .uc-navbar-container.uc-navbar-sticky,
:where(.uc-dark) .header-six .uc-navbar-container.uc-navbar-float,
:where(.uc-dark) .header-six .uc-navbar-container.uc-navbar-transparent,
:where(.uc-dark) .header-six .uc-navbar-container.uc-navbar-sticky {
  background: #1f2937 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.header-six .uc-navbar-main {
  background: inherit !important;
  border-radius: inherit;
}

/* Keep top and sticky nav dimensions identical */
.header-six,
.header-six.uc-sticky-fixed,
.header-six.uc-sticky-below {
  --uc-nav-height: 80px !important;
}

.header-six .tp-site-header-nav.uc-navbar-float,
.header-six .tp-site-header-nav.uc-navbar-sticky,
.header-six.uc-sticky-fixed .tp-site-header-nav,
.header-six.uc-sticky-below .tp-site-header-nav {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  transform: none !important;
}

.header-six .tp-site-header-nav .uc-navbar-main,
.header-six .tp-site-header-nav.uc-navbar-float .uc-navbar,
.header-six .tp-site-header-nav.uc-navbar-sticky .uc-navbar,
.header-six.uc-sticky-fixed .tp-site-header-nav .uc-navbar,
.header-six.uc-sticky-below .tp-site-header-nav .uc-navbar {
  height: 64px !important;
  min-height: 64px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.header-six .tp-site-header-nav.uc-navbar-float .uc-logo .panel,
.header-six .tp-site-header-nav.uc-navbar-sticky .uc-logo .panel,
.header-six.uc-sticky-fixed .tp-site-header-nav .uc-logo .panel,
.header-six.uc-sticky-below .tp-site-header-nav .uc-logo .panel {
  width: 180px !important;
  min-width: 180px !important;
}

.header-six .tp-site-header-nav.uc-navbar-float .uc-navbar-right .btn.btn-sm,
.header-six .tp-site-header-nav.uc-navbar-sticky .uc-navbar-right .btn.btn-sm,
.header-six.uc-sticky-fixed .tp-site-header-nav .uc-navbar-right .btn.btn-sm,
.header-six.uc-sticky-below .tp-site-header-nav .uc-navbar-right .btn.btn-sm {
  min-height: 40px !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

@media (min-width: 992px) {
  .header-six .tp-site-header-nav.uc-navbar-float,
  .header-six .tp-site-header-nav.uc-navbar-sticky,
  .header-six.uc-sticky-fixed .tp-site-header-nav,
  .header-six.uc-sticky-below .tp-site-header-nav {
    left: 50% !important;
    right: auto !important;
    width: min(100% - 2rem, 950px) !important;
    transform: translateX(-50%) !important;
    margin-top: 0.75rem !important;
    border-radius: 9999px !important;
  }

  .header-six .tp-site-header-nav .uc-navbar-main,
  .header-six .tp-site-header-nav.uc-navbar-float .uc-navbar,
  .header-six .tp-site-header-nav.uc-navbar-sticky .uc-navbar,
  .header-six.uc-sticky-fixed .tp-site-header-nav .uc-navbar,
  .header-six.uc-sticky-below .tp-site-header-nav .uc-navbar {
    height: 80px !important;
    min-height: 80px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
}
/* Light mode: dark text on white pill (at top and when sticky) – matches template text-gray-900 */
.header-six .uc-navbar-container .uc-navbar-nav a,
.header-six .uc-navbar-container .uc-logo a,
.header-six .uc-navbar-container.uc-navbar-transparent .uc-navbar-nav a,
.header-six .uc-navbar-container.uc-navbar-transparent .uc-logo a {
  color: #111827 !important;
}
.header-six .uc-navbar-container .uc-navbar-nav a:hover,
.header-six .uc-navbar-container.uc-navbar-transparent .uc-navbar-nav a:hover {
  color: var(--color-primary) !important;
}
/* Dark mode: light text on dark pill */
.dark .header-six .uc-navbar-container .uc-navbar-nav a,
.dark .header-six .uc-navbar-container .uc-logo a,
.dark .header-six .uc-navbar-container.uc-navbar-transparent .uc-navbar-nav a,
.dark .header-six .uc-navbar-container.uc-navbar-transparent .uc-logo a,
:where(.uc-dark) .header-six .uc-navbar-container .uc-navbar-nav a,
:where(.uc-dark) .header-six .uc-navbar-container .uc-logo a,
:where(.uc-dark) .header-six .uc-navbar-container.uc-navbar-transparent .uc-navbar-nav a,
:where(.uc-dark) .header-six .uc-navbar-container.uc-navbar-transparent .uc-logo a {
  color: #f9fafb !important;
}
.dark .header-six .uc-navbar-container .uc-navbar-nav a:hover,
.dark .header-six .uc-navbar-container.uc-navbar-transparent .uc-navbar-nav a:hover,
:where(.uc-dark) .header-six .uc-navbar-container .uc-navbar-nav a:hover,
:where(.uc-dark) .header-six .uc-navbar-container.uc-navbar-transparent .uc-navbar-nav a:hover {
  color: var(--color-tertiary) !important;
}
.uc-navbar-center {
  flex: 1;
  display: flex;
  justify-content: center;
}
.uc-navbar-center .uc-navbar-nav {
  margin: 0;
}

/* Nav scrollspy: highlight active section */
.uc-navbar-nav li.uc-active > a {
  color: var(--color-primary) !important;
  font-weight: 700;
}
.dark .uc-navbar-nav li.uc-active > a,
:where(.uc-dark) .uc-navbar-nav li.uc-active > a {
  color: var(--color-tertiary) !important;
}

/* How It Works section */
.how-it-works-bg {
  background-color: var(--color-secondary);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(61, 122, 95, 0.07) 1px, transparent 0);
  background-size: 28px 28px;
}
:where(.uc-dark) .how-it-works-bg {
  background-color: rgba(75, 85, 99, 0.15);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(200, 230, 209, 0.06) 1px, transparent 0);
}
.how-it-works-card-last-row > div {
  border-bottom: none !important;
}

.tp-how-card {
  position: relative;
  overflow: hidden;
  gap: 0 !important;
  border-color: rgba(61, 122, 95, 0.12) !important;
  box-shadow:
    0 18px 44px rgba(61, 122, 95, 0.08),
    0 8px 18px rgba(17, 24, 39, 0.04);
}

.tp-how-card__title {
  color: #111827;
  max-width: 22ch;
  line-height: 1.08;
  margin-top: 1.15rem !important;
  margin-bottom: 0 !important;
  margin-left: auto;
  margin-right: auto;
}

.tp-how-card__copy {
  color: rgba(17, 24, 39, 0.68);
  max-width: 29ch;
  line-height: 1.6;
  margin-top: 0.65rem;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
}

.tp-how-card__visual {
  position: relative;
  width: 100%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  overflow: hidden;
  padding: 1rem;
  background:
    radial-gradient(circle at 18% 22%, rgba(61, 122, 95, 0.08) 0%, rgba(61, 122, 95, 0) 38%),
    linear-gradient(180deg, #f8fbf8 0%, #edf4ef 100%);
  border: 1px solid rgba(61, 122, 95, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(61, 122, 95, 0.03);
  isolation: isolate;
}

.tp-how-card__art {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.tp-how-card__step {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  min-width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(61, 122, 95, 0.16);
  background: #e6f1ea;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.72),
    0 8px 16px rgba(61, 122, 95, 0.12);
  pointer-events: none;
}

.tp-how-card__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: radial-gradient(circle at 1px 1px, rgba(61, 122, 95, 0.08) 1px, transparent 0);
  background-size: 18px 18px;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.tp-how-card--featured {
  border-color: rgba(61, 122, 95, 0.12) !important;
}

.tp-how-card__visual--featured {
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 22%, rgba(61, 122, 95, 0.09) 0%, rgba(61, 122, 95, 0) 40%),
    radial-gradient(circle at 82% 18%, rgba(200, 181, 154, 0.16) 0%, rgba(200, 181, 154, 0) 28%),
    linear-gradient(180deg, #f8fbf8 0%, #edf4ef 100%);
  border: 1px solid rgba(61, 122, 95, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(61, 122, 95, 0.04);
}

.tp-how-card__visual--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 12% 88%, rgba(61, 122, 95, 0.06) 0%, rgba(61, 122, 95, 0) 28%);
  pointer-events: none;
}

.tp-how-card__visual--featured .tp-how-card__art {
  position: relative;
  z-index: 1;
  max-height: 240px;
}

.tp-how-card__visual--assess {
  background:
    linear-gradient(140deg, rgba(61, 122, 95, 0.07) 0%, rgba(61, 122, 95, 0) 48%),
    radial-gradient(circle at 82% 24%, rgba(159, 201, 178, 0.24) 0%, rgba(159, 201, 178, 0) 48%),
    repeating-linear-gradient(0deg, rgba(61, 122, 95, 0.05) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, #f8fbf8 0%, #eef5f0 100%);
}

.tp-how-card__visual--design {
  background:
    radial-gradient(circle at 20% 20%, rgba(61, 122, 95, 0.14) 0%, rgba(61, 122, 95, 0) 42%),
    linear-gradient(120deg, rgba(200, 180, 154, 0.18) 0%, rgba(200, 180, 154, 0) 48%),
    radial-gradient(circle at 78% 82%, rgba(155, 174, 184, 0.24) 0%, rgba(155, 174, 184, 0) 46%),
    linear-gradient(180deg, #f8fbf8 0%, #edf4ef 100%);
}

.tp-how-card__visual--deploy {
  background:
    linear-gradient(180deg, rgba(61, 122, 95, 0.07) 0%, rgba(61, 122, 95, 0) 52%),
    radial-gradient(circle at 16% 74%, rgba(200, 180, 154, 0.2) 0%, rgba(200, 180, 154, 0) 46%),
    repeating-radial-gradient(circle at 30px 30px, rgba(61, 122, 95, 0.045) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #f9fcfa 0%, #edf4ef 100%);
}

.tp-how-card__visual--monitor {
  background:
    radial-gradient(circle at 50% 8%, rgba(61, 122, 95, 0.14) 0%, rgba(61, 122, 95, 0) 34%),
    radial-gradient(circle at 50% 88%, rgba(159, 201, 178, 0.26) 0%, rgba(159, 201, 178, 0) 50%),
    repeating-linear-gradient(180deg, rgba(61, 122, 95, 0.045) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, #f8fbf8 0%, #edf4ef 100%);
}

.tp-how-card__visual:not(.tp-how-card__visual--featured) .tp-how-card__art {
  position: relative;
  z-index: 1;
}

@media (max-width: 639px) {
  .tp-how-card__visual {
    min-height: 220px;
  }
}

:where(.uc-dark) .tp-how-card__title {
  color: #f9fafb;
}

:where(.uc-dark) .tp-how-card__copy {
  color: rgba(249, 250, 251, 0.72);
}

:where(.uc-dark) .tp-how-card__visual {
  background:
    radial-gradient(circle at 18% 22%, rgba(200, 230, 209, 0.08) 0%, rgba(200, 230, 209, 0) 38%),
    linear-gradient(180deg, rgba(243, 248, 244, 0.96) 0%, rgba(232, 241, 236, 0.96) 100%);
  border-color: rgba(200, 230, 209, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(200, 230, 209, 0.08);
}

:where(.uc-dark) .tp-how-card__visual--assess {
  background:
    linear-gradient(140deg, rgba(200, 230, 209, 0.16) 0%, rgba(200, 230, 209, 0) 50%),
    radial-gradient(circle at 82% 24%, rgba(159, 201, 178, 0.2) 0%, rgba(159, 201, 178, 0) 48%),
    repeating-linear-gradient(0deg, rgba(200, 230, 209, 0.08) 0 1px, transparent 1px 28px),
    linear-gradient(180deg, rgba(243, 248, 244, 0.96) 0%, rgba(232, 241, 236, 0.96) 100%);
}

:where(.uc-dark) .tp-how-card__visual--design {
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 230, 209, 0.18) 0%, rgba(200, 230, 209, 0) 42%),
    linear-gradient(120deg, rgba(200, 180, 154, 0.2) 0%, rgba(200, 180, 154, 0) 48%),
    radial-gradient(circle at 78% 82%, rgba(155, 174, 184, 0.22) 0%, rgba(155, 174, 184, 0) 46%),
    linear-gradient(180deg, rgba(243, 248, 244, 0.96) 0%, rgba(232, 241, 236, 0.96) 100%);
}

:where(.uc-dark) .tp-how-card__visual--deploy {
  background:
    linear-gradient(180deg, rgba(200, 230, 209, 0.14) 0%, rgba(200, 230, 209, 0) 52%),
    radial-gradient(circle at 16% 74%, rgba(200, 180, 154, 0.22) 0%, rgba(200, 180, 154, 0) 46%),
    repeating-radial-gradient(circle at 30px 30px, rgba(200, 230, 209, 0.08) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, rgba(243, 248, 244, 0.96) 0%, rgba(232, 241, 236, 0.96) 100%);
}

:where(.uc-dark) .tp-how-card__visual--monitor {
  background:
    radial-gradient(circle at 50% 8%, rgba(200, 230, 209, 0.2) 0%, rgba(200, 230, 209, 0) 34%),
    radial-gradient(circle at 50% 88%, rgba(159, 201, 178, 0.2) 0%, rgba(159, 201, 178, 0) 50%),
    repeating-linear-gradient(180deg, rgba(200, 230, 209, 0.08) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, rgba(243, 248, 244, 0.96) 0%, rgba(232, 241, 236, 0.96) 100%);
}

:where(.uc-dark) .tp-how-card__visual::after {
  background-image: radial-gradient(circle at 1px 1px, rgba(61, 122, 95, 0.08) 1px, transparent 0);
  opacity: 0.38;
}

:where(.uc-dark) .tp-how-card__step {
  border-color: rgba(200, 230, 209, 0.18);
  background: #e1eee6;
  color: var(--color-primary);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.7),
    0 8px 16px rgba(61, 122, 95, 0.1);
}

:where(.uc-dark) .tp-how-card--featured {
  box-shadow:
    0 18px 44px rgba(61, 122, 95, 0.08),
    0 8px 18px rgba(17, 24, 39, 0.04);
}

/* Who we serve: app-store style horizontal rail */
.who-we-serve.section {
  overflow-x: hidden;
  overflow-y: visible;
}

.tp-who-module {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.tp-who-rail-wrap {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
  --tp-who-card-width: clamp(300px, 82vw, 360px);
  --tp-who-rail-gap: 1rem;
  --tp-who-rail-pad: clamp(1rem, 2.8vw, 2rem);
  padding-bottom: 1.9rem;
}

.tp-who-rail-btn {
  position: absolute;
  top: calc((var(--tp-who-card-width) * 0.5) + 0.5rem);
  transform: translateY(-50%);
  z-index: 4;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-width: 1px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 18px 42px rgba(17, 24, 39, 0.16),
    0 6px 18px rgba(61, 122, 95, 0.12);
}

.tp-who-rail-btn--prev {
  left: clamp(0.5rem, 1.8vw, 1.5rem);
}

.tp-who-rail-btn--next {
  right: clamp(0.5rem, 1.8vw, 1.5rem);
}

.tp-who-rail-btn[disabled] {
  opacity: 0.28;
  pointer-events: none;
}

:where(.uc-dark) .tp-who-rail-btn {
  background: rgba(17, 24, 39, 0.82);
  border-color: rgba(200, 230, 209, 0.18);
  color: #f9fafb;
}

.tp-who-rail-wrap::before,
.tp-who-rail-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(14px, 3vw, 28px);
  z-index: 2;
  pointer-events: none;
}

.tp-who-rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 100%);
}

.tp-who-rail-wrap::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0) 100%);
}

:where(.uc-dark) .tp-who-rail-wrap::before {
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.78) 0%, rgba(17, 24, 39, 0) 100%);
}

:where(.uc-dark) .tp-who-rail-wrap::after {
  background: linear-gradient(270deg, rgba(17, 24, 39, 0.78) 0%, rgba(17, 24, 39, 0) 100%);
}

.tp-who-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--tp-who-card-width);
  gap: var(--tp-who-rail-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-inline-start: var(--tp-who-rail-pad);
  scroll-padding-inline-end: var(--tp-who-rail-pad);
  /* Give the card shadows room inside the scroll container so they fade out
     instead of getting clipped into a hard horizontal line. */
  padding: 0.25rem var(--tp-who-rail-pad) 1.5rem;
  margin: 0;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.tp-who-rail::-webkit-scrollbar {
  display: none;
}

.tp-who-rail:active {
  cursor: grabbing;
}

.tp-who-rail.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.tp-who-rail.is-loop-jump {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.tp-who-rail.is-dragging .tp-who-card {
  pointer-events: none;
}

.tp-who-card {
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  border: 1px solid rgba(61, 122, 95, 0.08);
  box-shadow:
    0 18px 40px rgba(61, 122, 95, 0.08),
    0 8px 18px rgba(17, 24, 39, 0.04);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  border-radius: 24px !important;
}

.tp-who-card:hover,
.tp-who-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(61, 122, 95, 0.18);
  box-shadow:
    0 20px 44px rgba(61, 122, 95, 0.12),
    0 10px 24px rgba(17, 24, 39, 0.08);
}

.tp-who-card .featured-image {
  border-radius: 1rem;
}

.tp-who-card img {
  -webkit-user-drag: none;
  user-select: none;
}

@media (min-width: 576px) {
  .tp-who-rail-wrap {
    --tp-who-card-width: clamp(320px, 68vw, 400px);
  }
}

@media (min-width: 768px) {
  .tp-who-rail-wrap {
    --tp-who-card-width: clamp(360px, 52vw, 430px);
    --tp-who-rail-gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .tp-who-rail-wrap {
    --tp-who-card-width: clamp(360px, 34vw, 460px);
    --tp-who-rail-gap: 1.35rem;
  }
}

@media (min-width: 1200px) {
  .tp-who-rail-wrap {
    --tp-who-card-width: clamp(380px, 31vw, 500px);
    --tp-who-rail-gap: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .tp-who-rail {
    cursor: auto;
  }
}

/* ── Hero: radial halo behind headline ── */
.tp-hero-bg-surface {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.tp-hero-bg-surface::before,
.tp-hero-bg-surface::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.tp-hero-bg-surface::before {
  z-index: 1;
  background-image:
    radial-gradient(42% 56% at 10% 18%, rgba(61, 122, 95, 0.18) 0%, rgba(61, 122, 95, 0) 72%),
    radial-gradient(36% 48% at 88% 24%, rgba(86, 138, 112, 0.16) 0%, rgba(86, 138, 112, 0) 74%),
    radial-gradient(58% 66% at 54% 90%, rgba(61, 122, 95, 0.11) 0%, rgba(61, 122, 95, 0) 76%),
    linear-gradient(120deg, rgba(61, 122, 95, 0.08), rgba(61, 122, 95, 0.01) 44%, rgba(61, 122, 95, 0.06));
}
.tp-hero-bg-surface::after {
  z-index: 2;
  background-image:
    repeating-linear-gradient(-36deg, rgba(61, 122, 95, 0.06) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(36deg, rgba(61, 122, 95, 0.045) 0 1px, transparent 1px 28px);
  opacity: 0.45;
}
.tp-hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 250, 247, 0.93)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.9) 56%, rgba(255, 255, 255, 0.97) 100%),
    repeating-linear-gradient(0deg, rgba(61, 122, 95, 0.045) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(61, 122, 95, 0.04) 0 1px, transparent 1px 34px),
    url('/assets/images/template/tp-strategy-call-portrait.jpg');
  background-repeat: no-repeat;
  background-size: auto, auto, 34px 34px, 34px 34px, cover;
  background-position: center, center, center, center, center;
  background-blend-mode: normal, normal, multiply, multiply, soft-light;
  opacity: 0.24;
  transform: scale(1.04);
  filter: saturate(0.65) contrast(0.9);
  pointer-events: none;
}
:where(.uc-dark) .tp-hero-bg-photo {
  background-image:
    linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.92)),
    radial-gradient(circle at 50% 35%, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.8) 56%, rgba(15, 23, 42, 0.93) 100%),
    repeating-linear-gradient(0deg, rgba(200, 230, 209, 0.05) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(200, 230, 209, 0.04) 0 1px, transparent 1px 34px),
    url('/assets/images/template/tp-strategy-call-portrait.jpg');
  background-size: auto, auto, 34px 34px, 34px 34px, cover;
  background-position: center, center, center, center, center;
  background-blend-mode: normal, normal, screen, screen, soft-light;
  opacity: 0.2;
  filter: saturate(0.55) contrast(0.88);
}
:where(.uc-dark) .tp-hero-bg-surface::before {
  background-image:
    radial-gradient(44% 58% at 12% 16%, rgba(122, 204, 165, 0.17) 0%, rgba(122, 204, 165, 0) 74%),
    radial-gradient(36% 48% at 86% 22%, rgba(144, 214, 182, 0.14) 0%, rgba(144, 214, 182, 0) 74%),
    radial-gradient(62% 68% at 52% 92%, rgba(122, 204, 165, 0.11) 0%, rgba(122, 204, 165, 0) 78%),
    linear-gradient(120deg, rgba(122, 204, 165, 0.11), rgba(122, 204, 165, 0.02) 46%, rgba(122, 204, 165, 0.08));
}
:where(.uc-dark) .tp-hero-bg-surface::after {
  background-image:
    repeating-linear-gradient(-36deg, rgba(190, 232, 212, 0.08) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(36deg, rgba(190, 232, 212, 0.06) 0 1px, transparent 1px 28px);
  opacity: 0.38;
}

.tp-hero-headline-wrap {
  isolation: isolate;
}
.tp-hero-headline-wrap::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  top: -20%;
  background: radial-gradient(circle at 50% 30%, rgba(61, 122, 95, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
:where(.uc-dark) .tp-hero-headline-wrap::before {
  background: radial-gradient(circle at 50% 30%, rgba(200, 230, 209, 0.08), transparent 60%);
}
.tp-hero-headline-wrap > * {
  position: relative;
  z-index: 1;
}

.tp-hero-cred {
  max-width: min(92%, 720px);
  margin-inline: auto;
  line-height: 1.55;
  letter-spacing: 0.01em;
  font-weight: 500;
  color: rgba(20, 35, 26, 0.82);
  text-wrap: balance;
}

.tp-hero-cred span {
  font-weight: 700;
  color: rgba(20, 35, 26, 0.94);
}

:where(.uc-dark) .tp-hero-cred {
  color: rgba(226, 236, 231, 0.85);
}

:where(.uc-dark) .tp-hero-cred span {
  color: rgba(238, 246, 241, 0.96);
}

/* ── Hero AI Agents ── */

.tp-hero-agents { pointer-events: none; }

.tp-agent {
  z-index: 2;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tp-agent-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-agent-avatar {
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(61, 122, 95, 0.2),
              0 0 0 1px rgba(61, 122, 95, 0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}
:where(.uc-dark) .tp-agent-avatar {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25),
              0 0 20px rgba(200, 230, 209, 0.12);
}
.tp-hero-agents .tp-agent-avatar {
  animation: tp-avatar-float 7s ease-in-out infinite;
}
.tp-hero-agents .tp-agent:nth-child(1) .tp-agent-avatar { animation-delay: 0s; }
.tp-hero-agents .tp-agent:nth-child(2) .tp-agent-avatar { animation-delay: 1.2s; }
.tp-hero-agents .tp-agent:nth-child(3) .tp-agent-avatar { animation-delay: 0.6s; }
.tp-hero-agents .tp-agent:nth-child(4) .tp-agent-avatar { animation-delay: 2s; }
.tp-hero-agents .tp-agent:nth-child(5) .tp-agent-avatar { animation-delay: 1.5s; }
.tp-hero-agents .tp-agent:nth-child(6) .tp-agent-avatar { animation-delay: 0.3s; }
@keyframes tp-avatar-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .tp-hero-agents .tp-agent-avatar { animation: none; }
}
.tp-agent--speaking .tp-agent-avatar {
  transform: scale(1.15);
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 4px rgba(61, 122, 95, 0.15);
}
:where(.uc-dark) .tp-agent--speaking .tp-agent-avatar {
  border-color: var(--color-tertiary) !important;
  box-shadow: 0 0 0 4px rgba(200, 230, 209, 0.15);
}

.tp-agent-label {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--color-primary);
  opacity: 0.7;
  margin-top: 4px;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
:where(.uc-dark) .tp-agent-label {
  color: var(--color-tertiary);
}
.tp-agent--speaking .tp-agent-label {
  opacity: 1;
}

/* Speech bubbles – high contrast so they read clearly as dialogue */
.tp-bubble {
  --tp-bubble-bg: rgba(15, 23, 42, 0.62);
  --tp-bubble-border: rgba(148, 163, 184, 0.45);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: max-content;
  max-width: 210px;
  padding: 12px 16px;
  background: var(--tp-bubble-bg);
  border: 1px solid var(--tp-bubble-border);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(2, 6, 23, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
}
:where(.uc-dark) .tp-bubble {
  --tp-bubble-bg: rgba(2, 6, 23, 0.64);
  --tp-bubble-border: rgba(148, 163, 184, 0.4);
  background: var(--tp-bubble-bg);
  border-color: var(--tp-bubble-border);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tp-bubble--right {
  left: calc(100% + 14px);
  transform: translateY(-50%) translateX(6px);
}
.tp-bubble--left {
  right: calc(100% + 14px);
  transform: translateY(-50%) translateX(-6px);
}

.tp-bubble--visible {
  opacity: 1;
}
.tp-bubble--visible.tp-bubble--right {
  transform: translateY(-50%) translateX(0);
}
.tp-bubble--visible.tp-bubble--left {
  transform: translateY(-50%) translateX(0);
}

/* Bubble arrow */
.tp-bubble::before,
.tp-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.tp-bubble::before {
  width: 14px;
  height: 16px;
  background: var(--tp-bubble-border);
}

.tp-bubble::after {
  width: 12px;
  height: 14px;
  background: var(--tp-bubble-bg);
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
}

:where(.uc-dark) .tp-bubble::before {
  background: var(--tp-bubble-border);
}

:where(.uc-dark) .tp-bubble::after {
  background: var(--tp-bubble-bg);
}

.tp-bubble--right::before {
  left: -13px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}
.tp-bubble--left::before {
  right: -13px;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.tp-bubble--right::after {
  left: -11px;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.tp-bubble--left::after {
  right: -11px;
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.tp-bubble-text {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #f8fafc;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}
:where(.uc-dark) .tp-bubble-text {
  color: #f1f5f9;
}

@media (max-width: 1399.98px) {
  .tp-bubble { max-width: 180px; padding: 8px 12px; }
  .tp-bubble-text { font-size: 11px; }
}

@media (min-width: 1200px) {
  #hero_header {
    --tp-navbar-offset: calc(92px + env(safe-area-inset-top, 0px));
    padding-top: calc(var(--tp-navbar-offset) + clamp(0.15rem, 0.8vh, 0.5rem)) !important;
  }
  #hero_header .section-outer {
    min-height: auto;
    display: flex;
    align-items: flex-start;
    padding-top: clamp(0.25rem, 1vh, 0.75rem);
    padding-bottom: clamp(1rem, 2.2vh, 1.75rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-bubble { transition: none; }
  .tp-agent-avatar { transition: none; }
}

/* ── Hero CTA micro-interaction ── */
.tp-hero-cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.tp-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18),
              0 0 24px rgba(61, 122, 95, 0.25);
}
:where(.uc-dark) .tp-hero-cta:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35),
              0 0 24px rgba(200, 230, 209, 0.2);
}
.tp-hero-cta .unicon-arrow-right {
  transition: transform 0.2s ease;
}
.tp-hero-cta:hover .unicon-arrow-right {
  transform: translateX(3px);
}

/* ── AI System Map ── */

/* What We Do: warm flat base + parallax depth planes */
.tp-main-features-stage {
  position: relative;
  isolation: isolate;
}

.tp-main-features-base {
  background: #f6f4ef !important;
  opacity: 1 !important;
}

.tp-main-features-base-dark {
  background: linear-gradient(180deg, rgba(22, 28, 26, 0.96) 0%, rgba(18, 24, 22, 0.98) 100%) !important;
}

.tp-depth-layers {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.tp-depth-layer {
  --tp-depth-shift-x: 0px;
  --tp-depth-shift: 0px;
  position: absolute;
  inset: -4%;
  pointer-events: none;
  transform: translate3d(var(--tp-depth-shift-x), var(--tp-depth-shift), 0);
  will-change: transform;
  contain: paint;
}

.tp-depth-layer--far {
  inset: -8%;
  background:
    radial-gradient(54% 46% at 22% 14%, rgba(239, 234, 224, 0.72) 0%, rgba(239, 234, 224, 0) 100%),
    radial-gradient(48% 42% at 82% 74%, rgba(233, 227, 214, 0.62) 0%, rgba(233, 227, 214, 0) 100%);
}

.tp-depth-layer--mid {
  background-image:
    linear-gradient(rgba(61, 122, 95, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 122, 95, 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.48;
}

.tp-depth-layer--near {
  background:
    radial-gradient(28px 28px at 18% 70%, rgba(61, 122, 95, 0.14) 0%, rgba(61, 122, 95, 0) 100%),
    radial-gradient(22px 22px at 74% 24%, rgba(61, 122, 95, 0.12) 0%, rgba(61, 122, 95, 0) 100%),
    radial-gradient(20px 20px at 86% 62%, rgba(61, 122, 95, 0.12) 0%, rgba(61, 122, 95, 0) 100%);
  opacity: 0.45;
}

.tp-depth-chip {
  --tp-chip-shift-x: 0px;
  --tp-chip-shift-y: 0px;
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(61, 122, 95, 0.18);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 14px rgba(61, 122, 95, 0.1);
  opacity: 0.88;
  transform: translate3d(var(--tp-chip-shift-x), var(--tp-chip-shift-y), 0);
  will-change: transform;
}

.tp-depth-chip img {
  width: 20px;
  height: 20px;
}

.tp-depth-chip--lg {
  width: 62px !important;
  height: 62px !important;
  border-radius: 14px;
}

.tp-depth-chip--xl {
  width: 76px !important;
  height: 76px !important;
  border-radius: 16px;
}

.tp-depth-chip--lg img {
  width: 26px;
  height: 26px;
}

.tp-depth-chip--xl img {
  width: 32px;
  height: 32px;
}

.tp-depth-chip--far-1 { top: 14%; left: 10%; }
.tp-depth-chip--far-2 { top: 68%; right: 12%; }
.tp-depth-chip--mid-1 { top: 24%; right: 16%; }
.tp-depth-chip--mid-2 { top: 70%; left: 18%; }
.tp-depth-chip--near-1 { top: 16%; left: 66%; }
.tp-depth-chip--near-2 { top: 56%; right: 26%; }
.tp-depth-chip--near-3 { top: 78%; left: 40%; }

.tp-depth-layer--far .tp-depth-chip {
  width: 40px;
  height: 40px;
  opacity: 0.45;
}

.tp-depth-layer--mid .tp-depth-chip {
  width: 44px;
  height: 44px;
  opacity: 0.6;
}

.tp-depth-layer--near .tp-depth-chip {
  width: 50px;
  height: 50px;
  opacity: 0.78;
}

:where(.uc-dark) .tp-main-features-base {
  background: rgba(17, 24, 22, 0.96) !important;
}

:where(.uc-dark) .tp-depth-layer--far {
  background:
    radial-gradient(50% 44% at 20% 10%, rgba(200, 230, 209, 0.09) 0%, rgba(200, 230, 209, 0) 100%),
    radial-gradient(52% 46% at 82% 74%, rgba(123, 184, 147, 0.08) 0%, rgba(123, 184, 147, 0) 100%);
}

:where(.uc-dark) .tp-depth-layer--mid {
  background-image:
    linear-gradient(rgba(200, 230, 209, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 230, 209, 0.1) 1px, transparent 1px);
  opacity: 0.3;
}

:where(.uc-dark) .tp-depth-layer--near {
  background:
    radial-gradient(24px 24px at 18% 70%, rgba(200, 230, 209, 0.11) 0%, rgba(200, 230, 209, 0) 100%),
    radial-gradient(20px 20px at 74% 24%, rgba(122, 184, 147, 0.14) 0%, rgba(122, 184, 147, 0) 100%),
    radial-gradient(18px 18px at 86% 62%, rgba(200, 230, 209, 0.1) 0%, rgba(200, 230, 209, 0) 100%);
  opacity: 0.32;
}

:where(.uc-dark) .tp-depth-chip {
  border-color: rgba(200, 230, 209, 0.2);
  background: rgba(17, 24, 22, 0.7);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

@media (max-width: 991.98px) {
  .tp-depth-layer--near {
    opacity: 0.35;
  }
}

@media (max-width: 767.98px) {
  .tp-depth-layer--near {
    display: none;
  }
  .tp-depth-layer--mid {
    opacity: 0.2;
  }
  .tp-depth-chip {
    width: 36px !important;
    height: 36px !important;
  }
  .tp-depth-chip img {
    width: 16px;
    height: 16px;
  }
  .tp-depth-chip--lg,
  .tp-depth-chip--xl {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px;
  }
  .tp-depth-chip--lg img,
  .tp-depth-chip--xl img {
    width: 18px;
    height: 18px;
  }
  #main_features .tp-particles {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  #main_features .tp-aura {
    display: none;
  }
}

/* Dot-grid + radial depth behind diagram */
.tp-systemmap {
  isolation: isolate;
}
.tp-systemmap-grid {
  position: absolute;
  inset: -24px;
  background-image: radial-gradient(circle, rgba(61, 122, 95, 0.085) 1.25px, transparent 1.25px);
  background-size: 20px 20px;
  border-radius: 20px;
  pointer-events: none;
  z-index: 0;
}
.tp-systemmap-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(61, 122, 95, 0.04), transparent 70%);
  pointer-events: none;
}
:where(.uc-dark) .tp-systemmap-grid {
  background-image: radial-gradient(circle, rgba(200, 230, 209, 0.08) 1.25px, transparent 1.25px);
}
:where(.uc-dark) .tp-systemmap-grid::after {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(200, 230, 209, 0.03), transparent 70%);
}

/* 3-column grid layout */
.tp-systemmap-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  z-index: 1;
  position: relative;
}
.tp-systemmap-flow  { order: 1; }
.tp-systemmap-side--left  { order: 2; }
.tp-systemmap-side--right { order: 3; }

@media (min-width: 576px) and (max-width: 991.98px) {
  .tp-systemmap-layout {
    grid-template-columns: 1fr 1fr;
  }
  .tp-systemmap-flow {
    grid-column: 1 / -1;
    order: 1;
  }
  .tp-systemmap-side--left { order: 2; }
  .tp-systemmap-side--right { order: 3; }
  .tp-support-agents-label { text-align: center; }
}
@media (min-width: 992px) {
  .tp-systemmap-layout {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
    gap: 2rem;
  }
  .tp-systemmap-side--left  { order: 1; }
  .tp-systemmap-flow  { order: 2; }
  .tp-systemmap-side--right { order: 3; }
}

/* Support agents micro-label */
.tp-support-agents-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  opacity: 0.45;
  margin-bottom: 0.5rem;
}
:where(.uc-dark) .tp-support-agents-label {
  color: var(--color-tertiary);
  opacity: 0.4;
}

/* Support card status line (rotating) */
.tp-support-status {
  min-height: 1.35em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.55);
}
:where(.uc-dark) .tp-support-status {
  color: rgba(255, 255, 255, 0.55);
}

/* Feed direction hint at bottom of support card */
.tp-support-feed-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(61, 122, 95, 0.12);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  opacity: 0.5;
}
:where(.uc-dark) .tp-support-feed-hint {
  border-top-color: rgba(200, 230, 209, 0.1);
  color: var(--color-tertiary);
  opacity: 0.4;
}

/* ── Support cards (left / right columns) ── */
.tp-support-card {
  background: #ffffff;
  border: 1px solid rgba(61, 122, 95, 0.12);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 6px 28px rgba(61, 122, 95, 0.06);
  position: relative;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tp-support-card:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 36px rgba(61, 122, 95, 0.13);
}
:where(.uc-dark) .tp-support-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(200, 230, 209, 0.12);
}

.tp-support-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-primary);
  margin: 0 auto;
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}
:where(.uc-dark) .tp-support-card-icon {
  background: rgba(200, 230, 209, 0.1);
  color: var(--color-tertiary);
}
.tp-support-card:hover .tp-support-card-icon {
  transform: scale(1.12);
  background: var(--color-primary);
  color: #ffffff;
}

/* Support card avatars (same agents as hero + flow) */
.tp-support-card-avatar-wrap {
  position: relative;
  width: 48px;
  height: 48px;
  margin: 0 auto;
  flex-shrink: 0;
}
.tp-support-card-avatar {
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tp-support-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tp-support-card:hover .tp-support-card-avatar {
  transform: scale(1.08);
}
.tp-support-card-avatar-wrap .tp-flow-node-active {
  bottom: -1px;
  right: -1px;
}

.tp-support-desc {
  color: rgba(0, 0, 0, 0.55);
}
:where(.uc-dark) .tp-support-desc {
  color: rgba(255, 255, 255, 0.55);
}

.tp-support-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 100px;
  background: var(--color-secondary);
  color: var(--color-primary);
}
:where(.uc-dark) .tp-support-badge {
  background: rgba(200, 230, 209, 0.1);
  color: var(--color-tertiary);
}

/* Dotted connectors drawn by JS as absolute-positioned elements */
.tp-connector-line {
  position: absolute;
  border-top: 1.5px dotted rgba(61, 122, 95, 0.3);
  pointer-events: none;
  z-index: 0;
  animation: tp-connector-pulse 4s ease-in-out infinite;
}
.tp-connector-line--right {
  animation-delay: 0.5s;
}
:where(.uc-dark) .tp-connector-line {
  border-top-color: rgba(200, 230, 209, 0.2);
}
@keyframes tp-connector-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-connector-line { animation: none; }
}
@media (max-width: 991.98px) {
  .tp-connector-line { display: none; }
}

/* Support card active state (cycle highlight) */
.tp-support-card--active {
  box-shadow: 0 0 0 2px var(--color-primary),
              0 8px 32px rgba(61, 122, 95, 0.15),
              0 0 20px rgba(61, 122, 95, 0.1);
  border-color: var(--color-primary);
}
:where(.uc-dark) .tp-support-card--active {
  box-shadow: 0 0 0 2px var(--color-tertiary),
              0 8px 32px rgba(0, 0, 0, 0.25),
              0 0 20px rgba(200, 230, 209, 0.08);
  border-color: var(--color-tertiary);
}

/* ── Center flow nodes (agent cards) ── */
.tp-flow-node {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  width: min(100%, 280px);
  min-width: 0;
  max-width: 280px;
  box-sizing: border-box;
  background: #ffffff;
  border: 2px solid var(--color-tertiary);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(61, 122, 95, 0.08);
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              border-color 0.2s ease;
  animation: none;
}
.tp-flow-node:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 36px rgba(61, 122, 95, 0.18);
  border-color: var(--color-primary);
  animation: none;
}
.tp-flow-node--active {
  box-shadow: 0 0 0 2px var(--color-primary),
              0 8px 32px rgba(61, 122, 95, 0.2),
              0 0 24px rgba(61, 122, 95, 0.15);
  border-color: var(--color-primary);
  animation: none;
}
:where(.uc-dark) .tp-flow-node--active {
  box-shadow: 0 0 0 2px var(--color-tertiary),
              0 8px 32px rgba(0, 0, 0, 0.3),
              0 0 24px rgba(200, 230, 209, 0.12);
  border-color: var(--color-tertiary);
}
:where(.uc-dark) .tp-flow-node {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 230, 209, 0.25);
}
:where(.uc-dark) .tp-flow-node:hover {
  border-color: var(--color-tertiary);
}

.tp-flow-node-avatar-wrap {
  position: relative;
  flex: none;
}
.tp-flow-node-avatar {
  width: 44px;
  height: 44px;
  flex: none;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tp-flow-node:hover .tp-flow-node-avatar {
  transform: scale(1.08);
}
.tp-flow-node-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Active indicator (green dot) next to avatar */
.tp-flow-node-active {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(61, 122, 95, 0.3);
  animation: tp-active-pulse 2s ease-in-out infinite;
}
:where(.uc-dark) .tp-flow-node-active {
  background: var(--color-tertiary);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(200, 230, 209, 0.25);
}
.tp-flow-node:hover .tp-flow-node-active {
  animation: tp-active-pulse 0.8s ease-in-out infinite;
}
@keyframes tp-active-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.1); }
}

.tp-flow-node-text {
  min-width: 0;
  text-align: left;
}
.tp-flow-node-title {
  display: block;
  color: var(--color-primary-800);
}
:where(.uc-dark) .tp-flow-node-title {
  color: #ffffff;
}
.tp-flow-node-desc {
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  line-height: 1.35;
  min-height: 2.7em;
}
:where(.uc-dark) .tp-flow-node-desc {
  color: rgba(255, 255, 255, 0.55);
}

@keyframes node-breathe {
  0%, 100% { box-shadow: 0 4px 20px rgba(61, 122, 95, 0.08); }
  50%      { box-shadow: 0 6px 28px rgba(61, 122, 95, 0.14); }
}

/* ── Milestone pills (New Lead / Client Call) ── */
.tp-flow-milestone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--color-primary);
  color: #ffffff;
  border-radius: 100px;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(61, 122, 95, 0.22),
              0 0 0 4px rgba(61, 122, 95, 0.08);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
}
.tp-flow-milestone:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(61, 122, 95, 0.28),
              0 0 0 6px rgba(61, 122, 95, 0.10);
}
:where(.uc-dark) .tp-flow-milestone {
  background: var(--color-tertiary);
  color: var(--color-primary-900);
  box-shadow: 0 4px 20px rgba(200, 230, 209, 0.18),
              0 0 0 4px rgba(200, 230, 209, 0.06);
}

/* ── Vertical connectors + data flow dot ── */
.tp-flow-connector {
  width: 2px;
  height: 32px;
  background: var(--color-primary-300);
  position: relative;
  flex: none;
  overflow: visible;
}
.tp-flow-dot {
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  margin-top: -3px;
  top: 0;
  background: var(--color-primary);
  border-radius: 50%;
  animation: tp-flow-dot 3s linear infinite;
  opacity: 0.9;
}
.tp-systemmap-flow .tp-flow-connector:nth-child(2) .tp-flow-dot { animation-delay: 0s; }
.tp-systemmap-flow .tp-flow-connector:nth-child(4) .tp-flow-dot { animation-delay: 0.6s; }
.tp-systemmap-flow .tp-flow-connector:nth-child(6) .tp-flow-dot { animation-delay: 1.2s; }
.tp-systemmap-flow .tp-flow-connector:nth-child(8) .tp-flow-dot { animation-delay: 1.8s; }
.tp-systemmap-flow .tp-flow-connector:nth-child(10) .tp-flow-dot { animation-delay: 2.4s; }
@keyframes tp-flow-dot {
  0% { top: 0; opacity: 0.5; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { top: 100%; opacity: 0.5; }
}
@media (prefers-reduced-motion: reduce) {
  .tp-flow-dot { animation: none; opacity: 0; }
}
.tp-flow-connector::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--color-primary-300);
}
:where(.uc-dark) .tp-flow-connector {
  background: rgba(200, 230, 209, 0.3);
}
:where(.uc-dark) .tp-flow-dot {
  background: var(--color-tertiary);
}
:where(.uc-dark) .tp-flow-connector::after {
  border-top-color: rgba(200, 230, 209, 0.3);
}

/* ── Micro step labels ── */
.tp-flow-step-label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  opacity: 0.7;
  white-space: nowrap;
}
:where(.uc-dark) .tp-flow-step-label {
  color: var(--color-tertiary);
  opacity: 0.65;
}
@media (max-width: 1199.98px) {
  .tp-flow-step-label {
    left: 50%;
    top: calc(100% + 8px);
    transform: translateX(-50%);
    text-align: center;
    white-space: normal;
    max-width: 140px;
    line-height: 1.25;
  }
}

/* ── Outcome pills (with icons, hover lift, stronger contrast) ── */
.tp-outcome {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: 1.5px solid var(--color-primary-300);
  color: var(--color-primary-800);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(61, 122, 95, 0.08);
}
.tp-outcome:hover {
  transform: translateY(-2px);
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(61, 122, 95, 0.25);
}
.tp-outcome i {
  opacity: 0.9;
}
:where(.uc-dark) .tp-outcome {
  border-color: rgba(200, 230, 209, 0.3);
  color: var(--color-tertiary);
  background: rgba(255, 255, 255, 0.06);
}
:where(.uc-dark) .tp-outcome:hover {
  background: var(--color-tertiary);
  color: var(--color-primary-900);
  border-color: var(--color-tertiary);
  box-shadow: 0 6px 20px rgba(200, 230, 209, 0.2);
}

/* ── Capability Card Grid ── */
.tp-cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 576px) {
  .tp-cap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}
@media (min-width: 992px) {
  .tp-cap-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
}

.tp-cap-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(61, 122, 95, 0.08);
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(61, 122, 95, 0.04);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}
.tp-cap-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(61, 122, 95, 0.10);
  border-color: var(--color-tertiary);
}
:where(.uc-dark) .tp-cap-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(200, 230, 209, 0.08);
}
:where(.uc-dark) .tp-cap-card:hover {
  border-color: rgba(200, 230, 209, 0.2);
}

.tp-cap-card-icon {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 10px;
  background: var(--color-secondary);
  transition: transform 0.35s ease, background 0.35s ease;
}
:where(.uc-dark) .tp-cap-card-icon {
  background: rgba(200, 230, 209, 0.08);
}
.tp-cap-card:hover .tp-cap-card-icon {
  transform: scale(1.1);
  background: var(--color-primary);
}
.tp-cap-card:hover .tp-cap-card-icon img,
.tp-cap-card:hover .tp-cap-card-icon svg,
.tp-cap-card:hover .tp-cap-card-icon svg path {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.tp-cap-card-desc {
  color: rgba(0, 0, 0, 0.5);
}
:where(.uc-dark) .tp-cap-card-desc {
  color: rgba(255, 255, 255, 0.5);
}

/* ── Capability List (What Your AI Team Runs) ── */
.tp-cap-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 576px) {
  .tp-cap-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
  }
}
@media (min-width: 992px) {
  .tp-cap-list {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 960px;
    column-gap: 28px;
  }
}

.tp-cap-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(61, 122, 95, 0.12);
  transition: opacity 0.25s ease;
}
.tp-cap-list-item:last-child {
  border-bottom: none;
}
:where(.uc-dark) .tp-cap-list-item {
  border-bottom-color: rgba(200, 230, 209, 0.1);
}

.tp-cap-list-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}
:where(.uc-dark) .tp-cap-list-icon {
  background: rgba(200, 230, 209, 0.08);
}

.tp-cap-list-desc {
  color: rgba(0, 0, 0, 0.55);
}
:where(.uc-dark) .tp-cap-list-desc {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Ambient Particles ── */
.tp-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
  z-index: 0;
}

.tp-particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  will-change: auto;
}

@supports (content-visibility: auto) {
  #main_features.section,
  #who_we_serve.section,
  #how_it_works.section,
  #proof_results.section,
  #faq.section,
  #about_twin_partners.section {
    content-visibility: auto;
    contain: layout paint style;
    contain-intrinsic-size: 1px 1000px;
  }
}

/* Pause decorative loops when tab/page is hidden. */
.tp-page-hidden .tp-aura,
.tp-page-hidden .tp-particle,
.tp-page-hidden .tp-depth-layer,
.tp-page-hidden .tp-flow-dot,
.tp-page-hidden .tp-connector-line,
.tp-page-hidden .tp-hero-agents .tp-agent-avatar,
.tp-page-hidden .tp-flow-node,
.tp-page-hidden .tp-flow-node-active {
  animation-play-state: paused !important;
}

/* Stop section-heavy loops while section is offscreen. */
#main_features.section:not(.tp-inview) .tp-aura,
#main_features.section:not(.tp-inview) .tp-particle,
#main_features.section:not(.tp-inview) .tp-depth-layer,
#main_features.section:not(.tp-inview) .tp-flow-dot,
#main_features.section:not(.tp-inview) .tp-connector-line,
#main_features.section:not(.tp-inview) .tp-flow-node,
#main_features.section:not(.tp-inview) .tp-flow-node-active {
  animation-play-state: paused !important;
}

#hero_header.section:not(.tp-inview) .tp-hero-agents .tp-agent-avatar {
  animation-play-state: paused !important;
}

/* Cross-browser fallback for unsupported backdrop-filter. */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .tp-bubble {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(15, 23, 42, 0.88);
  }
}

/* Graceful degradation profile for lower-power devices. */
.tp-perf-lite .tp-particles {
  display: none;
}
.tp-perf-lite .tp-depth-layer--near {
  display: none;
}
.tp-perf-lite .tp-aura {
  filter: blur(56px);
}
.tp-perf-lite .tp-bubble {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.tp-perf-lite .tp-flow-node,
.tp-perf-lite .tp-support-card,
.tp-perf-lite .tp-flow-milestone,
.tp-perf-lite .tp-agent-avatar {
  box-shadow: 0 4px 14px rgba(61, 122, 95, 0.12);
}
.tp-perf-lite .tp-connector-line {
  animation: none;
}

@keyframes particle-drift {
  0%   { transform: translate(0, 0) scale(1);   opacity: 0; }
  15%  { opacity: 0.35; }
  85%  { opacity: 0.35; }
  100% { transform: translate(var(--dx), var(--dy)) scale(var(--s2)); opacity: 0; }
}

.tp-particle-1 {
  width: 4px; height: 4px;
  background: var(--color-primary);
  top: 12%; left: 8%;
  --dx: 30px; --dy: -40px; --s2: 0.6;
  animation: particle-drift 12s ease-in-out infinite;
}
.tp-particle-2 {
  width: 6px; height: 6px;
  background: var(--color-tertiary);
  top: 25%; right: 12%;
  --dx: -20px; --dy: 35px; --s2: 1.3;
  animation: particle-drift 15s ease-in-out 2s infinite;
}
.tp-particle-3 {
  width: 3px; height: 3px;
  background: var(--color-primary-300);
  top: 55%; left: 5%;
  --dx: 25px; --dy: -20px; --s2: 0.8;
  animation: particle-drift 10s ease-in-out 1s infinite;
}
.tp-particle-4 {
  width: 5px; height: 5px;
  background: var(--color-tertiary);
  top: 70%; right: 7%;
  --dx: -15px; --dy: -30px; --s2: 1.1;
  animation: particle-drift 14s ease-in-out 3s infinite;
}
.tp-particle-5 {
  width: 3px; height: 3px;
  background: var(--color-primary);
  top: 40%; left: 15%;
  --dx: 18px; --dy: 25px; --s2: 0.7;
  animation: particle-drift 11s ease-in-out 4s infinite;
}
.tp-particle-6 {
  width: 4px; height: 4px;
  background: var(--color-primary-300);
  top: 85%; left: 30%;
  --dx: -20px; --dy: -15px; --s2: 1.2;
  animation: particle-drift 13s ease-in-out 5s infinite;
}
.tp-particle-7 {
  width: 5px; height: 5px;
  background: var(--color-tertiary);
  top: 18%; left: 45%;
  --dx: 10px; --dy: 30px; --s2: 0.9;
  animation: particle-drift 16s ease-in-out 1.5s infinite;
}
.tp-particle-8 {
  width: 3px; height: 3px;
  background: var(--color-primary);
  top: 60%; right: 20%;
  --dx: -12px; --dy: -22px; --s2: 1.4;
  animation: particle-drift 12s ease-in-out 6s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .tp-particle { animation: none !important; opacity: 0 !important; }
}
@media (max-width: 767.98px) {
  .tp-particle-1, .tp-particle-3, .tp-particle-5, .tp-particle-7 {
    display: none;
  }
}

/* About CTA bullet alignment */
#about_us .section-inner > .panel.vstack.text-center {
  align-items: center;
  gap: 0.95rem;
}

#about_us .section-inner > .panel.vstack.text-center > * {
  width: min(100%, 52rem);
}

#about_us .tp-about-cta-list {
  list-style: none;
  padding-left: 0;
  margin-left: auto;
  margin-right: auto;
}

#about_us .tp-workflow-card {
  width: min(100%, 30rem);
  margin-block: 0.35rem 0.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

#about_us .tp-workflow-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

#about_us .tp-workflow-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.2rem;
}

#about_us .tp-workflow-list li + li {
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

#about_us .tp-workflow-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--color-primary);
  flex-shrink: 0;
}

:where(.uc-dark) #about_us .tp-workflow-list li + li {
  border-top-color: rgba(255, 255, 255, 0.14);
}

#about_us .section-inner > .panel.vstack.text-center > p {
  line-height: 1.45;
}

@media (min-width: 768px) {
  #about_us .section-inner > .panel.vstack.text-center {
    gap: 1.1rem;
  }
}

#about_cta .tp-about-cta-content {
  align-items: center;
}

#about_cta .tp-about-cta-kicker {
  letter-spacing: 0.08em;
}

#about_cta .tp-about-cta-benefits {
  width: min(100%, 48rem);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#about_cta .tp-about-cta-benefits-title {
  margin-bottom: 1.1rem;
  line-height: 1.25;
}

#about_cta .tp-about-cta-lead {
  max-width: 34rem;
  line-height: 1.55;
}

#about_cta .tp-about-cta-icons {
  width: 100%;
  margin: 0;
}

#about_cta .tp-about-cta-icon-card {
  height: 100%;
  gap: 0.9rem;
  padding-inline: 0.75rem;
}

#about_cta .tp-about-cta-icon-wrap {
  width: 7.8125rem;
  height: 7.8125rem;
  border-radius: 999px;
  background: rgba(61, 122, 95, 0.12);
  color: var(--color-primary);
}

#about_cta .tp-about-cta-icon-wrap--image {
  background: transparent;
}

#about_cta .tp-about-cta-icon-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transform-origin: center;
}

#about_cta .tp-about-cta-icon-image--systems {
  transform: scale(0.94);
}

#about_cta .tp-about-cta-icon-image--priority {
  transform: scale(1);
}

#about_cta .tp-about-cta-icon-image--plan {
  transform: scale(1.32);
}

#about_cta .tp-about-cta-icon-svg {
  width: 1.18rem;
  height: 1.18rem;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#about_cta .tp-about-cta-icon-text {
  max-width: 14ch;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

#about_cta .tp-about-cta-note {
  line-height: 1.35;
  letter-spacing: -0.02em;
}

#about_cta .tp-about-cta-meta {
  line-height: 1.5;
}

:where(.uc-dark) #about_cta .tp-about-cta-icon-wrap {
  background: rgba(146, 214, 181, 0.18);
}

/* Social proof toast: "Someone just scheduled a call" */
.social-proof-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 320px;
  padding: 1rem 1rem 1rem 1.25rem;
  background: var(--color-primary-25);
  border: 1px solid var(--color-primary-100);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(61, 122, 95, 0.15);
  animation: social-proof-toast-in 0.35s ease-out;
}
.social-proof-toast__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-primary);
}
.social-proof-toast__content {
  flex: 1;
  min-width: 0;
}
.social-proof-toast__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}
.social-proof-toast__message {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--color-primary-900);
}
.social-proof-toast__close {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-primary-600);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.social-proof-toast__close:hover {
  background: var(--color-primary-100);
  color: var(--color-primary-800);
}
@keyframes social-proof-toast-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .social-proof-toast {
    animation: none;
  }
}
@media (max-width: 575.98px) {
  .social-proof-toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

/* ── Select placeholder consistency ── */
select.form-control:invalid {
  color: var(--bs-secondary-color);
}
select.form-control option {
  color: initial;
}

/* ── Contact form (premium, aligned, consistent) ── */
.tp-contact-form {
  --tp-form-height: 48px;
  --tp-form-radius: 10px;
  --tp-form-px: 14px;
  --tp-form-fs: 0.9375rem;
  --tp-form-gap: 14px;
  --tp-form-border: rgba(61, 122, 95, 0.2);
  --tp-form-placeholder: rgba(0, 0, 0, 0.45);
  gap: 0;
}
.tp-contact-form__intro {
  margin: 0 0 var(--tp-form-gap) 0;
  line-height: 1.5;
}
.tp-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tp-form-gap);
  margin-bottom: var(--tp-form-gap);
}
@media (min-width: 576px) {
  .tp-contact-form__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.tp-contact-form__field {
  min-width: 0;
}
.tp-contact-form__field--full {
  margin-bottom: var(--tp-form-gap);
}
.tp-contact-form__checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: var(--tp-form-gap);
  cursor: pointer;
  font-size: var(--tp-form-fs);
  line-height: 1.45;
  color: inherit;
}
.tp-contact-form__checkbox {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.tp-contact-form__checkbox-label {
  opacity: 0.9;
}
.dark .tp-contact-form__checkbox-wrap,
:where(.uc-dark) .tp-contact-form__checkbox-wrap {
  color: #f9fafb;
}
.tp-contact-form__input {
  display: block;
  width: 100%;
  height: var(--tp-form-height);
  padding: 0 var(--tp-form-px);
  font-size: var(--tp-form-fs);
  font-weight: 400;
  line-height: 1.4;
  color: inherit;
  background: #ffffff;
  border: 1px solid var(--tp-form-border);
  border-radius: var(--tp-form-radius);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.tp-contact-form__input::placeholder {
  color: var(--tp-form-placeholder);
}
.tp-contact-form__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(61, 122, 95, 0.2);
}
.tp-contact-form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--tp-form-px) center;
  padding-right: 36px;
}
.tp-contact-form__select:invalid {
  color: var(--tp-form-placeholder);
}
.tp-contact-form__select option {
  color: #1f2937;
}
.tp-contact-form__textarea {
  height: auto;
  min-height: 112px;
  padding-top: 12px;
  padding-bottom: 12px;
  resize: vertical;
}
.tp-contact-form__submit {
  width: 100%;
  height: var(--tp-form-height);
  padding: 0 1.5rem;
  font-size: var(--tp-form-fs);
  font-weight: 600;
  line-height: 1.4;
  border: 0;
  border-radius: var(--tp-form-radius);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.tp-contact-form__submit:hover {
  background-color: #31624c !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(61, 122, 95, 0.3);
}
.tp-contact-form__submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(61, 122, 95, 0.35);
}

/* Contact form: dark mode */
.dark .tp-contact-form__input,
:where(.uc-dark) .tp-contact-form__input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f9fafb;
}
.dark .tp-contact-form__input::placeholder,
:where(.uc-dark) .tp-contact-form__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.dark .tp-contact-form__input:focus,
:where(.uc-dark) .tp-contact-form__input:focus {
  border-color: var(--color-tertiary);
  box-shadow: 0 0 0 3px rgba(200, 230, 209, 0.2);
}
.dark .tp-contact-form__select,
:where(.uc-dark) .tp-contact-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e5e7eb' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
.dark .tp-contact-form__select:invalid,
:where(.uc-dark) .tp-contact-form__select:invalid {
  color: rgba(255, 255, 255, 0.5);
}
.dark .tp-contact-form__select option,
:where(.uc-dark) .tp-contact-form__select option {
  color: #f9fafb;
  background: #1f2937;
}
.dark .tp-contact-form__submit:hover,
:where(.uc-dark) .tp-contact-form__submit:hover {
  box-shadow: 0 4px 12px rgba(200, 230, 209, 0.25);
}
.dark .tp-contact-form__submit:focus,
:where(.uc-dark) .tp-contact-form__submit:focus {
  box-shadow: 0 0 0 3px rgba(200, 230, 209, 0.35);
}

/* ── Contact modal: consistent form field styling ── */
#uc-contact-modal .form-control {
  height: 48px;
  padding: 0 16px;
  line-height: 48px;
  font-size: inherit;
  box-sizing: border-box;
}
#uc-contact-modal textarea.form-control {
  height: auto;
  line-height: 1.5;
  padding: 12px 16px;
}
#uc-contact-modal select.form-control {
  height: 48px;
  padding: 0 36px 0 16px;
  line-height: 48px;
  font-size: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  box-sizing: border-box;
}
#uc-contact-modal select.form-control:invalid {
  color: #6b7280;
}
#uc-contact-modal select.form-control option {
  color: #1f2937;
}
#uc-contact-modal .dark select.form-control,
:where(.uc-dark) #uc-contact-modal select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e5e7eb' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
:where(.uc-dark) #uc-contact-modal select.form-control:invalid {
  color: rgba(255, 255, 255, 0.5);
}
:where(.uc-dark) #uc-contact-modal select.form-control option {
  color: #f9fafb;
  background: #1f2937;
}

/* A11y: robust focusable skip link */
.visually-hidden-focusable {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-visible {
  width: auto;
  height: auto;
  margin: 0.5rem;
  padding: 0.5rem 0.75rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  z-index: 2000;
}

/* A11y: generic visually hidden utility */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Newsletter CTA form polish */
.tp-newsletter-form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.tp-newsletter-field {
  flex: 1;
  min-width: 0;
}
.tp-newsletter-form .form-control {
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.tp-newsletter-form .form-control::placeholder {
  color: rgba(15, 23, 42, 0.5);
}
.tp-newsletter-form .btn {
  min-height: 48px;
  min-width: 168px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
@media (max-width: 575.98px) {
  .tp-newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }
  .tp-newsletter-form .btn {
    width: 100%;
  }
}

/* Mobile/reflow hardening for hero metrics overlay */
@media (max-width: 767.98px) {
  .hero-scroll-scene > .position-absolute.start-50.translate-middle-x {
    position: static !important;
    transform: none !important;
    margin-top: 0.75rem;
  }
  .hero-scroll-scene > .position-absolute.start-50.translate-middle-x .hstack {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
  .hero-scroll-scene > .position-absolute.start-50.translate-middle-x .text-nowrap {
    white-space: normal !important;
    text-align: center;
  }
}

/* Touch target minimums */
a[data-uc-backtotop] {
  min-width: 44px !important;
  min-height: 44px !important;
}

/* ── CTA editorial stat typography ── */
.tp-stat {
  position: absolute;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.tp-stat--revealed {
  opacity: 1;
  transform: translateY(0);
}

.tp-stat-number {
  font-size: clamp(2.2rem, 3.5vw, 3.4rem);
  font-weight: 800;
  line-height: 0.9;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.tp-stat-suffix {
  font-weight: 600;
  font-size: 0.6em;
  opacity: 0.75;
  vertical-align: 0.1em;
  margin-left: 0.02em;
}

.tp-stat-caption {
  font-size: clamp(0.56rem, 0.8vw, 0.7rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.35em;
  max-width: 10em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.12);
}

/* Asymmetric placement — frames the subject */
.tp-stat--a {
  top: 10%;
  left: 7%;
  text-align: left;
}
.tp-stat--b {
  top: 18%;
  left: 36%;
  text-align: left;
}
.tp-stat--b .tp-stat-caption {
  margin-left: 0;
}
.tp-stat--c {
  bottom: 10%;
  left: 8%;
  text-align: left;
}

/* Tablet: tighten spread */
@media (min-width: 576px) and (max-width: 991.98px) {
  .tp-stat--a { top: 8%; left: 6%; }
  .tp-stat--b { top: 14%; left: 34%; }
  .tp-stat--c { bottom: 8%; left: 6%; }
  .tp-stat-number { font-size: clamp(1.6rem, 3vw, 2.4rem); }
  .tp-stat-caption { font-size: 0.56rem; }
}

/* Large desktop: generous placement */
@media (min-width: 1200px) {
  .tp-stat--a { top: 12%; left: 8%; }
  .tp-stat--b { top: 20%; left: 37%; }
  .tp-stat--c { bottom: 12%; left: 9%; }
}

/* Global reduced-motion override for custom animated sections */
@media (prefers-reduced-motion: reduce) {
  .tp-decor,
  .tp-depth-chip {
    transform: none !important;
    transition: none !important;
  }

  .tp-aura,
  .tp-flow-node,
  .tp-flow-node-active,
  .tp-flow-milestone,
  .tp-flow-dot,
  .tp-particle,
  .tp-bubble,
  .tp-agent-avatar,
  .tp-connector-line {
    animation: none !important;
    transition: none !important;
  }
}

/* Cross-browser and responsive hardening */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.tp-bubble-text {
  overflow-wrap: anywhere;
}

.tp-systemmap {
  overflow: hidden;
}

.tp-systemmap-side,
.tp-systemmap-flow,
.tp-systemmap-outcomes,
.tp-support-card,
.tp-flow-milestone,
.tp-outcome {
  min-width: 0;
  max-width: 100%;
}

.tp-flow-node {
  max-width: 100%;
}

.tp-flow-node-desc,
.tp-support-status-text {
  overflow-wrap: anywhere;
}

.tp-flow-milestone {
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

#who-we-serve-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-padding-inline: 1rem;
}

#who-we-serve-tabs::-webkit-scrollbar {
  display: none;
}

#who-we-serve-tabs > li {
  flex: 0 0 auto;
}

#who-we-serve-tabs [data-tab-index] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.875rem 0.35rem;
}

#who-we-serve-panels,
#who-we-serve-panels > [data-panel-index],
#who-we-serve-panels .row,
#who-we-serve-panels .col-12,
#who-we-serve-panels .panel {
  min-width: 0;
}

#who-we-serve-panels .featured-image,
#who-we-serve-panels .featured-image .image {
  width: 100%;
}

#who-we-serve-panels .featured-image .image {
  height: 100%;
  object-fit: cover;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .tp-systemmap-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  #who-we-serve-panels > [data-panel-index] {
    position: static;
    inset: auto;
    transition: none;
  }

  #who-we-serve-panels > [data-panel-index]:not(.tp-who-panel--active) {
    display: none;
  }

  #who-we-serve-tabs [data-tab-index]::after {
    bottom: 0;
  }

  .hero-scroll-scene > .position-absolute.start-50.translate-middle-x {
    width: 100%;
  }

  .hero-scroll-scene > .position-absolute.start-50.translate-middle-x .hstack {
    width: 100%;
    column-gap: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  #who-we-serve-tabs [data-tab-index] {
    padding-inline: 0.65rem;
  }

  .tp-systemmap-grid {
    inset: 0;
  }

  .tp-systemmap-layout {
    gap: 1.5rem;
  }

  .tp-systemmap-flow {
    width: 100%;
  }

  .tp-flow-node {
    width: 100%;
    padding: 14px 16px;
  }

  .tp-flow-connector {
    height: 26px;
  }

  .tp-flow-step-label {
    position: static;
    display: block;
    margin-top: 0.45rem;
    left: auto;
    top: auto;
    transform: none;
    max-width: none;
    white-space: normal;
    text-align: center;
  }

  .tp-support-card {
    padding: 24px 18px;
  }

  .tp-outcome {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll-scene > .position-absolute.start-50.translate-middle-x .hstack {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-scroll-scene > .position-absolute.start-50.translate-middle-x .vr {
    display: none;
  }
}

@media (hover: none) and (pointer: coarse) {
  .tp-feature-card:hover,
  .tp-support-card:hover,
  .tp-flow-node:hover,
  .tp-flow-milestone:hover,
  .tp-hero-cta:hover,
  .tp-cap-card:hover,
  .tp-outcome:hover {
    transform: none;
  }

  .tp-feature-card:hover .icon-box,
  .tp-support-card:hover .tp-support-card-icon,
  .tp-flow-node:hover .tp-flow-node-avatar,
  .tp-cap-card:hover .tp-cap-card-icon,
  .tp-hero-cta:hover .unicon-arrow-right {
    transform: none;
  }
}

.tp-touch-ui .tp-aura,
.tp-touch-ui .tp-particles,
.tp-touch-ui .tp-connector-line {
  display: none;
}

.tp-touch-ui .tp-depth-layer--near {
  display: none;
}

.tp-touch-ui .tp-depth-layer--mid {
  opacity: 0.2;
}

.tp-touch-ui .tp-bubble {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tp-touch-ui #who-we-serve-panels > [data-panel-index] {
  transition: none;
}

