:root {
  --bg: #f5f3ed;
  --surface: #fafaf7;
  --surface-2: #efede6;
  --fg: #20211e;
  --muted: #74756d;
  --line: #deded5;
  --dark: #262622;
  --gold: #c39a6b;
  --claude: #c0714d;
  --claude-soft: #f4e6dc;
  --codex: #3f7a60;
  --codex-soft: #e1ece5;
  --serif: "Iowan Old Style", "Palatino Linotype", "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* 顶栏 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 22px; height: 22px; fill: var(--claude); }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: .08em; margin-left: 4px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav a { padding: 6px 0; border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.nav a:hover { color: var(--fg); border-bottom-color: var(--claude); }

/* 按钮 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 4px; border: 1px solid transparent;
  font-size: 14px; letter-spacing: .02em; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s;
}
.btn .arrow { font-size: 15px; }
.btn-dark { background: var(--dark); color: #f5f3ed; }
.btn-dark:hover { background: #000; transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 13px; }
.btn-xs { min-height: 28px; padding: 0 10px; font-size: 12px; }
.btn-link { background: none; border: 0; padding: 0 4px; }
.btn-link:hover .arrow { transform: translateX(3px); }
.btn-link .arrow { transition: transform .15s; }
.btn-outline { background: transparent; border-color: var(--line); }
.btn-outline:hover { border-color: var(--fg); }
.ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* 字体层级 */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); display: inline-block; }
.kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.display { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6.4vw, 84px); line-height: 1.14; letter-spacing: -.01em; margin-top: 26px; }
.display-sm { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.2; margin-top: 18px; }
.display-sm em { font-style: normal; color: #8d8b80; }
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4.6vw, 56px); line-height: 1.16; }
.lead { color: var(--muted); font-size: 15px; margin-top: 22px; }
.aside { color: var(--muted); font-size: 14px; text-align: right; }

/* 首屏 */
.hero { text-align: center; padding: 68px 0 28px; }
.hero-cards { position: relative; height: 340px; margin: 34px auto 8px; max-width: 760px; perspective: 1400px; }
.hero-cards .metal-card { position: absolute; left: 50%; top: 50%; width: 380px; }
.hc-back { transform: translate(-82%, -56%) rotate(-11deg); }
.hc-front { transform: translate(-22%, -40%) rotate(7deg); }
.cta-row { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-foot { display: flex; justify-content: space-between; margin-top: 48px; padding-bottom: 8px; font-size: 11px; letter-spacing: .08em; color: var(--muted); }

/* 金属卡视觉 */
.metal-card {
  position: relative; aspect-ratio: 1.6; border-radius: 22px; overflow: hidden;
  border: 1.5px solid var(--gold);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, rgba(0,0,0,.025) 1px 3px),
    linear-gradient(112deg, #bdbdb9 0%, #f1f1ee 20%, #a8a8a4 40%, #ecece9 57%, #b3b3af 76%, #dddcd8 100%);
  box-shadow: 0 30px 60px -24px rgba(40, 36, 28, .45), inset 0 1px 0 rgba(255,255,255,.7);
  color: #8a6a44;
}
.metal-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 46%, transparent 58%);
  mix-blend-mode: soft-light;
}
.mc-brand { position: absolute; left: 8%; top: 12%; font-family: var(--serif); font-size: clamp(14px, 2.2vw, 22px); letter-spacing: .32em; font-weight: 600; color: #9a7a52; text-shadow: 0 1px 0 rgba(255,255,255,.6); }
.mc-orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.mc-orbit ellipse { fill: none; stroke: var(--gold); stroke-width: 1.6; opacity: .9; }
.mc-star { fill: #e9cfa2; filter: drop-shadow(0 0 6px rgba(255, 236, 200, .9)); }
.tone-claude .mc-star { fill: #e4a684; }
.tone-codex .mc-star { fill: #9fd1b7; }
.mc-name { position: absolute; left: 8%; bottom: 12%; font-size: clamp(12px, 1.6vw, 15px); letter-spacing: .12em; text-transform: uppercase; color: #5f5a50; }
.mc-price { position: absolute; right: 8%; bottom: 12%; font-size: clamp(12px, 1.6vw, 15px); color: #5f5a50; }

/* 通用区块 */
.section { padding: 110px 0 40px; border-top: 1px solid var(--line); margin-top: 60px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }

/* 套餐 */
.tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); font-size: 15px;
  transition: background .15s, color .15s;
}
.tab-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--claude); }
.tab.tone-codex .tab-dot { background: var(--codex); }
.tab[aria-selected="true"] { background: var(--dark); color: #f5f3ed; border-color: var(--dark); }

.product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.product-visual { padding: 40px 30px; display: grid; place-items: center; background: radial-gradient(closest-side, #fbfaf6, transparent); }
.product-visual .metal-card { width: min(100%, 520px); transform: rotate(-6deg); }
.product-vendor { font-size: 13px; color: var(--muted); }
.product-title { font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.01em; margin: 8px 0 22px; }
.label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.plan-options { display: grid; gap: 10px; }
.plan-opt {
  text-align: left; display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
  padding: 14px 18px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2);
  transition: background .15s, color .15s, border-color .15s;
}
.plan-opt:hover { border-color: #b9b8ae; }
.po-top { display: flex; align-items: center; gap: 10px; }
.po-top b { font-size: 16px; }
.po-top em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--claude-soft); color: var(--claude); }
.po-desc { grid-column: 1; font-size: 13px; color: var(--muted); }
.po-price { grid-row: 1 / span 2; grid-column: 2; font-size: 20px; font-weight: 600; }
.po-price small { font-size: 12px; font-weight: 400; color: var(--muted); }
.plan-opt[aria-pressed="true"] { background: var(--dark); border-color: var(--dark); color: #f5f3ed; }
.plan-opt[aria-pressed="true"] .po-desc, .plan-opt[aria-pressed="true"] .po-price small { color: #b7b5ab; }
.tone-codex .po-top em { background: var(--codex-soft); color: var(--codex); }
.product-note { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 22px 0 24px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; }
.price { font-size: 40px; font-weight: 500; letter-spacing: -.02em; }
.price-row small { color: var(--muted); font-size: 13px; }
.ticks { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--muted); }

/* 价格优势 */
.compare { margin-top: 56px; padding: 32px; border-radius: var(--radius); border: 1px solid #ecd6c8; background: linear-gradient(160deg, #f7ebe2, #f3e5da); }
.compare.tone-codex { border-color: #cfe0d5; background: linear-gradient(160deg, #e7f0ea, #dde9e1); }
.compare-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.compare-head .kicker { color: var(--claude); margin-bottom: 12px; }
.compare.tone-codex .kicker { color: var(--codex); }
.compare h4 { font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; line-height: 1.35; }
.pct { font-family: var(--serif); font-size: clamp(72px, 10vw, 120px); line-height: .9; color: var(--claude); }
.pct span { font-size: .5em; }
.compare.tone-codex .pct { color: var(--codex); }
.bars { display: grid; gap: 12px; margin: 26px 0 20px; }
.bar-row { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 16px; font-size: 13px; }
.bar-label { color: var(--muted); }
.bar { position: relative; height: 38px; border-radius: 6px; display: flex; align-items: center; gap: 12px; }
.bar-full { background: rgba(32, 33, 30, .08); padding-left: 14px; color: var(--muted); }
.bar i { display: block; height: 100%; min-width: 28px; border-radius: 6px; background: var(--claude); }
.compare.tone-codex .bar i { background: var(--codex); }
.bar b { font-size: 20px; font-weight: 600; }
.compare-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding-top: 18px; border-top: 1px solid rgba(32, 33, 30, .1); font-size: 15px; }
.compare-foot strong { font-size: 24px; }
.compare-foot small { margin-left: auto; color: var(--muted); font-size: 12px; }

/* 每单包含 / 流程 */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { padding: 28px 24px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card-tag { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 6px; background: var(--claude-soft); color: var(--claude); font-size: 12px; font-weight: 600; margin-bottom: 26px; }
.card:nth-child(even) .card-tag { background: var(--codex-soft); color: var(--codex); }
.card h3, .step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.card p, .step p { color: var(--muted); font-size: 14px; }
.pill { font-style: normal; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; background: var(--claude); color: #fff; vertical-align: 3px; }
.steps { gap: 0; border-top: 1px solid var(--line); }
.step { padding: 28px 26px 10px 0; }
.step + .step { padding-left: 26px; border-left: 1px solid var(--line); }
.step-no { display: block; font-family: var(--serif); font-size: 40px; color: #b5b3a8; margin-bottom: 18px; }

/* 条款 */
.terms-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
.terms-wrap .btn { margin-top: 30px; }
.terms { border-top: 1px solid var(--line); }
.terms details { border-bottom: 1px solid var(--line); }
.terms summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 17px; cursor: pointer; }
.terms summary::-webkit-details-marker { display: none; }
.chev { font-size: 22px; color: var(--muted); transition: transform .2s; }
.terms details[open] .chev { transform: rotate(45deg); }
.terms details p { color: var(--muted); font-size: 14px; line-height: 1.85; padding: 0 40px 22px 0; }

/* 收尾 */
.closing { margin-top: 100px; padding: 90px 0; border-top: 1px solid var(--line); }
.closing-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.price-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 8px; font-size: 15px; }
.price-list li { display: flex; gap: 18px; flex-wrap: wrap; }
.price-list b { min-width: 64px; }
.price-list span { color: var(--muted); }
.qr-card { margin: 0; padding: 18px 18px 14px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: 0 24px 50px -30px rgba(40, 36, 28, .35); }
.qr-card figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.qr-frame { width: 200px; height: 200px; display: grid; place-items: center; margin-inline: auto; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; }
.qr-empty { color: var(--muted); font-size: 13px; line-height: 1.6; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 13px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-top .brand-name { font-size: 22px; }
.footer-top .muted { margin-top: 8px; }
.footer-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; color: var(--muted); }
.footer-nav > * { white-space: nowrap; }
.footer-nav button { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.footer-nav a:hover, .footer-nav button:hover { color: var(--fg); }
.disclaimer { list-style: none; padding: 24px 0 0; margin: 32px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; display: grid; gap: 4px; }
.copyright { margin-top: 18px; color: var(--muted); font-size: 12px; }

/* 联系弹窗 */
.contact-dialog { width: min(360px, 100% - 32px); border: 1px solid var(--line); border-radius: 18px; padding: 22px 28px 28px; background: var(--surface); color: var(--fg); text-align: center; }
.contact-dialog::backdrop { background: rgba(32, 33, 30, .42); backdrop-filter: blur(3px); }
.dialog-close-row { display: flex; justify-content: flex-end; margin: -6px -14px 0 0; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; font-size: 24px; line-height: 1; color: var(--muted); }
.icon-btn:hover { background: var(--surface-2); color: var(--fg); }
.contact-dialog .kicker { margin-bottom: 8px; }
.dialog-title { font-family: var(--serif); font-weight: 400; font-size: 24px; margin-bottom: 20px; }
.wechat-line { margin-top: 18px; font-size: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.contact-dialog .small { margin-top: 6px; }

/* 响应式 */
@media (max-width: 960px) {
  .nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .terms-wrap { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 14px; }
  .header-inner { height: 60px; gap: 12px; }
  .brand-name { font-size: 22px; }
  .brand-sub { display: none; }
  .hero { padding-top: 44px; }
  .br-d { display: none; }
  .hero-cards { height: 230px; margin-top: 20px; }
  .hero-cards .metal-card { width: 240px; }
  .hc-back { transform: translate(-78%, -58%) rotate(-11deg); }
  .hc-front { transform: translate(-24%, -38%) rotate(7deg); }
  .cta-row { flex-direction: column; gap: 14px; }
  .cta-row .btn-dark { width: 100%; }
  .hero-foot { display: none; }
  .section { padding-top: 72px; margin-top: 36px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 30px; }
  .aside { text-align: left; }
  .product-visual { padding: 20px 8px; }
  .product-info .btn-dark { width: 100%; }
  .compare { padding: 22px 18px; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .compare-foot small { margin-left: 0; width: 100%; }
  .grid-4 { grid-template-columns: 1fr; }
  .steps { border-top: 0; }
  .step, .step + .step { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .step-no { font-size: 32px; margin-bottom: 10px; }
  .closing { margin-top: 60px; padding: 60px 0; }
  .closing-inner { grid-template-columns: 1fr; }
  .closing-inner .btn-dark { width: 100%; }
  .qr-card { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
