/* ==========================================================================
   Anantavya Techworks — design system
   Layout: Bootstrap 5.3.3 grid (container / row / col). Everything visual is custom.

   00  Fonts
   01  Tokens
   02  Base & utilities
   03  Buttons & shared UI
   04  Page loader
   05  Navigation
   06  Hero
   07  About
   08  Brands (ecosystem)
   09  Software (BW Task)
   10  Clients
   11  Global presence
   12  Contact
   13  Footer
   14  Back to top
   15  Reveal system
   16  Reduced motion
   ========================================================================== */

/* 00 — FONTS ------------------------------------------------------------ */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 01 — TOKENS ----------------------------------------------------------- */
:root {
  /* colour */
  --blue: #0b5cf5;
  --blue-dark: #0a4bd0;
  --blue-tint: #eaf1ff;
  --blue-line: #b8cffc;
  --ink: #0b1220;
  --ink-2: #111a2e;
  --text: #344054;
  --muted: #667085;
  --surface: #ffffff;
  --surface-soft: #f7f9fc;
  --border: #e6eaf0;
  --border-strong: #cdd5e1;
  --live: #16a34a;

  /* type */
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2.35rem, 1.1rem + 4.9vw, 4.9rem);
  --fs-display: clamp(3rem, 1.6rem + 6.4vw, 7rem);
  --fs-h2: clamp(2rem, 1.35rem + 2.7vw, 3.5rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* shape & space */
  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --r-xl: 24px;
  --section-y: clamp(5rem, 2.5rem + 8vw, 9.5rem);
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 2.5rem);
  --nav-h: 64px;

  /* motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.2s;
  --t-med: 0.35s;
  --t-slow: 0.8s;

  /* elevation */
  --shadow-s: 0 1px 2px rgba(11, 18, 32, 0.05);
  --shadow-m: 0 1px 2px rgba(11, 18, 32, 0.04), 0 10px 30px -14px rgba(11, 18, 32, 0.18);
  --shadow-l: 0 2px 4px rgba(11, 18, 32, 0.04), 0 30px 70px -28px rgba(11, 18, 32, 0.35);
}

/* 02 — BASE & UTILITIES ------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 28px);
  scrollbar-gutter: stable;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
strong {
  font-weight: 700;
  color: var(--ink);
}
::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.container-xxl {
  --bs-gutter-x: calc(var(--gutter) * 2);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 300;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-s);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--t-med) var(--ease-out);
}
.skip-link:focus {
  transform: none;
}

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

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Typographic roles */
.h-section {
  font-size: var(--fs-h2);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 17ch;
  text-wrap: balance;
}
.h-section--light {
  color: #fff;
}
.h-section--quiet {
  max-width: 24ch;
}
.h-display {
  font-size: var(--fs-display);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
  max-width: 6ch;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text);
  max-width: 60ch;
  margin-top: 1.5rem;
}
.lead--light {
  color: #b8c2d4;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
  margin-bottom: 1.5rem;
}
.eyebrow--dark {
  color: #b8c2d4;
}
.eyebrow__mark {
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 2px;
  flex: none;
}

/* 03 — BUTTONS & SHARED UI ---------------------------------------------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-m);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out),
    background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out),
    color var(--t-med) var(--ease-out);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn--sm {
  min-height: 40px;
  padding: 0 1.1rem;
  font-size: 0.875rem;
}
.btn--block {
  width: 100%;
  min-height: 56px;
}
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 6px 16px -8px rgba(11, 92, 245, 0.7);
}
.btn--primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 12px 24px -10px rgba(11, 92, 245, 0.75);
}
.btn--ghost {
  color: var(--ink);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-m);
}
.btn--light {
  background: #fff;
  color: var(--ink);
}
.btn--light:hover {
  box-shadow: 0 14px 30px -12px rgba(255, 255, 255, 0.35);
}
.btn .icon {
  transition: transform var(--t-med) var(--ease-out);
}
.btn:hover .icon {
  transform: translate(2px, -2px);
}
/* Colour sweep for the main form action */
.btn--sweep::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out);
}
.btn--sweep:hover::before {
  transform: none;
}
.btn--sweep:hover {
  background: var(--blue);
}
.btn--sweep .btn__arrow {
  transition: transform var(--t-med) var(--ease-out);
}
.btn--sweep:hover .btn__arrow {
  transform: translateX(4px);
}
.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.live__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
  flex: none;
}
.live__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--live);
  animation: live-pulse 2.2s var(--ease-out) infinite;
}
@keyframes live-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* 04 — PAGE LOADER ------------------------------------------------------ */
.loader {
  display: none;
}
.js .loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.4rem;
  background: var(--surface);
  transition: opacity 0.35s var(--ease-out), visibility 0.35s;
}
.loader__logo {
  width: 150px;
  animation: loader-in 0.4s var(--ease-out) both;
}
.loader__bar {
  position: relative;
  width: 120px;
  height: 2px;
  background: var(--border);
  overflow: hidden;
  border-radius: 2px;
}
.loader__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform-origin: left;
  animation: loader-bar 0.7s var(--ease-io) both;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
}
@keyframes loader-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@keyframes loader-bar {
  from {
    transform: scaleX(0);
  }
}

/* 05 — NAVIGATION ------------------------------------------------------- */
.nav {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 100;
  pointer-events: none;
  transition: transform 0.45s var(--ease-out);
}
.nav.is-hidden {
  transform: translateY(calc(-100% - 24px));
}
.nav__bar {
  position: relative;
  z-index: 2;
  pointer-events: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1240px, calc(100% - 24px));
  height: var(--nav-h);
  margin-inline: auto;
  padding: 0 10px 0 22px;
  border: 1px solid rgba(11, 18, 32, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--shadow-s);
  transition: height 0.4s var(--ease-out), background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out);
}
.nav.is-scrolled .nav__bar {
  height: 54px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(11, 18, 32, 0.09);
  box-shadow: var(--shadow-m);
}
.js .nav__bar {
  opacity: 0;
  transform: translateY(-18px);
}
.is-ready .nav__bar {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out), height 0.4s var(--ease-out),
    background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}

.nav__brand {
  justify-self: start;
  display: block;
  width: 142px;
}
.nav__brand img {
  width: 100%;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.nav__link:hover {
  color: var(--ink);
}
.nav__link:hover::after,
.nav__link[aria-current="true"]::after {
  transform: scaleX(1);
}
.nav__link[aria-current="true"] {
  color: var(--ink);
}

.nav__actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.live {
  display: none;
  align-items: center;
  gap: 0.5rem;
  height: 40px;
  padding: 0 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-m);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  transition: border-color var(--t-med) var(--ease-out), background-color var(--t-med) var(--ease-out);
}
.live:hover {
  border-color: var(--ink);
  background: #fff;
}
.live .icon {
  width: 13px;
  height: 13px;
  transition: transform var(--t-med) var(--ease-out);
}
.live:hover .icon {
  transform: translate(2px, -2px);
}
.nav__cta {
  display: none;
}

.nav__toggle {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--r-m);
  display: grid;
  place-content: center;
  gap: 6px;
}
.nav__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-line:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile panel */
.nav__panel {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: calc(12px + var(--nav-h) + 28px) var(--gutter) max(2rem, env(safe-area-inset-bottom));
  background: var(--surface);
  overflow-y: auto;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}
.nav.is-open .nav__panel {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s;
}
.nav__panel-list a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.nav__panel-list li {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.nav.is-open .nav__panel-list li {
  opacity: 1;
  transform: none;
  transition-delay: calc(0.08s + var(--i, 0) * 0.05s);
}
.nav__panel-actions {
  display: grid;
  gap: 0.75rem;
}
.nav__panel-actions .btn {
  min-height: 54px;
}

@media (min-width: 992px) {
  .nav__links {
    display: flex;
  }
  .live,
  .nav__cta {
    display: inline-flex;
  }
  .nav__toggle,
  .nav__panel {
    display: none;
  }
}
@media (max-width: 991.98px) {
  .nav__bar {
    grid-template-columns: 1fr auto;
  }
}

/* 06 — HERO ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 4.5rem) 0 clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(11, 18, 32, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 18, 32, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 80% 30%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 80% at 80% 30%, #000 20%, transparent 78%);
}
.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 1000px;
  max-height: 1000px;
  background: radial-gradient(closest-side, rgba(11, 92, 245, 0.11), rgba(11, 92, 245, 0.04) 55%, transparent 75%);
}

.hero__visual {
  position: absolute;
  z-index: -1;
  right: -14%;
  top: 4%;
  width: min(70vw, 840px);
  aspect-ratio: 720 / 640;
  transform: translate3d(0, calc(var(--ty, 0%) + var(--scroll, 0) * var(--p, 0.16) * -1px), 0);
  opacity: 0.55;
}
@media (min-width: 992px) {
  .hero__visual {
    --ty: -50%;
    right: -4%;
    top: 50%;
    width: min(56vw, 840px);
    opacity: 1;
  }
}

.hero__inner {
  position: relative;
}
.hero__content {
  transform: translate3d(0, calc(var(--scroll, 0) * -0.07px), 0);
  opacity: calc(1 - var(--scroll, 0) / 760);
}

.hero__title {
  font-size: var(--fs-hero);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.045em;
  color: var(--ink);
  max-width: 11ch;
}
@media (min-width: 768px) {
  .hero__title {
    max-width: none;
  }
}
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.line__in {
  display: block;
}
.line__in--soft {
  color: var(--muted);
}
.hero__lead {
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  max-width: 54ch;
  font-size: var(--fs-lead);
  line-height: 1.62;
  color: var(--text);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
}

/* Hero entrance — runs once `.is-ready` lands on <html> */
.js [data-hero] {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.js .line__in[data-hero] {
  opacity: 1;
  transform: translate3d(0, 108%, 0);
}
.is-ready [data-hero] {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease-out) var(--hd, 0s), transform 0.9s var(--ease-out) var(--hd, 0s);
}
.is-ready [data-hero="1"] { --hd: 0.05s; }
.is-ready [data-hero="2"] { --hd: 0.12s; }
.is-ready [data-hero="3"] { --hd: 0.22s; }
.is-ready [data-hero="4"] { --hd: 0.34s; }
.is-ready [data-hero="5"] { --hd: 0.46s; }
.is-ready .line__in[data-hero] {
  transform: none;
  transition-duration: 1.1s;
}

/* Hero network */
.net {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.net__orbit {
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 2 7;
  transform-origin: 360px 320px;
}
.net__edge {
  stroke: var(--border-strong);
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.net__pulse {
  fill: var(--blue);
  opacity: 0;
}
.net__node circle {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.net__node--accent circle {
  fill: var(--blue);
  stroke: var(--blue);
}
.net__node--core circle {
  fill: var(--ink);
  stroke: var(--ink);
}
.net__node--core .net__halo {
  fill: none;
  stroke: var(--blue-line);
  stroke-width: 1;
}
.net__node--core .net__core-dot {
  fill: #fff;
  stroke: none;
}
.net__dust {
  fill: var(--border-strong);
}
.js .net__node,
.js .net__dust {
  opacity: 0;
  transform: scale(0.4);
  transform-box: fill-box;
  transform-origin: center;
}
.js .net__orbit {
  opacity: 0;
}
.is-ready .net__edge {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s var(--ease-io) calc(0.3s + var(--ei, 0) * 0.07s);
}
.is-ready .net__node,
.is-ready .net__dust {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-out) calc(0.25s + var(--ni, 0) * 0.07s),
    transform 0.8s var(--ease-out) calc(0.25s + var(--ni, 0) * 0.07s);
}
.is-ready .net__orbit {
  opacity: 1;
  transition: opacity 1.2s ease 0.3s;
}
.is-ready .net__pulse {
  opacity: 1;
  transition: opacity 0.6s ease 2.2s;
}
@media (prefers-reduced-motion: no-preference) {
  .is-ready .net__orbit--a {
    animation: spin 90s linear infinite;
  }
  .is-ready .net__orbit--b {
    animation: spin 140s linear infinite reverse;
  }
  .is-ready .net__orbit--c {
    animation: spin 200s linear infinite;
  }
  .is-ready .net__halo {
    transform-box: fill-box;
    transform-origin: center;
    animation: halo 4.5s var(--ease-out) 1.5s infinite;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes halo {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* 07 — ABOUT ------------------------------------------------------------ */
.about {
  background: linear-gradient(to bottom, var(--surface), var(--surface-soft) 55%, var(--surface));
}
.about__top {
  row-gap: 3rem;
}
.about__body {
  margin-top: clamp(3.5rem, 2rem + 5vw, 7rem);
  row-gap: 2.5rem;
}
.about__umbrella {
  font-size: clamp(1.2rem, 1.05rem + 0.8vw, 1.6rem);
  line-height: 1.55;
  letter-spacing: -0.015em;
  color: var(--muted);
  max-width: 34em;
}
.about__umbrella strong {
  color: var(--ink);
}

.notes__item {
  padding-block: 1.5rem;
  border-top: 1px solid var(--border);
  max-width: 52ch;
}
.notes__item:first-child {
  padding-top: 0;
  border-top: 0;
}
.notes a {
  position: relative;
  color: var(--blue);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size var(--t-med) var(--ease-out), color var(--t-fast);
}
.notes a:hover {
  color: var(--blue-dark);
  background-size: 100% 2px;
}

.mvp {
  margin-top: clamp(3.5rem, 2rem + 5vw, 7rem);
  border-top: 1px solid var(--border-strong);
}
.mvp__col {
  position: relative;
  padding: 2rem 0 0;
}
@media (min-width: 768px) {
  .mvp__col {
    padding: 2.25rem 2.25rem 0 0;
  }
  .mvp__col + .mvp__col {
    padding-left: 2.25rem;
    border-left: 1px solid var(--border);
  }
}
.mvp__col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.6s var(--ease-out);
}
@media (min-width: 768px) {
  .mvp__col + .mvp__col::before {
    left: 2.25rem;
  }
}
.mvp__col:hover::before,
.mvp__col:focus-within::before {
  width: 56px;
}
.mvp__icon {
  width: 32px;
  height: 32px;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.25rem;
  transition: transform var(--t-med) var(--ease-out), stroke var(--t-med);
}
.mvp__col:hover .mvp__icon {
  transform: translateY(-3px);
  stroke: var(--blue);
}
.mvp__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.mvp__col p {
  max-width: 38ch;
}
@media (max-width: 767.98px) {
  .mvp__col + .mvp__col {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
  }
}

/* About blueprint */
.blueprint {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  background: var(--surface);
  padding: clamp(0.5rem, 2vw, 1.25rem);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}
.blueprint__svg {
  width: 100%;
  height: auto;
}
.bp__dot {
  fill: #d6dce8;
}
.bp__link {
  stroke: var(--border-strong);
  stroke-width: 1.5;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.bp__mod rect,
.bp__core rect {
  fill: var(--surface);
  stroke: var(--border-strong);
  stroke-width: 1.5;
}
.bp__mod path {
  stroke: #d6dce8;
  stroke-width: 3;
  stroke-linecap: round;
}
.bp__mod--lit rect {
  fill: var(--blue-tint);
  stroke: var(--blue);
}
.bp__mod--lit path {
  stroke: var(--blue-line);
}
.bp__core rect:first-child {
  fill: var(--ink);
  stroke: var(--ink);
}
.bp__core rect:nth-child(2) {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
}
.bp__core circle {
  fill: #fff;
}
.bp__nodes rect {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 1.5;
}
.bp__pulse {
  fill: var(--blue);
}
.js .blueprint .bp__mod,
.js .blueprint .bp__core,
.js .blueprint .bp__nodes {
  opacity: 0;
  transform: scale(0.94);
  transform-box: fill-box;
  transform-origin: center;
}
.js .blueprint .bp__pulse {
  opacity: 0;
}
.blueprint.is-inview .bp__link {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.2s var(--ease-io) calc(0.35s + var(--bi, 0) * 0.12s);
}
.blueprint.is-inview .bp__mod,
.blueprint.is-inview .bp__core,
.blueprint.is-inview .bp__nodes {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s var(--ease-out) calc(0.1s + var(--bi, 0) * 0.08s),
    transform 0.7s var(--ease-out) calc(0.1s + var(--bi, 0) * 0.08s);
}
.blueprint.is-inview .bp__pulse {
  opacity: 1;
  transition: opacity 0.6s ease 1.6s;
}

/* 08 — BRANDS ----------------------------------------------------------- */
.brands {
  background: var(--surface);
}
.brands__title {
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 5rem);
}

.stage {
  position: sticky;
  top: calc(var(--nav-h) + 3rem);
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.92;
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  background-color: var(--surface-soft);
  background-image: radial-gradient(#d6dce8 1px, transparent 1px);
  background-size: 22px 22px;
  overflow: hidden;
}
.stage__logo {
  grid-area: 1 / 1;
  width: 66%;
  max-height: 46%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.5s var(--ease-out), transform 0.7s var(--ease-out);
}
.stage__logo.is-active {
  opacity: 1;
  transform: scale(1.04);
}
.stage__tick {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid var(--ink);
}
.stage__tick--tl { top: 16px; left: 16px; border-width: 1.5px 0 0 1.5px; }
.stage__tick--tr { top: 16px; right: 16px; border-width: 1.5px 1.5px 0 0; }
.stage__tick--bl { bottom: 16px; left: 16px; border-width: 0 0 1.5px 1.5px; }
.stage__tick--br { bottom: 16px; right: 16px; border-width: 0 1.5px 1.5px 0; }

/* Ecosystem tree */
.tree {
  position: relative;
  --spine-x: 11px;
}
.tree__root {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.5rem;
}
.tree__root img {
  width: 128px;
}
.tree__root-node {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  display: grid;
  place-items: center;
  flex: none;
}
.tree__root-node::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}
.tree__spine {
  position: absolute;
  left: var(--spine-x);
  top: 34px;
  bottom: 0;
  width: 1px;
  background: var(--border-strong);
}
.tree__spine-fill {
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: scaleY(var(--spine, 0));
  transform-origin: top;
}

.brand {
  position: relative;
  padding: 0 0 0 calc(var(--spine-x) * 2 + 1.1rem);
  transition: transform var(--t-med) var(--ease-out);
}
.brand__body {
  position: relative;
  padding: 1.75rem 0 1.75rem;
  border-top: 1px solid var(--border);
  transition: border-color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.brand__body::before {
  content: "";
  position: absolute;
  inset: 0 -1.25rem 0 -1.25rem;
  z-index: -1;
  background: var(--surface-soft);
  border-radius: var(--r-m);
  opacity: 0;
  transition: opacity var(--t-med) var(--ease-out);
}
.brand:last-child .brand__body {
  border-bottom: 1px solid var(--border);
}
.brand__node {
  position: absolute;
  left: calc(var(--spine-x) - 4.5px);
  top: 2.15rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border-strong);
  transition: background-color var(--t-med), border-color var(--t-med), transform var(--t-med) var(--ease-out),
    box-shadow var(--t-med);
}
.brand__logo {
  width: 150px;
  margin-bottom: 1.1rem;
  transform-origin: left center;
  transition: transform var(--t-med) var(--ease-out);
}
@media (min-width: 992px) {
  .brand__logo {
    display: none;
  }
}
.brand__name {
  font-size: var(--fs-h3);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand__text {
  margin-top: 0.4rem;
  max-width: 44ch;
  color: var(--muted);
}
.brand.is-active .brand__node {
  background: var(--blue);
  border-color: var(--blue);
  transform: scale(1.35);
  box-shadow: 0 0 0 5px rgba(11, 92, 245, 0.14);
}
.brand.is-active .brand__body {
  border-top-color: var(--ink);
}
.brand.is-active .brand__body::before {
  opacity: 1;
}
@media (hover: hover) {
  .brand:hover .brand__body {
    transform: translateX(6px);
  }
  .brand:hover .brand__logo {
    transform: scale(1.05);
  }
}
.brand.is-active .brand__body,
.brand:hover .brand__body {
  border-top-color: var(--ink);
}

/* 09 — SOFTWARE (BW TASK) ---------------------------------------------- */
.software {
  position: relative;
  isolation: isolate;
  margin: 0 clamp(8px, 1.5vw, 20px);
  padding-block: var(--section-y);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: #b8c2d4;
  overflow: hidden;
}
.software__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(60% 70% at 85% 20%, rgba(11, 92, 245, 0.28), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(11, 92, 245, 0.12), transparent 70%);
}
.software__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 70%, transparent);
}
.software__copy {
  margin-bottom: clamp(3rem, 6vw, 0rem);
}
.software .h-section {
  max-width: none;
  font-size: clamp(3rem, 1.8rem + 5vw, 5.5rem);
  letter-spacing: -0.045em;
}
.software .lead {
  margin-bottom: 2.25rem;
  max-width: 30ch;
}

.product {
  position: relative;
  padding: 1.5rem 0 3rem;
  --scroll-p: 0;
}
.app {
  position: relative;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 50px 100px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform-origin: 30% 50%;
  transition: transform 0.9s var(--ease-out);
}
@media (min-width: 992px) {
  .app {
    transform: perspective(2200px) rotateY(-9deg) rotateX(4deg);
  }
  .product:hover .app {
    transform: perspective(2200px) rotateY(-5deg) rotateX(2deg);
  }
}
.app__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
}
.app__logo {
  width: 78px;
}
.app__search {
  flex: 1;
  height: 26px;
  max-width: 260px;
  margin-inline: auto 0;
  border-radius: 7px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}
.app__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-tint);
  border: 1px solid var(--blue-line);
}
.app__main {
  display: grid;
  grid-template-columns: 44px 1fr;
}
.app__side {
  display: grid;
  align-content: start;
  gap: 0.6rem;
  padding: 0.9rem 0;
  justify-items: center;
  border-right: 1px solid var(--border);
  background: var(--surface-soft);
}
.app__side-item {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #dfe5ee;
}
.app__side-item.is-on {
  background: var(--blue);
}
.app__board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0.9rem;
  align-items: start;
  min-height: 250px;
}
.app__col {
  display: grid;
  gap: 0.55rem;
}
.app__col-head {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.1rem 0.1rem 0.35rem;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.dot--red { background: #f0564a; }
.dot--blue { background: var(--blue); }
.dot--green { background: #22b573; }
.kcard {
  display: grid;
  gap: 0.45rem;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-s);
}
.kcard--live {
  border-color: var(--blue-line);
  background: var(--blue-tint);
}
.sk {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: #e3e8f0;
}
.kcard--live .sk {
  background: var(--blue-line);
}
.sk--w30 { width: 30%; } .sk--w35 { width: 35%; } .sk--w40 { width: 40%; } .sk--w45 { width: 45%; }
.sk--w50 { width: 50%; } .sk--w55 { width: 55%; } .sk--w60 { width: 60%; } .sk--w65 { width: 65%; }
.sk--w70 { width: 70%; } .sk--w75 { width: 75%; } .sk--w80 { width: 80%; } .sk--w100 { width: 100%; }
.kcard__progress {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
}
.kcard__progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
  transform-origin: left;
  transform: scaleX(0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .kcard__progress span {
    animation: progress 5.5s var(--ease-io) infinite;
  }
  .kcard--live {
    animation: card-nudge 5.5s var(--ease-io) infinite;
  }
}
@keyframes progress {
  0% { transform: scaleX(0.12); }
  70%, 100% { transform: scaleX(1); }
}
@keyframes card-nudge {
  0%, 70% { transform: none; }
  80% { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(11, 92, 245, 0.5); }
  100% { transform: none; }
}

.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.05), 0 24px 40px -18px rgba(0, 0, 0, 0.55);
  transform: translate3d(0, calc(var(--shift, 0) * 1px), 0);
}
.chip__lines {
  display: grid;
  gap: 0.4rem;
  width: 74px;
}
.chip__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
}
.chip__icon svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.chip--check {
  left: -2%;
  bottom: 14%;
}
.chip--ring {
  right: -2%;
  top: 2%;
}
.chip--team {
  right: 8%;
  bottom: 2%;
  padding: 0.55rem 0.8rem;
}
.chip__ring {
  width: 34px;
  height: 34px;
  transform: rotate(-90deg);
}
.chip__ring-bg,
.chip__ring-fg {
  stroke-width: 4;
}
.chip__ring-bg {
  stroke: #e3e8f0;
}
.chip__ring-fg {
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 28;
}
.chip__avatars {
  display: flex;
}
.chip__avatars i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #cfd8e8;
}
.chip__avatars i + i {
  margin-left: -8px;
  background: var(--blue-line);
}
.chip__avatars i:last-child {
  background: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .chip--check { animation: bob 6s ease-in-out infinite; }
  .chip--ring { animation: bob 7s ease-in-out -2s infinite; }
  .chip--team { animation: bob 8s ease-in-out -4s infinite; }
  .chip__ring-fg { animation: ring 5.5s var(--ease-io) infinite; }
}
@keyframes bob {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -8px; }
}
@keyframes ring {
  0% { stroke-dashoffset: 88; }
  70%, 100% { stroke-dashoffset: 0; }
}
@media (max-width: 575.98px) {
  .chip__lines {
    width: 52px;
  }
  .chip--check {
    left: 2%;
    bottom: 10%;
  }
  .chip--ring {
    right: 2%;
  }
  .app__board {
    gap: 0.45rem;
    padding: 0.65rem;
    min-height: 200px;
  }
  .kcard {
    padding: 0.5rem;
  }
}

/* 10 — CLIENTS ---------------------------------------------------------- */
.clients {
  background: var(--surface);
}
.clients .h-section {
  margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  background: var(--border);
  overflow: hidden;
}
@media (min-width: 992px) {
  .wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.wall__cell {
  display: grid;
  place-items: center;
  height: clamp(88px, 14vw, 150px);
  padding: 1rem;
  background: var(--surface);
  transition: background-color var(--t-med) var(--ease-out);
}
.wall__cell img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 66%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.2);
  opacity: 0.9;
  transition: filter var(--t-med) var(--ease-out), opacity var(--t-med) var(--ease-out),
    transform var(--t-med) var(--ease-out);
}
.wall__cell:hover {
  background: var(--surface-soft);
}
.wall__cell:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* 11 — GLOBAL ----------------------------------------------------------- */
.global {
  background: linear-gradient(to bottom, var(--surface), var(--surface-soft) 30%, var(--surface-soft) 80%, var(--surface));
}
.global__head .lead {
  max-width: 52ch;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
}
.chip-btn {
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out),
    color var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out);
}
.chip-btn:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.chip-btn[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.map {
  position: relative;
  aspect-ratio: 1000 / 430;
  margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.map__dots,
.map__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map__arc {
  stroke: var(--blue);
  stroke-width: 1.4;
  stroke-opacity: 0.55;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.map.is-inview .map__arc {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.6s var(--ease-io) calc(0.5s + var(--ai, 0) * 0.22s);
}

.pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 0;
  height: 0;
}
.pin--usa { --x: 25.17%; --y: 30.5%; }
.pin--canada { --x: 25.12%; --y: 16.59%; }
.pin--poland { --x: 54.61%; --y: 19.57%; }
.pin--uae { --x: 64.57%; --y: 40.78%; }
.pin--india { --x: 71.5%; --y: 42.9%; }
.pin--singapore { --x: 78.84%; --y: 57.31%; }
.pin--australia { --x: 86.04%; --y: 77.26%; }
.pin--nz { --x: 94.63%; --y: 88.99%; }
.pin i {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 3px var(--surface-soft);
  transition: transform var(--t-med) var(--ease-out), background-color var(--t-med);
}
.pin i::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  opacity: 0;
}
.pin b {
  position: absolute;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px var(--border);
  transition: background-color var(--t-med), color var(--t-med), box-shadow var(--t-med);
}
.pin--right b { left: 14px; top: -11px; }
.pin--left b { right: 14px; top: -11px; }
.pin--top b { left: -50%; top: -34px; transform: translateX(-25%); }
.js .map .pin {
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.6s var(--ease-out) calc(0.2s + var(--pi, 0) * 0.14s),
    transform 0.7s var(--ease-out) calc(0.2s + var(--pi, 0) * 0.14s);
}
.js .map.is-inview .pin {
  opacity: 1;
  transform: none;
}
.map[data-active] .pin:not(.is-on) {
  opacity: 0.55;
}
.pin.is-on i {
  background: var(--blue);
  transform: scale(1.35);
}
.pin.is-on i::after {
  animation: pin-ping 1.8s var(--ease-out) infinite;
}
.pin.is-on b {
  background: var(--blue);
  color: #fff;
  box-shadow: none;
}
@keyframes pin-ping {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(3.2); opacity: 0; }
}
@media (max-width: 575.98px) {
  .pin b {
    display: none;
  }
  .pin.is-on b {
    display: block;
  }
}
.global__note {
  max-width: 62ch;
  margin-top: clamp(1.5rem, 1rem + 2vw, 3rem);
  color: var(--text);
}

/* 12 — CONTACT ---------------------------------------------------------- */
.contact {
  overflow: hidden;
  isolation: isolate;
}
.contact__bg {
  position: absolute;
  z-index: -1;
  left: -12%;
  bottom: -28%;
  width: min(90vw, 780px);
  aspect-ratio: 1;
  opacity: 0.8;
  pointer-events: none;
}
.contact__bg svg {
  width: 100%;
  height: 100%;
}
.contact__bg circle:not(.contact__node),
.contact__bg path {
  stroke: var(--border);
  stroke-width: 1;
}
.contact__bg circle:nth-child(2) { stroke-dasharray: 2 7; }
.contact__bg circle:nth-child(4) { stroke-dasharray: 2 7; }
.contact__node {
  fill: var(--surface);
  stroke: var(--blue);
  stroke-width: 1.5;
}
.contact__inner {
  position: relative;
}
.contact .row {
  row-gap: 3rem;
}

.form {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-l);
}
.field {
  display: grid;
  gap: 0.5rem;
}
.field__label {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--ink);
}
.field__control {
  width: 100%;
  min-height: 54px;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-m);
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.field__control::placeholder {
  color: #8a94a6;
}
.field__control:hover {
  border-color: #aab4c5;
}
.field__control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(11, 92, 245, 0.14);
}
.field__control--area {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}
.field__control[aria-invalid="true"] {
  border-color: #d92d20;
}
.field__control[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.14);
}
.field__error {
  display: none;
  font-size: var(--fs-small);
  font-weight: 600;
  color: #b42318;
}
.field__control[aria-invalid="true"] ~ .field__error {
  display: block;
}

/* 13 — FOOTER ----------------------------------------------------------- */
.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4rem, 3rem + 4vw, 7rem);
  background: var(--ink);
  color: #98a2b3;
}
.footer__line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.footer__line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  transform: translateX(-100%);
}
@media (prefers-reduced-motion: no-preference) {
  .footer__line::after {
    animation: line-run 7s var(--ease-io) infinite;
  }
}
@keyframes line-run {
  to {
    transform: translateX(260%);
  }
}
.footer__brand {
  display: inline-block;
  width: 168px;
}
.footer__about {
  margin-top: 1.5rem;
  max-width: 42ch;
  font-size: 0.95rem;
}
.social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.75rem;
}
.social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-m);
  color: #d0d5dd;
  transition: background-color var(--t-med) var(--ease-out), border-color var(--t-med) var(--ease-out),
    color var(--t-med), transform var(--t-med) var(--ease-out);
}
.social__link:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
  transform: translateY(-2px);
}
.footer__list {
  display: grid;
  gap: 0.35rem;
}
.footer__list a {
  position: relative;
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #d0d5dd;
  transition: color var(--t-fast);
}
.footer__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease-out);
}
.footer__list a:hover {
  color: #fff;
}
.footer__list a:hover::after {
  transform: scaleX(1);
}
.footer__base {
  margin-top: clamp(3rem, 2rem + 3vw, 5rem);
  padding: 1.75rem 0 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-small);
}
.footer :focus-visible {
  outline-color: #7aa7ff;
}

/* 14 — BACK TO TOP ------------------------------------------------------ */
.to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s linear 0.4s,
    background-color var(--t-med), box-shadow var(--t-med);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0s,
    background-color var(--t-med), box-shadow var(--t-med);
}
.to-top.is-visible:hover {
  transform: translateY(-3px);
  background: var(--blue);
}
.to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.to-top__ring-bg,
.to-top__ring-fg {
  stroke-width: 2;
}
.to-top__ring-bg {
  stroke: rgba(255, 255, 255, 0.16);
}
.to-top__ring-fg {
  stroke: #fff;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--progress, 0));
}
.to-top__arrow {
  position: relative;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Over the dark footer */
.to-top.is-on-dark {
  background: #fff;
  color: var(--ink);
}
.to-top.is-on-dark .to-top__ring-bg {
  stroke: rgba(11, 18, 32, 0.12);
}
.to-top.is-on-dark .to-top__ring-fg {
  stroke: var(--ink);
}
.to-top.is-on-dark.is-visible:hover {
  background: var(--blue);
  color: #fff;
}

/* 15 — REVEAL SYSTEM ---------------------------------------------------- */
.js [data-animate] {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease-out) var(--delay, 0s),
    transform var(--t-slow) var(--ease-out) var(--delay, 0s),
    clip-path 1s var(--ease-out) var(--delay, 0s);
}
.js [data-animate="fade-up"] { transform: translate3d(0, 28px, 0); }
.js [data-animate="fade-left"] { transform: translate3d(36px, 0, 0); }
.js [data-animate="fade-right"] { transform: translate3d(-36px, 0, 0); }
.js [data-animate="scale"] { transform: scale(0.94); }
/* Not fully collapsed: browsers measure intersection on the clipped box, so a sliver must stay "visible" */
.js [data-animate="reveal"] {
  opacity: 1;
  clip-path: inset(0 0 99% 0);
}
.js [data-animate].is-inview {
  opacity: 1;
  transform: none;
}
/* clip-path only exists on the "reveal" variant; generous negatives keep shadows and descenders */
.js [data-animate="reveal"].is-inview {
  clip-path: inset(-10% -10% -20% -10%);
}
/* The h-display clips glyph descenders if the inset is tight, so give it room */
.js .h-display[data-animate="reveal"] {
  padding-bottom: 0.12em;
}

/* 16 — REDUCED MOTION --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .js [data-animate],
  .js [data-animate].is-inview {
    transform: none !important;
    clip-path: none !important;
    transition: opacity 0.3s ease !important;
  }
  .js [data-animate="reveal"] {
    opacity: 0;
  }
  .js [data-animate="reveal"].is-inview {
    opacity: 1;
  }
  .js [data-hero],
  .js .line__in[data-hero] {
    transform: none !important;
  }
  .is-ready [data-hero] {
    transition: opacity 0.3s ease !important;
  }
  .hero__content {
    transform: none !important;
    opacity: 1;
  }
  .net__edge,
  .bp__link,
  .map__arc {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  .net__pulse,
  .bp__pulse {
    display: none;
  }
  .js .net__node,
  .js .net__dust,
  .js .blueprint .bp__mod,
  .js .blueprint .bp__core,
  .js .blueprint .bp__nodes,
  .js .map .pin {
    transform: none !important;
    transition: opacity 0.3s ease !important;
  }
  .app,
  .product:hover .app {
    transform: none !important;
  }
  .btn:hover,
  .chip-btn:hover,
  .social__link:hover,
  .brand:hover .brand__body,
  .brand:hover .brand__logo {
    transform: none;
  }
  .stage__logo,
  .stage__logo.is-active {
    transform: none;
  }
}
