
/* ===============================
   Site variables
   =============================== */
:root{
  --btn-height: 48px;
  --btn-radius: 9999px;
  --btn-hpad: 20px;
  --btn-minw: 220px;
  --accent-1: 32, 123, 255;
  --accent-2: 173, 51, 255;
}
/* ===============================
   Base glass button (ORIGINAL)
   =============================== */
.btn--glass{
  height: var(--btn-height);
  min-height: var(--btn-height);
  max-height: var(--btn-height);
  min-width: var(--btn-minw);
  padding: 0 var(--btn-hpad);
  border-radius: var(--btn-radius);
  box-sizing: border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  white-space:nowrap;
  font: 400 16px/1 "CabinetGrotesk", system-ui, -apple-system, sans-serif;
  color:#222;
  background: linear-gradient(-75deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.20),
    rgba(255,255,255,.05)
  );
  border:1px solid rgba(255,255,255,.70);
  box-shadow:
    inset 0 2px 2px rgba(0,0,0,.05),
    inset 0 -2px 2px rgba(255,255,255,.55),
    0 4px 2px -2px rgba(0,0,0,.20),
    0 0 2px .5px inset rgba(255,255,255,.20);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  position:relative;
  overflow:hidden;
  isolation:isolate;
  -webkit-tap-highlight-color:transparent;
  transition: transform .4s cubic-bezier(.25,1,.5,1), box-shadow .4s;
  text-shadow: 0 8px 2px rgba(0,0,0,.10);
  cursor:pointer;
}
/* Hero button — larger than default, desktop only */
@media (min-width: 1440px) {
  .btn--glass.hero {
    --btn-height: 3.5rem;  /* 56px */
    font-size: var(--text-md) !important;
    width: 20rem !important;
  }
}
/* White text version */
.btn--white{
  color:#fff !important;
  text-shadow:none !important;
}
/* ===============================
   Shimmer sweep (ORIGINAL)
   =============================== */
.btn--glass::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background: linear-gradient(-45deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.55) 45% 55%,
    rgba(255,255,255,0) 60%
  );
  mix-blend-mode:screen;
  background-size:200% 200%;
  background-position:0% 50%;
  filter:blur(6px);
  opacity:0;
  transition:
    opacity .35s ease,
    background-position .9s cubic-bezier(.2,.6,.2,1);
}
.btn--glass:hover{
  transform: translateY(1px) scale(.995);
  box-shadow:
    inset 0 2px 2px rgba(0,0,0,.05),
    inset 0 -2px 2px rgba(255,255,255,.55),
    0 3px 1px -1px rgba(0,0,0,.25),
    0 0 1px .5px inset rgba(255,255,255,.50);
  text-shadow: 1px 1px 1px rgba(0,0,0,.12);
}
.btn--glass:hover::after{
  opacity:.95;
  background-position:100% 50%;
}
.btn--glass:active{
  transform: translateY(2px) scale(.992);
  box-shadow:
    inset 0 2px 2px rgba(0,0,0,.05),
    inset 0 -2px 2px rgba(255,255,255,.55),
    0 2px 2px -1px rgba(0,0,0,.20),
    0 0 2px .5px inset rgba(255,255,255,.20);
  text-shadow:none;
}
/* Icon (optional) */
.btn--glass .btn-icon{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  transition:transform .3s ease;
}
.btn--glass:hover .btn-icon{
  transform: translateY(2px);
}
/* Fallback */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .btn--glass{ background: rgba(255,255,255,.16); }
}
/* ===============================
   Nav tweaks
   =============================== */
.nav{
  background-image:
    linear-gradient(90deg,
      rgba(var(--accent-1), .06) 0%,
      rgba(255,255,255,0) 35%,
      rgba(255,255,255,0) 65%,
      rgba(var(--accent-2), .06) 100%);
  backdrop-filter: saturate(120%) blur(1.5px);
  -webkit-backdrop-filter: saturate(120%) blur(1.5px);
}
.nav .btn--glass{
  --btn-height: 40px;
  --btn-hpad: 16px;
  font: 400 14px/1 "CabinetGrotesk", system-ui, -apple-system, sans-serif;
  min-width: 0;
  width: auto;
  max-width: 7.5rem;
}

/* ===============================
   React Nav component
   =============================== */

/* CSS variables required by the nav and panel — defined here so they are
   always available on every page, including the homepage which has no
   per-page IIFE that would otherwise define them. */
:root {
  --nav-h: 64px;
  --padX: 80px;
}
@media (max-width: 991px) { :root { --padX: 40px; } }
@media (max-width: 479px) { :root { --padX: 12px; } }

.sw-nav-wrap {
  position: fixed !important;
  inset: 0 0 auto 0 !important;
  z-index: 9999 !important;
}
.sw-nav.nav {
  height: 64px !important;
  width: 100% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  /* fully transparent before scroll */
  background: transparent !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
  transition: background .25s, box-shadow .25s, color .25s, border-color .25s !important;
}
.sw-nav.onDarkHero { color: #fff !important; }
.sw-nav.onLightHero { color: #222 !important; }
.sw-nav.scrolled,
.sw-nav.open {
  background: #fff !important;
  background-image: none !important;
  color: #222 !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.06) !important;
  border-bottom-color: rgba(0,0,0,.06) !important;
}
.sw-inner {
  width: 100% !important;
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 80px !important;
  padding-right: 80px !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: auto 1fr auto !important;
  align-items: center !important;
  gap: 16px !important;
}
@media (max-width: 991px) {
  .sw-inner { padding-left: 40px !important; padding-right: 40px !important; }
}
@media (max-width: 479px) {
  .sw-inner { padding-left: 12px !important; padding-right: 12px !important; }
}
.sw-logo img { height: 40px; width: auto; display: block; }
@media (max-width: 479px) { .sw-logo img { height: 32px; } }
.sw-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font: 400 14px/1.1 Cabinetgrotesk, Lato, sans-serif;
  white-space: nowrap;
}
.sw-item { position: relative; }
.sw-link { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 8px; }
.sw-caret { width: 20px; height: 20px; display: inline-flex; }
.sw-caret svg { width: 20px; height: 20px; display: block; transition: transform .18s ease; }
.has-dd:hover .sw-caret svg,
.has-dd:focus-within .sw-caret svg,
.sw-item.open .sw-caret svg { transform: rotate(180deg); }
.sw-dd {
  position: absolute;
  left: 50%; top: 100%;
  transform: translate(-50%, 0);
  min-width: 220px;
  background: #fff; color: #222;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.10);
  opacity: 0; pointer-events: none;
  transition: opacity .18s, transform .18s;
  padding: 8px; margin-top: 12px;
}
.sw-dd::before {
  content: ""; position: absolute;
  left: 0; right: 0; top: -12px; height: 12px;
}
.sw-dd a { display: block; padding: 10px 12px; border-radius: 8px; color: #222; text-decoration: none; }
.sw-dd a:hover { opacity: .9; }
.sw-item.open .sw-dd { opacity: 1; pointer-events: auto; }
.sw-actions { display: flex; align-items: center; gap: 12px; }
.sw-cta.btn--glass { --btn-height: 40px; --btn-hpad: 16px; min-width: 0 !important; width: auto; max-width: 7.5rem; }
.sw-burger {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent; color: currentColor;
  cursor: pointer; position: relative;
  display: none; align-items: center; justify-content: center;
}
.sw-burger span,
.sw-burger::before,
.sw-burger::after {
  content: ""; position: absolute;
  width: 20px; height: 2px;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}
.sw-burger::before { transform: translateY(-6px); }
.sw-burger span { transform: translateY(0); }
.sw-burger::after { transform: translateY(6px); }
.sw-nav.open .sw-burger span { opacity: 0; }
.sw-nav.open .sw-burger::before { transform: rotate(45deg); }
.sw-nav.open .sw-burger::after { transform: rotate(-45deg); }
@media (max-width: 991px) {
  .sw-links { display: none; }
  .sw-burger { display: flex; }
  .sw-actions { margin-left: auto; }
}
.sw-panel {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: #fff; color: #222;
  transform: translateY(12px); opacity: 0; pointer-events: none;
  transition: transform .25s cubic-bezier(.16,1,.3,1), opacity .25s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  z-index: 9998;
}
.sw-nav.open + .sw-panel { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sw-panel-inner {
  height: 100%; overflow: auto;
  padding: 12px var(--padX) 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.sw-mob-button, .sw-mob-link {
  width: 100%; text-align: left;
  padding: 14px 0;
  background: none; border: none; color: #222;
  font: 500 18px/1.2 Cabinetgrotesk, Lato, sans-serif;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer; text-decoration: none;
}
.sw-mob-caret {
  width: 16px; height: 16px; flex: 0 0 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .2s ease;
  margin-left: 4px;
}
.sw-acc { display: none; padding: 6px 0 0 0; }
.sw-acc a { display: block; padding: 12px 0; color: #222; text-decoration: none; font: 400 16px/1.2 Cabinetgrotesk, Lato, sans-serif; }
.sw-acc a:hover { opacity: .85; }
.sw-mob-button.is-open .sw-mob-caret { transform: rotate(135deg); }
.sw-mob-button.is-open + .sw-acc { display: block !important; }


:root {
  --sw-dot: 12px;
  --sw-lap: 4.5s; 
  --sw-inset: 9px; 
  /* RECALCULATED FOR CENTER ALIGNMENT:
     Based on your screenshots, the cluster needed to shift slightly right.
     The gap is now 2.8% to ensure no overlap and perfect spacing.
  */
  --sw-front-pt: 77.8%; /* Position 0: Right */
  --sw-mid-pt: 75%;   /* Position 1: Center */
  --sw-back-pt: 72.2%;  /* Position 2: Left */
}
.btn--glass[data-glow="true"] { position: relative; }
.btn--glass[data-glow="true"] .sw-orbit {
  position: absolute;
  inset: var(--sw-inset);
  pointer-events: none;
  z-index: 0;
}
.btn--glass[data-glow="true"] .sw-sphere {
  position: absolute;
  width: var(--sw-dot);
  height: var(--sw-dot);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  left: auto;
  top: auto;
  offset-path: inset(0 round 9999px);
  offset-rotate: 0deg;
  /* Smooth shuffle transition */
  transition: offset-distance 0.4s cubic-bezier(0.2, 1, 0.3, 1), opacity 0.3s ease;
  will-change: offset-distance;
}
.sw-sphere.is-teal { background-image: url("/images/sphere-teal.svg"); }
.sw-sphere.is-yellow { background-image: url("/images/sphere-yellow.svg"); }
.sw-sphere.is-pink { background-image: url("/images/sphere-pink.svg"); }
/* Assigned Positions */
.sw-sphere.pos-0 { offset-distance: var(--sw-front-pt); }
.sw-sphere.pos-1 { offset-distance: var(--sw-mid-pt); }
.sw-sphere.pos-2 { offset-distance: var(--sw-back-pt); }
/* The Relay Run */
.btn--glass[data-glow="true"] .sw-sphere.is-running {
  transition: none !important;
  animation: sw-relay-run var(--sw-lap) linear forwards;
}
@keyframes sw-relay-run {
  from { offset-distance: var(--sw-front-pt); }
  /* Full loop landing exactly at the back slot (72.2%) */
  to   { offset-distance: calc(var(--sw-front-pt) + 94.4%); } 
}
/* =========================================================
   NAV (Dark Hero) — CTA text override ONLY
   Put this AFTER your existing button + nav CSS.
   This affects ONLY the nav button when the nav is in onDarkHero mode,
   and ONLY before it becomes scrolled/open (white background state).
   ========================================================= */
.sw-nav.onDarkHero:not(.scrolled):not(.open) .btn--glass{
  color:#fff !important;
  text-shadow:none !important; /* optional, but matches your .btn--white intent */
}
/* Keep current behavior when scrolled/open (nav turns white + dark text) */
.sw-nav.scrolled .btn--glass,
.sw-nav.open .btn--glass{
  color:#222 !important;
}


/* Reveal animation removed — content always visible */
.reveal {
  opacity: 1;
  transform: none;
}

/* ── Hero entrance animation (above fold — CSS only, no scroll needed) ── */
@keyframes sw-hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero_heading-wrap.home .hero-tagline {
  animation: sw-hero-in .8s cubic-bezier(.22,1,.36,1) .1s both;
}
.hero_heading-wrap.home .hero_h1:first-of-type {
  animation: sw-hero-in .85s cubic-bezier(.22,1,.36,1) .22s both;
}
.hero_heading-wrap.home .hero-bottom-row {
  animation: sw-hero-in .85s cubic-bezier(.22,1,.36,1) .38s both;
}

/* ===============================
   Color tokens
   ───────────────────────────────
   All colors used on the site.
   Shades go from darkest (0) to
   lightest (6). Opacity variants
   are named with their % at the end
   e.g. --color-teal-4-20 = teal
   shade 4 at 20% opacity.

   NEUTRALS
   --color-black          #222       Main text color
   --color-grey-1         #555       Dark body text
   --color-grey-2         #666       Secondary text
   --color-grey-3         #777       Muted text
   --color-grey-4         #999       Placeholder / disabled
   --color-grey-4-50      #99999980  Grey 4 at 50% opacity
   --color-surface-1      #ebebeb    Subtle borders
   --color-surface-2      #e0e0e0    Borders
   --color-surface-3      #f5f5f5    Light background
   --color-surface-4      #fafafa    Lightest background
   --color-white          #fff       Pure white
   --color-white-5        #ffffff0d  White at 5% opacity
   --color-white-10       #ffffff1a  White at 10% opacity
   --color-white-30       #ffffff4d  White at 30% opacity
   --color-white-50       #ffffff80  White at 50% opacity
   --color-white-80       #ffffffcc  White at 80% opacity

   BRAND NAVY (dark backgrounds, darkest → lightest)
   --color-navy-0         #171c23
   --color-navy-1         #0b1932
   --color-navy-2         #163163
   --color-blue-3         #366dd3    Interactive / link blue
   --color-blue-4         #8aaae5
   --color-blue-5         #acc6ec
   --color-blue-5-20      #acc6ec33  Blue-5 at 20% opacity
   --color-blue-6         #dee8f7    Lightest blue tint

   ACCENT — TEAL
   --color-teal-1         #008984
   --color-teal-2         #00b8b1
   --color-teal-2-40      #00b8b166  Teal-2 at 40% opacity
   --color-teal-3         #00e0d9
   --color-teal-4         #c2fffd
   --color-teal-4-20      #c2fffd33  Teal-4 at 20% opacity

   ACCENT — YELLOW
   --color-yellow-0       #3c2e02    Darkest (text on yellow bg)
   --color-yellow-1       #f9c621
   --color-yellow-2       #fad24b
   --color-yellow-3       #fbdd7f
   --color-yellow-4       #fef4d7
   --color-yellow-4-50    #fef4d780  Yellow-4 at 50% opacity

   ACCENT — PINK
   --color-pink-0         #531332    Darkest (text on pink bg)
   --color-pink-1         #b72a6e
   --color-pink-2         #d23782
   --color-pink-3         #d5488c
   --color-pink-4         #e17aac
   --color-pink-4-50      #e17aac80  Pink-4 at 50% opacity
   --color-pink-5         #f7deea
   --color-pink-5-50      #f7deea80  Pink-5 at 50% opacity

   ACCENT — PURPLE
   --color-purple-1       #7c4dce
   --color-purple-2       #b89fe5

   FUNCTIONAL
   --color-success        #a9efa9    Green
   --color-error          #f8636b    Red
   =============================== */
:root {
  /* Neutrals */
  --color-black:       #222;
  --color-grey-1:      #555;
  --color-grey-2:      #666;
  --color-grey-3:      #777;
  --color-grey-4:      #999;
  --color-grey-4-50:   #99999980;
  --color-surface-1:   #ebebeb;
  --color-surface-2:   #e0e0e0;
  --color-surface-3:   #f5f5f5;
  --color-surface-4:   #fafafa;
  --color-white:       #fff;
  --color-white-5:     #ffffff0d;
  --color-white-10:    #ffffff1a;
  --color-white-30:    #ffffff4d;
  --color-white-50:    #ffffff80;
  --color-white-80:    #ffffffcc;

  /* Brand navy */
  --color-navy-0:      #171c23;
  --color-navy-1:      #0b1932;
  --color-navy-2:      #163163;
  --color-blue-3:      #366dd3;
  --color-blue-4:      #8aaae5;
  --color-blue-5:      #acc6ec;
  --color-blue-5-20:   #acc6ec33;
  --color-blue-6:      #dee8f7;

  /* Accent — teal */
  --color-teal-1:      #008984;
  --color-teal-2:      #00b8b1;
  --color-teal-2-40:   #00b8b166;
  --color-teal-3:      #00e0d9;
  --color-teal-4:      #c2fffd;
  --color-teal-4-20:   #c2fffd33;

  /* Accent — yellow */
  --color-yellow-0:    #3c2e02;
  --color-yellow-1:    #f9c621;
  --color-yellow-2:    #fad24b;
  --color-yellow-3:    #fbdd7f;
  --color-yellow-4:    #fef4d7;
  --color-yellow-4-50: #fef4d780;

  /* Accent — pink */
  --color-pink-0:      #531332;
  --color-pink-1:      #b72a6e;
  --color-pink-2:      #d23782;
  --color-pink-3:      #d5488c;
  --color-pink-4:      #e17aac;
  --color-pink-4-50:   #e17aac80;
  --color-pink-5:      #f7deea;
  --color-pink-5-50:   #f7deea80;

  /* Accent — purple */
  --color-purple-1:    #7c4dce;
  --color-purple-2:    #b89fe5;

  /* Functional */
  --color-success:     #a9efa9;
  --color-error:       #f8636b;
}

/* ===============================
   Description text scale
   =============================== */
:root {
  --text-hero: 1.5rem;    /* 24px — Hero subtitles */
  --text-lg:   1.25rem;   /* 20px — Section intros, under H2s */
  --text-md:   1.125rem;  /* 18px — Card / feature body copy */
  --text-sm:   1rem;      /* 16px — Supporting / secondary copy */
  --text-xs:   0.875rem;  /* 14px — Labels, captions, fine print */
}

.sw-text-hero {
  font-size: var(--text-hero);
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.sw-text-lg {
  font-size: var(--text-lg);
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.sw-text-md {
  font-size: var(--text-md);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.015em;
}
.sw-text-sm {
  font-size: var(--text-sm);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.01em;
}
.sw-text-xs {
  font-size: var(--text-xs);
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.01em;
}

@media (max-width: 991px) {
  .sw-text-hero { font-size: 1.25rem; }   /* 20px */
  .sw-text-lg   { font-size: 1.125rem; }  /* 18px */
  .sw-text-md   { font-size: 1rem; }      /* 16px */
  .sw-text-sm   { font-size: 0.875rem; }  /* 14px */
}
@media (max-width: 479px) {
  .sw-text-hero { font-size: 1.125rem; }  /* 18px */
}

/* ===============================
   Heading scale
   ───────────────────────────────
   SCALE:                desktop → tablet (≤991px) → mobile (≤479px)
   sw-h-display  4.5rem  → 3.5rem  → 2.25rem   Home hero H1 only
   sw-h1         4.25rem → 2.75rem → 2rem       All other page H1s
   sw-h2         3.5rem  → 2.5rem  → 1.6875rem  Section headings
   sw-h3         1.5rem  → 1.25rem              Sub-section / card headings
   sw-h4         1.125rem (fixed)               Small labels with heading weight
   =============================== */
:root {
  --heading-display: 4.5rem;    /* 72px */
  --heading-h1:      4.25rem;   /* 68px */
  --heading-h2:      3.5rem;    /* 56px */
  --heading-h3:      1.5rem;    /* 24px */
  --heading-h4:      1.125rem;  /* 18px */
}

.sw-h-display {
  font-size: var(--heading-display);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.sw-h1 {
  font-size: var(--heading-h1);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.sw-h2 {
  font-size: var(--heading-h2);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.sw-h3 {
  font-size: var(--heading-h3);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.sw-h4 {
  font-size: var(--heading-h4);
  line-height: 1.2;
  font-weight: 500;
}

@media (max-width: 991px) {
  .sw-h-display { font-size: 3.5rem; }    /* 56px */
  .sw-h1        { font-size: 2.75rem; }   /* 44px */
  .sw-h2        { font-size: 2.5rem; }    /* 40px */
  .sw-h3        { font-size: 1.25rem; }   /* 20px */
}
@media (max-width: 479px) {
  .sw-h-display { font-size: 2.25rem; }   /* 36px */
  .sw-h1        { font-size: 2rem; }      /* 32px */
  .sw-h2        { font-size: 1.6875rem; } /* 27px */
}

/* ===============================
   Hero heading section (homepage)
   =============================== */


/* Full width + left-aligned — overrides Webflow's align-items:center */
.hero_heading-wrap.home {
  align-items: flex-start !important;
  width: 100% !important;
}

/* Parent containers must also stretch left, not center their child */
.hero_section.home .hero-content-wrapper,
.hero_section.home .hero-content-inner {
  align-items: flex-start !important;
  max-width: 1440px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Hero section — gradient spans whole section, glow on the left */
.hero_section.home {
  background-image:
    url('/images/oval-g-11.png'),
    radial-gradient(ellipse 90% 70% at 25% 35%, rgba(70, 120, 230, 0.7) 0%, rgba(40, 80, 180, 0.25) 50%, transparent 75%),
    radial-gradient(ellipse 80% 90% at 25% 75%, rgba(50, 90, 200, 0.5) 0%, rgba(25, 50, 120, 0.2) 50%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 25% 50%, rgba(22, 49, 99, 0.45) 0%, transparent 65%),
    linear-gradient(180deg, #080e1a 0%, #0b1932 50%, #080e1a 100%) !important;
  background-position: 50%, 0 0, 0 0, 0 0, 0 0 !important;
  background-size: 11px, auto, auto, auto, auto !important;
}

/* Cookie banner — hidden for now, code kept intact */
#cookie-banner { display: none !important; }

/* Comparison section — match hero background so they feel like one */
.u-section.comparison {
  background-image:
    url('/images/oval-g-11.png'),
    linear-gradient(180deg, #0b1932 0%, #163163 50%, #0b1932 100%) !important;
  background-position: 50%, 0 0 !important;
  background-size: 11px, auto !important;
}

/* ── Universal container alignment ──────────────────────────────────────────
   Single source of truth for ALL .u-container-80 variants (hero, security,
   dark, footer, any future ones). Webflow never uses !important on layout
   properties, so this always wins without touching individual sections.
   To add a new section: just use .u-container-80 — alignment is automatic.
   ─────────────────────────────────────────────────────────────────────────── */
.u-container-80 {
  max-width: 90rem !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 5rem !important;    /* 80px — matches nav */
  padding-right: 5rem !important;
  box-sizing: border-box !important;
}
@media (max-width: 991px) {
  .u-container-80 { padding-left: 2.5rem !important; padding-right: 2.5rem !important; }
}
@media (max-width: 479px) {
  .u-container-80 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
}

/* Hero card — outer sizing aligns the card's visual edges with the nav.
   padding-left/right = 0 because .hero-card inside has its own padding. */
.u-container-80.hero {
  width: calc(100% - 10rem) !important;
  max-width: 80rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
  margin-bottom: 24px !important;
  background-image: none !important;
  transition: background 600ms ease, border-color 600ms ease !important;
}

/* Recording state — glass: blurs hero gradient only */
.u-container-80.hero.htb-recording {
  background-image: none !important;
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(60px) !important;
  -webkit-backdrop-filter: blur(60px) !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

/* Running state — animated gradient: darker on top, lighter below */
.u-container-80.hero.htb-running {
  background-image: linear-gradient(
    180deg,
    var(--color-navy-2) 0%,
    var(--color-blue-3) 30%,
    var(--color-blue-4) 60%,
    var(--color-blue-5) 100%
  ) !important;
  background-size: 100% 300% !important;
  background-position: 0% 0% !important;
  animation: hero-run-gradient 4s ease-in-out infinite !important;
  border: none !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}

@keyframes hero-run-gradient {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 0% 100%; }
  100% { background-position: 0% 0%; }
}
@media (max-width: 991px) {
  .u-container-80.hero {
    width: calc(100% - 5rem) !important;
    margin-top: 1.5rem !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .hero-card.htc {
    gap: 14px !important;
  }
}
@media (max-width: 767px) {
  .u-container-80.hero {
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
  .hero-card.htc {
    gap: 12px !important;
  }
}
@media (max-width: 479px) {
  .u-container-80.hero { width: calc(100% - 1.5rem) !important; }
}

/* Security card — outer sizing aligns the card edges with the nav.
   Internal padding is kept so the content inside stays away from the card edges. */
.u-container-80.security {
  width: calc(100% - 10rem) !important;
  max-width: 80rem !important;
}
@media (max-width: 991px) {
  .u-container-80.security { width: calc(100% - 5rem) !important; }
}
@media (max-width: 479px) {
  .u-container-80.security { width: calc(100% - 1.5rem) !important; }
}

/* Row: last H1 on left, button on right */
.hero-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

/* Tagline: icon + text side by side, optically centered */
.hero-tagline {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Match height to sphere so they center-align in the flex row */
.hero-tagline .hero_paragraph.home {
  margin: 0 !important;
  line-height: 24px;
  min-height: 24px;
}

/* Icon — glassy sphere with subtle blue tone */
.hero-tagline-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  /* Specular highlight (top-left) + secondary highlight + subtle blue-white glass base */
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 42%),
    radial-gradient(circle at 72% 72%, rgba(255, 255, 255, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(230, 238, 255, 0.52) 0%, rgba(200, 218, 250, 0.26) 55%, rgba(175, 200, 245, 0.16) 100%);
  box-shadow:
    inset -1px -1px 3px rgba(0, 0, 0, 0.12),
    inset 1px 1px 2px rgba(255, 255, 255, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  animation: tagline-icon-glow 3s ease-in-out infinite;
}

@keyframes tagline-icon-glow {
  0%, 100% {
    box-shadow:
      inset -1px -1px 3px rgba(0, 0, 0, 0.12),
      inset 1px 1px 2px rgba(255, 255, 255, 0.35),
      0 2px 6px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow:
      inset -1px -1px 3px rgba(0, 0, 0, 0.12),
      inset 1px 1px 2px rgba(255, 255, 255, 0.45),
      0 2px 10px rgba(180, 205, 255, 0.35),
      0 0 16px rgba(180, 205, 255, 0.15);
  }
}
/* Variable rim — bright where light catches (top-left), softer in shadow */
.hero-tagline-icon::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(255, 255, 255, 0.72) 0deg,
    rgba(255, 255, 255, 0.4) 55deg,
    rgba(255, 255, 255, 0.08) 125deg,
    rgba(255, 255, 255, 0.02) 195deg,
    rgba(255, 255, 255, 0.12) 255deg,
    rgba(255, 255, 255, 0.45) 310deg,
    rgba(255, 255, 255, 0.68) 360deg
  );
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 45%, black 50%);
  mask: radial-gradient(circle at 50% 50%, transparent 45%, black 50%);
  pointer-events: none;
}

/* Mobile: stack tagline above button */
@media (max-width: 767px) {
  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ==========================================================
   Hero Toggle Card (HTC)
   ========================================================== */

/* Toggle-card variant — no border/glow that could create a divider line */
.hero-card.htc {
  background-color: transparent !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  gap: 20px !important;
  border: none !important;
  box-shadow: none !important;
}


/* ── Toggle Bar ── */
.htb {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 9999px;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* Sliding pill — absolutely positioned background that slides between sides */
.htb-pill {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 8px;
  /* each side = (100% - 16px padding - 8px gap) / 2 = 50% - 12px */
  width: calc(50% - 12px);
  border-radius: 9999px;
  background: var(--_colors---accent--pink--02);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s ease;
}

/* Pill slides to right side and turns blue */
.htb[data-htb-active="running"] .htb-pill {
  transform: translateX(calc(100% + 8px));
  background: var(--_colors---blue--03);
}

.htb-side {
  flex: 1 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  opacity: 1;
  cursor: pointer;
  font: 500 20px/1.4 Cabinetgrotesk, Lato, sans-serif;
  letter-spacing: -0.22px;
  transition: color 0.35s, opacity 0.35s;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.htb-side--active {
  color: #fff;
  opacity: 1;
}

/* Left group: icon + label — takes all available space and centers its content */
.htb-side-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

/* Right group: timer / dots + menu — fades in when active */
.htb-side-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.htb-run.htb-side--active .htb-side-right {
  max-width: 200px;
  opacity: 1;
  pointer-events: auto;
}

/* ── Icon slot: fixed-size container so both icons overlap and crossfade ── */
.htb-icon-slot {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.htb-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Play icon: visible when side is INACTIVE */
.htb-rec .htb-play-icon  { opacity: 1; }
.htb-run .htb-play-icon  { opacity: 1; }

/* When recording is ACTIVE: crossfade play → rec circle */
.htb-rec.htb-side--active .htb-play-icon  { opacity: 0; }
.htb-rec.htb-side--active .htb-rec-icon   { opacity: 1; }

/* When running is ACTIVE: crossfade play → progress arc */
.htb-run.htb-side--active .htb-play-icon      { opacity: 0; }
.htb-run.htb-side--active .htb-progress-icon  { opacity: 1; }

/* ── Circular progress arc animation ── */
@keyframes arc-fill {
  0%   { stroke-dashoffset: 94.25; }
  80%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

.htb-run.htb-side--active .htb-arc-fill {
  /* duration overridden by JS once Vimeo returns real video length */
  animation: arc-fill 30s linear infinite;
}

/* Recording icon: two concentric circles matching Figma SVG proportions */
.htb-rec-icon {
  position: relative;
  width: 100%;
  height: 100%;
}

.htb-rec-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.6;
}

.htb-side--active .htb-rec-ring {
  animation: rec-ring-pulse 1.6s ease-in-out infinite;
}

.htb-rec-core {
  position: absolute;
  inset: 8.57px;
  border-radius: 50%;
  background: currentColor;
}

@keyframes rec-ring-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%       { transform: scale(1.18); opacity: 0.2; }
}

.htb-lbl {
  font: 500 20px/1.4 Cabinetgrotesk, Lato, sans-serif;
  letter-spacing: -0.22px;
}

/* Timer uses Cabinet Grotesk with tabular-nums so digit widths never shift */
.htb-timer {
  font: 500 18px/1.4 Cabinetgrotesk, Lato, sans-serif;
  letter-spacing: -0.1px;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

/* Run Flow timer — desktop/tablet only; mobile uses that spot for Next icon */
.htb-run-timer {
  display: none;
  font: 500 18px/1.4 Cabinetgrotesk, Lato, sans-serif;
  letter-spacing: -0.1px;
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .htb-run.htb-side--active .htb-run-timer {
    display: block;
  }
}

@media (max-width: 767px) {
  .htb-run.htb-side--active .htb-run-timer {
    display: none !important;
  }
}

.htb-play-svg {
  flex-shrink: 0;
}

/* ── Next button (right side of run tab); icon in HTML is 24×24 ── */
.htb-next {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9999px;
  cursor: pointer;
  color: inherit;
  opacity: 0;
  transition: opacity 0.2s, background 0.15s;
  flex-shrink: 0;
}

.htb-run.htb-side--active .htb-next {
  opacity: 1;
  display: none; /* tablet+ use the chips instead */
}

.htb-run.htb-side--active .htb-next:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Tooltip above the next button — glass pill matching site button style */
.htb-next-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  white-space: nowrap;
  font: 500 12px/1 Cabinetgrotesk, Lato, sans-serif;
  color: rgba(255, 255, 255, 0.92);
  /* Same gradient as .btn--glass but for white-on-dark context */
  background: linear-gradient(-75deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.06)
  );
  backdrop-filter: blur(8px) saturate(1.3);
  -webkit-backdrop-filter: blur(8px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 9999px;
  padding: 7px 14px;
  pointer-events: none;
  opacity: 0;
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.12),
    0 4px 16px rgba(0, 0, 0, 0.22);
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform: translateX(-50%) translateY(4px);
}

.htb-next:hover .htb-next-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Remove default focus ring — only show on keyboard navigation */
.htb-side:focus,
.htb-next:focus {
  outline: none;
}
.htb-side:focus-visible,
.htb-next:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

/* ── Use case chips: one row between toggle and video, same width. Only visible in Run Flow. ── */
.htb-uc-chips {
  display: none;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}


.htb-uc-chip {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 12px 14px;
  border-radius: 9999px;
  font-family: Cabinetgrotesk, Lato, sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.65);
  /* Inactive: no backdrop-filter (reduces lag) */
  background: rgba(255, 255, 255, 0.16);
  border: none;
  box-shadow: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-align: center;
  -webkit-user-select: none;
  user-select: none;
  box-sizing: border-box;
}

.u-container-80.hero.htb-running .htb-uc-chips {
  display: flex;
}

/* Inactive: dot takes no space so label stays centered */
.htb-uc-chip-dot {
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: width 0.2s, opacity 0.2s, margin 0.2s;
}

.htb-uc-chip.is-active .htb-uc-chip-dot {
  width: 6px;
  height: 6px;
  margin-right: 8px;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  animation: htb-uc-chip-pulse 3.2s ease-in-out infinite;
}

@keyframes htb-uc-chip-pulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(255, 255, 255, 0.5); }
  50% { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 0 0 4px rgba(255, 255, 255, 0); }
}

.htb-uc-chip-lbl {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.htb-uc-chip:not(.is-active):hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.18);
}

/* Active chip — darker base, dotted, glow stronger on one side */
.htb-uc-chip.is-active {
  transition: none;
  color: #fff;
  padding: 12px 14px;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(ellipse 120% 100% at 0% 50%, rgba(74, 144, 255, 0.35) 0%, transparent 55%),
    linear-gradient(90deg,
      rgba(18, 45, 95, 0.65),
      rgba(var(--_colors---blue--03-rgb, 32, 100, 220), 0.28),
      rgba(var(--_colors---blue--03-rgb, 32, 100, 220), 0.14)
    );
  background-size: 10px 10px, auto, auto;
  backdrop-filter: blur(8px) saturate(1.3);
  -webkit-backdrop-filter: blur(8px) saturate(1.3);
  border: 1px solid rgba(100, 160, 255, 0.4);
  box-shadow:
    inset 1px 0 12px rgba(74, 144, 255, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15),
    0 2px 12px rgba(0, 0, 0, 0.2);
}

.htb-uc-chip.is-active:hover {
  cursor: default;
}

.htb-uc-chip:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
}

/* ── Stage: video + side panel ── */
/* ── Video Frame Wrapper ── */
.hts-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(12, 12, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 28px 72px rgba(0, 0, 0, 0.55),
    0 0 90px rgba(110, 70, 240, 0.07);
}

.hts-frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.hts-frame-dot {
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.75;
}

.hts-frame-dot:nth-child(1) { background: #FF5F57; }
.hts-frame-dot:nth-child(2) { background: #FEBC2E; }
.hts-frame-dot:nth-child(3) { background: #28C840; }

.hts {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.hts-video-wrap {
  flex: 1 1 100%;
  min-width: 0;
}

.hts-video {
  width: 100%;
}

.hts-video .video {
  border-radius: 0;
  overflow: hidden;
  display: block;
}

/* Tablet and smaller */
@media (max-width: 991px) {
  .htb-side {
    padding: 12px 16px;
    font-size: var(--text-lg);
    gap: 8px;
  }
  .htb-lbl { font-size: var(--text-lg); }
  .htb-icon-slot { width: 32px; height: 32px; }
  .htb-play-icon svg,
  .htb-progress-icon svg { width: 28px; height: 28px; }
  .htb-rec-core { inset: 6.86px; }
}

/* Small screens */
@media (max-width: 767px) {
  .htb {
    gap: 6px;
    padding: 8px;
  }
  .htb-side {
    padding: 10px 12px;
    font-size: var(--text-sm);
    gap: 6px;
  }
  .htb-lbl { font-size: var(--text-sm); }
  .htb-timer { font-size: var(--text-xs); }
  .htb-icon-slot { width: 32px; height: 32px; }
  .htb-play-icon svg,
  .htb-progress-icon svg { width: 28px; height: 28px; }
  .htb-rec-core { inset: 6.86px; }
  .htb-next {
    width: 28px;
    height: 28px;
  }
  .htb-next svg {
    width: 20px;
    height: 20px;
  }
  .htb-uc-chip {
    padding: 12px 10px;
    font-size: var(--text-xs);
  }

  /* Mobile: show next button, hide chips */
  .u-container-80.hero.htb-running .htb-uc-chips {
    display: none;
  }
  .htb-run.htb-side--active .htb-next {
    display: flex;
  }
}
