:root {
  color-scheme: light;
  --primary: #1677ff;
  --primary-dark: #0958d9;
  --text: #172033;
  --muted: #667085;
  --line: #e8edf5;
  --surface: rgba(255, 255, 255, 0.94);
  --shadow: 0 18px 50px rgba(26, 48, 82, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 4%, rgba(22, 119, 255, 0.11), transparent 28rem),
    linear-gradient(180deg, #f8fbff 0%, #f4f6f9 44%, #f7f8fa 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-dark); text-decoration: none; }
a:hover { color: var(--primary); }

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

.site-header { padding: 22px 0 10px; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(228, 235, 245, 0.9);
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(24, 50, 84, 0.05);
  backdrop-filter: blur(12px);
}

.brand { color: var(--text); font-size: 1.08rem; font-weight: 750; letter-spacing: 0.02em; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.nav-links a { color: #475467; font-size: 0.94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--primary); }

main { padding: 34px 0 70px; }
.hero { padding: 64px 8px 54px; max-width: 790px; }
.eyebrow { margin: 0 0 14px; color: var(--primary); font-size: 0.84rem; font-weight: 700; letter-spacing: 0.12em; }
h1, h2, h3 { margin-top: 0; line-height: 1.25; letter-spacing: -0.02em; }
h1 { margin-bottom: 18px; font-size: clamp(2.35rem, 6vw, 4.5rem); }
h2 { margin-bottom: 16px; font-size: clamp(1.55rem, 3vw, 2.15rem); }
h3 { margin-bottom: 10px; font-size: 1.2rem; }
.lead { margin: 0; max-width: 720px; color: #475467; font-size: clamp(1.05rem, 2vw, 1.24rem); }
.hero-copy { margin: 18px 0 0; max-width: 710px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 19px;
  border: 1px solid var(--primary);
  border-radius: 13px;
  background: var(--primary);
  color: #fff;
  font-weight: 650;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }
.button.secondary { border-color: #dce4ef; background: #fff; color: #344054; }
.button.secondary:hover { border-color: #b9c8dc; color: var(--primary-dark); }

.section { margin-top: 28px; }
.section-heading { margin: 0 0 17px; padding: 0 4px; }
.section-heading p { margin: -7px 0 0; color: var(--muted); }
.card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--surface);
  border: 1px solid rgba(228, 234, 243, 0.96);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.featured { position: relative; overflow: hidden; }
.featured::after {
  position: absolute;
  top: -65px;
  right: -65px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(22, 119, 255, 0.08);
  content: "";
}
.tag { display: inline-block; margin-bottom: 15px; padding: 5px 11px; border-radius: 999px; background: #eaf3ff; color: var(--primary-dark); font-size: .82rem; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.link-list, .feature-list { margin: 0; padding: 0; list-style: none; }
.link-list li + li { border-top: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 18px; padding: 15px 2px; color: #344054; }
.link-list a:hover { color: var(--primary); }
.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.feature-list li { padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: #fafcff; }
.feature-list li::before { margin-right: 9px; color: var(--primary); content: "✓"; font-weight: 700; }
.status { padding: 18px 20px; border-left: 4px solid var(--primary); border-radius: 10px; background: #f1f7ff; color: #344054; }

.document { max-width: 860px; margin: 0 auto; }
.document .page-title { padding: 38px 4px 26px; }
.document .page-title h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.document .card { padding: clamp(25px, 5vw, 48px); }
.document section + section { margin-top: 34px; padding-top: 8px; }
.document h2 { font-size: 1.35rem; }
.document ul { padding-left: 1.4em; }
.updated { color: var(--muted); font-size: .92rem; }

.site-footer { padding: 0 0 35px; color: #667085; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 4px; border-top: 1px solid #dfe5ed; }
.site-footer p { margin: 0; }
.site-footer a { color: #667085; }
.site-footer a:hover { color: var(--primary); }

@media (max-width: 720px) {
  .container { width: min(100% - 24px, 1080px); }
  .site-header { padding-top: 12px; }
  .nav { align-items: flex-start; flex-direction: column; gap: 9px; padding: 13px 15px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 4px 10px; }
  main { padding-top: 18px; }
  .hero { padding: 40px 3px 34px; }
  .grid, .grid.three, .feature-list { grid-template-columns: 1fr; }
  .card { border-radius: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
