:root {
  color-scheme: light;
  --brand: #2196f3;
  --brand-soft: #e3f2fd;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #e5e7eb;
  --page: #f5f7fa;
  --surface: #ffffff;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.08);
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--page);
}

.page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 32px;
}

.hero,
.section,
.contact {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero {
  padding: 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand__logo {
  width: 56px;
  height: 60px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand__text {
  min-width: 0;
}

.brand__eyebrow,
.hero__label,
.section__label {
  margin: 0;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 2px 0 0;
  font-size: 28px;
  line-height: 1.3;
}

.hero__content {
  max-width: 720px;
  margin-top: 56px;
}

.hero h2,
.section h2,
.contact h2 {
  margin: 8px 0 0;
  font-size: 34px;
  line-height: 1.25;
}

.hero__summary {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.section {
  margin-top: 24px;
  padding: 32px;
}

.section__header {
  max-width: 720px;
}

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

.service-card {
  min-height: 180px;
  padding: 24px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 28px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.service-card h3 {
  margin: 18px 0 0;
  font-size: 20px;
  line-height: 1.4;
}

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

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 28px 32px;
}

.contact h2 {
  font-size: 24px;
}

.contact__text {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  white-space: nowrap;
}

.footer {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
  color: #718096;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 24px, 560px);
    padding-top: 24px;
  }

  .hero {
    padding: 28px 22px;
  }

  .brand {
    align-items: flex-start;
  }

  .brand__logo {
    width: 48px;
    height: 52px;
  }

  h1 {
    font-size: 22px;
  }

  .hero__content {
    margin-top: 40px;
  }

  .hero h2,
  .section h2 {
    font-size: 26px;
  }

  .hero__summary {
    font-size: 16px;
  }

  .section,
  .contact {
    padding: 24px 20px;
  }

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

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

  .contact__text {
    white-space: normal;
  }

  .footer {
    width: min(100% - 24px, 560px);
  }
}
