/* ============================================================
   仟信 · v4 - Creator OS marketing site
   Design system: soft layered light base, single teal accent,
   glassmorphism, one radius scale, tinted shadows, dual theme.
   ============================================================ */

:root {
  /* Brand accent (locked, single) */
  --accent: #12b5ad;
  --accent-2: #0ea89f;
  --accent-soft: rgba(18, 181, 173, 0.12);
  --accent-text: #0a807b;          /* teal that passes AA on light */

  /* Neutrals - cool, teal-tinted */
  --ink: #0e1c1d;
  --text: #4a5c5e;
  --muted: #7f9092;
  --line: rgba(14, 40, 42, 0.10);
  --line-strong: rgba(14, 40, 42, 0.16);

  /* Layered surfaces */
  --bg: #eef4f4;
  --bg-2: #e7f0ef;
  --surface: rgba(255, 255, 255, 0.66);
  --surface-2: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;

  /* Button tokens */
  --btn-primary-bg: #0e1c1d;
  --btn-primary-fg: #ffffff;
  --btn-primary-bg-hover: #16302f;

  /* Radius scale (locked): containers 24 · inner 14 · interactive pill */
  --r-card: 24px;
  --r-inner: 14px;
  --r-pill: 999px;

  /* Tinted shadows */
  --shadow-sm: 0 2px 10px rgba(14, 70, 66, 0.06);
  --shadow-md: 0 18px 44px -22px rgba(13, 110, 105, 0.30);
  --shadow-lg: 0 44px 100px -46px rgba(13, 110, 105, 0.42);
  --shadow-chip: 0 12px 30px -12px rgba(13, 110, 105, 0.35);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.16s;
  --t-base: 0.28s;

  /* Layout */
  --content: 1200px;
  --content-wide: 1320px;
  --nav-h: 68px;

  /* Type */
  --font-sans: "Outfit", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;

  color-scheme: light;
}

html[data-theme="dark"] {
  --accent: #2ad4cb;
  --accent-2: #34ded4;
  --accent-soft: rgba(42, 212, 203, 0.14);
  --accent-text: #6fe3db;

  --ink: #ecf6f5;
  --text: #a4b6b7;
  --muted: #7a8e8f;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --bg: #071312;
  --bg-2: #08181a;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-solid: #0d1c1c;

  --btn-primary-bg: #ecf6f5;
  --btn-primary-fg: #071312;
  --btn-primary-bg-hover: #ffffff;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 20px 50px -24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 50px 110px -48px rgba(0, 0, 0, 0.7);
  --shadow-chip: 0 14px 34px -12px rgba(0, 0, 0, 0.6);

  color-scheme: dark;
}

/* ── Base ── */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(60% 50% at 78% 4%, rgba(18, 181, 173, 0.10), transparent 70%),
    radial-gradient(52% 44% at 10% 8%, rgba(70, 150, 235, 0.08), transparent 72%);
  background-attachment: fixed;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent-soft); color: var(--accent-text); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--surface-solid); color: var(--ink);
  padding: 10px 16px; border-radius: var(--r-inner);
  box-shadow: var(--shadow-md); transition: top var(--t-base) var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ── Ambient background + grain ── */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient-blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
  will-change: transform;
}
.ambient-blob-a {
  width: 46vw; height: 46vw; top: -12vw; right: -8vw;
  background: radial-gradient(circle, rgba(18, 181, 173, 0.55), transparent 68%);
  animation: drift-a 34s ease-in-out infinite;
}
.ambient-blob-b {
  width: 40vw; height: 40vw; top: 30vh; left: -12vw;
  background: radial-gradient(circle, rgba(74, 150, 240, 0.38), transparent 70%);
  animation: drift-b 40s ease-in-out infinite;
}
.ambient-blob-c {
  width: 34vw; height: 34vw; bottom: -8vw; left: 42vw;
  background: radial-gradient(circle, rgba(18, 181, 173, 0.30), transparent 72%);
  animation: drift-a 46s ease-in-out infinite reverse;
}
html[data-theme="dark"] .ambient-blob { opacity: 0.28; }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-4vw, 3vw) scale(1.08); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, -3vw) scale(1.06); } }

.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
html[data-theme="dark"] .grain { opacity: 0.05; mix-blend-mode: soft-light; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 0.95rem; white-space: nowrap;
  padding: 11px 20px; border-radius: var(--r-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform var(--t-fast) var(--ease),
    background var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.btn i { font-size: 1.15em; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-primary-bg-hover); box-shadow: var(--shadow-md); transform: translateY(-1px); }

.btn-ghost {
  background: var(--surface-2); color: var(--ink);
  border-color: var(--line-strong); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); transform: translateY(-1px); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
  color: var(--accent-text); font-weight: 600; font-size: 0.95rem;
  transition: gap var(--t-base) var(--ease);
}
.text-link i { transition: transform var(--t-base) var(--ease); }
.text-link:hover i { transform: translateX(4px); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; font-size: 1.2rem;
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent-text); }
.icon-btn:active { transform: scale(0.94); }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 0 clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.brand-mark { display: inline-flex; width: 30px; height: 30px; border-radius: 9px; overflow: hidden; box-shadow: var(--shadow-sm); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: var(--r-pill); color: var(--text); font-weight: 500; font-size: 0.95rem;
  transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--surface); }
.nav-links a.is-active { color: var(--accent-text); background: var(--accent-soft); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-icon-sun { display: inline; }
.nav-toggle { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line); padding: 16px clamp(16px, 4vw, 40px) 24px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 14px 12px; border-radius: var(--r-inner); font-size: 1.05rem; font-weight: 500; color: var(--ink); }
.mobile-menu a:hover { background: var(--surface); }
.mobile-menu .mobile-cta { margin-top: 10px; justify-content: center; }

/* ── Layout primitives ── */
main { position: relative; z-index: 1; }
.section {
  position: relative; z-index: 1;
  max-width: var(--content); margin: 0 auto;
  padding: clamp(72px, 11vw, 132px) clamp(16px, 4vw, 40px);
}
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-center { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 800; }
.section-lead { margin-top: 16px; color: var(--text); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 52ch; }
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block; margin-bottom: 16px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.02em; color: var(--accent-text);
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
}

/* ── Hero ── */
.hero {
  position: relative; z-index: 1; max-width: var(--content-wide); margin: 0 auto;
  padding: calc(var(--nav-h) + clamp(28px, 6vw, 72px)) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 80px);
  min-height: 100dvh; display: flex; align-items: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  grid-template-areas:
    "copy art"
    "cta art"
    "strip art";
  align-items: start;
  gap: clamp(20px, 3vw, 36px) clamp(32px, 5vw, 72px);
  min-height: min(calc(100dvh - var(--nav-h) - 80px), 720px);
}

.hero-copy { grid-area: copy; max-width: 560px; align-self: start; }
.hero-art { grid-area: art; grid-row: 1 / -1; align-self: center; position: relative; display: grid; place-items: center; overflow: visible; }
.hero-download-buttons { grid-area: cta; align-self: start; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof-strip {
  grid-area: strip;
  align-self: start;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 40px);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  margin: 0;
  font-size: clamp(2.25rem, 4.8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink);
}

.hero-title-line { display: inline-block; }

.hero-lead {
  margin: 20px 0 0;
  max-width: 32rem;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.75;
  color: var(--text);
}

.hero-download { margin-top: 24px; }

.hero-download-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.hero-download-desc {
  margin: 8px 0 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.hero-download-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 160px;
  height: 72px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-inner);
  text-decoration: none;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface-solid) 88%, var(--bg));
  transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.hero-download-link:hover,
.hero-download-link:focus-visible {
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 24%, transparent);
  box-shadow: 0 6px 16px rgba(18, 181, 173, 0.22);
}

.hero-download-icon { width: 32px; height: 32px; flex-shrink: 0; pointer-events: none; }

.hero-download-label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 400;
  text-align: center;
  pointer-events: none;
}

.hero-qr-pop {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  padding: 10px;
  border-radius: var(--r-inner);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), visibility var(--t-base) var(--ease);
  z-index: 30;
}

.hero-qr-pop img { display: block; width: 100%; height: auto; border-radius: 4px; }

.hero-download-link:hover .hero-qr-pop,
.hero-download-link:focus-visible .hero-qr-pop,
.hero-download-link:focus-within .hero-qr-pop {
  opacity: 1;
  visibility: visible;
}

.hero-proof-strip .proof-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  text-align: left;
}

.hero-proof-strip .proof-value {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero-proof-strip .proof-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.proof-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
  flex-shrink: 0;
}

.hero-art-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: min(100%, 400px);
}

.hero-slogan {
  position: relative;
  z-index: 3;
  width: min(300px, 82%);
  height: auto;
  margin: 0 0 4px;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 12px 28px rgba(13, 110, 105, 0.14));
  pointer-events: none;
}

html[data-theme="dark"] .hero-slogan {
  mix-blend-mode: screen;
  filter: drop-shadow(0 12px 32px rgba(42, 212, 203, 0.16));
}

.hero-showcase {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 380px);
  height: auto;
  margin: 0;
  border-radius: 0;
  filter: drop-shadow(0 28px 56px rgba(13, 90, 86, 0.16));
  pointer-events: none;
  user-select: none;
}

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ── Proof band ── */
.proof {
  position: relative; z-index: 1; max-width: var(--content); margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}
.proof-lead { text-align: center; color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.proof-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md); overflow: hidden;
}
.proof-stat { padding: 28px 24px; text-align: center; border-left: 1px solid var(--line); }
.proof-stat:first-child { border-left: none; }
.proof-value {
  display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.proof-unit { font-size: 0.6em; margin-left: 2px; color: var(--accent-text); }
.proof-label { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--muted); }

/* ── 8 core features grid ── */
.f8-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.f8-item {
  position: relative; padding: clamp(22px, 2.4vw, 30px) clamp(18px, 2vw, 24px);
  border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm); text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.f8-item:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}
.f8-icon {
  display: flex; align-items: center; justify-content: center;
  width: clamp(80px, 8vw, 96px); height: clamp(80px, 8vw, 96px); margin-bottom: 18px;
  background: transparent; border-radius: 0; overflow: visible;
}
.f8-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.f8-item h3 { font-size: 1.18rem; margin-bottom: 6px; }
.f8-item p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

.bento-icon, .point-icon, .fl-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--r-inner); margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent-text); font-size: 1.5rem;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}

/* ── Community (alternating splits) ── */
.community-splits { display: grid; gap: clamp(56px, 8vw, 96px); margin-top: clamp(36px, 5vw, 56px); }
.community-split .split-inner { align-items: center; }
.community-split .split-copy h3 {
  font-size: clamp(1.75rem, 3.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.community-split .split-copy .section-lead { margin-bottom: 28px; }

.cc-flow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 10px; margin-top: 28px;
}
.cc-flow-step {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 0.88rem; font-weight: 600; color: var(--accent-text);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
}
.cc-flow-step i { font-size: 1.1rem; }
.cc-flow-arrow {
  color: var(--muted); font-size: 0.85rem; font-weight: 500;
}

/* ── Split (privacy / wallet) ── */
.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(64px, 10vw, 140px);
  align-items: center;
}
.split-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.split-copy .section-lead { margin-bottom: 32px; }
.split:not(.split-reverse) .split-copy { padding-right: clamp(4px, 1vw, 16px); }
.split.split-reverse .split-copy { padding-left: clamp(4px, 1vw, 16px); }

.feature-list { display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.fl-icon { flex: none; margin-bottom: 0; width: 44px; height: 44px; font-size: 1.35rem; }
.feature-list b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 3px; font-weight: 700; }
.feature-list p { color: var(--text); font-size: 0.96rem; }

.split-visual {
  margin: 0; border-radius: var(--r-card); overflow: hidden; position: relative;
  background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 12%, var(--surface-solid)), var(--surface-solid));
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(20px, 3vw, 40px);
}
.split-visual:has(.channel-phone-stack),
.split-visual:has(.phone-showcase),
.split-visual:has(.wallet-phone-stack),
.split-visual:has(.privacy-phone-stack),
#privacy .split-visual,
.community-split .split-visual:has(> img),
#wallet .split-visual:has(> img) {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  overflow: visible;
  display: flex;
  align-items: center;
}
.split:not(.split-reverse) .split-visual:has(> img),
.split:not(.split-reverse) .split-visual:has(.privacy-phone-stack),
#wallet .split-visual {
  justify-content: flex-end;
}
.split.split-reverse .split-visual:has(> img),
.split.split-reverse .split-visual:has(.privacy-phone-stack),
#privacy .split-visual {
  justify-content: flex-start;
}
.split-visual img { width: 100%; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(13, 90, 86, 0.22)); }
#privacy .split-visual img,
.community-split .split-visual > img,
#wallet .split-visual > img {
  width: auto;
  max-width: min(100%, 252px);
  margin: 0;
  filter: drop-shadow(0 24px 48px rgba(13, 90, 86, 0.18));
}

/* ── Privacy phone stack (vertical stagger, partial overlap) ── */
.privacy-phone-stack {
  position: relative;
  width: min(100%, 210px);
  height: clamp(350px, 48vw, 434px);
  margin: 0;
  flex: none;
}
.privacy-phone-stack::after {
  content: "";
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 0;
  width: 58%;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(18, 181, 173, 0.2), transparent 72%);
  transform: translateX(-50%);
  pointer-events: none;
}
.privacy-phone {
  position: absolute;
  width: 72%;
  height: auto;
  display: block;
  transform-origin: center center;
}
.privacy-phone-back {
  z-index: 1;
  left: 0;
  top: 0;
  transform: rotate(3deg);
  filter: drop-shadow(0 18px 36px rgba(13, 90, 86, 0.14));
}
.privacy-phone-front {
  z-index: 2;
  left: 28%;
  top: 26%;
  transform: rotate(-2deg);
  filter: drop-shadow(0 26px 48px rgba(13, 90, 86, 0.24));
}
@media (prefers-reduced-motion: no-preference) {
  .privacy-phone-back { animation: privacyPhoneFloatBack 10s ease-in-out infinite; }
  .privacy-phone-front { animation: privacyPhoneFloatFront 10s ease-in-out infinite reverse; animation-delay: -2s; }
}
@keyframes privacyPhoneFloatFront {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-8px); }
}
@keyframes privacyPhoneFloatBack {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-6px); }
}

@media (max-width: 760px) {
  .privacy-phone-stack {
    width: min(100%, 180px);
    height: clamp(300px, 82vw, 360px);
  }
  .privacy-phone { width: 72%; }
  .privacy-phone-front { left: 22%; top: 22%; }
  #privacy .split-inner { gap: clamp(40px, 9vw, 52px); }
}

/* ── Testimonials marquee ── */
.testimonials { max-width: none; padding-left: 0; padding-right: 0; }
.testimonials .section-head { padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.quote {
  flex: none; width: 360px; margin: 0; padding: 28px;
  border-radius: var(--r-card); background: var(--surface-2); border: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow-sm);
}
.quote blockquote { margin: 0 0 18px; font-size: 1.05rem; color: var(--ink); line-height: 1.6; }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; }
.quote figcaption b { font-weight: 700; color: var(--ink); }
.quote figcaption span { color: var(--muted); font-size: 0.88rem; }

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.faq-item { padding-top: 24px; border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.faq-item p { color: var(--text); font-size: 1rem; max-width: 46ch; }

/* ── Platform news ── */
.news-status,
.help-status {
  max-width: 720px; margin: 0 auto; text-align: center;
  font-size: 0.95rem; color: var(--muted);
}
.news-list,
.help-list {
  max-width: 720px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.news-item,
.help-item {
  padding: clamp(20px, 2.5vw, 26px) clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.news-item-link,
.help-item-link {
  display: block; text-decoration: none; color: inherit; cursor: pointer;
}
.news-item-link:hover,
.news-item-link:focus-visible,
.help-item-link:hover,
.help-item-link:focus-visible {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}
.news-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px;
}
.news-date {
  font-size: 0.82rem; font-variant-numeric: tabular-nums; color: var(--muted);
}
.news-category,
.help-item-cat {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 0.75rem; font-weight: 600; color: var(--accent-text);
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
.news-category-product { color: #0a807b; background: rgba(18, 181, 173, 0.12); }
.news-category-security { color: #6c5e4d; background: rgba(130, 111, 91, 0.1); }
.news-category-event { color: #586a74; background: rgba(88, 106, 116, 0.1); }
.news-category-ops,
.news-category-default { color: var(--text); background: var(--surface-2); }
html[data-theme="dark"] .news-category-product { color: #6fe3db; background: rgba(42, 212, 203, 0.14); }
html[data-theme="dark"] .news-category-security { color: #ccbca6; background: rgba(130, 111, 91, 0.14); }
html[data-theme="dark"] .news-category-event { color: #b9c4c9; background: rgba(88, 106, 116, 0.14); }
.news-title,
.help-title {
  margin: 0; font-size: 1.12rem; font-weight: 700; line-height: 1.4; color: var(--ink);
}
.news-summary,
.help-summary {
  margin: 10px 0 0; font-size: 0.95rem; line-height: 1.6; color: var(--text);
}
.news-read-more,
.help-read-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 0.9rem; font-weight: 600; color: var(--accent-text);
}
.news-more,
.help-more { max-width: 720px; margin: 28px auto 0; text-align: center; }

/* ── Help center ── */
.help-categories {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; max-width: 720px; margin: 0 auto clamp(24px, 4vw, 36px);
}
.help-cat {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 18px 12px; border-radius: var(--r-inner);
  border: 1px solid var(--line); background: var(--surface-2);
  text-decoration: none; color: inherit; text-align: center;
  transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.help-cat:hover,
.help-cat:focus-visible {
  transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
  box-shadow: var(--shadow-sm);
}
.help-cat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--r-inner);
  background: var(--accent-soft); color: var(--accent-text); font-size: 1.35rem;
}
.help-cat-name { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.help-contact { max-width: 720px; margin: 28px auto 0; }
.help-contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding: clamp(18px, 2.5vw, 24px); border-radius: var(--r-card);
  border: 1px solid var(--line); background: var(--surface-2);
}
.help-contact-item { display: flex; gap: 14px; align-items: flex-start; }
.help-contact-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 42px; height: 42px; border-radius: var(--r-inner);
  background: var(--accent-soft); color: var(--accent-text); font-size: 1.25rem;
}
.help-contact-item b { display: block; font-size: 0.88rem; color: var(--muted); margin-bottom: 4px; }
.help-contact-item a { color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.help-contact-item a:hover { color: var(--accent-text); }
.help-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  max-width: 720px; margin: 0 auto clamp(24px, 4vw, 32px);
}
.help-filter-btn {
  font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  padding: 8px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); transition: background var(--t-base) var(--ease), border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.help-filter-btn:hover { border-color: color-mix(in srgb, var(--accent) 30%, var(--line)); color: var(--accent-text); }
.help-filter-btn.is-active {
  background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 28%, var(--line)); color: var(--accent-text);
}

/* ── Sub pages (news / help) ── */
.sub-page .section { padding-top: calc(var(--nav-h) + 48px); }
.page-hero { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 48px); text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 800; margin: 12px 0; }
.page-hero p { color: var(--text); font-size: 1.05rem; }
.sub-page-actions {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 40px;
}

/* ── Careers ── */
.careers-section {
  max-width: var(--content);
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.job-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
}
.job-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-text);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
}
.job-main h2 {
  margin: 14px 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.job-main p {
  margin: 12px 0 0;
  max-width: 52ch;
  color: var(--text);
  line-height: 1.75;
}
.job-meta {
  display: grid;
  gap: 10px;
}
.job-meta span {
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: var(--r-inner);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.jd-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  margin-top: clamp(20px, 3vw, 28px);
}
.jd-card {
  padding: clamp(22px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface-solid);
  box-shadow: var(--shadow-sm);
}
.jd-card h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
}
.jd-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.jd-card li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  line-height: 1.75;
  font-size: 0.96rem;
}
.jd-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.apply-box p {
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.75;
}
.apply-box a {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-text);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
}
.apply-box a:hover { text-decoration: underline; }

.help-breadcrumb,
.news-breadcrumb {
  max-width: 720px; margin: 0 auto 24px; font-size: 0.9rem; color: var(--muted);
}
.help-breadcrumb a,
.news-breadcrumb a { color: var(--text); text-decoration: none; }
.help-breadcrumb a:hover,
.news-breadcrumb a:hover { color: var(--accent-text); }
.help-detail-article,
.news-detail-article {
  max-width: 720px; margin: 0 auto;
  padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line);
  border-radius: var(--r-card); background: var(--surface-solid); box-shadow: var(--shadow-md);
}
.help-detail-title,
.news-detail-title {
  font-size: clamp(1.6rem, 3vw, 2rem); margin: 10px 0 0; font-weight: 800;
}
.help-detail-content p,
.news-detail-content p { margin: 16px 0 0; color: var(--text); line-height: 1.75; }

/* ── CTA ── */
.cta-panel {
  position: relative; overflow: hidden; border-radius: 32px;
  padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px); align-items: center;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../images/cta-bg.jpg") center / cover no-repeat;
}
.cta-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, color-mix(in srgb, var(--surface-solid) 82%, transparent), color-mix(in srgb, var(--surface-solid) 40%, transparent));
}
html[data-theme="dark"] .cta-panel::after {
  background: linear-gradient(120deg, color-mix(in srgb, #071312 86%, transparent), color-mix(in srgb, #071312 46%, transparent));
}
.cta-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.cta-copy p { margin-top: 14px; color: var(--text); max-width: 44ch; }
.cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.cta-qr { display: flex; gap: 20px; justify-content: flex-end; }
.cta-qr figure { margin: 0; text-align: center; }
.cta-qr img {
  width: 120px; height: 120px; border-radius: var(--r-inner); background: #fff;
  padding: 8px; box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.cta-qr figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--muted); }

/* ── Footer ── */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 80px); }
.footer-inner {
  max-width: var(--content); margin: 0 auto; padding: clamp(48px, 6vw, 72px) clamp(16px, 4vw, 40px) 40px;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px;
}
.footer-tagline { margin-top: 14px; color: var(--muted); }
.footer-business {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.footer-business a {
  color: var(--text);
  text-decoration: none;
  transition: color var(--t-base) var(--ease);
}
.footer-business a:hover { color: var(--accent-text); }
.footer-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col h4 { font-size: 0.85rem; color: var(--muted); font-weight: 600; margin-bottom: 14px; letter-spacing: 0.02em; }
.footer-col a { display: block; padding: 6px 0; color: var(--text); font-size: 0.95rem; transition: color var(--t-base) var(--ease); }
.footer-col a:hover { color: var(--accent-text); }
.footer-legal {
  max-width: var(--content); margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 48px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.footer-legal a { color: var(--muted); }
.footer-legal a:hover { color: var(--accent-text); }
.footer-beian { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.beian-link { display: inline-flex; align-items: center; gap: 6px; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.hero .reveal { transition-delay: 0.05s; }
.hero-title.reveal { transition-delay: 0.12s; }
.hero-lead.reveal { transition-delay: 0.2s; }
.hero-download.reveal { transition-delay: 0.24s; }
.hero-download-buttons.reveal { transition-delay: 0.28s; }
.hero-proof-strip.reveal { transition-delay: 0.32s; }
.hero-art.reveal { transition-delay: 0.18s; }

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .hero {
    min-height: auto;
    align-items: flex-start;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "art"
      "copy"
      "cta"
      "strip";
    min-height: auto;
    gap: clamp(24px, 5vw, 36px);
    text-align: center;
  }
  .hero-art {
    grid-row: auto;
    grid-column: auto;
    align-self: center;
    width: 100%;
    max-height: none;
    margin: 0 auto;
    overflow: visible;
  }
  .hero-art-stack { max-width: min(100%, 320px); }
  .hero-showcase {
    width: min(100%, 300px);
    filter: drop-shadow(0 20px 40px rgba(13, 90, 86, 0.14));
  }
  .hero-copy { max-width: 640px; margin: 0 auto; }
  .hero-copy,
  .hero-download-buttons,
  .hero-proof-strip,
  .split-copy {
    position: relative;
    z-index: 2;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-download-buttons { justify-content: center; }
  .hero-proof-strip { justify-content: center; }
  .hero-proof-strip .proof-item { align-items: center; text-align: center; }
  .split-inner { grid-template-columns: 1fr; gap: clamp(48px, 10vw, 64px); }
  .split:not(.split-reverse) .split-copy,
  .split.split-reverse .split-copy { padding-left: 0; padding-right: 0; }
  .split:not(.split-reverse) .split-visual:has(> img),
  .split:not(.split-reverse) .split-visual:has(.privacy-phone-stack),
  .split.split-reverse .split-visual:has(> img),
  .split.split-reverse .split-visual:has(.privacy-phone-stack),
  #wallet .split-visual,
  #privacy .split-visual { justify-content: center; }
  .split-reverse .split-visual {
    order: -1;
    margin-bottom: 0;
  }
  #privacy .split-visual {
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 8px;
  }
  .privacy-phone-stack {
    width: min(100%, 200px);
    height: clamp(320px, 78vw, 400px);
    margin: 0 auto;
  }
  .f8-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-panel { grid-template-columns: 1fr; }
  .cta-qr { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .proof-stats { grid-template-columns: 1fr 1fr; }
  .proof-stat:nth-child(3), .proof-stat:nth-child(4) { border-top: 1px solid var(--line); }
  .proof-stat:nth-child(3) { border-left: none; }
  .cc-flow-arrow { display: none; }
  .cc-flow { gap: 8px; }
  .faq-grid { grid-template-columns: 1fr; }
  .help-categories { grid-template-columns: repeat(2, 1fr); }
  .job-card,
  .jd-grid { grid-template-columns: 1fr; }
  .help-contact-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .quote { width: 280px; }
  .hero-art-stack { max-width: min(100%, 280px); }
  .hero-showcase { width: min(100%, 260px); }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .ambient-blob { animation: none; }
  .privacy-phone-front, .privacy-phone-back { animation: none !important; }
}

/* ── Screenshot mode (neutralize dvh for full-page capture) ── */
html[data-shot] .hero { min-height: auto; }

/* ── Reduced transparency fallback ── */
@media (prefers-reduced-transparency: reduce) {
  .nav, .btn-ghost, .icon-btn, .f8-item, .proof-stats, .quote { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .surface, .f8-item, .proof-stats { background: var(--surface-solid); }
}
