:root {
  --blue: #1711a6;
  --blue-deep: #08084f;
  --blue-soft: #5268cc;
  --yellow: #f4df00;
  --ink: #101426;
  --muted: #5e6477;
  --paper: #fbfbf6;
  --surface: #ffffff;
  --line: rgba(16, 20, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  align-items: center;
  color: var(--blue-deep);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 5vw, 64px);
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}

.brand,
nav,
.contact-actions {
  align-items: center;
  display: flex;
}

.brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  background: #ffffff;
  border-radius: 999px;
  height: 34px;
  object-fit: contain;
  padding: 3px;
  width: 34px;
}

nav {
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.88rem;
  font-weight: 800;
}

nav a {
  opacity: 0.86;
  text-decoration: none;
}

.hero {
  align-items: center;
  background: var(--paper);
  color: var(--blue-deep);
  display: flex;
  justify-content: center;
  min-height: auto;
  padding: 112px clamp(20px, 6vw, 76px) clamp(24px, 4vw, 42px);
  text-align: center;
}

.hero-inner {
  max-width: 940px;
}

.hero-mark {
  height: clamp(88px, 11vw, 144px);
  margin-bottom: 24px;
  object-fit: contain;
  width: clamp(104px, 13vw, 170px);
}

.eyebrow {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.1rem, 9vw, 7.8rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 22px;
  max-width: 970px;
}

h2 {
  color: var(--blue-deep);
  font-size: clamp(2rem, 5vw, 4.6rem);
  letter-spacing: 0;
  line-height: 0.98;
  margin-bottom: 0;
  max-width: 900px;
}

h3 {
  color: var(--blue-deep);
  font-size: 1.22rem;
  line-height: 1.18;
  margin-bottom: 10px;
}

.intro {
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.button,
.contact-actions a {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  text-decoration: none;
}

.button {
  background: var(--blue);
  color: #ffffff;
  margin-top: 10px;
}

.services,
.contact {
  padding: clamp(48px, 7vw, 84px) clamp(20px, 6vw, 76px);
}

.section-heading {
  margin: 0 auto clamp(28px, 5vw, 52px);
  text-align: center;
}

.section-heading h2 {
  margin-left: auto;
  margin-right: auto;
}

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

.service-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
}

.service-grid span {
  color: var(--blue-soft);
  display: inline-block;
  font-weight: 900;
  margin-bottom: 54px;
}

.service-grid p,
footer {
  color: var(--muted);
}

.contact {
  align-items: flex-end;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
  color: #ffffff;
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.contact h2 {
  color: #ffffff;
}

.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.contact-actions a {
  background: #ffffff;
  border: 2px solid #ffffff;
  color: var(--blue-deep);
}

.contact .eyebrow {
  color: var(--yellow);
}

footer {
  text-align: center;
  padding: 24px clamp(20px, 6vw, 76px);
}

footer p {
  margin: 0;
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
    gap: 18px;
    position: absolute;
  }

  nav {
    display: none;
  }

  .hero {
    padding-top: 98px;
  }

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

  .service-grid article {
    min-height: auto;
  }

  .service-grid span {
    margin-bottom: 28px;
  }

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

  .contact-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .contact-actions a {
    width: 100%;
  }
}
