/*
 * AIS Financial Group — WordPress theme stylesheet
 * Ported from the Next.js app's src/app/globals.css (design tokens + component
 * classes kept near-verbatim) plus a hand-authored grid/layout system that
 * replaces the Tailwind utility classes used inline in the original JSX.
 */

/* ==========================================================================
   1. Design tokens (verbatim from globals.css :root, plus font stacks that
   replace next/font — see functions.php for the Google Fonts <link> tags)
   ========================================================================== */

:root {
  --ais-bg: #1e2a38;
  --ais-bg-elevated: #111c28;
  --ais-surface: rgba(255, 255, 255, 0.05);
  --ais-border: rgba(197, 225, 237, 0.22);
  --ais-accent: #c5e1ed;
  --ais-accent-muted: rgba(197, 225, 237, 0.65);
  --ais-text: #fdfdfd;
  --ais-text-muted: rgba(255, 255, 255, 0.75);
  --ais-glow: rgba(197, 225, 237, 0.35);

  /* Figma LANDING FINAL — 1440 frame, 12 cols, 20px gap, ~67px inset */
  --ais-frame-max: 1440px;
  --ais-grid-columns: 12;
  --ais-grid-gap: 20px;
  --ais-grid-margin: 67px;
  --ais-col-width: 90.5px;

  /* Vertical rhythm from Figma y-positions */
  --ais-space-section: 160px;
  --ais-space-section-lg: 293px;
  --ais-space-title-body: 51px;
  --ais-space-heading-sub: 31px;
  --ais-space-sub-diagram: 89px;
  --ais-space-trusted-carousel: 36px;
  --ais-space-why-carousel: 51px;

  /* Fonts (Google Fonts, enqueued in functions.php) */
  --font-lalezar: "Lalezar", system-ui, sans-serif;
  --font-plus-jakarta: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-montserrat: "Montserrat", system-ui, sans-serif;
}

/* ==========================================================================
   2. Base / reset
   ========================================================================== */

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ais-bg);
  color: var(--ais-text);
  font-family: var(--font-plus-jakarta), system-ui, sans-serif;
  overflow-x: clip;
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: inline-block;
}

a {
  color: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  font-weight: inherit;
}

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

/*
 * Cascade / Reveal entrance animation (see js/cascade.js).
 *
 * Hide these elements at first paint via CSS (before JS even runs) so the
 * sequence is "hidden -> animate in", never "visible -> blink hidden ->
 * animate in". GSAP's own gsap.set(el, { opacity: 0, y: 48 }) on init must
 * match this initial state exactly, or the mismatch itself would cause a
 * flash.
 */
[data-gsap-cascade] {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  [data-gsap-cascade] {
    opacity: 1;
  }
}

/* No JS => GSAP never runs => nothing would ever set opacity back to 1.
   Progressive enhancement fallback for JS-disabled browsers. */
@media (scripting: none) {
  [data-gsap-cascade] {
    opacity: 1;
  }
}

/* ==========================================================================
   3. Page grid system (port of PageGrid.tsx / PageShell / Col / PageSection)
   ========================================================================== */

.ais-page {
  width: 100%;
  max-width: var(--ais-frame-max);
  margin-inline: auto;
  padding-inline: var(--ais-grid-margin);
}

.ais-grid {
  display: grid;
  grid-template-columns: repeat(var(--ais-grid-columns), minmax(0, 1fr));
  column-gap: var(--ais-grid-gap);
  row-gap: 0;
}

@media (min-width: 768px) {
  .ais-grid {
    row-gap: var(--ais-grid-gap);
  }
}

.ais-section {
  padding-block: var(--ais-space-section);
  position: relative;
}

.ais-section--lg {
  padding-block: var(--ais-space-section-lg);
}

.ais-section--none {
  padding-block: 0;
}

@media (max-width: 1023px) {
  :root {
    --ais-grid-margin: clamp(20px, 5vw, 67px);
  }
}

/* Column spans/starts — mirrors Tailwind's `lg:col-span-N` / `lg:col-start-N`
   (lg breakpoint = min-width: 1024px). Mobile default = full width. */
.ais-col {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .ais-col-1 { grid-column: span 1 / span 1; }
  .ais-col-2 { grid-column: span 2 / span 2; }
  .ais-col-3 { grid-column: span 3 / span 3; }
  .ais-col-4 { grid-column: span 4 / span 4; }
  .ais-col-5 { grid-column: span 5 / span 5; }
  .ais-col-6 { grid-column: span 6 / span 6; }
  .ais-col-7 { grid-column: span 7 / span 7; }
  .ais-col-8 { grid-column: span 8 / span 8; }
  .ais-col-9 { grid-column: span 9 / span 9; }
  .ais-col-10 { grid-column: span 10 / span 10; }
  .ais-col-11 { grid-column: span 11 / span 11; }
  .ais-col-12 { grid-column: span 12 / span 12; }

  .ais-col-start-1 { grid-column-start: 1; }
  .ais-col-start-2 { grid-column-start: 2; }
  .ais-col-start-3 { grid-column-start: 3; }
  .ais-col-start-4 { grid-column-start: 4; }
  .ais-col-start-5 { grid-column-start: 5; }
  .ais-col-start-6 { grid-column-start: 6; }
  .ais-col-start-7 { grid-column-start: 7; }
  .ais-col-start-8 { grid-column-start: 8; }
  .ais-col-start-9 { grid-column-start: 9; }
  .ais-col-start-10 { grid-column-start: 10; }
  .ais-col-start-11 { grid-column-start: 11; }
  .ais-col-start-12 { grid-column-start: 12; }
}

/* Section-specific overflow/spacing overrides (verbatim from globals.css) */
#expert.ais-section {
  position: relative;
  overflow: visible !important;
}

#get-started.ais-section {
  position: relative;
  padding-bottom: 0;
  overflow: visible !important;
}

#contact.ais-section {
  position: relative;
  padding-top: 200px;
  overflow: visible !important;
}

#platform.ais-section {
  padding-bottom: 0;
  overflow: visible;
}

#why-ais.ais-section {
  position: relative;
  padding-top: 253px;
  padding-bottom: 0;
  overflow: visible !important;
}

#facts.ais-section {
  overflow: visible !important;
}

@media (max-width: 767px) {
  :root {
    --ais-space-why-carousel: 35px;
  }

  #why-ais.ais-section {
    padding-top: 81px;
  }

  #facts.ais-section {
    padding-top: 100px;
    padding-bottom: 35px;
  }

  #expert.ais-section {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  #get-started.ais-section {
    padding-top: 0;
  }

  #contact.ais-section {
    padding-top: 80px;
    padding-bottom: 14px;
  }
}

/* ==========================================================================
   4. Heading system (port of SectionHeading.tsx)
   ========================================================================== */

.ais-heading {
  font-family: var(--font-lalezar), system-ui, sans-serif;
  color: #fff;
  margin: 0;
  font-weight: 400;
}

.ais-heading--lg {
  font-size: 40px;
  line-height: 62px;
  letter-spacing: -1.28px;
}

.ais-heading--md {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* mobileSize={27} override — must come after the base rules above but
   before the md: breakpoint rules below so desktop sizes still win. */
.ais-heading--m27 {
  font-size: 27px;
}

@media (min-width: 768px) {
  .ais-heading--lg {
    font-size: 64px;
  }

  .ais-heading--md {
    font-size: 50px;
  }
}

/* ==========================================================================
   5. Small shared utilities (kept intentionally minimal — everything else is
   bespoke, semantic, per-section CSS below)
   ========================================================================== */

.u-relative { position: relative; }
.u-z0 { z-index: 0; }
.u-z1 { z-index: 1; }
.u-z10 { z-index: 10; }
.u-tac { text-align: center; }
.u-flex { display: flex; }
.u-flex-col { display: flex; flex-direction: column; }
.u-items-center { align-items: center; }
.u-justify-center { justify-content: center; }
.u-aria-hidden-decor { pointer-events: none; }

.u-lg-hidden {
  display: block;
}
@media (min-width: 1024px) {
  .u-lg-hidden {
    display: none;
  }
}

.u-lg-only {
  display: none;
}
@media (min-width: 1024px) {
  .u-lg-only {
    display: block;
  }
}

.u-md-hidden {
  display: block;
}
@media (min-width: 768px) {
  .u-md-hidden {
    display: none;
  }
}

.u-md-only {
  display: none;
}
@media (min-width: 768px) {
  .u-md-only {
    display: inline;
  }
}

.u-tac-md-tal {
  text-align: center;
}
@media (min-width: 768px) {
  .u-tac-md-tal {
    text-align: left;
  }
}

/* ==========================================================================
   6. Glass / glow component classes (verbatim from globals.css)
   ========================================================================== */

.glass-panel {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid var(--ais-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 48px rgba(0, 0, 0, 0.35);
}

.glass-panel-featured {
  background: linear-gradient(
    224.99deg,
    rgb(193, 221, 233) 2.74%,
    rgb(115, 136, 152) 49.06%,
    rgb(197, 225, 237) 97.26%
  );
  opacity: 0.12;
  border: 1px solid rgba(197, 225, 237, 0.45);
}

.glass-button {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Hero (port of #hero rules) */
.ais-hero__header {
  padding-top: 70px;
  transition: padding-top 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .ais-hero__header {
    padding-top: 149px;
  }
}

#hero h1 {
  font-size: 27px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.54px;
}

@media (min-width: 768px) {
  #hero h1 {
    font-size: 64px;
    line-height: 62px;
    letter-spacing: -1.28px;
  }
}

.ais-hero__body {
  padding-top: 64px;
  transition: padding-top 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ais-hero__body .ais-grid {
  row-gap: 0;
}

@media (min-width: 768px) {
  .ais-hero__body {
    padding-top: 160px;
  }

  .ais-hero__body .ais-grid {
    row-gap: var(--ais-grid-gap);
  }
}

.ais-hero__lift {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ais-hero__extra {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease;
}

.ais-hero__extra > div {
  min-height: 0;
  overflow: hidden;
}

.ais-hero__label-less {
  display: none;
}

.ais-hero__label-more {
  display: inline-flex;
  align-items: center;
}

.ais-hero__cta {
  margin-top: 16px;
  transition: margin-top 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ais-hero--expanded .ais-hero__extra,
.ais-hero:has(.ais-hero-toggle:checked) .ais-hero__extra {
  grid-template-rows: 1fr;
  opacity: 1;
}

.ais-hero--expanded .ais-hero__header,
.ais-hero:has(.ais-hero-toggle:checked) .ais-hero__header {
  padding-top: 48px;
}

.ais-hero--expanded .ais-hero__body,
.ais-hero:has(.ais-hero-toggle:checked) .ais-hero__body {
  padding-top: 8rem;
}

.ais-hero--expanded .ais-hero__lift,
.ais-hero:has(.ais-hero-toggle:checked) .ais-hero__lift {
  transform: translateY(-28px);
}

.ais-hero--expanded .ais-hero__cta,
.ais-hero:has(.ais-hero-toggle:checked) .ais-hero__cta {
  margin-top: 12px;
}

.ais-hero--expanded .ais-hero__copy,
.ais-hero:has(.ais-hero-toggle:checked) .ais-hero__copy {
  margin-top: 24px;
}

.ais-hero--expanded .ais-hero__label-more,
.ais-hero:has(.ais-hero-toggle:checked) .ais-hero__label-more {
  display: none;
}

.ais-hero--expanded .ais-hero__label-less,
.ais-hero:has(.ais-hero-toggle:checked) .ais-hero__label-less {
  display: inline-flex;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .ais-hero__header,
  .ais-hero__body,
  .ais-hero__lift,
  .ais-hero__extra {
    transition: none;
  }
}

.glow-orb {
  background: radial-gradient(
    circle,
    rgba(197, 225, 237, 0.18) 0%,
    rgba(197, 225, 237, 0.06) 35%,
    transparent 70%
  );
}

.divider-glow {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(197, 225, 237, 0.5) 45%,
    rgba(197, 225, 237, 0.8) 50%,
    rgba(197, 225, 237, 0.5) 55%,
    transparent 100%
  );
}

@keyframes ais-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.logo-marquee-row {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: ais-marquee-scroll 180s linear infinite;
}

.logo-marquee-row--reverse {
  animation: ais-marquee-scroll 200s linear infinite reverse;
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-row {
    animation: none;
  }
}

/* Pomelo-inspired animated border beam (conic-gradient + @property) */
@property --ais-beam-angle {
  syntax: "<angle>";
  initial-value: 140deg;
  inherits: false;
}

@keyframes ais-beam-rotate {
  to {
    --ais-beam-angle: 500deg;
  }
}

.ais-glow-border {
  position: relative;
  isolation: isolate;
  border-radius: 20px;
  --glow-x: 14%;
  --glow-y: 8%;
  --glow-intensity: 0.28;
  --glow-radius: 240px;
}

.ais-glow-border::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    148deg,
    rgba(197, 225, 237, 0.42) 0%,
    rgba(197, 225, 237, 0.1) 38%,
    rgba(255, 255, 255, 0.08) 62%,
    rgba(197, 225, 237, 0.18) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.55;
}

.ais-glow-border::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ais-beam-angle),
    rgba(197, 225, 237, 0.04) 0deg,
    rgba(197, 225, 237, 0.95) 42deg,
    rgba(255, 255, 255, 0.65) 78deg,
    rgba(197, 225, 237, 0.12) 120deg,
    rgba(197, 225, 237, 0.04) 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.ais-glow-border--animated::after {
  opacity: 1;
  animation: ais-beam-rotate 4.8s linear infinite;
}

.ais-glow-border__spotlight {
  pointer-events: none;
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  padding: 2px;
  background: radial-gradient(
    var(--glow-radius) circle at var(--glow-x) var(--glow-y),
    rgba(197, 225, 237, calc(var(--glow-intensity) * 0.85)) 0%,
    rgba(197, 225, 237, calc(var(--glow-intensity) * 0.35)) 28%,
    transparent 58%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  transition: opacity 0.35s ease;
}

.ais-glow-border--spotlight:hover {
  box-shadow:
    0 0 0 1px rgba(197, 225, 237, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.42),
    0 0 48px rgba(197, 225, 237, calc(var(--glow-intensity) * 0.12));
}

.ais-glow-border__glint {
  pointer-events: none;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 48%;
  width: 42%;
  border-radius: 20px 0 80% 0;
  background: radial-gradient(
    ellipse at 0% 0%,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 68%
  );
}

.ais-glow-border__inner {
  position: relative;
  z-index: 2;
  border-radius: 19px;
  background: linear-gradient(
    168deg,
    rgba(22, 36, 50, 0.92) 0%,
    rgba(10, 18, 25, 0.88) 55%,
    rgba(8, 14, 20, 0.94) 100%
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 28px 56px rgba(0, 0, 0, 0.38);
}

.ais-glow-border--mirror {
  border-radius: 16px;
}

.ais-glow-border--mirror .ais-glow-border__inner {
  overflow: hidden;
  border-radius: 15px;
  height: 100%;
  background: linear-gradient(
    145deg,
    rgba(193, 221, 233, 0.2) 0%,
    rgba(115, 136, 152, 0.1) 24%,
    rgba(10, 18, 25, 0.38) 50%,
    rgba(6, 10, 16, 0.58) 100%
  );
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 1px 0 0 rgba(255, 255, 255, 0.18),
    inset 0 -24px 48px rgba(0, 0, 0, 0.32),
    0 0 32px rgba(197, 225, 237, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.3);
}

.ais-glow-border--mirror .ais-glow-border__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    118deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(197, 225, 237, 0.1) 16%,
    transparent 44%
  );
  pointer-events: none;
}

.ais-glow-border--mirror .ais-glow-border__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    325deg,
    transparent 55%,
    rgba(0, 0, 0, 0.22) 100%
  );
  pointer-events: none;
}

.ais-mirror-sheen {
  pointer-events: none;
  position: absolute;
  z-index: 1;
  top: -20%;
  left: -10%;
  height: 55%;
  width: 65%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(197, 225, 237, 0.06) 35%,
    transparent 70%
  );
  filter: blur(8px);
  transform: rotate(-8deg);
}

.ais-glow-border--mirror::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(197, 225, 237, 0.28) 22%,
    rgba(197, 225, 237, 0.1) 50%,
    rgba(197, 225, 237, 0.06) 100%
  );
  opacity: 0.65;
}

.ais-glow-border--mirror .ais-glow-border__glint {
  height: 52%;
  width: 48%;
  background: radial-gradient(
    ellipse at 0% 0%,
    rgba(255, 255, 255, 0.32) 0%,
    rgba(197, 225, 237, 0.1) 40%,
    transparent 72%
  );
}

@keyframes ais-flare-pulse {
  0%,
  100% {
    opacity: 0.55;
    filter: blur(2px);
  }
  50% {
    opacity: 1;
    filter: blur(3px);
  }
}

.ais-mirror-flare {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.95) 42%,
    rgba(197, 225, 237, 0.85) 58%,
    transparent 100%
  );
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.75),
    0 0 28px rgba(197, 225, 237, 0.45);
  animation: ais-flare-pulse 3.6s ease-in-out infinite;
}

.ais-mirror-flare--top-right {
  top: 12%;
  right: -2px;
  width: 3px;
  height: 38%;
}

.ais-mirror-flare--bottom-left {
  bottom: 14%;
  left: -2px;
  width: 38%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.95) 42%,
    rgba(197, 225, 237, 0.85) 58%,
    transparent 100%
  );
}

.ais-mirror-flare--bottom-right {
  bottom: 16%;
  right: -2px;
  width: 3px;
  height: 36%;
  animation-delay: 1.2s;
}

.ais-glow-border--mirror.ais-glow-border--animated::after {
  opacity: 0.75;
}

/* Glass mate — glass fill + Figma gradient 1px stroke */
.ais-glow-border--matte {
  border-radius: 16px;
  overflow: hidden;
  isolation: auto;
}

.ais-glow-border--matte .ais-glow-border__inner {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 16px;
  background: transparent;
  border: none;
  box-shadow: 0 4px 30px #0000001a;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.ais-glow-border--matte .ais-glow-border__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.25;
  mix-blend-mode: lighten;
  background: linear-gradient(
    90deg,
    #c1dde9 0%,
    #a9c3d0 4%,
    #95adbb 8%,
    #859cab 13%,
    #7a90a0 19%,
    #748999 26%,
    #738898 49%,
    #768b9b 61%,
    #7f95a5 71%,
    #8fa7b5 81%,
    #a6bfcd 91%,
    #c5e1ed 100%
  );
  background-blend-mode: lighten;
}

.ais-glow-border--matte .ais-glow-border__inner > * {
  position: relative;
  z-index: 1;
}

.ais-glow-border--matte::before {
  content: none;
}

.ais-matte-stroke {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  opacity: 0.55;
  mix-blend-mode: lighten;
}

.ais-glow-border--matte.ais-glow-border--animated::after {
  opacity: 0;
  animation: none;
}

.ais-border-bright-dot {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 20px;
  height: 56px;
  margin: auto;
  object-fit: contain;
  pointer-events: none;
  offset-path: inset(0 round 16px);
  offset-anchor: center;
  offset-rotate: auto 90deg;
  offset-distance: 0%;
  animation: ais-border-bright-travel 5.5s linear infinite;
}

#platform .ais-glow-border--matte {
  overflow: visible;
}

#platform .ais-border-bright-dot {
  position: absolute;
  inset: 0;
  z-index: 5;
  object-fit: contain;
  pointer-events: none;
  offset-path: inset(0 round 24px);
  offset-anchor: center;
  offset-rotate: auto 90deg;
  offset-distance: 0%;
  width: 28px;
  height: 72px;
  margin: auto;
  animation: ais-border-bright-travel 5.5s linear infinite;
}

@keyframes ais-border-bright-travel {
  to {
    offset-distance: 100%;
  }
}

.ais-glass-mate-inset,
.ais-platform-inset {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  background: none;
}

.ais-glass-mate-inset {
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.ais-platform-inset {
  border: none;
}

.ais-glass-mate-inset::before,
.ais-platform-inset::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.33;
  background: linear-gradient(
    to top right,
    #c1dde9 0%,
    #a9c3d0 4%,
    #95adbb 8%,
    #859cab 13%,
    #7a90a0 19%,
    #748999 26%,
    #738898 49%,
    #768b9b 61%,
    #7f95a5 71%,
    #8fa7b5 81%,
    #a6bfcd 91%,
    #c5e1ed 100%
  );
}

.ais-glass-mate-inset > *,
.ais-platform-inset > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .ais-glow-border--animated::after {
    animation: none;
    opacity: 0.65;
  }

  .ais-border-bright-dot {
    animation: none;
    offset-distance: 12%;
  }
}

.ais-glow-border--icon-ring {
  border-radius: 9999px;
}

.ais-glow-border--icon-ring .ais-glow-border__inner {
  border-radius: 9999px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.ais-glow-border--icon-ring .ais-glow-border__glint {
  border-radius: 9999px 0 80% 0;
}

.ais-glow-border--icon-ring::before {
  opacity: 0.42;
}

.ais-glow-border--icon-ring:not(.ais-glow-border--animated)::after {
  opacity: 0.35;
}

.ais-glow-border--icon-ring.ais-glow-border--featured::before,
.ais-glow-border--icon-ring.ais-glow-border--animated::after {
  padding: 3px;
  inset: -3px;
}

.ais-nav-ring {
  position: relative;
  isolation: isolate;
  border-radius: 9999px;
  background: transparent;
}

.ais-nav-ring::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ais-beam-angle),
    rgba(197, 225, 237, 0.2),
    rgba(197, 225, 237, 0.85),
    rgba(197, 225, 237, 0.2)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: ais-beam-rotate 6s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ais-nav-ring::after {
    animation: none;
  }
}

/* Why AIS — Pomelo-style diagonal Embla carousel */
.ais-why-stage {
  min-height: 520px;
  display: flex;
  align-items: center;
}

.ais-why-nav {
  position: absolute;
  top: 50%;
  z-index: 30;
  display: none;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  color: var(--ais-accent);
  opacity: 0.85;
  background: transparent;
  border: none;
  transform: translateY(-50%);
  transition: opacity 0.2s ease;
}

@media (min-width: 1024px) {
  .ais-why-nav {
    display: flex;
  }
}

.ais-why-nav--prev {
  left: 12px;
}

.ais-why-nav--next {
  right: 12px;
}

@media (min-width: 1280px) {
  .ais-why-nav--prev {
    left: 32px;
  }

  .ais-why-nav--next {
    right: 32px;
  }
}

.ais-why-nav:hover {
  opacity: 1;
}

.ais-why-embla {
  --ais-why-slide-size: max(314px, 72%);
  position: relative;
  width: 100%;
  padding-inline: max(var(--ais-grid-margin), 1.5rem);
}

@media (min-width: 768px) {
  .ais-why-embla {
    --ais-why-slide-size: max(314px, 42%);
    padding-inline: 5rem;
  }
}

@media (min-width: 1024px) {
  .ais-why-embla {
    --ais-why-slide-size: max(370px, 33.333%);
    padding-inline: 6rem;
  }

  .ais-why-embla__slide {
    min-width: 370px;
  }
}

@media (min-width: 1280px) {
  .ais-why-embla {
    --ais-why-slide-size: max(370px, 33.333%);
    padding-inline: 7rem;
  }
}

.ais-why-embla__fade {
  overflow: hidden;
  padding-block: 35px;
}

@media (min-width: 768px) {
  .ais-why-embla__fade {
    padding-block: 75px;
  }
}

.ais-why-embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
}

.ais-why-embla__slide {
  flex: 0 0 var(--ais-why-slide-size);
  padding-inline: 10px;
  justify-content: center;
  min-width: 314px;
  padding-bottom: 0;
  display: flex;
}

.ais-why-slide__inner {
  width: 100%;
  display: flex;
  justify-content: center;
  will-change: transform, filter, opacity;
  transform-origin: center center;
  cursor: grab;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.ais-why-slide__inner:active {
  cursor: grabbing;
}

.ais-why-slide {
  position: relative;
  border-radius: 18px;
  min-height: 577px;
  width: 100%;
  min-width: 314px;
  max-width: 370px;
}

@media (min-width: 1024px) {
  .ais-why-slide {
    min-width: 370px;
  }
}

.ais-why-slide__frame {
  opacity: 0;
  border-radius: 18px;
  transition: opacity 0.2s linear;
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: visible;
}

.ais-why-slide__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  pointer-events: none;
  background: linear-gradient(
    336deg,
    #c5e1ed -9.62%,
    rgba(197, 225, 237, 0.83) -5.23%,
    rgba(197, 225, 237, 0.61) 2.07%,
    rgba(197, 225, 237, 0.43) 9.38%,
    rgba(197, 225, 237, 0.27) 16.69%,
    rgba(197, 225, 237, 0.15) 23.99%,
    rgba(197, 225, 237, 0.07) 31.3%,
    rgba(197, 225, 237, 0.02) 40.07%,
    rgba(197, 225, 237, 0) 47.38%,
    rgba(197, 225, 237, 0.02) 63.45%,
    rgba(197, 225, 237, 0.05) 73.68%,
    rgba(197, 225, 237, 0.12) 83.91%,
    rgba(197, 225, 237, 0.21) 92.68%,
    rgba(197, 225, 237, 0.33) 101.45%,
    rgba(197, 225, 237, 0.48) 110.22%,
    rgba(197, 225, 237, 0.66) 117.52%,
    rgba(197, 225, 237, 0.85) 124.83%,
    #c5e1ed 129.21%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.ais-why-slide__dot {
  width: 21px;
  height: 96px;
  offset-path: inset(1.5px round 16.5px);
  offset-anchor: center;
  offset-rotate: auto 90deg;
}

.ais-why-slide__desc {
  opacity: 1;
  padding-bottom: 35px;
}

@media (prefers-reduced-motion: reduce) {
  .ais-why-slide__inner {
    transition: none;
  }
}

/* Your expert to Securitize — Pomelo Success Stories fan carousel */
.ais-expert-embla {
  --ais-expert-slide-size: min(42%, 150px);
  position: relative;
  height: 420px;
}

@media (min-width: 820px) {
  .ais-expert-embla {
    --ais-expert-slide-size: min(42%, 260px);
    height: 660px;
  }
}

@media (min-width: 1220px) {
  .ais-expert-embla {
    --ais-expert-slide-size: min(22%, 280px);
  }
}

.ais-expert-dots {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  pointer-events: auto;
}

.ais-expert-embla__fade {
  overflow: visible;
  height: 100%;
  padding-block: 0 90px;
}

@media (max-width: 819px) {
  .ais-expert-embla {
    height: 309px;
  }

  .ais-expert-dots {
    gap: 14px;
  }
}

@media (min-width: 820px) {
  .ais-expert-embla__fade {
    padding-block: 0 380px;
  }
}

.ais-expert-embla__container {
  display: flex;
  touch-action: pan-y pinch-zoom;
  align-items: flex-start;
}

.ais-expert-embla__slide {
  position: relative;
  z-index: 2;
  flex: 0 0 var(--ais-expert-slide-size);
  min-width: 0;
  display: flex;
  justify-content: center;
  margin-right: 0.75rem;
}

@media (min-width: 820px) {
  .ais-expert-embla__slide {
    margin-right: 2.5rem;
  }
}

.ais-expert-slide__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform-origin: top;
  cursor: grab;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
}

.ais-expert-slide__inner:active {
  cursor: grabbing;
}

@media (min-width: 820px) {
  .ais-expert-slide__inner {
    gap: 28px;
  }
}

.ais-expert-slide__ring {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  transition: width 0.3s ease-out, height 0.3s ease-out;
}

@media (min-width: 820px) {
  .ais-expert-slide__ring {
    width: 72px;
    height: 72px;
  }
}

.ais-expert-slide__label {
  opacity: 1;
  width: 100%;
  max-width: 140px;
  padding-inline: 4px;
  text-align: center;
  font-family: var(--font-montserrat);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.06;
  color: #c5e1ed;
  transition: opacity 0.3s ease;
}

@media (min-width: 820px) {
  .ais-expert-slide__label {
    max-width: 220px;
    font-size: 20px;
  }
}

.ais-btn-glow {
  position: relative;
}

.ais-btn-glow::before,
.ais-btn-glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

.ais-btn-glow::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45),
    rgba(197, 225, 237, 0.15)
  );
  opacity: 0.7;
}

.ais-btn-glow::after {
  background: conic-gradient(
    from var(--ais-beam-angle),
    rgba(197, 225, 237, 0.15),
    rgba(197, 225, 237, 0.95),
    rgba(255, 255, 255, 0.55),
    rgba(197, 225, 237, 0.15)
  );
  animation: ais-beam-rotate 5.5s linear infinite;
}

.ais-btn-glow {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.03) 100%
  ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 28px rgba(0, 0, 0, 0.28) !important;
}

@keyframes ais-orb-float {
  0%,
  100% {
    transform: translate(-50%, -42%) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate(calc(-50% + 18px), calc(-42% - 22px)) scale(1.08);
    opacity: 1;
  }
}

@keyframes ais-orb-breathe {
  0%,
  100% {
    opacity: 0.55;
    filter: blur(0px);
  }
  50% {
    opacity: 0.95;
    filter: blur(2px);
  }
}

@keyframes ais-arc-pulse {
  0%,
  100% {
    opacity: 0.65;
    transform: translateX(-50%) scaleX(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.03);
  }
}

.ais-ambient-orb {
  left: 50%;
  transform: translate(-50%, -42%);
  animation: ais-orb-float 14s ease-in-out infinite;
  will-change: transform, opacity;
  position: absolute;
}

.ais-ambient-orb--hero {
  top: -8%;
  background: radial-gradient(
    ellipse at center,
    rgba(197, 225, 237, 0.22) 0%,
    rgba(197, 225, 237, 0.08) 38%,
    transparent 72%
  );
}

.ais-ambient-orb--section {
  top: 20%;
  background: radial-gradient(
    ellipse at center,
    rgba(197, 225, 237, 0.16) 0%,
    rgba(197, 225, 237, 0.05) 42%,
    transparent 70%
  );
  animation-duration: 18s;
}

.ais-ambient-orb--arc {
  bottom: 0;
  top: auto;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center bottom,
    rgba(197, 225, 237, 0.2) 0%,
    rgba(197, 225, 237, 0.07) 35%,
    transparent 68%
  );
  animation: ais-arc-pulse 8s ease-in-out infinite;
}

.ais-ambient-orb--soft {
  top: 35%;
  background: radial-gradient(
    circle,
    rgba(197, 225, 237, 0.12) 0%,
    transparent 68%
  );
  animation-duration: 16s;
}

.ais-ambient-orb::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background: inherit;
  filter: blur(28px);
  animation: ais-orb-breathe 6s ease-in-out infinite;
}

.ais-divider-v,
.ais-divider-h {
  background: linear-gradient(
    var(--divider-dir, 180deg),
    transparent 0%,
    rgba(197, 225, 237, 0.18) 20%,
    rgba(197, 225, 237, 0.35) 50%,
    rgba(197, 225, 237, 0.18) 80%,
    transparent 100%
  );
  position: relative;
}

.ais-divider-h {
  --divider-dir: 90deg;
}

.ais-divider-v__beam,
.ais-divider-h__beam {
  position: absolute;
  border-radius: 9999px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(197, 225, 237, 0.85) 35%,
    transparent 70%
  );
  box-shadow: 0 0 14px rgba(197, 225, 237, 0.75);
}

.ais-divider-v__beam {
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translateX(-50%);
  animation: ais-divider-travel-v 3.6s ease-in-out infinite;
}

.ais-divider-h__beam {
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  animation: ais-divider-travel-h 3.6s ease-in-out infinite;
}

@keyframes ais-divider-travel-v {
  0% {
    top: 8%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    top: 92%;
    opacity: 0;
  }
}

@keyframes ais-divider-travel-h {
  0% {
    left: 8%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    left: 92%;
    opacity: 0;
  }
}

.ais-connector-line {
  stroke-dasharray: 6 10;
  animation: ais-line-flow 2.4s linear infinite;
}

.ais-connector-line--delay-1 {
  animation-delay: 0.2s;
}
.ais-connector-line--delay-2 {
  animation-delay: 0.5s;
}
.ais-connector-line--delay-3 {
  animation-delay: 0.35s;
}
.ais-connector-line--delay-4 {
  animation-delay: 0.65s;
}

@keyframes ais-line-flow {
  to {
    stroke-dashoffset: -32;
  }
}

.ais-connector-dot {
  fill: rgba(197, 225, 237, 0.95);
  filter: drop-shadow(0 0 6px rgba(197, 225, 237, 0.9));
}

.ais-glow-ring {
  position: relative;
  width: 96px;
  height: 96px;
}

.ais-glow-ring__svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.ais-glow-ring__progress {
  animation: ais-ring-shimmer 3.2s ease-in-out infinite;
}

@keyframes ais-ring-shimmer {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}

.ais-glow-ring__content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ais-glow-ring::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  background: conic-gradient(
    from var(--ais-beam-angle),
    transparent,
    rgba(197, 225, 237, 0.35),
    transparent
  );
  opacity: 0.45;
  animation: ais-beam-rotate 6s linear infinite;
  pointer-events: none;
}

/* Facts & Figures */
.ais-facts-divider__line {
  background: linear-gradient(
    180deg,
    rgba(197, 225, 237, 0.04) 0%,
    rgba(197, 225, 237, 0.14) 50%,
    rgba(197, 225, 237, 0.04) 100%
  );
}

.ais-facts-divider__glow {
  position: absolute;
  left: 50%;
  width: 4px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: #ffffff;
  box-shadow:
    0 0 2px 0 rgba(255, 255, 255, 0.9),
    0 0 5px 1px rgba(197, 225, 237, 0.5);
}

.ais-facts-divider__glow::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 10px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45),
    rgba(197, 225, 237, 0.12),
    transparent
  );
}

.ais-facts-divider__glow--bottom {
  bottom: 0;
}

.ais-facts-divider__glow--bottom::after {
  bottom: 3px;
}

.ais-facts-divider__glow--top {
  top: 0;
}

.ais-facts-divider__glow--top::after {
  top: 3px;
  transform: translateX(-50%) rotate(180deg);
}

.ais-facts-divider__glow--dot {
  top: 0 !important;
  bottom: auto !important;
  width: 18px;
  height: 107px;
  max-width: none;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  object-fit: contain;
  pointer-events: none;
  transform: translate(-50%, 0);
  animation: ais-facts-divider-travel var(--ais-facts-dot-duration, 2.2s)
    ease-in-out infinite alternate;
  animation-delay: var(--ais-facts-dot-delay, 0s);
}

.ais-facts-divider__glow--dot::after {
  content: none;
}

@keyframes ais-facts-divider-travel {
  from {
    top: 0%;
    transform: translate(-50%, 0%);
  }
  to {
    top: 100%;
    transform: translate(-50%, -100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ais-facts-divider__glow--dot {
    animation: none;
    top: 35%;
    transform: translate(-50%, -50%);
  }
}

.ais-facts-bottom {
  min-height: 102px;
  overflow: visible;
  position: relative;
}

.ais-facts-divider {
  overflow: visible;
  z-index: 2;
}

.ais-facts-circles {
  max-width: 339px;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .ais-facts-circles {
    max-width: 355px;
    gap: 2rem;
  }
}

@media (min-width: 1440px) {
  .ais-facts-circles {
    max-width: 423px;
    min-width: 420px;
    gap: 66px;
  }
}

.ais-facts-circle__ring {
  border: 1px solid rgba(197, 225, 237, 0.1);
  background: radial-gradient(
    circle at 35% 28%,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(12, 18, 26, 0.12) 55%,
    rgba(0, 0, 0, 0.16) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ais-expert-stage {
  position: relative;
  min-height: 420px;
  width: 100%;
}

@media (min-width: 640px) {
  .ais-expert-stage {
    min-height: 460px;
  }
}

.ais-hover-lift {
  transition:
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
}

.ais-hover-lift:hover {
  transform: translateY(-4px);
}

/* Questionnaire */
.ais-questionnaire-progress__track {
  position: relative;
  width: 100%;
  height: 2px;
  overflow: visible;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
}

.ais-questionnaire-progress__fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 0;
  border-radius: inherit;
  background: var(--ais-accent);
  transition: width 0.5s ease;
}

.ais-questionnaire-progress__fill--on {
  width: 100%;
}

.ais-questionnaire-progress__dot {
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 72px;
  transform: translate(50%, -50%) rotate(90deg);
  object-fit: contain;
  pointer-events: none;
}

.ais-option-glow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease;
}

.ais-option-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: lighten;
  background: linear-gradient(
    247deg,
    #c1dde9 2.74%,
    #a9c3d0 6.52%,
    #95adbb 10.31%,
    #859cab 15.03%,
    #7a90a0 20.7%,
    #748999 27.32%,
    #738898 49.06%,
    #768b9b 60.4%,
    #7f95a5 69.85%,
    #8fa7b5 79.31%,
    #a6bfcd 88.76%,
    #c5e1ed 97.26%
  );
  background-blend-mode: lighten;
}

.ais-option-glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--ais-beam-angle),
    rgba(197, 225, 237, 0.1),
    rgba(197, 225, 237, 0.85),
    rgba(255, 255, 255, 0.45),
    rgba(197, 225, 237, 0.1)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.ais-option-glow:hover::after,
.ais-option-glow--active::after {
  opacity: 1;
  animation: ais-beam-rotate 4s linear infinite;
}

.ais-option-glow:hover,
.ais-option-glow--active {
  transform: translateY(-2px);
  border-color: rgba(197, 225, 237, 0.35);
}

.ais-option-glow--active {
  box-shadow: 0 0 32px rgba(197, 225, 237, 0.12);
}

.ais-option-glow--active::before {
  opacity: 0.4;
}

.ais-option-glow:has(.ais-questionnaire-input:focus) {
  border-color: rgba(197, 225, 237, 0.35);
}

.ais-option-glow:has(.ais-questionnaire-input:focus)::after {
  opacity: 1;
  animation: ais-beam-rotate 4s linear infinite;
}

.ais-questionnaire-send {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 180px;
  max-height: 45px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(197, 225, 237, 0.55);
  background: transparent;
  color: #fff;
  border-radius: 9999px;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

.ais-questionnaire-send:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.ais-questionnaire-send::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.44;
  background: linear-gradient(
    256deg,
    #c5e1ed 5.8%,
    #c2deea 6.68%,
    #788d9d 27.9%,
    #495b6d 42.93%,
    #38485b 50%,
    #3c4d60 56.19%,
    #4b5c6e 63.26%,
    #627686 71.22%,
    #8299a8 80.06%,
    #acc6d3 89.78%,
    #c5e1ed 94.2%
  );
}

.ais-letter-hover {
  line-height: 1;
  vertical-align: middle;
  transform: translateY(0.1em);
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-lalezar);
  font-size: 16.061px;
  font-weight: 400;
  font-style: normal;
  color: #fff;
}

@media (min-width: 768px) {
  .ais-letter-hover {
    font-size: 24px;
  }
}

.ais-letter-hover [data-letter-out],
.ais-letter-hover [data-letter-in] {
  will-change: opacity;
  line-height: 1;
}

.ais-letter-hover [data-letter-in] {
  opacity: 0;
}

.ais-letter-hover__layer {
  display: inline-flex;
  align-items: center;
  white-space: pre;
}

.ais-letter-hover__layer--in {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: pre;
}

@media (max-width: 1023px) {
  .ais-letter-hover > span[aria-hidden]:last-child {
    display: none;
  }
}

.ais-questionnaire-send .ais-letter-hover {
  position: relative;
  z-index: 1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.ais-questionnaire-send:hover {
  border-color: rgba(197, 225, 237, 0.75);
  transform: translateY(-1px);
}

.ais-questionnaire-send:hover::before {
  opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
  .ais-ambient-orb,
  .ais-ambient-orb::after,
  .ais-divider-v__beam,
  .ais-divider-h__beam,
  .ais-connector-line,
  .ais-glow-ring__progress,
  .ais-glow-ring::after {
    animation: none;
  }
}

/* ==========================================================================
   7. Page-level decorations (port of page.tsx)
   ========================================================================== */

.ais-main {
  position: relative;
  overflow-x: clip;
}

.ais-fixed-bg {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -10;
  background: var(--ais-bg);
}

.ais-hero-decor {
  position: relative;
  overflow-x: clip;
}

.ais-bg-puntitos {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 0;
  height: min(1100px, 120vh);
  background-image: url("../assets/bg-puntitos.webp");
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
}

.ais-difuminado-1-wrap {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  overflow-x: clip;
  filter: saturate(1.1);
}

.ais-difuminado-1 {
  height: auto;
  width: 2603px;
  max-width: 300%;
  flex-shrink: 0;
  object-fit: contain;
  object-position: top;
}

@media (min-width: 768px) {
  .ais-difuminado-1 {
    max-width: none;
  }
}

.ais-hero-content {
  position: relative;
  z-index: 10;
}

.ais-trusted-platform-wrap {
  position: relative;
  overflow-x: clip;
}

.ais-frame {
  position: relative;
  margin-inline: auto;
  max-width: var(--ais-frame-max);
}

.ais-difuminado-2-wrap {
  pointer-events: none;
  position: absolute;
  right: -96px;
  top: calc(var(--ais-space-section) + 50px + 36px);
  z-index: 0;
  width: 300px;
  transform: translateY(-11rem);
  overflow: visible;
}

@media (min-width: 768px) {
  .ais-difuminado-2-wrap {
    width: 550px;
    right: -210px;
    transform: translateY(-86px);
  }
}

@media (min-width: 1024px) {
  .ais-difuminado-2-wrap {
    right: 0;
    top: 162px;
    transform: none;
  }
}

.ais-difuminado-2-inner {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  overflow: visible;
}

.ais-difuminado-2 {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  height: auto;
  width: 140%;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: contain;
  filter: saturate(1.1);
}

.ais-mundo {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.4;
}

.ais-content-z10 {
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   8. Hero section layout
   ========================================================================== */

.ais-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 68px;
}

@media (min-width: 768px) {
  .ais-hero {
    padding-bottom: 172px;
  }
}

.ais-hero__logo-col {
  display: flex;
  justify-content: center;
}

.ais-hero__logo {
  height: auto;
  width: 250px;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .ais-hero__logo {
    height: 85px;
    width: 385px;
  }
}

.ais-hero__grid {
  position: relative;
  text-align: center;
}

.ais-hero__copy {
  margin: 32px auto 0;
  max-width: 340px;
  text-align: left;
  font-size: 14px;
  line-height: 24px;
  color: #fdfdfd;
  transition: margin-top 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 768px) {
  .ais-hero__copy {
    margin-top: var(--ais-space-title-body);
    max-width: 640px;
    font-size: 16px;
  }
}

.ais-hero__extra-inner {
  padding-top: 24px;
}

.ais-hero__extra-inner p + p {
  margin-top: 24px;
}

.ais-hero__cta {
  display: flex;
  justify-content: center;
}

.ais-hero__cta-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  border-radius: 9999px;
  border: 1px solid transparent;
  background: transparent;
  padding: 12px 32px;
  letter-spacing: 0.02em;
  transition: border-color 0.2s ease;
}

.ais-hero__cta-btn:hover {
  border-color: #fff;
}

.ais-hero__cta-btn:focus-visible {
  outline: 2px solid var(--ais-accent);
  outline-offset: 2px;
}

.ais-br-mobile {
  display: block;
}

@media (min-width: 768px) {
  .ais-br-mobile {
    display: none;
  }
}

/* ==========================================================================
   9. Trusted By (marquee)
   ========================================================================== */

.ais-trusted-by {
  position: relative;
  z-index: 10;
  padding-top: 0;
  padding-bottom: 67px;
}

@media (min-width: 768px) {
  .ais-trusted-by {
    padding-bottom: 172px;
  }
}

.ais-trusted-by__title {
  font-family: var(--font-lalezar);
  font-size: 27px;
  line-height: 50px;
  color: #fff;
  text-align: center;
}

@media (min-width: 768px) {
  .ais-trusted-by__title {
    font-size: 32px;
  }
}

.ais-marquee {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  overflow-x: clip;
  margin-top: var(--ais-space-trusted-carousel);
}

.ais-marquee__row {
  display: flex;
  gap: 4rem;
}

.ais-marquee__row--reverse {
  margin-top: 1.25rem;
  padding-left: 2.5rem;
}

.ais-marquee__tile {
  flex-shrink: 0;
  width: 75px;
  height: 75px;
}

.ais-marquee__tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ==========================================================================
   10. Platform diagram
   ========================================================================== */

.ais-platform-heading-wrap {
  text-align: center;
}

.ais-platform-lede {
  margin: 56px auto 0;
  max-width: 250px;
  font-size: 16px;
  line-height: 24px;
  color: #fdfdfd;
}

@media (min-width: 768px) {
  .ais-platform-lede {
    margin-top: var(--ais-space-heading-sub);
    max-width: 634px;
  }
}

.ais-platform-diagram {
  margin-top: 35px;
}

@media (min-width: 768px) {
  .ais-platform-diagram {
    margin-top: var(--ais-space-sub-diagram);
  }
}

.ais-platform-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ais-platform-stage__core {
  position: relative;
  z-index: 10;
}

.ais-platform-difuminado3 {
  pointer-events: none;
  position: absolute;
  right: calc(100% - 320px);
  top: 50%;
  z-index: 0;
  width: min(814px, 72vw);
  transform: translateY(-50%);
  filter: saturate(1.1);
}

.ais-platform-difuminado3 img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.ais-platform-card {
  position: relative;
  z-index: 10;
  height: 344px;
  width: 309px;
  max-height: 344px;
  max-width: 309px;
}

.ais-platform-card .ais-glow-border__inner {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 32px 24px;
  text-align: center;
}

.ais-platform-card__title {
  font-family: var(--font-lalezar);
  font-size: 32px;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.ais-platform-inset {
  position: relative;
  display: flex;
  height: 104px;
  width: 240px;
  max-height: 104px;
  max-width: 240px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 16px;
  text-align: center;
}

.ais-platform-inset p {
  font-family: var(--font-montserrat);
  font-size: 18px;
  color: #fff;
  margin: 0;
}

.ais-platform-inset__rule {
  margin-block: 12px;
  height: 2px;
  width: 47px;
  background: #fff;
}

.ais-platform-pm {
  position: absolute;
  left: 100%;
  top: 50%;
  margin-left: 60px;
  display: none;
  width: 224px;
  max-width: min(224px, 28vw);
  transform: translateY(-50%);
  text-align: center;
}

@media (min-width: 1024px) {
  .ais-platform-pm {
    display: block;
  }
}

.ais-platform-pm img {
  height: auto;
  width: 100%;
}

.ais-platform-pm p {
  margin-top: 14px;
  margin-left: 97px;
  white-space: nowrap;
  font-family: var(--font-montserrat);
  font-size: 18px;
  font-weight: 500;
  color: #c5e1ed;
}

.ais-platform-connect {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 880px;
}

.ais-platform-connect__mobile {
  position: relative;
  margin-inline: auto;
  width: 102px;
}

.ais-platform-connect__mobile img {
  height: auto;
  width: 102px;
  object-fit: contain;
}

.ais-platform-connect__mobile-pm {
  position: absolute;
  left: 100%;
  top: 4%;
  margin-left: 0.5rem;
  width: 108px;
}

.ais-platform-connect__mobile-pm img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.ais-platform-connect__desktop {
  display: none;
  height: auto;
  width: 100%;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .ais-platform-connect__mobile {
    display: none;
  }

  .ais-platform-connect__desktop {
    display: block;
  }
}

.ais-platform-asset-col {
  position: relative;
  margin-top: 20px;
}

.ais-platform-x5-glow {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 180px;
  z-index: 0;
  width: 140%;
  transform: translateX(-50%);
  opacity: 0.2;
  filter: blur(1px) saturate(3.5);
}

.ais-platform-x5-glow img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.ais-asset-card {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ais-asset-card__number {
  margin-bottom: 4px;
  text-align: center;
  font-family: var(--font-montserrat);
  font-size: 65.161px;
  font-weight: 500;
  line-height: 1;
  color: #c5e1ed;
}

@media (min-width: 1024px) {
  .ais-asset-card__number {
    display: none;
  }
}

.ais-asset-card__title {
  margin: 0 0 20px;
  width: 100%;
  text-align: center;
  font-family: var(--font-montserrat);
  font-size: 20px;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #c5e1ed;
}

.ais-asset-card__panel {
  width: 100%;
  max-width: 269px;
  height: 299px;
  border-radius: 16px;
}

.ais-asset-card__panel .ais-glow-border__inner {
  position: relative;
  display: flex;
  height: 100%;
  max-height: 299px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.ais-asset-list {
  position: relative;
  z-index: 10;
  width: 100%;
  margin-inline: auto;
}

.ais-asset-list--liquid {
  display: flex;
  max-width: 205px;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.ais-asset-list--liquid li {
  display: flex;
  width: 100%;
  justify-content: center;
}

.ais-asset-list--liquid img {
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.ais-asset-list--liquid img[alt="SYZ"] {
  height: 90px;
}

.ais-asset-list--rows {
  display: flex;
  max-width: 220px;
  flex-direction: column;
  justify-content: center;
  gap: 35px;
}

.ais-asset-list--rows li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.ais-asset-list--rows img {
  height: 50px;
  width: auto;
  max-width: 50px;
  flex-shrink: 0;
  object-fit: contain;
}

.ais-asset-list--rows span {
  font-family: var(--font-montserrat);
  font-size: 18px;
  color: #fff;
}

/* ==========================================================================
   11. Why AIS wrapper
   ========================================================================== */

.ais-why-difuminado {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: 40%;
  z-index: 0;
  height: 160vh;
  transform: translateY(-50%);
  filter: saturate(1.1);
}

.ais-why-difuminado img {
  height: 100%;
  width: 100%;
  object-fit: none;
}

.ais-why-heading-wrap {
  text-align: center;
}

.ais-why-carousel-col {
  position: relative;
  margin-top: 0;
}

@media (min-width: 1024px) {
  .ais-why-carousel-col {
    margin-top: var(--ais-space-why-carousel);
  }
}

.ais-why-dots {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 819px) {
  .ais-why-dots {
    gap: 14px;
  }
}

@media (min-width: 768px) {
  .ais-why-dots {
    margin-top: 3rem;
  }
}

.ais-dot {
  cursor: pointer;
  border: 0;
  border-radius: 9999px;
  padding: 0;
  width: 14px;
  height: 14px;
  background: #fff;
  transition: all 0.3s ease;
}

.ais-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.ais-dot--active {
  background: #c5e1ed;
  box-shadow: 0 0 12px rgba(197, 225, 237, 0.45);
}

@media (min-width: 1024px) {
  .ais-dot {
    width: 8px;
    height: 8px;
  }

  .ais-dot--active {
    width: 10px;
    height: 10px;
  }
}

/* ==========================================================================
   12. Facts & Figures
   ========================================================================== */

.ais-facts-difuminado {
  pointer-events: none;
  position: absolute;
  bottom: 8%;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%) translateY(50rem);
  overflow: visible;
  filter: saturate(1.1);
}

.ais-facts-difuminado img {
  height: 1371px;
  width: 1587px;
  max-width: none;
  flex-shrink: 0;
}

.ais-facts-heading-wrap {
  position: relative;
  z-index: 10;
  text-align: center;
}

@media (min-width: 1024px) {
  .ais-facts-heading-wrap {
    text-align: left;
  }
}

.ais-facts-stat {
  position: relative;
  z-index: 10;
}

.ais-facts-stat__value-wrap {
  position: relative;
  display: inline-flex;
  justify-content: center;
}

.ais-facts-stat__glow {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(916px, 140vw);
  max-width: none;
  transform: translate(-50%, -50%);
  filter: saturate(1.1);
  display: block;
}

@media (min-width: 1024px) {
  .ais-facts-stat__glow {
    display: none;
  }
}

.ais-facts-stat__value {
  position: relative;
  z-index: 10;
  font-family: var(--font-lalezar);
  font-size: 53px;
  line-height: 62px;
  letter-spacing: -1.28px;
  color: #fff;
  margin: 0;
}

@media (min-width: 768px) {
  .ais-facts-stat__value {
    font-size: 64px;
  }
}

.ais-facts-stat__value--sm {
  font-size: 52px;
}

.ais-facts-stat__label {
  position: relative;
  z-index: 10;
  font-family: var(--font-plus-jakarta);
  font-size: 18.5px;
  line-height: 24px;
  color: #fff;
  max-width: 198px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .ais-facts-stat__label {
    margin-inline: 0;
  }
}

.ais-facts-stat__label--wide {
  max-width: 285px;
}

.ais-facts-col--left {
  position: relative;
  z-index: 10;
  margin-top: 58px;
  text-align: center;
}

@media (min-width: 1024px) {
  .ais-facts-col--left {
    margin-top: 190px;
    text-align: left;
  }
}

.ais-facts-divider-col {
  position: relative;
  z-index: 10;
  margin-top: 190px;
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow: visible;
}

@media (min-width: 1024px) {
  .ais-facts-divider-col {
    display: flex;
  }
}

.ais-facts-mix {
  position: relative;
  z-index: 10;
  margin-top: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1024px) {
  .ais-facts-mix {
    margin-top: 190px;
  }
}

.ais-facts-mix__title {
  max-width: 386px;
  text-align: center;
  font-family: var(--font-lalezar);
  font-size: 37px;
  line-height: 39px;
  letter-spacing: -0.96px;
  color: #fff;
  margin: 0;
}

@media (min-width: 768px) {
  .ais-facts-mix__title {
    font-size: 48px;
  }
}

.ais-facts-mix__arrow {
  margin-top: 12px;
  height: auto;
  width: 100%;
  max-width: 315px;
  object-fit: contain;
}

.ais-facts-circles {
  margin: 4px auto 0;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
}

.ais-facts-circle {
  position: relative;
  width: 97px;
  height: 97px;
  flex-shrink: 0;
}

.ais-facts-circle img.ais-facts-circle__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ais-facts-circle__content {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px;
  text-align: center;
}

.ais-facts-circle__value {
  font-family: var(--font-montserrat);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  color: #c5e1ed;
}

.ais-facts-circle__label {
  margin-top: 6px;
  font-family: var(--font-montserrat);
  font-size: 12px;
  line-height: 13px;
  color: #fff;
}

.ais-facts-globe-col {
  position: relative;
  z-index: 10;
  margin-top: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .ais-facts-globe-col {
    margin-top: 190px;
    align-items: flex-start;
    text-align: left;
  }
}

.ais-facts-globe-col img {
  color: var(--ais-accent);
}

.ais-facts-globe-col p {
  margin-top: 24px;
  max-width: 251px;
  font-family: var(--font-plus-jakarta);
  font-size: 18.5px;
  line-height: 24px;
  color: #fff;
}

.ais-facts-bottom-row {
  position: relative;
  z-index: 10;
  margin-top: 176px;
  display: none;
}

@media (min-width: 1024px) {
  .ais-facts-bottom-row {
    display: block;
  }
}

.ais-facts-bottom-row .ais-facts-divider {
  position: absolute;
  top: 0;
}

.ais-facts-bottom-row .ais-facts-stat {
  position: absolute;
  top: 0;
}

.ais-facts-mobile-stats {
  position: relative;
  z-index: 10;
  margin-top: 45px;
  display: grid;
  gap: 45px;
  text-align: center;
}

@media (min-width: 1024px) {
  .ais-facts-mobile-stats {
    display: none;
  }
}

.ais-facts-mobile-stats .ais-facts-stat__label {
  max-width: 198px;
  font-size: 15px;
}

.ais-facts-mobile-stats .ais-facts-stat__label--wide2 {
  max-width: 280px;
}

@media (min-width: 768px) {
  .ais-facts-mobile-stats .ais-facts-stat__label {
    font-size: 18.5px;
  }
}

.ais-facts-mobile-stats .ais-facts-stat__glow--150 {
  opacity: 0.5;
}

/* ==========================================================================
   13. Securitize Expert
   ========================================================================== */

.ais-expert-circle-decor {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 0;
  width: 200%;
  transform: translateX(-50%);
}

@media (min-width: 1024px) {
  .ais-expert-circle-decor {
    width: min(1389px, 95vw);
  }
}

.ais-expert-circle-decor img {
  height: auto;
  width: 100%;
  max-width: none;
  object-fit: contain;
}

.ais-expert-difuminado {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 140px;
  z-index: 1;
  display: none;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
  filter: saturate(1.1);
}

@media (min-width: 1024px) {
  .ais-expert-difuminado {
    display: flex;
  }
}

.ais-expert-difuminado img {
  height: 694px;
  width: 958px;
  max-width: none;
  flex-shrink: 0;
}

.ais-expert-col {
  position: relative;
  z-index: 10;
  isolation: isolate;
}

.ais-expert-heading-wrap {
  text-align: center;
}

.ais-expert-slide {
  position: relative;
}

.ais-expert-slide__icon {
  object-fit: contain;
  height: 22px;
  width: auto;
  max-width: 28px;
}

@media (min-width: 1024px) {
  .ais-expert-slide__icon {
    height: 28px;
    max-width: 36px;
  }
}

.ais-expert-slide__icon--center {
  height: 42px;
  max-width: 52px;
}

@media (min-width: 1024px) {
  .ais-expert-slide__icon--center {
    height: 90px;
    max-width: 110px;
  }
}

/* ==========================================================================
   14. Questionnaire
   ========================================================================== */

.ais-questionnaire-x5 {
  pointer-events: none;
  position: absolute;
  left: calc((100% - min(100%, var(--ais-frame-max))) / 2 + var(--ais-grid-margin));
  top: 0;
  z-index: 0;
  width: calc((min(100%, var(--ais-frame-max)) - 2 * var(--ais-grid-margin) - 2 * var(--ais-grid-gap)) / 3);
}

@media (max-width: 1023px) {
  .ais-questionnaire-x5 {
    left: 1rem;
    width: min(280px, 42vw);
  }
}

.ais-questionnaire-x5-inner {
  position: absolute;
  left: 50%;
  top: 0;
  width: 140%;
  transform: translateX(-50%);
  opacity: 0.2;
  filter: blur(1px) saturate(3.5);
}

.ais-questionnaire-x5-inner img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.ais-questionnaire-heading-col {
  position: relative;
  z-index: 10;
  text-align: center;
}

@media (min-width: 768px) {
  .ais-questionnaire-heading-col {
    text-align: left;
  }
}

.ais-questionnaire-progress {
  position: relative;
  z-index: 10;
  margin-top: 40px;
}

.ais-questionnaire-progress__row {
  display: flex;
  align-items: center;
  gap: var(--ais-grid-gap);
}

.ais-questionnaire-progress__step {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.ais-questionnaire-progress__step:disabled {
  cursor: default;
  opacity: 0.5;
}

.ais-questionnaire-progress__step-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.ais-questionnaire-progress__step-label--current {
  color: #fff;
}

.ais-questionnaire-body {
  position: relative;
  z-index: 10;
  margin-top: 40px;
}

.ais-questionnaire-eyebrow {
  font-family: var(--font-montserrat);
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  margin: 0;
}

.ais-questionnaire-prompt {
  margin: 12px 0 0;
  font-family: var(--font-montserrat);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
}

.ais-questionnaire-options {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ais-questionnaire-option {
  display: block;
  width: 100%;
  cursor: pointer;
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-montserrat);
  font-size: 16px;
  color: #fff;
  border: 0;
  background: transparent;
}

.ais-questionnaire-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ais-questionnaire-input {
  position: relative;
  z-index: 10;
  width: 100%;
  cursor: text;
  border: 0;
  background: transparent;
  padding: 16px 20px;
  text-align: left;
  font-family: var(--font-montserrat);
  font-size: 16px;
  color: #fff;
}

.ais-questionnaire-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.ais-questionnaire-input:focus {
  outline: none;
}

.ais-questionnaire-submit-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.ais-questionnaire-status {
  font-size: 14px;
  color: var(--ais-accent);
}

.ais-questionnaire-send-label {
  font-family: var(--font-montserrat);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ==========================================================================
   15. Contact
   ========================================================================== */

.ais-contact-glow {
  pointer-events: none;
  position: absolute;
  right: var(--ais-grid-margin);
  top: -18rem;
  z-index: 0;
  display: none;
  width: calc(4 * var(--ais-col-width) + 3 * var(--ais-grid-gap));
}

@media (min-width: 1024px) {
  .ais-contact-glow {
    display: block;
  }
}

.ais-contact-glow-inner {
  position: absolute;
  left: 50%;
  top: 0;
  width: 200%;
  transform: translateX(-50%);
  opacity: 0.4;
  filter: saturate(3);
}

.ais-contact-glow-inner img {
  height: auto;
  width: 100%;
  object-fit: contain;
}

.ais-contact-col {
  position: relative;
  z-index: 10;
  text-align: center;
}

@media (min-width: 768px) {
  .ais-contact-col {
    text-align: left;
  }
}

.ais-contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ais-contact-form__row {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .ais-contact-form__row {
    grid-template-columns: 1fr 1fr;
    gap: var(--ais-grid-gap);
  }
}

.ais-contact-form textarea.ais-questionnaire-input {
  min-height: 140px;
  resize: vertical;
}

.ais-contact-submit-row {
  position: relative;
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

@media (min-width: 768px) {
  .ais-contact-submit-row {
    justify-content: flex-start;
  }
}

.ais-contact-submit-glow {
  pointer-events: none;
  position: absolute;
  top: 50%;
  z-index: 0;
  width: 200%;
  transform: translate(130px, -244px);
  filter: saturate(1);
}

@media (min-width: 1024px) {
  .ais-contact-submit-glow {
    display: none;
  }
}

.ais-contact-submit-glow img {
  height: auto;
  width: 100%;
  max-width: none;
  object-fit: contain;
  filter: blur(2px);
}

.ais-contact-status {
  position: relative;
  z-index: 10;
  font-size: 14px;
  color: var(--ais-accent);
}

/* ==========================================================================
   16. Footer
   ========================================================================== */

.ais-footer {
  position: relative;
  z-index: 10;
  padding-block: 64px;
}

@media (min-width: 768px) {
  .ais-footer {
    padding-block: 80px;
  }
}

.ais-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

@media (min-width: 768px) {
  .ais-footer__inner {
    flex-direction: row;
  }
}

.ais-footer__logo {
  height: auto;
  width: 280px;
}

@media (min-width: 768px) {
  .ais-footer__logo {
    height: 48px;
    width: auto;
  }
}

.ais-footer__meta {
  width: fit-content;
  text-align: left;
  font-family: var(--font-montserrat);
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .ais-footer__meta {
    font-size: 14px;
  }
}

.ais-footer__meta a {
  transition: color 0.2s ease;
}

.ais-footer__meta a:hover {
  color: #fff;
}

/* ==========================================================================
   17. Misc form styling (WP admin notices / success states inside sections)
   ========================================================================== */

.ais-form-notice {
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid rgba(197, 225, 237, 0.35);
  background: rgba(197, 225, 237, 0.08);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ais-accent);
}

.ais-form-notice--error {
  border-color: rgba(255, 120, 120, 0.4);
  background: rgba(255, 120, 120, 0.08);
  color: #ffb4b4;
}
