/* ==========================================================================
   小柚办公 · 主样式表
   ========================================================================== */

/* ── 设计令牌 ───────────────────────────────────────────── */
:root {
  --xy-brand: #FF7A1A;
  --xy-brand-soft: rgba(255, 122, 26, 0.12);
  --xy-brand-dark: #E8630A;
  --xy-ink: #0E1B2A;
  --xy-ink-2: #16283C;
  --xy-accent: #12B76A;

  --xy-text: #16202B;
  --xy-text-2: #5A6B7C;
  --xy-text-3: #8A99A8;
  --xy-line: #E6EBF0;
  --xy-bg: #FFFFFF;
  --xy-bg-soft: #F7F9FB;

  --xy-radius: 14px;
  --xy-radius-lg: 22px;
  --xy-shadow: 0 1px 2px rgba(16, 32, 48, .04), 0 8px 24px rgba(16, 32, 48, .06);
  --xy-shadow-lg: 0 2px 8px rgba(16, 32, 48, .06), 0 24px 56px rgba(16, 32, 48, .12);

  --xy-max: 1200px;
  --xy-pad: 24px;

  --xy-font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --xy-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", Consolas, Menlo, monospace;
}

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

[hidden] { display: none !important; }

body {
  font-family: var(--xy-font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--xy-text);
  background: var(--xy-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
  color: var(--xy-ink);
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .18s ease, opacity .18s ease;
}

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

.xy-container {
  width: 100%;
  max-width: var(--xy-max);
  margin: 0 auto;
  padding: 0 var(--xy-pad);
}

.xy-icon { width: 1em; height: 1em; flex: none; }

/* ── 按钮 ───────────────────────────────────────────────── */
.xy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}

.xy-btn:hover { transform: translateY(-1px); }
.xy-btn:active { transform: translateY(0); }

.xy-btn--primary {
  background: var(--xy-brand);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 122, 26, .28);
}
.xy-btn--primary:hover { background: var(--xy-brand-dark); box-shadow: 0 10px 26px rgba(255, 122, 26, .34); }

.xy-btn--ghost { color: var(--xy-text); border-color: var(--xy-line); background: #fff; }
.xy-btn--ghost:hover { border-color: var(--xy-text-3); }

.xy-btn--dark { background: var(--xy-ink); color: #fff; }
.xy-btn--dark:hover { background: var(--xy-ink-2); }

.xy-btn--light { background: #fff; color: var(--xy-ink); }
.xy-btn--light:hover { background: #F2F5F8; }

.xy-btn--outline-light { border-color: rgba(255, 255, 255, .3); color: #fff; }
.xy-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

.xy-btn--lg { padding: 14px 30px; font-size: 16px; }
.xy-btn--block { width: 100%; }

.xy-textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--xy-brand);
  font-weight: 600;
  font-size: 15px;
}
.xy-textlink .xy-icon { transition: transform .18s ease; }
.xy-textlink:hover .xy-icon { transform: translateX(3px); }

/* ── 顶栏 ───────────────────────────────────────────────── */
.xy-topbar {
  background: var(--xy-ink);
  color: rgba(255, 255, 255, .82);
  font-size: 13.5px;
}
.xy-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  flex-wrap: wrap;
}
.xy-topbar__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--xy-accent);
  box-shadow: 0 0 0 3px rgba(18, 183, 106, .22);
}
.xy-topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-weight: 600;
}
.xy-topbar__link:hover { color: var(--xy-brand); }
.xy-topbar__link .xy-icon { width: 14px; height: 14px; }

/* ── 头部 ───────────────────────────────────────────────── */
.xy-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.xy-header.is-stuck {
  border-bottom-color: var(--xy-line);
  box-shadow: 0 4px 20px rgba(16, 32, 48, .05);
}
.xy-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 66px;
}
.xy-header__brand { flex: none; }
.xy-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.xy-brand { display: inline-flex; align-items: center; gap: 9px; }
.xy-brand__mark { width: 34px; height: 34px; flex: none; }
.xy-brand__mark svg { width: 100%; height: 100%; }
.xy-brand__text { font-size: 18px; font-weight: 700; color: var(--xy-ink); letter-spacing: -.02em; }
.custom-logo { max-height: 36px; width: auto; }

.xy-nav { margin-left: 8px; }
.xy-nav__list { display: flex; align-items: center; gap: 4px; }
.xy-nav__list > li { position: relative; }
.xy-nav__list a {
  display: block;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--xy-text-2);
}
.xy-nav__list a:hover { color: var(--xy-ink); background: var(--xy-bg-soft); }
.xy-nav__list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-radius);
  box-shadow: var(--xy-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
}
.xy-nav__list > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.xy-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--xy-line);
  border-radius: 10px;
}
.xy-burger span {
  display: block; height: 2px;
  background: var(--xy-ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.xy-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.xy-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.xy-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.xy-mobile-nav { border-top: 1px solid var(--xy-line); background: #fff; padding: 8px var(--xy-pad) 16px; }
.xy-mobile-nav__list a {
  display: block;
  padding: 13px 4px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--xy-line);
}

/* ── 区块通用 ───────────────────────────────────────────── */
.xy-section { padding: 96px 0; }
.xy-section--soft { background: var(--xy-bg-soft); }
.xy-section--dark { background: var(--xy-ink); color: rgba(255, 255, 255, .78); }
.xy-section--dark h2, .xy-section--dark h3 { color: #fff; }

.xy-sechead { max-width: 720px; margin-bottom: 56px; }
.xy-sechead.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.xy-sechead__title { font-size: clamp(28px, 3.6vw, 42px); margin: 14px 0 16px; }
.xy-sechead__desc { font-size: 17px; color: var(--xy-text-2); margin: 0; }
.xy-section--dark .xy-sechead__desc { color: rgba(255, 255, 255, .66); }

.xy-eyebrow {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--xy-brand-soft);
  color: var(--xy-brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
}
.xy-section--dark .xy-eyebrow { background: rgba(255, 255, 255, .1); color: #fff; }

/* ── Hero ───────────────────────────────────────────────── */
.xy-hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 15% -8%, rgba(255, 122, 26, .10), transparent 62%),
    radial-gradient(760px 380px at 92% 6%, rgba(18, 183, 106, .09), transparent 60%),
    #fff;
}
.xy-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(14, 27, 42, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 27, 42, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 420px at 50% 0%, #000, transparent 75%);
  pointer-events: none;
}
.xy-hero__inner { position: relative; z-index: 1; text-align: center; }

.xy-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 26px;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--xy-text-2);
  box-shadow: var(--xy-shadow);
}
.xy-hero__badge b {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--xy-brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.xy-hero__title {
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 0 0 24px;
}
.xy-hero__title em {
  position: relative;
  font-style: normal;
  color: var(--xy-brand);
}
.xy-hero__title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .06em;
  height: .18em;
  background: var(--xy-brand-soft);
  border-radius: 4px;
  z-index: -1;
}

.xy-hero__desc {
  max-width: 660px;
  margin: 0 auto 34px;
  font-size: 18px;
  line-height: 1.8;
  color: var(--xy-text-2);
}

.xy-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.xy-hero__note { font-size: 14px; color: var(--xy-text-3); }

/* Prompt 复制卡 */
.xy-prompt {
  max-width: 780px;
  margin: 52px auto 0;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-radius-lg);
  box-shadow: var(--xy-shadow);
  text-align: left;
}
.xy-prompt__title { font-size: 15px; font-weight: 600; color: var(--xy-text-2); margin-bottom: 14px; }
.xy-prompt__note { margin-top: 12px; font-size: 13px; color: var(--xy-text-3); }

/* 代码块 */
.xy-code {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--xy-ink);
  border-radius: var(--xy-radius);
  overflow: hidden;
}
.xy-code__text {
  flex: 1;
  margin: 0;
  overflow-x: auto;
  font-family: var(--xy-mono);
  font-size: 13.5px;
  line-height: 1.7;
  color: #D6E2EE;
  white-space: pre-wrap;
  word-break: break-word;
}
.xy-code__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  transition: background .16s ease;
}
.xy-code__btn:hover { background: rgba(255, 255, 255, .2); }
.xy-code__btn.is-done { background: var(--xy-accent); border-color: var(--xy-accent); }
.xy-code__btn .xy-icon { width: 14px; height: 14px; }

/* ── 数据指标 ───────────────────────────────────────────── */
.xy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 72px;
  background: var(--xy-line);
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-radius-lg);
  overflow: hidden;
}
.xy-stat { padding: 28px 20px; background: #fff; text-align: center; }
.xy-stat__num { font-size: 32px; font-weight: 800; color: var(--xy-ink); letter-spacing: -.02em; }
.xy-stat__label { font-size: 14px; color: var(--xy-text-2); margin-top: 4px; }

/* ── 演示区（模拟客户端窗口）─────────────────────────────── */
.xy-app {
  display: grid;
  grid-template-columns: 236px 1fr;
  min-height: 480px;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-radius-lg);
  box-shadow: var(--xy-shadow-lg);
  overflow: hidden;
}
.xy-app__bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--xy-bg-soft);
  border-bottom: 1px solid var(--xy-line);
}
.xy-app__dots { display: flex; gap: 6px; }
.xy-app__dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.xy-app__dots i:nth-child(1) { background: #FF5F56; }
.xy-app__dots i:nth-child(2) { background: #FFBD2E; }
.xy-app__dots i:nth-child(3) { background: #27C93F; }
.xy-app__name { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--xy-text-2); }

.xy-app__side { padding: 18px 14px; background: var(--xy-bg-soft); border-right: 1px solid var(--xy-line); }
.xy-app__sidetitle {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--xy-text-3);
  margin-bottom: 12px;
}
.xy-app__task {
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 4px;
  cursor: default;
}
.xy-app__task.is-active { background: #fff; box-shadow: var(--xy-shadow); }
.xy-app__task b { display: block; font-size: 13.5px; font-weight: 600; color: var(--xy-ink); }
.xy-app__task span { font-size: 12px; color: var(--xy-text-3); }

.xy-app__main { padding: 24px; display: flex; flex-direction: column; gap: 16px; }

.xy-msg { display: flex; gap: 12px; }
.xy-msg__avatar {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; color: #fff;
  background: var(--xy-text-3);
}
.xy-msg--bot .xy-msg__avatar { background: var(--xy-brand); }
.xy-msg__body {
  flex: 1;
  padding: 12px 15px;
  background: var(--xy-bg-soft);
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.7;
}
.xy-msg--bot .xy-msg__body { background: var(--xy-brand-soft); }

.xy-steps { display: flex; flex-direction: column; gap: 2px; margin: 4px 0 0; }
.xy-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-left: 2px solid var(--xy-line);
  font-size: 13.5px;
  color: var(--xy-text-2);
}
.xy-step__tag {
  flex: none;
  padding: 1px 8px;
  border-radius: 6px;
  background: var(--xy-line);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--xy-text-2);
}
.xy-step.is-done { border-left-color: var(--xy-accent); }
.xy-step.is-done .xy-step__tag { background: rgba(18, 183, 106, .14); color: #0B8A50; }

.xy-app__input {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px 11px 16px;
  border: 1px solid var(--xy-line);
  border-radius: 12px;
  color: var(--xy-text-3);
  font-size: 14.5px;
}
.xy-app__input .xy-btn { margin-left: auto; padding: 7px 16px; font-size: 13.5px; }

.xy-demo-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.xy-demo-tab {
  padding: 8px 18px;
  border: 1px solid var(--xy-line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--xy-text-2);
  transition: all .16s ease;
}
.xy-demo-tab.is-active { background: var(--xy-ink); border-color: var(--xy-ink); color: #fff; }

/* ── 能力卡片 ───────────────────────────────────────────── */
.xy-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.xy-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.xy-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-radius-lg);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.xy-card:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--xy-shadow-lg); }
.xy-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--xy-brand-soft);
  color: var(--xy-brand);
  font-size: 22px;
}
.xy-card__title { font-size: 18px; margin-bottom: 8px; }
.xy-card__desc { font-size: 15px; color: var(--xy-text-2); line-height: 1.75; margin: 0; }

/* ── 接入区 ─────────────────────────────────────────────── */
.xy-clients { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.xy-clients__nav { display: flex; flex-direction: column; gap: 4px; }
.xy-clients__nav button {
  display: block;
  padding: 13px 16px;
  background: none;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
  color: rgba(255, 255, 255, .7);
  transition: all .16s ease;
}
.xy-clients__nav button b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.xy-clients__nav button span { font-size: 12.5px; }
.xy-clients__nav button:hover { background: rgba(255, 255, 255, .06); }
.xy-clients__nav button.is-active { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .16); }

.xy-clients__panel {
  padding: 30px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--xy-radius-lg);
}
.xy-clients__panel[hidden] { display: none; }
.xy-clients__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.xy-clients__head h3 { font-size: 20px; }
.xy-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(18, 183, 106, .16);
  color: #4ADE9B;
}
.xy-badge--muted { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .72); }
.xy-clients__desc { font-size: 15px; color: rgba(255, 255, 255, .66); margin-bottom: 18px; }
.xy-clients__panel .xy-code { background: rgba(0, 0, 0, .32); border: 1px solid rgba(255, 255, 255, .1); }

.xy-mcp-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--xy-radius);
}
.xy-mcp-bar__label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.xy-mcp-bar__url { font-family: var(--xy-mono); font-size: 14px; color: #fff; word-break: break-all; }

/* ── 团队协作步骤 ───────────────────────────────────────── */
.xy-steps-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: xystep; }
.xy-stepcard {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-radius-lg);
}
.xy-stepcard::before {
  counter-increment: xystep;
  content: counter(xystep);
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--xy-ink);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.xy-stepcard h3 { font-size: 18px; margin-bottom: 8px; }
.xy-stepcard p { font-size: 15px; color: var(--xy-text-2); margin: 0; }

/* ── 定价 ───────────────────────────────────────────────── */
.xy-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.xy-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-radius-lg);
}
.xy-plan--featured {
  border-color: var(--xy-brand);
  box-shadow: 0 12px 40px rgba(255, 122, 26, .16);
}
.xy-plan__tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--xy-brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}
.xy-plan__name { font-size: 17px; color: var(--xy-text-2); font-weight: 600; }
.xy-plan__price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 8px; }
.xy-plan__price b { font-size: 40px; font-weight: 800; letter-spacing: -.03em; color: var(--xy-ink); }
.xy-plan__price span { font-size: 14px; color: var(--xy-text-3); }
.xy-plan__desc { font-size: 14.5px; color: var(--xy-text-2); min-height: 46px; margin-bottom: 20px; }
.xy-plan__list { display: flex; flex-direction: column; gap: 11px; margin: 22px 0 26px; }
.xy-plan__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--xy-text); }
.xy-plan__list .xy-icon { width: 17px; height: 17px; margin-top: 5px; color: var(--xy-accent); }
.xy-plan .xy-btn { margin-top: auto; }

/* ── FAQ ────────────────────────────────────────────────── */
.xy-faq { max-width: 820px; margin: 0 auto; }
.xy-faq__item { border-bottom: 1px solid var(--xy-line); }
.xy-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--xy-ink);
}
.xy-faq__q .xy-icon { flex: none; width: 20px; height: 20px; color: var(--xy-text-3); transition: transform .2s ease; }
.xy-faq__q[aria-expanded="true"] .xy-icon { transform: rotate(180deg); color: var(--xy-brand); }
.xy-faq__a { padding: 0 4px 22px; font-size: 15.5px; line-height: 1.85; color: var(--xy-text-2); }
.xy-faq__a[hidden] { display: none; }

/* ── 底部 CTA ───────────────────────────────────────────── */
.xy-cta {
  position: relative;
  padding: 88px 0;
  background:
    radial-gradient(700px 340px at 20% 0%, rgba(255, 122, 26, .24), transparent 60%),
    var(--xy-ink);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.xy-cta h2 { font-size: clamp(30px, 4vw, 46px); color: #fff; margin-bottom: 16px; }
.xy-cta p { max-width: 560px; margin: 0 auto 32px; font-size: 17px; color: rgba(255, 255, 255, .7); }
.xy-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ── 页脚 ───────────────────────────────────────────────── */
.xy-footer { background: #F4F7FA; border-top: 1px solid var(--xy-line); padding: 64px 0 28px; }
.xy-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 44px; }
.xy-footer__desc { margin: 16px 0 0; max-width: 340px; font-size: 14.5px; color: var(--xy-text-2); line-height: 1.8; }
.xy-footer__contact { margin-top: 16px; font-size: 14px; color: var(--xy-text-2); }
.xy-footer__contact li { margin-bottom: 4px; }
.xy-footer__contact a:hover { color: var(--xy-brand); }
.xy-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 28px; }
.xy-footer__coltitle { font-size: 14px; font-weight: 700; margin-bottom: 14px; color: var(--xy-ink); }
.xy-footer__list li { margin-bottom: 9px; }
.xy-footer__list a { font-size: 14.5px; color: var(--xy-text-2); }
.xy-footer__list a:hover { color: var(--xy-brand); }
.xy-footer__qr img { border-radius: 10px; border: 1px solid var(--xy-line); }
.xy-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--xy-line);
  font-size: 13.5px;
  color: var(--xy-text-3);
}
.xy-footer__bottom p { margin: 0; }

/* ── 内页 ───────────────────────────────────────────────── */
.xy-pagehead {
  padding: 64px 0 40px;
  background: var(--xy-bg-soft);
  border-bottom: 1px solid var(--xy-line);
}
.xy-pagehead h1 { font-size: clamp(28px, 4vw, 44px); }
.xy-pagehead__meta { margin-top: 12px; font-size: 14.5px; color: var(--xy-text-2); }

.xy-content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; padding: 56px 0 88px; }
.xy-content-wrap.is-full { grid-template-columns: minmax(0, 1fr); }

.xy-prose { font-size: 16.5px; line-height: 1.9; color: var(--xy-text); }
.xy-prose h2 { font-size: 27px; margin: 40px 0 14px; }
.xy-prose h3 { font-size: 21px; margin: 32px 0 12px; }
.xy-prose p { margin: 0 0 1.2em; }
.xy-prose ul, .xy-prose ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.xy-prose ul li { list-style: disc; margin-bottom: .5em; }
.xy-prose ol li { list-style: decimal; margin-bottom: .5em; }
.xy-prose a { color: var(--xy-brand); text-decoration: underline; text-underline-offset: 3px; }
.xy-prose img { border-radius: var(--xy-radius); margin: 1.5em 0; }
.xy-prose blockquote {
  margin: 1.5em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--xy-brand);
  color: var(--xy-text-2);
}
.xy-prose code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--xy-bg-soft);
  font-family: var(--xy-mono);
  font-size: .9em;
}
.xy-prose pre {
  padding: 18px;
  border-radius: var(--xy-radius);
  background: var(--xy-ink);
  color: #D6E2EE;
  overflow-x: auto;
}
.xy-prose pre code { background: none; padding: 0; color: inherit; }
.xy-prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.xy-prose th, .xy-prose td { padding: 10px 14px; border: 1px solid var(--xy-line); text-align: left; }
.xy-prose th { background: var(--xy-bg-soft); font-weight: 600; }

.xy-postgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xy-postcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--xy-line);
  border-radius: var(--xy-radius-lg);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.xy-postcard:hover { transform: translateY(-3px); box-shadow: var(--xy-shadow-lg); }
.xy-postcard__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.xy-postcard__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.xy-postcard__meta { display: flex; gap: 8px; font-size: 13px; color: var(--xy-text-3); }
.xy-postcard__title { font-size: 18px; line-height: 1.5; }
.xy-postcard__title a:hover { color: var(--xy-brand); }
.xy-postcard__excerpt { font-size: 14.5px; color: var(--xy-text-2); margin: 0; flex: 1; }

.widget { margin-bottom: 32px; }
.widget-title { font-size: 16px; margin-bottom: 14px; }
.widget ul li { margin-bottom: 9px; font-size: 14.5px; }
.widget ul li a:hover { color: var(--xy-brand); }

.xy-sidebar { position: sticky; top: 90px; align-self: start; }

.xy-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.xy-tags a {
  padding: 4px 12px;
  border: 1px solid var(--xy-line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--xy-text-2);
}
.xy-tags a:hover { border-color: var(--xy-brand); color: var(--xy-brand); }

.xy-pagelinks { display: flex; gap: 8px; margin-top: 32px; font-size: 14.5px; }
.xy-pagelinks a { color: var(--xy-brand); }

.xy-pagination { margin-top: 48px; }
.xy-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.xy-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border: 1px solid var(--xy-line);
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
}
.xy-pagination .page-numbers.current { background: var(--xy-ink); border-color: var(--xy-ink); color: #fff; }
.xy-pagination a.page-numbers:hover { border-color: var(--xy-brand); color: var(--xy-brand); }

.xy-404 { padding: 120px 0; text-align: center; }
.xy-404__code { font-size: 96px; font-weight: 800; color: var(--xy-brand); line-height: 1; }

.xy-searchform { display: flex; gap: 8px; }
.xy-searchform input[type="search"] {
  flex: 1;
  padding: 11px 16px;
  border: 1px solid var(--xy-line);
  border-radius: 10px;
  font: inherit;
  font-size: 15px;
}
.xy-searchform input[type="search"]:focus { outline: none; border-color: var(--xy-brand); }

/* ── 滚动淡入 ───────────────────────────────────────────── */
.xy-reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.xy-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .xy-reveal { opacity: 1; transform: none; }
}

/* ── 响应式 ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .xy-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .xy-clients { grid-template-columns: 1fr; }
  .xy-clients__nav { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .xy-clients__nav button { flex: none; }
  .xy-footer__top { grid-template-columns: 1fr; gap: 36px; }
  .xy-content-wrap { grid-template-columns: minmax(0, 1fr); }
  .xy-postgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .xy-nav, .xy-hide-sm { display: none; }
  .xy-burger { display: flex; }
  .xy-section { padding: 68px 0; }
  .xy-grid-3, .xy-steps-3, .xy-plans { grid-template-columns: 1fr; }
  .xy-app { grid-template-columns: 1fr; }
  .xy-app__side { display: none; }
  .xy-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --xy-pad: 18px; }
  .xy-hero { padding: 56px 0 48px; }
  .xy-grid-4, .xy-postgrid { grid-template-columns: 1fr; }
  .xy-btn { padding: 10px 18px; font-size: 14.5px; }
  .xy-hero__actions .xy-btn { flex: 1; min-width: 140px; }
  .xy-code { flex-direction: column; }
  .xy-code__btn { align-self: flex-end; }
  .xy-topbar__inner { font-size: 12.5px; text-align: center; }
}
