/* 拼呼呼 PinPal 官网 · 奢华编辑风（Luxury Editorial）
   色彩/圆角/阴影/字距全部对齐小程序 DESIGN.md 的 --lx-* 全局 Token（1rpx = 0.5px） */

:root {
  /* 基础六色（app.wxss page Token 同值） */
  --lx-bg: #f9f8f6;          /* 暖雪花石膏白 · 页面主背景 */
  --lx-ink: #1a1a1a;         /* 浓郁炭灰 · 主标题/正文/实底 */
  --lx-clay: #ebe5de;        /* 浅灰褐 · 交替分区/占位底 */
  --lx-text-sub: #6c6863;    /* 暖调中灰 · 副标题/描述 */
  --lx-gold: #d4af37;        /* 复古金属金 · 唯一点缀色，仅限小面积 */
  --lx-white: #ffffff;       /* 纯白 · 仅用于炭黑/金底之上的文字 */
  /* 衍生透明色 */
  --lx-ink-10: rgba(26, 26, 26, 0.1);
  --lx-ink-15: rgba(26, 26, 26, 0.15);
  --lx-ink-20: rgba(26, 26, 26, 0.2);
  --lx-clay-70: rgba(235, 229, 222, 0.7);
  /* 阴影五档（极轻） */
  --lx-shadow-card: 0 1px 6px rgba(0, 0, 0, 0.02);
  --lx-shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.06);
  --lx-shadow-img: 0 2px 8px rgba(0, 0, 0, 0.08);
  --lx-shadow-deep: 0 6px 16px rgba(0, 0, 0, 0.12);
  --lx-inset-border: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  /* 字族：正文跟随系统；数字/展示用衬线（编辑风招牌） */
  --font-body: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica,
    "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-display: "Didot", "Bodoni 72", "DIN Alternate", "Helvetica Neue", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--lx-bg);
  color: var(--lx-ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

::selection { background: rgba(212, 175, 55, 0.28); }

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

/* ---------- 通用元素 ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lx-text-sub);
}

.eyebrow-dash {
  width: 28px;
  height: 1px;
  background: var(--lx-gold);
  flex: none;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--lx-ink);
}

.accent-dot { color: var(--lx-gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
    box-shadow 0.18s ease, transform 0.15s ease;
}

.btn svg { width: 14px; height: 14px; flex: none; }

/* 主按钮：炭黑实底（3.4 平台/强实底），按压/悬浮变金（8.5 FAB 范式） */
.btn-solid {
  background: var(--lx-ink);
  color: var(--lx-white);
}

.btn-solid:hover,
.btn-solid:active {
  background: var(--lx-gold);
  color: var(--lx-white);
  box-shadow: var(--lx-shadow-card-hover);
}

/* 次按钮：白底细边（.wx-btn--default 范式） */
.btn-ghost {
  background: transparent;
  border-color: var(--lx-ink-15);
  color: var(--lx-ink);
}

.btn-ghost:hover {
  border-color: var(--lx-gold);
  color: var(--lx-ink);
  background: var(--lx-clay);
}

.btn:active { transform: scale(0.985); }

/* ---------- 顶部导航 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--lx-bg);
  border-bottom: 1px solid var(--lx-ink-10);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--lx-ink);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--lx-shadow-img);
}

.brand-text { display: flex; align-items: baseline; gap: 10px; line-height: 1.35; }

.brand-text strong {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.brand-text small {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--lx-text-sub);
}

.footer-brand small {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--lx-text-sub);
}

.site-nav { display: flex; align-items: center; gap: 32px; }

.site-nav > a {
  color: var(--lx-text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  transition: color 0.18s ease;
}

.site-nav > a:not(.btn):hover { color: var(--lx-ink); }

.btn-nav { min-height: 40px; padding: 0 22px; font-size: 13px; }

/* ---------- Hero ---------- */

.hero { padding: 72px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  margin: 28px 0 32px;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 600;
  line-height: 1.5;
}

.hero-lede {
  color: var(--lx-text-sub);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 40px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lx-text-sub);
}

.hero-note svg { width: 16px; height: 16px; color: var(--lx-gold); }

.hero-visual { position: relative; }

.hero-photo { position: relative; }

.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 2.05;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--lx-shadow-img), var(--lx-inset-border);
}

.hero-photo figcaption {
  position: absolute;
  right: 20px;
  bottom: 16px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.9);
}

/* 便签卡：card-lx 范式（暖底 + 细边 + 小圆角 + 浅阴影） */
.hero-card {
  position: absolute;
  left: -48px;
  bottom: -40px;
  width: 224px;
  padding: 22px 22px 18px;
  background: var(--lx-bg);
  border: 1px solid var(--lx-ink-10);
  border-radius: 4px;
  box-shadow: var(--lx-shadow-deep);
  transform: rotate(-3deg);
}

.hero-card svg { width: 16px; height: 16px; color: var(--lx-gold); }

.hero-card p {
  margin: 12px 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.8;
}

.hero-card em {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--lx-text-sub);
}

.hero-vertical {
  position: absolute;
  top: 4px;
  right: -30px;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--lx-text-sub);
}

.hero-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 88px;
  padding: 22px 0 26px;
  border-top: 1px solid var(--lx-ink-10);
}

.strip-list {
  display: flex;
  align-items: center;
  list-style: none;
}

.strip-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--lx-text-sub);
  border-left: 1px solid var(--lx-ink-10);
}

.strip-list li:first-child { padding-left: 0; border-left: none; }

.strip-list svg { width: 16px; height: 16px; color: var(--lx-ink); flex: none; }

.strip-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lx-text-sub);
}

/* ---------- 区块通用 ---------- */

.section { padding: 96px 0; }

.section-head { max-width: 680px; margin-bottom: 56px; }

.section-head h2,
.rules-intro h2,
.scan-copy h2 {
  margin: 22px 0 18px;
  font-size: clamp(26px, 3vw, 38px);
}

.section-lede { color: var(--lx-text-sub); line-height: 1.9; }

/* ---------- 产品展示 ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* card-lx 范式 + 按压反馈（scale .985 + 金边 + 阴影加深） */
.feature-card {
  background: var(--lx-bg);
  border: 1px solid var(--lx-ink-10);
  border-radius: 4px;
  box-shadow: var(--lx-shadow-card);
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-card:hover {
  transform: scale(0.985);
  border-color: var(--lx-gold);
  box-shadow: var(--lx-shadow-card-hover);
}

.feature-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--lx-ink-15);
  border-radius: 4px;
  color: var(--lx-ink);
  margin-bottom: 6px;
}

.feature-icon svg { width: 21px; height: 21px; }

.feature-card h3 { font-size: 17px; letter-spacing: 0.12em; }

.feature-card p { font-size: 13.5px; color: var(--lx-text-sub); line-height: 1.8; flex: 1; }

.feature-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lx-text-sub);
  border: 1px solid var(--lx-ink-10);
  border-radius: 2px;
  padding: 5px 10px;
  align-self: flex-start;
  background: var(--lx-clay);
}

/* ---------- 二手市场 ---------- */

.section-second { border-top: 1px solid var(--lx-ink-10); }

.second-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
}

.second-points li { padding: 22px 4px; }

.second-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--lx-text-sub);
}

.second-tags span {
  border: 1px solid var(--lx-ink-10);
  background: var(--lx-clay);
  border-radius: 2px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--lx-ink);
}

.second-photo { position: relative; }

.second-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--lx-shadow-img), var(--lx-inset-border);
}

.second-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 14px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- 庭院横幅 ---------- */

.band { position: relative; overflow: hidden; }

.band img {
  width: 100%;
  height: min(520px, 62vw);
  object-fit: cover;
}

.band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.22), rgba(26, 26, 26, 0.62));
  padding: 24px;
}

.band-quote {
  color: var(--lx-white);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.9;
}

.band-en {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--lx-clay-70);
}

/* ---------- 使用流程（浅灰褐交替分区） ---------- */

#flow { background: var(--lx-clay); }

.step-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  position: relative;
  padding: 24px 20px 22px;
  background: var(--lx-bg);
  border: 1px solid var(--lx-ink-10);
  border-radius: 4px;
  box-shadow: var(--lx-shadow-card);
}

/* 强调数字：衬线字族 + 金色小面积点缀 */
.step-no {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--lx-gold);
  margin-bottom: 10px;
}

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

.step p { font-size: 13px; color: var(--lx-text-sub); line-height: 1.8; }

/* ---------- 使用规则 ---------- */

.rules-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 72px;
  align-items: start;
}

.rules-intro { position: sticky; top: 104px; }

.rules-note { color: var(--lx-text-sub); line-height: 1.9; margin-bottom: 26px; }

.rules-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--lx-text-sub);
}

.rules-tip svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: var(--lx-gold); }

.rule-list { list-style: none; }

.rule-list li {
  display: flex;
  gap: 24px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--lx-ink-10);
}

.rule-list li:first-child { border-top: 1px solid var(--lx-ink-10); }

.rule-no {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--lx-gold);
  padding-top: 4px;
  flex: none;
  width: 32px;
}

.rule-list h3 { font-size: 16px; letter-spacing: 0.1em; margin-bottom: 8px; }

.rule-list p { font-size: 13.5px; color: var(--lx-text-sub); line-height: 1.8; }

/* ---------- 扫码进入 ---------- */

.section-scan { padding-bottom: 112px; }

.scan-card {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 64px;
  align-items: center;
  background: var(--lx-bg);
  border: 1px solid var(--lx-ink-10);
  border-radius: 8px;
  box-shadow: var(--lx-shadow-card);
  padding: clamp(36px, 5vw, 72px);
}

.scan-steps {
  list-style: none;
  margin: 28px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.scan-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--lx-text-sub);
}

.scan-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--lx-ink-15);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--lx-gold);
}

.scan-note { font-size: 12px; color: var(--lx-text-sub); letter-spacing: 0.06em; }

.scan-qr { display: flex; flex-direction: column; align-items: center; gap: 14px; }

.qr-frame {
  background: var(--lx-bg);
  border: 1px solid var(--lx-ink-10);
  border-radius: 4px;
  padding: 18px;
  box-shadow: var(--lx-shadow-img), var(--lx-inset-border);
  transform: rotate(2deg);
}

.qr-frame img { width: min(224px, 56vw); height: auto; }

.scan-qr figcaption {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--lx-ink);
}

/* ---------- 页脚 ---------- */

.site-footer { border-top: 1px solid var(--lx-ink-10); }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0 28px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }

.footer-brand .brand-mark { width: 32px; height: 32px; }

.footer-brand strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  display: block;
  line-height: 1.5;
}

.footer-line { font-size: 13px; letter-spacing: 0.14em; color: var(--lx-text-sub); }

.footer-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  color: var(--lx-text-sub);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--lx-ink-10);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--lx-text-sub);
  flex-wrap: wrap;
}

.footer-nav { display: flex; gap: 24px; }

.footer-nav a { color: var(--lx-text-sub); text-decoration: none; transition: color 0.18s ease; }

.footer-nav a:hover { color: var(--lx-ink); }

/* ---------- 入场动效（克制 0.15~0.2s 体系外的入场单独放缓） ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .feature-card { transition-duration: 0.01ms; }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .hero-grid { gap: 44px; }
  .hero-card { left: -12px; }
  .hero-vertical { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: repeat(2, 1fr); }
  .second-grid { grid-template-columns: 1fr; gap: 44px; }
  .rules-grid { grid-template-columns: 1fr; gap: 44px; }
  .rules-intro { position: static; }
}

@media (max-width: 860px) {
  .header-inner { height: 64px; }
  .site-nav { gap: 16px; }
  .site-nav > a:not(.btn) { display: none; }
  .hero { padding-top: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-card { left: 8px; bottom: -32px; }
  .hero-strip { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 64px; }
  .strip-list { flex-wrap: wrap; row-gap: 12px; }
  .strip-list li { padding: 0 18px; }
  .scan-card { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .step-list { grid-template-columns: 1fr; }
  .brand-text strong { font-size: 18px; letter-spacing: 0.18em; }
  .brand-text small { display: none; }
  .btn-nav { padding: 0 16px; }
  .rule-list li { gap: 16px; }
}
