:root {
  color-scheme: light;
  --purple: #7c3aed;
  --ink: #111827;
  --muted: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; line-height: 1.5; }
h1, h2, h3, p, dl, dt, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, summary { cursor: pointer; }
a, label, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #8b5cf6; outline-offset: 3px; }
[id] { scroll-margin-top: 76px; }

.site-head {
  position: sticky; top: 0; z-index: 5; height: 60px; border-bottom: 1px solid #e5e7f2;
  background: rgb(255 255 255 / 94%); backdrop-filter: blur(14px);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 100%; max-width: 1200px; margin: auto; padding-inline: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand-icon {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: #fff;
  background: linear-gradient(135deg, #7738ef, #aa5cff); box-shadow: 0 8px 18px #7c3aed32;
}
.brand-icon svg { width: 19px; height: 19px; }
.brand strong, .brand small { display: block; }
.brand strong { color: #251a39; font-size: 18px; font-weight: 800; line-height: 20px; letter-spacing: -.04em; }
.brand small { font-size: 10px; color: #776191; line-height: 13px; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 26px; }
.site-nav a { color: #78658c; font-size: 14px; font-weight: 650; }
.site-nav a:first-child, .site-nav a:hover, .order-link:hover { color: var(--purple); }
.order-link { justify-self: end; display: flex; align-items: center; gap: 6px; color: #766391; }
.order-link svg, .hero-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.purchase { display: flex; align-items: stretch; flex-direction: column; width: min(984px, calc(100% - 16px)); margin-inline: auto; }
.hero { text-align: center; padding: 18px 0 27px; }
.hero-badge, .outline-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dfceff;
  border-radius: 999px; background: #f4edff; color: var(--purple); font-size: 13px; font-weight: 650;
}
.hero-badge { min-height: 34px; padding: 0 15px; box-shadow: 0 8px 20px #7c3aed0d; }
.hero h1 { margin-top: 18px; font-size: 52px; line-height: 50px; font-weight: 500; letter-spacing: -.06em; }
.hero-line { margin-top: 14px; min-height: 27px; font-size: 20px; font-weight: 750; line-height: 27px; color: var(--purple); }
.hero-line span { display: inline-block; position: relative; }
.hero-line span::after { content: ""; position: absolute; top: 2px; bottom: 2px; right: -4px; border-right: 2px solid; animation: caret 1.1s step-end 4; }
@keyframes caret { 50% { opacity: 0; } }

.purchase > #comparison { margin-top: 6px; }
.checkout {
  align-self: center; width: min(734px, 100%); margin-top: 6px; padding: 22px; border: 1px solid #ebe7ff; border-radius: 20px;
  background: linear-gradient(#fff, #faf7ff); box-shadow: 0 18px 36px #7c3aed12;
}
.order-heading { display: flex; align-items: center; gap: 10px; }
.order-heading h2 { font-size: 15px; line-height: 24px; font-weight: 750; }
.outline-pill { min-height: 27px; padding: 2px 12px; background: #f6efff; }
.outline-pill:hover { background: #ece1ff; }
.order-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  min-height: 70px; margin-top: 10px; padding: 10px 14px; border: 1px solid #d5dbe7; border-radius: 14px; background: #fff;
}
.order-summary strong { font-size: 16px; font-weight: 720; }
.order-summary small { display: block; color: var(--muted); font-size: 12px; }
.order-price { text-align: right; }
.order-price b { font-size: 21px; line-height: 1.15; letter-spacing: -.035em; }
.method-heading { margin: 12px 0 5px; font-size: 13px; font-weight: 650; }
.methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.method-card {
  display: grid; place-items: center; position: relative; min-height: 42px; border: 1px solid #d5dce9;
  border-radius: 10px; background: #fff; color: #475569; font-size: 14px; font-weight: 700; cursor: pointer;
}
.method-card input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: inherit; }
.method-card:has(:focus-visible) { outline: 3px solid #8b5cf6; outline-offset: 2px; }
.alipay:has(:checked) { color: #1d4ed8; background: #eff6ff; border-color: #2563eb; }
.wechat:has(:checked) { color: #087449; background: #f0fdf4; border-color: #16a36b; }
.method-card:has(:disabled) { opacity: .5; cursor: not-allowed; }
.action-row { display: grid; grid-template-columns: 7fr 3fr; gap: 10px; margin-top: 9px; }
.primary, .secondary {
  display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 56px; padding: 9px 12px; border-radius: 14px;
  border: 1px solid transparent; font-weight: 750; font-size: 17px; line-height: 1.25;
}
.primary { background: linear-gradient(105deg, #7c3aed, #a855f7); color: #fff; box-shadow: 0 10px 24px #7c3aed24; }
.primary:hover { filter: brightness(.96); }
.primary:disabled { opacity: .5; cursor: not-allowed; }
.pay-mark { width: 20px; height: 20px; line-height: 20px; text-align: center; background: #fff; color: #9146f0; border-radius: 4px; font-size: 14px; }
.secondary { color: var(--purple); background: #fff; border-color: #ddcaff; font-size: 15px; }
.secondary:hover { background: #f8f4ff; }
.checkout-note { margin: 14px 0; text-align: center; color: #716586; font-size: 13px; }
.plan-help {
  display: flex; align-items: center; justify-content: center; gap: 25px; min-height: 142px; padding: 18px;
  border: 1px solid #dbc7fa; border-radius: 20px; background: #f7f3fe;
}
.help-illustration { flex: 0 0 92px; padding: 3px; border-radius: 13px; background: #fff; box-shadow: 0 4px 12px #4c32600d; }
.help-illustration svg { display: block; width: 100%; }
.plan-help h3 { font-size: 18px; }
.plan-help p { margin: 3px 0 8px; color: #645e70; font-size: 13px; }

@media (max-width: 760px) {
  .site-head { height: 83px; }
  .header-inner { padding: 4px 10px 0; grid-template-columns: 1fr auto; grid-template-rows: 32px 1fr; }
  .brand { gap: 6px; }
  .brand-icon { width: 28px; height: 28px; border-radius: 8px; }
  .brand-icon svg { width: 16px; height: 16px; }
  .brand strong { font-size: 13px; letter-spacing: 0; }
  .brand small { display: none; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; gap: clamp(12px, 4vw, 22px); align-self: stretch; }
  .site-nav a { display: flex; align-items: center; gap: 3px; font-size: 12px; }
  .order-link { grid-column: 2; grid-row: 1; font-size: 13px; }
  [id] { scroll-margin-top: 90px; }
  .hero { padding: 0 0 18px; }
  .hero-badge { font-size: 12px; }
  .hero h1 { margin-top: 12px; font-size: 28px; line-height: 31px; font-weight: 700; }
  .hero-line { margin-top: 16px; font-size: clamp(14px, 4.5vw, 18px); line-height: 25px; min-height: 25px; }
  .purchase > #comparison { order: 2; }
  .checkout { padding: 13px 10px 10px; border-radius: 18px; }
  .order-heading h2 { font-size: 13px; }
  .outline-pill { min-height: 26px; font-size: 12px; }
  .method-heading { margin-top: 10px; font-size: 12px; }
  .method-card { min-height: 38px; font-size: 13px; }
  .action-row { gap: 7px; grid-template-columns: minmax(0, 7fr) minmax(95px, 3fr); }
  .primary, .secondary { min-height: 44px; padding-inline: 5px; border-radius: 11px; font-size: 15px; }
  .secondary { font-size: 13px; }
  .checkout-note { margin-block: 10px; font-size: 12px; }
  .plan-help { min-height: 138px; padding: 10px; gap: 10px; border-radius: 14px; }
  .help-illustration { flex-basis: 58px; }
  .plan-help h3 { font-size: 14px; }
  .plan-help p { font-size: 12px; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
