:root {
  --ink: #201525;
  --paper: #f3f3f3;
  --paper-soft: #e8e8e8;
  --purple: #6d2388;
  --purple-dark: #481458;
  --signal: #9a45b7;
  --sun: #d9a8e7;
  --line: rgba(32, 21, 37, 0.17);
  --radius-ui: 14px;
  --nav-height: 78px;
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
}

body.has-dialog { overflow: hidden; }

button,
input { font: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

a { color: inherit; text-decoration: none; }
button { color: inherit; }

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(217, 168, 231, 0.92);
  outline-offset: 3px;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 68px);
  color: #fff;
  border-bottom: 0;
  background: linear-gradient(rgba(38, 10, 47, 0.68), rgba(38, 10, 47, 0.08));
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.brand { width: 198.3px; display: inline-flex; align-items: center; gap: 12px; min-width: 0; }

.brand-mark {
  position: relative;
  width: 29px;
  height: 35px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 29px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-size: 17px; letter-spacing: 0.05em; }
.brand-copy small { font: 9px/1.2 Arial, sans-serif; letter-spacing: 0.18em; opacity: 0.66; }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-button {
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  color: #fff;
  background: rgba(38, 10, 47, 0.25);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, translate 0.2s;
}

.nav-button:hover { border-color: #fff; background: rgba(255, 255, 255, 0.13); }
.nav-points { display: inline-flex; align-items: center; gap: 8px; background: rgba(217, 168, 231, 0.14); }

.credit-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(217, 168, 231, 0.12);
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #27152d;
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(76, 19, 93, 0.12), rgba(30, 8, 37, 0.16)),
    url("../assets/images/hero-editorial-v2.png") right center / cover no-repeat;
  background-blend-mode: color, normal;
  scale: 1.025;
  animation: hero-breathe 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(12, 4, 16, 0.16), rgba(12, 4, 16, 0.16)),
    linear-gradient(90deg, rgba(25, 7, 31, 0.88) 0%, rgba(25, 7, 31, 0.64) 39%, rgba(25, 7, 31, 0.18) 70%, rgba(25, 7, 31, 0.5) 100%),
    linear-gradient(0deg, rgba(25, 7, 31, 0.52), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: calc(100vw - 24px);
  padding: clamp(150px, 20vh, 220px) 0 120px clamp(24px, 8vw, 138px);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  margin: 0 0 36px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 14px;
  letter-spacing: 0.18em;
}

.hero-eyebrow b { color: var(--sun); font: 11px Arial, sans-serif; }

.hero h1 {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(17px, 4.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 750;
}

.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  min-width: 238px;
  padding: 17px 20px;
  border-radius: 8px;
  color: var(--ink);
  background: #ff986b;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(255, 126, 87, 0.26);
  animation: cta-pulse 2.8s ease-in-out infinite;
  transition: translate 0.2s, background 0.2s;
}

.primary-action:hover {
  translate: 0 -3px;
  background: #ffad8a;
  animation-play-state: paused;
}
.primary-action span {
  font-size: 21px;
  animation: cta-arrow 1.8s ease-in-out infinite;
}
.primary-action:hover span { animation-play-state: paused; translate: 3px 3px; }

.hero-index {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 72px);
  top: 50%;
  translate: 0 -44%;
  display: grid;
  gap: 11px;
  color: rgba(255, 255, 255, 0.46);
  font: 10px Arial, sans-serif;
}

.hero-index span { display: grid; grid-template-columns: 22px 18px; align-items: center; gap: 8px; }
.hero-index span::after { content: ""; width: 18px; height: 1px; background: currentColor; }
.hero-index span:first-child,
.hero-index span:last-child { color: var(--sun); }

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 8vw, 138px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.scroll-cue i {
  position: relative;
  display: block;
  width: 72px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.45);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  translate: -100%;
  background: var(--sun);
  animation: scan 2.5s ease-in-out infinite;
}

.workbench { padding: clamp(70px, 9vw, 120px) clamp(20px, 6vw, 96px) 120px; }
.module-groups { display: block; }
.module-group + .module-group { margin-top: clamp(68px, 9vw, 118px); }

.module-group-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.module-group-kicker { margin: 0 0 12px; color: var(--purple); font: 10px Arial, sans-serif; letter-spacing: 0.2em; }
.module-group-heading h2 { margin: 0; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.06em; }
.module-group-heading > p { max-width: 300px; margin: 0 0 4px; color: #746b77; font-size: 13px; line-height: 1.8; }

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.module-card {
  position: relative;
  height: 310px;
  min-height: 310px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-ui) var(--radius-ui) 51px var(--radius-ui);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(58, 31, 66, 0.075);
  cursor: pointer;
  transition: color 0.25s, translate 0.25s, background 0.25s, box-shadow 0.25s;
}

.module-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s;
}

.module-card:hover {
  color: #fff;
  translate: 0 -3px;
  background: var(--ink);
  box-shadow: 0 22px 48px rgba(42, 17, 49, 0.22);
}
.module-card:hover::after { transform: scaleX(1); }
.module-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: flex-end;
  margin: 0;
}
.module-cost {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border-radius: 0;
  color: var(--purple);
  background: transparent;
  box-shadow: none;
  font-family: "Helvetica Neue", "PingFang SC", "Microsoft YaHei UI", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.module-title {
  position: relative;
  z-index: 2;
  margin: auto 0 16px;
  color: var(--ink);
  font-size: 26px;
  letter-spacing: -0.035em;
  text-shadow: none;
  translate: 0 28px;
}
.module-description {
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #746b77;
  font-size: 13px;
  line-height: 1.75;
  translate: 0 28px;
}
.module-enter { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: flex-end; font-size: 12px; letter-spacing: 0.08em; }
.module-enter b {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle, rgba(91, 25, 19, 0.24) 0 0.5px, transparent 0.72px) 0 0 / 2.5px 2.5px,
    radial-gradient(circle, rgba(255, 239, 217, 0.34) 0 0.42px, transparent 0.65px) 1px 1px / 3px 3px,
    linear-gradient(135deg, #f6b995 0%, #e98a73 100%);
  border: 0;
  box-shadow: 0 8px 20px rgba(224, 105, 78, 0.18);
  transition: translate 0.2s, filter 0.2s, box-shadow 0.2s;
}
.module-enter b::before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: currentColor;
  -webkit-mask: url("../assets/icons/enter-navigation.svg") center / contain no-repeat;
  mask: url("../assets/icons/enter-navigation.svg") center / contain no-repeat;
}
.module-card:hover .module-title,
.module-card:hover .module-enter { color: #fff; }
.module-card:hover .module-description { color: rgba(255, 255, 255, 0.66); }
.module-card:hover .module-cost {
  color: var(--sun);
  background: transparent;
  box-shadow: none;
}
.module-card:hover .module-enter b {
  color: #fff;
  translate: 3px 0;
  filter: brightness(1.1);
  box-shadow: 0 10px 24px rgba(255, 126, 87, 0.3);
}

footer {
  padding: 50px clamp(20px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--ink);
}

.footer-brand img { filter: brightness(0) invert(1); }
footer p { color: rgba(255, 255, 255, 0.45); font-size: 12px; }

.toast {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: 24px;
  max-width: min(360px, calc(100vw - 32px));
  padding: 15px 18px;
  color: #fff;
  background: rgba(45, 14, 55, 0.92);
  opacity: 0;
  translate: 0 12px;
  pointer-events: none;
  transition: opacity 0.18s, translate 0.18s;
}

.toast.show { opacity: 1; translate: 0; }

.auth-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 8, 25, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 1;
  transition: opacity 0.2s ease;
}

.auth-overlay[hidden] { display: none; }

.auth-dialog {
  position: relative;
  width: min(430px, 100%);
  min-height: 490px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(252, 249, 253, 0.92);
  box-shadow: 0 30px 90px rgba(31, 10, 38, 0.34);
}

.auth-dialog::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 118px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(109, 35, 136, 0.13), rgba(255, 152, 107, 0.08));
}

.auth-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #5d5260;
  background: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font-size: 23px;
  line-height: 1;
}

.auth-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 30px;
}

.auth-brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--purple-dark);
}

.auth-brand-mark img { width: 22px; height: 25px; filter: brightness(0) invert(1); }
.auth-brand div { display: grid; gap: 1px; }
.auth-brand strong { font-size: 17px; }
.auth-brand small { color: #827686; font-size: 11px; letter-spacing: 0.08em; }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 25px;
  padding: 4px;
  border-radius: 10px;
  background: #eee7f0;
}

.auth-tab {
  height: 38px;
  border: 0;
  border-radius: 7px;
  color: #766b79;
  background: transparent;
  cursor: pointer;
}

.auth-tab.is-active {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 3px 10px rgba(45, 20, 53, 0.08);
  font-weight: 700;
}

.auth-dialog h2 { margin: 0; font-size: 27px; letter-spacing: -0.035em; }
.auth-lead { margin: 7px 0 24px; color: #7e7381; font-size: 13px; }
.auth-form { display: grid; gap: 15px; }
.auth-form label { display: grid; gap: 7px; }
.auth-form .auth-confirm-field[hidden] { display: none; }
.auth-form label > span { color: #5f5562; font-size: 12px; }

.auth-form input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #dcd3df;
  border-radius: 8px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  transition: border-color 0.18s, box-shadow 0.18s;
}

.auth-form input:focus {
  border-color: var(--signal);
  box-shadow: 0 0 0 4px rgba(154, 69, 183, 0.11);
}

.auth-error { min-height: 18px; margin: -2px 0; color: #b23d48; font-size: 12px; line-height: 1.5; }

.auth-submit {
  height: 49px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(109, 35, 136, 0.18);
}

.auth-submit:disabled { cursor: wait; opacity: 0.62; }
.auth-switch { margin: 17px 0 0; color: #817684; text-align: center; font-size: 12px; }
.auth-switch button { padding: 0; border: 0; color: var(--purple); background: none; cursor: pointer; font-weight: 700; }

.account-panel { padding-top: 42px; text-align: center; }
.account-avatar {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--purple-dark), var(--signal));
  font-size: 27px;
  font-weight: 750;
}
.account-panel p { margin: 8px 0 34px; color: #827786; font-size: 13px; }
.auth-logout { width: 100%; color: var(--purple-dark); background: #eee7f0; box-shadow: none; }

.purchase-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 20, 20, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.purchase-overlay[hidden],
.purchase-catalog[hidden],
.order-confirm[hidden],
.wxpay-payment[hidden],
.order-success[hidden] { display: none; }

.purchase-dialog {
  position: relative;
  width: min(780px, 100%);
  max-height: min(720px, calc(100svh - 40px));
  padding: 32px;
  overflow: auto;
  border: 1px solid #dedede;
  border-radius: 20px;
  color: #171717;
  background: #f7f7f7;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

.purchase-close {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #dedede;
  border-radius: 50%;
  color: #252525;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.purchase-heading p,
.order-kicker,
.order-success > p {
  margin: 0 0 10px;
  color: #777;
  font: 10px/1.2 Arial, sans-serif;
  letter-spacing: 0.18em;
}

.purchase-heading h2,
.order-confirm h2,
.order-success h2 { margin: 0; font-size: 30px; letter-spacing: -0.045em; }
.purchase-heading > span { display: block; margin-top: 8px; color: #6f6f6f; font-size: 13px; }

.sku-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sku-card {
  min-height: 132px;
  padding: 19px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #dedede;
  border-radius: 14px;
  color: #171717;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s, translate 0.18s, box-shadow 0.18s;
}

.sku-card:hover {
  translate: 0 -2px;
  border-color: #8b8b8b;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.07);
}

.sku-card.is-featured { color: #fff; border-color: #1c1c1c; background: #1c1c1c; }
.sku-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sku-card-head strong { font-size: 21px; letter-spacing: -0.03em; }
.sku-card-head span { color: #737373; font-size: 11px; }
.sku-card.is-featured .sku-card-head span { color: #bdbdbd; }
.sku-card-bottom { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.sku-card-bottom > span { display: flex; align-items: baseline; gap: 8px; }
.sku-price { font-size: 25px; letter-spacing: -0.04em; }
.sku-unit { color: #858585; font-size: 11px; }
.sku-card.is-featured .sku-unit { color: #bdbdbd; }
.sku-select { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #202020; font-size: 16px; }
.sku-card.is-featured .sku-select { color: #202020; background: #fff; }
.purchase-note { margin: 18px 0 0; color: #818181; font-size: 11px; }

.order-confirm { width: min(720px, 100%); margin: 0 auto; }
.order-back { margin: 0 0 26px; padding: 0; border: 0; color: #696969; background: none; cursor: pointer; font-size: 12px; }
.order-product-row { margin-top: 30px; padding: 22px 0; display: flex; align-items: start; justify-content: space-between; border-bottom: 1px solid #dedede; }
.order-product-row div { display: grid; gap: 6px; }
.order-product-row strong { font-size: 21px; }
.order-product-row span { color: #777; font-size: 12px; }
.order-product-row > b { color: #7b7b7b; font-size: 15px; }
.order-tags { padding: 17px 0; display: flex; gap: 8px; border-bottom: 1px solid #dedede; }
.order-tags span { padding: 6px 9px; border-radius: 6px; color: #4f4f4f; background: #e9e9e9; font-size: 11px; }

.order-contact {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 108px 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #dedede;
}
.order-contact > span { color: #666; font-size: 13px; }
.order-contact i { color: #1c1c1c; font-style: normal; }
.order-contact input { height: 46px; padding: 0 14px; border: 1px solid #d8d8d8; border-radius: 8px; outline: 0; background: #fff; }
.order-contact input:focus { border-color: #777; box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06); }

.order-price-row { padding: 25px 0; display: flex; align-items: center; justify-content: space-between; }
.order-price-row > strong { font-size: 28px; letter-spacing: -0.04em; }
.quantity-control { height: 42px; display: grid; grid-template-columns: 40px 48px 40px; border: 1px solid #dadada; border-radius: 8px; overflow: hidden; background: #fff; }
.quantity-control button { border: 0; color: #4d4d4d; background: #efefef; cursor: pointer; font-size: 18px; }
.quantity-control span { display: grid; place-items: center; border-inline: 1px solid #e3e3e3; }
.quantity-control button:disabled { color: #b9b9b9; cursor: not-allowed; }

.payment-method { width: 190px; height: 58px; padding: 0 14px; display: flex; align-items: center; gap: 10px; border: 1px solid #282828; border-radius: 9px; background: #fff; }
.payment-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #242424; font-size: 13px; }
.payment-method-wechat { border-color: #20a162; }
.payment-method-wechat .payment-mark { background: #20a162; }
.payment-method strong { font-size: 14px; }
.payment-method i { margin-left: auto; color: #919191; font-size: 10px; font-style: normal; }
.order-error { min-height: 18px; margin: 18px 0 0; color: #a22f38; font-size: 12px; }
.order-actions { margin-top: 12px; display: flex; justify-content: flex-end; gap: 10px; }
.order-cancel, .order-submit { height: 46px; padding: 0 22px; border-radius: 8px; cursor: pointer; }
.order-cancel { border: 1px solid #d2d2d2; color: #3b3b3b; background: #fff; }
.order-submit { border: 1px solid #1e1e1e; color: #fff; background: #1e1e1e; font-weight: 700; }
.order-submit:disabled { cursor: wait; opacity: 0.55; }

.wxpay-payment { width: min(520px, 100%); margin: 0 auto; padding: 20px 0 8px; text-align: center; }
.wxpay-payment h2 { margin: 0; font-size: 30px; letter-spacing: -0.045em; }
.wxpay-order-meta { margin: 24px 0 18px; padding: 15px 0; display: flex; align-items: center; justify-content: space-between; border-block: 1px solid #dedede; font-size: 13px; }
.wxpay-order-meta span { color: #666; }
.wxpay-order-meta strong { font-size: 22px; }
.wxpay-qr { width: 236px; height: 236px; margin: 0 auto; padding: 10px; display: grid; place-items: center; border: 1px solid #dedede; border-radius: 14px; background: #fff; }
.wxpay-qr img { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.wxpay-hint { max-width: 360px; margin: 16px auto 0; color: #666; font-size: 12px; line-height: 1.7; }
.wxpay-order-number { margin: 9px 0 0; color: #929292; font-size: 10px; }
.wxpay-actions { justify-content: center; }
.wxpay-actions button { min-width: 126px; }

.order-success { width: min(520px, 100%); margin: 0 auto; padding: 36px 0 16px; text-align: center; }
.success-mark { width: 58px; height: 58px; margin: 0 auto 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #202020; font-size: 22px; }
.order-success > div { margin-top: 22px; padding: 14px 0; display: flex; justify-content: space-between; border-bottom: 1px solid #dedede; color: #777; font-size: 12px; }
.order-success > div strong { color: #202020; }
.success-hint { margin: 24px 0; color: #777; font-size: 12px; line-height: 1.7; }
.order-success .order-submit { width: 100%; }

@media (min-width: 1001px) {
  .hero-content { padding-top: clamp(490px, 60vh, 660px); padding-bottom: 64px; }
}

@media (max-width: 1000px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .module-group-heading { align-items: start; flex-direction: column; gap: 12px; }
  .module-group-heading > p { max-width: 520px; }
  .hero-content { width: calc(100vw - 48px); }
}

@media (max-width: 660px) {
  :root { --nav-height: 66px; }
  .site-nav { padding: 0 14px; }
  .brand { width: auto; }
  .brand-copy small { display: none; }
  .brand-copy strong { font-size: 14px; }
  .brand-mark { scale: 0.8; }
  .nav-button { height: 36px; padding: 0 10px; font-size: 12px; }
  .nav-points { display: inline-flex; }
  .hero-content { width: auto; padding: 140px 22px 110px; }
  .hero h1 { white-space: normal; font-size: clamp(34px, 10vw, 48px); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .primary-action { min-width: 0; }
  .hero-index { display: none; }
  .scroll-cue { left: 22px; }
  .workbench { padding: 82px 16px 80px; }
  .module-grid { grid-template-columns: 1fr; }
  .module-card { height: 270px; min-height: 270px; }
  .module-title { margin-top: auto; }
  footer { align-items: flex-start; flex-direction: column; gap: 22px; }
  .auth-overlay { padding: 14px; }
  .auth-dialog { padding: 28px 22px; }
  .purchase-overlay { padding: 10px; }
  .purchase-dialog { max-height: calc(100svh - 20px); padding: 28px 18px; border-radius: 15px; }
  .sku-grid { grid-template-columns: 1fr; }
  .sku-card { min-height: 132px; }
  .order-contact { grid-template-columns: 1fr; gap: 9px; }
  .wxpay-qr { width: min(220px, 70vw); height: min(220px, 70vw); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-nav {
    background: rgba(38, 10, 47, 0.96);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@keyframes scan {
  0%, 15% { translate: -100%; }
  65%, 100% { translate: 100%; }
}

@keyframes hero-breathe {
  from { scale: 1.025; }
  to { scale: 1.075; }
}

@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 12px 30px rgba(255, 126, 87, 0.26), 0 0 0 0 rgba(255, 152, 107, 0.38);
  }
  50% {
    box-shadow: 0 16px 38px rgba(255, 126, 87, 0.36), 0 0 0 9px rgba(255, 152, 107, 0);
  }
}

@keyframes cta-arrow {
  0%, 62%, 100% { translate: 0; }
  76% { translate: 4px 4px; }
}
