/* ==========================================================================
   10APEX — sections.css
   Header · Hero · Trust · Services · Solutions · Process · Why · Work ·
   Tech · About · CTA · FAQ · Contact · Footer · Responsive
   ========================================================================== */

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transform: translateY(0);
  transition: padding .4s var(--ease), transform .45s var(--ease-out);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 12, .72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--hairline-dark);
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.header.is-stuck {
  padding: 10px 0;
}

.header.is-stuck::before {
  opacity: 1;
}

.header.is-hidden {
  transform: translateY(-108%);
}

.header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Brand lock-up: assets/img/10apex_logo.png placed exactly as supplied. The
   file is the full lockup — monogram *and* wordmark, white on transparency
   with its own glow — so no text label sits beside it and no plate sits behind
   it; it drops straight onto the ink header. */
.brand__mark {
  display: block;
  line-height: 0;
  transition: transform .5s var(--ease-out), filter .4s var(--ease);
}

.brand__img {
  padding-left: 20px;
  --logo-h: 78px;
  display: block;
  width: auto;
  height: var(--logo-h);

  transform: scaleX(1.5);
  transform-origin: center;

  margin:
    calc(var(--logo-h) * -0.160) calc(var(--logo-h) * -0.287) calc(var(--logo-h) * -0.146) calc(var(--logo-h) * -0.281);
}

/* A wordmark should not tilt, so hover lifts and glows instead of rotating. */
.brand:hover .brand__mark {
  transform: scale(1.05);
  filter: drop-shadow(0 0 22px rgba(30, 123, 208, .75));
}

.brand--footer .brand__img {
  --logo-h: 82px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: .93rem;
  font-weight: 500;
  color: rgba(238, 240, 252, .74);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 1px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}

.nav__link:hover {
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: #fff;
}

/* --- Services mega dropdown --------------------------------------------- */
.nav__item--menu {
  position: relative;
}

.nav__link--trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  cursor: pointer;
}

.nav__chev {
  transition: transform .35s var(--ease-out);
}

.nav__item--menu.is-open .nav__link--trigger {
  color: #fff;
  background: rgba(255, 255, 255, .05);
}

.nav__item--menu.is-open .nav__chev {
  transform: rotate(180deg);
}

.nav__item--menu.is-open .nav__link--trigger::after {
  transform: scaleX(1);
}

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(680px, calc(100vw - 40px));
  transform: translate(-50%, -10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .38s var(--ease-out), visibility .3s;
  z-index: 20;
}

.nav__item--menu.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* invisible bridge so the pointer can travel from trigger to panel */
.mega::before {
  content: "";
  position: absolute;
  inset: -16px 0 auto 0;
  height: 18px;
}

.mega__inner {
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(165deg, rgba(20, 23, 42, .97), rgba(9, 11, 22, .98));
  backdrop-filter: blur(18px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .07);
  padding: 20px;
}

.mega__eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(226, 230, 245, .38);
  padding: 0 8px 12px;
}

.mega__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.mega__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .35s var(--ease-out);
}

.mega__item:hover,
.mega__item:focus-visible {
  background: rgba(30, 111, 203, .12);
  border-color: rgba(91, 155, 222, .32);
  transform: translateX(2px);
}

.mega__item.is-current {
  background: rgba(30, 111, 203, .16);
  border-color: rgba(91, 155, 222, .45);
}

.mega__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: var(--blue-300);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.mega__item:hover .mega__icon,
.mega__item.is-current .mega__icon {
  background: var(--btn-grad);
  border-color: transparent;
  color: #fff;
}

.mega__icon svg {
  width: 19px;
  height: 19px;
}

.mega__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.mega__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.mega__desc {
  font-size: .79rem;
  line-height: 1.4;
  color: rgba(226, 230, 245, .55);
}

.mega__arrow {
  margin-left: auto;
  align-self: center;
  color: rgba(226, 230, 245, .3);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .3s var(--ease), transform .35s var(--ease-out);
}

.mega__item:hover .mega__arrow {
  opacity: 1;
  transform: none;
  color: var(--blue-300);
}

.mega__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline-dark);
}

.mega__all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--blue-300);
  padding-left: 8px;
  transition: gap .35s var(--ease-out), color .3s var(--ease);
}

.mega__all:hover {
  gap: 13px;
  color: #fff;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--hairline-dark);
  background: rgba(255, 255, 255, .05);
  place-items: center;
}

.nav-toggle__bars {
  display: grid;
  gap: 5px;
  width: 18px;
}

.nav-toggle__bars i {
  display: block;
  height: 1.8px;
  border-radius: 2px;
  background: #fff;
  transition: transform .4s var(--ease-out), opacity .25s var(--ease), width .4s var(--ease-out);
}

.nav-toggle__bars i:nth-child(2) {
  width: 13px;
  margin-left: auto;
}

.nav-toggle[aria-expanded="true"] i:nth-child(1) {
  transform: translateY(6.8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
  transform: translateX(12px);
}

.nav-toggle[aria-expanded="true"] i:nth-child(3) {
  transform: translateY(-6.8px) rotate(-45deg);
  width: 18px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 6, 12, .97);
  backdrop-filter: blur(22px);
  padding: 104px var(--gutter) 40px;
  overflow-y: auto;
  opacity: 0;
  transition: opacity .38s var(--ease);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: calc(100dvh - 148px);
}

.mobile-menu__list li,
.mobile-menu__footer {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  transition-delay: calc(var(--i) * 55ms);
}

.mobile-menu.is-open .mobile-menu__list li,
.mobile-menu.is-open .mobile-menu__footer {
  opacity: 1;
  transform: none;
}

.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  letter-spacing: -0.035em;
  color: #fff;
  transition: color .3s var(--ease), padding-left .35s var(--ease-out);
}

.mobile-menu__list a:hover,
.mobile-menu__list a:focus-visible {
  padding-left: 8px;
  color: var(--blue-300);
}

.mobile-menu__num {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--blue-400);
  font-family: var(--font-body);
}

/* --- Mobile services submenu -------------------------------------------- */
.mobile-menu__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  letter-spacing: -0.035em;
  color: #fff;
  text-align: left;
  transition: color .3s var(--ease);
}

.mobile-menu__trigger .mobile-menu__num {
  align-self: flex-start;
  margin-top: .55em;
}

.mobile-menu__chev {
  margin-left: auto;
  color: var(--blue-300);
  transition: transform .4s var(--ease-out);
}

.mobile-menu__trigger[aria-expanded="true"] {
  color: var(--blue-300);
}

.mobile-menu__trigger[aria-expanded="true"] .mobile-menu__chev {
  transform: rotate(180deg);
}

.msub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}

.mobile-menu__trigger[aria-expanded="true"]+.msub {
  grid-template-rows: 1fr;
}

.msub__list {
  overflow: hidden;
}

.msub__list>li>a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(226, 230, 245, .78);
  transition: color .3s var(--ease), padding-left .35s var(--ease-out);
}

.msub__list>li>a:hover {
  color: #fff;
  padding-left: 10px;
}

.msub__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .04);
  color: var(--blue-300);
  flex: none;
}

.msub__icon svg {
  width: 17px;
  height: 17px;
}

.msub__all {
  color: var(--blue-300) !important;
  font-weight: 600 !important;
  gap: 8px !important;
}

.mobile-menu__footer {
  display: grid;
  gap: 18px;
}

.mobile-menu__mail {
  color: var(--text-light-soft);
  font-size: .95rem;
  text-align: center;
}

body.is-locked {
  overflow: hidden;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: var(--hero-pad) 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb--a {
  width: 620px;
  height: 620px;
  top: -220px;
  left: -180px;
  background: radial-gradient(circle, rgba(30, 111, 203, .55), transparent 72%);
}

.orb--b {
  width: 560px;
  height: 560px;
  top: -60px;
  right: -160px;
  background: radial-gradient(circle, rgba(30, 123, 208, .48), transparent 72%);
}

.orb--c {
  width: 460px;
  height: 460px;
  bottom: -240px;
  left: 38%;
  background: radial-gradient(circle, rgba(79, 179, 232, .3), transparent 72%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: clamp(48px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.hero__title {
  margin: 26px 0 0;
  font-size: clamp(2.7rem, 6.1vw, 4.75rem);
  letter-spacing: -0.042em;
  line-height: 1.03;
  color: #fff;
}

.hero__lead {
  margin-top: 26px;
  max-width: 55ch;
  font-size: clamp(1.03rem, 1.35vw, 1.17rem);
  color: var(--text-light-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 46px);
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid var(--hairline-dark);
}

.hero__stats strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.hero__stats span {
  font-size: .84rem;
  color: rgba(226, 230, 245, .52);
}

/* Hero visual */
.hero__visual {
  position: relative;
}

.hero__stage {
  position: relative;
  aspect-ratio: 1 / .96;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-out);
}

/* --------------------------------------------------------------------------
   Hero service network
   Six service nodes orbit the 10APEX hub. Node positions are percentages of
   the stage and mirror the SVG anchor points in tools/components.js.
   -------------------------------------------------------------------------- */
.hnet {
  position: relative;
  width: 100%;
  height: 100%;
}

/* connection lines */
.hnet__links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hnet__base path {
  stroke-width: 1.25px;
  opacity: .55;
}

.hnet__pulse path {
  stroke-width: 2px;
  stroke-dasharray: 5 95;
  animation: hnetPulse 3.6s linear infinite;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 0 5px rgba(156, 196, 236, .85));
}

@keyframes hnetPulse {
  from {
    stroke-dashoffset: 100;
  }

  to {
    stroke-dashoffset: 0;
  }
}

/* central hub */
.hnet__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(126px, 27%, 170px);
  aspect-ratio: 1;
  z-index: 3;
}

.hnet__rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hnet__rings i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(156, 196, 236, .28);
  animation: hnetRing 3.6s var(--ease) infinite;
}

.hnet__rings i:nth-child(2) {
  animation-delay: 1.2s;
}

.hnet__rings i:nth-child(3) {
  animation-delay: 2.4s;
}

@keyframes hnetRing {
  from {
    transform: scale(.72);
    opacity: .85;
  }

  to {
    transform: scale(1.28);
    opacity: 0;
  }
}

.hnet__core {
  position: relative;
  /* align-content:center packs the row to its content height — without it the
     fixed aspect-ratio box stretches the row and the lockup drifts off centre. */
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0;
  width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(30, 111, 203, .5), transparent 60%),
    linear-gradient(160deg, rgba(28, 32, 58, .98), rgba(10, 12, 24, .98));
  border: 1px solid rgba(91, 155, 222, .45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .04) inset,
    0 26px 60px -26px rgba(16, 89, 174, .95),
    0 0 44px -6px rgba(30, 111, 203, .45);
  animation: hnetCore 5.5s var(--ease) infinite alternate;
}

@keyframes hnetCore {
  to {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset, 0 26px 60px -26px rgba(11, 65, 132, .95), 0 0 62px -4px rgba(30, 123, 208, .6);
  }
}

/* The hub carries the same supplied lockup — wordmark included — so the core
   holds the image alone. It is transparent-backed, so it sits straight on the
   core's gradient and keeps the glow the file ships with. 92% leaves the
   artwork clear of the circle once the file's own transparent margin is
   allowed for. */
.hnet__mark {
  display: grid;
  place-items: center;
  width: 100%;
  line-height: 0;
}

.hnet__img {
  width: 92%;
  height: auto;
}

/* service nodes */
.hnet__nodes {
  position: absolute;
  inset: 0;
}

.hnode {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hnode--1 {
  left: 50%;
  top: 10%;
}

.hnode--2 {
  left: 82%;
  top: 30%;
}

.hnode--3 {
  left: 82%;
  top: 70%;
}

.hnode--4 {
  left: 50%;
  top: 90%;
}

.hnode--5 {
  left: 18%;
  top: 70%;
}

.hnode--6 {
  left: 18%;
  top: 30%;
}

.hnode__link {
  display: flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: clamp(128px, 22vw, 182px);
  padding: 9px 14px 9px 9px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .13);
  background: linear-gradient(150deg, rgba(23, 26, 47, .95), rgba(10, 12, 24, .95));
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .95);
  animation: hnetFloat 6.5s var(--ease) infinite alternate;
  animation-delay: var(--d, 0s);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), box-shadow .4s var(--ease), transform .45s var(--ease-out);
}

@keyframes hnetFloat {
  to {
    transform: translateY(-7px);
  }
}

.hnode__link:hover,
.hnode__link:focus-visible {
  border-color: rgba(91, 155, 222, .6);
  box-shadow: 0 22px 44px -20px rgba(30, 111, 203, .8), 0 0 0 1px rgba(91, 155, 222, .25);
  transform: translateY(-9px) scale(1.03);
}

.hnode__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(30, 111, 203, .16);
  border: 1px solid rgba(91, 155, 222, .3);
  color: var(--blue-300);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}

.hnode__icon svg {
  width: 16px;
  height: 16px;
}

.hnode__link:hover .hnode__icon {
  background: var(--btn-grad);
  border-color: transparent;
  color: #fff;
}

.hnode__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(.72rem, 1.4vw, .82rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: rgba(238, 240, 252, .88);
}

.hnode__link:hover .hnode__label {
  color: #fff;
}

/* ==========================================================================
   TRUSTED CLIENTS
   Centred heading + subline over a single evenly spaced logo row, matching
   the reference band. Collapses to a wrapped grid before it ever squashes.
   ========================================================================== */
.trust {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 7.5vw, 104px) 0 clamp(66px, 8vw, 112px);
}

/* The band itself: near-black at the top so it rounds cleanly out of whatever
   sits above it, deepening into brand blue and blooming from the lower centre,
   with the corners falling away — as in the reference. */
.trust__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(78% 62% at 50% 96%, rgba(72, 158, 244, .85) 0%, rgba(28, 116, 214, .45) 42%, rgba(10, 45, 100, 0) 76%),
    radial-gradient(120% 92% at 50% 118%, rgba(11, 65, 132, 0) 58%, rgba(4, 17, 44, .55) 100%),
    linear-gradient(180deg, #05060c 0%, #062045 16%, #0B4184 40%, #1059AE 68%, #1466C6 88%, #0C3E7F 100%);
}

.trust>.container {
  position: relative;
  z-index: 2;
}

.trust__head {
  text-align: center;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.trust__title {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
}

.trust__sub {
  margin-top: 12px;
  font-size: clamp(.84rem, 1.05vw, .95rem);
  color: rgba(255, 255, 255, .66);
}

/* One evenly spaced, borderless row — the reference has no rules above or
   below the lockups. */
.clients {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
}

.client {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(255, 255, 255, .92);
  transition: color .4s var(--ease), transform .45s var(--ease-out), opacity .4s var(--ease);
}

.client:hover {
  color: #fff;
  transform: translateY(-3px);
}

.client__mark {
  display: grid;
  place-items: center;
  flex: none;
}

.client__mark svg {
  width: clamp(19px, 1.9vw, 24px);
  height: clamp(19px, 1.9vw, 24px);
}

.client__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(.92rem, 1.45vw, 1.22rem);
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.trust__note {
  margin-top: clamp(30px, 4vw, 46px);
  text-align: center;
  font-size: .74rem;
  color: rgba(255, 255, 255, .55);
}

/* ==========================================================================
   WHY CHOOSE 10APEX
   Glow behind a centred heading, then a staggered card cluster — the cards
   sit at alternating vertical offsets like the reference.
   ========================================================================== */
.whychoose {
  padding: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}

.whychoose__glow {
  position: absolute;
  left: 50%;
  top: -6%;
  transform: translateX(-50%);
  width: min(1100px, 120%);
  height: 460px;
  pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(30, 111, 203, .45), transparent 70%);
}

.whychoose>.container {
  position: relative;
  z-index: 2;
}

.whychoose__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 72px);
}

.whychoose__title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  color: #fff;
  letter-spacing: -0.035em;
}

.whychoose__sub {
  margin-top: 18px;
  color: var(--text-light-soft);
  font-size: clamp(.98rem, 1.3vw, 1.1rem);
}

/* `grid-auto-rows: 1fr` plus the default stretch alignment gives every card
   an identical box, however uneven the copy inside it is. */
.wcxgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(16px, 1.8vw, 24px);
  align-items: stretch;
}

/* Only the middle column is nudged down. The shift is `top` rather than a
   margin or a transform, so it changes neither the card's height nor the
   reveal and hover transforms the card already carries. */
.wcx:nth-child(3n + 2) {
  top: clamp(14px, 1.7vw, 26px);
}

.wcx {
  position: relative;
  overflow: hidden;
  padding: 26px 24px 28px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, .12);
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  backdrop-filter: blur(6px);
  transition: transform .5s var(--ease-out), border-color .45s var(--ease), box-shadow .5s var(--ease);
}

.wcx::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 155, 222, .22), transparent 65%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}

.wcx:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 155, 222, .5);
  box-shadow: 0 26px 54px -28px rgba(16, 89, 174, .9);
}

.wcx:hover::after {
  opacity: 1;
}

.wcx__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(30, 111, 203, .18);
  border: 1px solid rgba(91, 155, 222, .32);
  color: var(--blue-300);
  margin-bottom: 18px;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}

.wcx:hover .wcx__icon {
  background: var(--btn-grad);
  border-color: transparent;
  color: #fff;
}

.wcx__title {
  font-size: 1.08rem;
  color: #fff;
}

.wcx__body {
  margin-top: 10px;
  font-size: .93rem;
  color: var(--text-light-soft);
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding: var(--section-y) 0;
  background: var(--paper-alt);
}

.services__grid {
  display: grid;
  gap: clamp(16px, 1.8vw, 24px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.s-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--paper-line);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .4s var(--ease);
}

/* animated gradient border on hover */
.s-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(30, 111, 203, .9), rgba(30, 123, 208, .55), rgba(79, 179, 232, .8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 3;
}

.s-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.s-card:hover::before {
  opacity: 1;
}

.s-card:focus-within::before {
  opacity: 1;
}

.s-card__visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 0%, rgba(30, 123, 208, .16), transparent 55%),
    linear-gradient(160deg, #E9F1FA, #f8f9fe);
  border-bottom: 1px solid var(--paper-line);
  display: grid;
  place-items: center;
}

.s-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 50% 100%, rgba(30, 111, 203, .18), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
}

.s-card:hover .s-card__visual::after {
  opacity: 1;
}

.s-card__visual>.mock {
  transition: transform .6s var(--ease-out);
}

.s-card:hover .s-card__visual>.mock {
  transform: translateY(-6px) scale(1.035);
}

/* The illustration library (service.css) is authored at full section scale.
   Inside a card frame it is scaled down so the whole mockup reads as a product
   screenshot rather than an arbitrary crop of one. */
.s-card__visual>.viz {
  transform: scale(.64);
  transform-origin: center;
  transition: transform .6s var(--ease-out);
}

.s-card:hover .s-card__visual>.viz {
  transform: scale(.67) translateY(-6px);
}

.s-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.s-card__num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .1em;
  color: var(--blue-600);
  opacity: .8;
}

.s-card__title {
  margin-top: 10px;
  font-size: 1.32rem;
}

.s-card__text {
  margin-top: 12px;
  margin-bottom: 22px;
  color: var(--text-dark-soft);
  font-size: .96rem;
}

.s-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--paper-line);
  font-weight: 600;
  font-size: .9rem;
  color: var(--blue-600);
  transition: gap .35s var(--ease-out);
}

.s-card__link:hover {
  gap: 13px;
}

/* --- Service mock visuals ------------------------------------------------ */
.mock {
  width: 82%;
  max-width: 260px;
}

.mock--browser {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11, 13, 26, .1);
  box-shadow: 0 22px 40px -24px rgba(11, 13, 26, .45);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 10px;
  background: #f1f3fa;
  border-bottom: 1px solid rgba(11, 13, 26, .07);
}

.mock__bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd0e2;
}

.mock__url {
  margin-left: 8px;
  font-size: .55rem;
  color: #8b91ab;
  background: #fff;
  border-radius: 20px;
  padding: 2px 10px;
}

.mock__body {
  padding: 12px;
  display: grid;
  gap: 8px;
}

.mock__hero {
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(115deg, #1E6FCB, #6FA8E2);
}

.mock__rows {
  display: grid;
  gap: 5px;
}

.mock__rows i {
  height: 5px;
  border-radius: 3px;
  background: #E2E9F2;
}

.mock__rows i:nth-child(2) {
  width: 78%;
}

.mock__rows i:nth-child(3) {
  width: 55%;
}

.mock__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mock__cards i {
  height: 24px;
  border-radius: 6px;
  background: #eef0fa;
}

.phone {
  position: relative;
  width: 132px;
  height: 190px;
  margin-inline: auto;
  border-radius: 22px;
  background: #10131f;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 26px 46px -22px rgba(11, 13, 26, .6);
}

.phone__notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 5px;
  border-radius: 6px;
  background: #262a3d;
}

.phone__screen {
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(180deg, #1b1f34, #0e111c);
  padding: 16px 11px 9px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.phone__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone__top i {
  width: 22px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .22);
}

.phone__top b {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5B9BDE, #4FB3E8);
}

.phone__balance {
  padding: 10px;
  border-radius: 10px;
  background: linear-gradient(120deg, #1059AE, #0B4184);
  display: grid;
  gap: 6px;
}

.phone__balance span {
  display: block;
  width: 40%;
  height: 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .45);
}

.phone__balance b {
  display: block;
  width: 68%;
  height: 9px;
  border-radius: 4px;
  background: #fff;
}

.phone__list {
  display: grid;
  gap: 6px;
  flex: 1;
}

.phone__list i {
  height: 13px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
}

.phone__list i:nth-child(2) {
  background: rgba(255, 255, 255, .12);
}

.phone__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.phone__tabs i {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
}

.phone__tabs i:first-child {
  background: var(--blue-400);
}

.mock--crm {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(11, 13, 26, .1);
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 22px 40px -24px rgba(11, 13, 26, .45);
}

.crm__side {
  display: grid;
  gap: 6px;
  align-content: start;
}

.crm__side i {
  height: 6px;
  border-radius: 3px;
  background: #E2E9F2;
}

.crm__side i:first-child {
  background: var(--blue-500);
}

.crm__main {
  display: grid;
  gap: 8px;
}

.crm__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.crm__kpis i {
  height: 22px;
  border-radius: 6px;
  background: #ECF2F8;
}

.crm__kpis i:first-child {
  background: linear-gradient(120deg, rgba(30, 111, 203, .22), rgba(79, 179, 232, .2));
}

.crm__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 46px;
}

.crm__chart i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, #5B9BDE, #C3DCF5);
}

.crm__chart i:nth-child(6) {
  background: linear-gradient(180deg, #1059AE, #6FA8E2);
}

.crm__rows {
  display: grid;
  gap: 5px;
}

.crm__rows i {
  height: 5px;
  border-radius: 3px;
  background: #E7EDF5;
}

.flowmini {
  width: 100%;
}

.flowmini__nodes rect {
  fill: #fff;
  stroke: rgba(30, 111, 203, .45);
  stroke-width: 1.2;
}

.flowmini__nodes rect:nth-child(3) {
  fill: #E8F1FB;
  stroke: rgba(30, 111, 203, .8);
}

.flowmini__dash path {
  animation: dashRun 2.4s linear infinite;
}

@keyframes dashRun {
  to {
    stroke-dashoffset: -32;
  }
}

.agent {
  width: 100%;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(11, 13, 26, .1);
  padding: 12px;
  box-shadow: 0 22px 40px -24px rgba(11, 13, 26, .45);
}

.agent__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agent__avatar {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1E6FCB, #4FB3E8);
}

.agent__name {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: #E2E9F2;
}

.agent .badge--ok {
  color: #0f766e;
  background: rgba(16, 185, 129, .12);
  border-color: rgba(16, 185, 129, .25);
}

.agent__tasks {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.agent__tasks li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .68rem;
  color: #6b7189;
}

.agent__tasks li span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #d8dbea;
  flex: none;
}

.agent__tasks li.is-done span {
  background: #10b981;
  border-color: #10b981;
}

.agent__tasks li.is-active span {
  border-color: var(--blue-500);
  animation: livePulse 1.8s var(--ease) infinite;
  box-shadow: 0 0 0 3px rgba(30, 111, 203, .18);
}

.agent__tasks li.is-active {
  color: var(--blue-600);
  font-weight: 600;
}

.chat {
  display: grid;
  gap: 8px;
  width: 100%;
}

.bubble {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 14px;
  font-size: .72rem;
  line-height: 1.4;
}

.bubble--in {
  background: #fff;
  border: 1px solid rgba(11, 13, 26, .1);
  color: #4c5168;
  border-bottom-left-radius: 5px;
}

.bubble--out {
  margin-left: auto;
  background: linear-gradient(120deg, #1059AE, #0B4184);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.bubble--typing {
  display: flex;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(11, 13, 26, .1);
  width: max-content;
  padding: 10px 12px;
}

.bubble--typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b6bbd2;
  animation: typing 1.2s var(--ease) infinite;
}

.bubble--typing i:nth-child(2) {
  animation-delay: .15s;
}

.bubble--typing i:nth-child(3) {
  animation-delay: .3s;
}

@keyframes typing {
  50% {
    transform: translateY(-4px);
    background: var(--blue-500);
  }
}

/* ==========================================================================
   SOLUTIONS (AI)
   ========================================================================== */
.solutions {
  padding: var(--section-y) 0;
  margin-top: -1px;
}

.solutions__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb--s1 {
  width: 620px;
  height: 620px;
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(16, 89, 174, .5), transparent 72%);
}

.orb--s2 {
  width: 520px;
  height: 520px;
  bottom: -200px;
  right: -120px;
  background: radial-gradient(circle, rgba(79, 179, 232, .3), transparent 72%);
}

.solutions>.container {
  position: relative;
  z-index: 2;
}

.solutions__head {
  display: grid;
  gap: clamp(24px, 4vw, 60px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.solutions__copy p {
  color: var(--text-light-soft);
  font-size: 1.05rem;
  margin-bottom: 26px;
}

/* Pipeline */
.pipeline {
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline-dark);
  background: linear-gradient(160deg, rgba(23, 26, 47, .8), rgba(8, 10, 20, .8));
  padding: clamp(24px, 4vw, 48px) clamp(18px, 3vw, 40px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 90px -50px rgba(0, 0, 0, .9);
}

.pipeline__flow {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
}

.pnode {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 20px 12px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .028);
  transition: transform .45s var(--ease-out), border-color .4s var(--ease), background-color .4s var(--ease);
  animation: nodeGlow 5s var(--ease) infinite;
  animation-delay: calc(var(--i) * .55s);
}

@keyframes nodeGlow {

  0%,
  70%,
  100% {
    box-shadow: 0 0 0 0 rgba(30, 111, 203, 0);
    border-color: rgba(255, 255, 255, .09);
  }

  22% {
    box-shadow: 0 0 34px -6px rgba(30, 111, 203, .75);
    border-color: rgba(91, 155, 222, .6);
  }
}

.pnode:hover {
  transform: translateY(-5px);
  background: rgba(30, 111, 203, .1);
  border-color: rgba(91, 155, 222, .5);
}

.pnode__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(30, 111, 203, .14);
  border: 1px solid rgba(91, 155, 222, .28);
  color: var(--blue-300);
}

.pnode--hero .pnode__icon {
  background: var(--btn-grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(11, 65, 132, .9);
}

.pnode--end .pnode__icon {
  color: #8ED4F2;
  background: rgba(79, 179, 232, .12);
  border-color: rgba(79, 179, 232, .3);
}

.pnode__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .96rem;
  color: #fff;
}

.pnode__meta {
  font-size: .76rem;
  color: rgba(226, 230, 245, .5);
}

.pconn {
  flex: 0 0 auto;
  align-self: center;
  width: clamp(16px, 3vw, 46px);
  height: 2px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, .1);
}

.pconn span {
  position: absolute;
  inset: 0;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
  animation: connRun 2.2s linear infinite;
}

.pconn:nth-of-type(4) span {
  animation-delay: .3s;
}

.pconn:nth-of-type(6) span {
  animation-delay: .6s;
}

.pconn:nth-of-type(8) span {
  animation-delay: .9s;
}

@keyframes connRun {
  from {
    transform: translateX(-120%);
  }

  to {
    transform: translateX(280%);
  }
}

.solutions__points {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solutions__points li {
  padding: 26px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline-dark);
  background: rgba(255, 255, 255, .025);
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .45s var(--ease-out);
}

.solutions__points li:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 155, 222, .4);
  background: rgba(30, 111, 203, .08);
}

.solutions__points h3 {
  font-size: 1.08rem;
  color: #fff;
}

.solutions__points p {
  margin-top: 10px;
  font-size: .93rem;
  color: var(--text-light-soft);
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  padding: var(--section-y) 0;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  padding-top: 46px;
}

.timeline__rail {
  position: absolute;
  top: 12px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: var(--paper-line);
  border-radius: 2px;
  overflow: hidden;
}

.timeline__rail i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--brand-grad);
  transition: width .9s var(--ease-out);
}

.tl-step {
  position: relative;
}

.tl-step__marker {
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--paper-line);
  display: grid;
  place-items: center;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease);
}

.tl-step__marker i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--paper-line);
  transition: background .5s var(--ease);
}

.tl-step.is-reached .tl-step__marker {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 6px rgba(30, 111, 203, .1);
}

.tl-step.is-reached .tl-step__marker i {
  background: var(--blue-500);
}

.tl-step__card {
  height: 100%;
  padding: 28px 26px 30px;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .4s var(--ease);
}

.tl-step__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 111, 203, .35);
}

.tl-step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .9;
}

.tl-step__card h3 {
  margin-top: 8px;
  font-size: 1.24rem;
}

.tl-step__card p {
  margin-top: 10px;
  color: var(--text-dark-soft);
  font-size: .95rem;
}

/* ==========================================================================
   WHY (bento)
   ========================================================================== */
.why {
  padding: var(--section-y) 0;
}

.why__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb--w1 {
  width: 560px;
  height: 560px;
  top: -160px;
  right: -140px;
  background: radial-gradient(circle, rgba(30, 123, 208, .42), transparent 72%);
}

.orb--w2 {
  width: 480px;
  height: 480px;
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle, rgba(16, 89, 174, .38), transparent 72%);
}

.why>.container {
  position: relative;
  z-index: 2;
}

.bento {
  display: grid;
  gap: clamp(16px, 1.8vw, 22px);
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bento__card {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  padding: 28px 26px 30px;
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline-dark);
  background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  transition: transform .5s var(--ease-out), border-color .45s var(--ease), background-color .45s var(--ease);
}

.bento__card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 155, 222, .22), transparent 65%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}

.bento__card:hover {
  transform: translateY(-6px);
  border-color: rgba(91, 155, 222, .38);
}

.bento__card:hover::after {
  opacity: 1;
}

.bento__card--wide {
  grid-column: span 4;
}

/* Full-bleed closing card: visual on the left, copy on the right */
.bento__card--full {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 44px);
  align-items: center;
}

.bento__card--full .bento__visual {
  grid-row: 1 / span 2;
  height: auto;
  margin: 0;
  justify-content: center;
}

.bento__card--full h3 {
  align-self: end;
}

.bento__card--full p {
  max-width: 68ch;
}

.bento__card--accent {
  background: linear-gradient(150deg, rgba(16, 89, 174, .34), rgba(30, 123, 208, .14));
  border-color: rgba(91, 155, 222, .3);
}

.bento__card h3 {
  font-size: 1.24rem;
  color: #fff;
}

.bento__card p {
  margin-top: 12px;
  color: var(--text-light-soft);
  font-size: .95rem;
  max-width: 46ch;
}

.bento__visual {
  height: 96px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
}

.blueprint {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 46px);
  gap: 8px;
  overflow: hidden;
}

.blueprint i {
  height: 46px;
  border-radius: 10px;
  border: 1px solid rgba(91, 155, 222, .35);
  background: rgba(30, 111, 203, .08);
}

.blueprint i:nth-child(2) {
  background: rgba(30, 111, 203, .2);
}

.blueprint__scan {
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(156, 196, 236, .35), transparent);
  animation: scanRun 3.4s var(--ease) infinite;
}

@keyframes scanRun {
  to {
    left: 110%;
  }
}

.pulse-core {
  position: relative;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
}

.pulse-core i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(195, 220, 245, .5);
  animation: pulseOut 3s var(--ease) infinite;
}

.pulse-core i:nth-child(2) {
  animation-delay: 1s;
}

.pulse-core i:nth-child(3) {
  animation-delay: 2s;
}

.pulse-core::after {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-grad);
  box-shadow: 0 0 26px rgba(30, 123, 208, .8);
}

@keyframes pulseOut {
  from {
    transform: scale(.35);
    opacity: .9;
  }

  to {
    transform: scale(1);
    opacity: 0;
  }
}

.stack {
  display: grid;
  gap: 7px;
  width: 100%;
  max-width: 190px;
}

.stack i {
  height: 20px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  animation: stackFloat 4s var(--ease) infinite alternate;
}

.stack i:nth-child(2) {
  width: 82%;
  animation-delay: .25s;
  background: rgba(30, 111, 203, .2);
}

.stack i:nth-child(3) {
  width: 64%;
  animation-delay: .5s;
}

@keyframes stackFloat {
  to {
    transform: translateX(8px);
  }
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 82px;
}

.bars i {
  width: 20px;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--blue-400), rgba(30, 111, 203, .1));
}

.bars i:last-child {
  background: linear-gradient(180deg, #4FB3E8, rgba(79, 179, 232, .1));
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips i {
  font-style: normal;
  font-size: .78rem;
  font-weight: 500;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .04);
  color: rgba(226, 230, 245, .78);
}

.orbit {
  position: relative;
  width: 96px;
  height: 96px;
}

.orbit i,
.orbit b {
  position: absolute;
  border-radius: 50%;
}

.orbit i {
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .14);
}

.orbit i:nth-child(2) {
  inset: 16px;
  border-color: rgba(91, 155, 222, .34);
}

.orbit b {
  width: 12px;
  height: 12px;
  top: -6px;
  left: 50%;
  margin-left: -6px;
  background: var(--brand-grad);
  box-shadow: 0 0 16px rgba(30, 123, 208, .9);
  transform-origin: 6px 54px;
  animation: orbitSpin 7s linear infinite;
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   WORK
   ========================================================================== */
.work {
  padding: var(--section-y) 0;
}

.work__grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 28px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-card {
  border-radius: var(--r-2xl);
}

.p-card__link {
  display: block;
  height: 100%;
  border-radius: var(--r-2xl);
  border: 1px solid var(--paper-line);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease), border-color .4s var(--ease);
}

.p-card__link:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 111, 203, .3);
}

.p-card__visual {
  position: relative;
  height: clamp(220px, 26vw, 300px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 26px;
}

.p-card__visual--a {
  background: radial-gradient(120% 120% at 20% 0%, #1c1f3a, #0a0c18);
}

.p-card__visual--b {
  background: radial-gradient(120% 120% at 80% 10%, #29224d, #0d0a1c);
}

.p-card__visual--c {
  background: radial-gradient(120% 120% at 30% 10%, #0f2a3a, #080f1c);
}

.p-card__visual--d {
  background: radial-gradient(120% 120% at 70% 0%, #1d1b45, #0a0a18);
}

.p-card__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent 75%);
}

/* Screenshot cards drop the mockup padding and grid wash and fill the frame,
   anchored to the top so the hero banner survives the crop. */
.p-card__visual--shot {
  padding: 0;
  display: block;
  background: #0b0e1a;
}

.p-card__visual--shot::before {
  display: none;
}

.p-card__visual--shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  display: block;
  transform: scale(1.005);
  transition: transform .7s var(--ease-out);
}

.p-card__link:hover .p-card__visual--shot img {
  transform: scale(1.045);
}

/* Workflow canvases read from the middle rather than the top edge. */
.p-card__visual--center img {
  object-position: 50% 50%;
}

/* WorkflowBuild on the homepage card — same mechanic as the portfolio grid,
   see the block in service.css. Only the frame padding differs, because this
   card is taller. */
.p-card__visual--flow {
  position: relative;
  padding: 20px 22px;
  display: block;
  overflow: hidden;
  background: var(--wf-bg, #f2f2f2);
}

.p-card__visual--flow::before {
  display: none;
}

.p-card__visual--flow .wflow__ghost,
.p-card__visual--flow .wflow__draw {
  inset: 20px 22px;
  width: calc(100% - 44px);
  height: calc(100% - 40px);
}

.p-card__visual--flow::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% - var(--wf-cut, 100%));
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0 calc(100% - 46px), rgba(80, 150, 230, .16) 100%);
  opacity: 0;
  transition: width .38s var(--ease-out), opacity .3s var(--ease);
}

.p-card.is-building .p-card__visual--flow::after {
  opacity: 1;
}

/* ==========================================================================
   WebsitePreview on the homepage cards
   Same mechanic as the portfolio grid (see service.css): the frame is a size
   container so the capture can travel `-100% + 100cqh` — its own height minus
   the frame's — with no hardcoded distance.

   The card is already wrapped in an <a>, so the live-site link sits as a
   sibling of that anchor rather than nested inside it, and is positioned
   against the card.
   ========================================================================== */
.p-card {
  position: relative;
}

.p-card__visual--live {
  position: relative;
  padding: 0;
  display: block;
  overflow: hidden;
  container-type: size;
  background: #0b0e1a;
}

.p-card__visual--live::before {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .p-card:hover .wpreview__img,
  .p-card:focus-within .wpreview__img {
    transform: translateY(calc(-100% + 100cqh));
    transition-duration: var(--wp-dur, 8s);
    transition-timing-function: linear;
  }
}

.p-card > .wpreview__link {
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
}

.p-card:hover > .wpreview__link {
  opacity: 1;
  transform: translateY(0);
}

.p-card__link:hover .ui {
  transform: translateY(-8px) scale(1.05);
}

.ui {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  transition: transform .7s var(--ease-out);
}

.ui__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.ui__dots {
  display: flex;
  gap: 5px;
}

.ui__dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
}

.ui__pill {
  font-size: .62rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(226, 230, 245, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  padding: 3px 10px;
}

.ui__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 10px;
}

.ui__panel {
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  display: grid;
  gap: 10px;
  align-content: start;
}

.ui__panel--wide {
  grid-column: 1 / -1;
}

.ui__label {
  width: 46%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .2);
}

.ui__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 54px;
}

.ui__chart i {
  flex: 1;
  height: var(--h);
  border-radius: 4px;
  background: linear-gradient(180deg, #5B9BDE, rgba(30, 111, 203, .18));
}

.ui__chart i:nth-child(4) {
  background: linear-gradient(180deg, #4FB3E8, rgba(79, 179, 232, .18));
}

.ui__ring {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  justify-self: center;
  background: conic-gradient(var(--blue-400) 0 72%, rgba(255, 255, 255, .1) 72% 100%);
  mask: radial-gradient(circle, transparent 56%, #000 57%);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 57%);
}

.ui__row {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .12);
}

.ui__row:nth-child(2) {
  width: 76%;
}

.ui__row:nth-child(3) {
  width: 54%;
}

.ui--fin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.fin-phone {
  width: 148px;
  border-radius: 24px;
  padding: 8px;
  background: #121426;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .9);
}

.fin-phone__screen {
  border-radius: 18px;
  background: linear-gradient(180deg, #1d2038, #0e1020);
  padding: 16px 13px;
  display: grid;
  gap: 10px;
  color: #6FA8E2;
}

.fin__label {
  width: 44%;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .22);
}

.fin__amount {
  width: 72%;
  height: 12px;
  border-radius: 5px;
  background: #fff;
}

.fin__chart {
  height: 44px;
}

.fin__chart svg {
  width: 100%;
  height: 100%;
}

.fin__rows {
  display: grid;
  gap: 6px;
}

.fin__rows i {
  height: 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .08);
}

.fin-card {
  width: 110px;
  height: 68px;
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(125deg, #1059AE, #0B4184 60%, #4FB3E8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 40px -22px rgba(16, 89, 174, .9);
}

.fin-card span {
  width: 26px;
  height: 18px;
  border-radius: 5px;
  background: rgba(255, 255, 255, .55);
}

.fin-card b {
  width: 74%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .8);
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.board__col {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .08);
  display: grid;
  gap: 7px;
  align-content: start;
}

.board__head {
  height: 5px;
  width: 60%;
  border-radius: 3px;
  background: rgba(255, 255, 255, .25);
}

.board__col i {
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .09);
}

.board__col i.is-hot {
  background: linear-gradient(120deg, rgba(16, 89, 174, .8), rgba(79, 179, 232, .55));
}

.ui--support {
  display: grid;
  gap: 12px;
}

.sup__thread {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
}

.sup__msg {
  display: block;
  height: 14px;
  border-radius: 8px;
  width: 78%;
  background: rgba(255, 255, 255, .12);
}

.sup__msg--out {
  margin-left: auto;
  background: linear-gradient(120deg, #1059AE, #0B4184);
}

.sup__msg--short {
  width: 52%;
}

.sup__panel {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 8px;
}

.sup__stat {
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}

.sup__stat:first-child {
  background: linear-gradient(120deg, rgba(30, 111, 203, .38), rgba(79, 179, 232, .18));
}

.p-card__meta {
  position: relative;
  padding: 26px 28px 30px;
}

.p-card__cat {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.p-card__title {
  margin-top: 10px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.p-card__text {
  margin-top: 8px;
  color: var(--text-dark-soft);
  font-size: .96rem;
  max-width: 38ch;
}

.p-card__arrow {
  position: absolute;
  right: 28px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  color: var(--text-dark);
  transition: transform .45s var(--ease-out), background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}

.p-card__link:hover .p-card__arrow {
  background: var(--btn-grad);
  color: #fff;
  border-color: transparent;
  transform: rotate(-45deg) scale(1.06);
}

.work__note {
  margin-top: 28px;
  font-size: .86rem;
  color: #868ca4;
}

/* ==========================================================================
   TECH
   ========================================================================== */
.tech {
  padding: var(--section-y) 0;
}

.tech__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb--t1 {
  width: 620px;
  height: 380px;
  top: -120px;
  left: 30%;
  background: radial-gradient(circle, rgba(30, 111, 203, .3), transparent 72%);
}

.tech>.container {
  position: relative;
  z-index: 2;
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}

.tech__col {
  padding: 26px 22px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline-dark);
  background: rgba(255, 255, 255, .022);
  transition: border-color .4s var(--ease), background-color .4s var(--ease), transform .45s var(--ease-out);
}

.tech__col:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 155, 222, .35);
  background: rgba(30, 111, 203, .07);
}

.tech__col h3 {
  font-size: 1rem;
  color: #fff;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--hairline-dark);
}

.tech__col li {
  font-size: .92rem;
  color: var(--text-light-soft);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

.tech__col li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-400);
  flex: none;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: var(--section-y) 0;
  background: var(--paper-alt);
}

.about__inner {
  display: grid;
  gap: clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}

.about__lead {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  color: var(--text-dark-soft);
  max-width: 52ch;
}

.about__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.about__points li {
  padding-left: 18px;
  border-left: 2px solid var(--paper-line);
  transition: border-color .4s var(--ease);
}

.about__points li:hover {
  border-color: var(--blue-500);
}

.about__points h3 {
  font-size: 1.05rem;
}

.about__points p {
  margin-top: 8px;
  font-size: .93rem;
  color: var(--text-dark-soft);
}

.about__visual {
  display: grid;
  gap: 22px;
  justify-items: center;
}

.about-art {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: var(--r-2xl);
  background: radial-gradient(120% 120% at 50% 20%, #131634, #070914);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000, transparent 75%);
}

.about-art__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(156, 196, 236, .25);
}

.about-art__ring--1 {
  width: 46%;
  height: 46%;
}

.about-art__ring--2 {
  width: 68%;
  height: 68%;
  border-color: rgba(156, 196, 236, .16);
}

.about-art__ring--3 {
  width: 90%;
  height: 90%;
  border-color: rgba(156, 196, 236, .09);
}

/* Core and "10" share one grid cell (1 / 1) rather than stacking into two
   implicit rows, so both land on the exact centre of the art and the numerals
   sit inside the glowing core instead of below it. */
.about-art__core {
  grid-area: 1 / 1;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--brand-grad);
  filter: blur(1px);
  box-shadow: 0 0 60px rgba(30, 123, 208, .8);
  animation: corePulse 4.5s var(--ease) infinite alternate;
}

@keyframes corePulse {
  to {
    transform: scale(1.09);
    box-shadow: 0 0 90px rgba(30, 111, 203, .95);
  }
}

/* "10" rides above the core as its own grid-centred layer, so the core keeps
   its blur and pulse untouched while the numerals stay crisp. */
.about-art__ten {
  grid-area: 1 / 1;
  position: relative;
  z-index: 3;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.4vw, 1.95rem);
  letter-spacing: -0.045em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 14px rgba(3, 20, 48, .55);
  pointer-events: none;
}

/* Each satellite is a full-size layer that spins around the exact centre,
   with the visible dot pinned to the top edge of its own orbit ring. */
.about-art__sat {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: satSpin 14s linear infinite;
}

.about-art__sat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 11px;
  height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 14px rgba(195, 220, 245, .95);
}

.about-art__sat--1 {
  inset: 27%;
  animation-duration: 9s;
}

.about-art__sat--2 {
  inset: 16%;
  animation-duration: 15s;
  animation-direction: reverse;
}

.about-art__sat--2::after {
  background: #9CC4EC;
}

.about-art__sat--3 {
  inset: 5%;
  animation-duration: 22s;
}

.about-art__sat--3::after {
  background: #8ED4F2;
  box-shadow: 0 0 14px rgba(103, 232, 249, .95);
}

@keyframes satSpin {
  to {
    transform: rotate(360deg);
  }
}

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.badge-tile {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  background: var(--paper);
  border: 1px solid var(--paper-line);
  box-shadow: var(--shadow-sm);
  font-size: .88rem;
  color: var(--text-dark-soft);
}

.badge-tile b {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--text-dark);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta {
  padding: 0 0 clamp(56px, 7vw, 96px);
  background: var(--paper-alt);
}

.cta__panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: linear-gradient(150deg, #14163a 0%, #0a0b1c 55%, #100d2b 100%);
  padding: clamp(44px, 7vw, 92px) clamp(24px, 5vw, 72px);
  text-align: center;
  box-shadow: 0 50px 100px -50px rgba(16, 89, 174, .8);
  border: 1px solid rgba(255, 255, 255, .1);
}

.cta__aurora {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(closest-side, rgba(30, 111, 203, .55), transparent 70%) 22% 30%/60% 60% no-repeat,
    radial-gradient(closest-side, rgba(30, 123, 208, .45), transparent 70%) 78% 28%/55% 55% no-repeat,
    radial-gradient(closest-side, rgba(79, 179, 232, .32), transparent 70%) 50% 88%/60% 60% no-repeat;
  animation: auroraDrift 16s var(--ease) infinite alternate;
}

@keyframes auroraDrift {
  to {
    transform: translate3d(4%, -3%, 0) rotate(6deg) scale(1.08);
  }
}

.cta__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 78%);
}

.cta__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
}

.cta__title {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  color: #fff;
}

.cta__text {
  margin-top: 22px;
  font-size: clamp(1rem, 1.3vw, 1.13rem);
  color: rgba(226, 230, 245, .74);
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 38px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: var(--section-y) 0;
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.faq__head {
  position: sticky;
  top: 120px;
}

.accordion {
  display: grid;
  gap: 10px;
}

.ac-item {
  border-radius: var(--r-lg);
  border: 1px solid var(--paper-line);
  background: var(--paper);
  overflow: hidden;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease);
}

.ac-item.is-open {
  border-color: rgba(30, 111, 203, .4);
  box-shadow: 0 20px 44px -30px rgba(16, 89, 174, .6);
}

.ac-item h3 {
  margin: 0;
  font-size: inherit;
  letter-spacing: normal;
}

.ac-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.03rem;
  letter-spacing: -0.015em;
  color: var(--text-dark);
  transition: color .3s var(--ease);
}

.ac-trigger:hover {
  color: var(--blue-600);
}

.ac-icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--paper-line);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease-out);
}

.ac-icon::before,
.ac-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: currentColor;
  border-radius: 2px;
}

.ac-icon::before {
  width: 11px;
  height: 1.6px;
}

.ac-icon::after {
  width: 1.6px;
  height: 11px;
  transition: transform .4s var(--ease-out), opacity .3s var(--ease);
}

.ac-item.is-open .ac-icon {
  background: var(--btn-grad);
  border-color: transparent;
  color: #fff;
  transform: rotate(90deg);
}

.ac-item.is-open .ac-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

.ac-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out);
}

.ac-item.is-open .ac-panel {
  grid-template-rows: 1fr;
}

.ac-panel__inner {
  overflow: hidden;
}

.ac-panel__inner p {
  padding: 0 22px 22px;
  color: var(--text-dark-soft);
  font-size: .96rem;
  max-width: 66ch;
}

.ac-panel__inner a {
  color: var(--blue-600);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
/* Sits directly above the (also dark) footer, so only the top corners round. */
.contact {
  padding: var(--section-y) 0;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}

.contact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb--c1 {
  width: 520px;
  height: 520px;
  top: -160px;
  left: -140px;
  background: radial-gradient(circle, rgba(16, 89, 174, .45), transparent 72%);
}

.orb--c2 {
  width: 480px;
  height: 480px;
  bottom: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(30, 123, 208, .35), transparent 72%);
}

.contact__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.contact__facts {
  display: grid;
  gap: 2px;
  margin-top: 40px;
}

.contact__facts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.contact__facts span {
  font-size: .86rem;
  color: rgba(226, 230, 245, .48);
}

.contact__facts b {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
}

.contact__alt {
  margin-top: 36px;
}

.contact__alt p {
  font-size: .88rem;
  color: rgba(226, 230, 245, .48);
  margin-bottom: 10px;
}

.contact__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  color: #fff;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  padding-bottom: 4px;
  transition: gap .35s var(--ease-out), color .3s var(--ease), border-color .3s var(--ease);
}

.contact__mail:hover {
  gap: 16px;
  color: var(--blue-300);
  border-color: var(--blue-400);
}

.contact__formwrap {
  border-radius: var(--r-xl);
  border: 1px solid var(--hairline-dark);
  background: linear-gradient(165deg, rgba(23, 26, 47, .85), rgba(8, 10, 20, .85));
  backdrop-filter: blur(12px);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 50px 100px -60px rgba(0, 0, 0, .9);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: .84rem;
  font-weight: 500;
  color: rgba(226, 230, 245, .66);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  font-size: .95rem;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 128px;
  line-height: 1.6;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(226, 230, 245, .32);
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: rgba(255, 255, 255, .22);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(91, 155, 222, .8);
  background: rgba(30, 111, 203, .1);
  box-shadow: 0 0 0 4px rgba(30, 111, 203, .16);
}

.field.has-error input,
.field.has-error textarea,
.field.has-error select {
  border-color: rgba(248, 113, 113, .75);
}

.field__error {
  min-height: 0;
  font-size: .78rem;
  color: #fca5a5;
}

.field option {
  background: #0f1220;
  color: #fff;
}

.select {
  position: relative;
}

.select select {
  padding-right: 42px;
  cursor: pointer;
}

.select__icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(226, 230, 245, .55);
}

.form__foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.form__note {
  font-size: .8rem;
  color: rgba(226, 230, 245, .42);
  max-width: 32ch;
}

.form__status {
  grid-column: 1 / -1;
  font-size: .92rem;
  padding: 0;
  color: #6ee7b7;
  display: none;
}

.form__status.is-visible {
  display: block;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: rgba(52, 211, 153, .1);
  border: 1px solid rgba(52, 211, 153, .3);
}

.form__status.is-error {
  color: #fca5a5;
  background: rgba(248, 113, 113, .1);
  border-color: rgba(248, 113, 113, .3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--ink-900);
  color: var(--text-light);
  padding: clamp(56px, 7vw, 88px) 0 32px;
  border-top: 1px solid var(--hairline-dark);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid var(--hairline-dark);
}

.footer__tag {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--text-light-soft);
  font-size: .95rem;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--hairline-dark);
  background: rgba(255, 255, 255, .03);
  color: rgba(226, 230, 245, .7);
  transition: transform .4s var(--ease-out), color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}

.socials a:hover {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(91, 155, 222, .5);
  background: rgba(30, 111, 203, .14);
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.footer__col h3 {
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(226, 230, 245, .45);
  font-weight: 600;
  margin-bottom: 18px;
}

.footer__col li {
  margin-bottom: 11px;
}

.footer__col a {
  position: relative;
  font-size: .95rem;
  color: var(--text-light-soft);
  transition: color .3s var(--ease), padding-left .35s var(--ease-out);
}

.footer__col a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 26px;
  font-size: .86rem;
  color: rgba(226, 230, 245, .45);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer__legal a {
  transition: color .3s var(--ease);
}

.footer__legal a:hover {
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }

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

  .tech__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .solutions__head,
  .section-head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }

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

  .faq__head {
    position: static;
  }

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

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

  .bento__card,
  .bento__card--wide {
    grid-column: span 3;
  }

  .bento__card--full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 78px;
  }

  .clients {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 26px;
  }

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

  /* two columns: there is no middle any more, so drop the offset */
  .wcx:nth-child(3n + 2) {
    top: 0;
  }

  .hnode__link {
    max-width: 142px;
    padding: 8px 12px 8px 8px;
  }

  .hnode--2,
  .hnode--3 {
    left: 80%;
  }

  .hnode--5,
  .hnode--6 {
    left: 20%;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: grid;
  }

  .header__actions .btn--primary {
    display: none;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 0;
    padding-left: 34px;
  }

  .timeline__rail {
    top: 8px;
    bottom: 8px;
    left: 12px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .timeline__rail i {
    width: 100%;
    height: 0;
    transition: height .9s var(--ease-out);
  }

  .tl-step__marker {
    top: 26px;
    left: -34px;
    transform: none;
  }

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

  .pnode {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
  }

  .pnode__label {
    flex: none;
  }

  .pnode__meta {
    margin-left: auto;
  }

  .pconn {
    width: 2px;
    height: 22px;
    margin-left: 32px;
    align-self: flex-start;
  }

  .pconn span {
    width: 100%;
    height: 42%;
    background: linear-gradient(180deg, transparent, var(--blue-400), transparent);
    animation-name: connRunV;
  }

  @keyframes connRunV {
    from {
      transform: translateY(-120%);
    }

    to {
      transform: translateY(280%);
    }
  }

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

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

@media (max-width: 720px) {
  :root {
    --r-2xl: 28px;
    --r-xl: 22px;
    /* the lockup steps down below, so the header — and the hero padding that
       has to clear it — comes down with it */
    --header-h: 84px;
  }

  /* header shares the row with the CTA and the burger, so the lockup steps down */
  .brand__img {
    --logo-h: 48px;
  }

  .brand--footer .brand__img {
    --logo-h: 68px;
  }

  .clients {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

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

  .wcx,
  .wcx:nth-child(3n + 2) {
    top: 0;
  }

  /* the stage is narrower, so the orbit tightens and the pills shrink */
  .hero__stage {
    aspect-ratio: 1 / 1.02;
  }

  .hnet__hub {
    width: clamp(108px, 30%, 132px);
  }

  .hnode__link {
    max-width: 118px;
    gap: 7px;
    padding: 7px 11px 7px 7px;
  }

  .hnode__icon {
    width: 26px;
    height: 26px;
  }

  .hnode__icon svg {
    width: 14px;
    height: 14px;
  }

  .hnode__label {
    font-size: .68rem;
  }

  .hnode--1 {
    top: 7%;
  }

  .hnode--4 {
    top: 93%;
  }

  .hnode--2,
  .hnode--3 {
    left: 76%;
  }

  .hnode--5,
  .hnode--6 {
    left: 24%;
  }

  .hnode--2,
  .hnode--6 {
    top: 31%;
  }

  .hnode--3,
  .hnode--5 {
    top: 69%;
  }

  .hero__stats {
    gap: 22px 28px;
  }

  .hero__stats li {
    flex: 1 1 40%;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

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

  /* one card per row: more width to spend, so the mockup can sit larger */
  .s-card__visual {
    height: 224px;
  }

  .s-card__visual>.viz {
    transform: scale(.72);
  }

  .s-card:hover .s-card__visual>.viz {
    transform: scale(.72);
  }

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

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

  .bento__card,
  .bento__card--wide,
  .bento__card--full {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .bento__card--full .bento__visual {
    grid-row: auto;
    margin-bottom: 22px;
    justify-content: flex-start;
  }

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

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

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

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

  .p-card__arrow {
    position: static;
    margin-top: 20px;
  }

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

@media (max-width: 460px) {

  /* phone + card side by side needs ~276px, which overflows below ~360px */
  .ui--fin {
    gap: 10px;
  }

  .fin-phone {
    width: 118px;
  }

  .fin-card {
    width: 86px;
    height: 56px;
  }

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

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

  .logo-item {
    min-width: 140px;
    font-size: .9rem;
  }

  .hero__stage {
    aspect-ratio: 1 / 1.05;
  }
}

/* Legal pages (privacy / terms) */
.legal {
  padding: clamp(120px, 16vw, 170px) 0 clamp(64px, 8vw, 110px);
}

.legal__inner {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: #fff;
}

.legal__updated {
  margin-top: 14px;
  font-size: .88rem;
  color: rgba(226, 230, 245, .45);
}

.legal h2 {
  font-size: 1.3rem;
  color: #fff;
  margin-top: 44px;
}

.legal p,
.legal li {
  color: var(--text-light-soft);
  margin-top: 14px;
  font-size: .98rem;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
}

.legal a {
  color: var(--blue-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  color: var(--blue-300);
  font-weight: 600;
}