: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;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.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;
}

.police-beian {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.police-beian img {
  flex: 0 0 auto;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.work-hero {
  position: relative;
}

.ai-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 15px;
  font-weight: 800;
}

.notice-strong {
  border-color: #f59e0b;
  background: #fff7ed;
  color: #7c2d12;
}

.work-section {
  margin-top: 28px;
}

.demo-panel,
.table-wrap,
.scope-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.blueprint-panel {
  padding: 24px;
  background:
    linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
    #f8fbff;
  background-size: 22px 22px;
}

.blueprint-title {
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 800;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.blueprint-grid span {
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: #26344d;
  font-size: 15px;
}

.table-wrap {
  overflow-x: auto;
}

.material-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.material-table th,
.material-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.material-table th {
  background: #f8fafc;
  color: #26344d;
  font-size: 14px;
}

.material-table td {
  color: var(--muted);
}

.material-table tr:last-child td {
  border-bottom: 0;
}

.scope-list {
  padding: 20px 22px;
}

.scope-list p {
  margin-bottom: 10px;
  color: var(--muted);
}

.scope-list p:last-child {
  margin-bottom: 0;
}

.back-link {
  margin: 6px 0 0;
}

@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;
  }

  .blueprint-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: auto;
  }

  .site-footer {
    width: min(100% - 28px, 1080px);
    text-align: left;
  }

  .police-beian {
    justify-content: flex-start;
  }
}
