/* 营销静态页：颜色取自 app/design-system.css 的基础色板；不引外部字体与脚本，大陆访问只依赖本站。 */
:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface-subtle: #f1f0ec;
  --text: #282725;
  --muted: #68655f;
  --border: #e3e0dc;
  --accent: #75445f;
  --accent-hover: #60364d;
  --accent-soft: #f1e9ee;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

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

h1, h2 { margin: 0; line-height: 1.25; }

h2 { font-size: 26px; }

.section-lead { margin: 6px 0 20px; color: var(--muted); }

/* 顶栏 */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 247, 0.94); border-bottom: 1px solid var(--border); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
nav { display: flex; align-items: center; gap: 6px; }
nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 15px; }
nav a:hover { background: var(--surface-subtle); color: var(--text); }
nav .nav-primary { background: var(--accent); color: #fff; }
nav .nav-primary:hover { background: var(--accent-hover); color: #fff; }

/* 开放状态 */
.notice { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 20px; padding: 12px 16px; background: var(--accent-soft); border: 1px solid #d8bfcf; border-radius: var(--radius); font-size: 15px; }
.notice span { color: var(--muted); }

/* 首屏 */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; padding: 48px 0 32px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 600; font-size: 15px; }
.hero h1 { font-size: 42px; }
.lead { margin: 16px 0 24px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-weight: 600; text-decoration: none; }
.button:hover { background: var(--surface-subtle); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-hover); }
.note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }
.hero-figure { margin: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; }
.hero-figure figcaption { display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }
.hero-figure figcaption span { color: var(--accent); font-weight: 600; }

/* 核心能力 */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-bottom: 40px; }
.features article { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.features span { color: var(--muted); font-size: 15px; }

/* 四步 */
.steps-section, .cases, .use-cases, .contact { padding: 40px 0; border-top: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps span { display: block; color: var(--accent); font-weight: 700; font-size: 14px; }
.steps strong { display: block; margin-top: 4px; font-size: 17px; }
.steps p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }

/* 案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case { overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.case img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--surface-subtle); }
.case > div { padding: 14px 16px 16px; }
.case small { display: block; color: var(--muted); font-size: 13px; }
.case strong { display: block; margin-top: 2px; font-size: 17px; }
.case p { margin: 6px 0 10px; color: var(--muted); font-size: 14px; }
.case em { display: inline-block; margin: 0 6px 6px 0; padding: 2px 8px; background: var(--surface-subtle); border-radius: 999px; font-style: normal; font-size: 13px; color: var(--muted); }

/* 适用场景 */
.use-cases ul { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.use-cases li { padding: 8px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; }

/* 开通 */
.contact p { max-width: 720px; margin: 12px 0 0; color: var(--muted); }

.footer { padding: 24px 0 40px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .hero h1 { font-size: 34px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  nav a:not(.nav-primary) { display: none; }
  .brand span { font-size: 15px; }
  .hero h1 { font-size: 30px; }
  .lead { font-size: 16px; }
  .features, .steps, .case-grid { grid-template-columns: 1fr; }
}
