/* ============================================================
   书笙乐谱 SSScore · 产品官网
   配色取自品牌：墨绿 / 米色谱纸 / 朱砂 / 赭金
   ============================================================ */

:root {
  --ink: #15382b;
  --ink-2: #0b241b;
  --ink-3: #1e4a39;
  --paper: #f6f0e2;
  --paper-2: #fcf8ee;
  --paper-3: #efe7d4;
  --green: #7da469;
  --green-soft: #dce7d2;
  --cinnabar: #b23c2b;
  --gold: #d3ac62;
  --muted: #5e6e62;
  --muted-light: #a9b8aa;
  --line: rgba(21, 56, 43, 0.14);
  --line-strong: rgba(21, 56, 43, 0.26);
  --shadow: 0 30px 70px -34px rgba(11, 36, 27, 0.42);
  --radius: 22px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1180px, 100% - 56px);
  margin-inline: auto;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }

.btn-primary {
  background: var(--ink);
  color: var(--paper-2);
  box-shadow: 0 14px 28px -16px rgba(11, 36, 27, 0.7);
}
.btn-primary:hover {
  background: var(--ink-3);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -16px rgba(11, 36, 27, 0.66);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: rgba(21, 56, 43, 0.06);
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--paper-2);
  color: var(--ink);
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 240, 226, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(11, 36, 27, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.brand-text small {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 3px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav > a:not(.btn) {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.78;
  position: relative;
  padding: 4px 0;
  transition: opacity 0.15s ease;
}
.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.site-nav > a:not(.btn):hover { opacity: 1; }
.site-nav > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.6px;
  background: var(--ink);
  content: "";
  transform: translateX(-50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -0.8px; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------------- 首屏 ---------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 104px;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-staff {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 21px,
    rgba(21, 56, 43, 0.075) 21px,
    rgba(21, 56, 43, 0.075) 22px
  );
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 20%, transparent 78%);
}
.hero-numbers {
  position: absolute;
  right: 2%;
  top: 4%;
  font-family: var(--serif);
  font-size: clamp(220px, 30vw, 440px);
  line-height: 0.8;
  letter-spacing: 0.04em;
  color: rgba(21, 56, 43, 0.045);
  white-space: nowrap;
  user-select: none;
}
.hero-glow {
  position: absolute;
  left: -18%;
  top: -30%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(125, 164, 105, 0.28), transparent 65%);
  filter: blur(10px);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(252, 248, 238, 0.7);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cinnabar);
  box-shadow: 0 0 0 4px rgba(178, 60, 43, 0.14);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.015em;
}
.hero h1 em {
  position: relative;
  font-style: normal;
  color: var(--cinnabar);
  display: inline-block;
  z-index: 1;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 1%;
  right: 1%;
  bottom: 0.06em;
  height: 0.13em;
  border-radius: 99px;
  background: var(--gold);
  opacity: 0.55;
  transform: rotate(-1.2deg);
  z-index: -1;
}

.hero-lead {
  margin: 26px 0 0;
  max-width: 30em;
  font-size: 17.5px;
  line-height: 1.85;
  color: #3c4f43;
}
.hero-sub {
  margin: 10px 0 0;
  font-size: 16px;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-facts li { position: relative; padding-left: 16px; }
.hero-facts li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.hero-visual { position: relative; }

.sheet-stack {
  position: relative;
  height: clamp(320px, 39vw, 440px);
}

.sheet {
  position: absolute;
  margin: 0;
  padding: 14px 16px 18px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 50px -30px rgba(11, 36, 27, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.sheet figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.sheet-label { font-weight: 600; letter-spacing: 0.16em; }
.sheet-tag {
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  opacity: 0.85;
  white-space: nowrap;
}
.sheet img { width: 100%; height: auto; }

.sheet-back-a {
  width: 78%;
  left: 1%;
  top: 3%;
  transform: rotate(-6.5deg);
  opacity: 0.96;
}
.sheet-back-b {
  width: 68%;
  right: 0;
  top: 11%;
  transform: rotate(5.5deg);
  background: #fbf6e9;
}

.sheet-front {
  width: 88%;
  left: 6%;
  top: 36%;
  transform: rotate(-1.2deg);
  box-shadow: 0 36px 70px -34px rgba(11, 36, 27, 0.58);
}
.sheet-stack:hover .sheet-back-a { transform: rotate(-8deg) translate(-6px, -4px); }
.sheet-stack:hover .sheet-back-b { transform: rotate(7deg) translate(6px, -2px); }
.sheet-stack:hover .sheet-front { transform: rotate(-0.4deg) translateY(-6px); }

.hero-note {
  margin: 20px 0 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: right;
}

/* ---------------- 通用分节 ---------------- */
.section { padding: 112px 0; }
.section-paper {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 720px; }
.section-head h2 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
}
.section-lead {
  margin: 18px 0 0;
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 34em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--muted);
}
.eyebrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--cinnabar);
}

/* ---------------- 谱式区 ---------------- */
.notation-demo {
  margin-top: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf7;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(239, 231, 212, 0.35);
}
.seg-btn {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}
.seg-btn:hover { color: var(--ink); background: rgba(21, 56, 43, 0.06); }
.seg-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-2);
}

.notation-panel {
  padding: 34px clamp(20px, 6vw, 76px) 26px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 6px, rgba(21,56,43,0.018) 6px 7px),
    #fffdf7;
}
.notation-panel img {
  width: 100%;
  height: auto;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.notation-panel img.is-swapping { opacity: 0; transform: translateY(6px); }
.notation-caption {
  margin: 22px auto 0;
  max-width: 46em;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.notation-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.note-card {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(252, 248, 238, 0.55);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.25s ease;
}
.note-card:hover {
  border-color: var(--line-strong);
  background: var(--paper-2);
  transform: translateY(-4px);
}
.note-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  margin-bottom: 16px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-size: 12px;
  color: var(--cinnabar);
}
.note-card h3,
.feature-card h3,
.platform-card h3,
.callout h3,
.ai-steps h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}
.note-card p,
.feature-card p,
.platform-card p,
.callout p,
.ai-steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

/* ---------------- AI 区 ---------------- */
.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--ink-2);
  color: var(--paper);
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 82% 8%, rgba(125, 164, 105, 0.2), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 29px, rgba(246, 240, 226, 0.035) 29px 30px);
  pointer-events: none;
}
.section-dark .wrap { position: relative; }
.section-dark .eyebrow { color: var(--muted-light); }
.section-dark .eyebrow span {
  border-color: rgba(246, 240, 226, 0.28);
  color: var(--gold);
}
.section-dark .section-head h2 { color: var(--paper); }
.section-dark .section-lead { color: rgba(246, 240, 226, 0.66); }

.ai-head {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: end;
}
.ai-mascot {
  width: 100%;
  max-width: 260px;
  justify-self: end;
  border-radius: 26px;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35));
  transform: rotate(2deg);
}

.ai-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(246, 240, 226, 0.16);
}
.ai-steps li {
  padding: 34px 30px 8px 0;
  border-right: 1px solid rgba(246, 240, 226, 0.12);
}
.ai-steps li:last-child { border-right: 0; padding-right: 0; }
.ai-steps li:not(:first-child) { padding-left: 30px; }
.step-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--gold);
}
.ai-steps h3 { color: var(--paper); }
.ai-steps p { color: rgba(246, 240, 226, 0.66); }

.ai-callouts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 42px;
}
.callout {
  padding: 30px 30px 32px;
  border: 1px solid rgba(246, 240, 226, 0.16);
  border-radius: 18px;
  background: rgba(246, 240, 226, 0.035);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}
.callout:hover {
  background: rgba(246, 240, 226, 0.06);
  border-color: rgba(246, 240, 226, 0.3);
  transform: translateY(-3px);
}
.callout-tag {
  display: inline-block;
  margin: 0 0 14px !important;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(211, 172, 98, 0.16);
  color: var(--gold) !important;
  font-size: 12px !important;
  letter-spacing: 0.1em;
}
.callout h3 { color: var(--paper); }
.callout p { color: rgba(246, 240, 226, 0.66); }

.ai-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 52px;
  padding-top: 34px;
  border-top: 1px solid rgba(246, 240, 226, 0.16);
}
.ai-cta p {
  margin: 0;
  font-size: 14.5px;
  color: rgba(246, 240, 226, 0.68);
}

/* ---------------- 能力区 ---------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(252, 248, 238, 0.5);
  transition: transform 0.25s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  background: var(--paper-2);
  box-shadow: 0 26px 48px -34px rgba(11, 36, 27, 0.4);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--ink);
}
.feature-icon svg { width: 24px; height: 24px; }

/* ---------------- 平台区 ---------------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.platform-card {
  padding: 28px 24px 24px;
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 44px -32px rgba(11, 36, 27, 0.42);
}
.platform-icon {
  display: inline-flex;
  width: 34px; height: 34px;
  margin-bottom: 18px;
  color: var(--ink);
}
.platform-icon svg { width: 100%; height: 100%; }
.platform-card p { font-size: 13px; margin-bottom: 18px; }
.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cinnabar);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, gap 0.18s ease;
}
.platform-link:hover { border-bottom-color: currentColor; gap: 10px; }
.platform-note {
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------------- FAQ ---------------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: color 0.18s ease;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px; height: 11px;
  margin-top: -7px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.22s ease;
}
.faq-list details[open] summary { color: var(--cinnabar); }
.faq-list details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}
.faq-list summary:hover { color: var(--cinnabar); }
.faq-list details p {
  margin: 0;
  padding: 0 44px 24px 0;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------------- 页脚 ---------------- */
.site-footer {
  background: var(--ink-2);
  color: var(--paper);
  padding: 64px 0 34px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(246, 240, 226, 0.14);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-brand img { width: 52px; height: 52px; }
.footer-brand div { display: flex; flex-direction: column; line-height: 1.4; }
.footer-brand strong {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
}
.footer-brand span {
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(246, 240, 226, 0.55);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
}
.footer-links a {
  font-size: 13.5px;
  color: rgba(246, 240, 226, 0.72);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-links a:hover { color: var(--paper); }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 12px 32px;
  flex-wrap: wrap;
  padding-top: 24px;
}
.footer-base p {
  margin: 0;
  font-size: 12px;
  color: rgba(246, 240, 226, 0.45);
}

/* ---------------- 动效 ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------- 响应式 ---------------- */
/* ---------------- AI Skill ---------------- */
.skill-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.skill-home-grid h2,
.skill-hero h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.01em;
}
.skill-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}
.skill-points li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--muted);
}
.skill-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
}
.skill-points strong { color: var(--ink); font-weight: 600; }
.skill-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.skill-terminal {
  position: relative;
  padding: 0 0 24px;
  border-radius: 18px;
  background: var(--ink-2);
  color: var(--paper);
  box-shadow: 0 34px 70px -36px rgba(11, 36, 27, 0.7);
  overflow: hidden;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(246, 240, 226, 0.12);
  background: rgba(246, 240, 226, 0.035);
}
.terminal-bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(246, 240, 226, 0.22);
}
.terminal-bar span:first-child { background: #c96a55; }
.terminal-bar span:nth-child(2) { background: var(--gold); }
.terminal-bar span:nth-child(3) { background: var(--green); }
.terminal-bar em {
  margin-left: auto;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 240, 226, 0.45);
}
.skill-terminal pre {
  margin: 0;
  padding: 24px 22px 4px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  line-height: 1.9;
  white-space: pre-wrap;
  word-break: break-all;
}
.skill-terminal code { color: #f3d9a2; }
.skill-terminal .code-dim { color: rgba(246, 240, 226, 0.42); }
.terminal-note {
  margin: 14px 22px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(246, 240, 226, 0.1);
  font-size: 12.5px;
  line-height: 1.75;
  color: rgba(246, 240, 226, 0.5);
}
.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.skill-badges span {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(252, 248, 238, 0.6);
}

/* Skill 独立页 */
.skill-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 80px;
  background: var(--ink-2);
  color: var(--paper);
}
.skill-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 82% 10%, rgba(125, 164, 105, 0.24), transparent 70%),
    radial-gradient(ellipse 40% 40% at 8% 90%, rgba(211, 172, 98, 0.12), transparent 70%),
    repeating-linear-gradient(to bottom, transparent 0 29px, rgba(246, 240, 226, 0.03) 29px 30px);
  pointer-events: none;
}
.skill-hero .wrap { position: relative; }
.skill-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 56px;
  align-items: center;
}
.skill-hero .eyebrow { color: var(--muted-light); }
.skill-hero .eyebrow span { border-color: rgba(246,240,226,.28); color: var(--gold); }
.skill-hero h1 { color: var(--paper); font-size: clamp(40px, 5.2vw, 64px); }
.skill-hero .lead {
  margin: 22px 0 0;
  max-width: 36em;
  font-size: 17px;
  line-height: 1.9;
  color: rgba(246, 240, 226, 0.68);
}
.skill-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.skill-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  font-size: 12.5px;
  color: rgba(246, 240, 226, 0.44);
}
.skill-hero-meta span::before {
  content: "·";
  margin-right: 8px;
  color: var(--gold);
}
.skill-hero-meta span:first-child::before { content: none; margin: 0; }
.skill-hero-card {
  padding: 28px;
  border: 1px solid rgba(246, 240, 226, 0.14);
  border-radius: 20px;
  background: rgba(246, 240, 226, 0.05);
}
.skill-hero-card h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--paper);
}
.skill-hero-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
  counter-reset: flow;
}
.skill-hero-card li {
  position: relative;
  padding-left: 30px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(246, 240, 226, 0.62);
  counter-increment: flow;
}
.skill-hero-card li::before {
  content: counter(flow);
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  border: 1px solid rgba(246, 240, 226, 0.24);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  color: var(--gold);
}

.skill-page-section { padding: 88px 0; }
.skill-page-section h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.3;
}
.skill-page-section .section-lead { max-width: 40em; }

.skill-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.skill-card {
  padding: 26px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(252, 248, 238, 0.55);
}
.skill-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
}
.skill-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 42px;
}
.install-card {
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}
.install-card.primary {
  border-color: rgba(21, 56, 43, 0.28);
  box-shadow: 0 24px 50px -36px rgba(11, 36, 27, 0.45);
}
.install-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.install-card h3 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 22px;
}
.install-card > p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.code-block {
  position: relative;
  margin: 0;
  border-radius: 12px;
  background: var(--ink-2);
  color: #f3d9a2;
  overflow: hidden;
}
.code-block pre {
  margin: 0;
  padding: 18px 18px;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 12.5px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-all;
}
.code-block .code-label {
  display: block;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(246, 240, 226, 0.1);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(246, 240, 226, 0.42);
}
.install-steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 10px;
}
.install-steps li {
  position: relative;
  padding-left: 28px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  counter-increment: step;
}
.install-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--paper-3);
  font-family: var(--serif);
  font-size: 10px;
  line-height: 18px;
  text-align: center;
  color: var(--ink);
}

.skill-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.skill-flow li {
  padding: 24px 18px 4px 0;
  border-right: 1px solid var(--line);
}
.skill-flow li:last-child { border-right: 0; }
.skill-flow li:not(:first-child) { padding-left: 18px; }
.skill-flow .flow-num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--cinnabar);
}
.skill-flow h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 16px;
}
.skill-flow p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.skill-file-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}
.skill-file {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(252, 248, 238, 0.45);
}
.skill-file code {
  display: block;
  margin-bottom: 6px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12.5px;
  color: var(--ink);
  word-break: break-all;
}
.skill-file span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 38px;
}
.prompt-card {
  padding: 20px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(252, 248, 238, 0.52);
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}
.prompt-card small {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.download-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
}
.download-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 19px;
}
.download-card p {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
.download-card .btn { margin-top: auto; }
.download-card .file-meta {
  margin: -8px 0 16px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  color: var(--muted);
}

.skill-note {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(239, 231, 212, 0.38);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.skill-note strong { color: var(--ink); }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 640px; }
  .sheet-stack { height: clamp(300px, 58vw, 430px); }
  .hero-note { text-align: left; }
  .notation-notes { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-head { grid-template-columns: 1fr; }
  .ai-mascot { display: none; }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .skill-home-grid,
  .skill-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .skill-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .skill-flow { grid-template-columns: repeat(3, 1fr); }
  .download-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .header-inner { height: 68px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 28px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -28px rgba(11, 36, 27, 0.45);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) { padding: 11px 0; font-size: 16px; }
  .site-nav .btn { margin-top: 8px; }
  .ai-steps { grid-template-columns: 1fr; }
  .ai-steps li,
  .ai-steps li:not(:first-child) {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(246, 240, 226, 0.12);
  }
  .ai-steps li:last-child { border-bottom: 0; }
  .skill-grid-3,
  .download-grid,
  .install-grid,
  .skill-file-list { grid-template-columns: 1fr; }
  .skill-flow { grid-template-columns: 1fr 1fr; }
  .prompt-grid { grid-template-columns: 1fr; }
  .skill-hero { padding: 68px 0 62px; }
}

@media (max-width: 700px) {
  .wrap { width: calc(100% - 40px); }
  .hero { padding: 56px 0 76px; }
  .hero h1 { font-size: clamp(44px, 13vw, 66px); }
  .hero-lead { font-size: 16px; }
  .section { padding: 80px 0; }
  .section-head h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .feature-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .ai-callouts { grid-template-columns: 1fr; }
  .seg { padding: 14px 16px; }
  .notation-panel { padding: 22px 16px 20px; }
  .ai-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .skill-hero h1 { font-size: clamp(36px, 10vw, 46px); }
  .skill-flow { grid-template-columns: 1fr; }
  .skill-flow li,
  .skill-flow li:not(:first-child) {
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .skill-flow li:last-child { border-bottom: 0; }
  .skill-page-section { padding: 64px 0; }
}

/* ============================================================
   2026-11-30 · 用户视角改版
   首屏只讲“聊天就能写谱”，工程细节退到 FAQ / 教程。
   ============================================================ */

.btn-cinnabar {
  background: var(--cinnabar);
  color: #fffaf0;
  box-shadow: 0 16px 30px -18px rgba(178, 60, 43, 0.8);
}
.btn-cinnabar:hover {
  background: #9f3425;
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -18px rgba(178, 60, 43, 0.7);
}

.skill-hero {
  padding: 88px 0 0;
}
.skill-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(40px, 5vw, 72px);
}
.skill-hero h1 {
  font-size: clamp(40px, 4.7vw, 60px);
  letter-spacing: -0.01em;
}
.skill-hero .lead {
  max-width: 33em;
  font-size: 17px;
  line-height: 1.95;
}
.skill-hero .btn-ghost {
  color: var(--paper);
  border-color: rgba(246, 240, 226, 0.34);
}
.skill-hero .btn-ghost:hover {
  background: rgba(246, 240, 226, 0.08);
  border-color: var(--paper);
}
.skill-guide-band .btn-ghost {
  color: var(--paper);
  border-color: rgba(246, 240, 226, 0.34);
}
.skill-guide-band .btn-ghost:hover {
  background: rgba(246, 240, 226, 0.08);
  border-color: var(--paper);
}
#demo, #start, #agents, #tutorial, #download, #faq, #install {
  scroll-margin-top: 96px;
}
.skill-hero-meta {
  margin-top: 24px;
  gap: 20px;
}
.hero-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 12.5px;
  color: rgba(246, 240, 226, 0.5);
}
.privacy-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #93bd7d;
  box-shadow: 0 0 0 4px rgba(147, 189, 125, 0.12);
}

.skill-hero-visual {
  position: relative;
  min-width: 0;
  padding: 18px 0 22px;
}
.visual-halo {
  position: absolute;
  inset: -30px -50px -20px -30px;
  background: radial-gradient(ellipse at 55% 40%, rgba(125, 164, 105, 0.24), transparent 68%);
  pointer-events: none;
}
.hero-chat-window {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  margin-left: auto;
  border: 1px solid rgba(246, 240, 226, 0.18);
  border-radius: 22px;
  background: #fffdf7;
  color: var(--ink);
  box-shadow: 0 38px 80px -40px rgba(0, 0, 0, 0.72);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(21, 56, 43, 0.1);
  background: #f7f0df;
  font-size: 11px;
  color: var(--muted);
}
.window-dots { display: inline-flex; gap: 5px; }
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6c9b1;
}
.window-dots i:first-child { background: #c96a55; }
.window-dots i:nth-child(2) { background: var(--gold); }
.window-dots i:nth-child(3) { background: var(--green); }
.window-title { font-weight: 600; color: var(--ink); }
.window-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  color: #4b6b4f;
  white-space: nowrap;
}
.window-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f9b69;
}
.hero-chat-body {
  display: grid;
  gap: 14px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 8%, rgba(211, 172, 98, 0.14), transparent 34%),
    #fffdf7;
}
.hero-message {
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.75;
}
.hero-message-user {
  justify-self: end;
  max-width: 88%;
  padding: 11px 14px;
  background: var(--ink);
  color: var(--paper);
  border-bottom-right-radius: 5px;
}
.hero-message-ai {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 9px;
  padding: 12px 13px;
  background: #f3ecdb;
  border-bottom-left-radius: 5px;
  color: var(--ink);
}
.ai-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-mini-score {
  margin-top: 10px;
  padding: 10px 12px 8px;
  border: 1px solid rgba(21, 56, 43, 0.12);
  border-radius: 10px;
  background: #fffdf8;
}
.hero-mini-score img {
  display: block;
  width: 100%;
  height: auto;
  margin: 3px 0 2px;
  border-radius: 4px;
  background: #fff;
}
.mini-score-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.mini-score-head strong {
  font-family: var(--serif);
  font-size: 15px;
}
.mini-score-head small {
  font-size: 8.5px;
  color: var(--muted);
}
.mini-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  font-family: Georgia, "Songti SC", serif;
  font-size: 16px;
  color: var(--ink);
}
.mini-score-row span { width: 11px; text-align: center; }
.mini-score-row i {
  width: 1px;
  height: 18px;
  margin: 0 2px;
  background: rgba(21, 56, 43, 0.28);
}
.mini-score-row b {
  margin-left: auto;
  font-size: 12px;
  font-weight: 400;
  color: var(--cinnabar);
}
.mini-score-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 5px;
  padding-top: 6px;
  border-top: 1px dashed rgba(21, 56, 43, 0.16);
  font-size: 8.5px;
  color: #4d7255;
}
.float-chip {
  position: absolute;
  z-index: 3;
  padding: 7px 13px;
  border: 1px solid rgba(21, 56, 43, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 12px 26px -18px rgba(0, 0, 0, 0.6);
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}
.float-chip::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--green);
  vertical-align: 1px;
}
.float-chip-a { top: 34px; left: -18px; }
.float-chip-b { right: -18px; top: 46%; }
.float-chip-c { left: 6%; bottom: 2px; }

.hero-platform-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 54px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(246, 240, 226, 0.12);
  font-size: 11.5px;
  color: rgba(246, 240, 226, 0.52);
}
.strip-label {
  padding: 4px 10px;
  border: 1px solid rgba(246, 240, 226, 0.16);
  border-radius: 999px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}
.strip-more { color: rgba(246, 240, 226, 0.35); }

/* ---------- 演示区 ---------- */
.skill-demo-section { padding-top: 92px; }
.demo-board {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 28px;
  align-items: center;
  margin-top: 46px;
}
.demo-chat {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper-2);
  box-shadow: 0 26px 56px -42px rgba(11, 36, 27, 0.45);
  overflow: hidden;
}
.demo-chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: #f3ecdb;
}
.demo-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cinnabar);
  color: #fffaf0;
  font-size: 11px;
  font-weight: 700;
}
.demo-chat-head strong {
  display: block;
  font-size: 12.5px;
}
.demo-chat-head small {
  display: block;
  margin-top: 1px;
  font-size: 9.5px;
  color: var(--muted);
}
.demo-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #4b6b4f;
  font-size: 9.5px;
}
.demo-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f9b69;
}
.demo-chat-thread {
  display: grid;
  gap: 11px;
  padding: 16px;
}
.demo-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.7;
}
.demo-bubble-user {
  justify-self: end;
  background: var(--ink);
  color: var(--paper);
  border-bottom-right-radius: 4px;
}
.demo-bubble-ai {
  background: #f0e7d3;
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.demo-bubble-small { font-size: 11.5px; }
.demo-ai-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 6px;
  background: var(--green-soft);
  font-size: 8px;
  font-weight: 800;
  vertical-align: -4px;
}
.demo-checks {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 8px 0 0;
  border-top: 1px dashed rgba(21, 56, 43, 0.16);
  list-style: none;
}
.demo-checks li {
  display: flex;
  gap: 6px;
  font-size: 10.5px;
  color: #4d6254;
}
.demo-checks span {
  color: #4d8b5f;
  font-weight: 700;
}
.demo-composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 14px 14px;
  padding: 9px 9px 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9aa79b;
  font-size: 10.5px;
}
.demo-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
}
.demo-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cinnabar);
  font-size: 22px;
}
.demo-arrow::before {
  content: "→";
}
.demo-result {
  min-width: 0;
}
.result-frame {
  overflow: hidden;
  border: 1px solid rgba(21, 56, 43, 0.16);
  border-radius: 18px;
  background: #f1e8d4;
  box-shadow: 0 34px 70px -44px rgba(11, 36, 27, 0.55);
  transform: rotate(0.5deg);
}
.result-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: var(--ink);
  color: rgba(246, 240, 226, 0.72);
  font-size: 10px;
}
.result-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--paper);
  font-weight: 700;
}
.result-brand img {
  width: 17px;
  height: 17px;
  border-radius: 4px;
}
.result-file { color: rgba(246, 240, 226, 0.46); }
.result-opened {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  color: #b9d6ae;
}
.result-opened i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fc184;
}
.result-score {
  display: block;
  width: 100%;
  height: auto;
  padding: 22px 18px;
  box-sizing: border-box;
  background: #fffdf8;
}
.result-caption {
  margin: 10px 0 0;
  text-align: right;
  font-size: 10px;
  color: var(--muted);
}

.skill-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}
.skill-benefit {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(252, 248, 238, 0.58);
}
.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 13px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--ink);
}
.benefit-icon svg { width: 21px; height: 21px; }
.skill-benefit h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 19px;
}
.skill-benefit p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.skill-prompt-band {
  margin-top: 34px;
  padding: 20px 22px 22px;
  border: 1px solid rgba(211, 172, 98, 0.36);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(211, 172, 98, 0.12), rgba(252, 248, 238, 0.7));
}
.prompt-band-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 11.5px;
}
.prompt-band-label { color: var(--muted); }
.prompt-band-head a {
  color: var(--cinnabar);
  text-decoration: none;
  font-weight: 600;
}
.skill-prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.prompt-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(21, 56, 43, 0.16);
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}
.prompt-chip:hover {
  border-color: var(--ink);
  background: #fff;
  transform: translateY(-1px);
}
.prompt-chip span {
  color: var(--cinnabar);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.prompt-chip.is-copied {
  border-color: #6f9a72;
  background: #edf4e9;
}

.skill-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--muted);
}
.skill-trust-row i {
  margin-right: 5px;
  color: #4d8b5f;
  font-style: normal;
  font-weight: 700;
}

/* ---------- 三步开始 ---------- */
.skill-flow-figure {
  margin: 46px 0 0;
  padding: 10px 10px 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 10%, rgba(125, 164, 105, 0.12), transparent 60%),
    rgba(252, 248, 238, 0.55);
}
.skill-flow-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.skill-flow-figure figcaption {
  padding: 10px 12px 13px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
}
.skill-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
  scroll-margin-top: 90px;
}
.skill-step {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-2);
}
.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.step-number {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--cinnabar);
}
.step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--ink);
}
.step-icon svg { width: 18px; height: 18px; }
.skill-step h3 {
  margin: 0 0 7px;
  font-family: var(--serif);
  font-size: 20px;
}
.skill-step > p {
  margin: 0 0 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}
.step-code {
  margin-top: auto;
}
.step-code pre {
  padding-right: 14px;
  font-size: 10.5px;
  line-height: 1.75;
  white-space: pre-wrap;
}
.code-copy {
  display: block;
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  padding: 7px 10px;
  border: 1px solid rgba(246, 240, 226, 0.18);
  border-radius: 8px;
  background: rgba(246, 240, 226, 0.07);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 10.5px;
  cursor: pointer;
}
.code-copy:hover { background: rgba(246, 240, 226, 0.14); }
.code-copy.is-copied { color: #b9d6ae; border-color: rgba(185, 214, 174, 0.5); }
.agent-install-request {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(21, 56, 43, 0.14);
  border-radius: 13px;
  background: #fbf7ee;
}
.agent-install-head {
  display: flex;
  align-items: center;
  gap: 9px;
}
.agent-install-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cinnabar);
  color: #fffaf0;
  font-size: 10px;
  font-weight: 700;
}
.agent-install-head strong {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}
.agent-install-head small {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  color: var(--muted);
}
.agent-install-badge {
  margin-left: auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: #3f6b48;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.agent-install-request p {
  margin: 11px 0 10px;
  padding: 11px 12px;
  border-radius: 4px 12px 12px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.agent-install-copy {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(21, 56, 43, 0.16);
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10.5px;
  cursor: pointer;
}
.agent-install-copy:hover { background: #f3ecdb; }
.agent-install-copy.is-copied { color: #3f6b48; border-color: rgba(111, 154, 114, 0.55); background: #edf4e9; }
.agent-install-note {
  margin: 10px 0 0 !important;
  font-size: 9.5px !important;
  line-height: 1.6 !important;
  color: #8a9589 !important;
}
.step-chat-mock {
  display: grid;
  gap: 6px;
  margin-top: auto;
  padding: 12px;
  border-radius: 12px;
  background: #f2ead8;
  font-size: 10.5px;
  line-height: 1.55;
}
.step-chat-user {
  justify-self: end;
  padding: 6px 9px;
  border-radius: 9px 9px 2px 9px;
  background: var(--ink);
  color: var(--paper);
}
.step-chat-ai {
  justify-self: start;
  padding: 6px 9px;
  border-radius: 9px 9px 9px 2px;
  background: #fffdf7;
  color: var(--ink);
}
.step-note {
  margin: 12px 0 0 !important;
  font-size: 10.5px !important;
  color: #8a9589 !important;
}
.step-prompt-list {
  display: grid;
  gap: 7px;
  margin-top: auto;
}
.step-prompt-list button {
  padding: 9px 11px;
  border: 1px solid rgba(21, 56, 43, 0.14);
  border-radius: 9px;
  background: #f6f0e2;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10.5px;
  line-height: 1.55;
  text-align: left;
  cursor: pointer;
}
.step-prompt-list button:hover { border-color: var(--ink); background: #fff; }
.step-prompt-list button.is-copied { border-color: #6f9a72; background: #edf4e9; }
.install-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(220, 231, 210, 0.58);
}
.install-note-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 10px;
  font-style: italic;
}
.install-note p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: #4d6254;
}
.install-note strong { color: var(--ink); }

/* ---------- 兼容平台 ---------- */
.skill-agents-figure {
  margin: 42px 0 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(125, 164, 105, 0.1), transparent 64%),
    rgba(252, 248, 238, 0.46);
}
.skill-agents-figure img {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  margin: 0 auto;
}
.agent-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.agent-group {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(252, 248, 238, 0.52);
}
.agent-group-wide { grid-column: 1 / -1; }
.agent-group h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.agent-group h3 small {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.agent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.agent-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(21, 56, 43, 0.12);
  border-radius: 8px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1.3;
}
.agent-pill.is-auto {
  border-color: rgba(77, 139, 95, 0.24);
  background: #f3f7ef;
}
.agent-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4d8b5f;
}
.dot-cinnabar { background: var(--cinnabar); }
.dot-gold { background: var(--gold); }
.dot-green { background: #4d8b5f; }
.agent-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px dashed rgba(21, 56, 43, 0.22);
  border-radius: 14px;
}
.agent-note strong {
  display: block;
  margin-bottom: 3px;
  font-size: 12px;
}
.agent-note p {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted);
}
.agent-note code,
.skill-page-section code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(21, 56, 43, 0.07);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

/* ---------- 教程入口 ---------- */
.skill-guide-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 4vw, 50px);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(211, 172, 98, 0.18), transparent 42%),
    radial-gradient(ellipse at 0% 100%, rgba(125, 164, 105, 0.18), transparent 50%),
    var(--ink-2);
  color: var(--paper);
  overflow: hidden;
}
.guide-band-copy .eyebrow { color: var(--muted-light); }
.guide-band-copy .eyebrow span { border-color: rgba(246, 240, 226, 0.24); color: var(--gold); }
.guide-band-copy h2 {
  margin: 14px 0 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.28;
}
.guide-band-copy > p {
  margin: 14px 0 0;
  max-width: 34em;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(246, 240, 226, 0.62);
}
.guide-band-copy .skill-hero-actions { margin-top: 24px; }
.guide-preview {
  display: grid;
  gap: 9px;
}
.guide-preview-card {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(246, 240, 226, 0.12);
  border-radius: 12px;
  background: rgba(246, 240, 226, 0.06);
}
.guide-preview-card span {
  grid-row: span 2;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.guide-preview-card strong {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--paper);
}
.guide-preview-card p {
  margin: 2px 0 0;
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(246, 240, 226, 0.52);
}

/* ---------- 下载 ---------- */
.download-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 860px;
}
.download-card-featured {
  background:
    linear-gradient(145deg, rgba(220, 231, 210, 0.72), rgba(252, 248, 238, 0.8));
  border-color: rgba(21, 56, 43, 0.24);
}
.download-card .install-tag { align-self: flex-start; }

/* ---------- 结尾 ---------- */
.skill-final-cta {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    radial-gradient(ellipse at 78% 20%, rgba(211, 172, 98, 0.16), transparent 46%),
    radial-gradient(ellipse at 8% 100%, rgba(125, 164, 105, 0.18), transparent 48%),
    var(--ink-2);
  color: var(--paper);
}
.skill-final-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.skill-final-inner .eyebrow { color: var(--muted-light); }
.skill-final-inner .eyebrow span { border-color: rgba(246, 240, 226, 0.24); color: var(--gold); }
.skill-final-inner h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.25;
}
.skill-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}
.skill-final-cta .btn-ghost {
  color: var(--paper);
  border-color: rgba(246, 240, 226, 0.34);
}
.skill-final-cta .btn-ghost:hover {
  background: rgba(246, 240, 226, 0.08);
  border-color: var(--paper);
}

@media (max-width: 1020px) {
  .skill-hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .demo-board {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
  }
  .float-chip-a { left: 0; }
  .float-chip-b { right: 0; }
  .skill-step-grid { grid-template-columns: repeat(2, 1fr); }
  .skill-step:first-child { grid-column: 1 / -1; }
  .skill-guide-band { grid-template-columns: 1fr; gap: 26px; }
  .guide-preview { grid-template-columns: repeat(3, 1fr); }
  .guide-preview-card { grid-template-columns: 1fr; }
  .guide-preview-card span { grid-row: auto; margin-bottom: 4px; }
}

@media (max-width: 860px) {
  .skill-hero { padding-top: 62px; }
  .skill-hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-chat-window { margin: 0 auto; }
  .float-chip-a { left: -4px; }
  .float-chip-b { right: -4px; }
  .hero-platform-strip { margin-top: 38px; }
  .demo-board {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .demo-arrow { display: none; }
  .result-frame { transform: none; }
  .skill-benefit-grid { grid-template-columns: 1fr; }
  .skill-step-grid { grid-template-columns: 1fr; }
  .skill-step:first-child { grid-column: auto; }
  .agent-groups { grid-template-columns: 1fr; }
  .agent-group-wide { grid-column: auto; }
  .agent-note { align-items: flex-start; flex-direction: column; gap: 12px; }
  .guide-preview { grid-template-columns: 1fr; }
  .download-grid-2 { grid-template-columns: 1fr; }
  .skill-final-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 700px) {
  .skill-hero { padding-top: 48px; }
  .skill-hero h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .skill-hero .lead { font-size: 15.5px; }
  .skill-hero-actions { gap: 9px; }
  .skill-hero-actions .btn { padding: 12px 18px; font-size: 14px; }
  .float-chip { display: none; }
  .hero-chat-window { border-radius: 16px; }
  .hero-chat-body { padding: 13px; }
  .hero-message { font-size: 12px; }
  .hero-platform-strip { gap: 8px 14px; font-size: 10.5px; }
  .skill-demo-section { padding-top: 64px; }
  .demo-chat-thread { padding: 13px; }
  .demo-bubble { max-width: 96%; }
  .skill-prompt-band { padding: 16px; }
  .prompt-band-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .prompt-chip { width: 100%; justify-content: space-between; }
  .skill-flow-figure { margin-top: 30px; padding: 6px 6px 0; }
  .skill-flow-figure img { min-height: 0; height: auto; object-fit: contain; }
  .skill-agents-figure { display: none; }
  .agent-pill { font-size: 10px; }
  .skill-guide-band { padding: 24px 20px; border-radius: 18px; }
  .skill-final-cta { padding: 58px 0; }
  .skill-final-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
