:root {
  color-scheme: light;
  --bg: #f5f7f8;
  --text: #182026;
  --muted: #63707a;
  --line: #d8e0e5;
  --panel: #ffffff;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --soft: #eaf2ff;
  --warm: #f7fbff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 7vw;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

nav a:hover {
  color: var(--accent-dark);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 48px;
  min-height: calc(100vh - 72px);
  padding: 72px 7vw 88px;
  background:
    linear-gradient(120deg, rgba(234, 242, 255, 0.96), rgba(247, 251, 255, 0.82)),
    url("assets/hero-workspace.png") center / cover;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.2;
}

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

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #2b3a42;
  font-size: 18px;
}

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

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
}

.primary {
  background: var(--accent);
  color: #fff;
}

.secondary {
  border: 1px solid rgba(29, 78, 216, 0.32);
  background: rgba(255, 255, 255, 0.42);
  color: var(--accent-dark);
}

.status-panel {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(24, 32, 38, 0.12);
}

.status-panel div {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.status-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.status-panel span,
dt {
  display: block;
  color: var(--muted);
  font-size: 14px;
}

.status-panel strong,
dd {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 700;
}

.status-panel small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 76px 7vw;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card,
.contact-box,
.project-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 170px;
  padding: 24px;
}

.card a {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 20px;
  color: var(--accent-dark);
  font-weight: 700;
}

.card a:hover {
  color: var(--accent);
}

.card p,
.project-list p,
.contact-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.muted {
  background: #eef5ff;
}

.project-list {
  display: grid;
  gap: 14px;
}

.project-list article {
  padding: 22px 24px;
}

.contact-box {
  max-width: 820px;
  padding: 26px;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 0;
}

.site-footer {
  padding: 34px 7vw;
  border-top: 1px solid var(--line);
  background: #182026;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 8px;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a,
.site-footer span {
  display: inline-block;
  margin-right: 18px;
}

.site-footer a:hover {
  color: #fff;
}

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

.police-beian img {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 22px;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 58px 22px 64px;
  }

  .section {
    padding: 56px 22px;
  }

  .grid,
  dl {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 38px;
  }
}
