:root {
  color-scheme: light;
  --ink: #151515;
  --muted: #5f6863;
  --line: #dde5df;
  --surface: #ffffff;
  --accent: #377b4b;
}

* {
  box-sizing: border-box;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 100px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 8px 22px rgba(18, 56, 72, 0.03);
  backdrop-filter: blur(22px);
}

.site-header-inner {
  position: relative;
  width: min(1441px, 100%);
  height: 100%;
  margin: 0 auto;
}

.brand {
  position: absolute;
  left: 2.012%;
  top: 30px;
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: min(149px, 10.34vw);
  height: auto;
}

.site-nav {
  position: absolute;
  inset: 0;
  color: var(--ink);
  font-size: 16px;
  white-space: nowrap;
}

.nav-link {
  position: absolute;
  top: 39px;
  min-height: 24px;
  line-height: 23px;
}

.nav-home { left: 670px; }
.nav-meter { left: 730px; }
.nav-gi { left: 852px; }
.nav-knowledge { left: 988px; }
.nav-about { left: 1092px; }

.nav-link:hover,
.nav-link.is-active {
  color: #0d756f;
}

.nav-download {
  position: absolute;
  right: 21px;
  top: 24px;
  display: inline-flex;
  width: 184px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
}

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

.published-article {
  padding: clamp(56px, 8vw, 92px) 0 36px;
}

.eyebrow,
.article-meta,
.knowledge-meta,
.muted {
  color: var(--muted);
}

h1 {
  margin: 10px 0 18px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.18;
  font-weight: 620;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
}

h3 {
  margin: 6px 0 8px;
  font-size: 18px;
  line-height: 1.4;
}

.lead {
  margin: 0 0 18px;
  color: #39453f;
  font-size: 19px;
}

.article-body {
  margin-top: 28px;
  font-size: 18px;
}

.section {
  padding: 36px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.knowledge-list {
  display: grid;
  gap: 12px;
}

.knowledge-link {
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
}

.download-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.download-cta-text h3 {
  margin-top: 0;
}

.download-cta-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  border-radius: 8px;
  background: #151515;
  color: #fff;
  padding: 8px 16px;
}

.download-cta-qr {
  color: var(--muted);
  text-align: center;
}

.site-footer {
  display: flex;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 28px 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 880px) {
  .site-header {
    height: auto;
  }

  .site-header-inner,
  .site-nav {
    position: static;
  }

  .site-header-inner {
    display: grid;
    gap: 16px;
    padding: 18px 20px;
  }

  .brand,
  .nav-link,
  .nav-download {
    position: static;
  }

  .site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}
