:root {
  --white: #ffffff;
  --navy: #0e2a47;
  --orange: #df612f;
  --orange-dark: #0E2A47;
  --cream: #f6e8d7;
  --gray-panel: #f0f0f0;
  --gray-line: #e7e9ec;
  --text-stats: #151515;
  --muted-on-navy: rgba(255, 255, 255, 0.8);
  --glass: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-strong: rgba(255, 255, 255, 0.4);
  --frame-max: 1520px;
  --figma-artboard: 1920px;
  --radius-pill: 49px;
  --radius-chip: 28px;
  --radius-card: 20px;
  --radius-step: 32px;
  /* Step cards: outer ~32px, inner image frame ~16–20px (reference layout) */
  --radius-step-stack: clamp(28px, 2.8vw, 36px);
  --radius-step-visual-inner: clamp(16px, 2vw, 24px);
  --step-visual-inset: clamp(18px, 2vw, 24px);
  --font-display: "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-metric: "Figtree", system-ui, sans-serif;
  --reveal-duration: 0.88s;
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --frame-gutter: clamp(16px, 5vw, 28px);
  /* Mobile nav drawer: shared open/close timing */
  --nav-drawer-duration: 0.45s;
  --nav-drawer-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  touch-action: pan-y;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

#brikk-mascot {
  pointer-events: auto;
  perspective: 1000px;
}

#brikk-inner {
  transform-style: preserve-3d;
  will-change: transform;
}
#brikk-inner {
  transform-origin: bottom center;
}

#brikk-mover {
  transform-style: preserve-3d;
  will-change: transform;
}


#industries,
#resources,
#about {
  scroll-margin-top: 120px;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: #0e2a47;
  /* Must stay visible horizontally so position:sticky works (steps stacking cards). */
  overflow-x: visible;
  font-size: 16px;
  line-height: 1.4;
}

img {
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.frame {
  width: min(var(--frame-max), calc(100vw - 2 * var(--frame-gutter)));
  margin-inline: auto;
  padding-inline: 0;
}

/* ——— Header — Rectangle 34661421 (Figma) ——— */
.site-header {
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  /* No transform here — transform creates a containing block and breaks smooth
     GPU compositing for position:fixed descendants (mobile nav drawer). */
  width: min(1920px, 100%);
  max-width: 100%;
  height: 104px;
  padding-left: max(1px, env(safe-area-inset-left, 0px));
  padding-right: max(0px, env(safe-area-inset-right, 0px));
  /* background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  z-index: 100;
  overflow: visible;
}

.header-shell {
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding-left: max(var(--frame-gutter), calc((100% - var(--frame-max)) / 2), env(safe-area-inset-left, 0px));
  padding-right: max(var(--frame-gutter), calc((100% - var(--frame-max)) / 2), env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
}

.header-inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 216px 350px 388px 478px 178px;
  align-items: center;
  width: 100%;
  max-width: var(--frame-max);
  margin-inline: auto;
  min-height: 48px;
}

.header-logo {
  grid-column: 1;
}

.header-logo img {
  display: block;
  height: 48px;
  width: auto;
}

.nav-pill {
  grid-column: 3;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(20px);
}

.nav-pill a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.32;
}

/* .btn-nav label must stay dark — .nav-pill a above would otherwise win (white on white in drawer) */
.nav-pill a.nav-pill__download {
  color: var(--orange-dark);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 clamp(14px, 3vw, 30px);
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(12px, 1.8vw, 14px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
  backdrop-filter: blur(20px);
  flex-shrink: 0;
  white-space: nowrap;
}

.header-download {
  grid-column: 5;
  justify-self: end;
}

.nav-toggle {
  display: none;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  cursor: pointer;
  flex-shrink: 0;
  color: var(--white);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.nav-toggle__bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 20px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 1px;
  transition:
    transform var(--nav-drawer-duration) var(--nav-drawer-ease),
    opacity calc(var(--nav-drawer-duration) * 0.85) var(--nav-drawer-ease);
}

.site-header.is-nav-open .nav-toggle__bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-nav-open .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(11, 36, 65, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* Fade out first; hide after (avoids clicks while invisible) */
  transition:
    opacity var(--nav-drawer-duration) var(--nav-drawer-ease),
    visibility 0s linear var(--nav-drawer-duration);
}

body.is-nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* Show immediately, then fade in */
  transition:
    opacity var(--nav-drawer-duration) var(--nav-drawer-ease),
    visibility 0s linear 0s;
}

@media (min-width: 1321px) {
  .nav-pill .nav-pill__download {
    display: none;
  }
}

/* Drawer-only chrome (hidden on wide layouts where the pill is inline) */
.nav-drawer__head {
  display: none;
}

.nav-drawer__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}

.nav-close {
  display: none;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.65);
  outline-offset: 2px;
}

.nav-close__icon {
  position: relative;
  display: block;
  width: 18px;
  height: 18px;
}

.nav-close__icon::before,
.nav-close__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.nav-close__icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-close__icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* ——— Hero (Figma artboard 1920×1139 — single scale for bg + hand) ——— */
.hero {
  color: var(--white);
  overflow: hidden;
}

/* Centered max 1920 — all hero geometry uses % of this box */
.hero-wrap {
  position: relative;
  width: min(100%, var(--figma-artboard));
  margin-inline: auto;
}

.hero-artboard {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1366;
  overflow: hidden;
  background:
    linear-gradient(rgba(14, 42, 71, 0.82), rgba(14, 42, 71, 0.82)),
    #0e2a47
    url("./assets/figma/image.png")
    center / cover no-repeat;
  background-blend-mode: multiply, normal;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Figma Ellipse 11762 — large soft white haze over orange band */
.hero-ellipse {
  position: absolute;
  left: 50%;
  top: -38%;
  transform: translateX(-50%);
  width: 200%;
  height: 95%;
  background: radial-gradient(
    ellipse 48% 40% at 52% 78%,
    rgba(9, 22, 38, 0.52) 0%,
    rgba(9, 22, 38, 0.22) 38%,
    rgba(9, 22, 38, 0) 68%
  );
  pointer-events: none;
  z-index: 0;
}

/* Subtle rotating light — premium, GPU-friendly (transform only) */
.hero-bg-ambient {
  position: absolute;
  inset: -40% -25%;
  z-index: 1;
  background: conic-gradient(
    from 200deg at 48% 42%,
    rgba(6, 18, 34, 0.16) 0deg,
    transparent 55deg,
    rgba(14, 42, 71, 0.22) 110deg,
    transparent 175deg,
    rgba(6, 18, 34, 0.1) 240deg,
    transparent 300deg,
    rgba(14, 42, 71, 0.18) 360deg
  );
  opacity: 0.85;
  mix-blend-mode: soft-light;
  animation: hero-ambient-spin 52s linear infinite;
  pointer-events: none;
  transform-origin: 50% 45%;
}

/* Slow moving light band — GPU-friendly background-position only */
.hero-bg-wave {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.55;
  background: linear-gradient(
    118deg,
    transparent 0%,
    rgba(8, 24, 42, 0.18) 42%,
    rgba(14, 42, 71, 0.14) 52%,
    transparent 88%
  );
  background-size: 220% 180%;
  mix-blend-mode: soft-light;
  animation: hero-bg-wave-shift 22s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Cover avoids stretched backgrounds at non-1920 aspect ratios (mobile / split view) */
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 38%;
  display: none;
  z-index: 3;
}

.hero-orange {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(180deg, rgba(223, 97, 47, 0.55) 0%, rgba(194, 74, 31, 0.82) 100%);
  opacity: 0;
  pointer-events: none;
}

/* Extra white lift around handset + lower-right (before rings/phone) */
.hero-bloom {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(
      ellipse 58% 52% at 74% 30%,
      rgba(9, 22, 38, 0.42) 0%,
      rgba(9, 22, 38, 0.12) 40%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 45% 42% at 52% 58%,
      rgba(9, 22, 38, 0.26) 0%,
      rgba(9, 22, 38, 0.08) 45%,
      transparent 70%
    );
  pointer-events: none;
}

/*
 * Rectangle 34661410 (Figma) — 1920×1468 @ top: 450px, above phone in layer order
 * Scaled to hero artboard 1920×1139: top/height as % of artboard height
 */
.hero-fade {
  position: absolute;
  left: 0;
  width: 100%;
  top: calc(570 / 1139 * 100%);
  height: calc(1468 / 1139 * 100%);
  z-index: 9;
  background: linear-gradient(
    180.4deg,
    rgba(14, 42, 71, 0) -0.37%,
    rgba(14, 42, 71, 0.88) 33.19%,
    #0e2a47 39.1%
  );
  pointer-events: none;
}

/* layout_561X5N — hand/phone 824,110 1014×926; fill_L866VE STRETCH */
.hero-hand {
  position: absolute;
  z-index: 6;
  left: 50.9166666667%;
  top: 9.1176470588%;
  width: 35.8125%;
  height: 65.2993854258%;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .hero-hand {
    left: 36%;
    width: 68%;
    top: 12%;
    height: 80%;
  }
}

@media (max-width: 900px) {
  .hero-hand {
    left: 26%;
    width: 82%;
    top: 17%;
    height: 74%;
  }
}

/* ——— Premium hero visual (phone + pulse rings + floating UI) ——— */
.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 2;
  --parallax-x: 0;
  --parallax-y: 0;
  transform: translate3d(
    calc(var(--parallax-x) * 14px),
    calc(var(--parallax-y) * 11px),
    0
  );
  will-change: transform;
}

.hero-pulse-rings {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(72%, 52vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.hero-pulse-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  transform: translate(-50%, -50%) scale(0.75);
  opacity: 0;
  animation: hero-pulse-ring-expand 4.2s ease-out infinite;
  box-shadow: 0 0 42px rgba(255, 255, 255, 0.06);
}

.hero-pulse-ring:nth-child(2) {
  animation-delay: 1.4s;
}

.hero-pulse-ring:nth-child(3) {
  animation-delay: 2.8s;
}

.hero-phone-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-origin: 50% 58%;
  /* animation: hero-phone-float-premium 5.5s ease-in-out infinite; */
}
.step-img-a-2 {
  margin-top: 50px;
}
.hero-phone-shadow {
  position: absolute;
  bottom: 5%;
  left: 50%;
  z-index: 0;
  width: 56%;
  height: 7%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(11, 36, 65, 0.42) 0%,
    rgba(11, 36, 65, 0.12) 55%,
    transparent 72%
  );
  filter: blur(14px);
  animation: hero-phone-shadow-pulse 5.5s ease-in-out infinite;
  pointer-events: none;
}

/* Organic rounded “stage” behind device — reads like Figma soft white plate */
.hero-hand-round {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: 92%;
  height: 88%;
  border-radius: 46% 44% 48% 42%;
  /* background: radial-gradient(
    60% 55% at 45% 38%,
    rgba(255, 255, 255, 0.62) 0%,
    rgba(255, 255, 255, 0.28) 38%,
    rgba(255, 255, 255, 0.09) 58%,
    transparent 76%
  ); */
  /* box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 0 72px rgba(255, 255, 255, 0.12),
    0 28px 64px rgba(11, 36, 65, 0.08); */
  filter: blur(clamp(8px, 1.25vw, 22px));
  opacity: 0.88;
}

.hero-phone {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 50%;
  filter:
    drop-shadow(0 4px 6px rgba(255, 255, 255, 0.22))
    drop-shadow(0 18px 28px rgba(11, 36, 65, 0.14))
    drop-shadow(0 40px 56px rgba(0, 0, 0, 0.16))
    drop-shadow(0 72px 80px rgba(0, 0, 0, 0.1));
  transform: translateZ(0);
}

.hero-float-cards {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-float-card {
  position: absolute;
  box-sizing: border-box;
  min-width: 120px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow:
    0 4px 6px rgba(11, 36, 65, 0.04),
    0 18px 40px rgba(11, 36, 65, 0.1);
  backdrop-filter: blur(14px);
  color: var(--navy);
  font-family: var(--font-body);
  animation-name: hero-card-float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-duration: 6.2s;
  animation-delay: 0s;
}

.hero-float-card__label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 36, 65, 0.52);
  margin-bottom: 4px;
}

.hero-float-card__value {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-float-card__value--up {
  color: #1a7f4c;
}

.hero-float-card__badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 36, 65, 0.45);
  margin-bottom: 2px;
}

.hero-float-card__hint {
  display: block;
  font-size: 11px;
  color: rgba(11, 36, 65, 0.45);
  margin-top: 2px;
}

.hero-mini-chart {
  display: block;
  width: 100%;
  max-width: 88px;
  height: auto;
  margin-top: 6px;
  color: var(--orange);
}

.hero-float-card--price {
  top: 14%;
  left: 0%;
}

.hero-float-card--growth {
  top: 38%;
  right: -2%;
  animation-name: hero-card-float-b;
  animation-delay: 0.35s;
  animation-duration: 6.8s;
}

.hero-float-card--chart {
  bottom: 18%;
  left: 4%;
  animation-name: hero-card-float-c;
  animation-delay: 0.7s;
  animation-duration: 5.9s;
}

@media (max-width: 1280px) {
  .hero-float-card--growth {
    right: 0;
    max-width: min(200px, 42vw);
  }

  .hero-float-card--price {
    left: 1%;
    max-width: min(200px, 46vw);
  }

  .hero-float-card--chart {
    left: 2%;
    bottom: 14%;
  }
}

@media (max-width: 1100px) {
  .hero-float-card {
    padding: 10px 12px;
    min-width: 108px;
  }

  .hero-float-card__value {
    font-size: 15px;
  }

  .hero-float-cards {
    display: none;
  }
}

/* Copy: Figma group 1:136 @ x:200 y:251 — scale with artboard width like Figma */
.hero-content {
  position: absolute;
  z-index: 25;
  inset: 0;
  box-sizing: border-box;
  padding-top: max(104px, calc(251 / 1920 * 100%));
  padding-inline: max(16px, calc(200 / 1920 * 100%));
  padding-bottom: 3rem;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.hero-content > * {
  pointer-events: auto;
}

.hero-copy {
  position: relative;
  z-index: 6;
  width: 100%;
  margin-top: 5px;
  max-width: min(702px, 100%);
  box-sizing: border-box;
  flex-shrink: 0;
}

.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 20px 4px 4px;
  border-radius: var(--radius-chip);
  background: var(--glass);
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.glass-chip--sm {
  font-size: 14px;
}

.hero .glass-chip {
  color: var(--white);
}

.app-copy .glass-chip {
  color: var(--white);
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--white);
  object-fit: cover;
  margin-right: -6px;
}

.avatar-stack--sm img {
  width: 28px;
  height: 28px;
}
.hero-title-main {
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, calc(2.8vw + 1.5rem), 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 702px;
  text-shadow: 0 2px 48px rgba(11, 36, 65, 0.18);
  overflow-wrap: break-word;
  word-wrap: break-word;
}
/* Figma Group 1321317630: chip y:0, copy block y:68 → ~20px gap; body y:257 under 237px headline → 20px */
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, calc(2.8vw + 1.5rem), 72px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 702px;
  text-shadow: 0 2px 48px rgba(11, 36, 65, 0.18);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-lede {
  margin-top: 20px;
  max-width: 602px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  text-shadow: 0 1px 24px rgba(11, 36, 65, 0.12);
}

/* ——— Hero entrance (Stripe / Apple–style, CSS-only) ——— */
.hero-animate--chip,
.hero-animate--title,
.hero-animate--lede {
  opacity: 0;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  will-change: opacity, transform;
}

/* Slight delay helps some browsers paint frame 0 before interpolating */
.hero-animate--chip {
  animation-name: hero-rise-in;
  animation-duration: 0.55s;
  animation-delay: 0.03s;
}

.hero-animate--title {
  animation-name: hero-rise-in;
  animation-duration: 0.6s;
  animation-delay: 0.03s;
}

.hero-animate--lede {
  animation-name: hero-rise-in;
  animation-duration: 0.6s;
  animation-delay: 0.23s;
}

.hero-animate--cta {
  opacity: 0;
  animation-name: hero-cta-in;
  animation-duration: 0.55s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 0.45s;
  will-change: opacity, transform;
}

.hero-actions .hero-animate--cta:nth-child(1) {
  animation-delay: 0.45s;
}

.hero-actions .hero-animate--cta:nth-child(2) {
  animation-delay: 0.55s;
}

@keyframes hero-rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-cta-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-bg-wave-shift {
  0% {
    background-position: 12% 40%;
  }
  100% {
    background-position: 88% 62%;
  }
}

@keyframes hero-pulse-ring-expand {
  0% {
    transform: translate(-50%, -50%) scale(0.72);
    opacity: 0.55;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.38);
    opacity: 0;
  }
}

@keyframes hero-phone-float-premium {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-2.2deg);
  }
  50% {
    transform: translate3d(0, -15px, 0) rotate(2.4deg);
  }
}

@keyframes hero-phone-shadow-pulse {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-50%) scale(0.94);
  }
  50% {
    opacity: 0.26;
    transform: translateX(-50%) scale(1.08);
  }
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -9px, 0);
  }
}

@keyframes hero-card-float-b {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(5px, -10px, 0) rotate(-0.8deg);
  }
}

@keyframes hero-card-float-c {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-5px, -8px, 0);
  }
}

@keyframes hero-ambient-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Scroll cue — anchored below copy/CTAs via flex (avoids overlap on narrow viewports) */
.hero-scroll {
  position: relative;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  align-self: center;
  margin-bottom: clamp(0.75rem, 3.5vh, 2rem);
  padding-top: 1rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  pointer-events: auto;
  transform: none;
  animation: hero-scroll-nudge 3.2s ease-in-out infinite;
}

.hero-scroll-mouse {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  position: relative;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.hero-scroll-wheel {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  animation: hero-scroll-dot 2s ease-in-out infinite;
}

@keyframes hero-scroll-nudge {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.95;
  }
  50% {
    transform: translate3d(0, 8px, 0);
    opacity: 1;
  }
}

@keyframes hero-scroll-dot {
  0%,
  100% {
    opacity: 1;
    top: 9px;
  }
  45% {
    opacity: 0.35;
    top: 20px;
  }
}

/* Buttons group y:493; text block ends y:413 → 80px gap */
.hero-actions {
  margin-top: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .hero-actions .btn:hover {
  transform: translate3d(0, -1px, 0) scale(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-fill {
  background: var(--orange-dark);
  color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

/* Keep hero primary CTA orange even after global dark theme token updates */
.hero .btn-fill {
  background: #0e2a47;
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  color: var(--orange);
  border: 1px solid var(--glass-border-strong);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

/* Unified hover colors for all clickable button variants */
.btn:hover,
.btn-nav:hover,
.store-btn:hover,
.btn-sub:hover,
.btn-dark-outline:hover,
.btn-ghost-dark:hover,
.story-carousel__btn:hover:not(:disabled),
.play-pill:hover,
.play-fab:hover,
.card-plus:hover,
.nav-toggle:hover,
.nav-close:hover {
  background: var(--orange);
  color: var(--white);
}

.play-pill:hover .play-ic {
  border-color: transparent transparent transparent var(--white);
}

/* ——— Section headings ——— */
.section {
  position: relative;
}

.section-why {
  background: linear-gradient(180deg, #0e2a47 0%, #0f3154 48%, #0e2a47 100%);
}

.block-heading {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.block-heading--spaced {
  margin-top: 80px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-chip);
}

.tag-orange {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--orange);
  backdrop-filter: blur(10px);
}

.tag-orange span {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--white);
}

.cream-panel .tag-orange span {
  color: var(--white);
}

.display-md {
  margin-top: 54px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1.1;
  color: var(--white);
  text-align: center;
}

.section-why .block-heading {
  margin-inline: auto;
}

.section-why .display-md {
  margin-top: 18px;
}

/* ——— Feature grid — premium interactive cards ——— */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 365px));
  gap: 20px;
  justify-content: center;
}

.card-feature {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: relative;
  border-radius: calc(var(--radius-card) + 4px);
  padding: 0;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(11, 36, 65, 0.06);
  background: var(--white);
  box-shadow:
    0 1px 2px rgba(11, 36, 65, 0.04),
    0 12px 40px rgba(11, 36, 65, 0.07);
  transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, 0, 0);
  transform-style: preserve-3d;
  transition:
    transform 0.3s ease-out,
    box-shadow 0.3s ease-out,
    border-color 0.3s ease-out,
    opacity 0.3s ease-out;
  will-change: transform;
}

.card-feature__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-feature:nth-child(2),
.card-feature:nth-child(4) {
  margin-top: 88px;
  min-height: 459px;
}

.card-feature__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.45s ease-out;
}

.card-feature__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  min-height: 500px;
  padding: 36px 36px 72px;
  box-sizing: border-box;
  backface-visibility: hidden;
  transform-origin: center center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.card-feature__content--orange {
  position: relative;
  z-index: 4;
  min-height: 459px;
}

.card-feature__back {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 32px 30px 72px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.95);
  transform: rotateY(-180deg);
  opacity: 0;
  pointer-events: none;
  backface-visibility: hidden;
  transform-origin: center center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.card-feature__back h4 {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
}

.card-feature__back p {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: rgba(11, 36, 65, 0.84);
}

.card-feature__back--on-dark,
.card-feature__back--on-orange {
  color: var(--white);
  background: rgba(11, 36, 65, 0.88);
}

.card-feature__back--on-dark p,
.card-feature__back--on-orange p {
  color: rgba(255, 255, 255, 0.9);
}

.card-feature.is-flipped .card-feature__content {
  transform: rotateY(180deg);
  opacity: 0;
  pointer-events: none;
}

.card-feature.is-flipped .card-feature__back {
  transform: rotateY(0deg);
  opacity: 1;
  pointer-events: auto;
}

.card-feature__desc {
  margin: 14px 0 0;
  max-width: 280px;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: rgba(11, 36, 65, 0.72);
}

.card-feature__desc--on-dark {
  color: rgba(255, 255, 255, 0.82);
}

.card-feature__desc--on-orange {
  color: rgba(255, 255, 255, 0.88);
}

.card-feature__arrow {
  display: inline-flex;
  margin-top: auto;
  padding-top: 20px;
  color: var(--orange);
  transition: transform 0.3s ease-out;
}

.card-feature__arrow--light {
  color: rgba(255, 255, 255, 0.92);
}

.card-feature__arrow svg {
  display: block;
}

/* Hover glow + lift (desktop only) */
.card-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    145deg,
    rgba(223, 97, 47, 0.14) 0%,
    transparent 45%,
    rgba(255, 255, 255, 0.06) 100%
  );
  transition: opacity 0.35s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .card-feature:hover {
    transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, -10px, 0)
      scale(1.03);
    box-shadow:
      0 4px 8px rgba(11, 36, 65, 0.06),
      0 24px 56px rgba(11, 36, 65, 0.12);
    border-color: rgba(223, 97, 47, 0.22);
  }

  .card-feature:hover::after {
    opacity: 1;
  }

  .card-feature:hover .card-feature__bg {
    transform: scale(1.05);
  }

  .card-feature:hover .card-orange-illus img {
    transform: translateY(12%) scale(1.05);
  }

  .card-feature:hover .card-feature__arrow {
    transform: translateX(6px);
  }

  .card-feature:hover .card-plus {
    transform: scale(1.06);
    box-shadow: 0 6px 20px rgba(11, 36, 65, 0.15);
  }

  .card-feature:hover .card-plus-icon {
    transform: rotate(90deg);
  }
}

.card-orange-illus img {
  transition: transform 0.45s ease-out;
}

/* Figma: card 1 navy title; cards 2–4 white */
.card-feature h3 {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  max-width: 284px;
  margin-top: 0;
}

.card-feature--light h3 {
  color: var(--navy);
}

.card-feature-title-light {
  color: var(--white);
}

.card-plus {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 6;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: var(--white);
  color: rgba(11, 36, 65, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(11, 36, 65, 0.12);
  transition:
    transform 0.3s ease-out,
    box-shadow 0.3s ease-out,
    background 0.3s ease-out;
}

.card-plus--on-dark {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}

.card-plus-icon {
  transition: transform 0.3s ease-out;
  display: block;
}

.card-feature.is-flipped .card-plus-icon {
  transform: rotate(180deg);
}

.card-plus:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.card-feature--media {
  background: transparent;
}

.card-feature--orange {
  background: var(--orange);
  padding: 0;
  overflow: visible;
}

.card-orange-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: var(--orange);
}

.card-feature__back--on-orange {
  background: linear-gradient(
    180deg,
    rgba(14, 42, 71, 0.92) 0%,
    rgba(14, 42, 71, 0.98) 100%
  );
}

.card-orange-illus {
  position: absolute;
  right: -20px;
  bottom: 0;
  width: 120%;
  height: 80%;
  max-width: 380px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.card-feature {
  perspective: 1200px;
}

.card-feature__content,
.card-feature__back {
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.card-feature__content {
  position: relative;
  z-index: 2;
}

.card-orange-illus img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateY(12%);
}

.card-dark-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 57%);
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}

.card-dark-scrim--68 {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0) 68%);
}

/* ——— Steps — CodyHouse stacking cards (sticky + scroll scale) ——— */
.section-steps {
  position: relative;
  overflow: visible;
  padding-top: 72px;
  padding-bottom: 0;
  background-color: #0e2a47;
  background-image:
    radial-gradient(ellipse 120% 90% at 50% -25%, rgba(223, 97, 47, 0.055) 0%, transparent 52%),
    radial-gradient(circle at 12% 88%, rgba(11, 36, 65, 0.04) 0%, transparent 42%),
    radial-gradient(circle at 92% 40%, rgba(11, 36, 65, 0.025) 0%, transparent 38%),
    repeating-linear-gradient(
      90deg,
      rgba(11, 36, 65, 0.012) 0 1px,
      transparent 1px 56px
    ),
    linear-gradient(180deg, #0e2a47 0%, #11365d 48%, #0f3154 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, auto, 100% 100%;
}

.steps-heading-wrap {
  padding-bottom: 48px;
}

.steps-stack-frame {
  position: relative;
  overflow: visible;
  padding-bottom: 96px;
}

/* https://codyhouse.co/tutorials/how-stacking-cards */
.stack-cards {
  /* Wider gap = more of each card’s rounded top rim shows behind the layer above */
  --stack-cards-gap: clamp(32px, 4.5vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1180px;
  margin-inline: auto;
}

.stack-cards__item {
  position: relative;
  margin-bottom: 24px;
}

.stack-cards__item:last-child {
  margin-bottom: 0;
}

.step-card--stack {
  position: relative;
  width: 100%;
  border-radius: var(--radius-step-stack);
  overflow: hidden;
  border: 1px solid rgba(11, 36, 65, 0.06);
  background: var(--white);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.96) inset,
    0 2px 8px rgba(11, 36, 65, 0.04),
    0 12px 28px rgba(11, 36, 65, 0.07),
    0 28px 64px rgba(11, 36, 65, 0.09),
    0 52px 100px rgba(11, 36, 65, 0.07);
  transform-origin: center top;
  backface-visibility: hidden;
}

.step-card--stack-1 {
  background: linear-gradient(165deg, #ffffff 0%, #fafbfc 45%, #f4f6f8 100%);
}

.step-card--stack-2,
.step-card--stack-3 {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.step-card-inner--stack {
  display: grid;
  position: relative;
  isolation: isolate;
  /* Reference: text left / image right, ~45–55 split */
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(0px, 1.2vw, 14px);
  min-height: min(520px, 74vh);
  align-items: stretch;
}

/* Left column sits “under” the image block in paint order */
.step-card-inner--stack .step-copy {
  position: space-between;
  justify-content: space-between;
  align-items: start;
  z-index: 1;
  padding: clamp(32px, 4vw, 48px) clamp(16px, 2.5vw, 28px) clamp(32px, 4vw, 48px) clamp(28px, 3.5vw, 40px);
}

.stack-cards__item {
  position: sticky;
  top: clamp(16px, 3.5vw, 40px);
  height: 0;
  padding-bottom: 54%;
  margin-bottom: 0;
  transform-origin: center top;
  border-radius: var(--radius-step-stack);
  overflow: hidden;
}

.stack-cards__item > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.step-card-inner--stack {
  min-height: 100%;
}

@media (max-width: 767px) {
  .stack-cards__item {
    top: 12px;
    /*
     * Keep sticky stack animation but avoid clipping long mobile copy:
     * use an explicit height instead of aspect-ratio padding.
     */
    height: clamp(620px, 175vw, 820px);
    padding-bottom: 0;
  }

  .step-card-inner--stack {
    grid-template-columns: 1fr;
    min-height: 100%;
  }

  .step-card-inner--stack .step-copy {
    padding: clamp(16px, 4.5vw, 26px);
  }

  .step-visual--stack {
    order: -1;
  }

  .step-visual__frame {
    min-height: 260px;
  }
}

.step-copy {
  padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent;
  transform-origin: 0 50%;
}

.step-label {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.step-label__text {
  display: inline-block;
}

.step-copy h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.12;
  color: var(--navy);
  margin-bottom: 14px;
  max-width: 400px;
}

.step-desc {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(11, 36, 65, 0.76);
  max-width: 400px;
}

.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--orange);
  background: rgba(223, 97, 47, 0.08);
  border: 1px solid rgba(223, 97, 47, 0.14);
  transform-origin: center center;
}

.step-icon svg {
  display: block;
}

/* Right image column: above the text column + inset frame with its own radius (reference) */
.step-visual--stack {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  padding: var(--step-visual-inset);
}

.step-visual__frame {
  position: relative;
  z-index: 0;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  border-radius: var(--radius-step-visual-inner);
  overflow: hidden;
  background: linear-gradient(145deg, #f0f2f5 0%, #e6eaef 100%);
  box-shadow:
    0 2px 4px rgba(11, 36, 65, 0.04),
    0 10px 24px rgba(11, 36, 65, 0.08),
    0 20px 48px rgba(11, 36, 65, 0.07);
}

.step-visual__frame .step-visual__media {
  position: absolute;
  inset: 0;
  transform-origin: 55% 50%;
}

.step-visual__media {
  position: absolute;
  inset: 0;
  transform-origin: 55% 50%;
}

.step-visual__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/*
 * Dual assets: (1) full-bleed photo under, (2) top card centered + large over the frame.
 * Put the photo in img-a and the portrait/UI card in img-b — swap <img> order if your files differ.
 */
.step-visual__media--dual {
  display: block;
}

.step-visual__media--dual .step-img-a {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
}

.step-visual__media--dual .step-img-b {
  position: absolute;
  z-index: 2;
  left: 50%;
  right: auto;
  top: clamp(10px, 4%, 28px);
  transform: translateX(-50%);
  width: min(94%, 480px);
  max-width: 480px;
  max-height: min(92%, 580px);
  height: auto;
  object-fit: contain;
  object-position: center top;
  border-radius: clamp(16px, 2.2vw, 24px);
  box-shadow:
    0 4px 14px rgba(11, 36, 65, 0.09),
    0 20px 48px rgba(11, 36, 65, 0.16);
}

@media (max-width: 767px) {
  .step-visual__media--dual .step-img-a {
    object-position: center center;
  }

  .step-visual__media--dual .step-img-b {
    width: min(96%, 400px);
    max-width: 400px;
    max-height: min(88%, 520px);
    top: clamp(8px, 3%, 20px);
  }
}

/* ——— Cream trust panel ——— */
.cream-panel {
  padding: 80px 0 80px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(223, 97, 47, 0.06) 0%, transparent 55%),
    linear-gradient(180deg, #0e2a47 0%, #103458 38%, #0e2a47 100%);
}

/* ——— Trust showcase (Stripe / Apple–inspired) ——— */
.trust-showcase {
  --trust-stagger: 0.14s;
  --trust-dur: 0.62s;
  --trust-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 24px
  overflow: hidden;
}

.trust-showcase::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -40%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(223, 97, 47, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 45% 35% at 85% 70%, rgba(11, 36, 65, 0.05) 0%, transparent 48%);
  opacity: 0.9;
  animation: trust-glow-drift 18s ease-in-out infinite alternate;
}

@keyframes trust-glow-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(2%, -1%, 0) scale(1.03);
  }
}

.trust-showcase__heading {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.98);
  transition:
    opacity var(--trust-dur) var(--trust-ease),
    transform var(--trust-dur) var(--trust-ease);
}

.trust-showcase.is-visible .trust-showcase__heading {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.trust-showcase__heading .display-md {
  margin-top: 28px;
}

.trust-showcase__lede {
  margin-top: 20px;
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.6;
  color: rgba(11, 36, 65, 0.62);
  max-width: 52ch;
  margin-inline: auto;
}

.trust-showcase__connector {
  position: relative;
  z-index: 1;
  margin: 0 auto 40px;
  max-width: min(920px, 100%);
  height: 1px;
}

.trust-showcase__line {
  display: block;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(11, 36, 65, 0.12) 15%,
    rgba(223, 97, 47, 0.25) 50%,
    rgba(11, 36, 65, 0.12) 85%,
    transparent 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.85s var(--trust-ease);
  transition-delay: 0.15s;
}

.trust-showcase.is-visible .trust-showcase__line {
  transform: scaleX(1);
}

.trust-grid--modern {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
}

.trust-item {
  margin: 0;
}

.trust-item__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  gap: 60px;
  padding: clamp(22px, 2.5vw, 28px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(11, 36, 65, 0.06);
  box-shadow: 0 4px 20px rgba(11, 36, 65, 0.04);
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.95);
  transition:
    opacity var(--trust-dur) var(--trust-ease),
    transform var(--trust-dur) var(--trust-ease),
    box-shadow 0.45s var(--trust-ease),
    border-color 0.45s ease,
    background 0.45s ease;
}

.trust-showcase.is-visible .trust-item__inner {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.trust-showcase.is-visible .trust-item:nth-child(1) .trust-item__inner {
  transition-duration: var(--trust-dur);
  transition-delay: calc(0.08s + var(--trust-stagger) * 0);
}

.trust-showcase.is-visible .trust-item:nth-child(2) .trust-item__inner {
  transition-duration: var(--trust-dur);
  transition-delay: calc(0.08s + var(--trust-stagger) * 1);
}

.trust-showcase.is-visible .trust-item:nth-child(3) .trust-item__inner {
  transition-duration: var(--trust-dur);
  transition-delay: calc(0.08s + var(--trust-stagger) * 2);
}

.trust-showcase.is-visible .trust-item:nth-child(4) .trust-item__inner {
  transition-duration: var(--trust-dur);
  transition-delay: calc(0.08s + var(--trust-stagger) * 3);
}

.trust-item__inner .trust-item__title:hover {
  color: rgba(223, 97, 47, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .trust-item:hover .trust-item__inner {
    transform: translate3d(0, -5px, 0) scale(1);
    box-shadow:
      0 12px 36px rgba(11, 36, 65, 0.09),
      0 4px 12px rgba(11, 36, 65, 0.04);
    border-color: rgba(223, 97, 47, 0.18);
    background: rgba(255, 255, 255, 0.85);
  }

  .trust-item:hover .trust-item__icon-wrap {
    background: rgba(223, 97, 47, 0.1);
    border-color: rgba(223, 97, 47, 0.22);
    box-shadow: 0 0 0 1px rgba(223, 97, 47, 0.08);
  }

  .trust-item:hover .trust-icon--modern img {
    filter: saturate(1.08) contrast(1.03);
  }
}

.trust-item__icon-wrap {
  position: relative;
  align-self: flex-start;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(11, 36, 65, 0.04);
  border: 1px solid rgba(11, 36, 65, 0.06);
  margin-bottom: 18px;
  overflow: hidden;
  transition:
    background 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
  transform: scale(0.9);
}

.trust-showcase.is-visible .trust-item:nth-child(1) .trust-item__icon-wrap {
  transform: scale(1);
  transition-delay: calc(0.2s + var(--trust-stagger) * 0);
}

.trust-showcase.is-visible .trust-item:nth-child(2) .trust-item__icon-wrap {
  transform: scale(1);
  transition-delay: calc(0.2s + var(--trust-stagger) * 1);
}

.trust-showcase.is-visible .trust-item:nth-child(3) .trust-item__icon-wrap {
  transform: scale(1);
  transition-delay: calc(0.2s + var(--trust-stagger) * 2);
}

.trust-showcase.is-visible .trust-item:nth-child(4) .trust-item__icon-wrap {
  transform: scale(1);
  transition-delay: calc(0.2s + var(--trust-stagger) * 3);
}

.trust-item__icon-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 58%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: -80% 0;
  opacity: 0;
  pointer-events: none;
}

.trust-showcase.is-visible .trust-item:nth-child(1) .trust-item__icon-wrap::after {
  animation: trust-icon-shimmer 1.1s ease-out 0.55s both;
}

.trust-showcase.is-visible .trust-item:nth-child(2) .trust-item__icon-wrap::after {
  animation: trust-icon-shimmer 1.1s ease-out calc(0.55s + var(--trust-stagger)) both;
}

.trust-showcase.is-visible .trust-item:nth-child(3) .trust-item__icon-wrap::after {
  animation: trust-icon-shimmer 1.1s ease-out calc(0.55s + var(--trust-stagger) * 2) both;
}

.trust-showcase.is-visible .trust-item:nth-child(4) .trust-item__icon-wrap::after {
  animation: trust-icon-shimmer 1.1s ease-out calc(0.55s + var(--trust-stagger) * 3) both;
}

@keyframes trust-icon-shimmer {
  0% {
    opacity: 0;
    background-position: -80% 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    background-position: 180% 0;
  }
}

.trust-icon--modern {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.trust-icon--modern img {
  width: 40px;
  height: 40px;
  display: block;
  flex-shrink: 0;
  transition: filter 0.35s ease;
}

.trust-item__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.3;
  color: var(--white);
  letter-spacing: -0.01em;
}
.trust-item:hover .trust-item__title {
  color: var(--orange);
}

.trust-item__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(11, 36, 65, 0.58);
}

@media (prefers-reduced-motion: reduce) {
  .trust-showcase::before {
    animation: none;
  }

  .trust-showcase__heading {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .trust-showcase__line {
    transform: scaleX(1);
    transition: none;
  }

  .trust-item__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .trust-item__icon-wrap {
    transform: scale(1);
    transition: none;
  }

  .trust-item__icon-wrap::after {
    animation: none !important;
  }
}

/* ——— Stories ——— */
.story-board {
  max-width: 100%;
}

/* Figma: two wide cards + duplicate set — smooth continuous scroll (JS rAF), loop seamlessly */
.story-board--marquee {
  width: 100vw;
  max-width: 100vw;
  margin: 48px calc(50% - 50vw) 0;
  padding-inline: max(24px, calc((100vw - min(var(--frame-max), 100vw - 48px)) / 2));
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.story-board--marquee::-webkit-scrollbar {
  display: none;
}

.story-board--marquee:focus-visible {
  outline: 2px solid rgba(223, 97, 47, 0.5);
  outline-offset: 4px;
}

.story-board__marquee-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 20px;
  width: max-content;
  padding-bottom: 4px;
  will-change: transform;
}

.story-board__track {
  display: flex;
  gap: 20px;
  width: max-content;
  min-width: calc(2 * min(972px, calc(100vw - 64px)) + 20px);
  flex-shrink: 0;
}

.story-panel {
  flex: 0 0 min(972px, calc(100vw - 64px));
  flex-shrink: 0;
  width: min(972px, calc(100vw - 64px));
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.story-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
}

.story-video {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  background: var(--navy);
  transform-origin: center center;
}

.story-photo--primary .story-video {
  max-height: 560px;
  object-fit: cover;
}

.story-photo--has-video {
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease;
}

@media (hover: hover) and (pointer: fine) {
  .story-photo--has-video:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px rgba(11, 36, 65, 0.16);
  }
}

.story-photo.is-video-playing .play-fab,
.story-photo.is-video-playing .play-pill {
  opacity: 0.28;
  transition: opacity 0.4s ease;
}

.story-photo--has-video .play-fab,
.story-photo--has-video .play-pill {
  transition: opacity 0.4s ease;
}

.story-carousel {
  width: 100%;
}

.story-carousel__controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.story-carousel__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(11, 36, 65, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.story-carousel__btn:hover:not(:disabled) {
  background: var(--white);
  border-color: rgba(223, 97, 47, 0.35);
}

.story-carousel__btn:focus-visible {
  outline: 2px solid rgba(223, 97, 47, 0.45);
  outline-offset: 3px;
}

.story-carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.play-fab {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
}

.play-fab:hover {
  background: rgba(255, 255, 255, 0.42);
}

.play-ic--fab {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 3px;
}

.play-pill {
  position: absolute;
  top: 32px;
  right: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 40px;
  border: none;
  background: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.play-ic {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent var(--navy);
  margin-left: 2px;
}

.story-quote {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--white);
  max-width: 630px;
}

.story-meta {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.story-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.1;
  color: var(--navy);
}

.story-name--on-photo {
  position: absolute;
  left: 32px;
  bottom: clamp(40px, 7vw, 88px);
  max-width: min(420px, 58%);
  color: var(--white);
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.story-photo--side {
  max-width: 972px;
}

.story-photo--side .story-video {
  min-height: min(560px, 52vw);
  object-fit: cover;
}

.story-expand {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(11, 36, 65, 0.15);
  background: rgba(11, 36, 65, 0.05);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.nav-dot {
  width: 100px;
  height: 44px;
  border-radius: 22px;
  background: rgba(11, 36, 65, 0.08);
}

/* ——— Story / testimonial showcase (scroll + minimal cards) ——— */
.story-showcase {
  --story-stagger: 0.12s;
  --story-dur: 0.65s;
  --story-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.story-showcase__heading {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity var(--story-dur) var(--story-ease),
    transform var(--story-dur) var(--story-ease);
}

.story-showcase.is-visible .story-showcase__heading {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.story-main,
.story-side {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.98);
  transition:
    opacity var(--story-dur) var(--story-ease),
    transform var(--story-dur) var(--story-ease);
}

.story-showcase.is-visible .story-main {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: calc(0.06s + var(--story-stagger) * 0);
}

.story-showcase.is-visible .story-side {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: calc(0.06s + var(--story-stagger) * 1);
}

.story-showcase.is-visible .story-photo--primary:not(.is-video-playing) .story-video {
  animation: story-photo-breathe 14s ease-in-out infinite alternate;
}

@keyframes story-photo-breathe {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.035);
  }
}

.story-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(36px, 5vw, 56px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.story-mini {
  margin: 0;
  position: relative;
  padding: clamp(20px, 2.5vw, 26px);
  padding-top: clamp(24px, 3vw, 30px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(11, 36, 65, 0.08);
  box-shadow: 0 8px 32px rgba(11, 36, 65, 0.05);
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity var(--story-dur) var(--story-ease),
    transform var(--story-dur) var(--story-ease),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.story-showcase.is-visible .story-mini:nth-child(1) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(0.18s + var(--story-stagger) * 2);
}

.story-showcase.is-visible .story-mini:nth-child(2) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(0.18s + var(--story-stagger) * 3);
}

.story-showcase.is-visible .story-mini:nth-child(3) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: calc(0.18s + var(--story-stagger) * 4);
}

@media (hover: hover) and (pointer: fine) {
  .story-showcase.is-visible .story-mini:hover {
    border-color: rgba(223, 97, 47, 0.22);
    box-shadow: 0 14px 44px rgba(11, 36, 65, 0.09);
    transform: translate3d(0, -4px, 0);
  }
}

.story-mini__accent {
  position: absolute;
  top: 0;
  left: 24px;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), rgba(223, 97, 47, 0.25));
}

.story-mini__quote {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 500;
  color: rgba(11, 36, 65, 0.78);
  border: none;
}

.story-mini__caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 36, 65, 0.08);
}

.story-mini__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: linear-gradient(145deg, rgba(223, 97, 47, 0.14), rgba(11, 36, 65, 0.05));
  border: 1px solid rgba(11, 36, 65, 0.08);
}

.story-mini__who {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.story-mini__who cite {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}

.story-mini__loc {
  font-size: 12px;
  color: rgba(11, 36, 65, 0.5);
}

@media (max-width: 900px) {
  .story-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .story-board--marquee {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-inline: 0;
    overflow-x: visible;
  }

  .story-board__marquee-inner {
    flex-direction: column;
    width: 100%;
    min-width: 0;
    gap: 16px;
  }

  .story-board__track {
    flex-direction: column;
    width: 100%;
    min-width: 0;
    gap: 16px;
  }

  .story-board__track--clone {
    display: none;
  }

  .story-panel {
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
  }

  .story-carousel__controls {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-showcase__heading,
  .story-main,
  .story-side,
  .story-mini {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .story-showcase.is-visible .story-photo--primary .story-video {
    animation: none;
  }
}

/* ——— Trusted brands (Stripe-style marquee + stagger reveal) ——— */
.brands-row.brands-strip {
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid rgba(11, 36, 65, 0.08);
  background: linear-gradient(180deg, #0e2a47 0%, #123a63 50%, #0e2a47 100%);
}

.brands-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(32px, 4.5vw, 48px);
  max-width: 100%;
}

.brands-heading {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
}

html.js-reveal .brands-strip:not(.is-visible) .brands-heading {
  opacity: 0;
  transform: translateY(16px);
}

html.js-reveal .brands-strip.is-visible .brands-heading {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s ease-out,
    transform 0.65s ease-out;
}

.brands-marquee {
  position: relative;
  width: 100%;
  max-width: min(1480px, 100%);
}

/* Soft edge shade (matches section bg) — sits above marquee, pointer-events none */
.brands-marquee__shade {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: clamp(56px, 12vw, 140px);
  z-index: 3;
  pointer-events: none;
}

.brands-marquee__shade--left {
  left: 0;
  background: linear-gradient(
    90deg,
    #0e2a47 0%,
    rgba(14, 42, 71, 0.97) 18%,
    rgba(14, 42, 71, 0.55) 55%,
    transparent 100%
  );
}

.brands-marquee__shade--right {
  right: 0;
  background: linear-gradient(
    270deg,
    #0e2a47 0%,
    rgba(14, 42, 71, 0.97) 18%,
    rgba(14, 42, 71, 0.55) 55%,
    transparent 100%
  );
}

.brands-marquee__viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  padding: clamp(12px, 2vw, 20px) 0 clamp(16px, 2.5vw, 24px);
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 4%,
    #000 14%,
    #000 86%,
    rgba(0, 0, 0, 0.35) 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.35) 4%,
    #000 14%,
    #000 86%,
    rgba(0, 0, 0, 0.35) 96%,
    transparent 100%
  );
}

.brands-marquee__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: max-content;
  animation: brands-marquee-scroll 52s linear infinite;
  will-change: transform;
}

/* Pause only when hovering a logo — not the whole strip (cursor in viewport was freezing the row) */
.brands-marquee:has(.brand-logo:hover) .brands-marquee__track {
  animation-play-state: paused;
}

@keyframes brands-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.brands-marquee__set {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
  padding-inline: clamp(20px, 3.5vw, 40px);
  flex-shrink: 0;
}

.brand-logo {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.82);
  filter: grayscale(1);
  transition:
    opacity 0.65s ease-out,
    transform 0.65s ease-out,
    filter 0.4s ease,
    color 0.35s ease;
}

html.js-reveal .brands-strip:not(.is-visible) .brand-logo {
  opacity: 0.5;
  transform: translateY(12px);
}

html.js-reveal .brands-strip.is-visible .brand-logo {
  opacity: 0.72;
  transform: translateY(0);
  transition-delay: calc(0.1s * var(--brand-i, 0));
}

html:not(.js-reveal) .brand-logo {
  opacity: 0.72;
  transform: none;
}

.brand-logo__svg {
  display: block;
  height: clamp(36px, 4.8vw, 52px);
  width: auto;
  max-width: min(220px, 36vw);
}

@media (hover: hover) and (pointer: fine) {
  .brand-logo:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(0) scale(1.05);
    z-index: 1;
  }
}

@media (max-width: 640px) {
  .brands-marquee__track {
    animation-duration: 72s;
  }

  .brands-marquee__set {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Keep marquee moving but slower — do not use animation: none (matches user OS setting but stays visible) */
  .brands-marquee__track {
    animation-duration: 140s;
  }

  .brands-marquee__viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }

  html.js-reveal .brands-strip:not(.is-visible) .brands-heading,
  html.js-reveal .brands-strip:not(.is-visible) .brand-logo {
    opacity: 1;
    transform: none;
  }
}

/* ——— App CTA ——— */
.app-panel {
  padding: 80px 0;
  background: #0e2a47;
}

.app-shell {
  max-width: 1520px;
}

.app-orange {
  --cta-glow-x: 72%;
  --cta-glow-y: 42%;
  --cta-parallax: 0px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, min(52vw, 520px));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-height: clamp(360px, 52vh, 516px);
  padding: clamp(24px, 5vw, 64px);
  border-radius: clamp(18px, 3vw, 28px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(
    135deg,
    #cb5631 0%,
    #b6401e 42%,
    #a53618 74%,
    #8f2c13 100%
  );
  background-size: 200% 200%;
  box-shadow: 0 24px 60px rgba(182, 64, 30, 0.28);
}

@media (prefers-reduced-motion: no-preference) {
  .app-orange.app-cta-section.is-visible {
    animation: app-orange-bg-drift 28s ease-in-out infinite alternate;
  }
}

@keyframes app-orange-bg-drift {
  0% {
    background-position: 0% 40%;
  }
  100% {
    background-position: 100% 60%;
  }
}

.app-orange__bg {
  position: absolute;
  inset: -2px;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(
      ellipse 80% 60% at var(--cta-glow-x) var(--cta-glow-y),
      rgba(255, 255, 255, 0.14) 0%,
      transparent 52%
    ),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 11px,
      rgba(255, 255, 255, 0.04) 11px,
      rgba(255, 255, 255, 0.04) 12px
    );
  opacity: 0.95;
}

@media (prefers-reduced-motion: no-preference) {
  .app-orange.app-cta-section.is-visible .app-orange__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.07) 45%,
      rgba(255, 255, 255, 0.14) 50%,
      rgba(255, 255, 255, 0.06) 55%,
      transparent 100%
    );
    background-size: 220% 100%;
    animation: app-orange-sweep 14s ease-in-out infinite;
    mix-blend-mode: overlay;
  }
}

@keyframes app-orange-sweep {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -20% 0;
  }
}

.app-orange__cursor-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    520px circle at var(--glow-x, 70%) var(--glow-y, 45%),
    rgba(255, 255, 255, 0.12),
    transparent 55%
  );
  mix-blend-mode: soft-light;
}

@media (hover: hover) and (pointer: fine) {
  .app-orange:hover .app-orange__cursor-glow {
    opacity: 1;
  }
}

.app-copy {
  position: relative;
  z-index: 2;
  transform: none;
  will-change: auto;
  margin: 0;
  max-width: min(620px, 100%);
}

.app-copy .glass-chip.app-cta-chip {
  margin-bottom: 20px;
}

.display-app {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
}

.display-sm {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px 0 16px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--orange-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.32;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

.store-copy {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  line-height: 1.1;
}

.store-kicker {
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.72;
}

.store-name {
  font-size: 15px;
  font-weight: 700;
}

.store-ico-svg {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
}

.store-ico-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}

.store-ico-svg--apple {
  color: #0e2a47;
}

@media (prefers-reduced-motion: no-preference) {
  .app-orange.app-cta-section.is-visible .store-btn {
    animation: store-btn-pulse 5s ease-in-out infinite;
  }

  .app-orange.app-cta-section.is-visible .store-btn:nth-child(2) {
    animation-delay: 0.35s;
  }
}

@keyframes store-btn-pulse {
  0%,
  100% {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.28), 0 4px 14px rgba(0, 0, 0, 0.08);
  }
}

.store-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.store-btn:active {
  transform: scale(1.02);
}

.store-ico {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.store-ico.gp {
  background: conic-gradient(
    from 45deg,
    #4285f4,
    #34a853,
    #fbbc05,
    #ea4335,
    #4285f4
  );
}

.store-ico.as {
  background: linear-gradient(180deg, #61bcfd, #0d82ff);
}

/* —— App CTA scroll entrance (html.js-reveal) —— */
html.js-reveal .app-cta-section:not(.is-visible) {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal .app-cta-section.is-visible {
  opacity: 1;
    transform: scale(1);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal .app-cta-section:not(.is-visible) .app-cta-chip,
html.js-reveal .app-cta-section:not(.is-visible) .app-cta-headline,
html.js-reveal .app-cta-section:not(.is-visible) .app-cta-stores,
html.js-reveal .app-cta-section:not(.is-visible) .app-visual {
  opacity: 0;
}

html.js-reveal .app-cta-section:not(.is-visible) .app-cta-chip {
  transform: translate3d(0, 20px, 0);
}

html.js-reveal .app-cta-section:not(.is-visible) .app-cta-headline {
  transform: translate3d(0, 40px, 0);
}

html.js-reveal .app-cta-section:not(.is-visible) .app-cta-stores {
  transform: translate3d(0, 28px, 0);
}

html.js-reveal .app-cta-section:not(.is-visible) .app-visual {
  transform: translate3d(0, 24px, 0);
}

html.js-reveal .app-cta-section.is-visible .app-cta-chip {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.05s;
}

html.js-reveal .app-cta-section.is-visible .app-cta-headline {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.12s;
}

html.js-reveal .app-cta-section.is-visible .app-cta-stores {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.32s;
}

html.js-reveal .app-cta-section.is-visible .app-visual {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.18s;
}

html.js-reveal .app-cta-section.is-visible .store-btn {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease-out;
}

html.js-reveal .app-cta-section:not(.is-visible) .store-btn {
    opacity: 0;
  transform: scale(0.9);
}

html.js-reveal .app-cta-section.is-visible .store-btn:nth-child(1) {
  transition-delay: 0.36s;
}

html.js-reveal .app-cta-section.is-visible .store-btn:nth-child(2) {
  transition-delay: 0.52s;
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal:not([data-force-motion="1"]) .app-cta-section:not(.is-visible),
  html.js-reveal:not([data-force-motion="1"]) .app-cta-section.is-visible {
    opacity: 1;
    transform: none;
  }

  html.js-reveal:not([data-force-motion="1"]) .app-cta-section:not(.is-visible) .app-cta-chip,
  html.js-reveal:not([data-force-motion="1"]) .app-cta-section:not(.is-visible) .app-cta-headline,
  html.js-reveal:not([data-force-motion="1"]) .app-cta-section:not(.is-visible) .app-cta-stores,
  html.js-reveal:not([data-force-motion="1"]) .app-cta-section:not(.is-visible) .app-visual,
  html.js-reveal:not([data-force-motion="1"]) .app-cta-section:not(.is-visible) .store-btn {
    opacity: 1;
    transform: none;
  }

  html.js-reveal:not([data-force-motion="1"]) .app-orange {
    animation: none;
  }
}

.app-visual {
  position: relative;
  justify-self: end;
  align-self: center;
  z-index: 2;
  width: 100%;
  max-width: 540px;
}

.app-phone-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 46vw, 440px);
  transform: none;
  will-change: auto;
}

.app-rings {
  position: absolute;
    left: 42%;
    bottom: -99%;
    width: min(169%, 907px);
    max-width: none;
    aspect-ratio: 1;
    pointer-events: none;
    z-index: 0;
    transform: translateX(-50%);
}

.app-rings .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(201deg, rgba(255, 255, 255, 0.06) 1%, rgba(255, 255, 255, 0) 72%);
  inset: 0;
}

.app-rings .r2 {
  inset: 52px;
  opacity: 0.85;
}

.app-rings .r3 {
  inset: 104px;
  opacity: 0.65;
}

@media (prefers-reduced-motion: no-preference) {
  .app-orange.app-cta-section.is-visible .app-rings {
    animation: app-rings-breathe 10s ease-in-out infinite;
  }
}

@keyframes app-rings-breathe {
  0%,
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) scale(1.03);
    opacity: 0.92;
  }
}

.app-phone-float {
  position: relative;
  z-index: 2;
  width: min(500px, 100%);
  perspective: 900px;
}

@media (prefers-reduced-motion: no-preference) {
  .app-orange.app-cta-section.is-visible .app-phone-float {
    animation: app-phone-float 5.2s ease-in-out infinite;
  }
}

@keyframes app-phone-float {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-14px) rotate(2.5deg);
  }
}

.app-phone-float::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 46%;
  height: 14px;
  transform: translateX(-50%) scaleX(1);
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.38) 0%, transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .app-orange.app-cta-section.is-visible .app-phone-float::before {
    animation: app-phone-shadow 5.2s ease-in-out infinite;
  }
}

@keyframes app-phone-shadow {
  0%,
  100% {
    transform: translateX(-50%) scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: translateX(-50%) scale(1.08);
    opacity: 0.75;
  }
}

.app-phone-wrap {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transform: rotateX(var(--phone-tilt-x, 0deg)) rotateY(var(--phone-tilt-y, 0deg));
  transition: transform 0.35s ease-out;
}

.app-phone-shimmer {
  position: absolute;
  inset: 10% 7% 20% 7%;
  border-radius: 12px;
  z-index: 3;
  pointer-events: none;
  background-size: 240% 120%;
  mix-blend-mode: soft-light;
}

@media (prefers-reduced-motion: no-preference) {
  .app-orange.app-cta-section.is-visible .app-phone-shimmer {
    animation: app-phone-shimmer 9s ease-in-out infinite;
  }
}

@keyframes app-phone-shimmer {
  0% {
    background-position: 100% 40%;
  }
  100% {
    background-position: 0% 60%;
  }
}

.app-hand {
  position: relative;
  z-index: 2;
  width: min(500px, 100%);
  height: auto;
  display: block;
  margin-top: 10px;
  margin-bottom: -52px;
}

/* Preview only: ?motion=1 or localStorage brikk-force-motion=1 — full CTA motion even if OS requests reduced motion */
html[data-force-motion="1"] .app-orange.app-cta-section.is-visible {
  animation: app-orange-bg-drift 28s ease-in-out infinite alternate;
}

html[data-force-motion="1"] .app-orange.app-cta-section.is-visible .app-orange__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 45%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.06) 55%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: app-orange-sweep 14s ease-in-out infinite;
  mix-blend-mode: overlay;
}

html[data-force-motion="1"] .app-orange.app-cta-section.is-visible .store-btn {
  animation: store-btn-pulse 5s ease-in-out infinite;
}

html[data-force-motion="1"] .app-orange.app-cta-section.is-visible .store-btn:nth-child(2) {
  animation-delay: 0.35s;
}

html[data-force-motion="1"] .app-orange.app-cta-section.is-visible .app-rings {
  animation: app-rings-breathe 10s ease-in-out infinite;
}

html[data-force-motion="1"] .app-orange.app-cta-section.is-visible .app-phone-float {
  animation: app-phone-float 5.2s ease-in-out infinite;
}

html[data-force-motion="1"] .app-orange.app-cta-section.is-visible .app-phone-float::before {
  animation: app-phone-shadow 5.2s ease-in-out infinite;
}

html[data-force-motion="1"] .app-orange.app-cta-section.is-visible .app-phone-shimmer {
  animation: app-phone-shimmer 9s ease-in-out infinite;
}

/* ——— Stats ——— */
.stats-bar {
  padding: 32px 0 80px;
  background: #0e2a47;
}

.stats-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.stats-lead {
  flex: 1 1 360px;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.3;
  color: var(--white);
  max-width: 800px;
}

.stats-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.24);
  transform-origin: center top;
  transform: scaleY(1);
}

.stats-metrics {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.metric-sub {
  font-size: 16px;
  line-height: 1.36;
  color: rgba(255, 255, 255, 0.86);
  margin-top: 8px;
}

.metric-val {
  font-family: var(--font-metric);
  font-weight: 700;
  font-size: 57px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--orange);
}

/* Stats: scroll-in + divider draw */
html.js-reveal .stats-bar:not(.is-visible) .stats-animate:not(.stats-divider) {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}

html.js-reveal .stats-bar.is-visible .stats-animate:not(.stats-divider) {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-reveal .stats-bar.is-visible .stats-lead.stats-animate {
  transition-delay: 0.02s;
}

html.js-reveal .stats-bar.is-visible .stats-metrics .stats-animate:nth-child(1) {
  transition-delay: 0.18s;
}

html.js-reveal .stats-bar.is-visible .stats-metrics .stats-animate:nth-child(2) {
  transition-delay: 0.26s;
}

html.js-reveal .stats-bar:not(.is-visible) .stats-divider.stats-animate {
  opacity: 0;
  transform: translate3d(0, 12px, 0) scaleY(0);
}

html.js-reveal .stats-bar.is-visible .stats-divider.stats-animate {
  opacity: 1;
  transform: translate3d(0, 0, 0) scaleY(1);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  html.js-reveal:not([data-force-motion="1"]) .stats-bar:not(.is-visible) .stats-animate {
    opacity: 1;
    transform: none;
  }
}

/* ——— Footer ——— */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 40px 32px;
  align-items: start;
}

.footer-brand img {
  max-width: 280px;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

.footer-tag {
  color: var(--muted-on-navy);
  font-size: 16px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.footer-cta-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.news-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 480px;
  padding: 6px 6px 6px 24px;
  border-radius: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  margin-bottom: 28px;
}

.news-field input {
  flex: 1;
  min-width: 160px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 16px;
  outline: none;
}

.news-field input::placeholder {
  color: var(--muted-on-navy);
}

.btn-sub {
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  background: var(--white);
  color: var(--navy);
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-dark-outline {
  background: var(--white);
  color: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost-dark {
  background: var(--glass);
  color: var(--white);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(10px);
}

.footer-col h3 {
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--muted-on-navy);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  font-size: 14px;
  color: var(--white);
}

/* ——— Responsive ——— */

/* Hero: artboard aspect ratio is too short between ~800–1300px wide — copy + 2 CTAs + Explore
   overflow .hero { overflow:hidden } and clip the 2nd button. Use a floor height + looser CTA gap. */
@media (max-width: 1320px) {
  .hero-artboard {
    aspect-ratio: auto;
    min-height: clamp(720px, 92vh, 980px);
  }

  .hero-actions {
    margin-top: clamp(28px, 4vw, 56px);
  }
}

body.is-nav-open {
  overflow: hidden;
  touch-action: none;
}

body.is-nav-open .site-header {
  background: rgba(11, 36, 65, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 1320px) {
  .site-header {
    z-index: 150;
    transition:
      background var(--nav-drawer-duration) var(--nav-drawer-ease),
      border-bottom-color var(--nav-drawer-duration) var(--nav-drawer-ease);
  }

  .header-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    height: auto;
    min-height: 72px;
    padding-bottom: 0;
    min-width: 0;
    width: 100%;
  }

  .header-logo {
    flex: 0 0 auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-download {
    display: none !important;
    transition: all 0.3s ease;
  }

  .btn.header-download:hover {
    background: var(--white) !important;
    color: var(--orange) !important;
  }

  .header-download:active {
    background: var(--white) !important;
    color: var(--orange) !important;
  }

  .nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    flex-shrink: 0;
    margin-bottom: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-close {
    display: inline-flex;
  }

  .nav-pill {
    grid-column: unset;
    justify-self: unset;
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, min(92vw, 100%));
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: max(5.25rem, calc(env(safe-area-inset-top, 0px) + 4rem)) 20px
      max(1.5rem, calc(env(safe-area-inset-bottom, 0px) + 20px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    justify-content: flex-start;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: rgba(11, 36, 65, 0.97);
    border: none;
    border-radius: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.22);
    /* Skip backdrop-filter while sliding — heavy repaint vs viewport-fixed layer */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(100%, 0, 0);
    transition: transform var(--nav-drawer-duration) var(--nav-drawer-ease);
    z-index: 145;
    mask-image: none;
  }

  .site-header:not(.is-nav-open) .nav-pill {
    will-change: transform;
  }

  .site-header.is-nav-open .nav-pill {
    transform: translate3d(0, 0, 0);
  }

  .nav-pill a:not(.nav-pill__download) {
    flex: 0 0 auto;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
    text-align: left;
  }

  .nav-pill a:not(.nav-pill__download):hover,
  .nav-pill a:not(.nav-pill__download):focus-visible {
    background: rgba(255, 255, 255, 0.07);
  }

  .nav-pill .nav-pill__download {
    margin-top: auto;
    margin-bottom: 2px;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    white-space: nowrap;
    color: var(--orange-dark);
    font-size: 15px;
    flex-shrink: 0;
  }
}

@media (max-width: 1200px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-feature:nth-child(2),
  .card-feature:nth-child(4) {
    margin-top: 0;
  }

  .trust-grid--modern {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-orange {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .app-visual {
    justify-self: center;
    max-width: min(420px, 100%);
  }

  .app-copy {
    max-width: 100%;
    text-align: center;
  }

  .store-row {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .step-visual__frame {
    min-height: 240px;
  }

  .stats-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-divider {
    width: 100%;
    height: 1px;
    transform-origin: left center;
  }

  html.js-reveal .stats-bar:not(.is-visible) .stats-divider.stats-animate {
    transform: translate3d(0, 8px, 0) scaleX(0);
  }

  html.js-reveal .stats-bar.is-visible .stats-divider.stats-animate {
    transform: translate3d(0, 0, 0) scaleX(1);
  }
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid--modern {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-name:not(.story-name--on-photo) {
    font-size: 32px;
  }
}

/* ——— Mobile / small screens (full page) ——— */
@media (max-width: 768px) {
  /*
   * Artboard aspect ratio alone makes hero ~200–250px on narrow phones; copy is clipped by .hero { overflow:hidden }.
   */
  .hero {
    overflow: visible;
  }

  .hero-wrap {
    display: flex;
    flex-direction: column;
  }

  .hero-artboard {
    aspect-ratio: auto;
    min-height: clamp(400px, 96vw, 620px);
    overflow: visible;
  }

  .hero-fade {
    display: block;
    top: 44%;
    height: 90%;
    z-index: 4;
  }

  /* Phone lower + narrower band so it doesn’t sit over the lede */
  .hero-hand {
    left: 50%;
    width: min(96vw, 520px);
    top: 8px;
    height: 100%;
    z-index: 10;
    transform: translateX(-50%);
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .site-header {
    height: auto;
    min-height: 72px;
  }

  .header-shell {
    padding-left: max(var(--frame-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--frame-gutter), env(safe-area-inset-right, 0px));
  }

  .header-logo img {
    height: 40px;
  }

  .btn-nav {
    padding: 0 18px;
    font-size: 13px;
    min-height: 44px;
  }

  .hero-content {
    position: relative;
    inset: auto;
    display: block;
    padding-inline: var(--frame-gutter);
    padding-top: 14px;
    padding-bottom: 0.75rem;
    pointer-events: auto;
  }

  .hero-copy {
    margin-top: 0;
    max-width: 100%;
  }

  .hero-scroll {
    display: none;
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    margin-top: clamp(28px, 7vw, 48px);
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .hero-scroll {
    margin-bottom: max(0.75rem, env(safe-area-inset-bottom, 0px));
    padding-top: clamp(0.75rem, 3vw, 1.25rem);
  }

  .glass-chip {
    font-size: 13px;
    padding: 4px 14px 4px 4px;
  }

  .section-why {
    padding: 64px 0 72px;
  }

  .block-heading {
    margin-bottom: 36px;
    padding-inline: 4px;
  }

  .display-md {
    margin-top: 36px;
  }

  .card-feature {
    min-height: min(480px, 78vh);
  }

  .section-steps {
    padding-block: clamp(48px, 10vw, 80px);
  }

  .cream-panel {
    padding: clamp(40px, 8vw, 72px) 0;
  }

  .app-panel {
    padding: 48px 0 56px;
  }

  .app-orange {
    gap: 28px;
  }

  .app-copy .glass-chip.app-cta-chip {
    margin-bottom: 28px;
  }

  .store-row {
    flex-direction: column;
    align-items: stretch;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .stats-bar {
    padding: 28px 0 56px;
  }

  .stats-lead {
    font-size: clamp(22px, 5.2vw, 32px);
  }

  .metric-val {
    font-size: clamp(40px, 10vw, 57px);
  }

  .site-footer {
    padding: 56px 0 28px;
  }
}

@media (max-width: 480px) {
  .hero-artboard {
    min-height: clamp(560px, 102vw, 620px);
  }

  .hero-hand {
    left: 50%;
    width: min(88vw, 420px);
    top: 20px;
    height: 100%;
    transform: translateX(-50%);
  }

  .hero-phone {
    object-fit: contain;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 48px);
  }

  .section-why {
    padding: 48px 0 56px;
  }

  .tag-orange span {
    font-size: 12px;
  }

  .card-feature {
    min-height: 420px;
    border-radius: var(--radius-card);
  }

  .app-panel {
    padding: 32px 0 48px;
  }

  .display-app {
    font-size: clamp(36px, 9vw, 56px);
  }
  .display-sm {
    font-size: clamp(30px, 6vw, 40px);
  }

  @media (max-width: 480px) {
    .news-field {
      flex-direction: column;
      align-items: stretch;
      border-radius: 24px;
      padding: 12px;
      gap: 8px;
    }
  
    .news-field input {
      min-height: 44px;
      padding: 0 14px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: var(--white);
      font-size: 15px;
      width: 100%;
    }
  
    .news-field input::placeholder {
      color: var(--muted-on-navy);
    }
  
    .btn-sub {
      width: 100%;
      min-height: 44px;
      border-radius: 16px;
    }
  }
}

/* ——— Scroll reveals (animations.js + .reveal) ——— */
html.js-reveal .reveal {
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

html.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
}

html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

html.js-reveal .reveal--soft:not(.is-visible) {
  transform: translate3d(0, 16px, 0);
}

/* Footer content should never remain hidden if scroll reveal misses near page end. */
html.js-reveal .site-footer .reveal {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* Feature cards: scroll-in 40px, combined with 3D tilt */
html.js-reveal .section-why .card-feature.reveal {
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease),
    box-shadow 0.3s ease-out,
    border-color 0.3s ease-out;
  transition-delay: var(--reveal-delay, 0s);
}

html.js-reveal .card-feature.reveal.reveal--feature:not(.is-visible) {
  opacity: 0;
  transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, 40px, 0);
}

html.js-reveal .card-feature.reveal.reveal--feature.is-visible {
  opacity: 1;
  transform: perspective(920px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate3d(0, 0, 0);
}

html.js-reveal .site-header.reveal:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
}

html.js-reveal .site-header.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Hero motion — reduced preference: shorter / linear, still visible (not instant-off) */
@media (prefers-reduced-motion: reduce) {
  :root {
    --reveal-duration: 0.38s;
    --reveal-ease: linear;
    --nav-drawer-duration: 0.01ms;
  }

  .nav-pill {
    transition-duration: var(--nav-drawer-duration);
    transition-timing-function: linear;
  }

  .nav-backdrop,
  body.is-nav-open .nav-backdrop {
    transition-duration: var(--nav-drawer-duration);
    transition-timing-function: linear;
  }

  .nav-toggle__bars span {
    transition-duration: var(--nav-drawer-duration);
    transition-timing-function: linear;
  }

  @media (max-width: 1320px) {
    .site-header {
      transition-duration: var(--nav-drawer-duration);
      transition-timing-function: linear;
    }
  }

  .hero-bg-ambient {
    animation-duration: 90s;
  }

  .hero-phone-stage {
    animation-duration: 9s;
  }

  .hero-phone-shadow {
    animation-duration: 9s;
  }

  .hero-pulse-ring {
    animation-duration: 6.5s;
  }

  .hero-bg-wave {
    animation-duration: 38s;
  }

  .hero-float-card {
    animation-duration: 8s;
  }

  .hero-visual {
    transform: none !important;
  }

  .hero-scroll {
    animation-duration: 4.5s;
  }

  .hero-scroll-wheel {
    animation-duration: 2.8s;
  }

  .hero-animate--chip,
  .hero-animate--title,
  .hero-animate--lede {
    animation-timing-function: linear;
    animation-duration: 0.4s;
  }

  .hero-animate--chip {
    animation-delay: 0.02s;
  }

  .hero-animate--title {
    animation-delay: 0.02s;
  }

  .hero-animate--lede {
    animation-delay: 0.18s;
  }

  .hero-animate--cta {
    animation-timing-function: linear;
    animation-duration: 0.4s;
  }

  .hero-actions .hero-animate--cta:nth-child(1) {
    animation-delay: 0.34s;
  }

  .hero-actions .hero-animate--cta:nth-child(2) {
    animation-delay: 0.44s;
  }
}

/* Final CTA/button hover override (must stay near file end). */
.btn:hover,
.btn-nav:hover,
.store-btn:hover,
.btn-sub:hover,
.btn-dark-outline:hover,
.btn-ghost-dark:hover,
.story-carousel__btn:hover:not(:disabled),
.play-pill:hover,
.play-fab:hover,
.card-plus:hover,
.nav-toggle:hover,
.nav-close:hover,
.nav-pill a.nav-pill__download:hover {
  background: var(--orange) !important;
  color: var(--white) !important;
  transition: all 0.3s ease !important;
  border-color: var(--white) !important;
}

.play-pill:hover .play-ic {
  border-color: transparent transparent transparent var(--white) !important;
}
/* Your existing mobile CSS */
@media (max-width: 767px) {
  .stack-cards__item {
    top: 12px; /* this must match the fallback in setStackCards above */
  }
}

/* Base state — hidden, shifted down */
.trust-item__inner {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.45s ease, border-color 0.45s ease, background 0.45s ease;
}

/* Desktop: trigger on hover of parent */
@media (hover: hover) and (pointer: fine) {
  .trust-showcase:hover .trust-item__inner {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger each card */
  .trust-showcase:hover .trust-item:nth-child(1) .trust-item__inner { transition-delay: 0s; }
  .trust-showcase:hover .trust-item:nth-child(2) .trust-item__inner { transition-delay: 0.08s; }
  .trust-showcase:hover .trust-item:nth-child(3) .trust-item__inner { transition-delay: 0.16s; }
  .trust-showcase:hover .trust-item:nth-child(4) .trust-item__inner { transition-delay: 0.24s; }
}

/* Mobile: trigger via .is-visible class (added by JS on scroll) */
@media (hover: none), (pointer: coarse) {
  .trust-showcase.is-visible .trust-item__inner {
    opacity: 1;
    transform: translateY(0);
  }

  .trust-showcase.is-visible .trust-item:nth-child(1) .trust-item__inner { transition-delay: 0s; }
  .trust-showcase.is-visible .trust-item:nth-child(2) .trust-item__inner { transition-delay: 0.08s; }
  .trust-showcase.is-visible .trust-item:nth-child(3) .trust-item__inner { transition-delay: 0.16s; }
  .trust-showcase.is-visible .trust-item:nth-child(4) .trust-item__inner { transition-delay: 0.24s; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .trust-item__inner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— FAQ ——— */
.faq-section {
  max-width: 850px;
  margin: 72px auto 0;
  padding: 0 clamp(16px, 4vw, 24px);
}

.faq-section .block-heading {
  margin-bottom: 40px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item {
  overflow: visible; /* ✅ allow expansion */
}
.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 500;
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease;
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--orange);
}

.faq-trigger[aria-expanded="true"] {
  color: var(--orange);
  background: rgba(223, 97, 47, 0.06);
}

/* Plus/minus icon */
.faq-icon {
  flex-shrink: 0;
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.25s ease, transform 0.35s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  border-color: var(--orange);
  transform: rotate(45deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-body.is-open {
  grid-template-rows: 1fr;
}

.faq-body > p {
  overflow: hidden;
  padding: 15px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  transition: padding 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-body.is-open > p {
  padding: 4px 24px 22px;
}

@media (max-width: 640px) {
  .faq-trigger {
    padding: 18px 16px;
    font-size: 15px;
  }

  .faq-body > p {
    padding: 12px 16px;
  }

  .faq-body.is-open > p {
    padding: 4px 16px 18px;
  }
}

.display-md-span {
  color: var(--orange);
}


/* ——— Hero Mascot ——— */
.hero-mascot {
  position: absolute;
  z-index: 8;
  right: 3%;
  bottom: 0;
  width: clamp(220px, 22vw, 360px);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.hero-mascot__img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: bottom center;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
  opacity: 0;
}

.hero-mascot__bubble {
  position: absolute;
  top: 60px;
  right: -24px;
  background: rgba(255,255,255,0.96);
  color: #0e2a47;
  border-radius: 20px 20px 20px 4px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.hero-mascot__bubble span { color: var(--orange); }

@media (max-width: 900px) {
  .hero-mascot { width: clamp(160px, 28vw, 240px); right: 1%; }
}
@media (max-width: 600px) {
  .hero-mascot { display: none; }
}

.hero-mascot {
  background: transparent !important;
}

.trust-item {
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.hero-mascot {
  position: absolute;
  left: 0;
  bottom: -5%;
  width: 320px;
  z-index: 3;
  pointer-events: none;

  /* smooth floating */
  animation: mascotFloat 6s ease-in-out infinite;
  will-change: transform;
}

.hero-mascot img {
  width: 100%;
  height: auto;
  display: block;

  /* keep original shadow */
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25));
}

/* floating animation */
@keyframes mascotFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-1deg);
  }
}

/* STEPS CONTAINER */
.faq-steps {
  margin-top: 18px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.faq-steps h4 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 14px;
}

/* STEP ITEM */
.step {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}

/* NUMBER CIRCLE */
.step-number {
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6a00, #ff8c42);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* STEP TEXT */
.step-content h5 {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
}

.step-content p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #94a3b8;
}

.faq-points {
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-points li {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
}
.faq-points {
  list-style: none; /* ✅ removes default bullets */
  padding-left: 0;
}

.faq-points li {
  position: relative;
  padding-left: 18px;
}

.faq-points li::before {
  content: "•";
  color: #ff6a00;
  position: absolute;
  left: 5px;
  top: 0;
}

.faq-note {
  margin-top: 10px;
  font-size: 13px;
  color: #cbd5e1;
}

.card-feature__back--on-orange::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('./assets/figma/card-phone-inset-5ec571.png') center/cover no-repeat;
  opacity: 0.08;
  z-index: 0;
}

.card-feature__back {
  border-radius: inherit; /* 🔥 important */
  overflow: hidden;       /* 🔥 important */
}