:root {
  --ink: #17231d;
  --ink-soft: #52635b;
  --paper: #ffffff;
  --canvas: #f2f6f3;
  --line: #dce6df;
  --green: #17624c;
  --green-deep: #123f35;
  --green-soft: #e8f3ee;
  --gold: #c6932f;
  --gold-soft: #fbf3df;
  --red: #b65340;
  --red-soft: #fbecE8;
  --shadow: 0 14px 38px rgba(19, 54, 43, .09);
  --radius: 8px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
body { margin: 0; min-height: 100%; -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; }
button, a { touch-action: manipulation; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.app-shell { min-height: 100vh; padding-bottom: env(safe-area-inset-bottom); }
.topbar { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,230,223,.9); position: sticky; top: 0; z-index: 30; backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 4px 12px rgba(18,63,53,.16); }
.brand-copy { display: grid; line-height: 1.15; min-width: 0; }
.brand-copy strong { font-size: 17px; }
.brand-copy small { margin-top: 3px; color: var(--ink-soft); font-size: 11px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.view { width: min(100%, 1180px); margin: 0 auto; min-height: calc(100vh - 68px); }
.boot-screen { min-height: 55vh; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--ink-soft); }
.boot-mark { width: 30px; height: 30px; border: 3px solid var(--line); border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast { position: fixed; left: 50%; bottom: max(84px, calc(72px + env(safe-area-inset-bottom))); transform: translate(-50%, 12px); max-width: calc(100vw - 40px); padding: 11px 16px; background: rgba(23,35,29,.94); color: #fff; border-radius: 6px; font-size: 14px; line-height: 1.45; opacity: 0; pointer-events: none; transition: .22s ease; z-index: 80; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript { margin: 80px 24px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.hero { position: relative; overflow: hidden; background: var(--green-deep); color: #fff; padding: 72px 64px 56px; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(310px,.85fr); gap: 54px; align-items: center; }
.hero:after { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: var(--gold); }
.hero-copy { position: relative; z-index: 1; max-width: 650px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #d8efe6; font-size: 13px; font-weight: 700; }
.eyebrow:before { content: ""; width: 22px; height: 2px; background: #8bc7b2; }
.hero h1 { margin: 0; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.15; font-weight: 800; letter-spacing: 0; max-width: 11em; }
.hero p { margin: 22px 0 0; max-width: 590px; color: #cfe1da; font-size: 17px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-panel { position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); padding: 24px; border-radius: var(--radius); }
.hero-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.15); }
.hero-panel-head span { color: #bcd4cb; font-size: 13px; }
.hero-panel-head strong { color: #fff; font-size: 15px; }
.plan-map { position: relative; padding: 24px 0 4px; }
.plan-line { position: absolute; left: 19px; top: 34px; bottom: 26px; width: 1px; background: rgba(255,255,255,.22); }
.plan-node { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; min-height: 52px; }
.plan-node i { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; display: grid; place-items: center; background: #1d5748; color: #d9eee6; font-size: 12px; font-style: normal; }
.plan-node strong { display: block; font-size: 14px; }
.plan-node small { display: block; margin-top: 3px; color: #aac8bd; font-size: 12px; }
.plan-node b { color: #e9c878; font-size: 12px; font-weight: 700; }

.section { padding: 54px 64px; }
.section-compact { padding-top: 34px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 24px; }
.section-kicker { color: var(--green); font-size: 13px; font-weight: 800; }
.section-title { margin: 7px 0 0; font-size: 29px; line-height: 1.3; }
.section-desc { color: var(--ink-soft); font-size: 14px; line-height: 1.8; max-width: 520px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-height: 260px; display: flex; flex-direction: column; }
.product-card.featured { border-color: var(--green); box-shadow: var(--shadow); }
.product-head { display: flex; justify-content: space-between; align-items: start; gap: 14px; }
.product-code { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--radius); background: var(--green-soft); color: var(--green); font-weight: 900; }
.product-card.featured .product-code { background: var(--green); color: #fff; }
.product-badge { padding: 5px 8px; background: var(--gold-soft); color: #8a651c; border-radius: 4px; font-size: 11px; font-weight: 800; }
.product-card h3 { margin: 22px 0 8px; font-size: 20px; line-height: 1.35; }
.product-card p { margin: 0; color: var(--ink-soft); line-height: 1.7; font-size: 14px; }
.product-price { margin-top: auto; padding-top: 24px; display: flex; align-items: end; gap: 8px; }
.product-price strong { font-size: 28px; color: var(--green-deep); }
.product-price span { color: var(--ink-soft); font-size: 12px; }
.product-fit { margin-top: 11px; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.feature-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.feature-item { background: #fff; padding: 25px 20px; }
.feature-num { color: var(--gold); font-weight: 900; font-size: 12px; }
.feature-item h3 { margin: 10px 0 7px; font-size: 16px; }
.feature-item p { margin: 0; color: var(--ink-soft); line-height: 1.65; font-size: 13px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-item { position: relative; min-height: 130px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.process-item span { color: var(--green); font-size: 12px; font-weight: 900; }
.process-item h3 { margin: 18px 0 7px; font-size: 16px; }
.process-item p { margin: 0; color: var(--ink-soft); line-height: 1.6; font-size: 13px; }
.cta-band { margin: 0 64px 64px; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px 34px; background: var(--gold-soft); border: 1px solid #ead8ae; border-radius: var(--radius); }
.cta-band h2 { margin: 0; font-size: 22px; }
.cta-band p { margin: 7px 0 0; color: #765c24; font-size: 14px; line-height: 1.6; }
.button { border: 0; min-height: 44px; padding: 0 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 700; font-size: 14px; }
.button-primary { background: var(--gold); color: #241b08; }
.button-green { background: var(--green); color: #fff; }
.button-light { background: #fff; color: var(--green-deep); }
.button-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.button-danger { background: var(--red-soft); color: var(--red); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.text-button { border: 0; padding: 6px 2px; background: transparent; color: var(--green); font-size: 13px; font-weight: 700; cursor: pointer; }

.auth-wrap { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 34px 20px 90px; }
.auth-panel { width: min(100%, 430px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; }
.auth-logo { width: 58px; height: 58px; border-radius: 50%; margin-bottom: 20px; }
.auth-panel h1 { margin: 0; font-size: 28px; }
.auth-panel > p { margin: 10px 0 24px; color: var(--ink-soft); line-height: 1.7; font-size: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: #fbfcfb; padding: 12px 13px; color: var(--ink); outline: none; transition: .18s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(23,98,76,.08); }
.field textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.field-note { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.auth-submit { width: 100%; min-height: 48px; margin-top: 4px; }
.auth-help { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 12px; line-height: 1.7; }
.form-error { margin: 0 0 14px; color: var(--red); font-size: 13px; }

.page { padding: 34px 64px 90px; }
.page-narrow { max-width: 900px; margin: 0 auto; }
.page-head { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 24px; }
.page-title { margin: 0; font-size: 30px; line-height: 1.3; }
.page-subtitle { margin: 8px 0 0; color: var(--ink-soft); line-height: 1.7; font-size: 14px; }
.service-list { display: grid; gap: 14px; }
.service-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; cursor: pointer; }
.service-row:hover { border-color: #abc8bb; }
.service-symbol { width: 80px; height: 76px; border-radius: var(--radius); background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 26px; font-weight: 900; }
.service-main h2 { margin: 0; font-size: 19px; }
.service-main p { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.service-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 10px; color: var(--ink-soft); font-size: 12px; }
.service-status { justify-self: end; text-align: right; }
.status-pill { display: inline-flex; align-items: center; min-height: 26px; padding: 0 9px; border-radius: 999px; font-size: 11px; font-weight: 800; background: var(--green-soft); color: var(--green); }
.status-pill.pending { background: var(--gold-soft); color: #80601e; }
.status-pill.danger { background: var(--red-soft); color: var(--red); }
.service-price { display: block; margin-top: 9px; color: var(--green-deep); font-size: 20px; font-weight: 800; }
.empty-state { background: #fff; border: 1px dashed #c6d5cc; border-radius: var(--radius); padding: 52px 24px; text-align: center; }
.empty-mark { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 900; }
.empty-state h2 { margin: 0; font-size: 19px; }
.empty-state p { margin: 8px auto 20px; max-width: 440px; color: var(--ink-soft); line-height: 1.7; font-size: 14px; }

.detail-hero { background: var(--green-deep); color: #fff; padding: 32px 36px; border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.detail-hero h1 { margin: 8px 0 0; font-size: 31px; line-height: 1.35; }
.detail-hero p { margin: 10px 0 0; color: #c9ddd5; line-height: 1.7; }
.detail-price { text-align: right; }
.detail-price strong { display: block; color: #f0cf80; font-size: 31px; }
.detail-price span { color: #c4d9d1; font-size: 12px; }
.detail-grid { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 18px; margin-top: 18px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel + .panel { margin-top: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.panel-head h2 { margin: 0; font-size: 18px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary-item { background: #fff; padding: 18px; }
.summary-item span { display: block; color: var(--ink-soft); font-size: 12px; }
.summary-item strong { display: block; margin-top: 7px; font-size: 21px; }
.stage-list { display: grid; gap: 10px; }
.stage-item { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.stage-item.current { border-color: #d8bb72; background: #fffdf8; }
.stage-title { display: flex; align-items: center; gap: 9px; }
.stage-title strong { font-size: 15px; }
.stage-desc { margin: 7px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.stage-amount { text-align: right; }
.stage-amount strong { display: block; font-size: 17px; }
.stage-amount span { display: block; margin-top: 7px; font-size: 11px; color: var(--ink-soft); }
.workflow { display: grid; gap: 0; }
.workflow-item { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; min-height: 66px; }
.workflow-item:before { content: ""; position: absolute; left: 18px; top: 38px; bottom: 0; width: 1px; background: var(--line); }
.workflow-item:last-child:before { display: none; }
.workflow-num { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 900; position: relative; z-index: 1; }
.workflow-item strong { display: block; padding-top: 8px; font-size: 14px; }
.workflow-item p { margin: 5px 0 18px; color: var(--ink-soft); font-size: 12px; line-height: 1.55; }
.advisor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.advisor-top { display: flex; align-items: center; gap: 13px; }
.advisor-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--green-deep); color: #fff; font-size: 16px; font-weight: 900; }
.advisor-top h3 { margin: 0; font-size: 16px; }
.advisor-top p { margin: 5px 0 0; color: var(--ink-soft); font-size: 12px; }
.advisor-meta { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.advisor-row { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-soft); font-size: 12px; }
.advisor-row strong { color: var(--ink); font-weight: 700; text-align: right; }
.advisor-card .button { width: 100%; margin-top: 18px; }
.side-card { background: var(--gold-soft); border: 1px solid #ead6a7; border-radius: var(--radius); padding: 20px; }
.side-card h3 { margin: 0; font-size: 16px; }
.side-card p { margin: 8px 0 15px; color: #745b27; font-size: 12px; line-height: 1.65; }
.side-card .button { width: 100%; }
.notice { padding: 12px 14px; border-left: 3px solid var(--gold); background: var(--gold-soft); color: #715723; font-size: 12px; line-height: 1.65; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 16px; }
.form-grid .field-full { grid-column: 1 / -1; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 8px; }
.order-list { display: grid; gap: 12px; }
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.order-top { display: flex; justify-content: space-between; gap: 15px; }
.order-top h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.order-no { margin-top: 7px; color: var(--ink-soft); font-size: 11px; word-break: break-all; }
.order-bottom { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); }
.order-bottom small { color: var(--ink-soft); }
.order-amount { font-size: 22px; font-weight: 900; }
.mine-head { display: flex; align-items: center; gap: 16px; padding: 26px; background: var(--green-deep); color: #fff; border-radius: var(--radius); }
.mine-head img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.mine-head h1 { margin: 0; font-size: 24px; }
.mine-head p { margin: 6px 0 0; color: #c6dbd3; font-size: 13px; }
.mine-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.mine-link { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 19px; text-align: left; cursor: pointer; }
.mine-link strong { display: block; font-size: 15px; }
.mine-link span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 12px; }
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255,255,255,.98); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar-inner { height: 64px; display: grid; grid-template-columns: repeat(4, 1fr); }
.tab-item { border: 0; background: transparent; color: #7a8b82; display: grid; place-items: center; align-content: center; gap: 4px; font-size: 11px; }
.tab-item b { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: #edf2ef; color: #708078; font-size: 10px; }
.tab-item.active { color: var(--green); font-weight: 800; }
.tab-item.active b { background: var(--green); color: #fff; }
.fatal { margin: 36px auto; max-width: 700px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.fatal h1 { margin: 0 0 10px; font-size: 23px; }
.fatal p { color: var(--ink-soft); line-height: 1.7; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 46px 30px 38px; }
  .hero-panel { max-width: 560px; }
  .section { padding: 40px 30px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 0; }
  .feature-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { margin: 0 30px 48px; }
  .page { padding: 28px 30px 86px; }
  .detail-grid { grid-template-columns: 1fr; }
  .side-column { order: -1; }
  .advisor-card { padding: 18px; }
}
@media (max-width: 640px) {
  .topbar { height: 60px; padding: 0 16px; }
  .brand img { width: 34px; height: 34px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 10px; }
  .top-actions .desktop-action { display: none; }
  .view { min-height: calc(100vh - 60px); }
  .hero { padding: 36px 20px 30px; gap: 30px; }
  .hero h1 { font-size: 36px; }
  .hero p { margin-top: 17px; font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-panel { padding: 18px; }
  .section { padding: 34px 20px; }
  .section-head { display: block; }
  .section-title { font-size: 24px; }
  .section-desc { margin-top: 9px; }
  .feature-grid, .process-grid { grid-template-columns: 1fr; }
  .feature-grid { background: transparent; gap: 10px; }
  .feature-item { border: 1px solid var(--line); border-radius: var(--radius); }
  .cta-band { margin: 0 20px 34px; padding: 22px; display: block; }
  .cta-band .button { width: 100%; margin-top: 18px; }
  .page { padding: 22px 16px 88px; }
  .page-head { display: block; }
  .page-title { font-size: 25px; }
  .service-row { grid-template-columns: 54px 1fr; gap: 13px; padding: 15px; }
  .service-symbol { width: 54px; height: 58px; font-size: 20px; }
  .service-status { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); text-align: left; }
  .service-status .service-price { margin-top: 0; }
  .detail-hero { padding: 24px 20px; grid-template-columns: 1fr; }
  .detail-hero h1 { font-size: 26px; }
  .detail-price { text-align: left; display: flex; align-items: end; gap: 9px; }
  .detail-price strong { font-size: 28px; }
  .summary-grid { grid-template-columns: 1fr; }
  .stage-item { grid-template-columns: 1fr; }
  .stage-amount { text-align: left; display: flex; align-items: center; gap: 10px; }
  .stage-amount span { margin-top: 0; }
  .panel { padding: 19px 16px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .field-full { grid-column: auto; }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .form-actions .button { width: 100%; }
  .mine-grid { grid-template-columns: 1fr; }
  .tabbar { display: block; }
  .toast { bottom: max(78px, calc(72px + env(safe-area-inset-bottom))); }
  .auth-wrap { padding: 22px 16px 88px; align-items: start; }
  .auth-panel { padding: 24px 20px; }
  .auth-panel h1 { font-size: 24px; }
  .order-bottom { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.stage-pay { width: 100%; margin-top: 10px; padding: 9px 12px; white-space: nowrap; }
