:root {
  color-scheme: light;
  --page: #f4f7fb;
  --surface: #fff;
  --ink: #11243c;
  --muted: #4a5f77;
  --line: #d8e3ef;
  --brand: #0c60bb;
  --brand-hover: #084d9b;
  --brand-soft: #edf5ff;
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--page);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }
h1, h2, p, dl, dd, figure { margin: 0; }
h1, h2 { line-height: 1.18; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

:focus-visible { outline: 3px solid #0076de; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }

.shell { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-right: auto;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -.055em;
}

.brand img { width: 40px; height: 40px; }
.site-header nav a { color: var(--muted); font-size: 14px; font-weight: 650; }
.site-header nav a:hover, .site-header [aria-current="page"] { color: var(--brand); }

.preview-label {
  padding: 4px 10px;
  border: 1px solid #cbdced;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #154b83;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}

.home { padding-block: 60px 48px; }

.hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
}

.hero-copy { min-width: 0; }

.platform-label {
  color: var(--brand);
  font-size: 13px;
  font-weight: 720;
  letter-spacing: .025em;
}

.hero h1 {
  margin-block: 15px 18px;
  font-size: clamp(42px, 5.3vw, 72px);
  font-weight: 820;
  letter-spacing: -.064em;
}

.hero h1 span { color: var(--brand); }

.lede {
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 720;
  text-align: center;
  cursor: pointer;
}

.primary { background: var(--brand); color: white; }
.primary:hover { background: var(--brand-hover); }
.primary:disabled { background: #6886a5; cursor: default; }
.secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.secondary:hover { background: var(--brand-soft); }
.full-width { width: 100%; }
.text-link, .back-link { color: var(--brand); font-weight: 680; }
.text-link:hover, .back-link:hover, .site-footer a:hover { text-decoration: underline; }

.offer-line { margin-top: 16px; color: var(--muted); font-size: 13px; }
.offer-line strong { margin-right: 5px; color: var(--ink); font-size: 17px; font-variant-numeric: tabular-nums; }

.app-showcase {
  position: relative;
  min-width: 0;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 15px;
  overflow: hidden;
  padding: clamp(22px, 4vw, 46px) clamp(20px, 4vw, 46px) 20px;
  border-radius: 28px;
  background: radial-gradient(ellipse at 70% 16%, #205b8e 0%, transparent 70%), linear-gradient(155deg, #102d4c, #0a1e37 83%);
  box-shadow: 0 20px 40px -28px #163f76a0;
}

.app-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: repeating-radial-gradient(ellipse at 70% 18%, transparent 0 49px, #b7ddff24 50px 51px);
  opacity: .6;
}

.app-showcase img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 20px 45px #02122578;
}

.app-showcase figcaption { color: #d6e7fc; font-size: 12px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
  border-block: 1px solid var(--line);
}

.features article { padding: 21px 22px; }
.features article + article { border-left: 1px solid var(--line); }
.features h2 { margin-bottom: 7px; font-size: 17px; font-weight: 750; }
.features p { color: var(--muted); font-size: 14px; }

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  font-size: 13px;
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  min-height: 65px;
  padding-block: 12px;
}

.site-footer a { color: var(--brand); overflow-wrap: anywhere; }

.inner-page { padding-block: 36px 52px; }
.back-link { display: inline-block; margin-bottom: 22px; font-size: 14px; }

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(275px, 350px);
  align-items: start;
  gap: clamp(18px, 3vw, 38px);
}

.product-details { display: grid; gap: 22px; }

.product-intro {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 27px;
  border: 1px solid #cbdff4;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #e6f1ff, #f9fcff);
}

.product-intro img { flex: 0 0 auto; }
.product-intro h1, .page-heading h1 { font-size: clamp(34px, 4.1vw, 56px); letter-spacing: -.055em; }
.product-intro h1 { margin-block: 3px 5px; }
.product-intro .lede { font-size: 15px; }

.card, .benefits {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.offer, .order-summary { box-shadow: 0 16px 36px -30px #143c6e75; }
.benefits h2, .checkout-form h2, .order-summary h2 { margin-bottom: 15px; font-size: 21px; }

.benefits dl > div {
  display: grid;
  grid-template-columns: minmax(90px, 28%) 1fr;
  align-items: baseline;
  gap: 12px;
  padding-block: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.benefits dt { font-weight: 720; }
.benefits dd, .offer-facts dd { color: var(--muted); }
.fine-print { color: var(--muted); font-size: 13px; line-height: 1.6; }
.benefits .fine-print { margin-top: 9px; }

.display-price {
  margin-block: 4px 2px;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 790;
  line-height: 1.13;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}

.display-price span { margin-right: 3px; font-size: .63em; }

.offer-facts {
  display: grid;
  gap: 10px;
  margin-block: 16px 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.offer-facts > div { display: grid; grid-template-columns: 4.3em 1fr; gap: 10px; }
.offer-facts dt { font-weight: 680; }
.page-heading { margin-bottom: 22px; }
.page-heading .lede { margin-top: 6px; }

.checkout-form { display: grid; gap: 23px; }
.checkout-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.checkout-form legend { margin-bottom: 10px; padding: 0; font-size: 18px; font-weight: 720; }
.field-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 680; }

#delivery-email {
  width: 100%;
  min-height: 46px;
  padding: 8px 12px;
  border: 1px solid #b8cbe0;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}

#delivery-email::placeholder { color: #65788d; }
#email-hint { margin-top: 6px; }

.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 13px;
  border: 1px solid #88b6e7;
  border-radius: 12px;
  background: var(--brand-soft);
  cursor: pointer;
}

.alipay-mark {
  flex: 0 0 auto;
  display: block;
  width: 39px;
  height: 39px;
  /* The standalone Alipay mark on the published brand sheet. */
  background: url("assets/alipay-brand-sheet.png") 37.45% 48.64% / 907% auto no-repeat;
}

.payment-copy { display: grid; flex: 1; min-width: 0; color: var(--muted); font-size: 13px; }
.payment-copy strong { color: var(--ink); font-size: 16px; }
.payment-method input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--brand); }
.phone-copy { display: none; }

.order-product {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-block: 0 13px;
  border-bottom: 1px solid var(--line);
}

.order-product p { color: var(--muted); font-size: 13px; }

.order-total, .handoff-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-block: 14px;
  font-size: 14px;
}

.order-total strong, .handoff-amount strong { font-size: 28px; font-variant-numeric: tabular-nums; }
.preview-note { margin-top: 8px; text-align: center; }
.flow-card { width: min(100%, 560px); margin: 18px auto 0; }
.flow-card h1 { margin-block: 9px 12px; font-size: clamp(28px, 4vw, 38px); }
.flow-card .fine-print { margin-top: 10px; }
.flow-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

@media (max-width: 780px) {
  .shell { width: min(580px, calc(100% - 40px)); }
  .home { padding-block: 32px 32px; }
  .hero, .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .hero h1 { font-size: clamp(40px, 8vw, 52px); margin-block: 10px 12px; }
  .hero-actions { margin-top: 18px; }
  .lede { font-size: 15px; }
  .app-showcase { border-radius: 20px; padding: 18px 18px 12px; gap: 9px; }
  .app-showcase img { max-width: 430px; border-radius: 11px; }
  .features { margin-top: 23px; }
  .features article { padding: 15px 12px; }
  .features h2 { font-size: 15px; }
  .features p { font-size: 13px; }
  .inner-page { padding-block: 22px 32px; }
  .back-link { margin-bottom: 14px; }
  .product-details { display: contents; }
  .product-intro { grid-row: 1; padding: 16px; }
  .product-intro img { width: 60px; }
  .product-intro .lede { font-size: 13px; }
  .offer { grid-row: 2; }
  .page-heading { margin-bottom: 14px; }
  .wide-copy { display: none; }
  .phone-copy { display: block; }
}

@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .site-header-inner { min-height: 59px; gap: 14px; }
  .brand { font-size: 22px; gap: 5px; }
  .brand img { width: 34px; height: 34px; }
  .site-header nav a { font-size: 13px; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { padding-inline: 13px; font-size: 14px; }
  .hero-actions .text-link { font-size: 14px; }
  .features { grid-template-columns: 1fr; }
  .features article { padding: 12px 0; }
  .features article + article { border-top: 1px solid var(--line); border-left: 0; }
  .features h2 { margin-bottom: 2px; }
  .card, .benefits { padding: 17px; border-radius: 16px; }
  .benefits dl > div { gap: 6px; }
  .checkout-grid { gap: 12px; }
  .checkout-form { gap: 16px; }
  .checkout-form h2, .order-summary h2 { margin-bottom: 9px; font-size: 18px; }
  .order-total { margin-block: 9px; }
}

.icp-filing { padding: 0 16px 14px; text-align: center; }
.icp-filing a { display: inline-block; padding: 5px; text-decoration: underline; }
.status-message { margin-top: 12px; }
.order-reference { overflow-wrap: anywhere; }
.license-code { display: block; margin-block: 10px; overflow-wrap: anywhere; font-size: 1rem; }
.legal-content { max-width: 760px; }
.legal-content h2 { margin-block: 22px 8px; }
.legal-content p + p { margin-top: 9px; }
