:root {
  /* Colour */
  --midnight: #07123d;
  --navy: #08245f;
  --blue: #075bdb;
  --blue-bright: #2a7bff;
  --cyan: #11cbe8;
  --cyan-soft: #7fe9ff;
  --pale: #eef5ff;
  --pale-2: #f5f9ff;
  --white: #ffffff;
  --ink: #15213c;
  --muted: #667085;
  --gold: #e9a825;
  --line: #dfe8f6;
  --line-dark: rgba(255, 255, 255, 0.1);
  --text-on-dark: rgba(222, 232, 255, 0.78);

  /* Type */
  --font-display: 'Manrope Variable', 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter Variable', 'Inter', system-ui, sans-serif;
  --fs-hero: clamp(2.75rem, 6.4vw, 5.6rem);
  --fs-h2: clamp(2rem, 4.2vw, 3.4rem);
  --fs-h3: clamp(1.15rem, 1.5vw, 1.3rem);
  --fs-lead: clamp(1.0625rem, 1.4vw, 1.2rem);

  /* Space & shape */
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 152px);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --nav-h: 76px;

  /* Elevation */
  --shadow-card: 0 1px 2px rgba(16, 32, 72, 0.05), 0 14px 34px -14px rgba(16, 32, 72, 0.16);
  --shadow-lift: 0 2px 4px rgba(16, 32, 72, 0.05), 0 30px 60px -24px rgba(16, 32, 72, 0.32);
  --shadow-float: 0 24px 60px -18px rgba(2, 8, 40, 0.55);

  /* Motion — one easing family, three durations, one stagger step */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.25s;
  --t-med: 0.6s;
  --t-slow: 0.9s;
  --stagger: 70ms;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

.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;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-card);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* Fixed backdrop behind transparent light sections; its colour eases between sections */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: var(--white);
  transition: background-color 0.8s var(--ease-io);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section--dark {
  background: var(--midnight);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
}
/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
.sh--dark .eyebrow,
.eyebrow--dark {
  color: var(--cyan-soft);
}

.text-gradient {
  background: linear-gradient(100deg, var(--cyan-soft) 0%, var(--cyan) 45%, #6aa5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-gradient--light {
  background-image: linear-gradient(100deg, var(--blue) 0%, #1aa6e0 60%, var(--cyan) 100%);
}

/* Section heading */
.sh__title {
  margin-top: 18px;
  font-size: var(--fs-h2);
  font-weight: 780;
}
.sh--light .sh__title {
  color: var(--ink);
}
.sh__body {
  margin-top: 20px;
  max-width: 36rem;
  font-size: var(--fs-lead);
  color: var(--muted);
}
.sh--dark .sh__body {
  color: var(--text-on-dark);
}
.sh--center {
  text-align: center;
}
.sh--center .sh__body {
  margin-inline: auto;
}

/* Word-by-word headline reveal */
.rt__mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.rt__word {
  display: inline-block;
}
.motion-ready .rt__word {
  transform: translateY(110%);
  transition: transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--rt-delay, 0s) + var(--i) * 55ms);
}
.motion-ready .is-visible .rt__word {
  transform: none;
}
/* Above-the-fold headlines animate on load instead of waiting for a scroll observer */
.motion-ready .rt-enter .rt__word {
  transform: none;
  transition: none;
  animation: rt-up var(--t-slow) var(--ease) both;
  animation-delay: calc(var(--rt-delay, 0s) + var(--i) * 55ms);
}
@keyframes rt-up {
  from {
    transform: translateY(110%);
  }
}

/* ==========================================================================
   Reveal system
   ========================================================================== */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: calc(var(--i, 0) * var(--stagger));
}
.motion-ready [data-reveal='scale'] {
  transform: translateY(24px) scale(0.96);
}
.motion-ready [data-reveal='fade'] {
  transform: none;
}
/* Headings reveal through their words, so the wrapper only fades */
.motion-ready .sh[data-reveal] {
  transform: none;
  transition-duration: 0.5s;
}
.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-parallax] {
  translate: 0 var(--parallax, 0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
    background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-fast) var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
/* light sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.7s var(--ease);
}
.btn:hover::after {
  transform: translateX(110%);
}
.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 0.93rem;
}
.btn--lg {
  min-height: 56px;
  padding-inline: 30px;
  font-size: 1.03rem;
}
.btn--primary {
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 22px -8px rgba(7, 91, 219, 0.7);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 16px 32px -10px rgba(7, 91, 219, 0.8);
}
.btn--light {
  background: var(--white);
  color: var(--midnight);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
}
.btn--light::after {
  background: linear-gradient(110deg, transparent 30%, rgba(17, 203, 232, 0.18) 50%, transparent 70%);
}
.btn--light:hover {
  transform: translateY(-2px);
}
.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}
.btn--ghost-light:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}
.btn--ghost-dark {
  border-color: #c9d7ee;
  background: transparent;
  color: var(--ink);
}
.btn--ghost-dark::after {
  background: linear-gradient(110deg, transparent 30%, rgba(7, 91, 219, 0.1) 50%, transparent 70%);
}
.btn--ghost-dark:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Inline text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size 0.4s var(--ease);
}
.link-arrow svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-fast) var(--ease);
}
.link-arrow:hover {
  background-size: 100% 1.5px;
}
.link-arrow:hover svg {
  transform: translate(2px, -2px);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

/* ==========================================================================
   Device frame
   ========================================================================== */
.phone {
  container-type: inline-size;
  width: 100%;
}
.phone__body {
  position: relative;
  padding: 3.2cqw;
  border-radius: 15cqw;
  background: linear-gradient(150deg, #2a3a66 0%, #111b3d 35%, #0a1230 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 0 0 2.2cqw rgba(0, 0, 0, 0.25),
    0 50px 80px -30px rgba(3, 10, 45, 0.6), 0 18px 36px -18px rgba(3, 10, 45, 0.45);
}
.phone__body::before,
.phone__body::after {
  content: '';
  position: absolute;
  width: 1.1cqw;
  border-radius: 2px;
  background: #1c2a52;
}
.phone__body::before {
  left: -0.9cqw;
  top: 22%;
  height: 12%;
}
.phone__body::after {
  right: -0.9cqw;
  top: 28%;
  height: 18%;
}
.phone__body img {
  width: 100%;
  height: auto;
  border-radius: 12cqw;
  background: var(--pale);
}

/* Shared white logo plate — both official logos have dark lettering, so on dark
   backgrounds they always sit on white rather than being recoloured. */
.logo-plate {
  display: inline-grid;
  place-items: center;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-float);
}
.nav {
  position: fixed;
  inset: 14px 0 auto;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .nav {
    animation: nav-in 0.8s var(--ease) both;
  }
}
@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
}

.nav__bar,
.nav__panel {
  pointer-events: auto;
  max-width: 1200px;
  margin-inline: auto;
  background: var(--white);
}
.nav__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 66px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  box-shadow: 0 10px 40px -16px rgba(2, 8, 40, 0.5);
  transition: height 0.4s var(--ease), box-shadow 0.4s var(--ease), max-width 0.5s var(--ease);
}
.nav--scrolled .nav__bar {
  height: 58px;
  max-width: 1120px;
  box-shadow: 0 0 0 1px rgba(16, 32, 72, 0.06), 0 16px 40px -16px rgba(2, 8, 40, 0.32);
}

.nav__brand {
  flex: none;
  margin-right: auto;
  border-radius: 8px;
}
.nav__brand img {
  height: 46px;
  width: auto;
  transition: height 0.4s var(--ease);
}
.nav--scrolled .nav__brand img {
  height: 40px;
}

.nav__links {
  position: relative;
  display: flex;
  margin-right: 10px;
}
.nav__links a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 10px 15px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #3a4663;
  transition: color var(--t-fast);
}
.nav__links a:hover,
.nav__links a.is-active {
  color: var(--blue);
}
/* hover underline */
.nav__links a::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 5px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after {
  transform: scaleX(1);
}
.nav__links a.is-active::after {
  transform: scaleX(0);
}
/* sliding active pill */
.nav__indicator {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: var(--pale);
  box-shadow: inset 0 0 0 1px #dbe7fb;
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}

.nav__toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--pale);
  color: var(--ink);
  cursor: pointer;
}
.nav__burger {
  position: relative;
  width: 18px;
  height: 12px;
}
.nav__burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav__burger span:first-child {
  top: 0;
}
.nav__burger span:last-child {
  top: 10px;
}
.nav--open .nav__burger span:first-child {
  top: 5px;
  transform: rotate(45deg);
}
.nav--open .nav__burger span:last-child {
  top: 5px;
  transform: rotate(-45deg);
}

/* Mobile panel — animates in and out; inert while closed */
.nav__panel {
  display: none;
  margin-top: 10px;
  padding: 10px;
  border-radius: 24px;
  box-shadow: 0 20px 50px -20px rgba(2, 8, 40, 0.5);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
}
.nav--open .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s;
}
.nav__panel li {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.nav--open .nav__panel li {
  opacity: 1;
  transform: none;
  transition-delay: calc(60ms + var(--i) * 40ms);
}
.nav__panel li a {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 650;
}
.nav__panel li a:hover,
.nav__panel li a.is-active {
  background: var(--pale);
  color: var(--blue);
}
.nav__panel-cta {
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 1080px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  .nav__toggle {
    display: grid;
  }
  .nav__panel {
    display: block;
  }
  .nav__bar,
  .nav--scrolled .nav__bar {
    height: 60px;
    max-width: 1200px;
    padding-left: 18px;
    padding-right: 7px;
  }
  .nav__brand img,
  .nav--scrolled .nav__brand img {
    height: 38px;
  }
}
@media (max-width: 600px) {
  :root {
    --nav-h: 68px;
  }
}
/* ==========================================================================
   Hero layout
   ========================================================================== */
.hero {
  min-height: min(100svh, 980px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + clamp(40px, 5vw, 72px));
  padding-bottom: clamp(72px, 7vw, 112px);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
}
.hero__title {
  margin-top: 26px;
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
}
.hero__lead {
  margin-top: 26px;
  max-width: 33rem;
  font-size: clamp(1.0625rem, 1.45vw, 1.25rem);
  color: var(--text-on-dark);
}
.hero__ctas {
  margin-top: 38px;
}
.hero__note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(222, 232, 255, 0.7);
}
.hero__note svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.hero__visual {
  display: grid;
  place-items: center;
}

/* Staged entrance: nav → eyebrow → headline words → lead → CTAs → visual */
@media (prefers-reduced-motion: no-preference) {
  .stage {
    animation: stage-in var(--t-slow) var(--ease) both;
  }
  .stage--1 {
    animation-delay: 0.2s;
  }
  .stage--2 {
    animation-delay: 0.62s;
  }
  .stage--3 {
    animation-delay: 0.74s;
  }
  .stage--4 {
    animation-delay: 0.9s;
  }
}
@keyframes stage-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
}
.hero__scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--cyan);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__scroll span {
    animation: scroll-cue 2.2s var(--ease-io) infinite;
  }
}
@keyframes scroll-cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  80%,
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ==========================================================================
   Animated background
   ========================================================================== */
.hbg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 120%, rgba(8, 43, 115, 0.95) 0%, transparent 60%),
    linear-gradient(180deg, #050d2e 0%, var(--midnight) 45%, #081a52 100%);
}
.hbg__blobs {
  position: absolute;
  inset: -10%;
  translate: calc(var(--mx, 0) * -18px) calc(var(--my, 0) * -12px);
  transition: translate 1.4s var(--ease);
}
.hbg__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.hbg__blob--1 {
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  right: -8%;
  top: -14%;
  background: radial-gradient(circle, rgba(7, 91, 219, 0.7) 0%, rgba(7, 91, 219, 0.18) 40%, transparent 68%);
}
.hbg__blob--2 {
  width: 42vw;
  height: 42vw;
  max-width: 620px;
  max-height: 620px;
  right: 22%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(17, 203, 232, 0.42) 0%, rgba(17, 203, 232, 0.1) 42%, transparent 68%);
}
.hbg__blob--3 {
  width: 40vw;
  height: 40vw;
  max-width: 560px;
  max-height: 560px;
  left: -12%;
  top: 4%;
  background: radial-gradient(circle, rgba(42, 123, 255, 0.28) 0%, transparent 65%);
}
.hbg__grid {
  position: absolute;
  inset: -80px 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 55% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 70% 45%, #000 0%, transparent 75%);
}
.hbg__trails {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hbg__trails path {
  fill: none;
  stroke-linecap: round;
}
.hbg__trail-base {
  stroke: url(#hbg-trail);
  stroke-width: 1.2;
  opacity: 0.55;
}
.hbg__trail-comet {
  stroke: #7fe9ff;
  stroke-width: 2.2;
  stroke-dasharray: 70 2000;
  stroke-dashoffset: 80;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(17, 203, 232, 0.9));
}
.hbg__particles span {
  position: absolute;
  border-radius: 50%;
  background: #bdefff;
  opacity: 0;
}
.hbg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 30% 50%, transparent 55%, rgba(3, 8, 30, 0.55) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .hbg__blob--1 {
    animation: drift-1 22s ease-in-out infinite alternate;
  }
  .hbg__blob--2 {
    animation: drift-2 26s ease-in-out infinite alternate;
  }
  .hbg__blob--3 {
    animation: drift-3 30s ease-in-out infinite alternate;
  }
  .hbg__trail-base {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: trail-draw 2.4s var(--ease) calc(0.5s + var(--i) * 0.2s) forwards;
  }
  .hbg__trail-comet {
    animation: comet 7s var(--ease-io) calc(1.8s + var(--i) * 2.1s) infinite;
  }
  .hbg__particles span {
    animation-name: particle;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hbg__particles span {
    opacity: 0.35;
  }
}
@keyframes drift-1 {
  to {
    transform: translate(-8%, 10%) scale(1.08);
  }
}
@keyframes drift-2 {
  to {
    transform: translate(14%, -12%) scale(1.15);
  }
}
@keyframes drift-3 {
  to {
    transform: translate(10%, 14%) scale(0.92);
  }
}
@keyframes trail-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes comet {
  0% {
    stroke-dashoffset: 80;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  85%,
  100% {
    stroke-dashoffset: -1000;
    opacity: 0;
  }
}
@keyframes particle {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30%,
  70% {
    opacity: 0.55;
  }
  100% {
    opacity: 0;
    transform: translateY(-60px);
  }
}

/* ==========================================================================
   Ecosystem visual
   ========================================================================== */
.eco {
  position: relative;
  width: min(580px, 100%);
  aspect-ratio: 1;
  container-type: inline-size;
  container-name: eco;
}
.eco__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.eco__ring {
  fill: none;
  stroke: rgba(127, 233, 255, 0.16);
  stroke-width: 0.18;
  transform-box: fill-box;
  transform-origin: center;
}
.eco__ring--2 {
  stroke-dasharray: 0.6 1.6;
  stroke: rgba(127, 233, 255, 0.28);
}
.eco__ring--3 {
  stroke: rgba(127, 233, 255, 0.1);
}
.eco__line {
  fill: none;
  stroke: rgba(127, 233, 255, 0.35);
  stroke-width: 0.25;
}
.eco__flow {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 0.35;
  stroke-dasharray: 1 3;
  opacity: 0.7;
}
.eco__pulse {
  fill: #c8f6ff;
  filter: drop-shadow(0 0 1.2px #11cbe8);
}

.eco__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34cqw;
  transform: translate(-50%, -50%);
  translate: calc(var(--mx, 0) * 6px) calc(var(--my, 0) * 6px);
  transition: translate 0.9s var(--ease);
}
.eco__hub-plate {
  width: 100%;
  padding: 4.2cqw 3.6cqw;
  border-radius: 5cqw;
  box-shadow: 0 0 0 1.4cqw rgba(255, 255, 255, 0.06), 0 0 60px -6px rgba(42, 123, 255, 0.7), var(--shadow-float);
}
.eco__hub-plate img {
  width: 100%;
  height: auto;
}

.eco__card {
  position: absolute;
  z-index: 1;
  transform: translate(-50%, -50%);
  translate: calc(var(--mx, 0) * var(--depth) * -1px) calc(var(--my, 0) * var(--depth) * -1px);
  transition: translate 0.9s var(--ease);
}
.eco__card-inner {
  display: flex;
  align-items: center;
  gap: 2.4cqw;
  width: max-content;
  max-width: 44cqw;
  padding: 2.2cqw 3cqw 2.2cqw 2.2cqw;
  border: 1px solid rgba(127, 233, 255, 0.16);
  border-radius: 3.6cqw;
  background: linear-gradient(160deg, rgba(18, 40, 102, 0.92), rgba(9, 22, 66, 0.92));
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.eco__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 8.4cqw;
  height: 8.4cqw;
  border-radius: 2.4cqw;
  background: linear-gradient(160deg, var(--blue-bright), var(--blue));
}
.eco__icon svg {
  width: 55%;
  height: 55%;
}
.eco__icon--cyan {
  background: linear-gradient(160deg, #3fdcf2, #0a9fc0);
}
.eco__icon--gold {
  background: linear-gradient(160deg, #f4c460, #c88a10);
}
.eco__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(11px, 2.75cqw, 15px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.eco__text small {
  display: block;
  margin-top: 0.4cqw;
  font-size: clamp(10px, 2.3cqw, 12.5px);
  color: rgba(222, 232, 255, 0.7);
  white-space: nowrap;
}
.eco__card--product .eco__card-inner {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.4cqw;
  width: 36cqw;
  padding: 3cqw 3.4cqw;
  border: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 0 0 1.2cqw rgba(255, 255, 255, 0.07), 0 26px 50px -18px rgba(0, 0, 0, 0.65),
    0 0 50px -10px rgba(17, 203, 232, 0.55);
}
.eco__card--product img {
  width: 100%;
  height: auto;
}
.eco__card--product small {
  font-size: clamp(10px, 2.3cqw, 12.5px);
  color: var(--muted);
}
.eco__product-label {
  display: inline-block;
  padding: 0.6cqw 1.8cqw;
  border-radius: 999px;
  background: var(--pale);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(9px, 2cqw, 11px);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@container eco (max-width: 460px) {
  .eco__card--a,
  .eco__card--c {
    left: 27% !important;
  }
  .eco__card--b {
    left: 71% !important;
  }
  .eco__card--d {
    left: 73% !important;
  }
}
@container eco (max-width: 400px) {
  .eco__text small {
    display: none;
  }
}

/* Assembly: core blooms, hub lands, lines draw, cards fly out from the hub, then idle motion */
@media (prefers-reduced-motion: no-preference) {
  .eco__core {
    transform-box: fill-box;
    transform-origin: center;
    animation: eco-bloom 1.4s var(--ease) 0.3s both, eco-breathe 6s ease-in-out 1.8s infinite;
  }
  .eco__ring {
    animation: eco-ring-in 1.2s var(--ease) 0.4s both;
  }
  .eco__ring--2 {
    animation: eco-ring-in 1.2s var(--ease) 0.5s both, eco-spin 60s linear 1.7s infinite;
  }
  .eco__ring--3 {
    animation-delay: 0.6s;
  }
  .eco__hub-plate {
    animation: eco-hub-in 1s var(--ease) 0.45s both;
  }
  .eco__line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: eco-draw 1s var(--ease) calc(0.85s + var(--i) * 0.1s) forwards;
  }
  .eco__flow {
    opacity: 0;
    animation: eco-fade 0.6s ease calc(1.5s + var(--i) * 0.1s) forwards, eco-flow 1.6s linear infinite;
  }
  .eco__pulse {
    opacity: 0;
    animation: eco-fade 0.6s ease calc(1.6s + var(--i) * 0.3s) forwards;
  }
  .eco__card-inner {
    animation: eco-card-in 1s var(--ease) calc(0.95s + var(--i) * 0.12s) both,
      eco-bob 7s ease-in-out calc(2.2s + var(--i) * 0.7s) infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eco__pulse {
    display: none;
  }
}
@keyframes eco-bloom {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
@keyframes eco-breathe {
  50% {
    transform: scale(1.08);
  }
}
@keyframes eco-ring-in {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
}
@keyframes eco-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes eco-hub-in {
  from {
    opacity: 0;
    transform: scale(0.75);
  }
}
@keyframes eco-draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes eco-fade {
  to {
    opacity: 0.7;
  }
}
@keyframes eco-flow {
  to {
    stroke-dashoffset: -4;
  }
}
@keyframes eco-card-in {
  from {
    opacity: 0;
    transform: translate(var(--fx), var(--fy)) scale(0.6);
  }
}
@keyframes eco-bob {
  50% {
    transform: translateY(-1.2cqw);
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero {
    min-height: 0;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__ctas {
    justify-content: center;
  }
  .hero__visual {
    margin-top: 8px;
  }
  .eco {
    width: min(540px, 100%);
  }
  .hero__scroll {
    display: none;
  }
  .hbg__grid {
    -webkit-mask-image: radial-gradient(80% 45% at 50% 72%, #000 0%, transparent 75%);
    mask-image: radial-gradient(80% 45% at 50% 72%, #000 0%, transparent 75%);
  }
}
@media (max-width: 600px) {
  .hero {
    padding-top: calc(var(--nav-h) + 44px);
    padding-bottom: 56px;
  }
  .hero__title {
    margin-top: 22px;
    font-size: clamp(2.5rem, 11.5vw, 3.2rem);
  }
  .hero__ctas {
    width: 100%;
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
  }
  .hbg__particles span:nth-child(2n) {
    display: none;
  }
  .eco {
    width: calc(100% + 12px);
    margin-inline: -6px;
  }
}
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(48px, 7vw, 112px);
}
.about .sh__title .text-gradient {
  background-image: linear-gradient(100deg, var(--blue) 0%, #1aa6e0 60%, var(--cyan) 100%);
}
.about .sh__body p + p {
  margin-top: 14px;
  color: var(--ink);
  font-weight: 500;
}
.about__audience {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}
.about__audience .chip {
  border: 1px solid var(--line);
  background: var(--pale-2);
  color: #3a4663;
}

/* Converging diagram */
.connect {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  margin-inline: auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 54%, #e6f1ff 0%, rgba(238, 245, 255, 0.6) 45%, transparent 70%);
}
.connect__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.connect__edge {
  fill: none;
  stroke: #cfe0fa;
  stroke-width: 0.3;
  stroke-dasharray: 0.01 0.012;
}
.connect__line {
  fill: none;
  stroke: var(--blue);
  stroke-width: 0.45;
  stroke-linecap: round;
  opacity: 0.55;
}
.connect__pulse {
  fill: var(--cyan);
  filter: drop-shadow(0 0 1px var(--cyan));
}
.connect__halo {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 0.3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.connect__node,
.connect__center {
  position: absolute;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
}
.connect__node {
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  font-size: clamp(0.85rem, 1.3vw, 0.98rem);
  color: var(--ink);
}
.connect__node-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
}
.connect__node-icon svg {
  width: 18px;
  height: 18px;
}
.connect__center {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #3b8bff, var(--blue) 55%, var(--navy));
  color: var(--white);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  box-shadow: 0 0 0 10px rgba(7, 91, 219, 0.08), 0 24px 50px -16px rgba(7, 91, 219, 0.7);
}
.connect__center svg {
  width: 26%;
  height: auto;
  color: var(--cyan-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .connect .connect__edge,
  .motion-ready .connect .connect__line {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.2s var(--ease);
    transition-delay: calc(0.2s + var(--i, 0) * 0.15s);
  }
  .motion-ready .connect.is-visible .connect__edge {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
  .motion-ready .connect.is-visible .connect__line {
    stroke-dashoffset: 0;
  }
  .motion-ready .connect .connect__pulse {
    opacity: 0;
    transition: opacity 0.6s ease 1.3s;
  }
  .motion-ready .connect.is-visible .connect__pulse {
    opacity: 1;
  }
  .motion-ready .connect .connect__node,
  .motion-ready .connect .connect__center {
    opacity: 0;
    scale: 0.85;
    transition: opacity 0.7s var(--ease), scale 0.7s var(--ease);
    transition-delay: calc(0.1s + var(--i, 0) * 0.12s);
  }
  .motion-ready .connect .connect__center {
    transition-delay: 0.9s;
  }
  .motion-ready .connect.is-visible .connect__node,
  .motion-ready .connect.is-visible .connect__center {
    opacity: 1;
    scale: 1;
  }
  .connect.is-visible .connect__halo {
    animation: halo 3.2s ease-out 1.4s infinite;
  }
  .connect.is-visible .connect__halo--2 {
    animation-delay: 3s;
  }
}
@media (prefers-reduced-motion: reduce) {
  .connect__pulse {
    display: none;
  }
}
@keyframes halo {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr;
  }
  .connect {
    width: min(460px, 100%);
  }
}
@media (max-width: 600px) {
  .connect__node {
    gap: 6px;
    padding: 5px 12px 5px 5px;
  }
  .connect__node-icon {
    width: 28px;
    height: 28px;
  }
  .connect {
    width: calc(100% - 40px);
  }
}
.ecosys {
  background: linear-gradient(180deg, var(--midnight) 0%, #081b55 100%);
}
.ecosys__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 40% at 50% 0%, rgba(7, 91, 219, 0.45), transparent 70%),
    radial-gradient(40% 40% at 90% 100%, rgba(17, 203, 232, 0.16), transparent 70%);
}
.ecosys__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(60% 50% at 50% 30%, #000, transparent 75%);
}

.pillars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(56px, 7vw, 88px);
}

/* Shared rail that connects the three pillars; fills with scroll progress */
.pillars__rail {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: rgba(127, 233, 255, 0.12);
}
.pillars__rail-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan), var(--gold));
  transform-origin: left;
  transform: scaleX(min(1, calc(var(--progress, 1) * 1.6)));
}
.pillars__rail-spark {
  position: absolute;
  top: 50%;
  left: 0;
  width: 60px;
  height: 6px;
  margin-top: -3px;
  border-radius: 6px;
  background: radial-gradient(closest-side, #dff9ff, rgba(17, 203, 232, 0));
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .pillars__rail-spark {
    animation: rail-spark 4.5s var(--ease-io) 1s infinite;
  }
}
@keyframes rail-spark {
  0% {
    left: 0;
    opacity: 0;
  }
  15%,
  80% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 60px);
    opacity: 0;
  }
}

.pillar {
  padding-top: 0;
}
.pillar__card {
  --accent: var(--blue-bright);
  position: relative;
  height: 100%;
  margin-top: 32px;
  padding: 32px clamp(24px, 2.4vw, 34px) 36px;
  border: 1px solid rgba(127, 233, 255, 0.12);
  border-radius: var(--radius);
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(127, 233, 255, 0.08), transparent 45%),
    linear-gradient(170deg, rgba(20, 44, 110, 0.75), rgba(8, 22, 66, 0.9));
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s var(--ease), translate 0.5s var(--ease);
}
.pillar--cyan .pillar__card {
  --accent: var(--cyan);
}
.pillar--gold .pillar__card {
  --accent: var(--gold);
}
.pillar__card:hover {
  translate: 0 -6px;
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent);
}
/* node that sits on the rail */
.pillar__node {
  position: absolute;
  left: 50%;
  top: -33px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--midnight);
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 18%, transparent);
}
.pillar__node::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 10px;
  width: 1px;
  height: 22px;
  background: linear-gradient(var(--accent), transparent);
}
.pillar__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.pillar__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
  transition: transform 0.5s var(--ease);
}
.pillar__icon svg {
  width: 26px;
  height: 26px;
}
.pillar__card:hover .pillar__icon {
  transform: translateY(-3px) rotate(-6deg);
}
.pillar__no {
  display: block;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.pillar h3 {
  margin-top: 8px;
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 750;
}
.pillar p {
  margin-top: 12px;
  color: var(--text-on-dark);
}
.pillar__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.pillar__tags .chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dbe6ff;
}
.pillar__accent {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0.2);
  opacity: 0.4;
  transition: transform 0.6s var(--ease), opacity 0.6s;
}
.pillar__card:hover .pillar__accent {
  transform: scaleX(1);
  opacity: 1;
}

/* Pillar motifs */
.pillar__art {
  position: relative;
  width: 64px;
  height: 52px;
  opacity: 0.85;
}
.pillar__art i {
  position: absolute;
  display: block;
}
.pillar__art--rows i {
  left: 0;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--accent), rgba(127, 233, 255, 0.15));
}
.pillar__art--rows i:nth-child(1) {
  top: 10px;
  width: 64px;
}
.pillar__art--rows i:nth-child(2) {
  top: 23px;
  width: 44px;
}
.pillar__art--rows i:nth-child(3) {
  top: 36px;
  width: 54px;
}
.pillar__art--layers i {
  right: 0;
  width: 46px;
  height: 22px;
  border-radius: 7px;
  border: 1.5px solid var(--accent);
  background: rgba(17, 203, 232, 0.08);
  transform: skewY(-12deg);
  transition: translate 0.5s var(--ease);
}
.pillar__art--layers i:nth-child(1) {
  top: 0;
  opacity: 0.4;
}
.pillar__art--layers i:nth-child(2) {
  top: 12px;
  opacity: 0.7;
}
.pillar__art--layers i:nth-child(3) {
  top: 24px;
}
.pillar__card:hover .pillar__art--layers i:nth-child(1) {
  translate: 0 -6px;
}
.pillar__card:hover .pillar__art--layers i:nth-child(3) {
  translate: 0 6px;
}
.pillar__art--orbit {
  width: 52px;
  border-radius: 50%;
  border: 1px dashed color-mix(in srgb, var(--accent) 55%, transparent);
}
.pillar__art--orbit i {
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: var(--accent);
}
.pillar__art--orbit i:nth-child(2) {
  width: 5px;
  height: 5px;
  margin: -2.5px;
  opacity: 0.7;
}
.pillar__art--orbit i:nth-child(3) {
  width: 14px;
  height: 14px;
  margin: -7px;
  background: transparent;
  border: 1.5px solid var(--accent);
}
@media (prefers-reduced-motion: no-preference) {
  .pillar__art--rows i {
    transform-origin: left;
    animation: rows 4s var(--ease-io) infinite alternate;
  }
  .pillar__art--rows i:nth-child(2) {
    animation-delay: -1.3s;
  }
  .pillar__art--rows i:nth-child(3) {
    animation-delay: -2.6s;
  }
  .pillar__art--orbit i:nth-child(1) {
    animation: orbit 6s linear infinite;
  }
  .pillar__art--orbit i:nth-child(2) {
    animation: orbit 9s linear infinite reverse;
  }
}
@keyframes rows {
  to {
    transform: scaleX(0.6);
  }
}
@keyframes orbit {
  from {
    transform: rotate(0deg) translateX(26px);
  }
  to {
    transform: rotate(360deg) translateX(26px);
  }
}

@media (max-width: 900px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-left: 28px;
  }
  .pillars__rail {
    left: 5px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
  }
  .pillars__rail-fill {
    transform-origin: top;
    transform: scaleY(min(1, calc(var(--progress, 1) * 1.4)));
  }
  .pillars__rail-spark {
    display: none;
  }
  .pillar__card {
    margin-top: 0;
  }
  .pillar__node {
    left: -29px;
    top: 38px;
    margin-left: 0;
  }
  .pillar__node::after {
    display: none;
  }
}
.portfolio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(48px, 6vw, 72px);
}
.pf-wrap--foldy {
  grid-column: 1 / -1;
}

/* Shared card behaviour: lift, tilt, pointer light, accent line */
.pf {
  position: relative;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(17, 203, 232, 0.08), transparent 45%),
    var(--white);
  box-shadow: var(--shadow-card);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.5s var(--ease), translate 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
}
.pf:hover {
  translate: 0 -6px;
  border-color: #c4d8f6;
  box-shadow: var(--shadow-lift);
}
.pf__accent {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.pf:hover .pf__accent,
.pf:focus-within .pf__accent {
  transform: scaleX(1);
}
.pf__kind {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pf__kind--product span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  letter-spacing: 0.1em;
}
.pf h3 {
  margin-top: 10px;
  font-size: var(--fs-h3);
  font-weight: 750;
}
.pf__category {
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--blue);
}
.pf__text {
  margin-top: 12px;
  color: var(--muted);
}

/* Foldy feature panel */
.pf--foldy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px;
  min-height: 480px;
  padding: clamp(32px, 4vw, 56px) clamp(28px, 4vw, 56px) 0;
  border-color: #cfe0fa;
  background: radial-gradient(500px circle at var(--gx, 70%) var(--gy, 20%), rgba(17, 203, 232, 0.16), transparent 50%),
    radial-gradient(70% 60% at 100% 100%, rgba(7, 91, 219, 0.18), transparent 70%),
    linear-gradient(155deg, #ffffff 0%, #eef5ff 55%, #dcebff 100%);
}
.pf--foldy .pf__body {
  align-self: center;
  padding-bottom: clamp(32px, 4vw, 56px);
}
.pf__foldy-logo {
  width: clamp(150px, 16vw, 200px);
  height: auto;
  margin-top: 22px;
}
.pf--foldy .pf__category {
  margin-top: 14px;
  font-size: 1.05rem;
}
.pf--foldy .pf__text {
  max-width: 24rem;
  font-size: 1.02rem;
}
.pf--foldy .btn {
  margin-top: 28px;
}
.pf__device {
  align-self: end;
  justify-self: center;
  width: min(290px, 100%);
  height: 440px;
  overflow: hidden;
}
.pf__device-inner {
  padding-top: 28px;
}
.pf__device .phone {
  transition: transform 0.7s var(--ease);
}
.pf--foldy:hover .pf__device .phone {
  transform: translateY(-12px);
}

/* Solution cards */
.pf--solution {
  display: flex;
  flex-direction: column;
}
.pf__visual {
  display: grid;
  place-items: center;
  padding: 22px 24px 10px;
  background: linear-gradient(180deg, var(--pale-2), transparent);
}
.pf--solution .pf__body {
  padding: 8px 28px 28px;
}
.pf--solution .link-arrow {
  margin-top: 16px;
}

/* Conceptual SVG illustrations */
.sv {
  width: 100%;
  max-width: 300px;
  height: auto;
  overflow: visible;
}
.sv__sheet {
  fill: var(--white);
  stroke: #d6e4f8;
  stroke-width: 1;
}
.sv__sheet--core {
  fill: var(--pale);
  stroke: var(--blue);
}
.sv__bar {
  fill: #c9dcf8;
}
.sv__bar--flag {
  fill: #f3d58f;
}
.sv__link {
  fill: none;
  stroke: #9fc0f0;
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}
.sv__link--flag {
  stroke: var(--gold);
}
.sv__tick {
  fill: none;
  stroke: #1aa37a;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sv__dot {
  fill: #1aa37a;
}
.sv__dot--flag {
  fill: var(--gold);
}
.sv__node {
  fill: var(--white);
  stroke: #9fc0f0;
  stroke-width: 1.2;
}
@media (prefers-reduced-motion: no-preference) {
  .motion-ready .pf-wrap .sv__bar {
    transform-box: fill-box;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.9s var(--ease) calc(0.3s + var(--i, 0) * 0.08s);
  }
  .motion-ready .pf-wrap.is-visible .sv__bar {
    transform: none;
  }
  .motion-ready .pf-wrap .sv__tick,
  .motion-ready .pf-wrap .sv__dot,
  .motion-ready .pf-wrap .sv__node {
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0.5);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
    transition-delay: calc(0.8s + var(--i, 0) * 0.1s);
  }
  .motion-ready .pf-wrap.is-visible .sv__tick,
  .motion-ready .pf-wrap.is-visible .sv__dot,
  .motion-ready .pf-wrap.is-visible .sv__node {
    opacity: 1;
    transform: none;
  }
  .sv__link {
    animation: dash-flow 1.4s linear infinite;
  }
  .sv__dot--flag {
    animation: flag-pulse 2.4s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
  }
}
@keyframes dash-flow {
  to {
    stroke-dashoffset: -12;
  }
}
@keyframes flag-pulse {
  50% {
    opacity: 0.55;
  }
}

/* Compact portfolio row */
.compact {
  margin-top: clamp(40px, 5vw, 64px);
}
.compact__title {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.compact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.compact__card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  padding: 20px 44px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  transition: border-color 0.3s, background-color 0.3s, translate 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.compact__card:hover {
  translate: 0 -3px;
  border-color: #c4d8f6;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.compact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--pale);
  color: var(--blue);
  transition: background-color 0.3s, color 0.3s;
}
.compact__card:hover .compact__icon {
  background: var(--blue);
  color: var(--white);
}
.compact__icon svg {
  width: 21px;
  height: 21px;
}
.compact__text {
  display: grid;
  gap: 2px;
}
.compact__text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 750;
}
.compact__text small {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}
.compact__text em {
  margin-top: 4px;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--muted);
}
.compact__arrow {
  position: absolute;
  right: 18px;
  top: 20px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform var(--t-fast) var(--ease), color var(--t-fast);
}
.compact__card:hover .compact__arrow {
  transform: translate(2px, -2px);
  color: var(--blue);
}

@media (max-width: 1024px) {
}
@media (max-width: 720px) {
  .portfolio,
  .compact__grid {
    grid-template-columns: 1fr;
  }
  .pf--foldy {
    grid-template-columns: 1fr;
    padding-right: clamp(28px, 3.4vw, 48px);
  }
  .pf--foldy .pf__body {
    padding-bottom: 8px;
  }
  .pf__device {
    width: min(260px, 80%);
    height: 360px;
  }
}
.spot {
  background: linear-gradient(160deg, #061036 0%, var(--navy) 55%, #0a3fa6 130%);
}
.spot__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(45% 55% at 75% 50%, rgba(17, 203, 232, 0.22), transparent 70%),
    radial-gradient(40% 40% at 10% 0%, rgba(7, 91, 219, 0.35), transparent 70%);
}
.spot__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.spot__points {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
.spot__points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.spot__point-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(127, 233, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(127, 233, 255, 0.2);
  color: var(--cyan-soft);
}
.spot__point-icon svg {
  width: 20px;
  height: 20px;
}
.spot__points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.spot__points small {
  display: block;
  font-size: 0.95rem;
  color: var(--text-on-dark);
}
.spot__cta {
  margin-top: 36px;
}

/* Layered device composition, driven by scroll progress (--progress 0→1) */
.spot__stage {
  --p: var(--progress, 1);
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
}
.spot__screens {
  position: relative;
  width: min(640px, 100%);
  height: 640px;
}
.spot__screen {
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.15s linear;
}
.spot__screen--front {
  z-index: 2;
  width: 290px;
  transform: translate(-50%, calc(-50% + (0.5 - var(--p)) * 60px));
}
.spot__screen--left,
.spot__screen--right {
  width: 238px;
  filter: saturate(0.9);
}
.spot__screen--left {
  transform: translate(calc(-50% - min(1, var(--p) * 1.6) * 190px), calc(-50% + 24px)) rotate(calc(min(1, var(--p) * 1.6) * -6deg));
}
.spot__screen--right {
  transform: translate(calc(-50% + min(1, var(--p) * 1.6) * 190px), calc(-50% + 24px)) rotate(calc(min(1, var(--p) * 1.6) * 6deg));
}
.spot__screen--front .phone__body {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 2.2cqw rgba(0, 0, 0, 0.25),
    0 60px 100px -30px rgba(0, 0, 0, 0.7), 0 0 90px -10px rgba(17, 203, 232, 0.45);
}
.spot__logo {
  position: absolute;
  z-index: 3;
  left: 4%;
  top: 6%;
  padding: 14px 20px;
}
.spot__logo img {
  width: 140px;
  height: auto;
}
/* one-off light sweep when the stage is revealed */
.spot__sweep {
  position: absolute;
  inset: -10% -20%;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(173, 240, 255, 0.22) 50%, transparent 60%);
  transform: translateX(-100%);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .spot__stage.is-visible .spot__sweep {
    animation: sweep 1.8s var(--ease-io) 0.5s;
  }
  .spot__logo {
    animation: logo-float 8s ease-in-out infinite;
  }
}
@keyframes sweep {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 1;
  }
}
@keyframes logo-float {
  50% {
    translate: 0 -8px;
  }
}

@media (max-width: 1100px) {
  .spot__screen--front {
    width: 260px;
  }
  .spot__screen--left,
  .spot__screen--right {
    width: 210px;
  }
}

/* Smaller screens: a swipeable row keeps every screenshot large enough to read */
@media (max-width: 900px) {
  .spot__inner {
    grid-template-columns: 1fr;
  }
  .spot__stage {
    min-height: 0;
    margin-inline: calc(var(--gutter) * -1);
  }
  .spot__logo {
    position: static;
    margin-bottom: 28px;
    animation: none;
  }
  .spot__screens {
    display: flex;
    gap: 18px;
    width: 100%;
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 0 max(var(--gutter), calc(50% - 130px)) 16px;
  }
  .spot__screens::-webkit-scrollbar {
    display: none;
  }
  .spot__screen,
  .spot__screen--front,
  .spot__screen--left,
  .spot__screen--right {
    position: static;
    flex: 0 0 260px;
    width: 260px;
    transform: none;
    filter: none;
    scroll-snap-align: center;
  }
  .spot__screen--front {
    order: -1;
  }
  .spot__screen--right {
    order: 0;
  }
  .spot__screen--left {
    order: 1;
  }
}
.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}
.why__head {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
}
.why .sh__title .text-gradient,
.process .sh__title .text-gradient,
.products .sh__title .text-gradient {
  background-image: linear-gradient(100deg, var(--blue) 0%, #1aa6e0 60%, var(--cyan) 100%);
}
.why__list {
  display: grid;
}
.why__item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 24px;
  align-items: start;
  padding-block: 32px;
  border-top: 1px solid var(--line);
}
.why__item:last-child {
  border-bottom: 1px solid var(--line);
}
.why__item h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 750;
}
.why__item p {
  margin-top: 8px;
  max-width: 30rem;
  font-size: 1.05rem;
  color: var(--muted);
}
.why__glyph {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(160deg, #eaf3ff, #dff7fc);
  transition: transform 0.5s var(--ease);
}
.why__item:hover .why__glyph {
  transform: rotate(-4deg) scale(1.04);
}
.glyph {
  width: 52px;
  height: 52px;
  overflow: visible;
}
.glyph * {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.g-badge {
  fill: var(--cyan);
  stroke: none;
}
.g-check {
  stroke: var(--white);
}
.g-layer {
  fill: var(--white);
  transform-box: fill-box;
}
.g-layer--1 {
  fill: #d9ebff;
}
.g-line {
  fill: var(--blue);
  stroke: none;
  opacity: 0.85;
  transform-box: fill-box;
}
.g-focus {
  stroke: var(--cyan);
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .why__item .g-draw,
  .motion-ready .why__item .g-check {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1s var(--ease) 0.3s;
  }
  .motion-ready .why__item .g-check {
    transition-delay: 1s;
  }
  .motion-ready .why__item.is-visible .g-draw,
  .motion-ready .why__item.is-visible .g-check {
    stroke-dashoffset: 0;
  }
  .motion-ready .why__item .g-badge {
    transform-box: fill-box;
    transform-origin: center;
    transform: scale(0);
    transition: transform 0.6s var(--ease) 0.8s;
  }
  .motion-ready .why__item.is-visible .g-badge {
    transform: none;
  }
  .motion-ready .why__item .g-layer {
    transition: transform 0.8s var(--ease) 0.3s;
  }
  .motion-ready .why__item .g-layer--1 {
    transform: translateY(10px);
  }
  .motion-ready .why__item .g-layer--3 {
    transform: translateY(-10px);
  }
  .motion-ready .why__item.is-visible .g-layer {
    transform: none;
  }
  .why__item:hover .g-layer--1 {
    transform: translateY(-3px) !important;
  }
  .why__item:hover .g-layer--3 {
    transform: translateY(3px) !important;
  }
  .motion-ready .why__item .g-line {
    transform: translateX(calc((var(--r) - 1.5) * 8px)) rotate(calc((var(--r) - 1.5) * 12deg));
    opacity: 0.3;
    transition: transform 0.9s var(--ease), opacity 0.9s var(--ease);
    transition-delay: calc(0.3s + var(--r) * 0.08s);
  }
  .motion-ready .why__item.is-visible .g-line {
    transform: none;
    opacity: 0.85;
  }
}

@media (max-width: 900px) {
  .why__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .why__head {
    position: static;
  }
}
@media (max-width: 600px) {
  .why__item {
    grid-template-columns: 60px 1fr;
    gap: 18px;
    padding-block: 24px;
  }
  .why__glyph {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }
  .glyph {
    width: 42px;
    height: 42px;
  }
}
/* Timeline progress: --line (0→1) derives from scroll progress; each step lights up
   as the line reaches it. With reduced motion --progress is 1, so everything is lit. */
.timeline {
  --line: min(1, max(0, calc((var(--progress, 1) - 0.08) * 1.7)));
  position: relative;
  margin-top: clamp(56px, 7vw, 88px);
}
.timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.timeline__rail {
  position: absolute;
  left: 12.5%;
  right: 12.5%;
  top: 27px;
  height: 2px;
  border-radius: 2px;
  background: #d3e2f8;
}
.timeline__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform-origin: left;
  transform: scaleX(var(--line));
}
.timeline__step {
  --on: clamp(0, calc((var(--line) * 3 - var(--i) + 0.15) * 4), 1);
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
  text-align: center;
}
.timeline__node {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #c9dbf5;
  background: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--muted);
  isolation: isolate;
  transition: border-color 0.4s;
}
.timeline__node::before {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: -1;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--blue-bright), var(--blue));
  box-shadow: 0 0 0 7px rgba(7, 91, 219, 0.12), 0 12px 24px -8px rgba(7, 91, 219, 0.6);
  opacity: var(--on);
  transform: scale(calc(0.6 + var(--on) * 0.4));
}
.timeline__node {
  color: color-mix(in srgb, var(--white) calc(var(--on) * 100%), var(--muted));
}
.timeline__step h3 {
  font-size: var(--fs-h3);
  font-weight: 750;
  opacity: calc(0.45 + var(--on) * 0.55);
}
.timeline__step p {
  margin-top: 8px;
  max-width: 15rem;
  margin-inline: auto;
  color: var(--muted);
  opacity: calc(0.45 + var(--on) * 0.55);
}

@media (max-width: 860px) {
  .timeline {
    max-width: 480px;
    margin-inline: auto;
  }
  .timeline__steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .timeline__rail {
    left: 27px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 2px;
    height: auto;
  }
  .timeline__fill {
    transform-origin: top;
    transform: scaleY(var(--line));
  }
  .timeline__step {
    grid-template-columns: 56px 1fr;
    justify-items: start;
    align-items: center;
    gap: 20px;
    text-align: left;
  }
  .timeline__step p {
    margin-inline: 0;
  }
}
.final {
  padding-block: clamp(110px, 13vw, 180px);
  background: radial-gradient(90% 80% at 50% 110%, #0b4fc4 0%, transparent 60%),
    linear-gradient(180deg, var(--midnight) 0%, var(--navy) 100%);
  text-align: center;
}
.final__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -10px);
  transition: translate 1.4s var(--ease);
}
.final__glow {
  position: absolute;
  border-radius: 50%;
}
.final__glow--1 {
  width: 700px;
  height: 700px;
  left: -200px;
  top: -300px;
  background: radial-gradient(circle, rgba(7, 91, 219, 0.5), transparent 65%);
}
.final__glow--2 {
  width: 600px;
  height: 600px;
  right: -180px;
  bottom: -260px;
  background: radial-gradient(circle, rgba(17, 203, 232, 0.35), transparent 65%);
}
.final__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 520px;
  height: 520px;
  margin: -260px 0 0 -260px;
  border-radius: 50%;
  border: 1px solid rgba(127, 233, 255, 0.18);
  opacity: 0.6;
}
.final__ring:nth-child(4) {
  transform: scale(1.5);
  opacity: 0.35;
}
.final__ring:nth-child(5) {
  transform: scale(2.1);
  opacity: 0.18;
}
@media (prefers-reduced-motion: no-preference) {
  .final__glow--1 {
    animation: drift-1 24s ease-in-out infinite alternate;
  }
  .final__glow--2 {
    animation: drift-2 28s ease-in-out infinite alternate;
  }
  .final__ring {
    animation: ring-out 9s linear infinite;
  }
  .final__ring:nth-child(4) {
    animation-delay: -3s;
  }
  .final__ring:nth-child(5) {
    animation-delay: -6s;
  }
}
@keyframes ring-out {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

.final__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.final__logo {
  padding: 16px 26px;
  border-radius: 22px;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.05), 0 0 70px -10px rgba(42, 123, 255, 0.8);
}
.final__logo img {
  width: 170px;
  height: auto;
}
.final__title {
  margin-top: 40px;
  max-width: 16ch;
  font-size: clamp(2.3rem, 5.6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.final__lead {
  margin-top: 22px;
  max-width: 32rem;
  font-size: var(--fs-lead);
  color: var(--text-on-dark);
}
.final__ctas {
  justify-content: center;
  margin-top: 40px;
}
.final__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 36px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
}
.final__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  font-weight: 500;
  color: rgba(234, 241, 255, 0.92);
  transition: color var(--t-fast);
}
.final__contact a:hover {
  color: var(--cyan);
}
.final__contact svg {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}

@media (max-width: 600px) {
  .final__ctas {
    width: 100%;
    flex-direction: column;
  }
  .final__ctas .btn {
    width: 100%;
  }
  .final__contact {
    flex-direction: column;
    align-items: center;
  }
  .final__ring {
    width: 340px;
    height: 340px;
    margin: -170px 0 0 -170px;
  }
}
.footer {
  position: relative;
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--white);
}
.footer::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer__brand img {
  width: 170px;
  height: auto;
}
.footer__tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__tagline::before {
  content: '';
  width: 20px;
  height: 1.5px;
  background: var(--gold);
}
.footer__desc {
  margin-top: 14px;
  max-width: 26rem;
  color: var(--muted);
}
.footer__col h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer__col ul {
  display: grid;
  gap: 4px;
  margin-top: 16px;
}
.footer__col a,
.footer__base a {
  display: inline-block;
  padding: 4px 0;
  font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: color var(--t-fast), background-size 0.4s var(--ease);
}
.footer__col a:hover,
.footer__base a:hover {
  color: var(--blue);
  background-size: 100% 1px;
}
.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
