:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #5d6b82;
  --line: #dfe6ef;
  --accent: #2563eb;
  --accent-soft: #eaf1ff;
  --shadow: 0 18px 50px rgba(18, 32, 59, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 36px;
}

.hero {
  padding: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: 44px;
  line-height: 1.12;
  font-weight: 750;
}

.subtitle {
  margin-bottom: 18px;
  font-size: 22px;
  color: #26344d;
}

.intro {
  max-width: 760px;
  margin-bottom: 16px;
  color: var(--muted);
}

.notice {
  max-width: 760px;
  margin-bottom: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  color: var(--muted);
  font-size: 14px;
}

.projects {
  margin-top: 28px;
}

.section-heading {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 24px;
}

.section-heading p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card {
  min-height: 190px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.project-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 26px;
  margin-bottom: 20px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.project-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.site-footer {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.site-footer p {
  margin: 4px 0;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 8px;
  }
}

@media (max-width: 720px) {
  .page {
    width: min(100% - 28px, 1080px);
    padding-top: 24px;
  }

  .hero {
    padding: 28px 22px;
  }

  h1 {
    font-size: 34px;
  }

  .subtitle {
    font-size: 19px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .site-footer {
    width: min(100% - 28px, 1080px);
    text-align: left;
  }
}
