:root {
  --bg: #f5f6f7;
  --surface: #ffffff;
  --surface-2: #f3f0f2;
  --text: #1f2326;
  --text-muted: #3c4248;
  --accent: #b01058;
  --accent-ink: #ffffff;
  --border: #ece4e8;
  --ring: #c2185b;
  --ok: #2f7a45;
  --warn: #c2185b;
  --danger: #b42318;
  --info: #3d4a5c;
  --cta: #8e1142;
  --cta-ink: #fff7fa;
  --cta-wash: rgba(80, 10, 36, 0.22);
  --cta-clip: rgba(255, 214, 230, 0.55);
  --fs-h1: 28px;
  --fs-h2: 20px;
  --fs-h3: 17px;
  --fs-body: 16px;
  --fs-small: 13px;
  --lh: 1.7;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-1: 0 1px 0 var(--border);
  --shadow-2: 0 8px 22px rgba(116, 116, 116, 0.1);
  --container: 720px;
  --container-wide: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 160ms;
  --cta-loop: 2.9s;
  --header-h: 64px;
  --cta-space: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
}

body {
  margin: 0;
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: var(--cta-space);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: var(--lh);
  overflow-wrap: anywhere;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

h1,
.h1 {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 var(--space-4);
}

h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 var(--space-3);
}

h3 {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 var(--space-2);
}

p {
  margin: 0 0 var(--space-4);
}

a {
  color: var(--accent);
  text-decoration: none;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: var(--space-3);
  top: var(--space-3);
  background: var(--surface);
  padding: var(--space-2) var(--space-3);
  z-index: 80;
}

.wrap {
  width: min(var(--container-wide), calc(100% - var(--space-6)));
  margin: 0 auto;
}

.narrow {
  width: min(var(--container), 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-main {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.nav-main a {
  color: var(--text);
  padding: 10px 12px;
  border-radius: 6px;
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--accent);
  background: var(--surface-2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.mast {
  padding: var(--space-6) 0 var(--space-5);
}

.kicker {
  color: var(--accent);
  font-size: var(--fs-small);
  font-weight: 700;
  margin: 0 0 var(--space-2);
}

.lead {
  font-size: 17px;
  max-width: 42em;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
}

.tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-1);
  color: var(--text);
}

.tile:hover {
  color: var(--text);
  border-color: #f7b0cf;
}

.tile b {
  color: var(--accent);
  font-size: 17px;
}

.tile span {
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.section {
  padding-block: var(--space-5);
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-2);
  padding: var(--space-5);
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: var(--space-5);
}

.aside {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-1);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
}

.chips a {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
}

.chips a:hover,
.chips a[aria-current="page"] {
  color: var(--accent);
  border-color: var(--accent);
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rows li {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-3);
  box-shadow: var(--shadow-1);
}

.table-scroll {
  overflow-x: auto;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.sheet th,
.sheet td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.sheet th {
  width: 28%;
  color: var(--text-muted);
  font-weight: 400;
  background: var(--surface-2);
}

.faq details {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-2);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.paper-fig {
  margin: 0;
  background: var(--surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.paper-fig img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.crumb {
  color: var(--text-muted);
  font-size: var(--fs-small);
  margin-bottom: var(--space-3);
}

.crumb a {
  color: var(--text-muted);
}

.site-footer {
  padding: var(--space-6) 0 calc(var(--cta-space) + var(--space-4));
  color: var(--text-muted);
  font-size: var(--fs-small);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: var(--space-5);
}

.site-footer a {
  color: var(--text);
  display: block;
  padding: 4px 0;
}

.footer-brand a {
  font-size: 16px;
  font-weight: 700;
}

.site-cta {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 60;
  width: min(500px, calc(100vw - 24px));
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--cta);
  color: var(--cta-ink);
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-2);
}

.site-cta:hover,
.site-cta:focus-visible {
  color: var(--cta-ink);
}

.site-cta::before,
.site-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-cta::before {
  inset: 0;
  background: radial-gradient(120% 140% at 22% 50%, var(--cta-wash) 0%, transparent 72%);
  opacity: 0;
  animation: cta-report-ink var(--cta-loop) var(--ease) infinite;
}

.site-cta::after {
  width: 16px;
  height: 16px;
  right: 16px;
  top: 50%;
  margin-top: -8px;
  background: var(--cta-clip);
  opacity: 0;
  transform: translateY(3px);
  animation: cta-clip var(--cta-loop) var(--ease) infinite;
}

.site-cta span {
  position: relative;
  z-index: 1;
}

@keyframes cta-report-ink {
  0%,
  54% {
    opacity: 0;
  }
  68% {
    opacity: 0.26;
  }
  88%,
  100% {
    opacity: 0;
  }
}

@keyframes cta-clip {
  0%,
  62% {
    opacity: 0;
    transform: translateY(3px);
  }
  74% {
    opacity: 0.72;
    transform: translateY(0);
  }
  90%,
  100% {
    opacity: 0.16;
    transform: translateY(0);
  }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer-mask {
  position: absolute;
  inset: 0;
  background: rgba(43, 47, 51, 0.28);
  opacity: 0;
}

.drawer.is-open .drawer-mask {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: min(280px, 86vw);
  height: 100%;
  background: var(--surface);
  padding: var(--space-5);
  transform: translateX(-100%);
  transition: transform var(--dur) var(--ease);
}

.drawer.is-open .drawer-panel {
  transform: none;
}

.drawer-panel a {
  display: block;
  padding: var(--space-3) 0;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 992px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-main {
    display: none;
  }

  h1,
  .h1 {
    font-size: 24px;
  }

  .tiles {
    grid-template-columns: 1fr 1fr;
  }

  .site-cta {
    left: 14px;
    right: 14px;
    width: auto;
    transform: none;
    bottom: calc(12px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-cta::before,
  .site-cta::after,
  .drawer-panel {
    animation: none;
    transition: none;
  }

  .site-cta::before {
    opacity: 0.16;
  }

  .site-cta::after {
    opacity: 0.45;
    transform: translateY(0);
  }
}
