:root {
  color-scheme: light;
  font-family:
    system-ui,
    -apple-system,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #182538;
  background: #f6f8fc;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid #93b4f4;
  outline-offset: 5px;
}
.site-header,
main,
footer {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0;
}
.brand {
  color: #2563eb;
  font-size: 24px;
  font-weight: 750;
}
.brand span {
  margin-left: 12px;
  color: #334155;
  font-size: 16px;
  font-weight: 600;
}
.login-link {
  color: #2563eb;
  font-size: 14px;
  white-space: nowrap;
}
.intro {
  padding: 72px 0 76px;
}
.eyebrow {
  color: #2563eb;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
}
h1 {
  margin: 20px 0 24px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.3;
  letter-spacing: -1px;
}
.intro-description {
  max-width: 600px;
  color: #526174;
  font-size: 17px;
  line-height: 1.9;
}
.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 15px 24px;
  border-radius: 8px;
  color: #fff;
  background: #2563eb;
  font-size: 15px;
}
.primary-link:hover {
  background: #1d4ed8;
}
h2 {
  margin: 0 0 24px;
  font-size: 24px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
article {
  padding: 28px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.service-number {
  color: #2563eb;
  font-size: 14px;
  font-weight: 700;
}
h3 {
  margin: 24px 0 12px;
  font-size: 19px;
}
article p,
.about p {
  margin: 0;
  color: #526174;
  font-size: 15px;
  line-height: 1.9;
}
.about {
  padding: 56px 0;
}
.about p {
  max-width: 760px;
}
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  padding: 24px 0;
  border-top: 1px solid #e2e8f0;
  color: #526174;
  font-size: 13px;
  text-align: center;
}
footer a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 40px);
  }
  .site-header {
    padding: 22px 0;
  }
  .brand span {
    display: block;
    margin: 2px 0 0;
    font-size: 12px;
  }
  .intro {
    padding: 42px 0 48px;
  }
  .intro-description {
    font-size: 15px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  article {
    padding: 24px;
  }
  h3 {
    margin-top: 16px;
  }
  .about {
    padding: 40px 0;
  }
}
