@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600;700&family=EB+Garamond:wght@400;500;600;700;800&display=swap');

:root {
  --blue: #c8e0f4;
  --pink: #f5e0e8;
  --ink: #171f26;
  --ink-soft: #3c4c58;
  --ink-mute: #6b7f8d;
  --line: rgba(23, 31, 38, 0.1);
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 28px;
  --out: -4px -4px 12px rgba(255, 255, 255, 0.92), 5px 5px 14px rgba(23, 31, 38, 0.14);
  --in: inset -3px -3px 8px rgba(255, 255, 255, 0.95), inset 4px 4px 9px rgba(23, 31, 38, 0.13);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 176px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: 'EB Garamond', 'Crimson Text', 'Songti SC', 'Noto Serif CJK SC', Georgia, 'SimSun', serif;
  font-size: 17px;
  line-height: 1.75;
  background: linear-gradient(158deg, #eaf3fb 0%, #f1eef6 54%, #fbeef2 100%);
  background-attachment: fixed;
}

a { color: #1d4a68; }
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid #2a5f84;
  outline-offset: 3px;
}

/* ---------- 顶栏 ---------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 12px clamp(14px, 3vw, 34px) 10px;
  background: linear-gradient(150deg, #f3f9fd, #e1ecf6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(23, 31, 38, 0.09);
}

.mast-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 5px 15px 5px 7px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  background: linear-gradient(145deg, #fdfeff, #e4eef7);
  box-shadow: var(--out);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.brand:active { box-shadow: var(--in); transform: scale(0.985); }
.brand-name { font-size: 1.06rem; font-weight: 600; letter-spacing: 0.14em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: block; }
.brand-dot {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--blue), var(--pink));
  box-shadow: var(--in);
}

.find { display: flex; align-items: center; gap: 8px; }
.find-in {
  width: clamp(116px, 24vw, 200px);
  min-height: 42px;
  padding: 8px 14px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #e5eff8;
  box-shadow: var(--in);
}
.find-in::placeholder { color: var(--ink-mute); }
.find-go {
  min-height: 42px;
  padding: 8px 16px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(145deg, #ffffff, #dde9f4);
  box-shadow: var(--out);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.find-go:active { box-shadow: var(--in); transform: scale(0.97); }

.mast-nav {
  max-width: 1120px;
  margin: 10px auto 0;
  padding: 6px;
  border-radius: var(--r-md);
  background: linear-gradient(145deg, #f7fbfe, #e3edf6);
  box-shadow: var(--in);
}
.mast-nav p {
  display: flex;
  gap: 6px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.mast-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 16px;
  letter-spacing: 0.06em;
  transition: color 150ms ease, box-shadow 150ms ease, background 150ms ease, transform 150ms ease;
}
.mast-nav a:hover { color: var(--ink); background: linear-gradient(145deg, #ffffff, #e4eef7); box-shadow: var(--out); }
.mast-nav a:active { box-shadow: var(--in); transform: scale(0.97); }

/* ---------- 版面 ---------- */
.shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  align-items: start;
  gap: clamp(18px, 2.6vw, 32px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px) clamp(14px, 3vw, 34px) 44px;
}
.body { min-width: 0; }

.body > section {
  scroll-margin-top: 176px;
  margin: 0 0 26px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, #f9fcfe, #e9f1f8);
}
.body > section:last-child { margin-bottom: 0; }

/* 首屏 */
.lede {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(16px, 3vw, 30px);
  min-height: 45vh;
  background-image:
    radial-gradient(rgba(23, 31, 38, 0.1) 1px, transparent 1px),
    linear-gradient(150deg, #f4fafe, #f7eaf0);
  background-size: 18px 18px, cover;
}
.lede-h1 {
  margin: 0 0 14px;
  font-size: clamp(1.72rem, 4.4vw, 2.55rem);
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lede-desc { margin: 0 0 20px; max-width: 46ch; color: var(--ink-soft); }
.lede-cta { margin: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 24px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  letter-spacing: 0.12em;
  background: linear-gradient(145deg, #ffffff, #dceafa);
  box-shadow: var(--out);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.btn:active { box-shadow: var(--in); transform: scale(0.97); }

img.lede-art {
  display: block;
  justify-self: end;
  width: clamp(104px, 18vw, 176px);
  height: auto;
  border-radius: 22px;
  box-shadow: var(--out);
}

/* 正文排版 */
.body h2 { margin: 0 0 0.62em; font-size: clamp(1.28rem, 2.6vw, 1.68rem); line-height: 1.45; letter-spacing: 0.02em; }
.body h3 { margin: 1.4em 0 0.5em; font-size: 1.16rem; line-height: 1.5; letter-spacing: 0.02em; }
.body p { margin: 0 0 1.05em; }
.body ul,
.body ol { margin: 0 0 1.05em; padding-left: 1.35em; }
.body li { margin: 0.34em 0; }
.body a { text-underline-offset: 3px; }
.body img { display: block; max-width: 100%; height: auto; margin: 1.1em 0; border-radius: 20px; }
.body blockquote {
  margin: 1.2em 0;
  padding: 14px 20px;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
}
.body small { color: var(--ink-mute); }

/* 侧栏 */
.kicker {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}
.side { position: sticky; top: 176px; }
.side-box {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, #f9fcfe, #e7f0f7);
}
.side-h2 { margin: 0 0 14px; font-size: 1.06rem; font-weight: 600; letter-spacing: 0.3em; }
.jumps { display: flex; flex-direction: column; gap: 8px; }
.jump {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 16px;
  letter-spacing: 0.05em;
  background: linear-gradient(145deg, #fbfdff, #e2ecf6);
  box-shadow: var(--out);
  transition: box-shadow 150ms ease, transform 150ms ease, color 150ms ease;
}
.jump:hover { color: var(--ink); }
.jump:active { box-shadow: var(--in); transform: scale(0.985); }
.side-top { margin: 16px 0 0; }
.side-top .jump { justify-content: center; letter-spacing: 0.16em; }

/* ---------- 页脚 ---------- */
.base {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: clamp(18px, 3vw, 34px);
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 34px) 16px;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: linear-gradient(160deg, #f2f8fd, #f7e9ef);
}
.base-col { min-width: 0; }
.base-col h3 { margin: 0 0 10px; font-size: 1.1rem; letter-spacing: 0.08em; }
.base-note { margin: 0; color: var(--ink-soft); }
.base-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.base-list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 12px;
  border-radius: var(--r-sm);
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 16px;
  background: linear-gradient(145deg, #fdfeff, #e4eef7);
  box-shadow: var(--out);
  transition: box-shadow 150ms ease, transform 150ms ease, color 150ms ease;
}
.base-list a:hover { color: var(--ink); }
.base-list a:active { box-shadow: var(--in); transform: scale(0.98); }

.subs { display: flex; flex-direction: column; gap: 8px; max-width: 260px; }
.subs-in {
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #e5eff8;
  box-shadow: var(--in);
}
.subs-in::placeholder { color: var(--ink-mute); }
.subs-go {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.16em;
  color: var(--ink);
  cursor: pointer;
  background: linear-gradient(145deg, #ffffff, #dceafa);
  box-shadow: var(--out);
  transition: box-shadow 150ms ease, transform 150ms ease;
}
.subs-go:active { box-shadow: var(--in); transform: scale(0.98); }

.copy {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  font-size: 16px;
  letter-spacing: 0.1em;
  text-align: center;
  color: var(--ink-mute);
}

/* ---------- 动效 ---------- */
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 550ms ease, transform 550ms ease;
}
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .brand,
  .find-go,
  .mast-nav a,
  .btn,
  .jump,
  .base-list a,
  .subs-go { transition-duration: 1ms; }
}

/* ---------- 断点 ---------- */
@media (max-width: 980px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; order: 2; }
  .base { grid-template-columns: 1fr 1fr; }
  .base-col-c { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  html { scroll-padding-top: 150px; }
  .body > section { scroll-margin-top: 150px; }
  .mast { padding-top: 10px; }
  .brand-name { font-size: 1rem; letter-spacing: 0.1em; }
  .lede { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  img.lede-art { justify-self: start; width: 108px; }
  .base { grid-template-columns: 1fr; }
  .base-list { grid-template-columns: 1fr 1fr; }
  .jumps { gap: 7px; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

button[aria-expanded]{min-width:44px;min-height:44px}
