:root {
  --bg: #ffffff;
  --bg-alt: #f7f7f8;
  --ink: #111214;
  --ink-2: #4b4f57;
  --muted: #8a8f98;
  --line: #e8e9ec;
  --accent: #f26a1b;
  --accent-ink: #c24f08;
  --radius: 16px;
  --max: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-2); font-size: 14.5px; }
.nav-links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: #d4d6db; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { padding: 96px 0 72px; }
.eyebrow {
  margin: 0 0 14px; font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink);
}
h1 {
  margin: 0 0 22px; font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04; letter-spacing: -.035em; font-weight: 750;
}
.lede { max-width: 640px; margin: 0 0 32px; font-size: 19px; color: var(--ink-2); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1px; margin: 0; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stats > div { background: #fff; padding: 22px 20px; }
.stats dt { font-size: 30px; font-weight: 750; letter-spacing: -.02em; }
.stats dd { margin: 2px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  margin: 0 0 14px; font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.12; letter-spacing: -.025em; font-weight: 720;
}
.body-copy { max-width: 720px; color: var(--ink-2); font-size: 17px; }

.grid { display: grid; gap: 16px; margin-top: 40px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .15s ease, box-shadow .15s ease;
}
.card:hover { border-color: #d8dae0; box-shadow: 0 10px 28px rgba(17,18,20,.06); }
.card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.card-head h3 { margin: 0; }
.pill {
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.link { display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--accent-ink); }
.link:hover { color: var(--accent); }

.checklist { margin: 24px 0 0; padding: 0; list-style: none; max-width: 720px; }
.checklist li {
  position: relative; padding: 10px 0 10px 30px;
  border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15.5px;
}
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 19px;
  width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- cta ---------- */
.section-cta { padding: 40px 0 96px; }
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--ink); color: #fff; border-radius: 24px;
  padding: 48px 44px;
}
.cta-card h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -.02em; }
.cta-card p { margin: 0; color: rgba(255,255,255,.72); }
.cta-card .btn-primary { background: #fff; color: var(--ink); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 44px 0 64px; background: #fff; }
.footer-inner { display: grid; gap: 10px; }
.footer p { margin: 0; color: var(--ink-2); font-size: 14px; }
.footer .muted { color: var(--muted); font-size: 13px; }

/* ---------- sub pages ---------- */
.page-head { padding: 72px 0 8px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 48px); }
.page-body { padding: 24px 0 96px; }
.table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14.5px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.table td { color: var(--ink-2); }
.dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.note {
  margin-top: 28px; padding: 16px 18px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg-alt); color: var(--ink-2); font-size: 14px;
}
.prose { max-width: 760px; }
.prose h2 { margin: 36px 0 10px; font-size: 24px; }
.prose p, .prose li { color: var(--ink-2); }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 64px 0 48px; }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3, .grid-2, .dl-grid { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
}
