:root {
  color-scheme: light;
  --background: #f8f9fd;
  --surface: #fff;
  --ink: #151728;
  --muted: #55596f;
  --line: #e1e4ee;
  --accent: #5045ed;
  --accent-deep: #3c32ca;
  --accent-tint: #eeecff;
  --shadow: 0 7px 22px #23204409;
  --radius: 19px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 0; min-height: 100vh; color: var(--ink); background: var(--background); line-height: 1.6; display: flex; flex-direction: column; }
main { flex: 1; }
main:focus { outline: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #665af5; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.22; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.026em; }
h3 { font-size: 1.13rem; }
.container { width: min(100% - 48px, 1120px); margin-inline: auto; }
.muted { color: var(--muted); }
.eyebrow { color: var(--accent-deep); font-weight: 720; letter-spacing: .06em; font-size: .875rem; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 10px 15px; border-radius: 8px; background: white; color: var(--accent-deep); transform: translateY(-150%); z-index: 20; }
.skip-link:not(:focus) { clip-path: inset(50%); }
.skip-link:focus { transform: none; }
.demo-bar { min-height: 36px; padding: 6px 16px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; background: #18173c; color: #efedff; font-size: .875rem; text-align: center; }
.demo-bar strong { color: white; }
.demo-dot { width: 7px; height: 7px; border-radius: 50%; background: #c3b6ff; }
#site-header { background: #fff; border-bottom: 1px solid #e9ebf3; position: relative; z-index: 5; }
.site-nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.4rem; line-height: 1; font-weight: 850; letter-spacing: -.05em; white-space: nowrap; }
.brand > span:last-child > span { color: var(--accent); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; padding-right: 2px; background: #28205e; color: white; font-weight: 850; font-size: 1.18rem; box-shadow: inset 0 0 0 1px #6559a9; }
.site-nav nav, .nav-actions { display: flex; align-items: center; gap: 12px; }
.site-nav nav a { color: var(--muted); padding: 9px 13px; border-radius: 9px; font-size: .93rem; font-weight: 650; white-space: nowrap; }
.site-nav nav a:hover, .site-nav nav a[aria-current="page"] { color: var(--accent-deep); background: var(--accent-tint); }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 46px; border: 1px solid transparent; border-radius: 11px; padding: 9px 17px; font-size: .94rem; font-weight: 750; line-height: 1.35; text-align: center; cursor: pointer; }
.button.primary { background: var(--accent); border-color: var(--accent); color: white; box-shadow: 0 4px 9px #5045ed29; }
.button.primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.button.secondary { background: white; color: var(--ink); border-color: #dcddec; }
.button.secondary:hover { color: var(--accent-deep); border-color: #9d96ed; }
button:disabled { cursor: not-allowed; opacity: .55; }
.nav-account { min-height: 39px; padding-inline: 13px; white-space: nowrap; }
.menu-button { display: none; min-height: 40px; padding-inline: 11px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--ink); font-weight: 650; }
.home { padding: 36px 0 64px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 18px; min-height: 384px; padding: 16px; border: 1px solid #e4e1f9; border-radius: 27px; background: linear-gradient(126deg, #faf9ff 15%, #eeebff 90%); }
.hero-copy { align-self: center; padding: clamp(24px, 4vw, 52px); padding-right: 0; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 9px; }
.hero-copy .eyebrow span { width: 18px; height: 2px; border-radius: 3px; background: var(--accent); }
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.25rem); letter-spacing: -.067em; line-height: 1.12; margin-block: 13px 16px; }
.hero h1 strong { color: #4b3beb; }
.hero-description { color: #454564; max-width: 39ch; text-wrap: pretty; font-size: clamp(1rem, 1.65vw, 1.1rem); }
.actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 23px; }
.hero-spotlight { position: relative; isolation: isolate; overflow: hidden; min-height: 328px; display: flex; align-items: end; padding: 28px; border: 1px solid #4d4190; border-radius: 20px; color: #fff; background: radial-gradient(ellipse at 73% 26%, #6354cc 0%, #382a81 40%, #191538 85%); }
.spotlight-info { position: relative; z-index: 1; }
.spotlight-label { display: inline-flex; border: 1px solid #d5cbff70; padding: 2px 8px; border-radius: 6px; background: #2c215fc9; color: #f2edff; font-size: .8125rem; font-weight: 670; }
.spotlight-info h2 { margin-top: 7px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.spotlight-info p { margin: 6px 0 12px; color: #ece7ff; font-size: .875rem; }
.spotlight-info p strong { color: #fff; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.spotlight-link { min-height: 42px; background: #f3efff; color: #241956; border-color: #e4d9ff; }
.spotlight-link:hover { background: #fff; color: #3829a5; }
.spotlight-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.spotlight-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 34px, #c8bcff36 35px), repeating-linear-gradient(90deg, transparent 0 34px, #c8bcff36 35px); mask-image: radial-gradient(ellipse at 74% 39%, #000 0, transparent 75%); }
.spotlight-orbit { position: absolute; width: 260px; aspect-ratio: 1; left: 72%; top: 38%; transform: translate(-50%,-50%) rotate(-22deg) scaleY(.64); border: 1px solid #ded4ff8f; border-radius: 50%; }
.spotlight-orbit:nth-child(2) { transform: translate(-50%,-50%) rotate(21deg) scaleY(.64); opacity: .65; }
.spotlight-sigil { position: absolute; display: grid; place-items: center; left: 72%; top: 38%; width: 99px; aspect-ratio: 1; transform: translate(-50%,-50%) rotate(-12deg); border: 1px solid #f4efffd0; border-radius: 23px; background: radial-gradient(ellipse at 20% 8%, #c0adff, transparent 65%), linear-gradient(145deg, #7c60ff, #382267); box-shadow: 0 14px 40px #1510377a; color: #fff; font-size: 3.45rem; line-height: 1; }
.home-categories { margin: -1px 0 14px; }
.featured { margin-top: 44px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-head h2 { margin-top: 4px; }
.text-link { color: var(--accent-deep); font-weight: 720; text-underline-offset: 3px; }
.text-link:hover { text-decoration: underline; }
.product-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.product-card { display: flex; flex-direction: column; gap: 17px; min-width: 0; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-card:hover { border-color: #c9c4f5; }
.card-top, .card-bottom { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.product-glyph { flex: 0 0 auto; width: 50px; height: 50px; border-radius: 14px; display: inline-grid; place-items: center; color: #5444d7; background: #eeebff; font-size: 1.65rem; line-height: 1; font-family: system-ui, sans-serif; }
.product-glyph.mint { color: #126b4d; background: #dcf3e9; }
.product-glyph.peach { color: #9c431d; background: #ffecde; }
.tag { background: #f3f2fa; color: #474268; border: 1px solid #eae7f7; border-radius: 6px; padding: 3px 7px; font-size: .8125rem; font-weight: 670; white-space: nowrap; }
.category-note { font-size: .88rem; color: var(--muted); }
.card-content h3 { margin: 3px 0 6px; }
.card-content h3 a:hover { color: var(--accent-deep); }
.card-content > p:last-child { min-height: 3em; }
.card-bottom { flex-wrap: wrap; margin-top: auto; border-top: 1px solid var(--line); padding-top: 13px; }
.card-bottom strong { font-size: 1.19rem; font-variant-numeric: tabular-nums; }
.card-bottom small { color: var(--muted); white-space: nowrap; }
.card-bottom .text-link { font-size: .9rem; }
.home-help { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 36px; padding: 24px; border-radius: var(--radius); background: #ededfc; }
.home-help h2 { margin: 4px 0; }
#site-footer { border-top: 1px solid var(--line); background: white; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 30px; flex-wrap: wrap; }
.footer-inner p, .footer-inner nav { color: var(--muted); font-size: .9rem; }
.footer-inner .brand { margin-bottom: 8px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 15px; }
.footer-inner nav a:hover { color: var(--accent-deep); }
.page { padding-block: 34px 64px; }
.page-intro { margin-bottom: 28px; }
.page-intro h1 { margin: 5px 0 9px; }
.search-row { display: grid; gap: 5px; max-width: 480px; margin-bottom: 19px; }
.search-row label { font-weight: 700; }
.search-row > div { display: flex; gap: 9px; }
input:not([type=radio]), select { min-width: 0; min-height: 44px; padding: 9px 11px; background: white; border: 1px solid #d9dce8; border-radius: 9px; color: var(--ink); }
.search-row input { width: 100%; }
.catalog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips a { padding: 7px 12px; background: white; border: 1px solid var(--line); border-radius: 9px; font-size: .9rem; color: var(--muted); }
.chips a:hover, .chips a[aria-current="page"] { background: var(--accent-tint); border-color: #cbc5ff; color: var(--accent-deep); }
.empty { text-align: center; background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: 35px 20px; }
.empty p { margin: 10px 0 16px; }
.surface { border: 1px solid var(--line); padding: 24px; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a:hover { color: var(--accent-deep); }
.detail-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 22px; padding: clamp(20px, 4vw, 34px); border: 1px solid #e2dfff; border-radius: 22px; background: linear-gradient(125deg, #f5f3ff, #eeebff); }
.detail-head.mint { background: #e9f7f0; border-color: #d7efe3; }
.detail-head.peach { background: #fff3eb; border-color: #f9e5d7; }
.detail-head .product-glyph { width: 74px; height: 74px; border-radius: 19px; font-size: 2.65rem; background: #fff; }
.detail-head h1 { margin: 4px 0 6px; }
.detail-head p:last-child { color: var(--muted); }
.detail-support { color: var(--accent-deep); border-color: #d6cef8; white-space: nowrap; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .43fr); align-items: start; gap: 16px; margin-top: 16px; }
.detail-main { display: grid; gap: 16px; min-width: 0; }
.detail-extra-stack { display: grid; gap: 16px; min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 810; font-size: 1.36rem; padding: 0; }
.plan-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin-top: 15px; }
.plan { position: relative; display: flex; min-width: 0; cursor: pointer; }
.plan > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.plan-inner { display: flex; flex-direction: column; width: 100%; min-width: 0; border: 1px solid #dcddeb; border-radius: 13px; padding: 14px; transition: border-color 120ms ease, background-color 120ms ease; }
.plan:hover .plan-inner { border-color: #8b7fee; }
.plan input:focus-visible + .plan-inner { outline: 3px solid #5c50eb; outline-offset: 2px; }
.plan input:checked + .plan-inner { border-color: var(--accent); background: #f5f3ff; box-shadow: 0 0 0 1px var(--accent); }
.plan.unavailable { cursor: not-allowed; }
.plan.unavailable .plan-inner { background: #f7f7fa; border-color: var(--line); }
.plan-heading { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.plan-fit { color: var(--muted); font-size: .875rem; margin: 5px 0 2px; }
.radio-visual { width: 16px; height: 16px; border: 1px solid #a9a8bf; border-radius: 50%; flex: 0 0 auto; }
.plan input:checked + .plan-inner .radio-visual { border: 5px solid var(--accent); }
.plan-price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 1px 5px; margin-top: 7px; color: var(--muted); font-size: .875rem; }
.plan-price { font-size: 1.4rem; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.plan-features { display: grid; gap: 3px; font-size: .875rem; margin: 6px 0 9px; }
.plan-features span::before { content: "·"; margin-right: 5px; color: var(--accent); font-weight: 800; }
.plan-status { display: flex; gap: 5px; align-items: center; justify-content: space-between; margin-top: auto; color: var(--muted); font-size: .8125rem; font-weight: 650; }
.plan-ready { color: #196647; }
.plan-selected { visibility: hidden; padding: 1px 7px; border-radius: 6px; color: var(--accent-deep); background: #e7e2ff; }
.plan input:checked + .plan-inner .plan-selected { visibility: visible; }
.plan.unavailable .plan-price { color: var(--muted); }
.quantity-line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 17px; border-top: 1px solid var(--line); padding-top: 15px; }
.quantity-line label { font-weight: 740; }
.quantity-line p { font-size: .9rem; }
.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 10px; background: white; }
.stepper button { width: 40px; background: transparent; border: none; border-radius: 9px; font-size: 1.2rem; color: var(--accent-deep); }
.stepper button:not(:disabled):hover { background: var(--accent-tint); }
.stepper #quantity { width: 59px; min-height: 40px; border-radius: 0; border-block: 0; text-align: center; appearance: textfield; }
.stepper:has([aria-invalid="true"]) { border-color: #bd4b64; box-shadow: 0 0 0 1px #bd4b643d; }
.stepper #quantity::-webkit-inner-spin-button, .stepper #quantity::-webkit-outer-spin-button { appearance: none; margin: 0; }
.form-error { color: #a2213a; font-weight: 650; margin-top: 8px; overflow-wrap: anywhere; }
.order-summary { position: sticky; top: 16px; }
.order-summary h2 { font-size: 1.35rem; }
.summary-head { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.summary-plan { font-weight: 760; margin-top: 13px; }
.summary-breakdown { display: grid; gap: 6px; margin: 10px 0; font-size: .9rem; }
.summary-breakdown div { display: flex; justify-content: space-between; gap: 8px; }
.summary-breakdown dt { color: var(--muted); }
.summary-breakdown dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 670; text-align: right; }
#summary-delivery { padding: 6px 9px; border-radius: 7px; background: #f3f2fa; font-size: .875rem; }
.summary-action { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 15px; }
.summary-action div { min-width: 0; }
.summary-action small, .summary-action strong { display: block; }
.summary-action small, .summary-caption { color: var(--muted); font-size: .875rem; }
.summary-action strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.summary-action button { white-space: nowrap; }
.summary-caption { margin-top: 9px; }
.help-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr); gap: 16px; align-items: start; }
.help-side { display: grid; gap: 16px; }
.help-support { border-color: #ddd7ff; background: #f3f1ff; }
.help-support h2 { margin: 6px 0 10px; }
.help-support button { margin-top: 16px; }
.faq h2 { margin-bottom: 6px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 12px; }
.faq details:last-child { border: 0; }
.faq summary { font-weight: 700; }
.faq details p { color: var(--muted); margin: 8px 0 1px 16px; }
.policy h2 { margin: 6px 0 10px; }
.policy a { margin-top: 16px; }
#toast { position: fixed; bottom: 20px; right: 18px; z-index: 12; background: #211a52; color: white; padding: 12px 16px; border-radius: 11px; max-width: min(410px,calc(100vw - 36px)); box-shadow: 0 10px 32px #211a5240; }

@media (max-width: 960px) {
  .detail-grid, .help-grid { grid-template-columns: minmax(0, 1fr); }
  .detail-grid .order-summary { position: static; grid-row: 2; }
  .detail-main { display: contents; }
  .plan-section { grid-row: 1; }
  .detail-extra-stack { grid-row: 3; }
}
@media (max-width: 740px) {
  .container { width: calc(100% - 32px); }
  .site-nav { min-height: 61px; flex-wrap: wrap; gap: 9px; }
  .site-nav nav { display: none; order: 3; width: 100%; padding-bottom: 9px; }
  .site-nav nav.expanded { display: flex; flex-wrap: wrap; gap: 4px; }
  .site-nav nav a { padding: 7px 9px; }
  .menu-button { display: block; }
  .home { padding-top: 19px; }
  .hero { grid-template-columns: minmax(0,1fr); min-height: auto; gap: 16px; padding: 12px; }
  .hero-copy { padding: 15px 12px 0; }
  .hero h1 { font-size: clamp(2.25rem, 8vw, 3.5rem); }
  .hero-spotlight { min-height: 172px; padding: 15px; border-radius: 15px; }
  .spotlight-orbit { width: 155px; left: 79%; top: 38%; }
  .spotlight-sigil { width: 56px; left: 79%; top: 38%; border-radius: 13px; font-size: 1.9rem; }
  .featured { margin-top: 27px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .page { padding-block: 22px 48px; }
  .detail-head { grid-template-columns: auto minmax(0,1fr); gap: 12px 13px; }
  .detail-support { grid-column: 2; justify-self: start; min-height: 40px; }
  .detail-head .product-glyph { width: 54px; height: 54px; border-radius: 14px; font-size: 1.85rem; }
  .detail-head h1 { font-size: clamp(1.65rem,6.5vw,2.3rem); }
  .plan-list { grid-template-columns: minmax(0,1fr); }
  .plan-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; }
  .plan-heading, .plan-fit, .plan-features, .plan-status { grid-column: 1/-1; }
  .plan-price-line { grid-column: 1/-1; margin: 0; }
  .plan-fit, .plan-features { margin-top: 0; }
  :root:has(.is-detail) { scroll-padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .is-detail + footer { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .detail-grid .order-summary .summary-action { position: fixed; bottom: 0; left: 0; right: 0; z-index: 6; min-height: 68px; margin: 0; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); border-color: #cbc9e5; background: #fff; box-shadow: 0 -4px 20px #28205e12; }
  .detail-grid .order-summary .summary-action > * { max-width: calc(50% - 5px); }
  #toast { bottom: 83px; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-inner { transition: none; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: minmax(0,1fr); }
  .product-card { gap: 11px; }
  .card-content > p:last-child { min-height: 0; }
  .surface { padding: 17px; }
  .footer-inner { padding-block: 21px; }
  .section-head a { font-size: .88rem; text-align: right; }
}
