/* Providusunity bank — cross-slide stage + ui polish
   Original gold theme, original type sizes preserved.
   Focused changes: cross-slide section transitions (Explore→SME→
   Diaspora cross-fade horizontally), pinned horizontal "Who We
   Serve" gallery, animated quick-links, numbered product tiles,
   gold-sweep hover, custom cursor, WebGL hero. */

/* PAGE PRELOADER — full-bleed dark + animated gold rings + brand
   + shimmer bar. Enhanced by a Three.js icosahedron when available.
   Hidden by JS on window.load + fonts.ready. */
body.preloading {
  overflow: hidden;
}

/* Shared layout web-components render their markup in light DOM; the
   wrapper itself must not affect layout (footer is normal-flow, nav is
   sticky, fab is fixed). display:contents removes the wrapper box. */
site-navbar,
site-footer,
site-fab {
  display: contents;
}

/* Hero video overlay (desktop)
   Sits above the hero content (z:10) and below the sticky nav (z:1000).
   Starts hidden; JS fades it in on a slight scroll to replace the hero. */
.hero-alt-video {
  position: absolute;
  inset: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  pointer-events: none;
}
.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #fdb813;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.7s;
}
.page-preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle,
    rgba(26, 18, 0, 0.07) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  pointer-events: none;
}
.page-preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  padding: 24px;
}
.preloader-rings {
  position: relative;
  width: 132px;
  height: 132px;
}
.preloader-rings .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}
.preloader-rings .ring:nth-child(1) {
  border-top-color: black;
  border-right-color: rgba(253, 184, 19, 0.45);
  animation: preloaderSpin 1.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.preloader-rings .ring:nth-child(2) {
  inset: 14px;
  border-bottom-color: black;
  border-left-color: rgba(240, 169, 12, 0.4);
  animation: preloaderSpin 2.2s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
}
.preloader-rings .ring:nth-child(3) {
  inset: 28px;
  border-top-color: #1a1200;
  animation: preloaderSpin 1.1s linear infinite;
}
@keyframes preloaderSpin {
  to {
    transform: rotate(360deg);
  }
}
.preloader-brand {
  text-align: center;
}
.preloader-logo {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.32em;
  color: black;
  margin-bottom: 8px;
}
.preloader-tag {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(26, 18, 0, 0.5);
}
.preloader-bar {
  width: 220px;
  height: 2px;
  background: rgba(26, 18, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.preloader-bar-fill {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(
    90deg,
    transparent,
    #fdb813,
    #f0a90c,
    transparent
  );
  box-shadow: 0 0 14px rgba(253, 184, 19, 0.55);
  animation: preloaderShimmer 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@keyframes preloaderShimmer {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(360%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-rings .ring,
  .preloader-bar-fill {
    animation: none !important;
  }
}

/* "Who We Serve" header: stack heading + "View All Services" button
   on separate lines below tablet width (inline-styled grid override) */
@media (max-width: 760px) {
  .segments-section > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
  .segments-section > div[style*="grid-template-columns"] .btn-ghost {
    justify-self: flex-start;
    white-space: normal;
  }
  /* Tighten the gap between the button and the first segment card */
  .segments-section .seg-grid[style*="margin-top"],
  .segments-section .seg-grid {
    margin-top: 18px !important;
  }
  /* Breathing room under the last segment card (Global Trade) before
     the next section on mobile */
  .segments-section .seg-grid > .seg-card:last-child {
    margin-bottom: 28px;
  }
}

/* Lenis smooth scroll integration */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

.ganim-soft {
  will-change: transform, opacity;
}

/* Tighter heading tracking (no size change) */
.hs-h1 {
  letter-spacing: -0.025em;
}
.section-h2,
.section-h2-white {
  letter-spacing: -0.02em;
}
.eyebrow {
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
}
.eyebrow span {
  width: 28px !important;
  background: #f5a800 !important;
  opacity: 1 !important;
}

/* CARDS — gold-sweep highlight on hover + smoother spring */
.seg-card,
.pt,
.sme-benefit-card {
  position: relative;
}
.seg-card::after,
.pt::after,
.sme-benefit-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 35%,
    rgba(245, 168, 0, 0.18) 50%,
    transparent 65%,
    transparent 100%
  );
  transform: translateX(-110%);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: screen;
  z-index: 2;
}
.seg-card:hover::after,
.pt:hover::after,
.sme-benefit-card:hover::after {
  transform: translateX(110%);
}

/* smoother spring on major cards */
.seg-card,
.pt,
.sme-benefit-card {
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s,
    background 0.3s !important;
}

/* Numbered prefix on product tiles (faded gold numerals) */
.prod-tiles .pt[data-pt-num]::before {
  content: attr(data-pt-num);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: "Inter", sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: rgba(245, 168, 0, 0.1);
  pointer-events: none;
  z-index: 1;
  transition:
    color 0.4s,
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.prod-tiles .pt[data-pt-num]:hover::before {
  color: rgba(245, 168, 0, 0.28);
  transform: translateX(-4px);
}

/* Pre-footer rating glow + bigger app-store buttons */
.pf-stars {
  text-shadow: 0 0 16px rgba(245, 168, 0, 0.45);
}

/* HORIZONTAL "Who We Serve" GALLERY (existing) */
.segments-section.is-pinned {
  max-width: 100%;
  /* Keep the header/rail left edge aligned with every other section
     (max-width 1400 + 64px gutter) while the pinned rail runs full-bleed
     to the right. */
  padding-left: max(64px, calc((100% - 1392px) / 2));
  padding-right: 0;
  overflow: hidden;
}
/* Scroll-driven hero animation disabled — the pre-scroll layout
   (bg photo + left text) is the only hero state. Cards row + post
   text were part of the scroll sequence so they're hidden. */
.hero-alt-cards,
.hero-alt-post {
  display: none !important;
}

/* Push the "Who We Serve" header down so it clears the transparent
   fixed nav when the section is pinned at top:0 */
body.page-alt .segments-section,
body.page-alt .segments-section.is-pinned {
  padding-top: clamp(108px, 12vw, 132px) !important;
}
@media (max-width: 760px) {
  body.page-alt .segments-section {
    padding-top: 100px !important;
  }
}
.segments-section.is-pinned .seg-grid.is-horizontal {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 26px;
  will-change: transform;
  padding-top: 20px;
}
.segments-section.is-pinned .seg-grid.is-horizontal .seg-card {
  flex: 0 0 360px;
  width: 360px;
}
.seg-h-rail {
  position: relative;
  height: 3px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.08);
  margin: 34px 0 0;
  overflow: hidden;
}
.seg-h-rail::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--rail, 0%);
  background: linear-gradient(90deg, #c98a00, #f5a800, #ffd166);
  box-shadow: 0 0 12px rgba(245, 168, 0, 0.5);
  transition: width 60ms linear;
}
.seg-h-hint {
  font-family: "Inter", sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #777776;
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.seg-h-hint span {
  color: #f5a800;
  font-weight: 800;
}

/* CROSS-SLIDE STAGE — true simultaneous cross-fade between sections
   Explore, SME and Diaspora are wrapped in .cross-stage by JS.
   Each section is positioned absolute at the same spot; a scrubbed
   timeline animates xPercent so as A slides off LEFT, B slides in
   from RIGHT at the SAME scroll moment. */
@media (min-width: 1000px) {
  .cross-stage {
    position: relative;
    height: 100vh;
    overflow: hidden;
    isolation: isolate;
  }
  /* Each panel fills the stage and vertically-centres its content.
     We apply flex-column/centre to the PANEL only — never to the
     inner container, so the 2-col grids inside stay intact. */
  .cross-stage > * {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    will-change: transform;
  }
  /* Sections inside cross-stage: tighter padding so content fits 100vh */
  .cross-stage .explore-section,
  .cross-stage .sme-section {
    padding: 36px 56px !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
  }
  .cross-stage .diaspora-inner {
    padding: 36px 56px !important;
    max-width: 1280px !important;
  }
  /* Inner containers KEEP their original layout (grid, flex). */
  .cross-stage .explore-inner,
  .cross-stage .sme-inner,
  .cross-stage .diaspora-inner {
    max-width: 1280px;
    margin: 0 auto !important;
    width: 100%;
  }
  /* EXPLORE: flatten 4×3 to 4×2 grid so everything fits */
  .cross-stage .explore-header {
    margin-bottom: 16px !important;
    align-items: center !important;
  }
  .cross-stage .explore-header h2 {
    font-size: clamp(22px, 2.8vw, 36px) !important;
    line-height: 1.1 !important;
  }
  .cross-stage .explore-header p {
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin-top: 6px !important;
    max-width: 520px;
  }
  .cross-stage .explore-header .btn-gold {
    padding: 11px 20px !important;
    font-size: 12px !important;
  }
  .cross-stage .prod-tiles {
    grid-template-columns: repeat(4, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 12px !important;
  }
  /* kill the "wide" span so all 8 tiles fit in 2 rows */
  .cross-stage .pt.wide {
    grid-column: span 1 !important;
  }
  .cross-stage .pt {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    display: flex;
    flex-direction: column;
  }
  .cross-stage .pt-ico {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    margin-bottom: 10px !important;
  }
  .cross-stage .pt-ico svg {
    width: 15px !important;
    height: 15px !important;
  }
  .cross-stage .pt-ttl {
    font-size: 13.5px !important;
    margin-bottom: 4px !important;
    line-height: 1.2 !important;
  }
  .cross-stage .pt-dsc {
    font-size: 11.5px !important;
    line-height: 1.5 !important;
    margin-bottom: 10px !important;
    flex: 1;
  }
  .cross-stage .pt-lnk {
    font-size: 10.5px !important;
  }
  /* numbered prefix smaller and tucked tight */
  .cross-stage .prod-tiles .pt[data-pt-num]::before {
    font-size: 32px !important;
    top: 10px !important;
    right: 12px !important;
  }

  .cross-stage .sme-inner {
    gap: 48px !important;
  }
  .cross-stage .sme-features {
    gap: 14px !important;
    margin-bottom: 22px !important;
  }
  .cross-stage .sme-card-grid {
    gap: 12px !important;
    margin-bottom: 12px !important;
  }
  .cross-stage .sme-program-card {
    padding: 20px 22px !important;
  }
  /* DIASPORA: aggressive compression so everything fits */
  .cross-stage .diaspora-inner {
    padding: 22px 48px !important;
    gap: 36px !important;
  }
  .cross-stage .diaspora-right h2.section-h2-white {
    font-size: clamp(20px, 2.2vw, 28px) !important;
    line-height: 1.15 !important;
  }
  .cross-stage .diaspora-img-frame {
    max-height: 170px !important;
    border-radius: 16px !important;
  }
  .cross-stage .diaspora-globe-wrap {
    gap: 10px !important;
  }
  .cross-stage .diaspora-card {
    padding: 14px 16px !important;
  }
  .cross-stage .dia-card {
    padding: 8px 2px !important;
    margin: 0 !important;
    gap: 10px !important;
  }
  .cross-stage .dia-ico {
    width: 30px !important;
    height: 30px !important;
    border-radius: 9px !important;
  }
  .cross-stage .dia-ico svg {
    width: 14px !important;
    height: 14px !important;
  }
  .cross-stage .dia-ttl {
    font-size: 13px !important;
    margin-bottom: 3px !important;
    line-height: 1.2 !important;
  }
  .cross-stage .dia-dsc {
    font-size: 11px !important;
    line-height: 1.45 !important;
  }
  .cross-stage .diaspora-ctas {
    margin-top: 12px !important;
    gap: 8px !important;
  }
  .cross-stage .diaspora-ctas .btn-gold,
  .cross-stage .diaspora-ctas .btn-ghost-white {
    padding: 9px 16px !important;
    font-size: 11.5px !important;
  }
  /* hide the floating "Banking from anywhere" badge inside the image
     when in the compressed cross-stage view */
  .cross-stage .diaspora-img-badge {
    display: none !important;
  }
  /* chapter numbers smaller inside cross-stage */
  .cross-stage .chapter-num {
    font-size: clamp(56px, 7.5vw, 130px);
    top: 24px;
    right: 40px;
    z-index: 1;
  }
}

/* Disable cross-slide if the viewport is too short to fit content */
@media (min-width: 1000px) and (max-height: 720px) {
  .cross-stage {
    height: auto !important;
    overflow: visible !important;
  }
  .cross-stage > * {
    position: relative !important;
    height: auto !important;
    display: block !important;
    transform: none !important;
  }
}

/* Chapter numbers (decorative gold-tinted numerals) */
.chapter-num {
  position: absolute;
  top: 32px;
  right: 48px;
  font-family: "Inter", sans-serif;
  font-size: clamp(72px, 10vw, 160px);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(245, 168, 0, 0.18) 0%,
    rgba(245, 168, 0, 0.04) 60%,
    rgba(245, 168, 0, 0) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  z-index: 1;
  user-select: none;
}
.chapter-num.dark-section {
  background: linear-gradient(
    180deg,
    rgba(255, 209, 102, 0.25) 0%,
    rgba(245, 168, 0, 0.06) 60%,
    rgba(245, 168, 0, 0) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}
.chapter-num small {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.26em;
  margin-top: 6px;
  background: linear-gradient(
    180deg,
    rgba(245, 168, 0, 0.5),
    rgba(245, 168, 0, 0)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 900px) {
  .chapter-num {
    font-size: clamp(54px, 18vw, 100px);
    top: 16px;
    right: 16px;
  }
}

/* HERO — subtle gold rotating ring behind content */
.hero-slider::after {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(245, 168, 0, 0.18);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 80px rgba(245, 168, 0, 0.06) inset;
  animation: heroRing 14s linear infinite;
}
.hero-slider::before {
  z-index: 1;
}
@keyframes heroRing {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
@media (max-width: 900px) {
  .hero-slider::after {
    display: none;
  }
}

/* Scroll progress hairline */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 2000;
  background: linear-gradient(90deg, #c98a00, #f5a800, #ffd166);
  box-shadow: 0 0 12px rgba(245, 168, 0, 0.6);
  pointer-events: none;
}

/* Custom cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px;
  height: 7px;
  background: #f5a800;
  box-shadow: 0 0 12px rgba(245, 168, 0, 0.7);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(245, 168, 0, 0.75);
  background: rgba(245, 168, 0, 0.04);
  transition:
    width 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s,
    border-color 0.25s;
}
.cursor-ring.is-hover {
  width: 64px;
  height: 64px;
  background: rgba(245, 168, 0, 0.14);
  border-color: rgba(245, 168, 0, 0.95);
}
@media (pointer: fine) {
  body.has-cursor,
  body.has-cursor *,
  body.has-cursor *::before,
  body.has-cursor *::after {
    cursor: none !important;
  }
}
@media (pointer: coarse) {
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}

/* Hero scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.scroll-cue .sc-track {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}
.scroll-cue .sc-track::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 3px;
  background: #f5a800;
  transform: translateX(-50%);
  animation: scWheel 1.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes scWheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  35% {
    opacity: 1;
  }
  70% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  100% {
    opacity: 0;
  }
}
@media (max-width: 760px) {
  .scroll-cue {
    display: none;
  }
}

/* Three.js hero canvas */
#hero-webgl {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.85;
}
.hero-slider .hs-content {
  z-index: 5;
}

/* ALT PAGE — transparent nav overlay (no utility bar)
   The hero starts at the top of the viewport; the nav floats over
   it transparently and gains a dark blurred bg once scrolled past. */
body.page-alt nav#mainNav {
  background: rgba(255, 255, 255, 0.48) !important;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  box-shadow: 0 3px 14px rgba(10, 10, 10, 0.03) !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
body.page-alt nav#mainNav.nav-hover-white {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 20px rgba(10, 10, 10, 0.07) !important;
}
body.page-alt nav#mainNav.nav-hover-white .nav-link {
  color: #1f1f1f;
}
body.page-alt nav#mainNav.nav-hover-white .nav-link:hover,
body.page-alt nav#mainNav.nav-hover-white .nav-item.is-open > .nav-link {
  background: rgba(245, 168, 0, 0.12) !important;
  color: #b37a00 !important;
}
body.page-alt nav#mainNav.nav-hover-white .icon-btn {
  color: rgba(31, 31, 31, 0.78);
}
body.page-alt nav#mainNav.nav-hover-white .icon-btn:hover {
  background: rgba(245, 168, 0, 0.12);
  color: #b37a00;
}
body.page-alt nav#mainNav.nav-hover-white .hamburger span {
  background: #1f1f1f;
}
body.page-alt nav#mainNav .mega-menu {
  top: calc(var(--nav-h, 88px) - 14px) !important;
  border-radius: 8px;
}
body.page-alt nav#mainNav .nav-link {
  color: #1f1f1f;
}
body.page-alt nav#mainNav .nav-link:hover,
body.page-alt nav#mainNav .nav-item.is-open > .nav-link {
  background: rgba(245, 168, 0, 0.12) !important;
  color: #f5a800 !important;
}
body.page-alt nav#mainNav .icon-btn {
  color: rgba(31, 31, 31, 0.78);
}
body.page-alt nav#mainNav .icon-btn:hover {
  background: rgba(245, 168, 0, 0.12);
  color: #f5a800;
}
body.page-alt nav#mainNav .hamburger span {
  background: #1f1f1f;
}
/* Align nav content padding with the hero stage (centred 1280 + 5vw),
   so the logo lines up with the hero text instead of sitting flush to
   the viewport edge. */

/* After scrolling past the hero, nav goes solid white */
body.page-alt.nav-solid nav#mainNav {
  background: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 20px rgba(10, 10, 10, 0.04) !important;
}
body.page-alt.nav-solid nav#mainNav .nav-link {
  color: #1f1f1f;
}
body.page-alt.nav-solid nav#mainNav .nav-link:hover,
body.page-alt.nav-solid nav#mainNav .nav-item.is-open > .nav-link {
  background: rgba(245, 168, 0, 0.12) !important;
  color: #b37a00 !important;
}
body.page-alt.nav-solid nav#mainNav .icon-btn {
  color: rgba(31, 31, 31, 0.78);
}
body.page-alt.nav-solid nav#mainNav .icon-btn:hover {
  background: rgba(245, 168, 0, 0.12);
  color: #b37a00;
}
body.page-alt.nav-solid nav#mainNav .hamburger span {
  background: #1f1f1f;
}

/* On mobile the nav is solid white all the time, scrolled or not */
@media (max-width: 768px) {
  body.page-alt nav#mainNav {
    background: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 20px rgba(10, 10, 10, 0.04) !important;
  }
}

/* ALT HERO — Revolut card-reveal scroll sequence
   Initial state: ONE big main card filling the centre (zoomed in).
   On scroll: main card scales down, two siblings slide in from the
   sides, the pre-scroll headline fades out, the post-scroll H2 + CTA
   fade in. The hero is pinned for the duration of the transition. */
.hero-alt {
  position: relative;
  background: #f7f6f1;
  overflow: hidden;
  min-height: 100vh;
}
/* Full-bleed background photo — shows the FULL landscape image at
   cover state. JS shrinks it into the main card position then fades
   it out, after which the portrait main card takes over. */
.hero-alt-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      70% 50% at 80% 15%,
      rgba(245, 168, 0, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      50% 60% at 10% 80%,
      rgba(245, 168, 0, 0.04) 0%,
      transparent 65%
    );
}
.hero-alt::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.03) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
}
.hero-alt-stage {
  position: relative;
  /* no z-index here — avoids creating a stacking context so pre/post
     text (z:10) can sit above the .hero-alt-bg gradient (z:5) */
  height: 100vh;
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Full-viewport-width left-fading gradient (sits on .hero-alt-bg
   which spans edge-to-edge, not on the centred stage). Multi-stop so
   it dissolves cleanly into transparent before reaching the right. */
.hero-alt-bg {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(
    95deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.88) 10%,
    rgba(255, 255, 255, 0.65) 22%,
    rgba(255, 255, 255, 0.32) 34%,
    rgba(255, 255, 255, 0.1) 44%,
    rgba(255, 255, 255, 0) 54%
  );
}

.hero-alt-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-alt-slider .hero-alt-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-alt-slider .hero-alt-slide.is-active {
  opacity: 1;
}

/* Pre and Post text content stack on top of each other; JS fades */
.hero-alt-pre,
.hero-alt-post {
  position: absolute;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
/* Pre-scroll: LEFT-aligned over the full-bleed image (Revolut layout) */
.hero-alt-pre {
  top: var(--nav-h, 88px);
  bottom: 0;
  left: 64px;
  width: 100%;
  max-width: clamp(300px, 52vw, 760px);
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}
.hero-alt-pre-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  pointer-events: none;
}
.hero-alt-pre-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-alt-slider .hero-alt-slide,
  .hero-alt-pre-slide {
    transition: opacity 0.4s ease;
    transform: none;
  }
}
.hero-alt-pre .hero-alt-h1,
.hero-alt-pre .hero-alt-sub {
  text-align: left;
}

.hero-alt-dots {
  position: absolute;
  left: 0;
  bottom: 8px;
  z-index: 11;
  display: flex;
  gap: 10px;
}
.hero-alt-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(31, 31, 31, 0.22);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease, border-radius 0.3s ease;
}
.hero-alt-dot:hover {
  background: rgba(31, 31, 31, 0.4);
}
.hero-alt-dot.is-active {
  width: 24px;
  border-radius: 5px;
  background: #f5a800;
}

/* Post-scroll: centered over the 3-card row (Revolut post layout) */
.hero-alt-post {
  top: calc(var(--nav-h, 88px) + 24px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 720px;
  padding: 0 24px;
  align-items: center;
  text-align: center;
  opacity: 0;
  pointer-events: none;
}

.hero-alt-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(245, 168, 0, 0.1);
  border: 1px solid rgba(245, 168, 0, 0.25);
  color: #9a6700;
  margin-bottom: 16px;
}
.hero-alt-h1,
.hero-alt-h2 {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  color: #1f1f1f;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}
.hero-alt-h1 {
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 1.02;
}
.hero-alt-h2 {
  font-size: clamp(24px, 3.4vw, 46px);
}
.hero-alt-h1 span,
.hero-alt-h2 span {
  background: linear-gradient(120deg, #ffd166, #f5a800 55%, #c98a00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-alt-sub,
.hero-alt-sub-2 {
  font-size: 15.5px;
  color: rgba(31, 31, 31, 0.72);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 22px;
}
.hero-alt-pre .hero-alt-sub {
  margin-left: 0;
  margin-right: 0;
  font-size: 16.5px;
  max-width: 460px;
}
.hero-alt-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.hero-alt-pre .hero-alt-ctas {
  justify-content: flex-start;
}
.hero-alt-post .hero-alt-ctas {
  justify-content: center;
}
/* Make the secondary ghost CTA legible over the bright hero photo */
.hero-alt-ctas .btn-ghost-white {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}
.hero-alt-ctas .btn-ghost-white:hover {
  border-color: #f5a800;
  background: rgba(0, 0, 0, 0.45);
}
/* Solid-black variant (Providus Pay CTA) — wins over the mobile ghost rule */
.hero-alt-pre .hero-alt-ctas .btn-ghost-white.btn-black,
.hero-alt-post .hero-alt-ctas .btn-ghost-white.btn-black {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}
.hero-alt-pre .hero-alt-ctas .btn-ghost-white.btn-black:hover,
.hero-alt-post .hero-alt-ctas .btn-ghost-white.btn-black:hover {
  background: #111 !important;
  border-color: #f5a800 !important;
}

/* The 3-card row that scrubs */
.hero-alt-cards {
  position: absolute;
  bottom: 4vh;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 22px);
  pointer-events: none;
  z-index: 7; /* above the left gradient (z:5) so cards stay visible */
}
.hero-alt-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.09),
    0 0 0 1px rgba(245, 168, 0, 0.12);
  flex-shrink: 0;
  will-change: transform;
}
.hero-alt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
/* Main card image: keep full image visible during cover state — when
   the card scales to fill the viewport, the natural 16:10 box matches
   the photo aspect so no cropping happens. */
.hac-main img {
  object-position: center center;
}
/* Portrait 4:5 — tall, not wide */
.hac-left,
.hac-right {
  width: clamp(150px, 18vw, 230px);
  aspect-ratio: 4 / 5;
}
.hac-main {
  width: clamp(200px, 23vw, 300px);
  aspect-ratio: 4 / 5;
  z-index: 2;
  will-change: transform, opacity;
  transform-origin: 50% 50%;
}
.hac-main img {
  transform-origin: 50% 60%;
}

/* Revolut-style centered overlay inside the main card:
     small "Personal" label  →  HUGE balance number  →  white pill CTA
     →  trust badges at the very bottom.
     The whole panel scales with the card transform so it reads huge in
     the cover state and shrinks naturally as the card settles. */
.hac-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 14px;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.55) 100%
  );
}
.hac-overlay-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.hac-overlay-lbl {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.02em;
}
.hac-overlay-num {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.045em;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.hac-overlay-num sup {
  font-size: 0.42em;
  color: #f5a800;
  font-weight: 700;
  position: relative;
  top: -0.7em;
  margin-left: 2px;
}
.hac-overlay-cta {
  font-size: 11px;
  font-weight: 600;
  color: #0a0a0a;
  background: #fff;
  border-radius: 22px;
  padding: 7px 18px;
  margin-top: 4px;
  box-shadow: 0 3px 11px rgba(0, 0, 0, 0.1);
}
.hac-overlay-badges {
  display: flex;
  gap: 8px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}
.hac-overlay-badges span {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 4px 8px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hac-meta {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 168, 0, 0.25);
  border-radius: 12px;
  padding: 10px 14px;
}
.hac-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.hac-val {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

/* MOBILE HERO — dedicated layout (≤ 900px)
   Full-bleed bg photo, dark vignette overlay, centered text stack
   (tag → headline → sub → CTA → trust line). All scroll-zoom card
   choreography hidden — mobile users see one clean hero scene. */
@media (max-width: 900px) {
  .hero-alt {
    min-height: 100vh;
    height: 100vh;
    padding: 0;
    overflow: hidden;
  }
  /* Soft vignette so text reads cleanly over the photo */
  .hero-alt-bg {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.25) 35%,
      rgba(0, 0, 0, 0.45) 65%,
      rgba(0, 0, 0, 0.88) 100%
    ) !important;
  }
  /* Bg photo: anchor so the man/robot stays well-framed in portrait */
  .hero-alt-bg-photo {
    object-position: 60% center !important;
  }
  .hero-alt-stage {
    height: 100%;
    padding: calc(var(--nav-h, 88px) + 32px) 22px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
  }
  /* Centered single-column content */
  .hero-alt-pre {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    max-width: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
    margin: auto 0;
    padding-bottom: 80px;
  }
  .hero-alt-pre .hero-alt-tag {
    font-size: 10px !important;
    padding: 6px 14px !important;
    margin-bottom: 20px !important;
  }
  .hero-alt-pre .hero-alt-h1 {
    text-align: center !important;
    align-items: center !important;
    font-size: clamp(34px, 9vw, 52px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
    margin: 0 0 18px !important;
  }
  .hero-alt-pre .hero-alt-sub {
    text-align: center !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 0 auto 26px !important;
    max-width: 420px !important;
    color: rgba(255, 255, 255, 0.78) !important;
  }
  .hero-alt-pre .hero-alt-ctas {
    width: 100%;
    justify-content: center !important;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .hero-alt-pre .hero-alt-ctas .btn-gold,
  .hero-alt-pre .hero-alt-ctas .btn-ghost-white,
  .hero-alt-pre .hero-alt-ctas .btn-ghost {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 14px 24px !important;
    font-size: 13px !important;
  }
  .hero-alt-pre .hero-alt-ctas .btn-ghost-white,
  .hero-alt-pre .hero-alt-ctas .btn-ghost {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }
  /* Hide post text, card row, scroll cue — mobile is a single clean scene */
  .hero-alt-post,
  .hero-alt-cards {
    display: none !important;
  }
  .scroll-cue {
    display: none !important;
  }
  .hero-alt-pre::after {
    display: none;
  }
    .hero-alt-pre-slide {
    align-items: center !important;
    text-align: center !important;
    width: 100%;
  }

  .hero-alt-dots {
    position: fixed; /* or absolute */
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px; /* adjust this value as needed */
    z-index: 11;
  }
}

/* Tiny phones: reduce hero padding further */
@media (max-width: 420px) {
  .hero-alt-stage {
    padding: calc(var(--nav-h, 88px) + 22px) 18px 28px;
  }
  .hero-alt-pre .hero-alt-h1 {
    font-size: clamp(30px, 9.5vw, 44px) !important;
  }
  .hero-alt-pre .hero-alt-sub {
    font-size: 14px !important;
  }
}

/* ALT PAGE — Floating Action Button (FAB)
   Replaces the removed utility bar — Branch Locator, Careers,
   Open Account. Trigger sits bottom-right; menu expands above. */
.fab-root {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 4000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.fab-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold, #f5a800);
  color: #0a0a0a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 30px rgba(245, 168, 0, 0.42),
    0 1px 6px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s,
    background 0.2s;
  position: relative;
  z-index: 2;
}
.fab-trigger:hover {
  transform: scale(1.06);
  box-shadow:
    0 14px 38px rgba(245, 168, 0, 0.55),
    0 2px 7px rgba(0, 0, 0, 0.11);
}
.fab-trigger:active {
  transform: scale(0.96);
}
.fab-icon-open,
.fab-icon-close {
  position: absolute;
  display: block;
  transition:
    opacity 0.2s,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.fab-icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}
.fab-root.is-open .fab-icon-open {
  opacity: 0;
  transform: rotate(90deg);
}
.fab-root.is-open .fab-icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  pointer-events: none;
}
.fab-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 18px 11px 14px;
  background: rgba(20, 20, 22, 0.92);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 5px 17px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(14px) scale(0.85);
  transform-origin: 0% 50%;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.3s ease,
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
  transition-delay: 0ms;
}
.fab-root.is-open {
  z-index: 8500;
}

.fab-root.is-open .fab-menu {
  pointer-events: auto;
}
.fab-root.is-open .fab-item {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: var(--fab-delay, 0ms);
}
.fab-item:hover {
  background: var(--gold, #f5a800);
  border-color: var(--gold, #f5a800);
  color: #0a0a0a;
  transform: translateY(0) scale(1.04);
}
.fab-item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* slight backdrop dim when open */
.fab-root.is-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at 50px calc(100% - 50px),
    rgba(0, 0, 0, 0.35) 0%,
    transparent 35%
  );
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 760px) {
  .fab-root {
    bottom: 18px;
    left: 18px;
  }
  .fab-trigger {
    width: 52px;
    height: 52px;
  }
  .fab-item {
    font-size: 12.5px;
    padding: 10px 16px 10px 12px;
  }
}

/* ALT PAGE — EXPLORE PRODUCT SHOWCASE (full-width swap panels)
   Pre-scroll: intro panel (heading + paragraph + CTA, full-bleed).
   On scroll the showcase pins and a horizontal track scrubs through
   8 product panels (image on the left, text + CTA on the right).
   After the last product, the section unpins and SME starts.
   Only active on .page-alt with desktop viewport. */
/* Hide the original grid + header on alt — showcase takes over */
body.page-alt .explore-section .explore-header,
body.page-alt .explore-section .prod-tiles {
  display: none !important;
}

/* Default: hide the showcase block on non-alt pages */
.explore-showcase {
  display: none;
}
body.page-alt .explore-showcase {
  display: block;
}

/* The section itself has 0 height in flow on alt — the showcase is
   absolutely positioned and fills the viewport DURING the pin via
   position:fixed (set by ScrollTrigger). When the pin ends, no extra
   100vh of empty section sits between the user and SME — the cross-
   stage immediately follows in flow, so SME slides in right away. */
body.page-alt .explore-section {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  height: 0 !important;
  position: relative;
  overflow: visible !important;
}
/* Restore the explore video bg — positioned absolute inside the
   0-height section so it fills the 100vh showcase area. Visible
   behind the intro panel (which has transparent bg); product panels
   cover it with their own per-panel imagery. */
body.page-alt .explore-section .explore-video-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 100vh !important;
  z-index: 0;
}
body.page-alt .ep-intro {
  background: transparent;
}
body.page-alt .explore-section .explore-inner {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}
body.page-alt .explore-showcase {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow: hidden;
}
/* Panels stack on top of each other; each subsequent one slides up
   from below to cover the previous (vertical scroll-driven reveal). */
body.page-alt .explore-panels {
  position: relative;
  width: 100%;
  height: 100%;
}
body.page-alt .explore-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}
/* Intro panel — heading + paragraph + CTA, centred over the dark vid bg */
body.page-alt .ep-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(40px, 8vw, 120px);
}
body.page-alt .ep-intro-content {
  max-width: 880px;
  text-align: center;
  position: relative;
  z-index: 2;
}
body.page-alt .ep-intro .eyebrow {
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold, #f5a800) !important;
}
body.page-alt .ep-intro-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(36px, 5.5vw, 76px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
}
body.page-alt .ep-intro-title em {
  font-style: normal;
  background: linear-gradient(120deg, #ffd166, #f5a800 55%, #c98a00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body.page-alt .ep-intro-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Product panel — image left, content right (full width 50/50 split) */
body.page-alt .ep-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
body.page-alt .ep-image {
  background-size: cover;
  background-position: center;
  position: relative;
}
body.page-alt .ep-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 6, 6, 0) 70%,
    rgba(6, 6, 6, 0.85) 100%
  );
  pointer-events: none;
}
body.page-alt .ep-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(40px, 6vw, 96px);
  background: #060606;
  position: relative;
  z-index: 1;
}
body.page-alt .ep-num {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold, #f5a800);
  margin-bottom: 24px;
}
body.page-alt .ep-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(34px, 4.8vw, 64px);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
body.page-alt .ep-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 0 32px;
}
body.page-alt .ep-content .btn-gold {
  align-self: flex-start;
}

/* Mobile / short viewport: panels become rounded CARDS stacked
   vertically. Image on top + content below, gap between cards,
   shadow + gold border hairline so they read as proper product cards. */
@media (max-width: 999px), (max-height: 599px) {
  body.page-alt .explore-section {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    position: relative !important;
    background: #060606;
    padding: 28px 14px 36px !important;
  }
  /* Hide the video bg on mobile — each panel has its own bg */
  body.page-alt .explore-section .explore-video-bg {
    display: none !important;
  }
  body.page-alt .explore-showcase {
    position: relative !important;
    top: auto !important;
    height: auto !important;
    overflow: visible !important;
    max-width: 520px;
    margin: 0 auto;
  }
  body.page-alt .explore-panels {
    position: relative !important;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto !important;
    transform: none !important;
    gap: 18px;
  }
  body.page-alt .explore-panel {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
      0 9px 27px rgba(0, 0, 0, 0.12),
      0 0 0 1px rgba(245, 168, 0, 0.1);
  }

  /* Intro card — gold-tinted bg, centered content */
  body.page-alt .ep-intro {
    padding: 52px 28px !important;
    background: linear-gradient(
      135deg,
      #1a1200 0%,
      #0e0a02 60%,
      #060606 100%
    ) !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  body.page-alt .ep-intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  body.page-alt .ep-intro .eyebrow {
    justify-content: center;
  }
  body.page-alt .ep-intro-title {
    font-size: clamp(26px, 6.5vw, 36px);
  }
  body.page-alt .ep-intro-desc {
    font-size: 14.5px;
  }

  /* Product card — image top, content bottom */
  body.page-alt .ep-product {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
    background: #0a0a0a;
  }
  body.page-alt .ep-image {
    min-height: 0;
    height: 210px;
  }
  body.page-alt .ep-image::after {
    display: none;
  }
  body.page-alt .ep-content {
    padding: 26px 22px 30px !important;
    background: transparent;
  }
  body.page-alt .ep-title {
    font-size: clamp(22px, 5.5vw, 30px);
  }
  body.page-alt .ep-desc {
    font-size: 14px;
    max-width: none;
  }
  body.page-alt .ep-num {
    margin-bottom: 14px;
  }
}

/* FOOTER REDESIGN — NDIC-inspired centered top + clean main
   The pre-footer (app-download block) becomes the centered focal
   section above a hairline divider; main columns get cleaner type;
   bottom bar gets its own hairline divider. */

/* Pre-footer: centered like NDIC newsletter section */
.pre-footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 76px 24px 40px !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  position: relative;
  background: linear-gradient(135deg, #1a1200 0%, #0d0d0d 60%) !important;
}
.pre-footer::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(245, 168, 0, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.pre-footer .pf-left {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pre-footer .pf-eyebrow {
  justify-content: center !important;
  margin-bottom: 14px !important;
}
.pre-footer .pf-title {
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 300 !important;
  letter-spacing: -0.015em !important;
  margin-bottom: 14px !important;
  color: #fff !important;
}
.pre-footer .pf-title em,
.pre-footer .pf-title strong {
  font-weight: 700 !important;
  color: var(--gold, #f5a800) !important;
  font-style: normal !important;
}
.pre-footer .pf-title br {
  display: none;
}
.pre-footer .pf-sub {
  max-width: 580px !important;
  margin: 0 auto 32px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  text-align: center !important;
}
.pre-footer .pf-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 18px !important;
  width: auto !important;
}
.pre-footer .app-store-row {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
}
.pre-footer .pf-rating {
  justify-content: center !important;
}
/* Hairline divider below the pre-footer */
.pre-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(85vw, 1100px);
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

/* Main footer: 5-col layout, logo block left, link cluster right
   Logo column eats a big chunk so its narrow content sits with a wide
   empty zone to its right; the 4 link cols cluster tightly on the right
   with consistent inter-column spacing. */
.footer-main2 {
  padding-top: 56px !important;
  padding-bottom: 40px !important;
  grid-template-columns: 2.6fr 1fr 1fr 1fr 1fr !important;
  column-gap: 28px !important;
  row-gap: 28px !important;
  align-items: start !important;
}
/* logo column: cap content so empty space sits to its right */
.footer-main2 > :first-child {
  max-width: 360px;
}
@media (max-width: 1100px) {
  .footer-main2 {
    grid-template-columns: 1.8fr 1fr 1fr 1fr !important;
    column-gap: 24px !important;
  }
  .footer-main2 .fb-socials-col {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .footer-main2 {
    grid-template-columns: 1fr 1fr !important;
    column-gap: 22px !important;
    row-gap: 28px !important;
  }
  .footer-main2 > :first-child {
    max-width: 100%;
  }
  .footer-main2 .fb-socials-col {
    grid-column: auto;
  }
}
.footer-main2 .fc2-head {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #ffffff !important;
  margin-bottom: 18px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}
.footer-main2 .fc2-links {
  gap: 14px !important; /* more breathing room between links */
}
.footer-main2 .fc2-links a {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}
.footer-main2 .fc2-links a:hover {
  color: #fff !important;
}

/* Socials as a vertical column with icon + label per item */
.fb-socials {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 14px !important;
}
.fb-socials .fb-social {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  gap: 12px !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.68) !important;
  transition: color 0.18s !important;
}
.fb-socials .fb-social:hover {
  background: transparent !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: none !important;
}
.fb-socials .fb-social svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}
.fb-socials .fb-social-lbl {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2;
}

/* More breathing on contact items too */
.footer-main2 .fb-contact {
  gap: 14px !important;
}
.footer-main2 .fb-tagline {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.footer-main2 .fb-contact-item {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 14px !important;
}
.footer-main2 .fb-contact-item:hover {
  color: #fff !important;
}

/* Bottom bar: hairline divider above + cleaner spacing */
.footer-bottom2 {
  position: relative;
  padding-top: 24px !important;
}
.footer-bottom2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(85vw, 1100px);
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}
.footer-bottom2 .fb2-copy,
.footer-bottom2 .fb2-legal a {
  font-size: 13px !important;
  color: rgba(255, 255, 255, 0.58) !important;
}
.footer-bottom2 .fb2-legal a:hover {
  color: #fff !important;
}

/* Pre-footer mobile */
@media (max-width: 760px) {
  .pre-footer {
    padding: 56px 20px 32px !important;
  }
  .pre-footer .pf-title {
    font-size: clamp(24px, 7vw, 34px) !important;
  }
  .pre-footer .pf-sub {
    font-size: 14px !important;
  }
  .pre-footer .app-store-row {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
    align-items: center;
  }
  .pre-footer .app-btn2 {
    min-width: 220px;
    justify-content: center;
  }

  /* Footer-main2: logo block spans both columns above the link grid */
  .footer-main2 {
    padding: 40px 22px 28px !important;
    column-gap: 22px !important;
    row-gap: 26px !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-main2 > :first-child {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
  }
  .footer-main2 .fb-socials-col {
    grid-column: 1 / -1 !important;
  }
  .footer-main2 .fc2-head {
    margin-bottom: 12px !important;
  }
  .footer-main2 .fc2-links {
    gap: 10px !important;
  }
  .footer-main2 .fc2-links a {
    font-size: 13px !important;
  }

  /* Footer-bottom2: stack vertically, wrap legal links */
  .footer-bottom2 {
    padding: 24px 22px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    text-align: center;
  }
  .footer-bottom2::before {
    width: calc(100% - 44px);
  }
  .footer-bottom2 .fb2-left {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center;
    width: 100%;
  }
  .footer-bottom2 .fb2-divider {
    display: none !important;
  }
  .footer-bottom2 .fb2-legal {
    display: flex;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px 16px !important;
  }
  .footer-bottom2 .fb2-legal a {
    font-size: 12px !important;
  }
  .footer-bottom2 .fb2-back {
    margin: 0 auto !important;
  }
}

/* Very narrow phones: single-column footer */
@media (max-width: 480px) {
  .pre-footer {
    padding: 44px 18px 28px !important;
  }
  .pre-footer .pf-title {
    font-size: clamp(22px, 8vw, 30px) !important;
  }
  .pre-footer .pf-sub {
    font-size: 13.5px !important;
  }

  .footer-main2 {
    padding: 36px 18px 24px !important;
    grid-template-columns: 1fr !important;
    row-gap: 24px !important;
  }
  .footer-main2 > :first-child,
  .footer-main2 .fb-socials-col {
    grid-column: 1 / -1 !important;
  }
  .footer-bottom2 {
    padding: 22px 18px !important;
  }
  .footer-bottom2 .fb2-legal {
    gap: 6px 12px !important;
  }
  .footer-bottom2 .fb2-legal a {
    font-size: 11.5px !important;
  }
  .footer-bottom2 .fb2-copy {
    font-size: 12px !important;
  }
}

/* Mobile responsive adjustments */

/* Tablet (≤ 960px): subtler decoration so layout stays clean */
@media (max-width: 960px) {
  .chapter-num {
    font-size: clamp(48px, 14vw, 92px);
    top: 14px;
    right: 14px;
  }
  .chapter-num small {
    font-size: 9px;
    letter-spacing: 0.2em;
    margin-top: 4px;
  }
  /* shrink the decorative numbered prefix on product tiles */
  .prod-tiles .pt[data-pt-num]::before {
    font-size: 36px;
    top: 10px;
    right: 12px;
  }
}

/* Phone (≤ 760px): hide the decorative chapter labels — they
   overlap content at tight widths */
@media (max-width: 760px) {
  .chapter-num {
    display: none !important;
  }
  /* even smaller numbered prefix */
  .prod-tiles .pt[data-pt-num]::before {
    font-size: 28px;
    top: 8px;
    right: 10px;
  }
  /* card sweep highlight: skip on small screens (no hover anyway) */
  .seg-card::after,
  .pt::after,
  .sme-benefit-card::after {
    display: none;
  }
  /* hero WebGL: keep but cap opacity so the slide image stays readable */
  #hero-webgl {
    opacity: 0.55;
  }
}

/* Very small phones (≤ 480px) */
@media (max-width: 480px) {
  .prod-tiles .pt[data-pt-num]::before {
    font-size: 24px;
    top: 6px;
    right: 8px;
  }
  /* scroll-progress hairline a touch shorter */
  #scroll-progress {
    height: 1.5px;
  }
}

/* Reduced motion fallbacks */
@media (prefers-reduced-motion: reduce) {
  .ganim-soft {
    opacity: 1 !important;
    transform: none !important;
  }
  .cursor-dot,
  .cursor-ring,
  .scroll-cue,
  #hero-webgl,
  .seg-card::after,
  .pt::after,
  .sme-benefit-card::after,
  .hero-slider::after {
    display: none !important;
  }
  .segments-section.is-pinned .seg-grid.is-horizontal {
    flex-wrap: wrap;
    width: auto;
  }
  .cross-stage {
    height: auto !important;
    overflow: visible !important;
  }
  .cross-stage > * {
    position: relative !important;
    height: auto !important;
    transform: none !important;
  }
}

.cc-banner {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 8000;
  width: min(1000px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(20, 16, 0, 0.07), 0 2px 6px rgba(20, 16, 0, 0.03);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  transform: translate(-50%, 130%) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.42s ease,
    visibility 0s linear 0.62s;
}

.cc-banner.is-in {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.62s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.42s ease,
    visibility 0s;
}

.cc-copy {
  flex: 1 1 340px;
  min-width: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #5e5e57;
}

.cc-copy a {
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(253, 184, 19, 0.55);
  transition: text-decoration-color 0.2s, color 0.2s;
}

.cc-copy a:hover {
  color: #b37a00;
  text-decoration-color: #fdb813;
}

.cc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cc-btn {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 30px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.22s;
}

.cc-btn:active {
  transform: scale(0.97);
}

.cc-btn-primary {
  background: var(--gold, #fdb813);
  color: #1a1200;
}

.cc-btn-primary:hover {
  background: #f0a90c;
}

.cc-btn-ghost {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #3a3a35;
}

.cc-btn-ghost:hover {
  border-color: rgba(253, 184, 19, 0.65);
  color: #1a1a1a;
}

.cc-btn-link {
  background: none;
  padding: 11px 8px;
  color: #6b6b6b;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 0, 0, 0.2);
}

.cc-btn-link:hover {
  color: #1a1a1a;
  text-decoration-color: #fdb813;
}

.cc-scrim {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(20, 16, 8, 0.5);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.34s ease, visibility 0s linear 0.34s;
}

.cc-scrim.is-in {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.34s ease, visibility 0s;
}

.cc-modal {
  width: min(620px, 100%);
  max-height: min(84vh, 760px);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(20, 16, 0, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(18px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.34s ease;
}

.cc-scrim.is-in .cc-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.cc-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 28px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cc-modal-head h2 {
  flex: 1;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #1a1a1a;
}

.cc-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: #6b6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s;
}

.cc-close:hover {
  background: #f6f6f4;
  color: #1a1a1a;
  transform: rotate(90deg);
}

.cc-close svg {
  width: 15px;
  height: 15px;
}

.cc-modal-body {
  overflow-y: auto;
  padding: 8px 28px 4px;
  overscroll-behavior: contain;
}

.cc-cat {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cc-cat:last-child {
  border-bottom: none;
}

.cc-cat-text h4 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  color: #1a1a1a;
  margin-bottom: 5px;
}

.cc-cat-text p {
  font-size: 12.5px;
  line-height: 1.65;
  color: #76766f;
}

.cc-locked {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 30px;
  background: rgba(253, 184, 19, 0.14);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a6400;
  vertical-align: middle;
}

.cc-switch {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 27px;
  margin-top: 2px;
}

.cc-switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.cc-switch input:disabled {
  cursor: not-allowed;
}

.cc-track {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  background: #d9d9d4;
  transition: background 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.cc-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc-switch input:checked + .cc-track {
  background: var(--gold, #fdb813);
}

.cc-switch input:checked + .cc-track::after {
  transform: translateX(19px);
}

.cc-switch input:disabled + .cc-track {
  background: rgba(253, 184, 19, 0.45);
}

.cc-switch input:focus-visible + .cc-track {
  outline: 2px solid #fdb813;
  outline-offset: 3px;
}

.cc-modal-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 28px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #fffdf6;
}

.cc-modal-foot .cc-btn-primary {
  margin-left: auto;
}

.fab-root,
#scrollTopBtn {
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

body.cc-modal-open {
  overflow: hidden;
}

@media (max-width: 1280px) {
  .cc-banner {
    width: min(1000px, calc(100vw - 176px));
  }
}

@media (max-width: 860px) {
  .cc-banner {
    top: 50%;
    width: calc(100vw - 24px);
    padding: 20px;
    gap: 16px;
  }

  .cc-actions {
    width: 100%;
  }

  .cc-actions .cc-btn-primary,
  .cc-actions .cc-btn-ghost {
    flex: 1 1 140px;
    text-align: center;
  }

  .cc-btn-link {
    flex-basis: 100%;
    text-align: center;
  }

  .cc-modal-head,
  .cc-modal-body,
  .cc-modal-foot {
    padding-left: 20px;
    padding-right: 20px;
  }

  .cc-modal-foot .cc-btn-primary {
    margin-left: 0;
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner,
  .cc-scrim,
  .cc-modal,
  .cc-track,
  .cc-track::after,
  .fab-root,
  body.cc-open .fab-root {
    transition-duration: 0.01ms;
  }
}
