/* ============================================================
 * 帐安通 官网样式（internal/portal/assets/portal.css）
 * 手写设计系统：不依赖 Tailwind 构建，改模板时只用本文件的语义类。
 * 主色：食安青绿 #0F766E（品牌） / 动作 #0B5A54
 * ============================================================ */

:root {
  --brand: #0f766e;
  --brand-strong: #0b5a54;
  --brand-soft: #ecfdf5;
  --brand-line: #b7e4d8;
  --ink: #0b1220;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e6ebf1;
  --bg-soft: #f6f9f8;
  --ok: #059669;
  --warn: #d97706;
  --danger: #dc2626;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-1: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.05);
  --shadow-2: 0 24px 64px rgba(15, 23, 42, 0.14);
  --maxw: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "HarmonyOS Sans SC",
    "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: block;
  box-shadow: 0 6px 16px rgba(11, 90, 84, 0.24);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 17px;
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: var(--ink-2);
}

.nav a:hover {
  color: var(--brand-strong);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ---------------- 按钮 ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand-strong);
  color: #fff;
  box-shadow: 0 6px 18px rgba(11, 90, 84, 0.22);
}

.btn-primary:hover {
  background: var(--brand);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand-line);
  color: var(--brand-strong);
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

.btn-lg {
  height: 50px;
  padding: 0 26px;
  font-size: 15px;
  border-radius: 12px;
}

.btn-block {
  width: 100%;
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(15, 118, 110, 0.16), transparent 70%),
    radial-gradient(700px 360px at 8% 0%, rgba(15, 118, 110, 0.08), transparent 72%),
    #fff;
  border-bottom: 1px solid var(--line);
}

/* 与 .wrap 是同一个元素，左右 padding 必须自己写全，否则会覆盖掉 .wrap 的边距 */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
  padding: 72px 24px 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 600;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.16);
}

.hero-title {
  margin-top: 22px;
  font-size: 46px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 780;
}

.hero-title em {
  font-style: normal;
  color: var(--brand-strong);
  background: linear-gradient(180deg, transparent 62%, rgba(15, 118, 110, 0.16) 62%);
}

.hero-lead {
  margin-top: 20px;
  max-width: 33em;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px dashed var(--line);
}

.hero-stat-value {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------------- 手机样机 ---------------- */

.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 296px;
  max-width: 100%;
  padding: 12px;
  border-radius: 40px;
  background: linear-gradient(160deg, #16202e 0%, #0b1220 100%);
  box-shadow: var(--shadow-2);
}

.phone::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 41px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
}

.phone-screen {
  border-radius: 30px;
  background: var(--bg-soft);
  overflow: hidden;
}

.m-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 10px;
  background: #fff;
}

.m-nav-title {
  font-size: 13px;
  font-weight: 650;
}

.m-nav-sub {
  font-size: 10px;
  color: var(--muted);
}

.m-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.m-card {
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.m-todo {
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-strong) 100%);
  color: #fff;
}

.m-label {
  font-size: 10px;
  opacity: 0.86;
}

.m-value {
  font-size: 30px;
  font-weight: 760;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.m-mini {
  font-size: 10px;
  opacity: 0.9;
}

.m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.m-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-2);
}

.m-item + .m-item {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #f1f5f9;
}

.m-chip {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fef3c7;
  color: #b45309;
  font-weight: 600;
}

.m-chip-ok {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.m-bar {
  height: 6px;
  border-radius: 999px;
  background: #eef2f7;
  margin-top: 7px;
  overflow: hidden;
}

.m-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
}

.m-tabbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 4px 12px;
  font-size: 9px;
  color: var(--muted);
  text-align: center;
}

.m-tabbar .active {
  color: var(--brand-strong);
  font-weight: 700;
}

.phone-float {
  position: absolute;
  left: -10px;
  bottom: 46px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-1);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
}

.phone-float strong {
  color: var(--brand-strong);
  font-size: 13px;
}

/* ---------------- 通用板块 ---------------- */

.section {
  padding: 76px 0;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 46em;
}

.section-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
}

.section-title {
  margin-top: 10px;
  font-size: 32px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.section-sub {
  margin-top: 12px;
  font-size: 16px;
  color: var(--ink-2);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------------- 痛点 ---------------- */

.pain {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
}

.pain-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fef2f2;
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
}

.pain h3 {
  margin-top: 14px;
  font-size: 16px;
  font-weight: 700;
}

.pain p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------------- 能力卡 ---------------- */

.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.feature:hover {
  box-shadow: var(--shadow-1);
  border-color: var(--brand-line);
  transform: translateY(-2px);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 700;
}

.feature p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------------- 界面预览 ---------------- */

.preview {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 36px;
  align-items: start;
}

.browser {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-1);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e2e8f0;
}

.browser-url {
  margin-left: 10px;
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 12px;
}

.browser-body {
  padding: 18px;
  overflow-x: auto;
}

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.tbl th {
  text-align: left;
  font-weight: 650;
  color: var(--muted);
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tbl td {
  padding: 9px 10px;
  border-bottom: 1px solid #f3f6f9;
  color: var(--ink-2);
  white-space: nowrap;
}

.tbl tr:last-child td {
  border-bottom: none;
}

.tbl .name {
  color: var(--ink);
  font-weight: 600;
}

.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.pill-warn {
  background: #fef3c7;
  color: #b45309;
}

.pill-mute {
  background: #f1f5f9;
  color: var(--muted);
}

/* ---------------- 业态 ---------------- */

.industry {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.industry-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.industry h3 {
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -0.01em;
}

.industry-desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  font-size: 12px;
  color: var(--ink-2);
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 9px;
}

.industry-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.industry-count {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-strong);
  font-variant-numeric: tabular-nums;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand-strong);
  border: 1px solid var(--brand-line);
  white-space: nowrap;
}

.badge-soon {
  background: #f1f5f9;
  color: var(--muted);
  border-color: var(--line);
}

/* ---------------- 合规依据 ---------------- */

.basis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.basis-item {
  border-left: 3px solid var(--brand);
  background: #fff;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  box-shadow: var(--shadow-1);
}

.basis-item strong {
  display: block;
  font-size: 14px;
}

.basis-item span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------------- AI 填报 ---------------- */

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-top: 8px;
}

.ai-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ai-list li {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-2);
}

.ai-list b {
  color: var(--ink);
}

.tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.chat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 650;
}

.chat-avatar {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

.bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.65;
}

.bubble-user {
  align-self: flex-end;
  background: var(--brand-strong);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.bubble-ai {
  background: #f8fafc;
  border: 1px solid var(--line);
  color: var(--ink-2);
  border-bottom-left-radius: 4px;
}

.bubble-ai .ok {
  color: var(--ok);
  font-weight: 700;
}

/* ---------------- 价格 ---------------- */

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.price-card-main {
  border-color: var(--brand-line);
  box-shadow: 0 18px 48px rgba(15, 118, 110, 0.14);
}

.price-name {
  font-size: 15px;
  font-weight: 700;
}

.price-num {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-num strong {
  font-size: 34px;
  font-weight: 780;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.price-num span {
  font-size: 13px;
  color: var(--muted);
}

.price-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
}

.price-list li {
  display: flex;
  gap: 9px;
}

.price-list li::before {
  content: "✓";
  color: var(--brand);
  font-weight: 800;
}

.price-card .btn {
  margin-top: 22px;
}

/* ---------------- FAQ ---------------- */

.faq {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: none;
}

.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 650;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-size: 18px;
  color: var(--muted);
  font-weight: 500;
}

.faq details[open] summary::after {
  content: "−";
}

.faq .answer {
  padding: 0 22px 20px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

/* ---------------- CTA 条 ---------------- */

.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--brand-strong) 0%, #0a4a45 60%, #07332f 100%);
  color: #fff;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 750;
}

.cta-band p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 40em;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 小屏下的表格提示：只在 640 以下显示 */
.scroll-hint {
  display: none;
  margin: 0 0 10px;
  font-size: 11px;
  color: var(--muted);
}

/* 二级页大标题（替代模板里的内联字号） */
.section-title-lg {
  font-size: 34px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 760;
}

/* ---------------- 表单 ---------------- */

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  box-shadow: var(--shadow-1);
}

.field {
  margin-bottom: 18px;
}

.label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
  margin-bottom: 7px;
}

.input {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.input-row {
  display: flex;
  gap: 10px;
}

.input-row .input {
  flex: 1;
}

.input-row .btn {
  height: 44px;
  flex: none;
}

.hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.checkline {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  margin: 4px 0 20px;
}

.checkline input {
  margin-top: 3px;
}

.checkline a {
  color: var(--brand-strong);
  text-decoration: underline;
}

.alert-error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}

.alert-ok {
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  color: var(--brand-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 13px;
  margin-bottom: 18px;
}

.center-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 7px;
}

/* ---------------- 条款正文 ---------------- */

.legal {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
}

.legal h2 {
  font-size: 18px;
  color: var(--ink);
  margin-top: 10px;
}

.legal h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 4px;
}

.legal ul,
.legal ol {
  padding-left: 22px;
}

.legal li {
  margin-top: 5px;
}

.legal a {
  color: var(--brand-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal code {
  background: #f1f5f9;
  color: #0f4c47;
  padding: 1px 6px;
  border-radius: 5px;
  font-size: 13px;
  word-break: break-all;
}

.legal pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.65;
}

.legal pre code {
  background: none;
  color: inherit;
  padding: 0;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 4px 0;
}

.legal th,
.legal td {
  text-align: left;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.legal th {
  font-weight: 650;
  color: var(--ink);
  background: var(--bg-soft);
  white-space: nowrap;
}

.legal > p {
  margin: 0;
}

/* 帮助页目录 */

.doc-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.doc-toc a {
  display: inline-block;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-2);
  background: #fff;
}

.doc-toc a:hover {
  border-color: var(--brand);
  color: var(--brand-strong);
}

/* 带锚点的小节避开吸顶头部 */

.doc-anchor,
.section[id] {
  scroll-margin-top: 84px;
}

/* ---------------- 页脚 ---------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 44px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-about {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 26em;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--brand-strong);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}

/* ---------------- 页头（子页） ---------------- */

.page-head {
  padding: 52px 0 34px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.page-head h1 {
  font-size: 34px;
  letter-spacing: -0.02em;
  font-weight: 760;
}

.page-head p {
  margin-top: 10px;
  font-size: 16px;
  color: var(--ink-2);
  max-width: 44em;
}

/* ---------------- 响应式 ---------------- */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 52px 24px 60px;
  }

  .hero-title {
    font-size: 34px;
  }

  .phone-stage {
    order: -1;
  }

  .phone-float {
    display: none;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .preview,
  .ai-grid,
  .basis {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 56px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .nav {
    display: none;
  }

  .cta-band {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .cta-actions {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }

  .site-header-inner {
    height: 58px;
    gap: 10px;
  }

  .nav-actions .btn {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
  }

  .hero-inner {
    gap: 26px;
    padding: 34px 16px 42px;
  }

  .hero-title {
    font-size: 25px;
  }

  /* 手机屏幕窄，交给浏览器自然换行（写死 <br> 会断得很难看） */
  .hero-title br {
    display: none;
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 22px;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
    margin-top: 26px;
    padding-top: 18px;
  }

  .hero-stat-value {
    font-size: 20px;
  }

  .hero-stat-label {
    font-size: 11px;
  }

  .eyebrow {
    font-size: 12px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 22px;
  }

  .section-sub {
    font-size: 14px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 26px;
  }

  .feature,
  .industry,
  .pain {
    padding: 18px;
  }

  .feature h3,
  .pain h3 {
    font-size: 15px;
  }

  .feature p,
  .pain p {
    font-size: 13px;
  }

  /* 手机样机整体缩小一档，避免在小屏上“胀” */
  .phone {
    width: 228px;
    padding: 9px;
    border-radius: 30px;
  }

  .phone-screen {
    border-radius: 22px;
  }

  .m-nav {
    padding: 10px 12px 8px;
  }

  .m-body {
    padding: 10px;
    gap: 8px;
  }

  .m-value {
    font-size: 25px;
  }

  .m-item {
    font-size: 10px;
  }

  .m-tabbar {
    padding: 6px 4px 9px;
    font-size: 8px;
  }

  .browser-body {
    padding: 12px;
  }

  .tbl {
    font-size: 11px;
  }

  .scroll-hint {
    display: block;
  }

  .cta-band {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .cta-band h2 {
    font-size: 20px;
  }

  .cta-band p {
    font-size: 13px;
  }

  .cta-actions .btn {
    flex: 1 1 auto;
  }

  .faq summary {
    padding: 14px 16px;
    font-size: 14px;
  }

  .faq .answer {
    padding: 0 16px 16px;
    font-size: 13px;
  }

  .page-head {
    padding: 32px 0 22px;
  }

  .page-head h1 {
    font-size: 24px;
  }

  .page-head p {
    font-size: 14px;
  }

  .section-title-lg {
    font-size: 24px;
  }

  .price-card {
    padding: 20px;
  }

  .price-num strong {
    font-size: 28px;
  }

  .price-list {
    font-size: 13px;
  }

  .form-card {
    padding: 20px;
  }

  .legal {
    font-size: 14px;
  }

  .legal table {
    font-size: 13px;
  }

  .legal th,
  .legal td {
    padding: 7px 9px;
  }

  .legal pre {
    font-size: 11.5px;
    padding: 12px;
  }

  .doc-toc a {
    font-size: 12px;
    padding: 5px 11px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .brand-sub {
    display: none;
  }
}
