/* 官网样式。颜色和后台同一套(见 docs/设计规范.md 第三节),系统中文字体,不加载网络字体。 */
:root {
  --ink: #17191c;
  --muted: #686c70;
  --rule: #e2e2de;
  --desk: #f4f4f1;
  --paper: #ffffff;
  --signal: #d9480f;
  --signal-hover: #c23f0c;
  --font: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--desk);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  font-weight: 700;
}
p {
  margin: 0;
}
.num {
  font-variant-numeric: tabular-nums;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  z-index: 20;
}
.skip:focus {
  top: 12px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid #a9aba7;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}
.btn:hover {
  border-color: var(--ink);
}
.btn-primary {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--signal-hover);
  border-color: var(--signal-hover);
}
.btn-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

/* ---------- 顶栏 ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 244, 241, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.head-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
}
.logo-mark {
  width: 26px;
  height: 26px;
  flex: none;
  background: url(/_site/favicon.svg) center / contain no-repeat;
}
.head-nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
}
.head-nav a,
.login {
  text-decoration: none;
  color: #3a3d41;
}
.head-nav a:hover,
.login:hover,
.head-nav a[aria-current='page'] {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}
.head-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 15px;
}

/* ---------- 首屏 ---------- */
.hero {
  padding: 88px 0 0;
}
.hero h1 {
  font-size: 56px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 14em;
}
.lede {
  margin-top: 24px;
  max-width: 36em;
  font-size: 18px;
  color: #3a3d41;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.fine {
  margin-top: 14px;
  font-size: 14px;
  color: var(--muted);
}
.showcase {
  position: relative;
  margin-top: 64px;
  padding-bottom: 56px;
}
.shot {
  margin: 0;
}
.shot img {
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--paper);
}
.shot figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.shot-admin {
  width: 86%;
}
.shot-admin img {
  box-shadow: 0 24px 60px -30px rgba(23, 25, 28, 0.35);
}
.shot-phone {
  position: absolute;
  right: 24px;
  bottom: 0;
  width: 22%;
}
.shot-phone img {
  border: 6px solid var(--ink);
  border-radius: 22px;
  aspect-ratio: 390 / 600;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 24px 50px -20px rgba(23, 25, 28, 0.45);
}

/* ---------- 钱怎么走 ---------- */
.money {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 88px 0;
}
.money-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.money h2 {
  font-size: 40px;
  letter-spacing: -0.01em;
}
.flow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 18px;
  font-weight: 600;
}
.flow-line {
  flex: 1;
  min-width: 40px;
  height: 2px;
  background: var(--signal);
  position: relative;
}
.flow-line::after {
  content: '';
  position: absolute;
  right: -1px;
  top: -4px;
  border: 5px solid transparent;
  border-left: 7px solid var(--signal);
  border-right: 0;
}
.money p + p {
  margin-top: 12px;
}
.note {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- 功能 ---------- */
.features {
  padding: 96px 0 72px;
}
.features h2,
.styles h2,
.steps h2,
.included h2 {
  font-size: 32px;
  letter-spacing: -0.01em;
}
.rows {
  margin: 40px 0 0;
}
.row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.row:last-child {
  border-bottom: 1px solid var(--rule);
}
.row dt {
  font-weight: 700;
  font-size: 18px;
}
.row dd {
  margin: 0;
  max-width: 44em;
  color: #2c2f33;
}
.shot-inline {
  margin-top: 24px;
}

/* ---------- 两套风格 ---------- */
.styles {
  padding: 72px 0 96px;
}
.sub {
  margin-top: 8px;
  color: var(--muted);
}
.style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.style-grid figure {
  margin: 0;
}
.style-grid figcaption {
  margin-top: 16px;
  color: #2c2f33;
}
.style-grid strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

/* ---------- 三步 ---------- */
.steps {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 88px 0;
}
.steps ol {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.steps li {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
.step-n {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.steps p {
  color: #3a3d41;
}

/* ---------- 常见问题 ---------- */
.faq {
  padding: 96px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
}
.faq h2 {
  font-size: 32px;
}
.qa details {
  border-top: 1px solid var(--rule);
}
.qa details:last-child {
  border-bottom: 1px solid var(--rule);
}
.qa summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  font-size: 17px;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: '+';
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  color: var(--muted);
}
.qa details[open] summary::after {
  content: '−';
}
.qa details p {
  padding: 0 0 20px;
  color: #3a3d41;
  max-width: 40em;
}

/* ---------- 收尾 ---------- */
.closing {
  background: var(--ink);
  color: #fff;
  padding: 88px 0;
}
.closing h2 {
  font-size: 40px;
  letter-spacing: -0.01em;
}
.closing p {
  margin: 12px 0 32px;
  color: #c9cbcd;
  font-size: 18px;
}

/* ---------- 页脚 ---------- */
.site-foot {
  padding: 32px 0;
  font-size: 14px;
  color: var(--muted);
}
.foot-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.site-foot .logo {
  color: var(--ink);
  font-size: 15px;
}
.site-foot nav {
  display: flex;
  gap: 20px;
}
.site-foot nav a {
  text-decoration: none;
}
.site-foot nav a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.copy {
  margin-left: auto;
}

/* ---------- 价格页 ---------- */
.page-head {
  padding: 80px 0 48px;
}
.page-head h1 {
  font-size: 48px;
  letter-spacing: -0.02em;
}
.plans {
  padding-bottom: 72px;
}
.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 32px;
}
.plan h2 {
  font-size: 18px;
  color: var(--muted);
  font-weight: 600;
}
.plan-price {
  margin-top: 8px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.plan-desc {
  margin: 12px 0 28px;
  color: #3a3d41;
  flex: 1;
}
.contacts {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  font-size: 16px;
}
.contacts dt {
  color: var(--muted);
}
.contacts dd {
  margin: 0;
  font-weight: 600;
  word-break: break-all;
}
.contacts a {
  text-underline-offset: 4px;
}
.included {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 72px 0;
}
.checklist {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 32px;
}
.checklist li {
  position: relative;
  padding-left: 24px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}

/* ---------- 窄屏 ---------- */
@media (max-width: 960px) {
  .hero h1 {
    font-size: 44px;
  }
  .money-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .steps ol,
  .checklist {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding: 0 16px;
  }
  .head-row {
    gap: 16px;
  }
  /* 手机顶栏只留「价格」,功能和常见问题往下滑就能看到 */
  .head-nav {
    gap: 14px;
  }
  .head-nav a:not([href='/pricing']) {
    display: none;
  }
  .head-actions {
    gap: 14px;
  }
  .hero {
    padding-top: 48px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .lede {
    font-size: 16px;
  }
  .showcase {
    margin-top: 40px;
    padding-bottom: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .shot-admin {
    width: 100%;
  }
  .shot-phone {
    position: static;
    width: 56%;
    justify-self: center;
  }
  .money,
  .steps,
  .closing,
  .included {
    padding: 56px 0;
  }
  .features,
  .faq {
    padding: 64px 0;
  }
  .styles {
    padding: 40px 0 64px;
  }
  .money h2,
  .closing h2 {
    font-size: 30px;
  }
  .features h2,
  .styles h2,
  .steps h2,
  .included h2,
  .faq h2 {
    font-size: 26px;
  }
  .flow {
    flex-wrap: wrap;
    font-size: 16px;
  }
  .style-grid,
  .steps ol,
  .plan-grid,
  .checklist {
    grid-template-columns: 1fr;
  }
  .page-head {
    padding: 48px 0 32px;
  }
  .page-head h1 {
    font-size: 36px;
  }
  .plan {
    padding: 24px;
  }
  .copy {
    margin-left: 0;
  }
}
