:root {
  --ink: #0b1729;
  --ink-soft: #415068;
  --navy: #0b1729;
  --navy-light: #13243e;
  --blue: #4c6fff;
  --blue-dark: #3854d8;
  --blue-pale: #edf1ff;
  --mint: #4fd1ad;
  --mint-pale: #e9faf5;
  --paper: #f7f8fb;
  --white: #ffffff;
  --line: #dfe4ec;
  --line-dark: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 8px 24px rgba(14, 30, 54, 0.07);
  --shadow-md: 0 24px 70px rgba(14, 30, 54, 0.13);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, Aptos, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.12;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.7vw, 5.4rem);
  font-weight: 740;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
  font-weight: 720;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

::selection {
  color: var(--white);
  background: var(--blue);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(76, 111, 255, 0.45);
  outline-offset: 3px;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--mint);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--blue-dark);
}

.eyebrow-dot,
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(79, 209, 173, 0.12);
}

.button {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button svg {
  width: 19px;
  height: 19px;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover svg {
  transform: translateX(3px);
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(76, 111, 255, 0.24);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 15px 34px rgba(76, 111, 255, 0.32);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
}

.button-secondary:hover {
  background: var(--white);
  border-color: #c2cada;
}

.button-small {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition:
    height 200ms ease,
    background-color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(223, 228, 236, 0.8);
  box-shadow: 0 7px 28px rgba(14, 30, 54, 0.06);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(11, 23, 41, 0.15);
}

.brand-mark::after {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 21px;
  height: 21px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 0.96rem;
  letter-spacing: -0.015em;
}

.brand-copy small {
  margin-top: 3px;
  color: #718096;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav > a:not(.button) {
  position: relative;
  padding: 8px 0;
  color: #354158;
  font-size: 0.92rem;
  font-weight: 650;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 10px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

/* Hero */

.hero {
  position: relative;
  min-height: 760px;
  padding-top: calc(var(--header-height) + 100px);
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(237, 241, 255, 0.66), transparent 45%),
    var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 23, 41, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 23, 41, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  pointer-events: none;
}

.hero-glow-one {
  top: 90px;
  right: -180px;
  width: 570px;
  height: 570px;
  background: radial-gradient(circle, rgba(76, 111, 255, 0.12), transparent 68%);
}

.hero-glow-two {
  top: 250px;
  left: -240px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79, 209, 173, 0.1), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(470px, 0.98fr);
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 650px;
  padding-bottom: 55px;
}

.accent-text {
  position: relative;
  color: var(--blue);
  white-space: nowrap;
}

.accent-text::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 7px;
  background: url("data:image/svg+xml,%3Csvg width='300' height='10' viewBox='0 0 300 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 7c78-8 186 2 296-4' fill='none' stroke='%234fd1ad' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 100% 100% no-repeat;
  content: "";
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.07rem, 1.6vw, 1.23rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 0;
  color: #637188;
  font-size: 0.85rem;
}

.hero-note svg {
  width: 18px;
  height: 18px;
  padding: 3px;
  color: #16876c;
  background: var(--mint-pale);
  border-radius: 50%;
  stroke-width: 2.5;
}

.hero-visual {
  position: relative;
  padding: 18px 0 54px;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 60px -30px 5px 28px;
  background: linear-gradient(135deg, rgba(76, 111, 255, 0.2), rgba(79, 209, 173, 0.1));
  border-radius: 38px;
  content: "";
  transform: rotate(3deg);
}

.visual-window {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(205, 214, 228, 0.9);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.window-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 55px;
  padding: 0 18px;
  background: #fbfcfe;
  border-bottom: 1px solid #e6eaf1;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 8px;
  height: 8px;
  background: #d1d7e1;
  border-radius: 50%;
}

.window-dots span:first-child {
  background: #ff8c7d;
}

.window-dots span:nth-child(2) {
  background: #f7c65d;
}

.window-dots span:nth-child(3) {
  background: #4fd1ad;
}

.window-bar p {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  color: #536177;
  font-size: 0.76rem;
  font-weight: 650;
}

.window-bar .status-dot {
  width: 6px;
  height: 6px;
  box-shadow: 0 0 0 4px rgba(79, 209, 173, 0.12);
}

.live-label {
  justify-self: end;
  padding: 4px 8px;
  color: #32846e;
  background: var(--mint-pale);
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.system-map {
  position: relative;
  height: 414px;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(76, 111, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 111, 255, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, black, transparent 74%);
}

.map-source {
  position: absolute;
  top: 28px;
  left: 50%;
  display: flex;
  gap: 11px;
  align-items: center;
  min-width: 220px;
  padding: 11px 15px;
  background: var(--white);
  border: 1px solid #dfe5ef;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transform: translateX(-50%);
}

.node-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 9px;
}

.node-icon svg {
  width: 20px;
  height: 20px;
}

.map-source small,
.map-hub small {
  display: block;
  margin-bottom: 2px;
  color: #8b97aa;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.map-source strong,
.map-hub strong {
  display: block;
  font-size: 0.8rem;
}

.connector-main {
  position: absolute;
  top: 93px;
  left: 50%;
  width: 2px;
  height: 45px;
  background: #cbd4e3;
  transform: translateX(-50%);
}

.connector-main::after {
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(76, 111, 255, 0.15);
  content: "";
}

.connector-main span {
  position: absolute;
  top: 2px;
  left: 0;
  width: 2px;
  height: 13px;
  background: var(--blue);
  animation: data-flow-v 2s ease-in-out infinite;
}

.map-hub {
  position: absolute;
  z-index: 2;
  top: 137px;
  left: 50%;
  display: grid;
  width: 142px;
  min-height: 112px;
  place-items: center;
  padding: 13px;
  text-align: center;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(11, 23, 41, 0.22);
  transform: translateX(-50%);
}

.hub-ring {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(76, 111, 255, 0.26);
  border-radius: 23px;
}

.hub-ring::after {
  position: absolute;
  inset: -7px;
  border: 1px dashed rgba(76, 111, 255, 0.14);
  border-radius: 28px;
  content: "";
}

.hub-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--mint);
  background: rgba(79, 209, 173, 0.11);
  border-radius: 9px;
}

.hub-icon svg {
  width: 20px;
  height: 20px;
}

.map-hub small {
  margin-top: 7px;
  color: #8d9bb0;
  font-size: 0.48rem;
}

.map-hub strong {
  color: var(--white);
  font-size: 0.74rem;
}

.map-branches {
  position: absolute;
  z-index: 1;
  top: 245px;
  right: 43px;
  left: 43px;
  height: 90px;
  border-top: 2px solid #d4dbe7;
}

.map-branches::before {
  position: absolute;
  top: -32px;
  left: 50%;
  width: 2px;
  height: 32px;
  background: #d4dbe7;
  content: "";
}

.branch-line {
  position: absolute;
  top: 0;
  width: 2px;
  height: 59px;
  background: #d4dbe7;
}

.branch-line::after {
  position: absolute;
  bottom: -1px;
  left: -3px;
  width: 8px;
  height: 8px;
  background: var(--mint);
  border: 2px solid var(--white);
  border-radius: 50%;
  content: "";
}

.branch-line-one {
  left: 0;
}

.branch-line-two {
  left: 33.33%;
}

.branch-line-three {
  left: 66.66%;
}

.branch-line-four {
  right: 0;
}

.map-outputs {
  position: absolute;
  right: 22px;
  bottom: 26px;
  left: 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.output-node {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 10px 5px 8px;
  color: #66748a;
  background: var(--white);
  border: 1px solid #dfe5ef;
  border-radius: 11px;
  box-shadow: 0 7px 16px rgba(14, 30, 54, 0.07);
}

.output-node svg {
  width: 21px;
  height: 21px;
  color: var(--blue);
}

.output-node span {
  font-size: 0.62rem;
  font-weight: 750;
}

.window-result {
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 72px;
  padding: 13px 18px;
  background: #f8fafc;
  border-top: 1px solid #e6eaf1;
}

.window-result > span {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  color: #16876c;
  background: var(--mint-pale);
  border-radius: 50%;
}

.window-result > span svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.window-result p {
  display: flex;
  flex-direction: column;
  margin: 0 auto 0 0;
}

.window-result strong {
  color: #28364c;
  font-size: 0.72rem;
}

.window-result small {
  color: #8490a2;
  font-size: 0.63rem;
}

.mini-chart {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  width: 54px;
  height: 29px;
  padding: 4px 6px;
  background: var(--white);
  border: 1px solid #e3e7ee;
  border-radius: 6px;
}

.mini-chart i {
  width: 6px;
  height: 7px;
  background: #bcc7d7;
  border-radius: 2px 2px 0 0;
}

.mini-chart i:nth-child(2) {
  height: 10px;
}

.mini-chart i:nth-child(3) {
  height: 13px;
}

.mini-chart i:nth-child(4) {
  height: 17px;
  background: #8da2ff;
}

.mini-chart i:nth-child(5) {
  height: 21px;
  background: var(--blue);
}

.capability-strip {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  color: #68768a;
  border-top: 1px solid rgba(197, 206, 220, 0.72);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.capability-strip i {
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
}

@keyframes data-flow-v {
  0% {
    transform: translateY(-5px);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(25px);
    opacity: 0;
  }
}

/* Shared sections */

.section {
  padding: 128px 0;
}

.section-heading {
  margin-bottom: 62px;
}

.section-heading h2 {
  max-width: 720px;
}

.section-heading > p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.section-heading-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: end;
}

.section-heading-split h2 {
  margin-bottom: 0;
}

.section-heading-split > p {
  max-width: 480px;
  padding-bottom: 5px;
}

.section-heading.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  margin-bottom: 18px;
}

.section-heading.centered h2 {
  margin-bottom: 20px;
}

.section-intro {
  background: var(--white);
}

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

.value-card {
  position: relative;
  min-height: 275px;
  padding: 35px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.value-card::after {
  position: absolute;
  right: -45px;
  bottom: -55px;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(76, 111, 255, 0.08), transparent 65%);
  content: "";
}

.value-card:hover {
  border-color: #cad2e0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.card-number {
  position: absolute;
  top: 27px;
  right: 29px;
  color: #c5ccd8;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.line-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 12px;
}

.line-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  margin-bottom: 13px;
}

.value-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* Services */

.services-section {
  background: var(--paper);
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #edf0f5;
}

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

.service-card {
  display: flex;
  min-height: 308px;
  flex-direction: column;
  padding: 30px;
  background: var(--white);
  border: 1px solid #e0e5ed;
  border-radius: var(--radius-md);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.service-card:hover {
  border-color: #cbd3e0;
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.service-card-featured {
  position: relative;
  grid-column: span 2;
  flex-direction: row;
  gap: 28px;
  align-items: flex-start;
  min-height: 260px;
  padding: 40px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 8%, rgba(76, 111, 255, 0.3), transparent 35%),
    var(--navy);
  border-color: transparent;
}

.service-card-featured::after {
  position: absolute;
  right: -85px;
  bottom: -115px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 35px rgba(255, 255, 255, 0.025),
    0 0 0 70px rgba(255, 255, 255, 0.018);
  content: "";
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 12px;
}

.service-icon svg {
  width: 25px;
  height: 25px;
}

.service-card-featured .service-icon {
  color: var(--mint);
  background: rgba(79, 209, 173, 0.12);
}

.service-tag {
  margin-bottom: 10px;
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 22px 0 14px;
}

.service-card-featured h3 {
  margin: 0 0 13px;
  font-size: 1.8rem;
}

.service-card p {
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.service-card-featured p:not(.service-tag) {
  max-width: 570px;
  color: #c3cede;
}

.service-card-featured a {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 35px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 700;
}

.service-card-featured a svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.service-card-featured a:hover svg {
  transform: translateX(4px);
}

.service-outcome {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 28px;
  margin-top: auto;
  padding: 4px 10px;
  color: #53627a;
  background: #f1f4f8;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Experience */

.experience-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.experience-section::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  content: "";
  mask-image: linear-gradient(90deg, black, transparent);
}

.experience-glow {
  position: absolute;
  top: -200px;
  left: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(76, 111, 255, 0.16), transparent 68%);
}

.experience-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  gap: 90px;
  align-items: center;
}

.experience-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(2.35rem, 4vw, 3.7rem);
}

.experience-copy > p:not(.eyebrow) {
  color: #bac6d7;
  font-size: 1.02rem;
  line-height: 1.8;
}

.experience-checks {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.experience-checks span {
  display: flex;
  gap: 11px;
  align-items: center;
  color: #e2e8f0;
  font-size: 0.9rem;
}

.experience-checks svg {
  width: 21px;
  height: 21px;
  padding: 4px;
  color: var(--mint);
  background: rgba(79, 209, 173, 0.1);
  border-radius: 50%;
  stroke-width: 2.5;
}

.flow-card {
  padding: 25px 26px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.flow-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding-bottom: 18px;
  color: #aebbcf;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-status {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 5px 9px;
  color: var(--mint);
  background: rgba(79, 209, 173, 0.09);
  border-radius: 30px;
  font-size: 0.58rem;
}

.flow-status i {
  width: 5px;
  height: 5px;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(79, 209, 173, 0.1);
}

.flow-steps {
  display: grid;
  gap: 0;
}

.flow-step {
  display: flex;
  gap: 15px;
  align-items: center;
  min-height: 62px;
  padding: 10px 13px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
}

.flow-step-result {
  background: rgba(76, 111, 255, 0.14);
  border-color: rgba(120, 143, 255, 0.3);
}

.flow-step-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  color: #9eb0ff;
  background: rgba(76, 111, 255, 0.12);
  border-radius: 9px;
}

.flow-step-icon svg {
  width: 19px;
  height: 19px;
}

.flow-step p {
  display: grid;
  grid-template-columns: 25px 1fr;
  align-items: center;
  width: 100%;
  margin: 0;
}

.flow-step small {
  grid-row: span 2;
  color: #75849a;
  font-size: 0.58rem;
  font-weight: 750;
}

.flow-step strong {
  color: #f1f5fb;
  font-size: 0.81rem;
}

.flow-step p span {
  color: #8897ad;
  font-size: 0.66rem;
}

.flow-arrow {
  position: relative;
  width: 2px;
  height: 18px;
  margin-left: 30px;
  background: rgba(255, 255, 255, 0.15);
}

.flow-arrow::after {
  position: absolute;
  bottom: 0;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--mint);
  border-bottom: 2px solid var(--mint);
  content: "";
  transform: rotate(45deg);
}

/* Process */

.process-section {
  background: var(--white);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-item {
  position: relative;
  padding: 0 25px;
  border-left: 1px solid var(--line);
}

.process-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.process-item:last-child {
  padding-right: 0;
}

.process-number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.process-item h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.process-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
}

.collaboration-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin-top: 84px;
  padding: 42px 48px;
  background: var(--paper);
  border: 1px solid #e2e7ef;
  border-radius: var(--radius-md);
}

.collaboration-panel .eyebrow {
  margin-bottom: 12px;
}

.collaboration-panel h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.collaboration-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.collaboration-options span {
  padding: 10px 14px;
  color: #40506a;
  background: var(--white);
  border: 1px solid #dfe4ec;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(14, 30, 54, 0.04);
}

/* Contact */

.contact-section {
  position: relative;
  padding: 125px 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 50%, rgba(76, 111, 255, 0.2), transparent 32%),
    var(--navy);
}

.contact-pattern {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(255, 255, 255, 0.018),
    0 0 0 120px rgba(255, 255, 255, 0.012);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 100px;
  align-items: start;
}

.contact-copy {
  padding-top: 36px;
}

.contact-copy h2 {
  margin-bottom: 28px;
  font-size: clamp(2.45rem, 4.2vw, 3.8rem);
}

.contact-copy > p:not(.eyebrow) {
  color: #bec9d9;
  font-size: 1.05rem;
  line-height: 1.8;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 37px;
}

.contact-points span {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #dfe6f0;
  font-size: 0.87rem;
}

.contact-points svg {
  width: 20px;
  height: 20px;
  color: var(--mint);
}

.contact-form {
  padding: 42px;
  color: var(--ink);
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.form-heading {
  margin-bottom: 28px;
}

.form-heading h3 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.form-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form > label,
.form-row label {
  display: block;
  margin-bottom: 16px;
}

.contact-form label > span:first-child:not(.privacy-check span) {
  display: block;
  margin-bottom: 7px;
  color: #344156;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-form label b {
  color: var(--blue);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  background: #fbfcfe;
  border: 1px solid #d8dee8;
  border-radius: 9px;
  outline: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    background-color 150ms ease;
}

.contact-form input,
.contact-form select {
  height: 47px;
}

.contact-form textarea {
  min-height: 116px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(76, 111, 255, 0.1);
}

.contact-form [aria-invalid="true"] {
  border-color: #cf4354;
  box-shadow: 0 0 0 4px rgba(207, 67, 84, 0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a1aab8;
}

.privacy-check {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  margin: 4px 0 20px !important;
  cursor: pointer;
}

.privacy-check input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 3px 0 0;
  accent-color: var(--blue);
}

.privacy-check span {
  color: #637087;
  font-size: 0.72rem;
  line-height: 1.55;
}

.privacy-check a {
  color: var(--blue-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-footnote {
  margin: 13px 0 0;
  color: #7a879a;
  font-size: 0.68rem;
  text-align: center;
}

.form-status {
  min-height: 0;
  margin: 8px 0 0;
  color: #bb2e42;
  font-size: 0.76rem;
  font-weight: 650;
  text-align: center;
}

.form-status:empty {
  display: none;
}

/* Footer */

.site-footer {
  padding: 64px 0 28px;
  color: #c7d0de;
  background: #07111f;
}

.footer-main {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr auto;
  gap: 55px;
  align-items: center;
  padding-bottom: 42px;
}

.brand-footer .brand-mark {
  background: #17263c;
}

.brand-footer .brand-copy strong {
  color: var(--white);
}

.brand-footer .brand-copy small {
  color: #8290a4;
}

.footer-main > p {
  max-width: 480px;
  margin: 0;
  color: #8492a6;
  font-size: 0.85rem;
}

.footer-contact {
  color: var(--white);
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  color: #728197;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.7rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-bottom a {
  transition: color 150ms ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Legal pages */

.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-header {
  position: static;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.legal-main {
  padding: 92px 0 110px;
}

.legal-content {
  max-width: 830px;
  margin-inline: auto;
}

.legal-content .eyebrow {
  margin-bottom: 18px;
}

.legal-content h1 {
  margin-bottom: 20px;
  font-size: clamp(2.7rem, 5vw, 4.2rem);
}

.legal-intro {
  margin-bottom: 45px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.legal-notice {
  margin-bottom: 36px;
  padding: 18px 20px;
  color: #5b4a17;
  background: #fff8de;
  border: 1px solid #eee0a1;
  border-radius: 12px;
  font-size: 0.86rem;
}

.legal-section {
  margin-top: 36px;
  padding-top: 8px;
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.legal-section p,
.legal-section li {
  color: var(--ink-soft);
}

.legal-section a {
  color: var(--blue-dark);
  font-weight: 650;
  text-decoration: underline;
}

.placeholder {
  padding: 1px 5px;
  color: #8b4513;
  background: #fff0c2;
  border-radius: 4px;
  font-weight: 700;
}

.legal-back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 50px;
  color: var(--blue-dark);
  font-weight: 700;
}

.legal-back svg {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
}

/* Reveal animation */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(3rem, 5vw, 4.45rem);
  }

  .experience-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
  }

  .contact-grid {
    gap: 60px;
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: 20px;
    left: 20px;
    display: flex;
    gap: 2px;
    align-items: stretch;
    padding: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
    flex-direction: column;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a:not(.button) {
    padding: 12px 13px;
    border-radius: 8px;
  }

  .main-nav > a:not(.button):hover {
    background: var(--paper);
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 8px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 75px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    max-width: 720px;
    padding-bottom: 20px;
  }

  .hero-visual {
    width: min(100%, 650px);
    margin-inline: auto;
  }

  .capability-strip {
    gap: 16px;
    flex-wrap: wrap;
    padding: 24px 0;
  }

  .section {
    padding: 100px 0;
  }

  .section-heading-split {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .section-heading-split > p {
    max-width: 680px;
  }

  .value-card {
    padding: 28px;
  }

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

  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .experience-copy,
  .contact-copy {
    max-width: 720px;
  }

  .flow-card {
    max-width: 680px;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 0;
  }

  .process-item {
    min-height: 180px;
  }

  .process-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .collaboration-panel {
    gap: 36px;
  }

  .contact-grid {
    gap: 48px;
  }

  .contact-copy {
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  h1 {
    font-size: clamp(2.65rem, 12vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 56px);
  }

  .hero-copy .eyebrow {
    font-size: 0.68rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    align-items: flex-start;
    line-height: 1.5;
  }

  .accent-text {
    white-space: normal;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .hero-visual::before {
    inset: 45px -13px 20px 13px;
  }

  .visual-window {
    border-radius: 17px;
    transform: none;
  }

  .system-map {
    height: 380px;
  }

  .map-source {
    min-width: 198px;
  }

  .map-branches {
    right: 27px;
    left: 27px;
  }

  .map-outputs {
    right: 9px;
    left: 9px;
    gap: 5px;
  }

  .output-node {
    min-height: 64px;
    padding: 8px 2px 7px;
  }

  .output-node span {
    font-size: 0.54rem;
  }

  .window-result {
    padding-inline: 13px;
  }

  .mini-chart {
    display: none;
  }

  .capability-strip {
    gap: 11px 14px;
    justify-content: flex-start;
    font-size: 0.7rem;
  }

  .section {
    padding: 82px 0;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading > p:last-child {
    font-size: 1rem;
  }

  .value-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 240px;
  }

  .line-icon {
    margin-bottom: 36px;
  }

  .service-card {
    min-height: 270px;
  }

  .service-card-featured {
    grid-column: span 1;
    min-height: 355px;
    padding: 32px;
    flex-direction: column;
  }

  .service-card-featured a {
    right: auto;
    bottom: 30px;
    left: 32px;
  }

  .experience-grid {
    gap: 50px;
  }

  .flow-card {
    padding: 18px;
  }

  .flow-card-head {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-item,
  .process-item:first-child,
  .process-item:nth-child(3) {
    display: grid;
    grid-template-columns: 53px 1fr;
    gap: 18px;
    min-height: 0;
    padding: 0 0 28px;
    border: 0;
  }

  .process-item:not(:last-child)::after {
    position: absolute;
    top: 43px;
    bottom: 5px;
    left: 21px;
    width: 1px;
    background: var(--line);
    content: "";
  }

  .process-number {
    position: relative;
    z-index: 1;
    margin: 0;
  }

  .collaboration-panel {
    grid-template-columns: 1fr;
    margin-top: 50px;
    padding: 30px 25px;
  }

  .contact-section {
    padding: 85px 0;
  }

  .contact-form {
    padding: 28px 22px;
    border-radius: 18px;
  }

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

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-main > p {
    max-width: 420px;
  }

  .footer-bottom {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .footer-bottom nav {
    gap: 13px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .legal-main {
    padding: 65px 0 90px;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
