/* 资产配置大师 product page — matches www.rayfi.top visual system */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/caveat-700-latin.woff2") format("woff2");
}
@font-face {
  font-family: "YuanYiMingTiBold";
  src: url("../assets/fonts/yuanyi-mingti-bold-subset.woff2?v=20261107-ming2") format("woff2");
  font-display: swap;
}

:root {
  --bg: #f4f1ee;
  --surface: #fbfaf8;
  --card: rgba(251, 250, 248, 0.92);
  --card-2: rgba(232, 238, 238, 0.9);
  --text: #123041;
  --muted: #5f6f78;
  --deep: #0a5368;
  --orange: #f26630;
  --sky: #a0dae8;
  --stone: #d9d6d2;
  --sand: #d8a84a;
  --coral-red: #e85b4a;
  --border: rgba(10, 83, 104, 0.16);
  --shadow: 0 24px 70px rgba(10, 83, 104, 0.13);
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* sticky topbar (~75px) clearance for in-page anchors */
h2[id],
section[id],
article[id],
#caps,
#analysis,
#risk,
#stance,
#download,
#pies,
#tips {
  scroll-margin-top: 88px;
}
body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

/* sticky top */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: none;
  background: var(--bg); /* opaque — no orange CTA / disc bleed */
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  flex: 0 0 auto;
}
.brand-rayfi {
  font-family: "Caveat", cursive;
  font-size: 28px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1;
  flex: 0 0 auto; /* P0: never shrink under lang toggle */
  white-space: nowrap;
}
.brand-sep {
  color: var(--stone);
  font-weight: 400;
}
.brand-product {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[lang="zh-CN"] .brand-product {
  font-family: "YuanYiMingTiBold", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  letter-spacing: 0.01em;
}
html[lang="en"] .brand-product {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: clamp(16px, 1.8vw, 22px);
  white-space: normal;
}
.brand-path {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(10, 83, 104, 0.1);
  color: var(--deep);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.top-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 1;
  align-items: center;
  min-width: 0;
}
.top-actions .btn-primary {
  flex: 0 1 auto;
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(242, 102, 48, 0.28);
}
.btn-primary:hover { background: #e45720; }
.btn-ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--deep);
}
.btn-ghost:hover { background: rgba(10, 83, 104, 0.06); }
.btn-lg {
  padding: 16px 28px;
  font-size: 18px;
}

/* dl1b: full-width larger split download CTA — brand flex:1 / action solid chunk */
.btn-dl-split {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0;
  border-radius: 999px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(18, 48, 65, 0.14);
  box-shadow: 0 14px 32px rgba(242, 102, 48, 0.30), 0 5px 16px rgba(18, 48, 65, 0.11);
  transition: transform .15s, box-shadow .15s;
  vertical-align: middle;
}
.btn-dl-split:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 38px rgba(242, 102, 48, 0.36), 0 7px 18px rgba(18, 48, 65, 0.13);
}
.btn-dl-brand,
.btn-dl-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 800;
  line-height: 1.25;
  box-sizing: border-box;
}
.btn-dl-brand {
  flex: 1 1 auto;
  min-width: min-content; /* dl1e: don't shrink under nowrap name (overflow:hidden on pill must not clip glyphs) */
  align-items: center;
  justify-content: flex-start;
  background: #efe6d6; /* sand */
  color: #123041;
  font-size: 24px; /* dl1d: brand one step up; name inherits */
  letter-spacing: 0.01em;
  padding: 18px 28px;
  border-right: 1px solid rgba(18, 48, 65, 0.18);
  text-align: left;
  white-space: nowrap; /* dl1e: brand stays one line with name */
}
.btn-dl-brand-name {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  max-width: 100%;
  white-space: nowrap; /* dl1e: CN/EN — no 「by RayFi」 / Analyzer wrap */
}
.btn-dl-action {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 8.5rem;
  background: var(--orange);
  color: #fff;
  font-size: 22px; /* dl1d: free-download; don't look smaller than brand */
  letter-spacing: 0.02em;
  padding: 14px 32px;
  white-space: nowrap;
  text-align: center;
}
.btn-dl-action-label {
  display: block;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.2;
  white-space: nowrap;
}
.btn-dl-ver {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.88); /* muted on orange; don't compete with label */
  white-space: nowrap;
}
.btn-dl-split:hover .btn-dl-brand { background: #e8dcc8; }
.btn-dl-split:hover .btn-dl-action { background: #e45720; }
.hero-cta {
  width: 100%;
}
.hero-cta .btn-dl-split {
  flex: 1 1 auto;
  width: 100%;
}

/* aactaw1: Enter CTA — widen left sand meta so 「by RayFi」不是贴右缝；右侧只留「点击进入」 */
.btn-enter.btn-dl-split {
  /* reuse .btn-dl-split shell; primary remains prominent */
}
.btn-enter .btn-dl-brand {
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 15.5rem; /* room after RayFi before divider */
  white-space: normal;
  padding: 16px 32px 16px 24px; /* extra right padding vs prior 22px */
}
.btn-enter .btn-dl-brand-name {
  white-space: nowrap;
  overflow: visible;
}
.btn-enter .btn-dl-brand .btn-dl-ver {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: rgba(18, 48, 65, 0.62);
  white-space: nowrap;
}
.btn-enter .btn-dl-action {
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 8.25rem; /* 「点击进入」 only — hint removed */
  max-width: 40%;
  padding: 14px 26px;
  white-space: nowrap;
  box-sizing: border-box;
}
.btn-enter .btn-dl-action-label {
  white-space: nowrap;
}
.btn-enter .btn-dl-action .btn-online-hint {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.90);
  white-space: normal;
  overflow-wrap: anywhere; /* CJK: wrap before pill edge */
  word-break: break-word;
  max-width: 10.5rem;
  text-align: center;
  padding: 0 2px; /* clear border-radius */
}
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
html[lang="en"] .btn-enter .btn-dl-action {
  min-width: 12rem;
  max-width: 48%;
  padding: 12px 18px;
}
html[lang="en"] .btn-enter .btn-dl-action .btn-online-hint {
  font-size: 10.5px;
  max-width: 11rem;
  letter-spacing: 0;
}
html[lang="en"] .btn-enter .btn-dl-brand .btn-dl-ver { font-size: 12px; }
/* keep generic brand column stack for any leftover .btn-dl-brand uses */
.btn-dl-brand {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  white-space: normal;
}
.btn-dl-brand .btn-dl-ver {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: rgba(18, 48, 65, 0.62);
  white-space: nowrap;
}

/* EN product name is longer — dl1e: nowrap + slight scale so pill overflow:hidden does not clip */
html[lang="en"] .btn-dl-brand {
  font-size: 16px;
  padding: 16px 16px;
  letter-spacing: -0.01em;
}
html[lang="en"] .btn-dl-brand-name {
  font-size: 16px;
  white-space: nowrap; /* dl1e */
  letter-spacing: -0.01em;
}
html[lang="en"] .btn-dl-action {
  font-size: 16px;
  min-width: 8.75rem;
  padding: 12px 22px;
}
html[lang="en"] .btn-dl-action-label {
  font-size: 16px;
}
html[lang="en"] .btn-dl-ver {
  font-size: 12px;
}
/* download band sits on deep teal — keep sand+orange split so EN/CN keys match */
.download-band .btn-dl-split {
  margin-top: 2px;
  width: 100%;
  max-width: none;
}
.download-band .btn-dl-brand {
  background: #fbfaf8;
  color: #123041;
  border-right-color: rgba(18, 48, 65, 0.16);
}
.download-band .btn-dl-split:hover .btn-dl-brand { background: #f4f1ee; }

/* hero: intro + dual sunburst 3D + download */
.hero {
  padding: 28px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.hero-intro { max-width: 36rem; }
.hero-actions { max-width: none; width: 100%; }
.brand-product:empty { display: none; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.hero-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #5a6a75;
  font-weight: 600;
}
.hero h1 {
  margin: 0 0 10px;
  font-family: "YuanYiMingTiBold", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  font-size: clamp(32px, 4.6vw, 46px);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--text);
}
.hero-sub {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 18px;
  max-width: 36em;
}
.hero-lead-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  max-width: 36em;
}
.how-steps {
  margin: 0 0 12px;
  max-width: 36em;
}
.how-steps-hero {
  margin: 10px 0 0;
}
.how-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--deep);
}
.how-list {
  margin: 0;
  padding: 0 0 0 1.15em;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.48;
}
/* how7: seven-line list under CTA — slightly tighter than five-step */
.how-list li { margin: 0 0 3px; }
.how-list li:last-child { margin-bottom: 0; }
.how-steps-mid {
  margin: 0 auto 14px;
  max-width: 28rem;
  text-align: left;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
  align-items: stretch;
  width: 100%;
}
.hero-cta .btn {
  flex: 0 1 auto;
  white-space: nowrap;
}
.hero-cta .btn-lg {
  padding: 14px 22px;
  font-size: 16px;
}
html[lang="en"] .hero-cta {
  flex-wrap: nowrap;
  gap: 8px;
}
html[lang="en"] .hero-cta .btn-lg {
  padding: 12px 16px;
  font-size: 15px;
}
.how-list strong { color: var(--text); }
.how-list code,
.hero-lead-note code {
  font-size: 0.92em;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(10, 83, 104, 0.08);
}

/* bare dual sunburst discs — sun8: rough bottom-align; per-disc labels 当下配置/目标配置; identical tilt; front=0.8×back; motion 当下→目标 */
.hero-shot {
  margin: 0;
  width: 100%;
  overflow: visible;
}
.sunburst-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  max-height: 520px;
  margin: 0 auto;
  perspective: 1400px;
  /* near edge is RIGHT (外扣) — locked with 390; do not mirror on desktop */
  perspective-origin: 58% 48%;
  transform-style: preserve-3d;
  /* page sand (--bg) shows through transparent discs */
  background: transparent;
  overflow: visible;
  /* sun9c: restore pre-sun9b headroom; keep overflow visible for round edges */
  padding-top: 28px;
}
/* soft diagonal wash: static cue that actual slides toward target */
.sunburst-stage::before {
  content: "";
  position: absolute;
  inset: 18% 10% 14% 14%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    108deg,
    rgba(10, 83, 104, 0) 0%,
    rgba(10, 83, 104, 0.06) 38%,
    rgba(232, 140, 48, 0.1) 70%,
    rgba(232, 140, 48, 0) 100%
  );
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.95;
  animation: sun-flow-wash 9s ease-in-out infinite;
}
/* CSS chevron tip (pairs with SVG streaks) — 当下 → 目标 */
.sunburst-stage::after {
  /* arrow removed (RayFi/Markowitz 2026-11-02): lines only, L→R */
  content: none;
  display: none;
}
/* Slot wraps: shared bottom baseline → rough bottom-align of both discs */
.sun-slot {
  position: absolute;
  bottom: 4%;
  /* sun9c: keep overflow visible + no CSS filter; no extra pad that shrinks discs */
  transform-style: preserve-3d;
  pointer-events: none;
  overflow: visible;
}
.sun-slot-back {
  /* diameter lock: front = 0.8 × back → back 80%, front 64% (sun9c restore) */
  width: 80%;
  right: 1%;
  left: auto;
  z-index: 1;
  /* keep filter:none — CSS drop-shadow clipped round edges; shadow stays baked */
  filter: none;
}
.sun-slot-front {
  width: 64%; /* 0.8 × 80% */
  left: 5%;
  right: auto;
  z-index: 3;
  filter: none;
}
/* Flat stage overlays (NOT inside 3D slots) — avoids translateZ discs painting over chips.
   Anchored over each disc crown; readable pills. */
.sun-label {
  position: absolute;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(251, 250, 248, 0.97);
  box-shadow: 0 7px 18px rgba(18, 48, 65, 0.14);
  pointer-events: none;
  user-select: none;
  z-index: 5; /* above motion(4) and discs — 当下配置/目标配置 stay readable */
}
.sun-label-front {
  color: var(--deep);
  border: 1px solid rgba(10, 83, 104, 0.28);
  /* over smaller front disc (lower-left); translateZ above front disc (+48) so 3D stack doesn't bury the chip */
  left: 28%;
  top: 22%;
  transform: translateX(-50%) translateZ(120px);
}
.sun-label-back {
  color: #8a5420;
  border: 1px solid rgba(216, 168, 74, 0.55);
  /* over larger back disc (upper-right); same Z plane as front label for consistent readability */
  left: 68%;
  top: 10%;
  transform: translateX(-50%) translateZ(120px);
}
/* SVG energy streaks over discs (z:4), under labels (z:5) — 当下 → 目标 dash motion */
.sun-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4; /* layout1: above discs (front=3) so dash motion visible; labels stay z:5 */
  pointer-events: none;
  overflow: visible;
}
.sun-motion .streak {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.9;
  /* Win/Chromium: explicit initial dashoffset + will-change so stroke anim paints above discs */
  stroke-dashoffset: 36;
  will-change: stroke-dashoffset, opacity;
  animation: sun-streak-flow 4.2s linear infinite;
}
.sun-motion .streak-a {
  stroke: rgba(10, 83, 104, 0.62);
  stroke-width: 3.4;
  stroke-dasharray: 12 10;
  animation-delay: 0s;
}
.sun-motion .streak-b {
  stroke: rgba(232, 140, 48, 0.78);
  stroke-width: 3.8;
  stroke-dasharray: 9 9;
  animation-delay: 0.28s;
}
.sun-motion .streak-c {
  stroke: rgba(10, 83, 104, 0.42);
  stroke-width: 2.4;
  stroke-dasharray: 7 9;
  animation-delay: 0.55s;
}
.sun-motion .streak-d {
  stroke: rgba(232, 140, 48, 0.48);
  stroke-width: 2.6;
  stroke-dasharray: 6 8;
  animation-delay: 0.8s;
}
.sun-motion .chev {
  fill: rgba(232, 140, 48, 0.82);
  opacity: 0.92;
  animation: sun-chev-pulse 5.8s ease-in-out infinite;
}
.sun-disc {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
  will-change: auto;
  backface-visibility: hidden;
}
/* 目标 = back: IDENTICAL tilt to front; LARGER; BEHIND; rough bottom-align via .sun-slot */
.sun-disc-back {
  opacity: 0.72;
  /* sun9b: no CSS filter; yaw/pitch come from baked PNG (UNIFIED_YAW=-30 / pitch=9).
     Extra CSS rotateY/X was double-squashing the silhouette into flat-cut limbs. */
  filter: none;
  /* IDENTICAL pose to front — depth via translateZ only; discs static */
  transform: rotate(-4deg) translateZ(-56px) translate(-6px, -4px);
  animation: none;
}
/* 当下 = front: IDENTICAL tilt; 0.8× back diameter; sharper / higher z */
.sun-disc-front {
  opacity: 1;
  /* sun9b: no CSS filter; camera baked into PNG — no second rotateY/X */
  filter: none;
  transform: rotate(-4deg) translateZ(48px);
  animation: none;
}
/* present → future: push FROM front (当下) TOWARD back (目标); never swap hierarchy or tilt */
@keyframes sun-morph-front {
  0%, 100% {
    opacity: 1;
    filter: drop-shadow(8px 14px 18px rgba(20, 40, 55, 0.26)) saturate(1.06) brightness(1.04) blur(0);
    transform: rotate(-4deg) rotateY(-20deg) rotateX(7deg) translateZ(48px) translate(0, 0) scale(1);
  }
  45% {
    opacity: 0.88;
    filter: drop-shadow(7px 12px 16px rgba(20, 40, 55, 0.2)) saturate(1.02) brightness(1.02) blur(0.35px);
    transform: rotate(-4deg) rotateY(-20deg) rotateX(7deg) translateZ(40px) translate(12px, -8px) scale(0.98);
  }
  55% {
    opacity: 0.84;
    filter: drop-shadow(6px 11px 15px rgba(20, 40, 55, 0.18)) saturate(1.0) brightness(1.01) blur(0.45px);
    transform: rotate(-4deg) rotateY(-20deg) rotateX(7deg) translateZ(36px) translate(14px, -10px) scale(0.97);
  }
}
@keyframes sun-morph-back {
  0%, 100% {
    opacity: 0.72;
    filter: drop-shadow(10px 16px 20px rgba(20, 40, 55, 0.12)) saturate(0.92) brightness(0.95) blur(0.35px);
    transform: rotate(-4deg) rotateY(-20deg) rotateX(7deg) translateZ(-56px) translate(-6px, -4px) scale(1);
  }
  45% {
    opacity: 0.86;
    filter: drop-shadow(9px 14px 18px rgba(20, 40, 55, 0.16)) saturate(0.98) brightness(1.0) blur(0.15px);
    /* destination brightens slightly but stays BEHIND; IDENTICAL tilt angles */
    transform: rotate(-4deg) rotateY(-20deg) rotateX(7deg) translateZ(-36px) translate(-2px, -2px) scale(1.02);
  }
  55% {
    opacity: 0.9;
    filter: drop-shadow(9px 14px 18px rgba(20, 40, 55, 0.18)) saturate(1.0) brightness(1.02) blur(0.1px);
    transform: rotate(-4deg) rotateY(-20deg) rotateX(7deg) translateZ(-32px) translate(0, 0) scale(1.025);
  }
}
@keyframes sun-flow-wash {
  /* soft glow only — no left-right bounce */
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}
@keyframes sun-flow-arrow {
  0%, 100% { opacity: 0.32; transform: translate(-18%, -50%) rotate(-8deg) scaleX(0.85); }
  40% { opacity: 0.82; transform: translate(12%, -55%) rotate(-6deg) scaleX(1.1); }
  70% { opacity: 0.5; transform: translate(28%, -58%) rotate(-4deg) scaleX(1.14); }
}
@keyframes sun-streak-flow {
  /* one-way 当下→目标 (left→right along path); no reverse — RayFi approved media sun8e clip */
  0% { opacity: 0.2; stroke-dashoffset: 36; }
  12% { opacity: 0.85; }
  100% { opacity: 0.15; stroke-dashoffset: -48; }
}
@keyframes sun-chev-pulse {
  0%, 100% { opacity: 0.38; transform: translate(0, 0); }
  45% { opacity: 0.92; transform: translate(8px, -4px); }
  70% { opacity: 0.55; transform: translate(14px, -7px); }
}
@media (prefers-reduced-motion: reduce) {
  .sun-disc-front,
  .sun-disc-back,
  .sunburst-stage::before,
  .sunburst-stage::after,
  .sun-motion .streak,
  .sun-motion .chev {
    animation: none;
  }
  .sun-disc-front { opacity: 1; filter: none; }
  .sun-disc-back { opacity: 0.78; filter: none; }
  .sunburst-stage::before { opacity: 0.7; }
  .sunburst-stage::after { opacity: 0.5; }
  .sun-motion .streak { opacity: 0.5; }
  .sun-motion .chev { opacity: 0.6; }
}
/* legacy single-img helpers (pies/tips still use .hero-shot-img patterns elsewhere) */
.hero-shot-img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
  object-fit: contain;
  object-position: center center;
}
.hero-shot-cap {
  margin: 10px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* sections */
section { padding: 32px 0; }
.section-head { margin-bottom: 20px; }
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.25;
}
.section-head p {
  margin: 0;
  color: var(--muted);
}

.caps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.caps-3 { grid-template-columns: repeat(3, 1fr); }
.cap {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 20px 18px;
  box-shadow: 0 8px 28px rgba(10, 83, 104, 0.06);
}
.cap-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(10, 83, 104, 0.1);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}
.cap h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}
.cap p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* caps6e — six equal feature cards: copy left | image right; fixed media pane */
.caps-6 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cap-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1.15fr);
  gap: 22px 28px;
  align-items: stretch;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: 0 8px 28px rgba(10, 83, 104, 0.06);
  min-height: 292px;
}
/* caps6e: no odd/even flip — alt rules neutralized (HTML no longer uses cap-row-alt) */
.cap-row-alt {
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 1.15fr);
}
.cap-row-alt .cap-copy { order: 0; }
.cap-row-alt .cap-figure { order: 0; }
.cap-row-quiet {
  opacity: 0.92;
  box-shadow: 0 4px 18px rgba(10, 83, 104, 0.04);
  background: rgba(251, 250, 248, 0.72);
}
.cap-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.cap-copy .cap-num { margin-bottom: 10px; }
.cap-copy h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  color: var(--text);
}
.cap-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.cap-figure {
  margin: 0;
  width: 100%;
  min-width: 0;
  height: 232px;
  position: relative;
  align-self: center;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 36px rgba(10, 83, 104, 0.08);
  overflow: hidden;
  box-sizing: border-box;
}
.cap-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
}
.cap-figure-ph {
  min-height: 232px;
  height: 232px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(18, 48, 65, 0.28);
  border-radius: 14px;
  background: rgba(244, 241, 238, 0.65);
  box-shadow: none;
}
.cap-ph {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* pie full column + chip row under ④; tips same width/left edge */
.pie-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  width: 100%;
}
.pie-figure { margin: 0; width: 100%; }
.pie-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 12px 36px rgba(10, 83, 104, 0.08);
}
.dim-list,
.dim-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.dim-list li,
.dim-chips li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 83, 104, 0.08);
  border: 1px solid rgba(10, 83, 104, 0.14);
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

/* tips: same content-column width + left edge as pie */
.tips-frame {
  margin: 0;
  max-width: none;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(10, 83, 104, 0.08);
}
.tips-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: left top;
  background: #fff;
}

/* caps6e: pie/tips dual-class imgs inside feature cards must stay in fixed pane */
.cap-figure .cap-img,
.cap-figure .pie-img,
.cap-figure .tips-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
}

.mid-cta {
  padding: 8px 0 4px;
  text-align: center;
}

/* download band */
.download-band {
  margin: 12px 0 8px;
  padding: 28px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--deep), #0f7890);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.download-band h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
}
.download-band p {
  margin: 0 0 18px;
  opacity: 0.9;
  font-size: 15px;
}
.download-band .btn-primary {
  background: #fff;
  color: var(--deep);
  box-shadow: none;
}
.download-band .btn-primary:hover { background: #f4f1ee; }
.download-note {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.8;
}

/* pillar 6 stance — contrast note, not a feature card */
.stance-block {
  margin: 4px auto 8px;
  text-align: center;
  max-width: 40rem;
  padding-top: 4px;
  padding-bottom: 8px;
}
.stance-title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.8vw, 28px);
  line-height: 1.25;
  color: var(--text);
  font-weight: 800;
}
.stance {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
}

.community-bridge-block {
  margin: 6px auto 2px;
  text-align: center;
  max-width: 42rem;
}
.community-bridge,
.community-trust {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 500;
}
.community-bridge { margin-bottom: 6px; }
.community-trust { margin-bottom: 10px; }

.community {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(10, 83, 104, 0.18);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(10, 83, 104, 0.08);
}
.community h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}
.community p {
  margin: 0;
  color: var(--text);
  font-size: 15px;
}
.community strong { color: var(--deep); font-weight: 800; }
.qr {
  width: 128px;
  height: 128px;
  border-radius: 12px;
  border: 1px solid rgba(10, 83, 104, 0.16);
  background: #fff;
  padding: 6px;
  opacity: 1;
  flex: 0 0 auto;
}
.qr img { width: 100%; height: 100%; object-fit: contain; }

footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
  margin-top: 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer a { color: var(--deep); font-weight: 700; }
footer a:hover { color: var(--orange); }

/* language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  padding: 4px 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.lang-sep { color: var(--stone); user-select: none; }
.lang-btn {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 4px 6px;
  margin: 0;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
}
.lang-btn:hover { color: var(--deep); background: rgba(10, 83, 104, 0.06); }
.lang-btn.is-active,
.lang-btn[aria-pressed="true"] { color: var(--deep); }
.product-tagline {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (max-width: 860px) {
  /* layout1d: allow CN H1 to wrap on narrow columns; do not force nowrap */
  html[lang="zh-CN"] .hero h1 { white-space: normal; }
  .hero { padding-top: 18px; gap: 12px; }
  .hero-main { gap: 12px; }
  .hero-intro,
  .hero-actions { max-width: none; }
  .how-steps-hero .how-title { margin-bottom: 3px; }
  .how-steps-hero .how-list {
    font-size: 12.5px;
    line-height: 1.35;
  }
  .how-steps-hero .how-list li { margin-bottom: 1.5px; }
  .hero-cta { margin-bottom: 0; gap: 8px; flex-direction: column; }
  .btn-dl-brand .btn-dl-ver { font-size: 12px; }
  .btn-enter .btn-dl-brand {
    min-width: 11.5rem;
    padding: 12px 22px 12px 16px;
  }
  .btn-enter .btn-dl-action {
    min-width: 7.25rem;
    max-width: 42%;
    padding: 12px 16px;
  }
  .btn-enter .btn-dl-action .btn-online-hint {
    font-size: 10.5px;
    white-space: normal;
    max-width: 8rem;
    letter-spacing: 0;
    padding: 0 2px;
  }
  html[lang="en"] .btn-enter .btn-dl-action { min-width: 9.25rem; padding: 10px 12px; }
  html[lang="en"] .btn-enter .btn-dl-action .btn-online-hint { font-size: 10px; max-width: 8.5rem; }
  .hero-cta .btn-lg { padding: 12px 16px; font-size: 15px; }
  html[lang="en"] .hero-cta { flex-wrap: wrap; }
  .btn-dl-split {
    border-radius: 20px;
    width: 100%;
    max-width: none;
  }
  .btn-dl-action {
    white-space: normal;
    text-align: center;
  }
  .btn-dl-brand {
    flex: 1 1 auto;
    flex-direction: column;
    min-width: min-content;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    font-size: 18px;
    padding: 12px 14px;
    letter-spacing: 0;
    white-space: normal;
    gap: 1px;
  }
  .btn-dl-brand-name {
    font-size: 18px;
    white-space: nowrap; /* dl1e */
    letter-spacing: 0;
  }
  .btn-dl-action {
    flex: 0 0 auto;
    flex-direction: column;
    min-width: 6.75rem;
    font-size: 17px;
    padding: 10px 18px;
  }
  .btn-dl-action-label {
    font-size: 17px;
  }
  .btn-dl-ver {
    font-size: 12px;
  }
  html[lang="en"] .btn-dl-brand { font-size: 12.5px; padding: 12px 8px; letter-spacing: -0.02em; }
  html[lang="en"] .btn-dl-brand-name { font-size: 12.5px; white-space: nowrap; letter-spacing: -0.02em; }
  html[lang="en"] .btn-dl-action { font-size: 13px; min-width: 6.25rem; padding: 10px 10px; }
  html[lang="en"] .btn-dl-action-label { font-size: 13px; }
  html[lang="en"] .btn-dl-ver { font-size: 12px; }
  .download-band .btn-dl-split {
    width: 100%;
    max-width: none;
  }
  .hero-lead-note { font-size: 13px; margin-top: 6px; }
  .caps, .caps-3 { grid-template-columns: 1fr; }
  .cap-row,
  .cap-row-alt {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
    min-height: 390px; /* caps6e: even card faces on narrow stack (fits longest CN) */
    align-items: stretch;
  }
  .cap-row-alt .cap-copy,
  .cap-row-alt .cap-figure { order: initial; }
  .cap-copy { justify-content: flex-start; }
  .cap-figure {
    height: 180px;
    align-self: stretch;
  }
  .cap-figure-ph { min-height: 180px; height: 180px; }
  .cap-copy h3 { font-size: 17px; }
  .cap-copy p { font-size: 14px; }
  .community { grid-template-columns: auto 1fr; gap: 14px; }
  .community .qr { width: 112px; height: 112px; }
  .brand-logo,
  .brand-rayfi,
  .brand-path,
  .brand-sep { display: none; }
  .brand-product {
    font-size: clamp(16px, 4.6vw, 20px);
    white-space: normal;
  }
  html[lang="en"] .brand-product { font-size: clamp(13px, 3.6vw, 16px); }
  .top-actions .btn-ghost { display: none; }
  .top-actions { gap: 6px; }
  .top-actions .btn-primary { padding: 8px 12px; font-size: 13px; }
  .lang-toggle { margin-right: 0; }
  /* no mobile crop assets this round — hide full-frame pie/tips smear under 860 */
  .pie-figure,
  .tips-frame { display: none; }
  .hero-shot-img,
  .tips-img {
    min-height: 0;
  }
  .download-band .btn-lg {
    padding: 14px 18px;
    font-size: 15px;
    white-space: normal;
  }
  .download-band .btn-dl-brand,
  .download-band .btn-dl-action {
    white-space: normal;
  }
  .download-note {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .sunburst-stage {
    /* m390: slight headroom under round bottoms at ~390; desktop (@min 960) unchanged */
    max-height: 380px;
    aspect-ratio: 1.05 / 1;
    padding-top: 24px;
    padding-bottom: 18px;
    overflow: visible;
  }
  /* sun8: rough bottom-align; identical tilt; front=0.8×back; 390 orientation source of truth */
  /* m390: bottom 2%→5% so disc rims clear stage edge (pad-bottom alone keeps abspos on pad edge) */
  .sun-slot-back { width: 84%; bottom: 5%; right: 0%; left: auto; }
  .sun-slot-front { width: 67%; /* 0.8 × 84% ≈ 67.2 */ bottom: 5%; left: 2%; right: auto; }
  .sun-label { font-size: 11.5px; padding: 4px 10px; letter-spacing: 0.05em; }
  .sun-label-front { left: 30%; top: 20%; }
  .sun-label-back { left: 70%; top: 8%; }
  .sunburst-stage::after { content: none; display: none; }
  .tips-frame { max-width: 100%; }
  .hero-shot-cap { margin-top: 8px; font-size: 12px; }
}

/* Desktop: two-column — copy stack | sunburst */
@media (min-width: 960px) {
  /* top1: extra hero offset so sticky topbar (~75px) does not flat-cut back-disc crown */
  .hero { padding-top: 40px; }
  .hero-main {
    grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.18fr);
    grid-template-areas:
      "intro shot"
      "actions shot";
    gap: 18px 28px;
    align-items: center;
  }
  .hero-intro { grid-area: intro; max-width: none; align-self: end; }
  .hero-actions { grid-area: actions; max-width: none; align-self: start; }
  .hero-shot { grid-area: shot; margin-top: 0; align-self: start; grid-row: 1 / span 2; }
  /* layout1d: CN single-line larger; EN two-line stays slightly smaller */
  html[lang="en"] .hero h1 { font-size: clamp(26px, 3.4vw, 36px); }
  html[lang="zh-CN"] .hero h1 {
    font-size: clamp(30px, 4.2vw, 44px);
    white-space: nowrap;
  }
  .sunburst-stage {
    /* taller stage → bottom-aligned portrait discs sit lower; crown clears topbar */
    max-height: 640px;
    aspect-ratio: 1.05 / 1;
    /* keep same camera as 390 — two-column must NOT flip/mirror the stack */
    perspective-origin: 58% 48%;
  }
  /* Position-only on wider stage; IDENTICAL tilt on both discs (shared rotateY−20 / rotateX7).
     Diameter lock: front = 0.8 × back. Rough bottom-align via shared .sun-slot bottom.
     Desktop must not fork yaw from 390.
     top1: padding-top 32→72 for crown + 目标配置 label headroom under sticky topbar. */
  .sunburst-stage { padding-top: 72px; }
  .sun-slot-back {
    width: 80%;
    bottom: 0%;
    right: 2%;
    left: auto;
  }
  .sun-slot-front {
    width: 64%; /* 0.8 × 80% */
    bottom: 0%;
    left: 6%;
    right: auto;
  }
  .sun-label { font-size: 13px; }
  .sun-label-front { left: 30%; top: 20%; }
  .sun-label-back { left: 70%; top: 8%; }
}


