:root {
  --bg-dark: #251943;
  --bg-paper: #DBD4ED;
  --text-body: #191523;
  --color-brand: #5214EB;
  --color-accent: #ED6E89;
  --radius-card: 0;
  --radius-btn: 0;
  --card-border: 0;
  --card-shadow: 0 10px 28px -14px rgba(25, 21, 35, 0.3);
  --section-y: clamp(2.5rem, 5vw, 4rem);
  --gap: clamp(0.75rem, 1.5vw, 1.25rem);
  --content-max: 960px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--font-sans); font-size: 16px; line-height: 1.55; color: var(--text-body); background: var(--bg-paper); scroll-behavior: smooth; }
body { min-height: 100vh; display: flex; flex-direction: column; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gap); width: 100%; }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section-dark { background: var(--bg-dark); color: var(--bg-paper); }
.section-dark .hl { color: var(--color-accent); }
.section-dark .眉标 { color: var(--color-accent); }
.section-dark .btn-secondary { color: var(--bg-paper); border-color: var(--bg-paper); }

/* Header & Nav */
header { position: sticky; top: 0; z-index: 100; background: var(--bg-paper); border-bottom: 1px solid rgba(25,21,35,0.08); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; }
.brand img { height: 32px; width: auto; }
nav { display: flex; gap: 24px; align-items: center; }
nav a { font-weight: 500; font-size: 0.95rem; position: relative; padding: 4px 0; transition: color 0.2s; }
nav a:hover { color: var(--color-brand); }
nav a[aria-current="page"] { color: var(--color-brand); font-weight: 700; }
.nav-cta { margin-left: 12px; }

/* Typography */
.h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 500; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 16px; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.25; margin-bottom: 24px; letter-spacing: -0.01em; }
.h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 12px; }
p { margin-bottom: 16px; max-width: 38em; }
.hl { font-weight: 700; }
.paper .hl { color: var(--color-brand); }
.dark .hl { color: var(--color-accent); }
.眉标 { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
.paper .眉标 { color: var(--color-brand); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 24px; height: 48px; font-size: 1rem; font-weight: 600; border: none; cursor: pointer; transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; border-radius: var(--radius-btn); }
.btn-primary { background: var(--color-accent); color: var(--bg-dark); }
.btn-primary:hover { background: #d95a75; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--text-body); border: 1px solid var(--text-body); }
.btn-secondary:hover { background: rgba(25,21,35,0.05); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
.btn-lg { height: 56px; font-size: 1.1rem; padding: 0 32px; }

/* Cards & Panels */
.card { width: 100%; background: #fff; border: var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow); padding: 24px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -12px rgba(25, 21, 35, 0.35); }
.panel { background: var(--bg-dark); border-radius: var(--radius-card); padding: 24px; position: relative; overflow: hidden; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: var(--gap); }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 24px; }
table { width: 100%; border-collapse: collapse; min-width: 500px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(25,21,35,0.1); }
th { font-weight: 700; background: rgba(25,21,35,0.03); }
td { vertical-align: top; }
.link-cell a { color: var(--color-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* FAQ */
details { margin-bottom: 12px; border-bottom: 1px solid rgba(25,21,35,0.1); }
summary { padding: 16px 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.2rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { padding-bottom: 16px; margin-top: 8px; }

/* Step Badge */
.step-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--color-accent); color: var(--bg-dark); font-weight: 800; font-size: 0.9rem; margin-right: 12px; vertical-align: middle; }
.step-list { counter-reset: step; }
.step-list li { position: relative; padding-left: 48px; margin-bottom: 20px; }
.step-list li::before { content: attr(data-step); position: absolute; left: 0; top: 0; }

/* SVG Container */
.svg-container { width: 100%; height: auto; display: block; }
.svg-container svg { width: 100%; height: auto; }

/* Animations */
@keyframes floatPanel1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes floatPanel2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes breathe { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes slideUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.15); opacity: 1; } }

.anim-float-1 { animation: floatPanel1 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.anim-float-2 { animation: floatPanel2 7s ease-in-out infinite 1.5s; transform-box: fill-box; transform-origin: center; }
.anim-breathe { animation: breathe 4s ease-in-out infinite; }
.anim-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: drawStroke 2.5s ease forwards; }
.anim-slide { animation: slideUp 0.8s ease-out forwards; }
.anim-pulse { animation: pulseDot 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mb-2 { margin-bottom: 16px; }
.flex-col { display: flex; flex-direction: column; }
@media (min-width: 768px) { .flex-col { flex-direction: row; } .flex-col.reverse-mobile { flex-direction: row-reverse; } }

/* 兜底：裁掉横向溢出 */
div.grid-2 {
  overflow-x: clip;
}
