:root {
  --color-text: #12151b;
  --color-muted: #5d6675;
  --color-soft: #f5f7fa;
  --color-softer: #fafbfc;
  --color-line: #dde3eb;
  --color-accent: #0d63d8;
  --color-accent-dark: #084ca7;
  --color-white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(30, 42, 59, 0.08);
  --max-width: 1160px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(13, 99, 216, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(13, 99, 216, 0.025) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 620px);
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(13, 99, 216, 0.35);
  outline-offset: 4px;
}

p {
  margin: 0;
  color: var(--color-muted);
}

p + p {
  margin-top: 1.05rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 870px;
  font-size: clamp(2.25rem, 5vw, 4.65rem);
  font-weight: 720;
}

h2 {
  max-width: 760px;
  font-size: clamp(1.9rem, 3.5vw, 3.15rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 680;
}

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

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 30;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-text);
  border-radius: 4px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(221, 227, 235, 0.75);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(100% - 40px, var(--max-width));
  min-height: var(--header-height);
  margin-inline: auto;
}

.nav__brand {
  flex: 0 0 auto;
}

.nav__brand img {
  width: clamp(148px, 18vw, 210px);
  height: auto;
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.92rem;
  font-weight: 560;
  color: #303744;
}

.nav__links a {
  position: relative;
  padding-block: 8px;
}

.nav__links a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--color-accent-dark);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.section {
  scroll-margin-top: var(--header-height);
  padding-block: clamp(86px, 11vw, 150px);
}

.section--light {
  background: var(--color-soft);
}

.section__intro {
  margin-bottom: clamp(42px, 6vw, 78px);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: block;
  min-height: min(560px, calc(100vh - var(--header-height)));
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%);
}

.hero.section {
  padding-block: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: clamp(44px, 2.5vh, 56px);
  padding-bottom: clamp(64px, 9vw, 108px);
}

.hero__mark {
  position: absolute;
  right: -130px;
  bottom: -170px;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(13, 99, 216, 0.11);
  border-radius: 50%;
  opacity: 0.7;
}

.hero__mark::before,
.hero__mark::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(13, 99, 216, 0.1);
  border-radius: 50%;
}

.hero__mark::before {
  inset: 13%;
}

.hero__mark::after {
  inset: 28%;
}

.hero__lead {
  max-width: 780px;
  margin-top: 26px;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  line-height: 1.62;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
  color: var(--color-accent-dark);
  font-weight: 680;
}

.text-link::after {
  width: 32px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(6px);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 58px);
}

.service {
  padding-top: 26px;
  border-top: 1px solid var(--color-line);
}

.service__number {
  display: block;
  margin-bottom: 28px;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 760;
}

.service h3 {
  margin-bottom: 20px;
}

.service p {
  font-size: 0.98rem;
}

.approach {
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 1px), rgba(13, 99, 216, 0.11) calc(50% - 1px), rgba(13, 99, 216, 0.11) 50%, transparent 50%),
    var(--color-white);
}

.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(46px, 7vw, 86px);
  align-items: start;
}

.approach__headline {
  position: sticky;
  top: calc(var(--header-height) + 42px);
}

.approach__copy {
  max-width: 660px;
}

.tech-line {
  margin-top: clamp(60px, 8vw, 96px);
  padding-top: clamp(28px, 4vw, 42px);
  border-top: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: clamp(1.55rem, 3.4vw, 3.4rem);
  font-weight: 620;
  line-height: 1.25;
}

.approach__note {
  max-width: 780px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(44px, 8vw, 96px);
  align-items: start;
}

.portrait-slot {
  overflow: hidden;
  min-height: 430px;
  background: var(--color-softer);
  border: 1px solid var(--color-line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.portrait-slot img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
}

.about__copy {
  max-width: 760px;
}

.about__copy h2 {
  margin-bottom: 30px;
}

.contact {
  background: var(--color-text);
}

.contact .eyebrow,
.contact h2,
.contact p,
.contact strong,
.contact span,
.contact a {
  color: var(--color-white);
}

.contact .eyebrow {
  color: #8dbbff;
}

.contact__inner {
  max-width: 880px;
}

.contact__lead {
  max-width: 760px;
  margin-top: 30px;
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.contact__details {
  display: grid;
  gap: 4px;
  margin-top: 38px;
  font-style: normal;
}

.contact__details strong {
  font-size: 1.08rem;
}

.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.contact__links a {
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(141, 187, 255, 0.65);
  color: #dceaff;
  font-weight: 650;
}

.contact__links a:hover {
  color: var(--color-white);
  border-color: var(--color-white);
}

.footer {
  padding-block: 24px;
  color: #6f7886;
  background: #0c0f14;
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
}

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

@media (max-width: 860px) {
  :root {
    --header-height: 112px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 14px;
  }

  .nav__links {
    justify-content: flex-start;
    width: 100%;
    gap: 12px 20px;
    font-size: 0.88rem;
  }

  .section {
    padding-block: 78px;
  }

  .hero {
    min-height: auto;
  }

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

  .approach {
    background: var(--color-white);
  }

  .approach__headline {
    position: static;
  }

  .portrait-slot {
    min-height: 300px;
    max-width: 460px;
  }

  .portrait-slot img {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-height: 132px;
  }

  .container,
  .nav {
    width: min(100% - 28px, var(--max-width));
  }

  .services {
    gap: 44px;
  }

  .tech-line {
    font-size: clamp(1.45rem, 9vw, 2.35rem);
  }

  .footer__inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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