/* ==========================================================================
   鸭鸭记账 · 设计系统
   手绘 IP 风格：2px 深色描边 + offset 硬阴影 + 大圆角
   禁止：玻璃拟态、模糊阴影、渐变紫
   ========================================================================== */

:root {
  /* 色板 */
  --blue: #7FDDEF;
  --blue-50: #E8F8FC;
  --blue-100: #C8EEF8;
  --blue-600: #2E9CC0;
  --ink: #1F2A30;
  --ink-2: #4A5A62;
  --ink-3: #7A8A92;
  --yellow: #FFD84D;
  --yellow-soft: #FFF3C4;
  --orange: #FF6B47;
  --orange-dark: #E04E2C;
  --green: #1D9E75;
  --coral: #D85A30;
  --white: #FFFFFF;
  --paper: #FDFBF6;

  /* 结构 */
  --bd: 2px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --shadow-hover: 8px 8px 0 var(--ink);

  --wrap: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --font-num: "SF Mono", ui-monospace, "Menlo", monospace;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { line-height: 1.3; margin: 0; letter-spacing: -0.01em; }

p { margin: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: var(--orange);
}

/* ------------------------------------------------------------ 按钮 */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }

.btn-primary { background: var(--orange); color: var(--white); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-ghost { background: transparent; }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-sm { padding: 9px 18px; font-size: 14px; box-shadow: 3px 3px 0 var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------ 顶栏 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 246, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: var(--bd) solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { border-radius: 11px; }
.brand-text { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }

.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover { background: var(--blue-50); color: var(--ink); }
.site-nav a.is-active { background: var(--ink); color: var(--white); }

.header-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: 12px;
  box-shadow: 3px 3px 0 var(--ink);
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

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

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  border-bottom: var(--bd) solid var(--ink);
  padding: 76px 0 84px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  opacity: 0.13;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.hero-copy, .hero-visual { min-width: 0; }
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hl {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hl::after {
  content: "";
  position: absolute;
  left: -4px;
  right: -4px;
  bottom: 4px;
  height: 42%;
  background: var(--yellow);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-0.8deg);
}
.hero-sub {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 460px;
  margin-bottom: 30px;
}
.hero-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-2);
}
.hero-visual { position: relative; }
.hero-visual img { width: 100%; }

/* 手机模型 */
.phones {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-end;
}
.phone {
  background: var(--ink);
  border-radius: 26px;
  padding: 7px;
  flex: 0 0 auto;
  box-shadow: 8px 8px 0 rgba(31, 42, 48, 0.22);
}
.phone img { border-radius: 20px; width: 100%; height: auto; }
.phone-sm { width: clamp(112px, 27vw, 186px); transform: rotate(-3deg) translateY(10px); }
.phone-lg { width: clamp(130px, 31vw, 216px); transform: rotate(2deg); }

/* ------------------------------------------------------------ 区块 */

.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-blue { background: var(--blue-50); border-top: var(--bd) solid var(--ink); border-bottom: var(--bd) solid var(--ink); }
.section-ink { background: var(--ink); color: var(--white); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin: 0 auto 48px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p { font-size: 17px; color: var(--ink-2); }
.section-ink .section-head p { color: rgba(255, 255, 255, 0.72); }

/* ------------------------------------------------------------ 卡片 */

.card {
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.feature {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.feature img { width: 56px; height: 56px; flex-shrink: 0; }
.feature h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.feature p { font-size: 15px; color: var(--ink-2); line-height: 1.7; }

/* 三步概念 */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  border: var(--bd) solid var(--ink);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.step h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }

/* 文章卡片 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
.article-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--yellow-soft);
  color: var(--ink);
}
.article-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; line-height: 1.45; }
.article-card p { font-size: 14px; color: var(--ink-2); flex: 1; }
.card-more {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--orange-dark);
}

/* 学堂阶段 */
.stage-block { margin-bottom: 56px; }
.stage-head { margin-bottom: 24px; padding-left: 16px; border-left: 5px solid var(--orange); }
.stage-head h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.stage-head p { font-size: 15px; color: var(--ink-2); }

/* ------------------------------------------------------------ 文章页 */

.post {
  display: grid;
  grid-template-columns: minmax(0, 700px) 196px;
  gap: 64px;
  justify-content: center;
  padding: 56px 0 80px;
  align-items: start;
}
.post-main { max-width: 700px; }
.post-head { margin-bottom: 36px; padding-bottom: 26px; border-bottom: 1px dashed rgba(31, 42, 48, 0.25); }
.post-head h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
}
.post-meta { display: flex; gap: 14px; font-size: 13px; color: var(--ink-3); }
.post-lede { font-size: 17px; color: var(--ink-2); }

.prose { font-size: 17px; line-height: 1.9; }
.prose > * + * { margin-top: 22px; }
.prose h2 {
  font-size: 25px;
  font-weight: 800;
  margin-top: 48px;
  padding-top: 8px;
  letter-spacing: -0.02em;
}
.prose h3 { font-size: 19px; font-weight: 800; margin-top: 34px; }
.prose p { color: #26343B; }
.prose ul, .prose ol { padding-left: 24px; color: #26343B; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--orange-dark); font-weight: 700; }
.prose strong { font-weight: 800; background: linear-gradient(transparent 62%, var(--yellow-soft) 62%); }
.prose a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose code {
  font-family: var(--font-num);
  font-size: 0.9em;
  background: var(--blue-50);
  padding: 2px 6px;
  border-radius: 5px;
}
.prose pre {
  background: var(--ink);
  color: #F0F4F5;
  padding: 22px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.7;
}
.prose pre code { background: none; padding: 0; color: inherit; }
.prose blockquote {
  margin: 0;
  padding: 18px 22px;
  background: var(--blue-50);
  border-left: 4px solid var(--blue-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose blockquote p { margin: 0; font-size: 16px; }
.prose hr { border: none; border-top: 2px dashed rgba(31, 42, 48, 0.2); margin: 40px 0; }

.table-wrap { overflow-x: auto; margin: 24px 0; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.prose th, .prose td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(31, 42, 48, 0.12);
  text-align: left;
}
.prose th { background: var(--blue-50); font-weight: 800; }
.prose tr:last-child td { border-bottom: none; }

/* 提示块 */
.callout {
  padding: 20px 24px;
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--yellow-soft);
  box-shadow: 3px 3px 0 var(--ink);
  margin: 28px 0;
}
.callout > * + * { margin-top: 10px; }
.callout-title { font-weight: 800; font-size: 15px; margin: 0; }
.callout p { font-size: 15.5px; }
.callout-warn { background: #FFE7DC; }
.callout-tip { background: var(--yellow-soft); }
.callout-key { background: var(--blue-50); }

/* 目录侧栏 */
.toc {
  position: sticky;
  top: 96px;
  font-size: 14px;
}
.toc-title { font-weight: 800; font-size: 13px; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 12px; }
.toc a { display: block; padding: 5px 0; color: var(--ink-2); border-left: 2px solid transparent; padding-left: 12px; }
.toc a:hover { color: var(--ink); border-left-color: var(--orange); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px dashed rgba(31, 42, 48, 0.25);
}
.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 46%;
  padding: 14px 18px;
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}
.post-nav a:hover { background: var(--blue-50); }
.post-nav span { font-size: 12px; color: var(--ink-3); }
.post-nav strong { font-size: 14px; font-weight: 700; }
.pn-next { text-align: right; margin-left: auto; }

/* ------------------------------------------------------------ 页头 */

.page-hero {
  background: var(--blue);
  border-bottom: var(--bd) solid var(--ink);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  opacity: 0.12;
}
.page-hero h1 {
  position: relative;
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.page-hero p { position: relative; font-size: 17px; color: var(--ink-2); max-width: 620px; }

/* ------------------------------------------------------------ CTA 条 */

.cta-band {
  background: var(--yellow);
  border-top: var(--bd) solid var(--ink);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin-bottom: 14px; }
.cta-band p { font-size: 17px; color: var(--ink-2); margin-bottom: 30px; }

/* ------------------------------------------------------------ FAQ */

.faq { max-width: 800px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--orange-dark);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 14px; font-size: 15.5px; color: var(--ink-2); }

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

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-brand img { border-radius: 11px; margin-bottom: 14px; }
.footer-slogan { font-size: 16px; font-weight: 700; color: var(--white); }
.footer-note { font-size: 13px; color: rgba(255, 255, 255, 0.5); margin-top: 8px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
  font-weight: 700;
}
.footer-col a { font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom p { margin: 0; }
.footer-bottom a.icp {
  color: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.footer-bottom a.icp:hover { color: var(--yellow); border-bottom-color: var(--yellow); }

/* ------------------------------------------------------------ 工具页 */

.tool-shell {
  background: var(--blue-50);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
}
.tool-row { display: flex; gap: 12px; flex-wrap: wrap; }
.tool-row input[type="text"] {
  flex: 1;
  min-width: 240px;
  padding: 15px 20px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: 999px;
  outline: none;
}
.tool-row input[type="text"]:focus { box-shadow: 0 0 0 4px var(--blue-100); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  padding: 7px 14px;
  font-size: 13px;
  font-family: var(--font);
  font-weight: 600;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.12s;
}
.chip:hover { background: var(--yellow); }

.journal-out { margin-top: 26px; }
.entry {
  display: grid;
  grid-template-columns: 64px 1fr 130px;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  opacity: 0;
  animation: entryIn 0.4s ease forwards;
}
.entry-dc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 32px;
  font-weight: 800;
  font-size: 14px;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
}
.entry-debit .entry-dc { background: var(--blue-100); }
.entry-credit .entry-dc { background: var(--yellow); }
.entry-debit { margin-right: 40px; }
.entry-name { font-weight: 700; font-size: 15px; }
.entry-name small { display: block; font-weight: 400; font-size: 12.5px; color: var(--ink-3); }
.entry-amt { text-align: right; font-family: var(--font-num); font-weight: 700; font-size: 16px; }
@keyframes entryIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.balance-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  background: #E4F6EE;
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
}
.balance-check .dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green);
  flex-shrink: 0;
}

/* 天平 */
.scale-stage {
  background: var(--white);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.scale-beam {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.pan {
  flex: 1;
  background: var(--blue-50);
  border: var(--bd) solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 18px;
  min-height: 150px;
}
.pan h4 { font-size: 13px; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 12px; }
.pan-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 14px;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(31, 42, 48, 0.18);
}
.pan-item:last-child { border-bottom: none; }
.pan-total { margin-top: 12px; font-weight: 800; font-size: 15px; text-align: right; }
.pan-debit { background: var(--blue-50); }
.pan-credit { background: var(--yellow-soft); }
.scale-foot {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--ink-2);
}

/* 图标墙 */
.wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 10px;
}
.wall-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px;
  background: var(--white);
  border: 1.5px solid rgba(31, 42, 48, 0.14);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.12s, border-color 0.12s, box-shadow 0.12s;
}
.wall-item:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.wall-item img { width: 32px; height: 32px; }
.wall-item span { font-size: 12px; color: var(--ink-2); text-align: center; line-height: 1.3; }
.wall-item.is-expense span { color: var(--coral); }
.wall-item.is-income span { color: var(--green); }
.wall-item.is-transfer span { color: var(--ink-3); }

/* 交替图文行 */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row.is-reverse .feature-media { order: 2; }
.feature-media { display: flex; justify-content: center; align-items: center; }
.feature-media .phone { width: 268px; }
.feature-media .phones { gap: 10px; }
.feature-media .phones .phone-sm { width: 148px; }
.feature-media .phones .phone-lg { width: 172px; }
.feature-text h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 18px; letter-spacing: -0.02em; }
.feature-text p { font-size: 16px; color: var(--ink-2); margin-bottom: 14px; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 11px 0;
  font-size: 15px;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-left: 2.2px solid var(--green);
  border-bottom: 2.2px solid var(--green);
  transform: rotate(-45deg);
}

/* 账户对照卡 */
.acct-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(31, 42, 48, 0.15);
  font-size: 15px;
}
.acct-line b { font-family: var(--font-num); font-size: 15px; }
.acct-line b.is-liab { color: var(--coral); }
.acct-label {
  margin: 22px 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}
.acct-net {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid var(--ink);
  font-weight: 800;
  font-size: 17px;
}

/* 待确认标记（审校用，正式上线前清理） */
.todo {
  display: inline;
  background: #FFF3C4;
  border-bottom: 2px solid var(--orange);
  padding: 1px 4px;
  font-size: 0.94em;
}

/* 版本记录 */
.release { margin-bottom: 40px; }
.release-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

/* 通用工具类 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.center { text-align: center; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

.prose-wrap { max-width: 760px; margin-left: auto; margin-right: auto; }

/* 条纹装饰 */
.stripes {
  height: 14px;
  border-top: var(--bd) solid var(--ink);
  border-bottom: var(--bd) solid var(--ink);
  background: repeating-linear-gradient(
    45deg,
    var(--yellow) 0 18px,
    var(--orange) 18px 36px,
    var(--blue-600) 36px 54px
  );
}

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

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .post { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 64px; }
  .feature-row.is-reverse .feature-media { order: 0; }
  .feature-media .phone { width: 200px; }
}

@media (max-width: 560px) {
  .phones { gap: 10px; }
  .feature-media .phone { width: 170px; }
  .feature-media .phones .phone-sm { width: 110px; }
  .feature-media .phones .phone-lg { width: 128px; }
}

@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: var(--bd) solid var(--ink);
    padding: 12px 18px 18px;
    gap: 2px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 16px; }
  .nav-toggle { display: flex; margin-left: auto; }
  .header-cta { display: none; }
  .hero { padding: 44px 0 56px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 54px 0; }
  .feature-grid, .card-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .entry { grid-template-columns: 52px 1fr 96px; gap: 10px; padding: 13px 14px; }
  .entry-debit { margin-right: 14px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .scale-beam { flex-direction: column; }
  .tool-shell { padding: 20px; }
  .post-nav a { max-width: 48%; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 21px; margin-top: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
