:root {
  color-scheme: light;
  --ink: #071736;
  --muted-ink: #4a5a75;
  --soft-ink: #71809a;
  --paper: #f5f8ff;
  --white: #ffffff;
  --line: #dce6f8;
  --deep: #001a55;
  --navy: #001a55;
  --blue: #0057ff;
  --blue-soft: #eaf2ff;
  --sky: #d8e7ff;
  --shadow: 0 22px 60px rgba(0, 26, 85, 0.14);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: var(--white);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(0, 26, 85, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 34px rgba(0, 26, 85, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 26, 85, 0.18);
}

.brand-mark img {
  width: 31px;
  height: auto;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

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

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

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82svh;
  overflow: hidden;
  isolation: isolate;
  align-items: center;
  padding: 116px clamp(18px, 5vw, 64px) 76px;
  background: var(--deep);
  color: var(--white);
}

.hero-image,
.hero-brand-backdrop,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: center;
}

.hero-brand-backdrop {
  z-index: -1;
  width: min(980px, 70vw);
  height: auto;
  inset: auto -120px -70px auto;
  max-width: none;
  border-radius: 8px;
  opacity: 0.28;
  transform: rotate(-2deg);
  filter: saturate(1.08);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 20, 66, 0.96) 0%, rgba(0, 26, 85, 0.84) 40%, rgba(0, 87, 255, 0.16) 82%),
    linear-gradient(0deg, rgba(0, 26, 85, 0.58), rgba(0, 26, 85, 0.18));
}

.hero-content {
  width: min(780px, 100%);
}

.hero-logo {
  width: min(360px, 72vw);
  height: auto;
  margin: 0 0 28px;
  filter: brightness(0) invert(1);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: 5.8rem;
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-copy {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.25rem;
}

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

.hero-highlights {
  display: grid;
  width: min(720px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 36px 0 0;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  list-style: none;
}

.hero-highlights li {
  min-height: 92px;
  padding: 18px;
  border-radius: 6px;
  background: rgba(0, 26, 85, 0.42);
}

.hero-highlights span,
.hero-highlights strong {
  display: block;
}

.hero-highlights span {
  margin-bottom: 14px;
  color: #8db6ff;
  font-size: 0.78rem;
  font-weight: 850;
}

.hero-highlights strong {
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.18;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 20px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: #2675ff;
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.14);
}

.section {
  padding: clamp(68px, 9vw, 112px) clamp(18px, 5vw, 64px);
}

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

.intro {
  background: var(--paper);
  padding-top: clamp(46px, 7vw, 76px);
}

.intro-grid,
.solutions-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 7vw, 88px);
  align-items: start;
}

.intro h2,
.section-heading h2,
.solutions-copy h2,
.contact-copy h2 {
  margin: 0;
  font-size: 4rem;
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.intro p:last-child,
.solutions-copy p:last-child,
.contact-copy p:last-child {
  margin: 34px 0 0;
  color: var(--muted-ink);
  font-size: 1.16rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 6vw, 82px);
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 290px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(16, 20, 22, 0.02);
}

.service-card:nth-child(2) {
  border-top-color: rgba(0, 87, 255, 0.52);
}

.service-card:nth-child(3) {
  border-top-color: rgba(0, 26, 85, 0.52);
}

.service-card:nth-child(4) {
  border-top-color: rgba(117, 170, 255, 0.72);
}

.service-number {
  display: block;
  margin-bottom: 42px;
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.service-card h3,
.solution-item h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.1;
}

.service-card p,
.solution-item p,
.process-step p {
  margin: 16px 0 0;
  color: var(--muted-ink);
}

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

.solutions .section-kicker {
  color: #75aaff;
}

.solutions-copy p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.solution-list {
  display: grid;
  gap: 12px;
}

.solution-item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
}

.solution-item p {
  color: rgba(255, 255, 255, 0.72);
}

.process {
  background: #ffffff;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.process-step {
  min-height: 210px;
  padding: 26px 24px 0 0;
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  color: var(--blue);
  font-weight: 850;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 64px);
  background:
    linear-gradient(110deg, rgba(245, 248, 255, 0.96) 0%, rgba(234, 242, 255, 0.9) 48%, rgba(216, 231, 255, 0.86) 100%),
    var(--blue-soft);
  isolation: isolate;
}

.contact-banner {
  position: absolute;
  z-index: -1;
  right: -10vw;
  bottom: -7vw;
  width: min(920px, 78vw);
  max-width: none;
  opacity: 0.32;
  pointer-events: none;
}

.contact-card {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(0, 87, 255, 0.18);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-style: normal;
}

.contact-logo {
  width: min(320px, 100%);
  height: auto;
  margin-bottom: 8px;
}

.contact-card a,
.contact-card span {
  display: block;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  font-size: 1.28rem;
  font-weight: 800;
}

.contact-card span {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--blue);
}

.site-footer {
  padding: 26px clamp(18px, 5vw, 64px);
  background: var(--deep);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.95rem;
}

.footer-inner p {
  margin: 0;
}

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

:focus-visible {
  outline: 3px solid rgba(0, 87, 255, 0.75);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .hero h1 {
    font-size: 4.6rem;
  }

  .hero-logo {
    width: 300px;
    margin-bottom: 24px;
  }

  .hero-copy {
    font-size: 1.16rem;
  }

  .intro h2,
  .section-heading h2,
  .solutions-copy h2,
  .contact-copy h2 {
    font-size: 3.25rem;
  }

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

  .section-heading,
  .intro-grid,
  .solutions-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .process-step {
    border-bottom: 1px solid var(--line);
  }

  .process-step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 26, 85, 0.98);
    transition: max-height 180ms ease;
  }

  .site-nav.is-open {
    max-height: 280px;
  }

  .site-nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    min-height: 80svh;
    padding: 102px 18px 54px;
  }

  .hero-brand-backdrop {
    right: -320px;
    bottom: -40px;
    width: 820px;
    opacity: 0.18;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 20, 66, 0.96), rgba(0, 26, 85, 0.74)),
      linear-gradient(0deg, rgba(0, 26, 85, 0.42), rgba(0, 26, 85, 0.22));
  }

  .hero-logo {
    width: min(265px, 82vw);
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: 3.05rem;
    line-height: 0.98;
  }

  .hero-copy,
  .intro p:last-child,
  .solutions-copy p:last-child,
  .contact-copy p:last-child,
  .contact-card a,
  .contact-card span {
    font-size: 1.05rem;
  }

  .intro h2,
  .section-heading h2,
  .solutions-copy h2,
  .contact-copy h2 {
    font-size: 2.45rem;
  }

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

  .hero-highlights {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .hero-highlights li {
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
  }

  .hero-highlights span {
    margin-bottom: 0;
  }

  .hero-highlights strong {
    text-align: right;
  }

  .section {
    padding: 58px 18px;
  }

  .service-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }

  .process-step,
  .process-step:nth-child(2),
  .process-step:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
  }

  .process-step:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 420px) {
  .hero h1 {
    font-size: 2.72rem;
  }

  .brand-name {
    font-size: 0.94rem;
  }
}

@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;
  }
}
