/* =========================================================
   Anayanex Hero Variants A/B/C + homepage responsive fixes
   Brand: #0066FF / #00E0FF / #004CFF
   ========================================================= */

:root {
  --ax-blue: #0066ff;
  --ax-cyan: #00e0ff;
  --ax-blue-deep: #004cff;
  --ax-ink: #0b1220;
  --ax-muted: #5b6577;
}

/* =========================================================
   Hero slider — Figma + Split, infinite autoplay
   ========================================================= */
.ax-hero-slider {
  position: relative;
  overflow: hidden;
}

.ax-hero-slider__viewport {
  overflow: hidden;
  width: 100%;
}

.ax-hero-slider__track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.ax-hero-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.ax-hero-slider__slide > .ax-hero {
  width: 100%;
  min-height: min(88vh, 820px);
}

.ax-hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.45);
  backdrop-filter: blur(8px);
}

.ax-hero-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.ax-hero-slider__dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, var(--ax-blue), var(--ax-cyan));
}

.ax-hero-slider__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .ax-hero-slider__slide > .ax-hero {
    min-height: auto;
  }

  .ax-hero-slider__dots {
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-hero-slider__track {
    transition: none !important;
  }
}

/* Preview switcher */
.ax-hero-picker {
  position: fixed;
  z-index: 99999;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 14px;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.92);
  color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  line-height: 1;
  max-width: calc(100vw - 24px);
  overflow-x: auto;
}

.ax-hero-picker__label {
  opacity: 0.55;
  white-space: nowrap;
  margin-right: 4px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 10px;
}

.ax-hero-picker__btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff !important;
  text-decoration: none !important;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.ax-hero-picker__btn:hover,
.ax-hero-picker__btn.is-active {
  background: linear-gradient(135deg, var(--ax-blue), var(--ax-blue-deep));
  border-color: transparent;
}

/* Shared hero shell */
.ax-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.ax-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(0, 102, 255, 0.18), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(0, 224, 255, 0.16), transparent 55%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3fb 48%, #f8fafc 100%);
}

.ax-hero__atmosphere--soft {
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(0, 102, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
}

.ax-hero__mesh {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(11, 18, 32, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}

.ax-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.ax-hero__glow--a {
  width: 420px;
  height: 420px;
  top: -80px;
  right: 8%;
  background: rgba(0, 102, 255, 0.35);
  animation: ax-hero-drift 9s ease-in-out infinite;
}

.ax-hero__glow--b {
  width: 320px;
  height: 320px;
  bottom: -40px;
  left: 12%;
  background: rgba(0, 224, 255, 0.28);
  animation: ax-hero-drift 11s ease-in-out infinite reverse;
}

@keyframes ax-hero-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(18px, -14px, 0); }
}

.ax-hero .container {
  position: relative;
  z-index: 2;
}

.ax-hero__brand {
  margin: 0 0 12px;
  max-width: 36rem;
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--ax-blue);
}

.ax-hero__headline {
  margin: 0 0 18px;
  max-width: 14ch;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ax-ink);
  text-transform: none !important;
}

.ax-hero__headline .ax-hero__name {
  display: block;
  font-size: clamp(42px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.88;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--ax-ink) 20%, var(--ax-blue) 55%, var(--ax-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
}

.ax-hero__headline .ax-hero__title-line {
  display: block;
  margin-top: 0.06em;
  line-height: 1.05;
}

.ax-hero__desc {
  margin: 0 0 28px;
  max-width: 42rem;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--ax-muted);
}

.ax-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.ax-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ax-hero__btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--ax-blue) 0%, var(--ax-blue-deep) 100%);
  box-shadow: 0 10px 28px rgba(0, 76, 255, 0.28);
}

.ax-hero__btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 76, 255, 0.36);
}

.ax-hero__btn--ghost {
  color: var(--ax-ink) !important;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 18, 32, 0.1);
}

.ax-hero__btn--ghost:hover {
  background: #fff;
}

.ax-hero__btn-arrow {
  font-size: 1.05em;
  line-height: 1;
}

.ax-hero__callouts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ax-hero__callouts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ax-ink);
}

.ax-hero__callout-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ax-blue), var(--ax-cyan));
  box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12);
}

/* ---------- A: Editorial (brand-first, aligned 2-col) ---------- */
.ax-hero--editorial {
  min-height: min(92vh, 860px);
  display: flex;
  align-items: center;
  padding: 72px 0 88px;
  overflow: hidden;
}

.ax-hero--editorial .ax-hero__editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  column-gap: clamp(16px, 3vw, 40px);
  width: 100%;
}

.ax-hero--editorial .ax-hero__inner {
  max-width: none;
  width: 100%;
  animation: ax-hero-rise 0.8s ease both;
}

.ax-hero--editorial .ax-hero__visual--editorial {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: stretch;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: clamp(280px, 36vw, 440px);
  animation: ax-hero-rise 1s ease 0.08s both;
  /* Keep rings inside the container — orb graphic extends past the sphere */
  overflow: visible;
}

.ax-hero--editorial .ax-hero__visual--editorial::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 6%;
  transform: translateY(-50%);
  width: min(100%, 420px);
  height: min(100%, 420px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 224, 255, 0.28), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.ax-hero--editorial .ax-hero__visual--editorial .anayanex-hero-orb-wrap {
  --orb-size: clamp(280px, 32vw, 440px) !important;
  width: var(--orb-size);
  height: var(--orb-size);
  min-width: var(--orb-size);
  min-height: var(--orb-size);
  max-width: 100%;
  position: relative;
  z-index: 1;
  /* Match header CTA right edge + keep orbital rings inside the container */
  margin-right: clamp(40px, 4.5vw, 56px);
  flex-shrink: 0;
}

/* legacy absolute orb (if cached markup remains) */
.ax-hero--editorial .ax-hero__orb-bg {
  display: none !important;
}

@keyframes ax-hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- B: Split SaaS ---------- */
.ax-hero--split {
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
}

.ax-hero--split .ax-hero__split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: 32px 40px;
  align-items: center;
}

.ax-hero--split .ax-hero__brand {
  margin-bottom: 12px;
}

.ax-hero--split .ax-hero__headline {
  max-width: none;
}

.ax-hero--split .ax-hero__headline .ax-hero__name {
  white-space: nowrap;
  font-size: clamp(36px, 5.2vw, 84px);
}

.ax-hero--editorial .ax-hero__headline {
  max-width: 16ch;
}

.ax-hero--split .ax-hero__desc {
  max-width: 48rem;
}

.ax-hero--split .ax-hero__copy {
  max-width: none;
  width: 100%;
  animation: ax-hero-rise 0.75s ease both;
}

.ax-hero--split .ax-hero__visual {
  display: grid;
  place-items: center;
  position: relative;
  min-height: 420px;
  animation: ax-hero-rise 0.9s ease 0.08s both;
}

.ax-hero--split .ax-hero__visual .anayanex-hero-orb-wrap {
  --orb-size: clamp(380px, 32vw, 480px) !important;
  width: var(--orb-size);
  height: var(--orb-size);
  min-width: var(--orb-size);
  min-height: var(--orb-size);
}

.ax-hero--split .ax-hero__visual::before {
  content: "";
  position: absolute;
  inset: 12% 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 224, 255, 0.28), transparent 70%);
  filter: blur(20px);
}

/* ---------- C: Classic — mobile overflow fix + corner cards ---------- */
.ax-hero--classic.wpr-banner-area {
  overflow: hidden;
}

.ax-hero--classic .banner-content-area {
  overflow: hidden;
}

.ax-hero--classic .ax-classic-card {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(240px, 42vw);
  padding: 10px 14px 10px 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 18, 32, 0.08);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.08);
  animation: ax-hero-rise 0.85s ease both;
}

.ax-hero--classic .ax-classic-card--tl {
  top: 28px;
  left: 20px;
  animation-delay: 0.15s;
}

.ax-hero--classic .ax-classic-card--br {
  right: 20px;
  bottom: 168px;
  animation-delay: 0.28s;
}

.ax-hero--classic .ax-classic-card__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b1220;
  color: #fff;
}

.ax-hero--classic .ax-classic-card__text {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ax-ink);
}

/* Top-right alternate 3D: crystal prism (not the main orb) */
.ax-hero--classic .ax-classic-3d {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 4;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: ax-hero-rise 0.9s ease 0.2s both;
}

.ax-hero--classic .ax-geo3d {
  position: relative;
  width: 100%;
  height: 100%;
  perspective: 700px;
}

.ax-hero--classic .ax-geo3d__glow {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.35), rgba(0, 224, 255, 0.12) 45%, transparent 70%);
  filter: blur(12px);
  animation: ax-geo3d-pulse 3.4s ease-in-out infinite;
}

.ax-hero--classic .ax-geo3d__scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  animation: ax-geo3d-tilt 9s ease-in-out infinite;
}

.ax-hero--classic .ax-geo3d__frame {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1.5px solid rgba(0, 224, 255, 0.55);
  box-shadow: 0 0 12px rgba(0, 102, 255, 0.25);
  transform-style: preserve-3d;
}

.ax-hero--classic .ax-geo3d__frame--a {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  animation: ax-geo3d-spin-y 7s linear infinite;
}

.ax-hero--classic .ax-geo3d__frame--b {
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-color: rgba(0, 102, 255, 0.55);
  border-radius: 4px;
  animation: ax-geo3d-spin-x 5.5s linear infinite reverse;
}

.ax-hero--classic .ax-geo3d__frame--c {
  width: 108px;
  height: 108px;
  margin: -54px 0 0 -54px;
  border-color: rgba(0, 224, 255, 0.28);
  border-style: dashed;
  animation: ax-geo3d-spin-z 11s linear infinite;
}

.ax-hero--classic .ax-geo3d__prism {
  position: relative;
  width: 46px;
  height: 46px;
  transform-style: preserve-3d;
  animation: ax-geo3d-prism 6s ease-in-out infinite;
}

.ax-hero--classic .ax-geo3d__face {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(0, 224, 255, 0.35), rgba(0, 76, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.35);
  backface-visibility: hidden;
  box-shadow: inset 0 0 18px rgba(0, 180, 255, 0.2);
}

.ax-hero--classic .ax-geo3d__face--front  { transform: translateZ(23px); }
.ax-hero--classic .ax-geo3d__face--back   { transform: rotateY(180deg) translateZ(23px); background: linear-gradient(145deg, rgba(0, 76, 255, 0.4), rgba(11, 18, 32, 0.55)); }
.ax-hero--classic .ax-geo3d__face--left   { transform: rotateY(-90deg) translateZ(23px); }
.ax-hero--classic .ax-geo3d__face--right  { transform: rotateY(90deg) translateZ(23px); }
.ax-hero--classic .ax-geo3d__face--top    { transform: rotateX(90deg) translateZ(23px); background: linear-gradient(145deg, rgba(255, 255, 255, 0.45), rgba(0, 224, 255, 0.3)); }
.ax-hero--classic .ax-geo3d__face--bottom { transform: rotateX(-90deg) translateZ(23px); background: linear-gradient(145deg, rgba(11, 18, 32, 0.65), rgba(0, 76, 255, 0.35)); }

.ax-hero--classic .ax-geo3d__core {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #00e0ff 45%, #004cff 100%);
  box-shadow: 0 0 18px rgba(0, 224, 255, 0.85), 0 0 36px rgba(0, 102, 255, 0.45);
  animation: ax-geo3d-core 2.8s ease-in-out infinite;
}

.ax-hero--classic .ax-geo3d__spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #00e0ff;
  box-shadow: 0 0 8px rgba(0, 224, 255, 0.9);
}

.ax-hero--classic .ax-geo3d__spark--1 {
  top: 18px;
  left: 50%;
  animation: ax-geo3d-spark 3.2s ease-in-out infinite;
}

.ax-hero--classic .ax-geo3d__spark--2 {
  bottom: 22px;
  right: 28px;
  width: 4px;
  height: 4px;
  background: #0066ff;
  animation: ax-geo3d-spark 3.8s ease-in-out 0.4s infinite reverse;
}

.ax-hero--classic .ax-geo3d__spark--3 {
  top: 48px;
  left: 16px;
  width: 6px;
  height: 6px;
  animation: ax-geo3d-spark 4.2s ease-in-out 0.7s infinite;
}

.ax-hero--classic .ax-geo3d__spark--4 {
  top: 30px;
  right: 18px;
  width: 3px;
  height: 3px;
  animation: ax-geo3d-spark 3.5s ease-in-out 1s infinite reverse;
}

@keyframes ax-geo3d-tilt {
  0%, 100% { transform: rotateX(12deg) rotateY(-18deg); }
  50% { transform: rotateX(22deg) rotateY(18deg); }
}

@keyframes ax-geo3d-prism {
  0%, 100% { transform: rotateX(-18deg) rotateY(28deg); }
  50% { transform: rotateX(12deg) rotateY(48deg) translateY(-4px); }
}

@keyframes ax-geo3d-spin-y {
  from { transform: rotateY(0deg) rotateX(18deg); }
  to { transform: rotateY(360deg) rotateX(18deg); }
}

@keyframes ax-geo3d-spin-x {
  from { transform: rotateX(0deg) rotateY(25deg); }
  to { transform: rotateX(360deg) rotateY(25deg); }
}

@keyframes ax-geo3d-spin-z {
  from { transform: rotateZ(0deg) rotateX(55deg); }
  to { transform: rotateZ(360deg) rotateX(55deg); }
}

@keyframes ax-geo3d-pulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes ax-geo3d-core {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.25); opacity: 1; }
}

@keyframes ax-geo3d-spark {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.55; }
  50% { transform: translate3d(0, -10px, 8px); opacity: 1; }
}

@media (max-width: 991px) {
  .ax-hero--classic .ax-classic-card {
    position: static;
    margin: 0 auto 12px;
    animation: none;
  }

  .ax-hero--classic .ax-classic-card--tl {
    margin-top: 8px;
  }

  .ax-hero--classic .ax-classic-card--br {
    margin-bottom: 8px;
  }

  .ax-hero--classic .ax-classic-3d {
    position: relative;
    top: auto;
    right: auto;
    margin: 8px auto 4px;
    width: 120px;
    height: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ax-hero--classic .ax-geo3d__scene,
  .ax-hero--classic .ax-geo3d__prism,
  .ax-hero--classic .ax-geo3d__frame,
  .ax-hero--classic .ax-geo3d__glow,
  .ax-hero--classic .ax-geo3d__core,
  .ax-hero--classic .ax-geo3d__spark {
    animation: none !important;
  }
}

@media (max-width: 991px) {
  .ax-hero--editorial {
    min-height: auto;
    padding: 56px 0 72px;
  }

  .ax-hero--editorial .ax-hero__editorial-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ax-hero--editorial .ax-hero__visual--editorial {
    order: -1;
    justify-content: center;
    justify-self: center;
    min-height: 240px;
  }

  .ax-hero--editorial .ax-hero__visual--editorial .anayanex-hero-orb-wrap {
    --orb-size: clamp(200px, 52vw, 280px) !important;
    margin-right: 0;
  }

  .ax-hero--editorial .ax-hero__orb-bg {
    display: none !important;
  }

  .ax-hero--split {
    min-height: auto;
    padding: 48px 0 64px;
  }

  .ax-hero--split .ax-hero__split-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ax-hero--split .ax-hero__visual {
    order: -1;
    min-height: 260px;
  }

  .ax-hero--split .ax-hero__visual .anayanex-hero-orb-wrap {
    --orb-size: clamp(240px, 62vw, 320px) !important;
  }

  /* Classic: stop horizontal clipping */
  .ax-hero--classic .banner-content-area .section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .ax-hero--classic .banner-content-area .section-title .left-area,
  .ax-hero--classic .banner-content-area .section-title .right-area {
    width: 100% !important;
    max-width: 100%;
    overflow: hidden;
  }

  .ax-hero--classic .banner-content-area .section-title .mid-icon {
    order: -1;
  }

  .ax-hero--classic .ax-hero-marquee__item {
    font-size: clamp(28px, 9vw, 42px) !important;
  }

  .ax-hero--classic .arrow-track {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .ax-hero__brand {
    font-size: clamp(36px, 12vw, 56px);
  }

  .ax-hero__headline {
    max-width: none;
    font-size: clamp(24px, 7.2vw, 34px);
  }

  .ax-hero--split .ax-hero__headline .ax-hero__name {
    font-size: clamp(28px, 9.5vw, 42px);
  }

  .ax-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ax-hero__btn {
    justify-content: center;
  }

  .ax-hero--editorial .ax-hero__visual--editorial {
    min-height: 200px;
  }

  .ax-hero-picker {
    bottom: 12px;
    padding: 7px 8px;
    gap: 6px;
  }

  .ax-hero-picker__label {
    display: none;
  }

  .ax-hero-picker__btn {
    padding: 7px 10px;
    font-size: 11px;
  }

  /* Ways to Work cards stack */
  .ax-engage .section-mid-area {
    flex-direction: column;
  }

  .ax-engage .section-mid-area .pricing-inner {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #e5e7eb;
  }

  .ax-engage .section-mid-area .pricing-inner:last-child {
    border-bottom: none;
  }
}

@media (max-width: 991px) {
  /* Home brand strip: stack label + marquee so chips aren't clipped */
  .wpr-brand-area .section-inner {
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
  }

  .wpr-brand-area .section-inner .left-text {
    min-width: 0 !important;
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
  }

  .wpr-brand-area .section-inner .left-text p {
    max-width: none;
    margin: 0;
    text-align: center;
    font-size: 13px;
    line-height: 1.35;
  }

  .wpr-brand-area .section-inner .right-marquee-area {
    border-left: none;
    border-top: 1px solid rgba(3, 7, 18, 0.1);
    width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .wpr-brand-area .section-inner .right-marquee-area .brand-wrapper {
    width: 150px;
    height: 110px;
    line-height: 110px;
  }
}

@media (max-width: 767px) {
  .wpr-brand-area .section-inner .right-marquee-area .brand-wrapper {
    width: 140px;
    height: 96px;
    line-height: 96px;
  }
}

@media (max-width: 575px) {
  .ax-footer__grid {
    grid-template-columns: 1fr !important;
  }

  .ax-footer__cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .wpr-brand-area .section-inner .right-marquee-area .brand-wrapper {
    width: 120px;
    height: 84px;
    line-height: 84px;
  }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ax-hero__glow,
  .ax-hero--editorial .ax-hero__inner,
  .ax-hero--editorial .ax-hero__visual--editorial,
  .ax-hero--split .ax-hero__copy,
  .ax-hero--split .ax-hero__visual {
    animation: none !important;
  }
}
