/* ======================================================================
   Leo9 Studio — shared styles for every service page.

   Loaded by ux-testing.html, ux-research.html and ux-motion-design.html.
   Previously this block was duplicated inside each page's <helmet>.

   Order in this file matters:
     1. tokens / base / animations / components   (this section)
     2. rules hoisted out of inline style="" attributes
     3. responsive overrides
   Because (1) and (2) sit at class specificity and (3) comes last, the
   responsive block no longer needs !important to win.
   ====================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  /* ---------------------------------------------------------- brand ----
     The three gradient stops. *-rgb variants exist so any alpha can be
     composed at the call site: rgba(var(--brand-red-rgb),.55) */
  --brand-red: #fb5454;
  --brand-purple: #a830e9;
  --brand-blue: #0231ff;
  --brand-red-rgb: 251, 84, 84;
  --brand-purple-rgb: 168, 48, 233;
  --brand-blue-rgb: 2, 49, 255;
  --brand-gradient: linear-gradient(to right,
      var(--brand-red),
      var(--brand-purple),
      var(--brand-blue));
  --mesh-gradient: linear-gradient(135deg,
      var(--brand-red),
      var(--brand-purple),
      var(--brand-blue));

  /* ----------------------------------------------------------- base ---- */
  --white: #ffffff;
  --white-rgb: 255, 255, 255;
  --black: #000000;
  --black-rgb: 0, 0, 0;

  /* ----------------------------------------------------------- text ----
     Anything lighter than --text-muted fails WCAG AA on white at body
     sizes. Do not add a lighter text colour without checking contrast. */
  --ink: #0c0c0c;
  /* default ink                      19.6:1 */
  --ink-rgb: 12, 12, 12;
  --ink-chip: #111111;
  /* team "+" chip                            */
  --text-strong: #111827;
  /* struggle badge copy              17.7:1 */
  --text-graphite: #1f2937;
  /* final CTA lead                   14.7:1 */
  --text-body: #374151;
  /* case study body                  10.3:1 */
  --text-subtle: #4b5563;
  /* field labels, FAQ answers         7.6:1 */
  --text-muted: #6b7280;
  /* hero sub, stat labels             4.8:1 */
  --text-soft: #64748b;
  --text-faint: #9ca3af;
  /* reverted to original — fails AA at 2.5:1 */
  --text-faint-slate: #94a3b8;
  /* reverted to original — fails AA at 2.6:1 */
  /* bento + method copy               4.8:1 */
  --text-steel: #475569;
  /* browser-chrome label              7.6:1 */

  /* -------------------------------------------------------- surfaces ---- */
  --surface-alt: #fafafa;
  /* modal footer, hero badge                 */
  --surface-lilac: #ebeafe;
  /* struggle toggle, badge numerals          */
  --hairline: #f3f4f6;
  /* 1px dividers                             */
  --border-soft: #e5e7eb;
  /* form field borders                       */
  --border-slate: #e2e8f0;
  /* A/B graphic borders                      */
  --glass-edge: rgba(var(--white-rgb), 0.95);

  /* ------------------------------------------- card graphics / skeleton -- */
  --sk-fill: #f1f5f9;
  /* skeleton blocks                          */
  --sk-line: #cbd5e1;
  /* flow-diagram rails                       */
  --sk-number: #e3e5ee;
  /* methodology step numerals                */
  --wordmark-top: #d9dce2;
  /* footer wordmark gradient top             */

  /* ---------------------------------------------------------- status ---- */
  --ok: #22c55e;
  --ok-soft: #34d399;
  --warn: #fbbf24;
  --warn-rgb: 251, 191, 36;
  --danger: #f87171;
  --indigo: #4f46e5;
  --indigo-rgb: 99, 102, 241;
  --periwinkle-rgb: 129, 140, 248;
  --violet-rgb: 168, 85, 247;

  /* --------------------------------------------------------- shadows ---- */
  --shadow-rgb: 10, 20, 60;
  /* card and team shadows                    */
  --overlay-rgb: 8, 10, 22;
  /* team bio overlay                         */

  /* ------------------------------------------------------- type ----
     Fluid sizes interpolate between a 375px and a 1100px viewport, so the
     breakpoint font-size overrides are gone — clamp() covers the range
     continuously instead of stepping at 768px and 1100px. */
  --fs-hero: clamp(2.375rem, 1.2759rem + 2.165vw, 4.5rem);
  /* 38 → 72px */

  --fs-hero-sub: clamp(1.375rem, 1.1164rem + 0.217vw, 1.875rem);
  /* 22 → 30px */

  --fs-lead: clamp(1rem, 0.8707rem + 0.552vw, 1.25rem);
  /* 16 → 20px */

  --fs-h2: clamp(2rem, 1.3534rem + 1.056vw, 3.25rem);
  /* 32 → 52px */

  --fs-wordmark: clamp(2.75rem, 0.1638rem + 6.124vw, 7.75rem);
  /* 44 → 124px */
  --fs-3xs: 9px;
  /* browser-chrome + A/B labels */
  --fs-xs: 11px;
  /* badge numerals, field errors */
  --fs-sm: 12px;
  /* form labels, meta, most UI */
  --fs-md: 13px;
  /* footer column titles, copyright */
  --fs-base: 14px;
  /* body UI: nav, buttons, links */
  --fs-lg: 15px;
  /* mobile nav links */
  --fs-2xl: 17px;
  /* case study body, method copy */
  --fs-3xl: 18px;
  /* FAQ question, team lead */
  --fs-4xl: 19px;
  /* final CTA lead */
  --fs-team-bio: 13.5px;
  /* team card bio */
  --fs-faq-answer: 15.5px;
  /* FAQ answer */
  --fs-case-title: 34px;
  /* case study heading */
  --fs-stat: 36px;
  /* hero stat numerals */
  --fs-step-num: 56px;
  /* methodology step numerals */

  --border-soft-rgb: 229, 231, 235;
  /* header pill border when shrunk           */
  --surface-mist: #f5f6f9;
  /* methodology card at rest                 */
  --toggle-gradient: linear-gradient(to right, #ff4c8b, #9f3af0, #3b66ff);
  --fs-method-title: 20px;
  /* methodology row, collapsed               */
  --fs-method-title-open: 30px;
  /* methodology row, expanded                */
}

/* ------------------------------------------------------------------ base */
body {
  margin: 0;
  font-family:
    "Satoshi",
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--text-subtle);
  text-decoration: none;
}

a:hover {
  color: var(--black);
}

/* ------------------------------------------------------------ animations */

@keyframes dot-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.35;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sk-shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scroll reveals. .in is added by the IntersectionObserver in leo9-page.js. */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-blur {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(16px);
  transition:
    opacity 0.9s ease,
    filter 0.9s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-blur.in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.bento>.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.bento>.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.bento>.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.bento>.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.method-list>.reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.method-list>.reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.method-list>.reveal:nth-child(4) {
  transition-delay: 0.36s;
}

.team-grid>.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.team-grid>.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.team-grid>.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-blur {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .fade-in-up {
    animation: none;
  }
}

/* ------------------------------------------------------------------ focus
   Keyboard users need a visible focus ring; mouse users shouldn't see one.
   :focus-visible gives both. Never remove this without a replacement. */
:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 200;
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  background: var(--ink);
  color: var(--white);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

#main:focus {
  outline: none;
}

/* -------------------------------------------------------------- accordions
   FAQ and methodology share one pattern: <h3><button aria-expanded></button></h3>
   followed by a panel. The button carries the click target, so it needs the
   default button chrome stripped back to the surrounding type. */
/* Both accordions toggle from the whole card, as originally built. */
.accordion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.accordion-panel {
  overflow: hidden;
  /* transition:
    max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s; */
}

.faq-card {
  cursor: pointer;
  background: linear-gradient(to bottom right,
      rgba(var(--white-rgb), 0.9),
      rgba(var(--white-rgb), 0.6),
      rgba(var(--white-rgb), 0.35));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--glass-edge);
  border-left: 1px solid var(--glass-edge);
  border-right: 1px solid rgba(var(--white-rgb), 0.35);
  border-bottom: 1px solid rgba(var(--white-rgb), 0.35);
  border-radius: 22px;
  padding: 24px 30px;
  transition: box-shadow 0.3s;
  box-sizing: border-box;
}

.faq-question {
  margin: 0;
  text-align: left;
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.faq-chip {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s;
}

.faq-answer {
  font-size: var(--fs-faq-answer);
  color: var(--text-subtle);
  line-height: 1.65;
  margin: 16px 0 0;
  max-width: 720px;
}

.method-card {
  border-radius: 28px;
  padding: 32px 38px;
  overflow: hidden;
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.method-title {
  margin: 0;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: font-size 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.method-num {
  font-size: var(--fs-step-num);
  font-weight: 800;
  color: var(--sk-number);
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

.method-panel {
  transition:
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
}

.method-desc {
  color: var(--text-soft);
  font-size: var(--fs-2xl);
  line-height: 1.7;
  margin: 16px 0 4px;
  max-width: 520px;
}

/* --------------------------------------------------------------- buttons */
.btn-liquid {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition:
    color 0.5s ease,
    transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-liquid .btn-liquid-bg {
  position: absolute;
  top: 100%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-image:
    radial-gradient(circle at 20% 20%, var(--brand-red) 0%, transparent 50%),
    radial-gradient(circle at 80% 40%, var(--brand-purple) 0%, transparent 60%),
    radial-gradient(circle at 40% 90%,
      var(--brand-blue) 0%,
      var(--brand-blue) 100%);
  border-radius: 50% 50% 0 0/15% 15% 0 0;
  transition:
    top 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    border-radius 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: -1;
  pointer-events: none;
}

.btn-liquid:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px -4px rgba(var(--brand-purple-rgb), 0.45),
    0 6px 12px -4px rgba(var(--brand-blue-rgb), 0.4);
}

.btn-liquid:hover .btn-liquid-bg {
  top: -10%;
  border-radius: 0;
}

.glow-wrap .glow-under {
  opacity: 0;
  transform: scale(1);
  transition:
    opacity 0.5s,
    transform 0.5s;
}

.glow-wrap:hover .glow-under {
  opacity: 0.85;
  transform: scale(1.05);
}

/* ------------------------------------------------------------------- nav */
.navlink {
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}

.navlink:hover {
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.navlink:hover span {
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.mobile-navlink:hover {
  background: var(--surface-alt);
}

/* ------------------------------------------------------------ logo strip */
.logo-img {
  filter: grayscale(1);
  object-fit: contain;
  transition: filter 0.3s;
  width: 100%;
  height: 100%;
}

.logo-img:hover {
  filter: grayscale(0);
}

/* -------------------------------------------------------------- surfaces */
.glass-badge {
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}

.glass-badge:hover {
  transform: scale(1.04);
  border-color: rgba(var(--periwinkle-rgb), 0.6);
  box-shadow:
    0 30px 60px rgba(var(--indigo-rgb), 0.12),
    inset 0 2px 4px rgba(var(--white-rgb), 1),
    0 0 15px rgba(var(--indigo-rgb), 0.15);
}

/* --------------------------------------------------- bento card graphics */
.gfx-g1:hover .gfx-orb {
  transform: translate(-50%, -50%) scale(1.15) !important;
}

.gfx-g1:hover .sk {
  background-image: linear-gradient(90deg,
      var(--sk-fill) 25%,
      var(--border-slate) 50%,
      var(--sk-fill) 75%);
  background-size: 200% 100%;
  animation: sk-shimmer 1.4s linear infinite;
}

.gfx-g2:hover .fnode {
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(var(--brand-purple-rgb), 0.25);
}

.gfx-g3:hover .chk {
  transform: translateX(6px);
}

.gfx-g4:hover .va {
  opacity: 0.45;
  transform: scale(0.97);
}

.gfx-g4:hover .vb {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(var(--brand-blue-rgb), 0.25);
}

.gfx-g5:hover .blob {
  transform: scale(1.45);
  opacity: 1;
}

/* ---------------------------------------------------------- typography */
/* Section headings. The pages used to repeat these declarations inline and
   then override them here with !important; the inline copies are gone. */
.sec-h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-transform: none;
}

.mesh-num {
  background-image: var(--mesh-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* --------------------------------------------------------- hero metrics */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 48px;
  row-gap: 24px;
  max-width: 512px;
  margin-right: auto;
  padding: 24px 0 8px;
  position: relative;
  z-index: 10;
}

.stat-cell {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.stat-num {
  font-size: var(--fs-stat);
  line-height: 36px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -0.025em;
}

.stat-label {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-muted);
}

/* ------------------------------------------------------------------ team */
.team-card {
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.35s;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(var(--shadow-rgb), 0.1);
}

.team-card:has(.plus-chip:hover) .bio-overlay {
  opacity: 1;
}

.team-card:has(.plus-chip:hover) .plus-chip svg {
  transform: rotate(45deg);
}

/* ---------------------------------------------------------------- footer */
.footer-link {
  position: relative;
  width: fit-content;
  transition: color 0.25s;
}

.footer-link:hover {
  background-image: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer-social {
  transition:
    transform 0.25s,
    opacity 0.25s;
}

.footer-social:hover {
  transform: translateY(-2px);
  opacity: 0.6;
}

/* ====================================================================
   Hoisted out of inline style="" attributes by the migration script.
   Only declarations shared by every instance on every page were moved,
   so no element gained or lost a rule. This is what lets the responsive
   block below drop almost all of its !important flags.
   ==================================================================== */
.badges-desktop {
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.badges-mobile {
  display: none;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 20;
  text-align: left;
  padding: 0 4px;
}

.cards-pad {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.case-shot {
  flex: 1.1;
  min-width: 0;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 20% 20%,
      rgba(var(--brand-red-rgb), 0.6),
      transparent 55%),
    radial-gradient(circle at 80% 35%,
      rgba(var(--brand-purple-rgb), 0.55),
      transparent 60%),
    radial-gradient(circle at 50% 90%,
      rgba(var(--brand-blue-rgb), 0.55),
      transparent 65%);
  padding: 28px;
  box-sizing: border-box;
  display: flex;
}

.case-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.content-pad {
  width: 100%;
  max-width: 1440px;
  padding: 0 80px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.cta-pad {
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  box-sizing: border-box;
}

.footer-bottom {
  max-width: 1440px;
  margin: 24px auto 0;
  padding-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.footer-col-title {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--text-faint);
}

.footer-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-link {
  font-size: var(--fs-base);
  color: var(--ink);
  font-weight: 500;
}

.footer-section-pad {
  width: 100%;
  margin: 0 auto;
  padding: 96px 32px 0;
  box-sizing: border-box;
}

.footer-social {
  color: var(--ink);
  display: flex;
}

.footer-wordmark {
  max-width: 1440px;
  margin: 100px auto;
  overflow: hidden;
  line-height: 1;
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: 10px;
  padding: 0;
}

.header-wrap {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  padding: 24px 32px 0;
  z-index: 50;
  box-sizing: border-box;
}

.hero-h1 {
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--black);
  line-height: 1.05;
  text-wrap: balance;
}

.hero-h2 {
  font-size: var(--fs-hero-sub);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-graphite);
  line-height: 1.3;
  margin: 0 0 24px;
  max-width: 672px;
  text-wrap: balance;
}

.hero-sub {
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 672px;
  line-height: 1.625;
  font-weight: 400;
  margin: 0 0 40px;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  user-select: none;
}

.logo-cell {
  display: flex;
  align-items: center;
  height: 40px;
  flex-shrink: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto;
}

.method-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-navlink {
  padding: 14px 20px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  border-radius: 14px;
}

.navlink {
  font-size: var(--fs-base);
  font-weight: 500;
  white-space: nowrap;
}

.sec-head {
  max-width: 768px;
  margin: 0 auto 64px;
  text-align: center;
}

.struggle-stage {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 740px;
}

.struggle-video,
.struggle-media {
  width: 960px;
  max-width: 90%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 10;
  pointer-events: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}

.trusted-outer {
  width: 100%;
  padding: 0 80px;
  margin-top: 0;
  padding-top: 64px;
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.trusted-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  background: linear-gradient(to bottom right,
      rgba(var(--white-rgb), 0.85),
      rgba(var(--white-rgb), 0.45),
      rgba(var(--white-rgb), 0.15));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(var(--white-rgb), 0.95);
  border-left: 1px solid rgba(var(--white-rgb), 0.95);
  border-right: 1px solid rgba(var(--white-rgb), 0.3);
  border-bottom: 1px solid rgba(var(--white-rgb), 0.3);
  border-radius: 32px;
  padding: 24px 40px;
  box-shadow:
    0 20px 50px rgba(var(--black-rgb), 0.05),
    inset 0 2px 4px rgba(var(--white-rgb), 0.9);
}

.logos-intro {
  flex-shrink: 0;
  max-width: 240px;
}

.logos-intro-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #64748b;
  margin: 0;
}

.logos-viewport {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.logos-swiper {
  width: 100%;
  overflow: hidden;
}

.logos-swiper .swiper-wrapper {
  display: flex;
  align-items: center;
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
  will-change: transform;
}

.logos-swiper .swiper-slide {
  width: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  display: block;
}

.wm-line {
  font-size: var(--fs-wordmark);
  font-weight: 900;
  letter-spacing: -0.04em;
  background-image: linear-gradient(to bottom,
      var(--wordmark-top),
      var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: center;
  white-space: nowrap;
}

/* ====================================================================
   Externalised from inline style="" attributes.
   Every static style in the three pages lives here; only runtime-bound
   styles (style="...{{ x }}...") remain inline, because their values are
   computed per render.
   ==================================================================== */

/* --- page --- */
.page-glow-a {
  position: absolute;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(var(--indigo-rgb), 0.05);
  filter: blur(120px);
  pointer-events: none;
}

.page-glow-b {
  position: absolute;
  top: 400px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(var(--violet-rgb), 0.05);
  filter: blur(140px);
  pointer-events: none;
}

.page-main {
  width: 100%;
  position: relative;
  z-index: 10;
}

.page-shell {
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  position: relative;
  overflow-x: clip;
}

/* --- wrap --- */
.wrap-1440 {
  max-width: 1440px;
  margin: 0 auto;
}

/* --- u- --- */
.u-layer {
  position: relative;
  z-index: 10;
}

.u-relative {
  position: relative;
}

/* --- hdr --- */
/* width:auto is required — it overrides the width="808" presentational hint from the
   attribute. Without it the box renders 808px wide and blows the header pill open. */
.hdr-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.hdr-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* --- navlink-tm --- */
.navlink-tm {
  display: flex;
  align-items: baseline;
}

/* --- tm- --- */
.tm-mark {
  font-size: var(--fs-3xs);
  font-weight: 700;
  color: var(--text-faint);
  margin-left: 2px;
  vertical-align: super;
}

.tm-mark-sm {
  font-size: var(--fs-3xs);
  font-weight: 700;
  color: var(--text-faint);
  margin-left: 2px;
}

/* --- glow- --- */
.glow-under-md {
  position: absolute;
  inset: -6px;
  background: linear-gradient(to right,
      var(--brand-red),
      var(--brand-purple),
      var(--brand-blue));
  border-radius: 9999px;
  filter: blur(24px);
  pointer-events: none;
}

.glow-under-sm {
  position: absolute;
  inset: -4px;
  background: linear-gradient(to right,
      var(--brand-red),
      var(--brand-purple),
      var(--brand-blue));
  border-radius: 9999px;
  filter: blur(16px);
  pointer-events: none;
}

.glow-wrap-fixed {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.glow-wrap-inline {
  position: relative;
  display: inline-block;
}

/* --- btn- --- */
.btn-case {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-base);
  padding: 16px 30px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  width: fit-content;
  position: relative;
  z-index: 1;
  font-family: inherit;
}

.btn-contact {
  background: var(--black);
  color: var(--white);
  font-weight: 500;
  font-size: var(--fs-base);
  padding: 10px 24px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
  font-family: inherit;
}

.btn-cta {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-lg);
  padding: 18px 36px;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 12px 32px rgba(var(--black-rgb), 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 10;
  font-family: inherit;
}

.btn-hero {
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  font-size: var(--fs-base);
  padding: 16px 32px;
  border-radius: 9999px;
  border: none;
  box-shadow: 0 4px 6px rgba(var(--black-rgb), 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 10;
  font-family: inherit;
}

.btn-label-row {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: var(--fs-base);
  padding: 15px 30px;
  border-radius: 9999px;
  border: 1.5px solid rgba(var(--ink-rgb), 0.2);
  text-decoration: none;
  transition:
    border-color 0.3s,
    background 0.3s,
    transform 0.3s;
}

/* --- mobile- --- */
.mobile-menu {
  margin: 10px auto 0;
  max-width: 420px;
  background: linear-gradient(to bottom right,
      rgba(var(--white-rgb), 0.95),
      rgba(var(--white-rgb), 0.8));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(var(--white-rgb), 0.95);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(var(--black-rgb), 0.1);
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.mobile-navlink-tm {
  padding: 14px 20px;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--ink);
  border-radius: 14px;
  display: flex;
  align-items: baseline;
}

/* --- hero --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-alt);
  border: 1px solid var(--hairline);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 32px;
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
  background-color: var(--black);
}

.hero-badge-text {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-content {
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy {
  max-width: 768px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-cta-row-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-h1-solo {
  margin: 0 0 32px;
}

.hero-h1-with-sub {
  margin: 0 0 20px;
}

.hero-section {
  width: 100%;
  min-height: 100vh;
  padding-top: 112px;
  padding-bottom: 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom,
      rgba(var(--black-rgb), 1) 65%,
      rgba(var(--black-rgb), 0) 100%);
  mask-image: linear-gradient(to bottom,
      rgba(var(--black-rgb), 1) 65%,
      rgba(var(--black-rgb), 0) 100%);
}

.hero-video-mob {
  display: none;
  pointer-events: none;
}

/* Prevent Safari iOS native video play button/controls overlay */
video::-webkit-media-controls,
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-enclosure {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* --- logos --- */
.logos-fade-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 80px;
  background: linear-gradient(to right,
      var(--white),
      rgba(var(--white-rgb), 0.8),
      transparent);
  z-index: 10;
  pointer-events: none;
}

.logos-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80px;
  background: linear-gradient(to left,
      var(--white),
      rgba(var(--white-rgb), 0.8),
      transparent);
  z-index: 10;
  pointer-events: none;
}

.logos-intro {
  max-width: 240px;
  flex-shrink: 0;
}

.logos-intro-text {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.375;
  margin: 0;
}

.logos-viewport {
  width: 100%;
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.logos-swiper {
  width: 100%;
  opacity: 0.6;
}

.logos-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.logos-swiper .swiper-slide {
  width: auto;
  margin-right: 26px;
}

/* --- logo- --- */
.logo-h32 {
  height: 32px;
}

.logo-h36 {
  height: 36px;
}

.logo-h40 {
  height: 40px;
}

.logo-h44 {
  height: 44px;
}

/* --- strg --- */
.strg-badge {
  background: linear-gradient(to bottom right,
      rgba(var(--white-rgb), 0.85),
      rgba(var(--white-rgb), 0.45),
      rgba(var(--white-rgb), 0.1));
  -webkit-backdrop-filter: blur(40px);
  backdrop-filter: blur(40px);
  border-top: 1px solid rgba(var(--white-rgb), 0.95);
  border-left: 1px solid rgba(var(--white-rgb), 0.95);
  border-right: 1px solid rgba(var(--white-rgb), 0.3);
  border-bottom: 1px solid rgba(var(--white-rgb), 0.3);
  border-radius: 9999px;
  padding: 14px 28px;
  box-shadow:
    0 20px 50px rgba(var(--black-rgb), 0.05),
    inset 0 2px 4px rgba(var(--white-rgb), 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.strg-badge-m {
  width: 100%;
  background: linear-gradient(to bottom right,
      rgba(var(--white-rgb), 0.95),
      rgba(var(--white-rgb), 0.8));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--white-rgb), 0.6);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 8px 30px rgba(var(--black-rgb), 0.04);
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}

.strg-badge-m-text {
  color: var(--text-strong);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.strg-badge-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-lilac);
}

.strg-badge-num-text {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--indigo);
}

.strg-badge-text {
  color: var(--text-strong);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 10;
  margin: 0;
}

.strg-content {
  margin: 0 auto;
  text-align: center;
}

.strg-head {
  max-width: 896px;
  margin: 0 auto 40px;
  text-align: center;
}

.strg-section {
  width: 100%;
  background: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.strg-toggle-knob {
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(var(--black-rgb), 0.15);
  transition: all 0.3s;
}

.strg-toggle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 8px;
  z-index: 2;
  position: relative;
}

.strg-video,
.strg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom,
      rgba(var(--black-rgb), 1) 65%,
      rgba(var(--black-rgb), 0) 100%);
  mask-image: linear-gradient(to bottom,
      rgba(var(--black-rgb), 1) 65%,
      rgba(var(--black-rgb), 0) 100%);
}

/* --- bento --- */
.bento-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.bento-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: 20px;
  max-width: 1440px;
  margin: 0 auto;
}

.bento-card {
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom right,
      rgba(var(--white-rgb), 0.9),
      rgba(var(--white-rgb), 0.62),
      rgba(var(--white-rgb), 0.4));
  -webkit-backdrop-filter: blur(28px);
  backdrop-filter: blur(28px);
  border-top: 1px solid rgba(var(--white-rgb), 0.95);
  border-left: 1px solid rgba(var(--white-rgb), 0.95);
  border-right: 1px solid rgba(var(--white-rgb), 0.35);
  border-bottom: 1px solid rgba(var(--white-rgb), 0.35);
  border-radius: 28px;
  padding: 28px 24px 0;
  box-shadow:
    0 30px 70px rgba(var(--shadow-rgb), 0.16),
    inset 0 2px 4px rgba(var(--white-rgb), 0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.bento-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 25%,
      rgba(var(--brand-red-rgb), 0.72),
      transparent 58%),
    radial-gradient(circle at 85% 30%,
      rgba(var(--brand-purple-rgb), 0.65),
      transparent 62%),
    radial-gradient(circle at 50% 85%,
      rgba(var(--brand-blue-rgb), 0.65),
      transparent 68%);
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(var(--black-rgb), 1) 24%,
      rgba(var(--black-rgb), 1) 76%,
      transparent 100%);
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      rgba(var(--black-rgb), 1) 24%,
      rgba(var(--black-rgb), 1) 76%,
      transparent 100%);
}

.bento-section {
  width: 100%;
  padding: 160px 0 150px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

/* --- cards-pad- --- */
.cards-pad-layer {
  padding: 0 32px;
  position: relative;
  z-index: 10;
}

.cards-pad-plain {
  padding: 0 32px;
}

/* --- chrome --- */
.chrome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.chrome-dot-g {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok-soft);
}

.chrome-dot-r {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--danger);
}

.chrome-dot-y {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warn);
}

.chrome-dots {
  display: flex;
  gap: 4px;
}

.chrome-meta {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chrome-meta-text {
  font-size: var(--fs-3xs);
  color: var(--text-steel);
  font-weight: 500;
}

/* --- gfx --- */
.gfx-ab {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.gfx-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
}

.gfx-checklist {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.gfx-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gfx-flow-branch {
  display: flex;
  justify-content: space-between;
  width: 70%;
}

.gfx-flow-node {
  width: 52px;
  height: 18px;
  background: var(--sk-fill);
  border-radius: 5px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.gfx-flow-rail {
  width: 70%;
  height: 2px;
  background: var(--sk-line);
}

.gfx-flow-row {
  display: flex;
  gap: 24px;
}

.gfx-flow-tick {
  width: 2px;
  height: 12px;
  background: var(--sk-line);
}

.gfx-heat {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.gfx-signal-bar {
  width: 2.5px;
  height: 9px;
  background: var(--ok);
  border-radius: 1px;
}

.gfx-variant {
  border: 1px solid var(--border-slate);
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.gfx-variant-tag {
  font-size: var(--fs-3xs);
  font-weight: 700;
  color: var(--text-faint-slate);
}

/* --- sk- --- */
.sk-bar-60 {
  width: 60%;
  height: 10px;
  background: var(--sk-fill);
  border-radius: 3px;
}

.sk-bar-full {
  width: 100%;
  height: 10px;
  background: var(--sk-fill);
  border-radius: 3px;
}

.sk-bar-thin {
  width: 100%;
  height: 12px;
  background: var(--sk-fill);
  border-radius: 4px;
  margin-bottom: 8px;
}

.sk-block {
  width: 100%;
  height: 22px;
  background: var(--sk-fill);
  border-radius: 4px;
  margin-top: 2px;
}

.sk-chip {
  height: 22px;
  background: var(--sk-fill);
  border-radius: 5px;
}

.sk-header {
  width: 100%;
  height: 18px;
  background: var(--sk-fill);
  border-radius: 6px;
  margin-bottom: 14px;
}

.sk-line {
  flex: 1;
  height: 11px;
  background: var(--sk-fill);
  border-radius: 4px;
}

.sk-panel {
  background: var(--sk-fill);
  border-radius: 9px;
  min-height: 280px;
}

.sk-row {
  height: 60px;
  background: var(--sk-fill);
  border-radius: 8px;
}

.sk-split {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 14px;
}

/* --- chk- --- */
.chk-0 {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s;
}

.chk-1 {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s 0.05s;
}

.chk-2 {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s 0.1s;
}

.chk-3 {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s 0.15s;
}

/* --- blob --- */
.blob-a {
  position: absolute;
  top: 2px;
  left: 14%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(var(--brand-red-rgb), 0.55),
      rgba(var(--warn-rgb), 0.3) 55%,
      transparent 75%);
  filter: blur(6px);
  pointer-events: none;
  transition:
    transform 0.5s,
    opacity 0.5s;
}

.blob-b {
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(var(--warn-rgb), 0.5),
      rgba(var(--brand-red-rgb), 0.25) 55%,
      transparent 75%);
  filter: blur(6px);
  pointer-events: none;
  transition:
    transform 0.5s 0.08s,
    opacity 0.5s;
}

/* --- meth --- */
.meth-col {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: fit-content;
  position: sticky;
  top: 10%;
}

.meth-img-col {
  position: relative;
}

.meth-img-col .img-slot:after {
  content: "";
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: -2px;
  left: 0;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 1) 80%);
}

.meth-section {
  width: 100%;
  background: var(--white);
  padding: 150px 0 170px;
  position: relative;
}

/* --- team --- */
.team-bio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(var(--overlay-rgb), 0.92),
      rgba(var(--overlay-rgb), 0.5) 55%,
      rgba(var(--overlay-rgb), 0.12));
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px 20px 100px;
  pointer-events: none;
  z-index: 2;
  box-sizing: border-box;
}

.team-bio-text {
  color: var(--white);
  font-size: var(--fs-team-bio);
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.team-lead {
  font-size: var(--fs-3xl);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 560px;
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-name-col {
  min-width: 0;
  text-align: left;
}

.team-namebar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: var(--white);
  border-radius: 9999px;
  padding: 10px 18px 10px 28px;
  box-shadow: 0 8px 24px rgba(var(--shadow-rgb), 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 10;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4/5;
  position: relative;
}

.team-plus {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink-chip);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  cursor: pointer;
}

.team-plus-icon {
  transition: transform 0.3s;
}

.team-role {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-faint);
  margin: 2px 0 0;
  /* white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; */
}

.team-section {
  width: 100%;
  background: var(--white);
  padding: 40px 0 160px;
  position: relative;
  overflow: hidden;
}

/* --- case --- */
.case-body {
  font-size: var(--fs-2xl);
  color: var(--text-body);
  line-height: 1.65;
  margin: 0;
  max-width: 460px;
}

.case-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  text-align: left;
}

.case-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.case-section {
  width: 100%;
  background: var(--white);
  padding: 120px 0 140px;
  position: relative;
}

.case-shot-frame {
  flex: 1;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(var(--shadow-rgb), 0.18);
}

.case-title {
  font-size: var(--fs-case-title);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  max-width: 460px;
}

/* --- faq --- */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-section {
  width: 100%;
  background: var(--white);
  padding: 120px 0 140px;
  position: relative;
  overflow: hidden;
}

/* --- cta --- */
.cta-btn-wrap {
  display: inline-block;
  position: relative;
  z-index: 10;
  margin-top: 8px;
}

.cta-copy {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta-inner {
  width: 100%;
  padding: 140px 48px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.cta-lead {
  font-size: var(--fs-4xl);
  color: var(--text-graphite);
  line-height: 1.65;
  margin: 0;
  max-width: 620px;
}

.cta-mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%,
      rgba(var(--brand-red-rgb), 0.55),
      transparent 55%),
    radial-gradient(circle at 75% 35%,
      rgba(var(--brand-purple-rgb), 0.5),
      transparent 60%),
    radial-gradient(circle at 50% 85%,
      rgba(var(--brand-blue-rgb), 0.5),
      transparent 62%);
}

.cta-panel {
  width: 100%;
  margin: 0 auto;
  border-radius: 36px;
  position: relative;
  overflow: hidden;
}

.cta-section {
  width: 100%;
  background: var(--white);
  padding: 40px 0 0;
  position: relative;
}

/* --- ftr --- */
.ftr-brand-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.ftr-copyright {
  font-size: var(--fs-md);
  color: var(--text-muted);
  text-align: left;
}

.ftr-logo {
  height: 99px;
  object-fit: contain;
  object-position: left;
  width: 241px;
}

.ftr-section {
  width: 100%;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.ftr-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* --- stack --- */
.stack-14 {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stack-8 {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --- sec-h2 --- */
.sec-h2-bento {
  text-align: center;
  margin: 0 0 48px;
}

.sec-h2-left {
  margin: 0;
  text-align: left;
}

.sec-h2-tight {
  margin: 0 0 16px;
}

/* --- misc --- */
.ambient-glow {
  position: absolute;
  left: 0;
  top: 0;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.4s ease-out;
  filter: blur(70px);
  background-image:
    radial-gradient(circle at 32% 34%,
      rgba(var(--brand-red-rgb), 0.22),
      transparent 58%),
    radial-gradient(circle at 68% 40%,
      rgba(var(--brand-purple-rgb), 0.2),
      transparent 60%),
    radial-gradient(circle at 50% 72%,
      rgba(var(--brand-blue-rgb), 0.18),
      transparent 62%);
  z-index: 0;
}

.magnetic-wrap {
  display: inline-block;
  position: relative;
  z-index: 10;
}

/* ======================================================================
   Responsive overrides — must stay last in this file.

   !important survives only where the element still carries an inline
   style="" attribute that would otherwise win. Each one is annotated; if
   you ever de-inline that element, drop the flag with it.
   ====================================================================== */

/* ==========================================================================
   STATE CLASSES
   These carry the values dc-runtime used to write as inline styles on every
   render. Base rule = the state the page loads in; the modifier = the state
   js/leo9.js switches to. Changing a number here changes the design.
   ========================================================================== */

/* --- floating header: base is un-scrolled, .is-shrunk is scrolled --------- */
.header-pill-inner {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(to bottom right,
      rgba(var(--white-rgb), 0.85),
      rgba(var(--white-rgb), 0.5),
      rgba(var(--white-rgb), 0.25));
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--glass-edge);
  border-left: 1px solid var(--glass-edge);
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  border-radius: 9999px;
  padding: 16px 32px;
  box-shadow: 0 8px 30px rgba(var(--black-rgb), 0.02);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s ease-in-out;
  margin: 0 auto;
  box-sizing: border-box;
}

.header-pill-inner.is-shrunk {
  max-width: 420px;
  padding: 10px 24px;
  border-right-color: rgba(var(--border-soft-rgb), 0.8);
  border-bottom-color: rgba(var(--border-soft-rgb), 0.8);
  box-shadow: 0 12px 40px rgba(var(--black-rgb), 0.06);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 40px;
  transition: all 0.5s ease-in-out;
  opacity: 1;
  max-width: 600px;
  overflow: hidden;
  pointer-events: auto;
}

.header-pill-inner.is-shrunk .nav-desktop {
  opacity: 0;
  max-width: 0;
  pointer-events: none;
}

/* --- mobile menu ---------------------------------------------------------
   The runtime mounted and unmounted this. Static HTML keeps it in the
   document and toggles display, which is what the user actually saw.
   ------------------------------------------------------------------------- */
.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: flex;
}

.hdr-icon-close {
  display: none;
}

.hamburger-btn.is-open .hdr-icon-close {
  display: block;
}

.hamburger-btn.is-open .hdr-icon-open {
  display: none;
}

/* --- struggle toggle ------------------------------------------------------ */
.strg-toggle-label {
  font-size: var(--fs-3xl);
  font-weight: 600;
  transition: all 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-faint);
}

.strg-toggle-label.is-active {
  color: var(--black);
}

.strg-toggle-pill {
  width: 56px;
  height: 28px;
  border-radius: 9999px;
  padding: 2px;
  transition: all 0.3s;
  border: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: var(--surface-lilac);
  justify-content: flex-start;
}

.strg-toggle-pill.is-solutions {
  background: var(--toggle-gradient);
  justify-content: flex-end;
}

/* --- methodology accordion ------------------------------------------------ */
.method-card {
  background: var(--surface-mist);
  border: 1px solid transparent;
  box-shadow: none;
}

.method-card.is-open {
  background: var(--white);
  border-color: rgba(var(--black-rgb), 0.06);
  box-shadow: 0 20px 50px rgba(var(--shadow-rgb), 0.1);
}

.method-title {
  font-size: var(--fs-method-title);
}

.method-card.is-open .method-title {
  font-size: var(--fs-method-title-open);
}

.method-panel {
  max-height: 0;
  opacity: 0;
}

.method-card.is-open .method-panel {
  max-height: 320px;
  opacity: 1;
}

/* --- FAQ accordion -------------------------------------------------------- */
.faq-card .accordion-panel {
  /* max-height: 0; */
  display: none;
  opacity: 0;
}

.faq-card.is-open .accordion-panel {
  /* max-height: 200px; */
  opacity: 1;
}

.faq-chip {
  transform: rotate(0deg);
}

.faq-card.is-open .faq-chip {
  transform: rotate(45deg);
}

/* --- struggle badges -----------------------------------------------------
   Horizontal offsets were viewport state in JS (breakpoints 1150 / 1280).
   As media queries they cost no JS and no first-paint reflow.
   ------------------------------------------------------------------------- */
.strg-badge-pos {
  position: absolute;
  pointer-events: auto;
}

.bdg-a-l {
  left: 6%;
  right: auto;
}

.bdg-a-r {
  right: 6%;
  left: auto;
}

.bdg-b-l {
  left: 3%;
  right: auto;
}

.bdg-b-r {
  right: 3%;
  left: auto;
}

.bdg-c {
  left: 50%;
  right: auto;
}

@media (min-width: 1150px) {
  .bdg-a-l {
    left: 18%;
  }

  .bdg-a-r {
    right: 18%;
  }

  .bdg-b-l {
    left: 14%;
  }

  .bdg-b-r {
    right: 14%;
  }
}

@media (max-width: 1440px) {
  .team-role {
    font-size: 14px;
  }

  .struggle-stage {
    min-height: 600px;
  }
}

@media (max-width: 1366px) {
  .trusted-row {
    padding: 20px 16px;
    border-radius: 22px;
  }
}

@media (min-width: 1280px) {
  .bdg-a-l {
    left: 22%;
  }

  .bdg-a-r {
    right: 22%;
  }

  .bdg-b-l {
    left: 18%;
  }

  .bdg-b-r {
    right: 18%;
  }
}

/* --- image frames --------------------------------------------------------
   Mirrors image-slot.js's shadow DOM: :host was block/relative/100%x100% with
   aspect-ratio 3/2, .frame an inset:0 clipping box. Cropping that the editor
   had saved is baked onto the <img> as object-position.
   ------------------------------------------------------------------------- */
.img-slot {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: rgba(var(--black-rgb), 0.04);
}

.img-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- CTAs are links now, not buttons -------------------------------------
   A <button> is inline-block with centred text; an <a> is inline, where
   vertical padding does not expand the line box. Without these the pills
   render at the wrong height and overlap their neighbours.
   ------------------------------------------------------------------------- */
.btn-contact,
.btn-hero,
.btn-cta {
  text-decoration: none;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- hover states that dc-runtime's style-hover attribute used to apply ---- */
.mobile-navlink:hover,
.mobile-navlink-tm:hover {
  background: var(--surface-alt);
}

.faq-card:hover {
  box-shadow: 0 16px 40px rgba(var(--indigo-rgb), 0.1);
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(var(--white-rgb), 0.65);
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .hero-section {
    gap: 20px;
  }

  .hero-video-wrap {
    position: relative;
    inset: auto;
    height: auto;
    order: 0;
    margin: 0 auto 8px;
    max-width: 250px;
    width: 100%;
  }

  .hero-video {
    display: none;
  }

  .hero-video-mob {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
  }

  .hero-video-wrap:after {
    content: "";
    width: 100%;
    height: 30px;
    position: absolute;
    bottom: -2px;
    left: 0;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 1) 80%);
  }

  .hero-cta-row {
    margin-bottom: 20px;
  }

  .trusted-outer {
    padding: 20px 40px 0;
  }

  .strg-section {
    padding: 60px 0;
  }

  .cta-inner {
    padding: 48px;
  }

  .bento-section,
  .meth-section,
  .team-section,
  .case-section,
  .faq-section {
    padding: 48px 0;
  }

  .sec-head {
    margin: 0 auto 40px;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    position: relative;
  }

  .meth-col {
    position: static;
  }

  .meth-img-col {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    min-height: auto;
  }

  .img-slot img {
    position: static;
  }

  .team-card:hover {
    transform: translateY(0px);
  }

  .page-glow-a,
  .page-glow-b {
    opacity: 0;
  }

  .trusted-row {
    gap: 28px;
  }
}

@media (max-width: 767px) {
  .header-wrap {
    padding: 12px 12px 0;
  }

  .nav-desktop {
    display: none !important;
  }

  /* inline opacity/max-width are runtime-bound */
  .header-pill-inner {
    justify-content: flex-start;
  }

  .header-pill-inner .glow-wrap {
    margin-left: auto;
  }

  .hamburger-btn {
    display: flex;
  }

  .content-pad {
    padding: 0 20px;
    order: 1;
  }

  .metrics-grid {
    column-gap: 20px;
  }

  .trusted-outer {
    /* margin-top: 56px; */
    order: 3;
  }

  .trusted-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
  }

  .struggle-stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .struggle-video,
  .struggle-media {
    position: static;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .badges-desktop {
    display: none;
  }

  .badges-mobile {
    display: flex;
  }

  .bento {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }

  /* column count is set per page inline */
  .bento>div {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* runtime-bound grid placement */
  .cards-pad {
    padding: 0 16px;
  }

  .method-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-card {
    margin-top: 0 !important;
  }

  /* inline margin-top is runtime-bound */

  .case-stack>div {
    flex-direction: column-reverse !important;
    padding: 28px 24px !important;
    gap: 24px !important;
    position: static !important;
    filter: none !important;
  }

  /* runtime-bound sticky offsets */
  .case-stack .case-shot {
    margin: 0;
    border-radius: 16px;
  }

  .cta-pad {
    padding: 0 16px;
  }

  #cta-section>div {
    padding: 72px 24px !important;
  }

  /* still inline */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .footer-section-pad {
    padding-top: 64px;
  }

  .footer-wordmark {
    margin: 56px auto;
  }

  .wm-line {
    white-space: normal;
    text-wrap: balance;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .content-pad {
    padding: 0 40px;
  }

  .cta-pad {
    padding: 0 40px;
  }

  .bento {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* column count is set per page inline */
  .bento>div {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  /* runtime-bound grid placement */

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-grid>div:first-child {
    grid-column: 1 / -1;
  }

  .case-stack>div {
    gap: 28px !important;
    padding: 36px 32px !important;
  }

  /* runtime-bound sticky offsets */
}

@media (max-width: 480px) {
  :root {
    --fs-step-num: 40px;
  }

  .trusted-outer {
    padding: 20px 16px 0;
  }

  .bento-card,
  .trusted-row {
    border-radius: 14px;
  }

  .strg-toggle-label {
    font-size: 16px;
    padding: 0;
  }

  .method-card {
    border-radius: 14px;
    padding: 22px 16px;
  }

  .case-stack .case-shot {
    border-radius: 14px;
    padding: 14px;
  }

  .case-stack>div {
    padding: 20px 0 !important;
  }

  .case-copy {
    gap: 16px;
  }

  .faq-card {
    border-radius: 14px;
    padding: 24px 16px;
  }

  .faq-chip {
    width: 30px;
    height: 30px;
  }

  #cta-section>div {
    padding: 36px 16px !important;
  }

  .cta-panel {
    border-radius: 16px;
  }

  .ftr-section {
    padding-bottom: 0;
  }

  .strg-toggle-row {
    gap: 11px;
    margin-bottom: 48px;
  }

  .strg-toggle-pill {
    width: 35px;
    height: 18px;
  }

  .strg-toggle-knob {
    width: 13px;
    height: 13px;
  }

  .bento-card {
    padding: 28px 16px 0;
  }

  .hero-video-wrap {
    max-width: 200px;
  }

  .hero-badge {
    margin-bottom: 20px;
  }

  .hero-h1 {
    font-size: 26px;
  }

  .hero-h1-solo {
    margin: 0 0 14px;
  }

  .sec-h2 {
    font-size: 24px;
  }

  .strg-head {
    margin: 0 auto 30px;
  }

  .method-card.is-open .method-title {
    font-size: 24px;
  }

  .case-title {
    font-size: 22px;
  }

  .bento-card {
    p {
      color: #2e3339 !important;
    }
  }
}

.cb-intouch {
  display: none;
  /* transition: all 300ms ease; */
}

@media (min-width: 1200px) {
  .cb-intouch {
    display: block;
    position: fixed;
    width: 150px;
    height: 150px;
    right: 1rem;
    bottom: 1rem;
    z-index: 80;
  }

  .cb-intouch:hover:before {
    content: "";
    display: block;
    position: absolute;
    top: -140px;
    left: -140px;
    right: -40px;
    bottom: -140px;
  }
}

.cb-intouch-outline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  color: var(--myClrDark);
  transition: transform 0.4s;
}

.cb-intouch-outline svg {
  width: 100%;
  height: 100%;
  zoom: 1.001;
  animation: cb-fx-rotating-360 15s infinite linear;
}

@-webkit-keyframes cb-fx-rotating-360 {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes cb-fx-rotating-360 {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (pointer: fine) {
  .cb-intouch:hover .cb-intouch-outline {
    transform: scale(1.1);
  }
}

.cb-intouch-video {
  position: absolute;
  top: 15%;
  left: 15%;
  right: 15%;
  bottom: 15%;
  overflow: hidden;
  border-radius: 50%;
  background: var(--myClrDark);
  padding: 0px;
  will-change: transform;
  transition: background 0.4s;
  /* transition-timing-function: cubic-bezier(0.3, 1, 0.7, 1); */
}

.cb-intouch:hover .cb-intouch-video img,
.cb-intouch:hover .cb-intouch-video video {
  transform: scale(1.05);
}

.cb-intouch-video img,
.cb-intouch-video video {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  transition: transform 0.4s;
}

.osano-cm-widget--position_right {
  left: 12px;
}

canvas {
  position: fixed;
  top: 0;
  z-index: 9;
}