* {
  box-sizing: border-box;
}

:root {
  --navy: #06284a;
  --blue: #0871d6;
  --text: #12233a;
  --muted: #52606f;
  --border: #d9e0e7;
  --offwhite: #f7f9fb;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

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

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

.hero {
  position: relative;
  min-height: 610px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 10%, rgba(255,255,255,.98), rgba(246,249,252,.93) 48%, rgba(235,241,246,.98) 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 42%;
  height: 42%;
  opacity: .13;
  filter: grayscale(1);
  background:
    linear-gradient(to top, rgba(6,40,74,.28), transparent),
    repeating-linear-gradient(
      0deg,
      rgba(6,40,74,.28) 0 2px,
      transparent 2px 10px
    );
}

.hero::before {
  left: 0;
  clip-path: polygon(0 40%, 42% 48%, 63% 60%, 100% 63%, 100% 100%, 0 100%);
}

.hero::after {
  right: 0;
  clip-path: polygon(0 63%, 44% 60%, 58% 48%, 100% 40%, 100% 100%, 0 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,.1), rgba(255,255,255,.22));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 40px));
  text-align: center;
  padding: 48px 0 38px;
}

.logo {
  width: min(390px, 76vw);
  margin: 0 auto 24px;
}

h1 {
  margin: 0;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.15;
  color: var(--navy);
}

.hero-intro {
  max-width: 760px;
  margin: 18px auto 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--muted);
}

.launch-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  width: min(600px, 86%);
  margin: 30px auto 14px;
}

.launch-line span {
  height: 1px;
  background: var(--blue);
}

.launch-icon {
  color: var(--blue);
  font-size: 30px;
}

.coming-soon {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 700;
  color: var(--blue);
  font-size: 16px;
}

.launch-copy {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px;
}

.service {
  text-align: center;
  padding: 6px 28px 12px;
  border-right: 1px solid var(--border);
}

.service:last-child {
  border-right: none;
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 10px;
  color: var(--blue);
  font-size: 26px;
  font-weight: 700;
}

.service h2 {
  margin: 0 0 10px;
  color: var(--navy);
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: .03em;
}

.service p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

.footer {
  background: linear-gradient(135deg, #052541, #08335c);
  color: var(--white);
  padding: 32px 24px 20px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr auto;
  gap: 38px;
  align-items: center;
}

.contact-copy h2 {
  margin: 0 0 8px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.contact-copy p {
  margin: 0;
  color: #dce7f2;
  line-height: 1.55;
  font-size: 15px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 46px;
  height: 46px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

.copyright {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  color: #c8d5e2;
  font-size: 13px;
}

@media (max-width: 900px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }

  .service {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 26px 24px;
  }

  .service:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 34px 0 30px;
  }

  .logo {
    width: min(310px, 82vw);
  }

  h1 {
    font-size: 30px;
  }

  .hero-intro {
    font-size: 17px;
  }

  .services {
    grid-template-columns: 1fr;
    padding: 10px 20px 22px;
  }

  .service,
  .service:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .service:last-child {
    border-bottom: none;
  }

  .email-link {
    font-size: 16px;
    word-break: break-word;
  }
}


/* Custom service icons */
.archive-icon {
  position: relative;
  display: block;
  padding-top: 12px;
}

.archive-icon span {
  position: absolute;
  left: 11px;
  width: 30px;
  height: 8px;
  border: 2px solid var(--blue);
  border-radius: 2px;
  background: white;
}

.archive-icon span:nth-child(1) { top: 11px; }
.archive-icon span:nth-child(2) { top: 21px; left: 13px; }
.archive-icon span:nth-child(3) { top: 31px; left: 15px; }

.cms-icon {
  position: relative;
  display: block;
}

.cms-icon span {
  position: absolute;
  border: 2px solid var(--blue);
  border-radius: 2px;
}

.cms-icon .cms-top {
  left: 9px;
  top: 10px;
  width: 34px;
  height: 10px;
}

.cms-icon .cms-left {
  left: 9px;
  top: 25px;
  width: 14px;
  height: 20px;
}

.cms-icon .cms-right {
  left: 28px;
  top: 25px;
  width: 15px;
  height: 20px;
}
