:root {
  --ink: #0b0d0c;
  --muted: #5f6863;
  --paper: #fbfcfa;
  --paper-strong: #ffffff;
  --line: #d6e5d8;
  --line-strong: #a8cdb0;
  --green: #126b2d;
  --green-deep: #064f21;
  --green-soft: #eaf5eb;
  --gold: #a98443;
  --shadow: 0 18px 45px rgba(7, 57, 24, 0.1);
  color-scheme: light;
  font-family:
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

p,
h1,
h2,
h3,
dl,
dd {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(18, 107, 45, 0.12);
  background: rgba(251, 252, 250, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  color: #24342b;
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--green);
  color: var(--green-deep);
  outline: none;
}

.hero {
  position: relative;
  min-height: 74vh;
  padding: 112px clamp(20px, 6vw, 88px) 38px;
  overflow: hidden;
  background-image: url("./assets/zhiyin-welcome.png");
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  right: clamp(20px, 5vw, 80px);
  bottom: 34px;
  width: min(36vw, 480px);
  height: 140px;
  content: "";
  border-right: 1px solid rgba(18, 107, 45, 0.18);
  border-bottom: 1px solid rgba(18, 107, 45, 0.18);
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(18, 107, 45, 0.18) 0,
      rgba(18, 107, 45, 0.18) 1px,
      transparent 1px,
      transparent 18px
    );
  opacity: 0.4;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(251, 252, 250, 0.86);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  color: var(--green);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.4;
}

.eyebrow {
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 800;
  line-height: 0.94;
}

.hero-lead {
  margin-top: 18px;
  color: var(--green-deep);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 760;
  line-height: 1.25;
}

.hero-copy {
  width: min(640px, 100%);
  margin-top: 16px;
  color: #26322a;
  font-size: 19px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 720;
}

.button-primary {
  background: var(--green);
  color: #ffffff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-deep);
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 10px 24px rgba(6, 79, 33, 0.18);
  outline: none;
  transform: translateY(-1px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(780px, 100%);
  margin-top: 30px;
}

.hero-facts div {
  min-height: 78px;
  padding: 13px;
  border: 1px solid rgba(18, 107, 45, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-facts dd {
  margin-top: 6px;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 760;
  line-height: 1.45;
}

.section-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.band {
  border-block: 1px solid var(--line);
  background: #f4faf4;
}

.intro {
  padding: 44px 0;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(24px, 6vw, 88px);
  align-items: start;
}

.intro h2,
.section-head h2,
.access h2 {
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.18;
}

.intro p:last-child,
.access p {
  color: #334138;
  font-size: 18px;
  line-height: 1.85;
}

.features,
.audience {
  padding: 88px 0;
}

.section-head {
  width: min(780px, 100%);
  margin-bottom: 34px;
}

.section-head .section-kicker {
  margin-bottom: 12px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.step,
.audience-grid article,
.access-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-strong);
}

.feature-card {
  min-height: 276px;
  padding: 22px;
  box-shadow: 0 14px 28px rgba(12, 70, 29, 0.06);
}

.feature-card-main {
  border-color: var(--line-strong);
  background: var(--green-soft);
}

.feature-index {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.feature-card h3,
.step h3,
.audience-grid h3 {
  margin-top: 28px;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.25;
}

.feature-card p,
.step p,
.audience-grid p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.workflow {
  padding: 86px 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}

.step {
  min-height: 228px;
  padding: 22px;
}

.step span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 800;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.audience-grid article {
  min-height: 208px;
  padding: 24px;
}

.access {
  padding: 76px 0;
}

.access-layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 7vw, 92px);
  align-items: center;
}

.access h2 {
  margin-top: 12px;
}

.access p {
  margin-top: 18px;
}

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

.access-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 18px 20px;
}

.access-item strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.25;
}

.access-item span {
  color: var(--green);
  font-size: 15px;
  font-weight: 760;
  line-height: 1.25;
  text-align: right;
}

.site-footer {
  padding: 28px 0;
  background: #071d10;
  color: rgba(255, 255, 255, 0.82);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-brand,
.footer-compliance {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-brand strong {
  color: #ffffff;
}

.footer-compliance {
  justify-content: flex-end;
}

.icp-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.icp-link:hover,
.icp-link:focus-visible {
  color: #ffffff;
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: 122px;
    background-position: 58% center;
  }

  .hero-overlay {
    background: rgba(251, 252, 250, 0.9);
  }

  .hero-facts,
  .feature-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-layout,
  .access-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand small,
  .site-nav {
    display: none;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 104px 20px 20px;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.75;
  }

  .button {
    width: 100%;
  }

  .hero-facts,
  .feature-grid,
  .steps,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    margin-top: 34px;
  }

  .section-inner {
    width: min(100% - 32px, 1160px);
  }

  .workflow,
  .access {
    padding: 56px 0;
  }

  .intro {
    padding: 32px 0 48px;
  }

  .features,
  .audience {
    padding: 64px 0;
  }

  .feature-card,
  .step,
  .audience-grid article {
    min-height: auto;
  }

  .access-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .access-item span {
    text-align: left;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .footer-brand,
  .footer-compliance {
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
  }
}
