:root {
  --ink: #121417;
  --muted: #5c6470;
  --line: #dfe5e8;
  --soft: #f5f8f9;
  --white: #ffffff;
  --blue: #2445a7;
  --cyan: #06a8d8;
  --green: #40a867;
  --shadow: 0 20px 60px rgba(10, 22, 38, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 82px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 229, 232, 0.65);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: #242a31;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 88px) 72px;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.86), rgba(9, 12, 16, 0.48) 48%, rgba(9, 12, 16, 0.18)),
    linear-gradient(0deg, rgba(9, 12, 16, 0.5), rgba(9, 12, 16, 0.04));
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 28px;
  height: 3px;
  content: "";
  background: var(--green);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.25rem, 10vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--cyan);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.section {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1fr);
  gap: 44px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.showcase-copy h2,
.about-panel h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.intro p,
.section-heading p,
.showcase-copy p,
.about-panel p,
.contact p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.stats div {
  min-height: 132px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stats strong {
  display: block;
  color: var(--blue);
  font-size: 2.2rem;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.services {
  width: 100%;
  max-width: none;
  padding-right: clamp(20px, 6vw, 88px);
  padding-left: clamp(20px, 6vw, 88px);
  background: var(--soft);
}

.clients {
  padding-top: 18px;
}

.client-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0 16px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: clients-scroll 42s linear infinite;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.client-logo {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(190px, 22vw, 270px);
  min-height: 146px;
  margin: 0;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(10, 22, 38, 0.06);
}

.client-logo img {
  width: 100%;
  max-width: 210px;
  max-height: 84px;
  object-fit: contain;
}

.client-logo figcaption {
  display: none;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  text-align: center;
}

.client-logo.logo-missing img {
  display: none;
}

.client-logo.logo-missing figcaption {
  display: block;
}

.client-logo[aria-hidden="true"] img {
  pointer-events: none;
}

@keyframes clients-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-marquee {
    overflow: visible;
    mask-image: none;
  }

  .client-track {
    width: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    animation: none;
  }

  .client-logo[aria-hidden="true"] {
    display: none;
  }
}

.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto 42px;
}

.section-heading h2,
.section-heading p {
  max-width: 760px;
}

.section-heading p {
  margin-top: 18px;
}

.service-grid {
  width: min(var(--max), 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 auto;
}

.service-card {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(12, 28, 45, 0.05);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--ink);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

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

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: center;
}

.showcase-copy p {
  margin-top: 20px;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #27303a;
}

.check-list li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--green);
  border-radius: 50%;
}

.showcase-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bi-section {
  padding-top: 0;
}

.compact {
  margin-bottom: 30px;
}

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

.bi-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bi-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: left top;
}

.bi-grid figcaption {
  padding: 14px 16px;
  font-weight: 800;
}

.about {
  width: 100%;
  max-width: none;
  padding-right: clamp(20px, 6vw, 88px);
  padding-left: clamp(20px, 6vw, 88px);
  background: #11151a;
}

.about-panel {
  width: min(900px, 100%);
  color: var(--white);
}

.about-panel p {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.72);
}

.contact {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 430px);
  gap: 40px;
  align-items: center;
  padding: 92px clamp(20px, 6vw, 88px);
  background: linear-gradient(135deg, #eef8fb, #ffffff 58%, #eef6f1);
}

.contact-content p {
  max-width: 660px;
  margin-top: 18px;
}

.contact-card {
  display: grid;
  gap: 12px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-card a,
.contact-card span {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: var(--soft);
  border-radius: 8px;
  color: #1c2630;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 88px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a {
  font-weight: 800;
  color: var(--ink);
}

.product-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 88px) 72px;
  color: var(--white);
}

.product-hero-media {
  position: absolute;
  inset: 0;
}

.product-hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 18, 35, 0.9), rgba(8, 18, 35, 0.58) 48%, rgba(8, 18, 35, 0.18)),
    linear-gradient(0deg, rgba(8, 18, 35, 0.5), rgba(8, 18, 35, 0.12));
}

.product-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.product-hero-content {
  position: relative;
  max-width: 820px;
}

.product-hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 9vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.product-hero p:not(.eyebrow) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.1rem, 2vw, 1.36rem);
}

.product-intro {
  padding-bottom: 34px;
}

.product-steps,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-steps article,
.feature-grid article {
  min-height: 218px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(12, 28, 45, 0.05);
}

.product-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 0.82rem;
  font-weight: 800;
}

.product-steps h3,
.feature-grid h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.product-steps p,
.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.product-showcase,
.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(340px, 1fr);
  gap: 44px;
  align-items: center;
}

.product-detail {
  grid-template-columns: minmax(340px, 1fr) minmax(280px, 0.72fr);
  padding-top: 24px;
}

.product-showcase-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-showcase-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.product-screen {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-screen img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
}

.product-screen.large img {
  aspect-ratio: 4 / 3;
}

.product-features {
  width: 100%;
  max-width: none;
  padding-right: clamp(20px, 6vw, 88px);
  padding-left: clamp(20px, 6vw, 88px);
  background: var(--soft);
}

.product-features .section-heading,
.feature-grid {
  width: min(var(--max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.product-contact {
  margin-top: 0;
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    top: 82px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .intro-grid,
  .showcase,
  .contact,
  .product-showcase,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .bi-grid,
  .product-steps,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-track {
    animation-duration: 34s;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 74px;
  }

  .brand span {
    display: none;
  }

  .site-nav {
    top: 74px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 120px;
    padding-bottom: 44px;
  }

  .product-hero {
    min-height: 86vh;
    padding-top: 120px;
    padding-bottom: 44px;
  }

  .hero-actions,
  .footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    width: min(100% - 32px, var(--max));
    padding: 64px 0;
  }

  .stats,
  .service-grid,
  .bi-grid,
  .product-steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .client-marquee {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .client-logo {
    flex-basis: 220px;
  }

  .service-card {
    min-height: auto;
  }
}
