:root {
  --navy: #001126;
  --deep-navy: #001b3a;
  --blue: #0878ff;
  --signal-blue: #0066f5;
  --ice: #f6f9ff;
  --steel: #40516b;
  --pale-blue: #a8c7ff;
  --white: #ffffff;
  --line: #dbe6f5;
  --page: min(1392px, calc(100vw - 96px));
  --display: "Aptos Display", Aptos, "Segoe UI", Arial, sans-serif;
  --body: Aptos, "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

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

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

h1,
h2,
h3 {
  font-family: var(--display);
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--white);
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(240px, 360px) 1fr auto;
  align-items: center;
  min-height: 118px;
  gap: 44px;
}

.brand {
  display: inline-block;
  width: min(100%, 280px);
}

.brand img {
  width: 100%;
  height: auto;
}

.primary-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(28px, 3vw, 58px);
}

.primary-navigation a,
.footer-navigation a {
  position: relative;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.primary-navigation a::after,
.footer-navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after,
.footer-navigation a:hover::after,
.footer-navigation a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--signal-blue);
  border-color: var(--signal-blue);
  transform: translateY(-2px);
}

.button--small {
  min-height: 48px;
  padding: 12px 20px;
  font-size: 15px;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 920px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -15vw;
  bottom: -34vw;
  width: 66vw;
  height: 66vw;
  border: 1px solid rgba(168, 199, 255, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(500px, 1.07fr);
  align-items: center;
  min-height: 920px;
  padding-top: 112px;
  gap: clamp(40px, 4vw, 84px);
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 670px;
}

.hero h1 {
  margin-bottom: 26px;
  color: var(--ice);
  font-size: clamp(58px, 5.1vw, 86px);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 0.99;
}

.hero__copy > p {
  max-width: 610px;
  margin-bottom: 38px;
  color: var(--pale-blue);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.48;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0 8px;
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.text-link svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(5px);
}

.system-map {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 690px);
  opacity: 0.98;
}

.system-map svg {
  width: 100%;
  overflow: visible;
}

.system-map__quiet,
.system-map__active {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.system-map__quiet {
  stroke: rgba(168, 199, 255, 0.38);
  stroke-width: 1.45;
}

.system-map__quiet circle,
.system-map__quiet rect {
  fill: var(--deep-navy);
  stroke: rgba(168, 199, 255, 0.68);
  stroke-width: 2;
}

.system-map__active {
  stroke: var(--blue);
  stroke-width: 5;
}

.system-map__active circle {
  fill: var(--blue);
  stroke: var(--navy);
  stroke-width: 6;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 30px;
  display: grid;
  justify-items: center;
  color: var(--blue);
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 38px;
  background: var(--pale-blue);
}

.scroll-cue svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.section {
  padding: 128px 0 136px;
}

.services {
  background: var(--white);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 76px;
}

.section-label {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(48px, 4.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.section-heading > p:not(.section-label) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--steel);
  font-size: clamp(19px, 1.55vw, 24px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service {
  min-height: 350px;
  padding: 20px clamp(34px, 4vw, 70px) 20px 0;
}

.service + .service {
  padding-left: clamp(34px, 4vw, 70px);
  border-left: 3px solid var(--blue);
}

.service__number {
  margin-bottom: 18px;
  color: var(--blue);
  font-family: var(--display);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.service h3 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(34px, 3vw, 49px);
  line-height: 1.05;
}

.service > p:last-child {
  max-width: 360px;
  margin-bottom: 0;
  color: var(--steel);
  font-size: 20px;
}

.approach {
  background: var(--ice);
}

.section-heading--wide {
  max-width: 1040px;
}

.v-cycle {
  position: relative;
  min-height: 1080px;
  padding-bottom: 116px;
}

.v-cycle__lines {
  position: absolute;
  top: 14px;
  left: 50%;
  width: min(42%, 590px);
  height: 720px;
  overflow: visible;
  transform: translateX(-50%);
}

.v-cycle__lines path {
  fill: none;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.v-cycle__lines marker path {
  fill: var(--blue);
  stroke: none;
}

.v-cycle__path {
  stroke: var(--blue);
  stroke-width: 4;
}

.v-cycle__trace {
  stroke: rgba(64, 81, 107, 0.42);
  stroke-width: 1.5;
  stroke-dasharray: 7 10;
}

.v-cycle__stages {
  position: relative;
  min-height: 960px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.v-stage {
  position: absolute;
  z-index: 2;
  width: min(29%, 360px);
  padding: 18px 20px 20px;
  border-left: 4px solid var(--blue);
  background: transparent;
}

.v-stage__number {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.v-stage h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: clamp(23px, 2vw, 30px);
  line-height: 1.08;
}

.v-stage p {
  margin-bottom: 0;
  color: var(--steel);
  font-size: 16px;
  line-height: 1.45;
}

.v-stage--needs {
  top: 0;
  left: 0;
}

.v-stage--validation {
  top: 0;
  right: 0;
}

.v-stage--system-definition {
  top: 238px;
  left: 0;
}

.v-stage--system-test {
  top: 238px;
  right: 0;
}

.v-stage--software-design {
  top: 482px;
  left: 0;
}

.v-stage--software-test {
  top: 482px;
  right: 0;
}

.v-stage--implementation {
  top: 748px;
  left: 50%;
  width: min(38%, 440px);
  transform: translateX(-50%);
}

.v-cycle__mobile-direction {
  display: none;
}

.v-cycle__assurance {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 23px 28px;
  border-top: 1px solid var(--blue);
  border-bottom: 1px solid var(--blue);
  color: var(--steel);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.ai-capability {
  background: var(--deep-navy);
  color: var(--white);
}

.ai-capability__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: start;
  gap: clamp(70px, 8vw, 130px);
}

.ai-capability__intro h2 {
  margin-bottom: 28px;
  color: var(--ice);
  font-size: clamp(48px, 4.2vw, 68px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.ai-capability__intro > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--pale-blue);
  font-size: clamp(19px, 1.45vw, 23px);
}

.ai-capability__points {
  border-top: 2px solid var(--blue);
}

.ai-capability__points article {
  display: grid;
  grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1.25fr);
  gap: 38px;
  padding: 34px 0 38px;
  border-bottom: 1px solid rgba(168, 199, 255, 0.28);
}

.ai-capability__points h3 {
  margin-bottom: 0;
  color: var(--white);
  font-size: 27px;
  line-height: 1.12;
}

.ai-capability__points p {
  margin-bottom: 0;
  color: var(--pale-blue);
  font-size: 17px;
}

.experience {
  padding: 88px 0;
  background: var(--white);
}

.experience__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  align-items: center;
  gap: clamp(60px, 9vw, 160px);
}

.experience__figure {
  margin-bottom: 0;
  color: var(--blue);
  font-family: var(--display);
  font-size: clamp(54px, 5.6vw, 82px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.experience h2 {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(34px, 3vw, 48px);
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.experience__inner > div p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--steel);
  font-size: 20px;
}

.contact {
  padding: 132px 0 124px;
  background: var(--navy);
  color: var(--white);
}

.contact__inner {
  max-width: 1392px;
}

.contact h2 {
  max-width: 900px;
  color: var(--ice);
}

.contact p {
  max-width: 760px;
  margin-bottom: 38px;
  color: var(--pale-blue);
  font-size: clamp(20px, 1.7vw, 26px);
}

.site-footer {
  border-top: 1px solid var(--blue);
  background: var(--navy);
  color: var(--white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  align-items: center;
  gap: 44px 80px;
  padding: 54px 0 42px;
}

.brand--footer {
  width: min(100%, 280px);
  grid-row: 1 / span 2;
}

.footer-navigation {
  display: flex;
  justify-content: flex-end;
  gap: clamp(28px, 5vw, 80px);
}

.legal {
  justify-self: end;
  margin: 0;
  color: var(--pale-blue);
  font-size: 14px;
  text-align: right;
}

@media (max-width: 1120px) {
  :root {
    --page: min(100% - 56px, 1040px);
  }

  .site-header__inner {
    grid-template-columns: minmax(220px, 280px) 1fr auto;
    gap: 28px;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .hero__layout {
    min-height: 820px;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
  }

  .system-map {
    opacity: 0.78;
  }

  .service {
    padding-right: 34px;
  }

  .service + .service {
    padding-left: 34px;
  }

  .v-cycle {
    min-height: 1080px;
  }

  .v-stage {
    width: min(29%, 300px);
    padding-right: 16px;
  }

  .v-stage--system-definition {
    left: 0;
  }

  .v-stage--system-test {
    right: 0;
  }

  .v-stage--software-design {
    left: 0;
  }

  .v-stage--software-test {
    right: 0;
  }

  .ai-capability__layout {
    grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr);
    gap: 54px;
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 40px, 720px);
  }

  body {
    font-size: 17px;
  }

  .site-header {
    position: fixed;
    background: rgba(0, 17, 38, 0.97);
    border-bottom: 1px solid rgba(168, 199, 255, 0.14);
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    min-height: 82px;
  }

  .brand {
    width: 225px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border: 0;
    background: transparent;
    color: var(--white);
    font-family: var(--body);
    font-size: 15px;
    font-weight: 700;
  }

  .menu-button__icon {
    display: grid;
    gap: 6px;
    width: 24px;
  }

  .menu-button__icon span {
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] .menu-button__icon span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-button__icon span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-navigation {
    position: absolute;
    top: 81px;
    left: 0;
    display: grid;
    width: 100%;
    padding: 12px 20px 24px;
    background: var(--navy);
    border-bottom: 1px solid var(--blue);
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .primary-navigation[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-navigation a {
    padding: 14px 4px;
    font-size: 18px;
  }

  .hero,
  .hero__layout {
    min-height: auto;
  }

  .hero__layout {
    display: block;
    padding-top: 172px;
    padding-bottom: 112px;
  }

  .hero__copy {
    max-width: 620px;
  }

  .hero h1 {
    font-size: clamp(48px, 11vw, 72px);
  }

  .system-map {
    width: 540px;
    max-width: 88vw;
    margin: 70px auto 0;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 92px 0 100px;
  }

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

  .section-heading h2,
  .contact h2 {
    font-size: clamp(42px, 8vw, 60px);
  }

  .service-list {
    display: block;
  }

  .service,
  .service + .service {
    min-height: 0;
    padding: 0 0 48px 30px;
    border-left: 3px solid var(--blue);
  }

  .service + .service {
    padding-top: 10px;
  }

  .service:not(:last-child) {
    margin-bottom: 38px;
  }

  .v-cycle {
    min-height: 0;
    padding-bottom: 0;
  }

  .v-cycle__lines {
    display: none;
  }

  .v-cycle__mobile-direction {
    display: block;
    margin: -12px 0 34px;
    color: var(--blue);
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-align: center;
  }

  .v-cycle__stages {
    display: grid;
    min-height: 0;
    gap: 18px;
  }

  .v-stage,
  .v-stage--implementation {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    padding: 22px 24px 24px;
    transform: none;
  }

  .v-stage:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -19px;
    left: 28px;
    width: 2px;
    height: 20px;
    background: var(--blue);
  }

  .v-cycle__assurance {
    position: static;
    margin-top: 34px;
    text-align: left;
  }

  .ai-capability__layout,
  .experience__inner {
    grid-template-columns: 1fr;
  }

  .ai-capability__layout {
    gap: 64px;
  }

  .ai-capability__intro {
    max-width: 680px;
  }

  .experience__inner {
    gap: 32px;
  }

  .contact {
    padding: 98px 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    padding: 48px 0 36px;
  }

  .brand--footer {
    grid-row: auto;
  }

  .footer-navigation {
    justify-content: flex-start;
  }

  .legal {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  :root {
    --page: calc(100% - 32px);
  }

  .brand {
    width: 192px;
  }

  .menu-button__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hero__layout {
    padding-top: 142px;
    padding-bottom: 86px;
  }

  .hero h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .hero__copy > p {
    font-size: 19px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .system-map {
    margin-top: 52px;
  }

  .section {
    padding: 76px 0 84px;
  }

  .section-heading h2,
  .contact h2 {
    font-size: 42px;
  }

  .section-heading h2 br {
    display: none;
  }

  .section-heading > p:not(.section-label),
  .service > p:last-child,
  .contact p {
    font-size: 18px;
  }

  .service__number {
    font-size: 34px;
  }

  .service h3 {
    font-size: 38px;
  }

  .v-stage h3 {
    font-size: 27px;
  }

  .v-stage p,
  .v-cycle__assurance {
    font-size: 16px;
  }

  .ai-capability__layout {
    gap: 50px;
  }

  .ai-capability__intro h2 {
    font-size: 42px;
  }

  .ai-capability__intro > p:last-child {
    font-size: 18px;
  }

  .ai-capability__points article {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0 30px;
  }

  .ai-capability__points h3 {
    font-size: 27px;
  }

  .experience {
    padding: 72px 0 76px;
  }

  .experience__figure {
    font-size: 56px;
  }

  .experience h2 {
    font-size: 34px;
  }

  .experience__inner > div p {
    font-size: 18px;
  }

  .contact .button {
    width: 100%;
  }

  .footer-navigation {
    flex-wrap: wrap;
    gap: 24px 36px;
  }
}

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

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