/* 海纳天承清关站 · 照拼图站（aiduotek.com）的苹果风：apple.com 首页式全宽面板 + 系统设置式内页
   颜色 / 圆角 / 按钮尺寸照 04_SOP/苹果范的软件UI/05 v2.2；和拼图站一样只做浅色（黑面板是版式，不是深色模式） */
:root {
  --c-bg: #ffffff; --c-bg-2: #f5f5f7; --c-surface: #ffffff; --c-fill: rgba(0,0,0,.035); --c-fill-2: rgba(0,0,0,.055);
  --c-ink: #1d1d1f; --c-ink-2: #6e6e73; --c-ink-3: #8e8e93;
  --c-line: #e5e5ea; --c-line-2: #d2d2d7;
  --c-accent: #007aff; --c-accent-hover: #0066d6; --c-accent-soft: #e8f2ff;
  --c-green: #34c759; --c-red-ink: #d70015;
  --r-m: 10px; --r-l: 14px; --r-xl: 18px; --r-2xl: 28px;
  --sh-card: 0 1px 0 rgba(0,0,0,.03), 0 4px 20px rgba(0,0,0,.07), 0 0 0 .5px rgba(0,0,0,.05);
  --sh-pop: 0 12px 40px rgba(0,0,0,.16), 0 0 0 .5px rgba(0,0,0,.08);
  --ring: 0 0 0 3px rgba(0,122,255,.45);
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.23,1,.32,1); --dur-fast: 140ms;
  --nav-h: 48px; --gutter: 22px; --max: 1120px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: 400 17px/1.47 var(--font-ui); letter-spacing: -.012em; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: 48px; } h2 { font-size: 32px; } h3 { font-size: 19px; letter-spacing: -.012em; line-height: 1.25; }
p { margin: 0; }
.muted { color: var(--c-ink-2); font-size: 14px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
:focus { outline: none; } :focus-visible { box-shadow: var(--ring); border-radius: 6px; }

/* 按钮：32px 胶囊；大按钮 44px；按下 .97 / 120ms */
.btn { -webkit-appearance: none; appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 20px; border: 0; border-radius: 18px; background: var(--c-accent); color: #fff; font: 500 15px/1 var(--font-ui); letter-spacing: -.01em; cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform 120ms var(--ease-out), background var(--dur-fast), color var(--dur-fast); }
.btn:hover { background: var(--c-accent-hover); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { box-shadow: var(--ring); border-radius: 18px; }
.btn.outline, .btn.secondary { background: transparent; color: var(--c-accent); box-shadow: inset 0 0 0 1px var(--c-accent); }
.btn.outline:hover, .btn.secondary:hover { background: var(--c-accent); color: #fff; }
.btn.lg { height: 44px; padding: 0 26px; border-radius: 22px; font-size: 17px; }
.btn[disabled] { background: rgba(118,118,128,.16); color: var(--c-ink-3); box-shadow: none; cursor: default; transform: none; }
.btn.busy { background: rgba(0,122,255,.12); color: var(--c-accent); pointer-events: none; }
.btn.danger { background: rgba(255,59,48,.12); color: var(--c-red-ink); }
.link-arrow { font-size: 17px; white-space: nowrap; display: inline-flex; align-items: center; min-height: 36px; }
.link-arrow::after { content: " ›"; }

/* 导航：白色磨砂 48px（apple.com globalnav） */
.top { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255,255,255,.72); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 .5px 0 rgba(0,0,0,.08); }
.top .wrap { height: 100%; display: flex; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--c-ink); font-weight: 600; font-size: 16px; letter-spacing: .01em; white-space: nowrap; min-height: 32px; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 22px; height: 22px; border-radius: 6px; background: var(--c-ink); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.brand .sub { color: var(--c-ink-2); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 18px; margin-right: auto; }
.nav a { display: inline-flex; align-items: center; height: 32px; padding: 0 11px; border-radius: 16px; color: var(--c-ink); font-size: 13px; opacity: .82; }
.nav a:hover { background: var(--c-fill); text-decoration: none; opacity: 1; }
.nav a[aria-current=page] { opacity: 1; font-weight: 600; }
.lang { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 14px; font-size: 12px; color: var(--c-ink); box-shadow: inset 0 0 0 .5px var(--c-line-2); white-space: nowrap; }
.lang:hover { background: var(--c-fill); text-decoration: none; }
.menu-btn { display: none; width: 36px; height: 36px; border: 0; border-radius: 18px; background: none; color: var(--c-ink); font-size: 17px; cursor: pointer; }
@media (max-width: 940px) {
  .brand .sub { display: none; }
  .nav { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); padding: 8px var(--gutter) 18px; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .nav.open { display: flex; }
  .nav a { height: 46px; font-size: 17px; font-weight: 600; opacity: 1; border-radius: 10px; }
  .lang { margin-left: auto; }
  .menu-btn { display: grid; place-items: center; }
}

/* 首页：apple.com 式全宽面板，浅灰和黑交替，面板之间 12px 白缝 */
.units { display: grid; gap: 12px; padding: 12px 0; background: #fff; }
.unit { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 600px; padding: 64px var(--gutter) 0; overflow: hidden; }
.unit.light { background: var(--c-bg-2); color: var(--c-ink); }
.unit.dark { background: #000; color: #f5f5f7; }
.unit .eyebrow { font-size: 17px; font-weight: 600; color: var(--c-ink-2); margin-bottom: 6px; }
.unit.dark .eyebrow { color: #86868b; }
.unit h1, .unit h2 { font-size: 56px; letter-spacing: -.028em; line-height: 1.08; max-width: 15em; }
.unit.hero { min-height: 0; padding-top: 52px; }
.unit.hero h1 { font-size: 64px; }
.unit.hero .stage { padding-top: 36px; }
.unit .sub { font-size: 24px; margin-top: 12px; letter-spacing: -.015em; max-width: 30em; line-height: 1.35; text-wrap: balance; }
.unit.dark .sub { color: rgba(245,245,247,.86); }
.unit .cta { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.unit .note { margin-top: 14px; font-size: 14px; color: var(--c-ink-2); }
.unit.dark .note { color: rgba(245,245,247,.6); }
.unit.dark .btn.outline { color: #2997ff; box-shadow: inset 0 0 0 1px #2997ff; }
.unit.dark .btn.outline:hover { background: #2997ff; color: #000; }
.unit.dark a:not(.btn) { color: #2997ff; }
.unit .stage { margin-top: auto; padding: 44px 0 56px; width: min(760px, 100%); }
.unit.fit { min-height: 0; padding-bottom: 64px; }
.unit.fit .fineprint { margin-bottom: 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.unit.half { min-height: 520px; padding-top: 56px; }
.unit.half h2 { font-size: 40px; }
.unit.half .sub { font-size: 19px; }

/* 首页「进度」示意：iOS 通知卡叠在一起（纯 HTML，不是图片） */
.notes { display: grid; gap: 10px; text-align: left; max-width: 460px; margin: 0 auto; }
.notes .n { display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.08), 0 0 0 .5px rgba(0,0,0,.05); }
.notes .ic { width: 36px; height: 36px; border-radius: 9px; flex: none; display: grid; place-items: center; color: #fff; font-size: 16px; font-weight: 700; }
.notes .ic.b { background: var(--c-accent); } .notes .ic.g { background: var(--c-green); } .notes .ic.k { background: var(--c-ink); }
.notes b { display: block; font-size: 15px; letter-spacing: -.01em; }
.notes span { display: block; font-size: 13px; color: var(--c-ink-2); margin-top: 1px; }
.notes .t { margin-left: auto; align-self: flex-start; font-size: 12px; color: var(--c-ink-3); white-space: nowrap; }
.notes .n:nth-child(2) { transform: scale(.98); } .notes .n:nth-child(3) { transform: scale(.96); }

/* 大数字（黑面板） */
.bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: min(900px, 100%); margin: 48px auto 0; }
.bignums b { display: block; font-size: 56px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.bignums span { display: block; margin-top: 10px; font-size: 15px; color: var(--c-ink-2); }
.unit.dark .bignums span { color: #86868b; }
.unit .fineprint { margin: 28px 0 56px; font-size: 12px; color: #86868b; }

/* 「核价报告」示意卡（白卡片、系统设置式列表） */
.sheet { background: #fff; color: var(--c-ink); border-radius: var(--r-xl); box-shadow: 0 30px 60px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.06); text-align: left; overflow: hidden; }
.sheet .hd { padding: 16px 20px 12px; display: flex; justify-content: space-between; align-items: baseline; border-bottom: .5px solid var(--c-line); }
.sheet .hd b { font-size: 15px; } .sheet .hd span { font-size: 12px; color: var(--c-ink-3); }
.sheet .ok { margin: 14px 20px 6px; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: #1a7f37; background: rgba(52,199,89,.14); border-radius: 12px; padding: 4px 10px; }
.sheet .rw { display: flex; justify-content: space-between; gap: 16px; padding: 11px 20px; font-size: 14px; }
.sheet .rw + .rw { border-top: .5px solid var(--c-line); }
.sheet .rw span { color: var(--c-ink-2); }
.sheet .rw em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }

/* 内页：apple.com 支持页式大标题 + 系统设置式分组 */
.page { padding: 64px 0 88px; }
.page-head { text-align: center; padding: 72px var(--gutter) 40px; }
.page-head h1 { font-size: 56px; letter-spacing: -.028em; }
.page-head .lead { font-size: 21px; color: var(--c-ink-2); max-width: 36em; margin: 14px auto 0; line-height: 1.4; }
.page-head .cta { display: flex; gap: 14px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.narrow { max-width: 820px; margin: 0 auto; }
.lead { font-size: 21px; color: var(--c-ink-2); margin: 0 0 24px; max-width: 36em; line-height: 1.4; }
.page h2 { font-size: 32px; margin: 56px 0 18px; letter-spacing: -.022em; }
.page h1 + .lead { margin-top: 12px; }
.page > .wrap > h1:first-child { font-size: 48px; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 24px; }

.card { background: var(--c-bg-2); border-radius: var(--r-xl); padding: 26px; color: var(--c-ink); }
a.card:hover { text-decoration: none; background: #ececf0; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--c-ink-2); font-size: 15px; }
.grid { display: grid; gap: 14px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.step .n { width: 28px; height: 28px; border-radius: 14px; background: var(--c-ink); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 14px; margin-bottom: 16px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stats .card { padding: 22px; }
.stats b { display: block; font-size: 30px; font-weight: 600; letter-spacing: -.025em; }
.stats span { font-size: 13px; color: var(--c-ink-2); }

.group { background: var(--c-bg-2); border-radius: var(--r-l); overflow: hidden; }
.row { display: flex; gap: 16px; align-items: flex-start; padding: 14px 18px; min-height: 48px; font-size: 15px; }
.row + .row { border-top: .5px solid var(--c-line-2); margin-left: 18px; padding-left: 0; }
.row .k { flex: 0 0 210px; font-weight: 600; }
.row .v { flex: 1; color: var(--c-ink-2); }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-l); }
table.price { width: 100%; border-collapse: collapse; background: var(--c-bg-2); font-size: 15px; }
table.price th, table.price td { padding: 16px 18px; text-align: left; border-bottom: .5px solid var(--c-line-2); }
table.price thead th { font-size: 13px; font-weight: 600; color: var(--c-ink-2); }
table.price tr:last-child td { border-bottom: 0; }
table.price td.num { font-weight: 600; font-size: 19px; letter-spacing: -.015em; white-space: nowrap; }

.note { background: var(--c-accent-soft); border-radius: var(--r-m); padding: 14px 18px; font-size: 15px; margin: 24px 0; }
.note.warn { background: rgba(255,59,48,.08); }
ul.clean { padding-left: 20px; margin: 12px 0; }
ul.clean li { margin: 6px 0; }

details.faq { border-bottom: .5px solid var(--c-line-2); }
details.faq summary { cursor: pointer; padding: 22px 32px 22px 0; font-size: 19px; font-weight: 600; list-style: none; position: relative; letter-spacing: -.012em; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--c-ink-2); transition: transform .2s var(--ease-out); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq div { padding: 0 0 22px; color: var(--c-ink-2); }

/* 表单：系统设置式分组 */
form.submit .group { margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; padding: 14px 18px; }
.field + .field { border-top: .5px solid var(--c-line-2); }
.field label { font-weight: 600; font-size: 14px; }
.field small { color: var(--c-ink-2); font-size: 12px; }
input[type=text], input[type=email], input[type=tel], select, textarea { font: 16px var(--font-ui); color: var(--c-ink); background: #fff; border: .5px solid var(--c-line-2); border-radius: 10px; padding: 0 12px; min-height: 40px; width: 100%; }
textarea { padding: 10px 12px; min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: var(--ring); }
input[type=file] { font-size: 14px; }
.seg { display: inline-flex; background: rgba(118,118,128,.12); border-radius: 9px; padding: 2px; gap: 2px; align-self: flex-start; }
.seg label { min-height: 30px; padding: 0 16px; display: flex; align-items: center; border-radius: 7px; font-size: 13px; font-weight: 500; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font-weight: 600; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; padding: 14px 18px; min-height: 48px; }
.check input { accent-color: var(--c-accent); width: 18px; height: 18px; margin-top: 2px; flex: none; }

/* 页脚：apple.com 式浅灰小字 */
footer { background: var(--c-bg-2); color: var(--c-ink-2); font-size: 12px; padding: 28px 0 36px; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; padding-bottom: 20px; border-bottom: .5px solid var(--c-line-2); }
footer h5 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--c-ink); }
footer a { display: flex; align-items: center; color: var(--c-ink-2); min-height: 26px; }
footer a:hover { color: var(--c-ink); }
footer .brandline { font-size: 14px; color: var(--c-ink); font-weight: 600; margin-bottom: 6px; }
footer .legal { padding-top: 14px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr 1fr; } footer .cols > div:first-child { grid-column: 1 / -1; } }

/* 滚动淡入（减少动态时直接显示） */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 900ms cubic-bezier(.2,.6,.2,1), transform 900ms cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 140ms; }
.reveal.now { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* 苹果式对话框（代替 alert/confirm） */
dialog.ap { border: 0; border-radius: 14px; padding: 20px 20px 16px; width: min(320px, calc(100vw - 32px)); background: #fff; color: var(--c-ink); box-shadow: var(--sh-pop); text-align: center; }
dialog.ap::backdrop { background: rgba(0,0,0,.25); }
dialog.ap h3 { font-size: 15px; margin: 4px 0 6px; }
dialog.ap p { font-size: 13px; color: var(--c-ink-2); margin: 0 0 16px; white-space: pre-line; text-align: left; }
dialog.ap .acts { display: flex; gap: 8px; }
dialog.ap .acts .btn { flex: 1; border-radius: 8px; height: 32px; font-size: 13px; }
dialog[open].ap { animation: pop .16s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ⌘K */
dialog.palette { border: 0; padding: 0; border-radius: 14px; width: min(560px, calc(100vw - 32px)); margin-top: 12vh; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); box-shadow: var(--sh-pop); color: var(--c-ink); }
dialog.palette::backdrop { background: rgba(0,0,0,.12); }
dialog.palette input { border: 0; background: transparent; font-size: 18px; min-height: 52px; padding: 0 18px; border-bottom: .5px solid var(--c-line); border-radius: 0; box-shadow: none; }
dialog.palette ul { list-style: none; margin: 0; padding: 6px; max-height: 50vh; overflow: auto; }
dialog.palette li { padding: 0 12px; min-height: 36px; display: flex; align-items: center; border-radius: 8px; cursor: pointer; font-size: 14px; }
dialog.palette li.sel { background: var(--c-accent); color: #fff; }

@media (max-width: 900px) {
  .tiles, .grid.c3, .grid.c2 { grid-template-columns: 1fr; }
  .unit, .unit.half { min-height: 0; padding-top: 52px; }
  .unit h1, .unit h2 { font-size: 36px; } .unit.hero h1 { font-size: 38px; } .unit.half h2 { font-size: 32px; } .unit .eyebrow { font-size: 15px; }
  .unit .sub { font-size: 19px; }
  .bignums { grid-template-columns: 1fr; gap: 28px; } .bignums b { font-size: 48px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .page-head { padding: 52px var(--gutter) 28px; } .page-head h1, .page > .wrap > h1:first-child { font-size: 40px; }
  .page-head .lead, .lead { font-size: 18px; }
  .page h2 { font-size: 26px; margin-top: 44px; }
  .row { flex-direction: column; gap: 2px; } .row .k { flex: none; }
}
.tablewrap + .muted, .tablewrap + ul.clean { margin-top: 14px; }
.inst { text-align: left; }
.unit.dark .inst .card { background: #1d1d1f; color: #f5f5f7; }
.unit.dark .inst .card p { color: #a1a1a6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
