/* ============================================================
   穗软科技 · 人文主题
   在 assets/site.css 之后加载，负责统一色彩、字体与公共组件
   ============================================================ */

:root {
  --paper: #faf8f4;
  --paper-2: #f3efe7;
  --ink: #1c1b18;
  --blue-50: #eef2fb;
  --blue-100: #dce5f8;
  --blue-500: #2f66e0;
  --blue-600: #1f4fd0;
  --blue-700: #193f9f;
  --cyan: #3f7f78;
  --ink-soft: #6f6a60;
  --line: #e4ded3;
  --line-strong: #d5cdbf;
  --title: #1c1b18;
  --text: #403c35;
  --muted: #7b756b;
  --bg: var(--paper);
  --white: #fff;
  --radius: 12px;
  --shadow-sm: 0 2px 6px rgba(28, 27, 24, 0.04);
  --shadow: 0 14px 30px -12px rgba(28, 27, 24, 0.16);
  --shadow-lg: 0 30px 60px -24px rgba(28, 27, 24, 0.28);
  --font-display: "Georgia", "Times New Roman", "Songti SC", "SimSun", serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--text);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.78;
}

h1, h2, h3, h4 {
  color: var(--title);
  letter-spacing: -0.022em;
  font-weight: 700;
}

.container {
  max-width: 1120px;
  padding: 0 28px;
}

.section { padding: 88px 0; }
.section-tight { padding: 72px 0; }
.section-alt { background: var(--paper-2); }

section[id] { scroll-margin-top: 92px; }

/* ---------- 小标题：去掉胶囊，改成一条短线 + 灰字 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  border-radius: 0;
  background: var(--line-strong);
  box-shadow: none;
}

/* ---------- 区块抬头：左对齐，标题和说明分两栏 ---------- */
.section-head {
  max-width: none;
  margin: 0 0 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 8px 56px;
  align-items: end;
}
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.28;
  letter-spacing: -0.028em;
}
.section-head p {
  margin-top: 0;
  padding-bottom: 6px;
  font-size: 15px;
  color: var(--muted);
  max-width: 460px;
}

/* ---------- 按钮：实色，不要渐变和高光 ---------- */
.btn {
  border-radius: 9px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: none;
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -8px rgba(31, 79, 208, 0.6);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--title);
  box-shadow: none;
}
.btn-ghost:hover {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ---------- 导航 ---------- */
.site-header { border-bottom: 1px solid transparent; }
.site-header.scrolled {
  background: rgba(250, 248, 244, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 24px -22px rgba(28, 27, 24, 0.6);
}
.nav-inner { height: 76px; gap: 30px; }
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--ink);
  box-shadow: none;
}
.brand-name { font-size: 17.5px; letter-spacing: 0; }
.brand-sub { font-size: 9.5px; color: #9b958a; letter-spacing: 0.2em; }
.nav-links { gap: 2px; }
.nav-links a {
  padding: 8px 13px;
  font-size: 14.5px;
  color: #575249;
  border-radius: 7px;
}
.nav-links a:hover { background: transparent; color: var(--title); }
.nav-links a.active {
  background: transparent;
  color: var(--title);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--ink);
  border-radius: 0;
}
.nav-toggle { border-color: var(--line); background: transparent; }

/* ---------- 卡片：细边框、纸感、不要大阴影 ---------- */
.product-card,
.why,
.case-card,
.support-card,
.support-box,
.contact-form,
.milestones,
.app-spec,
.doc table,
.doc .doc-meta {
  border-color: var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  background: #fff;
}
.product-card { padding: 26px 24px; }
.product-card::after { display: none; }
.product-card:hover,
.why:hover,
.case-card:hover,
.support-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--blue-600);
  margin-bottom: 16px;
}
.icon-tile.tone-cyan,
.icon-tile.tone-violet,
.icon-tile.tone-orange,
.icon-tile.tone-green,
.icon-tile.tone-slate {
  background: var(--paper-2);
  border-color: var(--line);
  color: var(--blue-600);
}
.product-card h3 { font-size: 17px; margin-bottom: 8px; }
.product-card p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.tag {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 500;
  font-size: 11.5px;
  border-radius: 5px;
  padding: 2px 8px;
}

/* ---------- App 信息区 ---------- */
.app-band {
  background: var(--ink);
  color: #b9b3a8;
  padding: 64px 0;
}
.app-band::before { display: none; }
.app-band .app-headline h2 { color: #f4f0e8; }
.app-band .app-headline p { color: #a8a196; font-size: 14.5px; }
.app-icon {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  box-shadow: none;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
}
.app-chips span {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: #a8a196;
}
.app-spec {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
}
.app-spec h3 { color: #e8e2d7; }
.spec-row { border-bottom-color: rgba(255, 255, 255, 0.09); }
.spec-row dt { color: #8f887c; }
.spec-row dd { color: #ded8cc; }
.spec-row dd a { color: #c7d6ff; }
.app-band .btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #ded8cc;
}
.app-band .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ---------- FAQ ---------- */
.faq { gap: 0; border-top: 1px solid var(--line); max-width: none; }
.faq-item {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.faq-item:hover { border-color: var(--line); }
.faq-item.open { border-color: var(--line); box-shadow: none; }
.faq-q {
  padding: 20px 2px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--title);
}
.faq-q::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  border-radius: 0;
  background: none;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-q::after {
  background: none;
  color: inherit;
  transform: rotate(-135deg) translateY(-2px);
}
.faq-a p { padding: 0 40px 20px 2px; font-size: 14.5px; color: var(--muted); }

/* ---------- 联系表单 ---------- */
.contact-form { padding: 30px; }
.field input,
.field select,
.field textarea {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fdfcf9;
  padding: 11px 13px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(31, 79, 208, 0.1);
  background: #fff;
}
.field.invalid input { border-color: #c0564a; box-shadow: 0 0 0 3px rgba(192, 86, 74, 0.08); }

/* ---------- 内页 ---------- */
.page-hero {
  padding: 128px 0 50px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.page-hero::before { display: none; }
.page-hero h1 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.03em; }
.page-hero p { color: var(--muted); font-size: 15.5px; max-width: 660px; }
.page-hero .page-meta span {
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
}
.breadcrumb { color: #9b958a; }
.breadcrumb a { color: var(--blue-600); }

.doc-wrap { padding: 48px 0 76px; gap: 56px; }
.doc-nav { border-left-color: var(--line); }
.doc-nav a { color: #5c574e; border-radius: 6px; }
.doc-nav a:hover { background: var(--paper-2); color: var(--ink); }
.doc-nav a.active { background: var(--paper-2); color: var(--ink); }
.doc h2 { font-size: 20px; }
.doc h2::before {
  width: 3px;
  height: 17px;
  background: var(--blue-600);
  border-radius: 2px;
}
.doc p, .doc ul li { color: #4b463e; font-size: 14.8px; }
.doc .doc-meta { background: var(--paper-2); color: var(--muted); }
.doc th { background: var(--paper-2); color: var(--ink); }
.doc th, .doc td { border-color: var(--line); }
.doc-note {
  background: #f1f3fa;
  border-color: #e0e5f4;
  color: #324067;
}
.doc a { color: var(--blue-600); }
.support-card { padding: 22px; }
.support-card h3 { font-size: 15.5px; }
.support-box { padding: 24px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--ink);
  color: #a8a196;
  padding: 56px 0 24px;
}
.footer-brand .brand-name { color: #f4f0e8; }
.footer-brand .brand-sub { color: #7d776c; }
.footer-brand p { color: #9b9488; font-size: 13.5px; }
.footer-col h4 { color: #e8e2d7; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.footer-col a, .footer-col span { color: #a8a196; font-size: 13.5px; }
.footer-col a:hover { color: #f4f0e8; }
.footer-contact .icon { color: #8f887c; }
.footer-social a {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
  color: #b9b3a8;
}
.footer-social a:hover { background: #f4f0e8; border-color: #f4f0e8; color: var(--ink); }
.footer-top { border-bottom-color: rgba(255, 255, 255, 0.1); padding-bottom: 36px; }
.footer-bottom { color: #7d776c; border-top: 0; }
.footer-bottom a { color: #9b9488; }
.footer-bottom a:hover { color: #e8e2d7; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .section { padding: 70px 0; }
  .section-head {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-head p { padding-bottom: 0; max-width: 640px; }
  .doc-wrap { grid-template-columns: 1fr; gap: 0; }
  .doc-nav { display: none; }
}

@media (max-width: 960px) {
  .nav-links.open {
    background: var(--paper);
    border-bottom-color: var(--line);
    box-shadow: 0 30px 40px -30px rgba(28, 27, 24, 0.5);
  }
  .nav-links.open a.active { box-shadow: none; background: var(--paper-2); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; padding-top: 20px; }
  .section-head h2 { font-size: 26px; }
  .faq-q { padding: 17px 2px; font-size: 15px; }
  .faq-a p { padding-right: 20px; }
  .page-hero { padding: 108px 0 36px; }
  .doc p, .doc ul li { font-size: 14.5px; }
  .contact-form { padding: 22px; }
  .app-band { padding: 48px 0; }
  .site-footer { padding: 42px 0 20px; }
}
