* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #ffffff;
  line-height: 1.7;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #e8ecf3;
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand span {
  color: #5267ff;
}

nav {
  display: flex;
  gap: 24px;
  color: #5c667a;
  font-size: 14px;
}

nav a:hover {
  color: #172033;
}

.hero {
  padding: 118px 0 110px;
  background:
    radial-gradient(circle at 20% 0%, rgba(82, 103, 255, 0.10), transparent 34%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
  border-bottom: 1px solid #edf0f5;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: #5267ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: #5c667a;
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
}

.primary {
  background: #172033;
  color: white;
}

.secondary {
  border: 1px solid #dce2ec;
  background: white;
}

.section {
  padding: 92px 0;
}

.section-alt {
  background: #f7f8fb;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.section-heading > p:last-child {
  color: #687286;
}

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

.card {
  padding: 28px;
  border: 1px solid #e3e7ef;
  border-radius: 18px;
  background: #fff;
}

.card p {
  margin-bottom: 0;
  color: #687286;
}

.card-tag {
  display: inline-block;
  margin-bottom: 36px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #eef0ff;
  color: #5267ff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-list {
  border-top: 1px solid #dfe4ed;
}

.project {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.2fr;
  gap: 36px;
  padding: 28px 0;
  border-bottom: 1px solid #dfe4ed;
}

.project > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.project-index {
  color: #8a93a5;
  font-size: 12px;
  font-weight: 800;
}

.project h3,
.project p {
  margin-bottom: 0;
}

.project p {
  color: #687286;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
}

.about-text {
  color: #566074;
  font-size: 17px;
}

.site-footer {
  border-top: 1px solid #e5e9f0;
  background: #fafbfc;
}

.footer-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #727c8f;
  font-size: 13px;
}

.footer-inner p {
  margin-bottom: 0;
}

.beian a:hover {
  color: #172033;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  nav {
    width: 100%;
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
  }

  .hero {
    padding: 82px 0 76px;
  }

  .section {
    padding: 68px 0;
  }

  .cards,
  .about-grid,
  .project {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .project {
    gap: 22px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px 0;
  }
}
