/* ==========================================================================
   授权中心 · 对外首页
   深色首屏 + 浅色正文；所有数据可视化均由 HTML/CSS 绘制，无外部图片。
   ========================================================================== */

html { scroll-behavior: smooth; }

.home {
  background: #f6f7f9;
  color: var(--ink);
}

.home-main { width: 100%; margin: 0; }

.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

section[id], #main { scroll-margin-top: 88px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 14px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  transition: top .15s var(--ease);
}

.skip-link:focus { top: 12px; color: #fff; }

/* ---------- 导航 ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: transparent;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  border-block-end: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(255, 255, 255, .97);
  border-block-end-color: var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .04);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(1200px, calc(100% - 48px));
  min-height: 68px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease);
}

.brand:hover { color: #fff; text-decoration: none; }

.nav .brand-name { color: inherit; }
.home:not(.help) .nav:not(.is-scrolled) .brand > .site-logo { filter: brightness(0) invert(1); }

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(21, 94, 239, .16);
}

.nav-links { display: flex; align-items: center; gap: 26px; }

.nav-links a,
.nav-login {
  color: rgba(226, 232, 240, .74);
  font-size: 14px;
  text-decoration: none;
  transition: color .16s var(--ease);
}

.nav-links a:hover,
.nav-login:hover { color: #fff; text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 18px; margin-inline-start: auto; }

@media (max-width: 420px) {
  .nav-actions { gap: 10px; }
  .nav-actions .nav-cta { display: none; }
}

.nav-help { position: relative; }

.nav-help summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(226, 232, 240, .74);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  list-style: none;
  transition: color .16s var(--ease);
}

.nav-help summary::-webkit-details-marker { display: none; }

.nav-help summary::after {
  content: "";
  width: 4px;
  height: 4px;
  border-inline-end: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: .7;
}

.nav-help summary:hover,
.nav-help[open] summary { color: #fff; }
.nav.is-scrolled .nav-help summary { color: var(--ink-2); }
.nav.is-scrolled .nav-help summary:hover,
.nav.is-scrolled .nav-help[open] summary { color: var(--ink); }

.nav-help-panel {
  position: absolute;
  inset: calc(100% + 16px) auto auto 50%;
  display: grid;
  gap: 2px;
  width: 280px;
  padding: 8px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .45);
}

.nav-help-panel::before {
  content: "";
  position: absolute;
  inset: -6px auto auto 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  border-inline-start: 1px solid var(--line);
  border-block-start: 1px solid var(--line);
  background: #fff;
}

.nav-help-panel a {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}

.nav-help-panel a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-help-panel strong { font-size: 13.5px; font-weight: 600; }
.nav-help-panel span { color: var(--muted); font-size: 12px; }

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span { display: block; width: 100%; height: 1.5px; background: #e2e8f0; transition: background-color .2s var(--ease); }

.nav.is-scrolled .brand { color: var(--ink); }
.nav.is-scrolled .nav-links a,
.nav.is-scrolled .nav-login { color: var(--ink-2); }
.nav.is-scrolled .nav-links a:hover,
.nav.is-scrolled .nav-login:hover { color: var(--ink); }
.nav.is-scrolled .nav-toggle { border-color: var(--line-strong); }
.nav.is-scrolled .nav-toggle span { background: var(--ink); }

.mobile-menu {
  position: absolute;
  inset: 68px 16px auto;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .35);
}

.mobile-menu a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--ink-2);
  font-size: 14px;
  text-decoration: none;
}

.mobile-menu a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.mobile-menu .btn { margin-block-start: 6px; color: #fff; text-align: center; }
.mobile-menu .btn:hover { color: #fff; }

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 156px 0 104px;
  background: #070c15;
  color: #e8eef8;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, .08) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 55% 20%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 70% at 55% 20%, #000 20%, transparent 78%);
  opacity: .5;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 780px;
  background:
    radial-gradient(560px 320px at 76% 22%, rgba(21, 94, 239, .34), transparent 68%),
    radial-gradient(480px 300px at 88% 58%, rgba(34, 211, 238, .16), transparent 70%),
    radial-gradient(420px 260px at 18% 8%, rgba(59, 130, 246, .12), transparent 70%);
  pointer-events: none;
}

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

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #91a1b8;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .7; }

.kicker { color: var(--muted); }

.hero h1 {
  margin: 20px 0 22px;
  color: #fff;
  font-size: clamp(34px, 3.9vw, 52px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.lead {
  max-width: 52ch;
  margin: 0;
  color: #a9b6c9;
  font-size: 16.5px;
  line-height: 1.75;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8797ae;
  font-size: 13px;
}

.hero-points li { display: flex; align-items: center; gap: 7px; }
.hero-points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #22d3ee; opacity: .8; }

/* 订单主视觉 */

.order-visual { position: relative; margin: 0; }

.order-card {
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 18px;
  background: linear-gradient(180deg, #0e1726 0%, #0a111c 100%);
  box-shadow: 0 44px 90px -60px #000, inset 0 1px 0 rgba(255, 255, 255, .04);
}

.order-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.order-no { color: #8ea0b8; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; }

.sample-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border: 1px solid rgba(147, 197, 253, .32);
  border-radius: 999px;
  background: rgba(21, 94, 239, .16);
  color: #a9c8ff;
  font-size: 10.5px;
  white-space: nowrap;
}

.order-summary { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-block-start: 20px; }
.order-label { margin: 0; color: #8ea0b8; font-size: 12px; }
.order-amount { margin: 4px 0 0; color: #fff; font-size: 38px; font-weight: 650; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.order-state { display: inline-flex; align-items: center; gap: 6px; color: #7ee2b8; font-size: 12px; }
.order-state i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.track { position: relative; margin: 24px 0 0; padding: 0; list-style: none; }

.track::before {
  content: "";
  position: absolute;
  inset: 8px auto 10px 10px;
  width: 1px;
  background: linear-gradient(180deg, #155eef 0%, #22d3ee 62%, rgba(34, 211, 238, .05) 100%);
  transform-origin: top;
  animation: track-draw 1.1s .25s var(--ease) both;
}

.track li { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; padding-block-end: 17px; }
.track li:last-child { padding-block-end: 2px; }

.track-dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  margin: 4px 0 0 5px;
  border: 1px solid #334155;
  border-radius: 50%;
  background: #0b1220;
}

.is-done .track-dot { border-color: #155eef; background: #155eef; box-shadow: 0 0 0 4px rgba(21, 94, 239, .16); }
.is-current .track-dot { border-color: #22d3ee; background: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, .16); animation: dot-pulse 2.6s ease-out infinite; }

.track-copy b { display: block; color: #e6edf7; font-size: 13.5px; font-weight: 600; }
.track-copy small { display: block; margin-block-start: 2px; color: #8ea0b8; font-size: 11.5px; }
.track em { color: #b8c5d8; font-family: var(--mono); font-size: 11.5px; font-style: normal; }
.is-current em { color: #67e8f9; }

.order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-start: 18px;
  padding-block-start: 14px;
  border-block-start: 1px solid rgba(148, 163, 184, .16);
  color: #7d8ba3;
  font-size: 11.5px;
}

.order-foot-link { color: #93c5fd; }

.order-visual figcaption { margin-block-start: 12px; color: #77869e; font-size: 11.5px; }

@keyframes track-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, .34); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

/* ---------- 通用区块 ---------- */

.section { padding: 96px 0; border-block-end: 1px solid var(--line); }

.sec-head {
  display: block;
  position: static;
  min-height: 0;
  max-width: 680px;
  margin-block-end: 44px;
  padding: 0;
  border: 0;
  background: none;
  gap: 0;
}

.sec-head h2 {
  margin: 14px 0 12px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.sec-sub { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

/* ---------- 业务流程 ---------- */

.flow { background: #fff; }

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-steps li { padding: 22px 20px 0 0; border-block-start: 1px solid var(--line-strong); }
.flow-steps li + li { padding-inline-start: 20px; }

.step-no { color: var(--accent); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; }
.flow-steps h3 { margin: 12px 0 10px; color: var(--ink); font-size: 16px; font-weight: 600; }
.step-do { margin: 0 0 8px; color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.step-result { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.note-box {
  display: grid;
  gap: 6px;
  margin-block-start: 36px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.note-box b { color: var(--ink); font-size: 13.5px; }
.note-box p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* ---------- 分站结算 ---------- */

.settle { background: #f7f8fb; }

.settle-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: start; }

.statement {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px -48px rgba(15, 23, 42, .4);
}

.statement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: static;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
}

.state-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef1f6;
  color: #475569;
  font-size: 11.5px;
  white-space: nowrap;
}

.state-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.statement[data-stage="1"] .state-badge { background: #eaf1ff; color: #155eef; }
.statement[data-stage="2"] .state-badge { background: #fff6e6; color: #a16207; }
.statement[data-stage="3"] .state-badge { background: #e8f7ef; color: #0f8a5f; }

.statement-order {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-block-start: 16px;
  padding-block-end: 14px;
  border-block-end: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.statement-order b { color: var(--ink); font-family: var(--mono); font-size: 18px; font-weight: 650; }

.amounts { margin: 0; }

.amounts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-block-end: 1px dashed #edf0f5;
  font-size: 13.5px;
}

.amounts > div:last-child { border-block-end: 0; }
.amounts dt { color: var(--muted); }
.amounts dd { margin: 0; color: var(--ink); font-family: var(--mono); font-size: 13px; font-variant-numeric: tabular-nums; }

.amounts .em {
  margin-inline: -10px;
  padding-inline: 10px;
  border-block-end: 0;
  border-radius: 6px;
  background: var(--accent-soft);
}

.amounts .em dt { color: #1e3a8a; font-weight: 600; }
.amounts .em dd { color: #0b3aa8; font-size: 15px; font-weight: 700; }

.next-step {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-inline-start: 2px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: #f8fafc;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.6;
}

.stages { display: flex; flex-wrap: wrap; gap: 6px; margin-block-start: 18px; }

.stage-btn {
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 12.5px;
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}

.stage-btn:hover { border-color: var(--accent); color: var(--accent); }
.stage-btn[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.stage-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sample-note { margin: 14px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.65; }

.settle-copy h3 { margin: 0 0 16px; color: var(--ink); font-size: 18px; font-weight: 600; }

.rules { display: grid; gap: 14px; margin: 0 0 16px; padding: 0; list-style: none; }
.rules li { display: grid; gap: 3px; }
.rules b { color: var(--ink); font-size: 14px; font-weight: 600; }
.rules span { color: var(--muted); font-size: 13.5px; line-height: 1.68; }

.settle-note { margin: 0 0 18px; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

.link-arrow { color: var(--accent); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { color: var(--accent-hover); text-decoration: none; }

.settle-ui {
  margin-block-start: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.ui-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-block-end: 1px solid var(--line);
  background: #fbfcfe;
  color: var(--muted);
  font-size: 12px;
}

.ui-dots { display: inline-flex; gap: 4px; }
.ui-dots i { width: 7px; height: 7px; border-radius: 50%; background: #dde3ec; }
.ui-bar .sample-tag { margin-inline-start: auto; border-color: var(--line); background: #fff; color: var(--muted); }

.ui-table-wrap { overflow-x: auto; }

.ui-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 12.5px; }
.ui-table th { padding: 10px 16px; border-block-end: 1px solid var(--line); background: #fbfcfe; color: var(--muted); font-weight: 500; text-align: start; }
.ui-table td { padding: 12px 16px; border-block-end: 1px solid #f1f4f8; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ui-table tr:last-child td { border-block-end: 0; }
.ui-table td:first-child { color: var(--muted); font-family: var(--mono); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: #eef1f6; color: #475569; font-size: 11px; }
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.pill.ok { background: #e8f7ef; color: #0f8a5f; }
.pill.wait { background: #fff6e6; color: #a16207; }

.ui-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-block-start: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

.ui-button { padding: 8px 14px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; }

/* ---------- 产品功能 ---------- */

.capabilities { background: #fff; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.feature {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.feature-copy h3 { margin: 0 0 10px; color: var(--ink); font-size: 18px; font-weight: 600; }
.feature-copy > p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.72; }

.bullets { display: grid; gap: 7px; margin: 14px 0 0; padding: 0; list-style: none; }
.bullets li { position: relative; padding-inline-start: 14px; color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.bullets li::before { content: ""; position: absolute; inset: 7px auto auto 0; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.feature-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }

.mock {
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfcfe;
  color: var(--ink-2);
  font-size: 11.5px;
}

.mock-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-block-end: 10px; border-block-end: 1px solid #eef1f6; margin-block-end: 4px; color: var(--muted); }
.mock-chip { padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 10.5px; }

.mock-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr) minmax(0, .7fr); gap: 8px; padding: 7px 0; border-block-end: 1px solid #f1f4f8; }
.mock-row:last-of-type { border-block-end: 0; }
.mock-head { color: var(--muted); font-size: 10.5px; }

.dot { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.dot.ok::before { background: var(--ok); }
.dot.wait::before { background: var(--warn); }
.dot.stop::before { background: #94a3b8; }

.mock-foot { padding-block-start: 10px; border-block-start: 1px solid #eef1f6; margin-block-start: 6px; color: var(--muted); font-size: 10.5px; }

.mock-stat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-block-end: 1px dashed #e9edf3; }
.mock-stat b { color: var(--ink); font-family: var(--mono); font-size: 16px; font-weight: 650; }

.mock-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-block-end: 1px solid #f1f4f8; }
.mock-line b { color: var(--ink); font-family: var(--mono); font-size: 12px; }

.ai-demo { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfe; }

.ai-row { display: flex; align-items: flex-start; gap: 9px; }
.ai-avatar { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e9eef6; color: #475569; font-size: 10.5px; }
.ai-avatar.ai { background: var(--accent); color: #fff; }
.ai-bubble { max-width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink-2); font-size: 12.5px; line-height: 1.65; }
.ai-bubble p { margin: 0; }
.ai-draft .ai-bubble { border-color: #c9d9ff; background: #f5f8ff; }
.ai-label { display: inline-block; margin-block-end: 6px; color: var(--accent); font-size: 10.5px; letter-spacing: .04em; }
.ai-note { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.compact { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; margin-block-start: 32px; padding-block-start: 24px; border-block-start: 1px solid var(--line); }
.compact h3 { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.compact ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }
.compact li { color: var(--ink-2); font-size: 13.5px; }

/* ---------- 授权方案 ---------- */

.pricing { background: #f7f8fb; }

.price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

.price-card {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  min-width: 0;
  max-width: calc((100% - 32px) / 3);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.plan-name { margin: 0; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin: 10px 0 16px; }
.price strong { color: var(--accent); font-size: clamp(28px, 3vw, 36px); line-height: 1.1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price small { margin-inline-start: 4px; color: var(--muted); font-size: 12.5px; font-weight: 400; letter-spacing: 0; }

.benefits { margin: 0 0 16px; padding: 8px 12px; border-radius: var(--r-s); background: var(--accent-soft); font-size: 13.5px; }
.benefits > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: baseline; gap: 8px; padding: 5px 0; }
.benefits dt { color: var(--muted); }
.benefits dd { margin: 0; color: var(--ink); font-weight: 500; text-align: end; overflow-wrap: anywhere; }
.benefits .included { color: var(--ok); }
.benefits .off { color: var(--muted); }

.price-notes { margin-block-end: 18px; padding-block-start: 12px; border-block-start: 1px solid var(--line); }
.price-notes h4 { margin: 0 0 4px; color: var(--ink-2); font-size: 13px; }
.price-notes .plan-description { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.price-card .btn { width: 100%; height: 40px; margin-block-start: auto; }

.price-fallback { display: flex; flex: 1 1 100%; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; padding: 40px 24px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--muted); text-align: center; }
.price-fallback p { margin: 0; }

.price-note { margin: 18px 0 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }

/* ---------- 常见问题 ---------- */

.faq { background: #fff; }

.faq-wrap { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq-head { position: sticky; top: 96px; margin: 0; }

.faq-list { border-block-start: 1px solid var(--line); }
.faq-list details { border-block-end: 1px solid var(--line); }

.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--muted); font-size: 18px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-list details p { max-width: 70ch; margin: 0; padding: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.75; }

/* ---------- 末尾 CTA / 页脚 ---------- */

.cta { padding: 72px 0; border-block-end: 0; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 34px 38px; border: 1px solid #d7e2ff; border-radius: 16px; background: var(--accent-soft); }
.cta-band h2 { margin: 0 0 6px; color: var(--ink); font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.cta-band p { margin: 0; color: var(--ink-2); font-size: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.site-footer { padding: 30px 0 44px; border-block-start: 1px solid var(--line); background: #f6f7f9; }

.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: var(--ink-2); font-size: 13px; }
.footer-brand .brand-mark { width: 14px; height: 14px; border-radius: 4px; box-shadow: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { margin: 0 0 0 auto; color: var(--muted); font-size: 12px; }

/* ---------- 按钮（首页） ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}

.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; text-decoration: none; }
.btn-ghost { background: #fff; border-color: var(--line-strong); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn-outline-light { background: transparent; border-color: rgba(226, 232, 240, .3); color: #e8eef8; }
.btn-outline-light:hover { border-color: rgba(226, 232, 240, .65); background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.btn-sm { height: 38px; padding: 0 15px; border-radius: 6px; font-size: 13px; }

/* ---------- 滚动显现 ---------- */

.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */

@media (max-width: 1024px) {
  .hero { padding: 132px 0 84px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .order-visual { width: 100%; max-width: 640px; margin-inline: auto; }
  .settle-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .feature-wide { grid-template-columns: minmax(0, 1fr); }
  .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .faq-head { position: static; }
  .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-steps li:nth-child(n + 4) { margin-block-start: 24px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-login { display: none; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .compact { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .price-card { max-width: calc((100% - 16px) / 2); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
}

@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav-inner { width: calc(100% - 32px); }
  .section { padding: 64px 0; }
  .sec-head { margin-block-end: 32px; }
  .flow-steps { grid-template-columns: minmax(0, 1fr); }
  .flow-steps li { padding: 0 0 22px 18px; border-block-start: 0; border-inline-start: 1px solid var(--line-strong); margin-inline-start: 6px; }
  .flow-steps li + li { padding-inline-start: 18px; margin-block-start: 0; }
  .flow-steps li:last-child { padding-block-end: 0; }
  .flow-steps li::before { content: ""; position: absolute; }
  .step-no { display: block; margin-block-start: -2px; }
  .settle-ui { margin-block-start: 32px; }
  .price-card { max-width: 100%; }
  .footer-copy { margin-inline-start: 0; }
}

@media (max-width: 560px) {
  .hero { padding: 112px 0 64px; }
  .hero h1 { font-size: 30px; letter-spacing: -.025em; }
  .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 12px 16px; font-size: 12.5px; }
  .order-card { padding: 18px 16px 14px; }
  .order-amount { font-size: 32px; }
  .statement { padding: 20px 16px; }
  .settle-copy h3 { font-size: 16px; }
  .sec-head h2 { font-size: 26px; }
  .feature { padding: 20px; }
  .cta-band { padding: 22px 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track::before, .is-current .track-dot { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

@media print {
  .nav, .skip-link, .mobile-menu { display: none !important; }
  .hero { padding: 32px 0; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .section { break-inside: avoid; }
}

.plan-description { white-space: pre-line; overflow-wrap: anywhere; }

.contact-section { background: var(--accent-soft); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.contact-card { min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); overflow-wrap: anywhere; }
.contact-card h3 { margin: 0 0 12px; font-size: 18px; }
.contact-card p { margin: 0 0 12px; color: var(--ink-2); }
.contact-card strong { color: var(--ink); }
.contact-qr { display: block; width: min(100%, 210px); aspect-ratio: 1; object-fit: contain; padding: 10px; border: 1px solid var(--line); background: #fff; margin-block-end: 12px; }
.contact-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
