:root {
  --navy: #0b1f3a;
  --blue: #1259d5;
  --sky: #46b7ee;
  --orange: #ff8c42;
  --ink: #172033;
  --muted: #667085;
  --line: #dce3ec;
  --soft: #f4f7fb;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(11, 31, 58, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

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

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

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

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(220, 227, 236, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand span {
  display: block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  position: relative;
  color: #344054;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

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

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid var(--blue);
  border-radius: 7px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #0c49b6;
  box-shadow: 0 10px 24px rgba(18, 89, 213, 0.22);
}

.button-outline {
  background: transparent;
  color: var(--blue);
}

.button-outline:hover {
  background: #edf4ff;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(circle at 88% 15%, rgba(70, 183, 238, 0.18), transparent 27%),
    linear-gradient(135deg, #f8fbff 0%, #eef5ff 55%, #ffffff 100%);
}

.hero::after {
  position: absolute;
  width: 360px;
  height: 360px;
  right: -180px;
  bottom: -200px;
  border: 55px solid rgba(18, 89, 213, 0.06);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 70px;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 72px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 48px);
}

h3 {
  margin-bottom: 11px;
  font-size: 22px;
}

.hero-copy {
  max-width: 650px;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.image-placeholder {
  position: relative;
  min-height: 420px;
  border: 1px solid #b8cbe7;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, transparent 49.7%, rgba(18, 89, 213, 0.12) 50%, transparent 50.3%),
    linear-gradient(45deg, transparent 49.7%, rgba(18, 89, 213, 0.12) 50%, transparent 50.3%),
    #e8f1ff;
}

.image-placeholder img {
  width: 387px;
  height:330px;
}

.image-placeholder.short {
  min-height: 330px;
}

.stats {
  position: relative;
  z-index: 2;
  margin-top: -32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 12px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.stat {
  padding: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: #c8d5e7;
  font-size: 13px;
}

.stat:last-child {
  border: 0;
}

.stat strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 22px;
}

.section {
  padding: 100px 0;
}

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

.section-dark {
  background: var(--navy);
  color: #c6d2e2;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p,
.split-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-heading p {
  color: #aebed2;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.solution-card {
  position: relative;
  min-height: 320px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: #aec8ef;
  box-shadow: var(--shadow);
}

.solution-card .number {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.solution-card h3 {
  margin-top: 56px;
}

.solution-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.check-list li::before {
  margin-right: 12px;
  color: var(--blue);
  content: "—";
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-item {
  padding-top: 24px;
  border-top: 2px solid rgba(70, 183, 238, 0.5);
}

.process-item span {
  color: var(--sky);
  font-size: 13px;
  font-weight: 800;
}

.process-item h3 {
  margin-top: 28px;
  font-size: 19px;
}

.process-item p {
  margin: 0;
  font-size: 14px;
}

.cta {
  padding: 72px 0;
  background: var(--blue);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.cta h2 {
  max-width: 680px;
  margin-bottom: 8px;
  color: var(--white);
}

.cta p {
  margin: 0;
  color: #dce8ff;
}

.cta .button {
  flex: 0 0 auto;
  border-color: var(--white);
  background: var(--white);
  color: var(--blue);
}

.page-hero {
  padding: 94px 0 80px;
  background:
    radial-gradient(circle at 80% 20%, rgba(70, 183, 238, 0.2), transparent 28%),
    var(--soft);
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.detail-list {
  display: grid;
  gap: 24px;
}

.detail-item {
  padding: 28px;
  border-left: 3px solid var(--blue);
  background: var(--white);
  box-shadow: 0 10px 35px rgba(11, 31, 58, 0.06);
}

.detail-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-detail {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 52px;
  padding: 70px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
  border: 0;
}

.service-detail .number {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.service-detail p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 650;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  min-height: 230px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.contact-card.wide {
  grid-column: 1 / -1;
}

.contact-label {
  display: block;
  margin-bottom: 26px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card address {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-style: normal;
  font-size: 17px;
}

.contact-card a {
  color: var(--navy);
  font-size: 22px;
  font-weight: 750;
  text-underline-offset: 5px;
}

.site-footer {
  padding: 66px 0 30px;
  background: #07172c;
  color: #9fb0c6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.9fr;
  gap: 70px;
  padding-bottom: 46px;
}

.site-footer .brand {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 14px;
}

.footer-heading {
  display: block;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 13px;
  font-weight: 750;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  text-decoration: none;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
}

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

.reveal.from-left {
  transform: translateX(-34px);
}

.reveal.from-right {
  transform: translateX(34px);
}

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

.delay-1 {
  transition-delay: 90ms;
}

.delay-2 {
  transition-delay: 180ms;
}

.delay-3 {
  transition-delay: 270ms;
}

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

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

@media (max-width: 880px) {
  .menu-button {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    padding: 38px 28px;
    transform: translateX(100%);
    align-items: flex-start;
    flex-direction: column;
    background: var(--white);
    transition: transform 260ms ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 19px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 46px;
  }

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .hero,
  .page-hero {
    padding: 66px 0;
  }

  h1 {
    font-size: 42px;
  }

  .section {
    padding: 72px 0;
  }

  .solution-grid,
  .process-grid,
  .contact-grid,
  .feature-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-height: 280px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 52px 0;
  }

  .contact-card.wide,
  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .image-placeholder {
    min-height: 300px;
  }
}
