/* ==========================================================================
   易分发 · 定制版官网
   设计原则：暖白纸面 / 朱砂单点强调 / 墨黑锚点 / 细线分栏 / 宋体大字
   ========================================================================== */

:root {
  /* 色板 —— 与定制版小程序 design token 对齐 */
  --paper: #fbf9f6;
  --paper-2: #f4efe8;
  --paper-3: #efe8df;
  --ink: #14171c;
  --ink-2: #232830;
  --ink-3: #343a44;
  --text: #1b2434;
  --text-2: #55627e;
  --text-3: #8d94a3;
  --cinnabar: #d5452e;
  --cinnabar-deep: #b23420;
  --cinnabar-soft: #fbeae6;
  --line: #e5ded4;
  --line-strong: #d3c9bc;
  --line-dark: rgba(255, 255, 255, 0.14);

  --font-display: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC",
    "SimSun", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: 40px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--cinnabar);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ==========================================================================
   顶部导航
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 249, 246, 0.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 249, 246, 0.94);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.seal {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: var(--cinnabar);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.brand-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-3);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 14px;
  color: var(--text-2);
  letter-spacing: 0.04em;
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--cinnabar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav-qr {
  display: none;
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  margin-left: 4px;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(2.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-2.5px) rotate(-45deg);
}

/* ==========================================================================
   按钮与文字链接
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn-primary {
  background: var(--cinnabar);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cinnabar-deep);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
  background: rgba(20, 23, 28, 0.03);
}

.btn-on-dark {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.btn-on-dark:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-sm {
  padding: 11px 22px;
  font-size: 13.5px;
}

.arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow,
.link-arrow:hover .arrow {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
}

/* ==========================================================================
   通用版块
   ========================================================================== */

.section {
  padding: 108px 0;
  border-top: 1px solid var(--line);
}

.section--flush,
.hero + .section {
  border-top: 0;
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-3);
  text-transform: uppercase;
  margin-bottom: 26px;
}

.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  transform: translateY(-4px);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}

.display-2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.28;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.display-2 em {
  font-style: normal;
  color: var(--cinnabar);
}

.lede {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-2);
}

.lede--tight {
  max-width: 34em;
}

/* ==========================================================================
   首页 Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    90deg,
    var(--line) 1px,
    transparent 1px
  );
  background-size: calc(100% / 6) 100%;
  opacity: 0.4;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 72px;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: 76px 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-2);
  margin-bottom: 30px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--cinnabar);
}

.display-1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1.16;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.display-1 em {
  font-style: normal;
  color: var(--cinnabar);
}

.hero-lead {
  max-width: 30em;
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-2);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
}

.hero-facts li {
  padding: 22px 24px 0 0;
  border-right: 1px solid var(--line);
}

.hero-facts li:last-child {
  border-right: 0;
}

.hero-facts b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.hero-facts span {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  display: block;
}

/* 分发关系图 */
.flow-figure {
  position: relative;
  display: grid;
  place-items: center;
}

.flow-figure svg {
  width: 100%;
  max-width: 460px;
  height: auto;
}

.flow-figure .flow-line {
  stroke: var(--line-strong);
  stroke-width: 1;
  fill: none;
}

.flow-figure .flow-line--active {
  stroke: var(--cinnabar);
  stroke-width: 1.4;
  stroke-dasharray: 4 10;
  stroke-linecap: round;
  animation: flow 8s linear infinite;
}

.flow-figure .node {
  fill: var(--paper);
  stroke: var(--line-strong);
}

.flow-figure .node--seal {
  fill: var(--cinnabar);
  stroke: var(--cinnabar);
}

.flow-figure .node-label {
  font-family: var(--font-sans);
  font-size: 11px;
  fill: var(--text-2);
  letter-spacing: 0.08em;
}

.flow-figure .node-title {
  font-family: var(--font-display);
  font-size: 13px;
  fill: var(--text);
  letter-spacing: 0.14em;
}

@keyframes flow {
  to {
    stroke-dashoffset: -140;
  }
}

/* ==========================================================================
   能力三栏
   ========================================================================== */

.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.col-item {
  padding: 40px 36px 44px;
  border-right: 1px solid var(--line);
}

.col-item:last-child {
  border-right: 0;
}

.col-item .idx {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cinnabar);
  margin-bottom: 22px;
}

.col-item h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.col-item p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text-2);
}

.col-item .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  font-size: 12px;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 10px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   四步流程
   ========================================================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
  border-top: 1px solid var(--line-strong);
}

.step {
  position: relative;
  padding: 36px 30px 8px 0;
  border-right: 1px solid var(--line);
}

.step:last-child {
  border-right: 0;
  padding-right: 0;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--cinnabar);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.step::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cinnabar);
  transition: width 0.6s var(--ease);
}

.step:hover::after {
  width: 100%;
}

.step h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.step p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--text-2);
}

/* ==========================================================================
   深色产品实景
   ========================================================================== */

.section--ink {
  background: var(--ink);
  color: #f2f4f8;
  border-top: 0;
}

.section--ink .section-label {
  color: rgba(255, 255, 255, 0.42);
}

.section--ink .section-label::after {
  background: var(--line-dark);
}

.section--ink .display-2 {
  color: #f6f3ee;
}

.section--ink .lede {
  color: rgba(242, 244, 248, 0.66);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  align-items: center;
}

.feature-list {
  margin-top: 36px;
  border-top: 1px solid var(--line-dark);
}

.feature-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-dark);
}

.feature-list b {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.9);
}

.feature-list span {
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(242, 244, 248, 0.6);
}

/* 产品界面模拟 */
.mock {
  background: var(--paper);
  color: var(--text);
  border-radius: 6px;
  padding: 22px 22px 18px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.mock-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
}

.mock-brand i {
  width: 16px;
  height: 16px;
  border-radius: 2px;
  background: var(--cinnabar);
  font-style: normal;
  color: #fff;
  font-size: 10px;
  display: grid;
  place-items: center;
}

.mock-top small {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.mock-tabs {
  display: flex;
  gap: 18px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--line);
}

.mock-tabs span {
  font-size: 12px;
  color: var(--text-3);
}

.mock-tabs span.on {
  color: var(--text);
  font-weight: 600;
  position: relative;
}

.mock-tabs span.on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 2px;
  background: var(--cinnabar);
}

.mock-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.mock-row:last-of-type {
  border-bottom: 0;
}

.mock-row h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: 0.01em;
}

.mock-meta {
  display: flex;
  gap: 10px;
  font-size: 10.5px;
  color: var(--text-3);
}

.mock-meta i {
  font-style: normal;
  padding: 1px 6px;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.mock-price {
  text-align: right;
}

.mock-price b {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--cinnabar);
  font-weight: 600;
  line-height: 1;
}

.mock-price small {
  display: block;
  font-size: 10px;
  color: var(--text-3);
  margin-top: 4px;
}

.mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  font-size: 10.5px;
  color: var(--text-3);
}

.mock-foot em {
  font-style: normal;
  color: var(--cinnabar);
}

.mock-status {
  font-size: 11px;
  line-height: 1;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text-2);
  white-space: nowrap;
}

.mock-status.wait {
  color: #b97e2e;
  border-color: #e8d5b0;
  background: #f8efdc;
}

.mock-status.pass {
  color: #0e9f6c;
  border-color: #cbe7db;
  background: #e5f5ee;
}

.mock-status.reject {
  color: #c4554d;
  border-color: #eccfcc;
  background: #fbeae8;
}

/* ==========================================================================
   CTA 版块
   ========================================================================== */

.cta {
  position: relative;
  overflow: hidden;
  background: var(--cinnabar);
  color: #fff;
  padding: 92px 0;
}

.cta::after {
  content: "易";
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 340px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
  user-select: none;
}

.cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.03em;
}

.cta p {
  margin-top: 14px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
}

.cta .btn-light {
  background: #fff;
  color: var(--cinnabar-deep);
  white-space: nowrap;
}

.cta .btn-light:hover {
  background: #14171c;
  color: #fff;
  transform: translateY(-1px);
}

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(242, 244, 248, 0.62);
  padding: 72px 0 34px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.6fr));
  gap: 48px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-dark);
}

.footer-brand .brand-text strong {
  color: #fff;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.85;
  max-width: 24em;
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 13px;
  margin-bottom: 12px;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  font-size: 12px;
  color: rgba(242, 244, 248, 0.4);
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: rgba(242, 244, 248, 0.52);
  border-bottom: 1px solid rgba(242, 244, 248, 0.18);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer-legal a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.footer-legal em {
  font-style: normal;
}

.beian-link {
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.beian-link:hover {
  color: var(--cinnabar);
  border-color: var(--cinnabar);
}

/* ==========================================================================
   内页
   ========================================================================== */

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  padding: 88px 0 76px;
  background: var(--paper);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, #000, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero .crumb {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin-bottom: 26px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-hero .lede {
  margin-top: 24px;
  max-width: 42em;
  font-size: 15.5px;
}

/* 两列内容 */
.split-text {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
}

.split-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.split-text .body p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-2);
  margin-bottom: 20px;
}

.split-text .body p:last-child {
  margin-bottom: 0;
}

/* 功能列表（浅色） */
.grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.grid-list li {
  padding: 32px 40px 32px 0;
  border-bottom: 1px solid var(--line);
}

.grid-list li:nth-child(odd) {
  border-right: 1px solid var(--line);
  padding-right: 40px;
}

.grid-list li:nth-child(even) {
  padding-left: 40px;
}

.grid-list h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.grid-list h3::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cinnabar);
  flex-shrink: 0;
}

.grid-list p {
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--text-2);
}

/* 问答 */
.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 300;
  color: var(--cinnabar);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq .answer {
  padding: 0 0 26px;
  max-width: 62em;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text-2);
}

/* 联系 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.contact-item {
  padding: 40px 34px 44px;
  border-right: 1px solid var(--line);
}

.contact-item:last-child {
  border-right: 0;
}

.contact-item .idx {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--cinnabar);
}

.contact-item h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 18px 0 12px;
  letter-spacing: 0.04em;
}

.contact-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-2);
}

.contact-item .hint {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.8;
}

/* 公司信息表 */
.info-table {
  border-top: 1px solid var(--line);
}

.info-table div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.info-table dt,
.info-table span:first-child {
  color: var(--text-3);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* 强调引用 */
.quote {
  border-left: 2px solid var(--cinnabar);
  padding: 6px 0 6px 28px;
  margin: 36px 0;
}

.quote p {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* ==========================================================================
   动效
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

.hero .eyebrow,
.hero .display-1,
.hero .hero-lead,
.hero .hero-actions,
.hero .hero-facts,
.hero .flow-figure {
  opacity: 0;
  transform: translateY(20px);
  animation: rise 0.95s var(--ease) forwards;
}

.hero .display-1 {
  animation-delay: 0.1s;
}

.hero .hero-lead {
  animation-delay: 0.2s;
}

.hero .hero-actions {
  animation-delay: 0.3s;
}

.hero .hero-facts {
  animation-delay: 0.4s;
}

.hero .flow-figure {
  animation-delay: 0.25s;
  animation-duration: 1.2s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1080px) {
  :root {
    --gutter: 32px;
  }

  .header-inner {
    gap: 20px;
  }

  .nav {
    gap: 24px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
    min-height: auto;
    padding-block: 64px 72px;
  }

  .flow-figure {
    order: 2;
    justify-items: start;
  }

  .flow-figure svg {
    max-width: 400px;
  }

  .section-head,
  .split,
  .split-text {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .split .mock {
    order: 2;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
    --gutter: 24px;
  }

  .section {
    padding: 76px 0;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -32px rgba(20, 23, 28, 0.5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
      visibility 0.3s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav a::after {
    display: none;
  }

  .nav .nav-qr {
    display: block;
    color: var(--cinnabar);
    font-weight: 600;
  }

  .nav-toggle {
    display: block;
  }

  .header-cta {
    display: none;
  }

  .columns-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .col-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 32px 0 36px;
  }

  .col-item:last-child {
    border-bottom: 0;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step {
    padding: 30px 26px 26px 0;
  }

  .step:nth-child(2) {
    border-right: 0;
    padding-right: 0;
  }

  .step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .step:nth-child(3) {
    padding-left: 0;
  }

  .grid-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-list li,
  .grid-list li:nth-child(odd),
  .grid-list li:nth-child(even) {
    border-right: 0;
    padding: 26px 0;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 30px 0 32px;
  }

  .contact-item:last-child {
    border-bottom: 0;
  }

  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .cta::after {
    font-size: 220px;
    opacity: 0.6;
  }

  .cta .btn {
    justify-self: start;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-facts li {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
  }

  .hero-facts li:last-child {
    border-bottom: 0;
  }

  .page-hero {
    padding: 56px 0 52px;
  }

  .info-table div {
    grid-template-columns: 108px 1fr;
    gap: 16px;
  }

  .quote p {
    font-size: 19px;
  }
}

@media (max-width: 520px) {
  .brand-text em {
    display: none;
  }
  .display-1 {
    font-size: 36px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    gap: 16px;
  }

  .link-arrow {
    width: auto;
  }

  .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
  }

  .step:last-child {
    border-bottom: 0;
  }

  .feature-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

/* ==========================================================================
   小程序码弹窗
   ========================================================================== */

body.is-modal-open {
  overflow: hidden;
}

.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
}

.qr-modal[hidden] {
  display: none;
}

.qr-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 23, 28, 0.56);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: qr-fade 0.3s var(--ease);
}

.qr-panel {
  position: relative;
  width: min(384px, 100%);
  padding: 38px 34px 32px;
  background: var(--paper);
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 46px 90px -34px rgba(0, 0, 0, 0.65);
  animation: qr-pop 0.36s var(--ease);
}

.qr-panel:focus {
  outline: none;
}

.qr-kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cinnabar);
}

.qr-panel h2 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 12px 0 24px;
}

.qr-code {
  display: grid;
  place-items: center;
  width: 232px;
  height: 232px;
  margin: 0 auto;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.qr-code img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-placeholder {
  display: none;
  padding: 0 18px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-3);
}

.qr-code.is-missing img {
  display: none;
}

.qr-code.is-missing .qr-placeholder {
  display: block;
}

.qr-tip {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--text-2);
}

.qr-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--text-3);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.qr-close:hover {
  background: rgba(20, 23, 28, 0.06);
  color: var(--text);
}

@keyframes qr-fade {
  from {
    opacity: 0;
  }
}

@keyframes qr-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

@media (max-width: 520px) {
  .qr-panel {
    padding: 34px 22px 26px;
  }

  .qr-code {
    width: 200px;
    height: 200px;
  }

  .qr-panel h2 {
    font-size: 22px;
  }
}
