@charset "UTF-8";
/* RUIYU LLC — 静态站点样式。仅使用系统字体，无远程依赖。 */

:root {
  --paper: #f4f1ea;
  --paper-deep: #ebe7dc;
  --surface: #fbfaf6;
  --ink: #10262d;
  --ink-soft: #2b3f45;
  --muted: #4f625f;
  --green: #2f6b5b;
  --forest: #163a38;
  --forest-raised: #1d4744;
  --forest-line: rgba(214, 229, 196, .2);
  --on-dark: #f4f1ea;
  --on-dark-muted: #b7cbc0;
  --sage: #a9c4a6;
  --mint: #d6e5c4;
  --mint-soft: #e3ecd8;
  --ochre: #b5833f;
  --caution-bg: #f4ebdb;
  --line: #d9ddd2;
  --line-strong: #b8c3b6;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Text", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --display: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", "Cascadia Code", Consolas, "Liberation Mono", Menlo, "PingFang SC", "Microsoft YaHei", monospace;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: 76px;
  --radius-s: 4px;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(16, 38, 45, .04), 0 18px 40px -24px rgba(16, 38, 45, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
h1 { font-size: clamp(42px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.038em; margin-bottom: 28px; }
h2 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -.032em; margin-bottom: 0; }
h3 { font-size: 24px; line-height: 1.25; letter-spacing: -.018em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
svg { flex: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }
.dark-band :focus-visible, .site-footer :focus-visible, .boundary-note :focus-visible { outline-color: var(--mint); }
::selection { background: var(--mint); color: var(--ink); }

/* 双语切换：保持与 app.js 的约定 */
html:not([lang=zh]) .copy-zh, html[lang=zh] .copy-en { display: none !important; }

.shell { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: 16px; top: -200px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: var(--radius-s); }
.skip-link:focus { top: 12px; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.025em; color: var(--green); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-family: var(--mono); font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.tiny-line { flex: none; width: 28px; height: 1px; background: currentColor; }
.intro { font-size: 17px; line-height: 1.7; color: var(--muted); max-width: 36em; margin: 20px 0 0; }
.item-number { font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: var(--green); }
.list-title { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- 按钮与链接 ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 14px 24px; border: 1px solid transparent; border-radius: var(--radius-s); font-size: 15.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.button .arrow { font-size: 1.1em; line-height: 1; transition: transform .25s var(--ease); }
.button:hover .arrow { transform: translateX(3px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--green); }
.button-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.button-ghost:hover { border-color: var(--ink); background: var(--surface); }
.button-small { min-height: 42px; padding: 9px 16px; gap: 10px; font-size: 14px; }

.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px; border-bottom: 1px solid var(--line-strong); font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s, border-color .2s; }
.text-link .arrow { transition: transform .25s var(--ease); }
.text-link:hover { color: var(--green); border-color: var(--green); }
.text-link:hover .arrow { transform: translateX(3px); }
.text-link-light { color: var(--on-dark); border-color: rgba(214, 229, 196, .4); }
.text-link-light:hover { color: var(--mint); border-color: var(--mint); }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(244, 241, 234, .88); border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s, box-shadow .25s; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px); }
}
.site-header.is-scrolled, .site-header.menu-open { border-bottom-color: var(--line); background: rgba(244, 241, 234, .96); }
.header-inner { position: relative; display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); max-width: calc(var(--max) + var(--gutter) * 2); min-height: var(--header-h); margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 21px; letter-spacing: .08em; line-height: 1; }
.brand-word small { display: block; margin-top: 6px; font-size: 8.5px; font-weight: 500; letter-spacing: .34em; color: var(--muted); }
.brand-mark { display: flex; align-items: flex-end; gap: 4px; width: 26px; height: 28px; }
.brand-mark i { width: 6px; height: 28px; background: var(--ink); transform: skewY(-26deg); }
.brand-mark i:nth-child(2) { height: 21px; background: var(--green); }
.brand-mark i:nth-child(3) { height: 14px; background: var(--green); opacity: .7; }

.primary-nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 36px); margin-left: auto; }
.primary-nav a { position: relative; padding: 8px 0; font-size: 15px; line-height: 1.4; color: var(--ink-soft); transition: color .2s; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after, .primary-nav a[aria-current=page]::after { transform: scaleX(1); }
.primary-nav a[aria-current=page] { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line-strong); border-radius: 6px; background: rgba(251, 250, 246, .7); }
.language-switch button { min-height: 44px; min-width: 44px; padding: 7px 11px; border: 0; border-radius: var(--radius-s); background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.language-switch button:hover { color: var(--ink); }
.language-switch button[aria-pressed=true] { background: var(--ink); color: var(--paper); }

.menu-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: transparent; color: var(--ink); cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; position: relative; width: 18px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), background-color .2s; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-toggle[aria-expanded=true] .menu-lines { background: transparent; }
.menu-toggle[aria-expanded=true] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded=true] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 首屏 ---------- */
.hero { padding: clamp(40px, 6vw, 88px) 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-description { max-width: 33em; margin-bottom: 36px; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.7; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0 0; font-size: 14px; color: var(--muted); }
.hero-note::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--green); }

.hero-art { position: relative; padding: 22px 24px 20px; border-radius: var(--radius); background: var(--forest); color: var(--on-dark-muted); box-shadow: var(--shadow); overflow: hidden; }
.hero-art::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(214, 229, 196, .12); border-radius: inherit; pointer-events: none; }
.art-header, .art-footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; font-family: var(--mono); font-size: 11px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; }
.art-header { color: var(--mint); }
.art-caption { max-width: 15em; text-align: right; text-transform: none; letter-spacing: .02em; color: #9fb6aa; }
.diagram { display: block; width: 100%; height: auto; margin: 6px 0 4px; }
.diagram text { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }

.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero-facts > div { padding: 22px 24px 24px 0; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-facts dt { margin-bottom: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.hero-facts dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- 通用区块 ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.section-heading > .eyebrow { padding-top: .9em; }

/* 服务卡片 */
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.service-card { position: relative; display: flex; flex-direction: column; padding: clamp(28px, 3.2vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: border-color .25s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.service-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card:has(.text-link:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
.service-card .text-link:focus-visible { outline: none; }
.service-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: clamp(28px, 3.6vw, 48px); }
.service-glyph { width: 44px; height: 44px; color: var(--green); }
.service-label { display: block; margin-bottom: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.service-card h3 { margin-bottom: 16px; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -.025em; }
.service-card p { max-width: 30em; margin-bottom: 32px; font-size: 16.5px; color: var(--muted); }
.service-card .text-link { align-self: flex-start; margin-top: auto; }
.service-card .text-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card:hover .text-link { color: var(--green); border-color: var(--green); }
.service-card:hover .text-link .arrow { transform: translateX(3px); }

/* 深色合作流程区 */
.dark-band { background: var(--forest); color: var(--on-dark); }
.dark-band .eyebrow, .dark-band .serif { color: var(--mint); }
.steps { --steps-gap: clamp(24px, 3vw, 48px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--steps-gap); margin: 0; padding: 0; list-style: none; }
.steps li { position: relative; padding-top: 68px; }
.steps li::before { content: ""; position: absolute; top: 20px; left: 54px; right: calc(var(--steps-gap) * -1 + 12px); height: 1px; background: var(--forest-line); }
.steps li:last-child::before { display: none; }
.steps .step-number { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(214, 229, 196, .45); border-radius: 50%; font-family: var(--mono); font-size: 12px; color: var(--mint); }
.steps h3 { margin-bottom: 12px; font-size: clamp(21px, 1.8vw, 25px); }
.steps p { max-width: 28em; margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--on-dark-muted); }

.agreement-strip { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(16px, 4vw, 64px); align-items: start; margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--forest-line); }
.agreement-label { margin: 8px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.agreement-items { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.agreement-items li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(214, 229, 196, .28); border-radius: var(--radius-s); font-size: 14.5px; line-height: 1.4; color: var(--on-dark); }
.agreement-items li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }

/* 关于 */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); }
.about-seal { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 168px; height: 208px; margin-top: 48px; border: 1px solid var(--line-strong); background: linear-gradient(135deg, transparent calc(50% - .5px), var(--line) 50%, transparent calc(50% + .5px)); }
.about-seal::after { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.seal-letter { font-family: var(--serif); font-size: 96px; font-style: italic; line-height: 1; color: var(--green); }
.about-seal small { padding: 3px 8px; background: var(--paper); font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--muted); }
.about-lead { margin: 28px 0 18px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; letter-spacing: -.01em; color: var(--ink); }
.about-body { max-width: 40em; font-size: 16.5px; color: var(--muted); }
.facts { margin: 36px 0 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; padding: 16px 24px; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { padding-top: 3px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 15.5px; overflow-wrap: anywhere; }
.facts a { border-bottom: 1px solid var(--line-strong); transition: color .2s, border-color .2s; }
.facts a:hover { color: var(--green); border-color: var(--green); }

/* ---------- 询价 CTA ---------- */
.cta-band { padding: 0 0 clamp(72px, 9vw, 120px); }
.page-services .cta-band { padding-top: 0; }
.cta-card { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); padding: clamp(32px, 5.5vw, 80px); border-radius: var(--radius); background: var(--mint-soft); overflow: hidden; isolation: isolate; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(47, 107, 91, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 107, 91, .09) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 85%); mask-image: linear-gradient(100deg, transparent 35%, #000 85%); }
.cta-card h2 { font-size: clamp(40px, 4.6vw, 66px); line-height: 1.04; }
.cta-lead { max-width: 26em; margin: 24px 0 0; font-size: 17px; color: #3f5a52; }
.cta-action { align-self: end; }
.cta-label { margin: 0 0 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.email-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1.5px solid var(--ink); font-size: clamp(22px, 2.4vw, 32px); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; transition: color .2s, border-color .2s; }
.email-link .arrow { flex: none; font-size: .9em; transition: transform .25s var(--ease); }
.email-link:hover { color: var(--green); border-color: var(--green); }
.email-link:hover .arrow { transform: translate(3px, -3px); }
.cta-template { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.cta-template li { padding: 5px 12px; border: 1px solid rgba(16, 38, 45, .16); border-radius: var(--radius-s); background: rgba(251, 250, 246, .65); font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.small-note { max-width: 30em; margin: 18px 0 0; font-size: 13.5px; line-height: 1.7; color: #3f5a52; }

/* ---------- 页脚 ---------- */
.site-footer { padding: clamp(56px, 7vw, 88px) 0 28px; background: var(--ink); color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; padding-bottom: clamp(40px, 5vw, 64px); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; letter-spacing: .08em; line-height: 1; }
.footer-brand small { margin-left: 4px; font-size: 10px; font-weight: 500; letter-spacing: .24em; color: var(--on-dark-muted); }
.site-footer .brand-mark i { background: var(--on-dark); }
.site-footer .brand-mark i:nth-child(n+2) { background: var(--sage); }
.footer-intro { max-width: 26em; margin: 20px 0; font-size: 15px; line-height: 1.7; color: var(--on-dark-muted); }
.footer-email { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid rgba(214, 229, 196, .35); font-size: 17px; transition: color .2s, border-color .2s; }
.footer-email:hover { color: var(--mint); border-color: var(--mint); }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; justify-self: end; width: min(100%, 420px); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-heading { margin: 0 0 4px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.footer-col a { font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-top: 24px; border-top: 1px solid rgba(214, 229, 196, .16); font-size: 13px; color: var(--on-dark-muted); }
.footer-bottom p { margin: 0; }
.footer-meta { margin-left: auto !important; }
.back-top { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); transition: color .2s; }
.back-top:hover { color: var(--mint); }
.no-js-note { margin: 0; padding: 15px 20px; background: var(--ink); text-align: center; font-size: 13px; color: var(--on-dark-muted); }

/* ---------- 内页首屏 ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; z-index: -1; width: min(46vw, 640px); background-image: linear-gradient(rgba(47, 107, 91, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 107, 91, .08) 1px, transparent 1px); background-size: 40px 40px; background-position: right top; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 { max-width: 14em; margin-bottom: 24px; font-size: clamp(40px, 5.2vw, 74px); line-height: 1.04; }
.page-hero-policy h1 { max-width: 18em; }
.page-hero .intro { margin: 0; font-size: clamp(17px, 1.35vw, 19px); }
.page-index { display: flex; flex-direction: column; border-top: 1px solid var(--ink); background: rgba(244, 241, 234, .75); }
.page-index-title { margin: 14px 0 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.page-index a { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.45; color: var(--ink-soft); transition: color .2s, padding .25s var(--ease); }
.page-index a:hover { color: var(--green); padding-left: 4px; }
.index-num { flex: none; min-width: 22px; padding-top: 2px; font-family: var(--mono); font-size: 12px; color: var(--green); }
.policy-date { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; color: var(--muted); }
.policy-date::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.page-body { padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }

/* ---------- 服务页 ---------- */
.service-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); margin-bottom: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.service-detail-head { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.service-detail-head .item-number { display: inline-block; margin-bottom: 20px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); }
.service-detail h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.14; }
.service-detail-head .intro { margin-top: 18px; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); font-style: italic; color: var(--green); }
.check-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 18px 0 18px 40px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 22px; height: 22px; border-radius: 50%; background: var(--mint-soft); }
.check-list li::after { content: ""; position: absolute; left: 8px; top: 26px; width: 6px; height: 10px; border: solid var(--green); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.output-note { margin-top: 32px; padding: 24px 28px; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: var(--radius-s); background: var(--surface); }
.output-note h3 { margin-bottom: 8px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.output-note p { margin: 0; font-size: 16px; color: var(--muted); }

.boundary-note { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); padding: clamp(32px, 5vw, 72px); border-radius: var(--radius); background: var(--forest); color: var(--on-dark); }
.boundary-note .eyebrow, .boundary-note .list-title { color: var(--mint); }
.boundary-note h2 { margin-bottom: 20px; font-size: clamp(28px, 3vw, 42px); line-height: 1.14; }
.boundary-copy p:not(.eyebrow) { margin: 0; font-size: 16.5px; line-height: 1.75; color: var(--on-dark-muted); }
.check-list-dark { border-color: var(--forest-line); }
.check-list-dark li { padding: 13px 0 13px 36px; border-color: var(--forest-line); font-size: 16px; color: var(--on-dark); }
.check-list-dark li::before { top: 15px; width: 20px; height: 20px; background: rgba(214, 229, 196, .14); }
.check-list-dark li::after { left: 7px; top: 19px; width: 6px; height: 9px; border-color: var(--mint); }
.boundary-list .text-link { margin-top: 24px; }

/* ---------- 联系页 ---------- */
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-main h2 { margin-bottom: 24px; font-size: clamp(26px, 2.6vw, 34px); }
.contact-main p { font-size: 16.5px; color: var(--muted); }
.numbered-list { margin: 0 0 32px; padding: 0; list-style: none; counter-reset: item; border-top: 1px solid var(--line); }
.numbered-list li { position: relative; padding: 18px 0 18px 52px; border-bottom: 1px solid var(--line); counter-increment: item; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.numbered-list li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--mono); font-size: 12.5px; color: var(--green); }
.caution-note { margin-bottom: 24px; padding: 20px 24px; border-left: 3px solid var(--ochre); border-radius: var(--radius-s); background: var(--caution-bg); }
.contact-main .caution-note p { margin: 0; color: var(--ink-soft); }
.next-steps { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line); }
.mini-steps { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.mini-steps li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; }
.mini-steps li:not(:last-child)::before { content: ""; position: absolute; left: 20px; top: 48px; bottom: -24px; width: 1px; background: var(--line-strong); }
.mini-steps .step-number { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); font-family: var(--mono); font-size: 12px; color: var(--green); }
.mini-steps h3 { margin: 7px 0 6px; font-size: 20px; }
.contact-main .mini-steps p { margin: 0; font-size: 15.5px; }
.contact-panel { position: sticky; top: calc(var(--header-h) + 32px); padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius); background: var(--mint-soft); }
.contact-panel .email-link { margin-bottom: 20px; font-size: clamp(22px, 2.2vw, 28px); }
.contact-panel p:not(.eyebrow) { font-size: 15px; line-height: 1.7; color: #3f5a52; }
.panel-meta { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(16, 38, 45, .14); }
.contact-panel .panel-meta p { margin-bottom: 10px; font-size: 14px; }
.contact-panel .panel-meta p:last-child { margin-bottom: 0; }

/* ---------- 政策页 ---------- */
.policy-layout { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 88px); }
.policy-aside { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 36px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-left: 16px; margin-left: -16px; }
.policy-aside .eyebrow { margin-bottom: 12px; }
.policy-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; border-top: 1px solid var(--line); }
.policy-toc li { counter-increment: toc; }
.policy-toc a { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 6px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--muted); transition: color .2s; }
.policy-toc a::before { content: counter(toc, decimal-leading-zero); padding-top: .15em; font-family: var(--mono); font-size: 11.5px; color: var(--green); }
.policy-toc a::after { content: ""; position: absolute; left: -16px; top: 12px; bottom: 12px; width: 2px; background: var(--green); transform: scaleY(0); transition: transform .25s var(--ease); }
.policy-toc a:hover, .policy-toc a.is-active { color: var(--ink); }
.policy-toc a.is-active::after { transform: scaleY(1); }
.policy-nav { display: flex; flex-direction: column; }
.policy-nav a { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); transition: color .2s; }
.policy-nav .eyebrow + a { border-top: 1px solid var(--line); }
.policy-nav a:hover { color: var(--ink); }
.policy-nav a[aria-current=page] { color: var(--green); font-weight: 600; }
.policy-copy { max-width: 720px; }
.policy-copy section { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--line); }
.policy-copy section:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.policy-copy h2 { margin-bottom: 14px; font-size: clamp(22px, 2vw, 26px); line-height: 1.3; letter-spacing: -.015em; }
.policy-copy p, .policy-copy li { font-size: 17px; line-height: 1.78; color: var(--ink-soft); }
.policy-copy p { margin-bottom: 16px; }
.policy-copy p:last-child { margin-bottom: 0; }
.policy-copy a { border-bottom: 1px solid var(--line-strong); color: var(--ink); overflow-wrap: anywhere; transition: color .2s, border-color .2s; }
.policy-copy a:hover { color: var(--green); border-color: var(--green); }
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding: 24px 28px; border: 1px solid var(--line); border-left: 3px solid var(--green); border-radius: var(--radius-s); background: var(--surface); }
.callout p { margin: 0 !important; font-size: 16px !important; }
.callout a { font-size: 17px; font-weight: 500; }

/* ---------- 中文排版微调 ---------- */
html[lang=zh] body { line-height: 1.8; }
html[lang=zh] h1 { line-height: 1.18; letter-spacing: -.01em; }
html[lang=zh] h2 { line-height: 1.32; letter-spacing: 0; }
html[lang=zh] h3 { letter-spacing: 0; }
html[lang=zh] .serif, html[lang=zh] .service-detail-head .intro { font-family: var(--sans); font-style: normal; letter-spacing: 0; }
html[lang=zh] .eyebrow, html[lang=zh] .service-label, html[lang=zh] .hero-facts dt, html[lang=zh] .facts dt, html[lang=zh] .footer-heading, html[lang=zh] .list-title, html[lang=zh] .agreement-label, html[lang=zh] .cta-label, html[lang=zh] .page-index-title, html[lang=zh] .art-header, html[lang=zh] .art-footer { letter-spacing: .06em; }
html[lang=zh] .hero h1 { font-size: clamp(40px, 4.9vw, 70px); }
html[lang=zh] .page-hero h1 { font-size: clamp(36px, 4.4vw, 62px); }
html[lang=zh] .cta-card h2 { font-size: clamp(36px, 4vw, 58px); line-height: 1.2; }
html[lang=zh] .check-list li, html[lang=zh] .numbered-list li, html[lang=zh] .policy-copy p { line-height: 1.85; }

/* ---------- 动效（仅在用户未要求减少动态时启用） ---------- */
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.22); opacity: .35; } }
@media (prefers-reduced-motion: no-preference) {
  .draw { stroke-dasharray: 1; animation: draw 1.2s cubic-bezier(.65, 0, .35, 1) .35s both; }
  .draw-2 { animation-duration: .9s; animation-delay: 1.3s; }
  .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3.2s ease-in-out 2.2s 3; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hero-grid { gap: 48px; }
  .policy-layout { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .header-actions { margin-left: auto; }
  .js .menu-toggle { display: inline-flex; }
  .js .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 4px var(--gutter) 20px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 24px 40px -28px rgba(16, 38, 45, .35); }
  .js .primary-nav.is-open { display: flex; }
  .js .primary-nav a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 19px; }
  .js .primary-nav a:last-child { border-bottom: 0; }
  .js .primary-nav a::after { display: none; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  html:not(.js) .primary-nav { order: 3; flex-basis: 100%; margin-left: 0; gap: 20px; overflow-x: auto; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 640px; }
  .section-heading, .agreement-strip, .about-grid, .page-hero-grid, .service-detail, .boundary-note, .contact-page-grid { grid-template-columns: minmax(0, 1fr); }
  .section-heading > .eyebrow { padding-top: 0; margin-bottom: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps li { padding: 4px 0 0 64px; }
  .steps li::before { top: 52px; left: 20px; right: auto; bottom: -26px; width: 1px; height: auto; }
  .steps p { max-width: 36em; }
  .about-seal { display: none; }
  .about-side .eyebrow { margin-bottom: 0; }
  .cta-card { grid-template-columns: minmax(0, 1fr); }
  .cta-card::before { -webkit-mask-image: linear-gradient(180deg, transparent 40%, #000); mask-image: linear-gradient(180deg, transparent 40%, #000); }
  .footer-top { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-self: start; }
  .page-index { max-width: 560px; }
  .service-detail-head, .contact-panel { position: static; }
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .policy-aside { position: static; max-height: none; overflow: visible; margin-left: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); gap: 24px; }
  .policy-toc a::after { display: none; }
  .policy-nav { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .policy-nav .eyebrow { flex-basis: 100%; margin-bottom: 4px; }
  .policy-nav a, .policy-nav .eyebrow + a { padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--paper); font-size: 14px; }
  .policy-nav a[aria-current=page] { border-color: var(--green); }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 16px; }
  .header-cta { display: none; }
  .brand { font-size: 19px; gap: 10px; }
  .brand-mark { transform: scale(.88); transform-origin: left center; }
  .hero { padding-top: 32px; }
  h1 { font-size: clamp(38px, 11vw, 52px); letter-spacing: -.035em; }
  html[lang=zh] .hero h1 { font-size: clamp(34px, 9.6vw, 46px); }
  .page-hero h1 { font-size: clamp(34px, 9.6vw, 46px); }
  html[lang=zh] .page-hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  h2 { font-size: clamp(28px, 8vw, 36px); }
  .hero-description { margin-bottom: 28px; }
  .hero-actions .button { flex: 1 1 auto; }
  .hero-art { padding: 16px 16px 14px; }
  .art-header, .art-footer { font-size: 10px; }
  .art-footer { flex-direction: column; align-items: flex-start; gap: 4px; }
  .art-caption { text-align: left; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); margin-top: 40px; }
  .hero-facts > div, .hero-facts > div + div { padding: 16px 0; border-left: 0; }
  .hero-facts > div + div { border-top: 1px solid var(--line); }
  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card-top { margin-bottom: 28px; }
  .facts > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 18px; }
  .cta-card { padding: 32px 22px; }
  .cta-card h2 { font-size: clamp(34px, 10vw, 44px); }
  html[lang=zh] .cta-card h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .email-link { font-size: clamp(20px, 6.2vw, 24px); }
  .check-list li, .numbered-list li { font-size: 16px; }
  .policy-copy p { font-size: 16px; }
  .output-note, .callout { padding: 20px; }
  .boundary-note { padding: 32px 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-meta { margin-left: 0 !important; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .header-actions { gap: 8px; }
  .language-switch button { padding: 7px 8px; font-size: 12.5px; }
  .menu-toggle { width: 44px; height: 44px; }
  .brand { font-size: 18px; }
  .footer-links { gap: 20px; }
}

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

@media print {
  .site-header, .skip-link, .cta-band, .policy-aside, .hero-art, .menu-toggle { display: none !important; }
  body, .site-footer, .dark-band, .boundary-note { background: #fff !important; color: #000 !important; }
  .policy-layout { display: block; }
}
