:root {
  color: #18202b;
  background: #ffffff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #ffffff;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 28px;
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: #667085;
  font-size: 12px;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: #344054;
  font-size: 14px;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible {
  color: #0b57d0;
}

.hero {
  position: relative;
  display: flex;
  min-height: 600px;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #0b2865;
  background-image: url("/assets/mayou-hero.jpg");
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: rgb(5 19 48 / 48%);
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(48%, 600px);
  margin-right: max(6vw, 32px);
  color: #ffffff;
}

.hero-kicker,
.section-label,
.section-heading > p {
  margin: 0 0 14px;
  color: #63d4a5;
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: 64px;
  line-height: 1.1;
}

.hero-summary {
  max-width: 520px;
  margin: 24px 0 0;
  color: #eef5ff;
  font-size: 20px;
  line-height: 1.8;
}

.services {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 28px 96px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.35;
}

.section-heading > p {
  flex: 0 0 auto;
  margin: 0 0 6px;
  color: #16715b;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #d9e0e8;
}

.service-grid article {
  min-width: 0;
  padding: 32px 32px 8px 0;
}

.service-grid article + article {
  padding-left: 32px;
  border-left: 1px solid #d9e0e8;
}

.service-grid span {
  color: #0b57d0;
  font-size: 13px;
  font-weight: 700;
}

.service-grid h3 {
  margin: 18px 0 12px;
  font-size: 22px;
}

.service-grid p,
.about > p {
  margin: 0;
  color: #586474;
  font-size: 16px;
  line-height: 1.85;
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  padding: 80px max(6vw, 28px);
  background: #f3f6f9;
  border-top: 4px solid #63d4a5;
}

.about > div,
.about > p {
  width: 100%;
  max-width: 560px;
}

.about > div {
  justify-self: end;
}

.about .section-label {
  color: #16715b;
}

footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 28px;
  color: #667085;
  font-size: 13px;
}

footer > div {
  display: grid;
  gap: 7px;
}

footer strong {
  color: #18202b;
  font-size: 16px;
}

.filing {
  justify-items: end;
}

.filing a {
  color: #344054;
  text-decoration: none;
}

.filing a:hover,
.filing a:focus-visible {
  color: #0b57d0;
  text-decoration: underline;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
    padding: 8px 18px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small,
  nav {
    display: none;
  }

  .hero {
    min-height: 560px;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 20px 52px;
    background-position: 64% center;
  }

  .hero::before {
    background: rgb(5 19 48 / 64%);
  }

  .hero-content {
    width: 100%;
    margin: 0;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-summary {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.7;
  }

  .services {
    padding: 64px 20px 72px;
  }

  .section-heading {
    display: block;
    margin-bottom: 32px;
  }

  .section-heading > p {
    margin-bottom: 12px;
  }

  .section-heading h2,
  .about h2 {
    font-size: 28px;
  }

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

  .service-grid article,
  .service-grid article + article {
    padding: 28px 0;
    border-left: 0;
  }

  .service-grid article + article {
    border-top: 1px solid #d9e0e8;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 64px 20px;
  }

  .about > div {
    justify-self: start;
  }

  footer {
    display: grid;
    padding: 32px 20px;
  }

  .filing {
    justify-items: start;
  }
}
