/* BlackCat SCRM — marketing site styles
   Light theme only. Colours are tokens on :root; the black sections use the --ink tokens. */
:root {
  --bg: #ffffff;
  --bg-2: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #f2f4f9;
  --border: #e3e7f0;
  --border-strong: #cdd3e1;
  --text: #141824;
  --muted: #5b6275;
  --accent: #f4c761;          /* BlackCat logo yellow, for fills */
  --accent-strong: #9a6a06;   /* yellow that reads as text on the background */
  --accent-ink: #1a1405;
  --accent-soft: rgba(244, 199, 97, .2);
  --accent-line: rgba(196, 140, 20, .35);
  --green: #0f9a64;
  --green-soft: rgba(15, 154, 100, .1);
  --green-line: rgba(15, 154, 100, .3);
  --blue: #3461f2;            /* the app's own interface blue, used in product illustrations */
  --blue-soft: rgba(52, 97, 242, .1);
  --header-bg: rgba(255, 255, 255, .84);
  --glow-1: rgba(244, 199, 97, .32);
  --glow-2: rgba(52, 97, 242, .14);
  --grid-line: rgba(20, 24, 36, .055);
  --stage: linear-gradient(160deg, #eaf1ff 0%, #f4f7ff 55%, #fff8e6 100%);
  --illus: linear-gradient(160deg, #f3f6ff, #fbfcff 60%, #fffaf0);
  --cta-bg: linear-gradient(135deg, #fff6df, #eef3ff);
  --cta-border: #efe0b8;
  --gradient-text: linear-gradient(90deg, #b47c0a, #d9a01f 30%, #3461f2 60%, #b47c0a);
  --shadow: 0 24px 60px -24px rgba(30, 45, 90, .25);
  --shadow-sm: 0 6px 20px -10px rgba(30, 45, 90, .2);
  /* Product UI (app mock) colours stay light in both themes, like the real app */
  --ui-bg: #ffffff; --ui-bg-2: #f5f7fb; --ui-border: #e6e9f2; --ui-text: #1f2329; --ui-muted: #8a91a3;
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 650; }
:lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { letter-spacing: 0; }
:lang(zh-Hans) body { line-height: 1.75; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
code { font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px;
}
:lang(zh-Hans) .eyebrow { letter-spacing: .2em; }
.muted { color: var(--muted); }
.text-gradient {
  background: var(--gradient-text); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
  text-decoration: none !important; white-space: nowrap; font-family: inherit; max-width: 100%;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 26px -8px rgba(214, 160, 40, .6); }
.btn--primary:hover { background: #ffd57a; box-shadow: 0 12px 30px -8px rgba(214, 160, 40, .75); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
}
.btn--primary:hover::after { transform: translateX(120%); transition: transform .7s ease; }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .9rem; }
@media (max-width: 620px) { .btn { white-space: normal; text-align: center; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand svg { width: 34px; height: 34px; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover svg { transform: rotate(-8deg) scale(1.08); }
.brand span b { color: var(--accent-strong); font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; color: var(--muted); font-weight: 550; font-size: .95rem; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.lang-switch {
  display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.lang-switch:hover { background: var(--surface-2); border-color: var(--border-strong); text-decoration: none; }

.nav-toggle { display: none; background: var(--surface); border: 1px solid var(--border); color: var(--text); border-radius: 10px; width: 38px; height: 38px; cursor: pointer; }
.nav-toggle svg { margin: auto; }

@media (max-width: 1060px) { .nav-demo { display: none; } }
@media (max-width: 920px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { display: none; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0; padding: 16px 20px 24px;
    background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
  }
  .nav.is-open .nav-links a { display: block; padding: 10px 0; font-size: 1.05rem; }
}
@media (max-width: 480px) {
  .nav-cta .btn--primary { display: none; }
  .brand { font-size: 1.05rem; }
}

/* Hero */
.hero { position: relative; padding: 72px 0 88px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); }
.blob.b1 { width: 520px; height: 420px; left: -120px; top: -80px; background: var(--glow-1); animation: drift1 18s ease-in-out infinite alternate; }
.blob.b2 { width: 520px; height: 460px; right: -140px; top: 120px; background: var(--glow-2); animation: drift2 22s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(140px, 90px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-120px, 60px) scale(.9); } }
.grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.hero-copy .lead { font-size: 1.18rem; color: var(--muted); max-width: 680px; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-copy .hero-actions, .hero-copy .hero-trust { justify-content: center; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; list-style: none; padding: 0; margin: 0; }
.hero-trust li { display: flex; align-items: center; gap: 6px; }
.hero-trust li::before { content: "✓"; color: var(--green); font-weight: 800; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); font-size: .85rem; color: var(--muted); margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--green-line); } 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
/* Hero entrance (runs once on load, from a visible state) */
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: .25; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Hero product demo (animated app mock, see hero-demo.js) ---------- */
.demo {
  position: relative; margin: 56px auto 0; max-width: 1120px; aspect-ratio: 16 / 10; border-radius: 28px;
  background: var(--stage); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden;
  animation: rise 1s .25s cubic-bezier(.2, .7, .2, 1) both;
}
.demo-cam { position: absolute; left: 0; top: 0; width: 1200px; height: 760px; transform-origin: 0 0; transition: transform 1.15s cubic-bezier(.65, 0, .35, 1); will-change: transform; }
.app {
  position: absolute; inset: 0; background: var(--ui-bg); color: var(--ui-text); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(20, 40, 100, .35), 0 0 0 1px rgba(20, 40, 100, .08);
  display: grid; grid-template-rows: 34px 1fr; font-size: 13px; line-height: 1.45; text-align: left;
  font-family: "Segoe UI", system-ui, "Microsoft YaHei", "PingFang SC", sans-serif;
}
.app-title { display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #f7f8fb; border-bottom: 1px solid var(--ui-border); color: var(--ui-muted); font-size: 12px; }
.app-title svg { width: 18px; height: 18px; }
.app-title b { color: var(--ui-text); font-weight: 600; }
.app-title .win { margin-left: auto; display: flex; gap: 16px; font-size: 13px; }
.app-body { display: grid; grid-template-columns: 56px 250px 1fr auto 72px; min-height: 0; }
.app-rail { border-right: 1px solid var(--ui-border); display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 12px 0; }
.app-rail .pi { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.app-rail .pi svg { width: 18px; height: 18px; }
.app-rail .me { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--blue); padding: 2px; }
.app-rail .gear { margin-top: auto; color: var(--ui-muted); }
.app-list { border-right: 1px solid var(--ui-border); padding: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.app-list h5 { margin: 0 0 4px; font-size: 14px; display: flex; justify-content: space-between; }
.app-new { background: #3461f2; color: #fff; border-radius: 8px; text-align: center; padding: 8px; font-weight: 600; font-size: 13px; }
.acc { position: relative; display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--ui-border); border-radius: 10px; transition: background .3s, border-color .3s; }
.acc.on { background: #eef3ff; border-color: #b9c9fb; }
.acc .av { width: 34px; height: 34px; border-radius: 50%; background: #e8eefc; display: grid; place-items: center; flex: none; color: #3461f2; font-weight: 700; font-size: 12px; }
.acc div { min-width: 0; }
.acc strong { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc small { display: flex; align-items: center; gap: 4px; color: var(--ui-muted); font-size: 11.5px; white-space: nowrap; }
.acc small i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.acc .unread { position: absolute; right: 8px; top: 8px; min-width: 18px; height: 18px; border-radius: 9px; background: #f04438; color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; transition: transform .3s; }
.acc .ai-badge { position: absolute; right: 8px; bottom: 8px; font-size: 10px; font-weight: 700; color: #fff; background: #3461f2; border-radius: 5px; padding: 0 5px; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.acc .ai-badge.show { transform: scale(1); }
.app-main { position: relative; min-width: 0; display: grid; }
.app-chat, .app-home { grid-area: 1 / 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; transition: opacity .5s; }
.app-home { opacity: 0; pointer-events: none; padding: 20px 22px; background: var(--ui-bg-2); }
.app-main.home .app-home { opacity: 1; }
.app-main.home .app-chat { opacity: 0; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--ui-border); }
.chat-head .av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #f6a54b, #e8564f); }
.chat-head strong { display: block; font-size: 14px; }
.chat-head small { color: var(--ui-muted); font-size: 11.5px; }
.chat-msgs { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; background: #f4f6fa; justify-content: flex-end; }
.msg { max-width: 72%; padding: 9px 12px; border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); animation: msgIn .45s cubic-bezier(.2, .8, .3, 1.2) both; }
.msg.out { align-self: flex-end; background: #dcf8c6; }
.msg.ai { background: #e4ebff; }
.msg .tr { display: block; margin-top: 6px; padding-top: 6px; border-top: 1px dashed rgba(0, 0, 0, .15); color: #4b5565; font-size: 12px; }
.msg .tag { display: table; margin-bottom: 4px; font-size: 10px; font-weight: 700; color: #fff; background: #3461f2; border-radius: 5px; padding: 0 6px; }
.msg time { display: block; text-align: right; font-size: 10px; color: var(--ui-muted); margin-top: 2px; }
.msg.typing { color: var(--ui-muted); display: flex; gap: 8px; align-items: center; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: #3461f2; animation: dot 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.chat-input { margin: 10px 14px 14px; border: 1px solid var(--ui-border); border-radius: 10px; padding: 8px 10px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.chat-input.focus { border-color: #3461f2; box-shadow: 0 0 0 3px rgba(52, 97, 242, .15); }
.chat-input .hint { font-size: 11px; color: #3461f2; }
.chat-input .row { display: flex; align-items: center; gap: 8px; min-height: 24px; }
.chat-input .typed { flex: 1; font-size: 13px; white-space: nowrap; overflow: hidden; }
.chat-input .typed.caret::after { content: "|"; color: #3461f2; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chat-input .preview { font-size: 11.5px; color: var(--ui-muted); min-height: 16px; }
.chat-input .send { width: 28px; height: 28px; border-radius: 8px; background: #3461f2; display: grid; place-items: center; color: #fff; transition: transform .15s; }
.chat-input .send.press { transform: scale(.85); }
.app-panel { width: 0; overflow: hidden; border-left: 1px solid var(--ui-border); transition: width .6s cubic-bezier(.65, 0, .35, 1); }
.app-panel.open { width: 300px; }
.panel-in { width: 300px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.panel-in h6 { margin: 0; font-size: 14px; display: flex; align-items: center; justify-content: space-between; }
.panel-in label { font-size: 11.5px; color: var(--ui-muted); display: block; margin-bottom: 4px; }
.p-field { border: 1px solid var(--ui-border); border-radius: 8px; padding: 7px 9px; font-size: 12.5px; display: flex; justify-content: space-between; align-items: center; }
.p-field .ok { color: #12a26b; font-weight: 600; font-size: 11.5px; }
.p-field .learning { color: #3461f2; font-size: 11.5px; }
.toggle { width: 34px; height: 20px; border-radius: 10px; background: #d5d9e3; position: relative; transition: background .3s; flex: none; }
.toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .3s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.toggle.on { background: #3461f2; }
.toggle.on::after { transform: translateX(14px); }
.refine { border: 1px solid var(--ui-border); border-radius: 10px; padding: 10px; background: var(--ui-bg-2); display: flex; flex-direction: column; gap: 8px; min-height: 190px; }
.refine .head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.refine .head i { width: 20px; height: 20px; border-radius: 6px; background: #efe9ff; color: #7c4dff; display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 11px; }
.bub { font-size: 12px; padding: 7px 9px; border-radius: 9px; background: #fff; border: 1px solid var(--ui-border); animation: msgIn .45s cubic-bezier(.2, .8, .3, 1.2) both; }
.bub.me { align-self: flex-end; background: #3461f2; color: #fff; border-color: #3461f2; }
.p-save { margin-top: auto; background: #3461f2; color: #fff; border-radius: 8px; padding: 8px; text-align: center; font-weight: 600; font-size: 12.5px; }
.app-tools { border-left: 1px solid var(--ui-border); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 0; }
.tool { width: 60px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; border-radius: 10px; font-size: 10.5px; color: #4b5565; transition: background .3s, color .3s; text-align: center; }
.tool span { width: 30px; height: 30px; border-radius: 8px; background: #eef2fb; color: #3461f2; display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.tool span svg { width: 16px; height: 16px; }
.tool.active { background: #eef3ff; color: #3461f2; }
.tool.active span { background: #3461f2; color: #fff; }
.app-tools .cat { margin-top: auto; width: 38px; height: 38px; }
.home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 14px 0; }
.home-stats div { background: #fff; border: 1px solid var(--ui-border); border-radius: 12px; padding: 14px; }
.home-stats strong { display: block; font-size: 24px; font-variant-numeric: tabular-nums; }
.home-stats small { color: var(--ui-muted); }
.home-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.home-cards div { background: #fff; border: 1px solid var(--ui-border); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center; }
.home-cards i { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.home-cards strong { display: block; font-size: 13px; }
.home-cards small { color: var(--ui-muted); font-size: 11.5px; }
.home-cards em { margin-left: auto; font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #eef2fb; color: #4b5565; white-space: nowrap; }
.home-cards em.ai { background: #e4ebff; color: #3461f2; font-weight: 700; }
.cursor { position: absolute; left: 900px; top: 600px; width: 22px; height: 22px; z-index: 20; pointer-events: none; transition: left .8s cubic-bezier(.5, 0, .2, 1), top .8s cubic-bezier(.5, 0, .2, 1); filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.cursor::after { content: ""; position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: rgba(52, 97, 242, .35); transform: scale(0); opacity: 0; }
.cursor.click::after { animation: clickRing .45s ease-out; }
@keyframes clickRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.demo-caption {
  position: absolute; left: 50%; bottom: 18px; translate: -50% 0; z-index: 30;
  background: rgba(20, 24, 36, .82); color: #fff; font-size: .88rem; font-weight: 600; padding: 7px 16px; border-radius: 999px;
  backdrop-filter: blur(6px); white-space: nowrap; transition: opacity .35s; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}
.demo-caption.hide { opacity: 0; }
@media (max-width: 620px) { .demo { aspect-ratio: 4 / 3.4; border-radius: 18px; margin-top: 40px; } .demo-caption { font-size: .78rem; bottom: 10px; } }

/* Platforms + language marquee */
.platforms { padding: 40px 0 0; border-block: 1px solid var(--border); background: var(--bg-2); overflow: hidden; }
.platforms p { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.platform-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; list-style: none; margin: 0; padding: 0; }
.platform-list li {
  display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--border);
  border-radius: 999px; background: var(--surface); font-weight: 600; font-size: .92rem; transition: transform .2s, border-color .2s;
}
.platform-list li:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.platform-list li i { width: 10px; height: 10px; border-radius: 50%; }
.marquee {
  margin-top: 32px; padding: 18px 0; border-top: 1px solid var(--border); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-size: 1.35rem; font-weight: 700; color: var(--muted); white-space: nowrap; transition: color .2s; }
.marquee-track span:nth-child(3n+1) { color: var(--text); }
.marquee-track span:hover { color: var(--accent-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card::before {  /* spotlight that follows the pointer */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 45%);
}
.card:hover { border-color: var(--border-strong); transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card p { color: var(--muted); margin: 0; }
.card ul { color: var(--muted); margin: 12px 0 0; }
.icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent-strong); border: 1px solid var(--accent-line); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1);
}
.card:hover .icon { transform: rotate(-8deg) scale(1.1); }
.icon svg { width: 22px; height: 22px; }
.icon--green { background: var(--green-soft); color: var(--green); border-color: var(--green-line); }

/* Split feature rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > * { min-width: 0; }
.split + .split { margin-top: 104px; }
.split.reverse > :first-child { order: 2; }
.split h2, .split h3.h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.split p { color: var(--muted); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: "✓"; color: var(--green); font-weight: 800; flex: none; }
.more { display: inline-block; margin-top: 18px; font-weight: 650; }
.more::after { content: " →"; display: inline-block; transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse > :first-child { order: 0; }
  .split + .split { margin-top: 72px; }
}

/* ---------- Feature illustrations (product UI collages, home page) ---------- */
.illus {
  position: relative; min-height: 340px; border-radius: var(--radius-lg); background: var(--illus);
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm);
}
.illus::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--grid-line) 1.2px, transparent 1.2px); background-size: 18px 18px;
}
.pos { position: absolute; z-index: 1; }
.fc {  /* floating UI card */
  position: relative; background: var(--ui-bg); color: var(--ui-text); border: 1px solid var(--ui-border); border-radius: 14px;
  box-shadow: 0 18px 40px -18px rgba(30, 50, 110, .35); padding: 12px 14px; font-size: 12.5px; line-height: 1.45;
  font-family: "Segoe UI", system-ui, "Microsoft YaHei", "PingFang SC", sans-serif;
}
.fc h6 { margin: 0 0 8px; font-size: 12.5px; color: var(--ui-text); display: flex; align-items: center; gap: 6px; }
.fc small { color: var(--ui-muted); }
.bob { animation: bob 6s ease-in-out infinite; }
.bob.d1 { animation-delay: -1.5s; } .bob.d2 { animation-delay: -3s; } .bob.d3 { animation-delay: -4.5s; }
@keyframes bob { 50% { translate: 0 -8px; } }
.reveal-on .illus [data-pop] { opacity: 0; }
.illus.in [data-pop] { animation: pop .55s cubic-bezier(.2, .8, .3, 1.25) both; animation-delay: calc(var(--d, 0) * 160ms + 200ms); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
.pgrid { display: grid; grid-template-columns: repeat(4, 44px); gap: 12px; }
.pgrid i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .35); }
.pgrid i svg { width: 22px; height: 22px; }
.mini-acc { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; background: var(--ui-bg-2); margin-top: 6px; }
.mini-acc i { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.mini-acc b { font-weight: 600; font-size: 12px; }
.mini-acc em { margin-left: auto; font-style: normal; font-size: 10.5px; padding: 1px 7px; border-radius: 999px; background: #fdecec; color: #d92d20; font-weight: 700; }
.mini-acc em.ok { background: #e7f8ef; color: #12a26b; }
.sel { border: 1px solid var(--ui-border); border-radius: 8px; padding: 6px 9px; display: flex; justify-content: space-between; font-size: 12px; }
.opt { padding: 5px 9px; border-radius: 7px; font-size: 12px; display: flex; gap: 6px; align-items: center; }
.opt.cur { background: #eef3ff; color: #3461f2; font-weight: 600; }
.opt i { width: 14px; height: 14px; border-radius: 4px; flex: none; }
.lang-chips { display: flex; gap: 6px; }
.lang-chips span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: #fff; border: 1px solid var(--ui-border); color: #3b4252; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .3); }
.b-in, .b-out { padding: 8px 11px; border-radius: 12px; font-size: 12.5px; max-width: 250px; }
.b-in { background: #fff; border: 1px solid var(--ui-border); }
.b-out { background: #3461f2; color: #fff; }
.b-in .t, .b-out .t { display: block; margin-top: 4px; padding-top: 4px; border-top: 1px dashed currentColor; opacity: .7; font-size: 11.5px; }
.src-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--ui-border); font-size: 12px; font-weight: 600; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .3); color: #3b4252; }
.src-chip i { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 10px; font-weight: 800; }
.bar { height: 8px; border-radius: 4px; background: #e8ecf5; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #3461f2, #12a26b); transition: width 1.8s cubic-bezier(.2, .7, .2, 1) .5s; }
.illus.in .bar i, :not(.reveal-on) .bar i { width: var(--w, 80%); }
.kv { display: flex; justify-content: space-between; font-size: 12px; padding: 4px 0; }
.kv b { font-weight: 600; }
.okc { color: #12a26b; } .bad { color: #d92d20; }
.confirm { display: flex; gap: 8px; margin-top: 8px; }
.confirm span { flex: 1; text-align: center; padding: 6px; border-radius: 8px; font-size: 12px; font-weight: 600; border: 1px solid var(--ui-border); }
.confirm span:first-child { background: #3461f2; color: #fff; border-color: #3461f2; }
.file-chip { display: flex; align-items: center; gap: 10px; }
.file-chip i { width: 36px; height: 44px; border-radius: 6px; background: linear-gradient(160deg, #f4c761, #e0a92a); display: grid; place-items: center; font-style: normal; font-size: 9px; font-weight: 800; color: #1a1405; }
.search { border: 1px solid var(--ui-border); border-radius: 8px; padding: 6px 9px; color: var(--ui-muted); font-size: 12px; }
@media (max-width: 1100px) and (min-width: 921px) { .illus .pos > * { zoom: .85; } }
@media (max-width: 620px) { .illus { min-height: 300px; } .illus .pos > * { zoom: .72; } }
@media (max-width: 400px) { .illus .pos > * { zoom: .64; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .92rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }

/* Steps */
.steps { counter-reset: step; }
.step.card { padding-top: 84px; }
.step.card::after {
  counter-increment: step; content: counter(step);
  position: absolute; top: 28px; left: 28px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; background: var(--accent); color: var(--accent-ink);
}

/* Pricing */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); margin-top: 8px; }
.billing-toggle button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 600;
  padding: 8px 18px; border-radius: 999px; cursor: pointer; transition: background .25s, color .25s;
}
.billing-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.billing-toggle .save { font-size: .75rem; margin-left: 4px; color: var(--green); }
.billing-toggle button[aria-pressed="true"] .save { color: var(--accent-ink); }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1080px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan .ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 1;
  background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.plan h3 { margin-bottom: 4px; }
.plan .plan-desc { color: var(--muted); font-size: .92rem; min-height: 3em; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price strong { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }
.price small { color: var(--muted); font-size: .9rem; }
.price-note { color: var(--muted); font-size: .82rem; min-height: 1.4em; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: .94rem; color: var(--text); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; flex: none; }
.plan li.no { color: var(--muted); }
.plan li.no::before { content: "–"; color: var(--muted); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
thead th { background: var(--surface-2); font-weight: 700; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody tr:hover td, tbody tr:hover th[scope="row"] { background: var(--accent-soft); }
td.yes { color: var(--green); font-weight: 700; }
td.no { color: var(--muted); }
tbody th { font-weight: 600; }
.table-group th { background: var(--bg-2); color: var(--accent-strong); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 650; font-size: 1.05rem;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-strong); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { color: var(--muted); padding-bottom: 20px; }
.faq details[open] .answer { animation: open .35s ease; }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; text-align: center; padding: 64px 28px; border-radius: var(--radius-lg);
  background: var(--cta-bg); border: 1px solid var(--cta-border);
}
.cta-band::before {
  content: ""; position: absolute; width: 560px; height: 300px; left: 50%; top: -150px; translate: -50% 0; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-1), transparent); animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .5; transform: scale(1.15); } }
.cta-band > * { position: relative; }
.cta-band p { color: var(--muted); max-width: 580px; margin: 0 auto 26px; font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: 72px 0 40px; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: -40% 10% auto; height: 420px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-1), transparent);
}
.page-hero p { color: var(--muted); font-size: 1.15rem; max-width: 680px; margin: 0 auto; }
.page-hero > .container > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; justify-content: center; gap: 8px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }

/* Article (guide) */
.article { max-width: 760px; margin: 0 auto; font-size: 1.06rem; }
.article h2 { margin-top: 2em; font-size: 1.7rem; }
.article h3 { margin-top: 1.6em; }
.article p, .article li { color: var(--text); opacity: .88; }
.article .tldr { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); padding: 18px 22px; border-radius: 10px; margin: 0 0 32px; }
.article .tldr p { margin: 0; opacity: 1; }
.article.meta, .article .meta { color: var(--muted); font-size: .9rem; text-align: center; margin-top: 14px; }
.article table { min-width: 560px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 32px; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }

/* Forms */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); }
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hidden { display: none; }
.form-status { font-size: .92rem; color: var(--green); min-height: 1.4em; margin: 0; }

/* Real product screenshots */
.shot {
  margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease;
}
.split .shot:hover, .gallery .shot:hover { transform: translateY(-4px) scale(1.01); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); font-size: .8rem; color: var(--muted); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.shot-bar i:nth-child(1) { background: #ff5f57; } .shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar span { margin-left: 8px; }
.shot img { width: 100%; height: auto; background: #fff; }
.shot figcaption { padding: 12px 16px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--border); }
.shot--panel { max-width: 440px; margin-inline: auto; }
.shot--panel img { max-height: 560px; object-fit: cover; object-position: top; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 560px) { .shot-pair { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 920px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }
.gallery .shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
.note { font-size: .88rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 16px; margin-top: 20px; }

/* Scroll reveal: main.js adds .reveal-on to <html> only when motion is allowed */
.reveal-on [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-on [data-reveal].in { opacity: 1; transform: none; }
.reveal-on .card[data-reveal].in:hover { transform: translateY(-4px); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg-2); margin-top: 96px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--text); opacity: .85; font-size: .95rem; }
.footer-grid p { color: var(--muted); font-size: .92rem; max-width: 340px; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

.center { text-align: center; }
.mt-lg { margin-top: 48px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track span[aria-hidden] { display: none; }
}
.nw { white-space: nowrap; }

/* Hero demo: bulk messaging panel */
.panel-bulk[hidden], .panel-in[hidden] { display: none; }
.bk-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ui-bg-2); border-radius: 8px; padding: 3px; font-size: 12px; text-align: center; color: var(--ui-muted); }
.bk-tabs span { padding: 5px 0; border-radius: 6px; }
.bk-tabs span.on { background: #fff; color: var(--ui-text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.bk-task { border: 1px solid var(--ui-border); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.bk-task small { color: var(--ui-muted); font-size: 11.5px; font-variant-numeric: tabular-nums; }
.bk-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.bk-head em { font-style: normal; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: #e4ebff; color: #3461f2; }
.bk-head em.done { background: #e7f8ef; color: #12a26b; }
.bk-bar { height: 7px; border-radius: 4px; background: #e8ecf5; overflow: hidden; }
.bk-bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #3461f2, #12a26b); border-radius: inherit; transition: width .12s linear; }
.bk-tpl { font-size: 12.5px; padding: 8px 10px; border-radius: 10px; background: #e7f8ef; border: 1px solid #c9eedb; }

/* Developer credit (Transfomind) */
.made-by { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.made-by:hover { color: var(--text); text-decoration: none; }
.made-by svg { width: 16px; height: 16px; color: var(--text); }
.made-by b { color: var(--text); font-weight: 700; letter-spacing: -.02em; }
.made-by b i { font-style: normal; color: #00A19C; }

.dev-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 32px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.dev-band .tm { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--text); }
.dev-band .tm svg { width: 36px; height: 36px; }
.dev-band h2 { font-size: 1.35rem; margin-bottom: .35em; }
.dev-band p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .dev-band { grid-template-columns: 1fr; text-align: left; gap: 16px; } }

/* ---------- Features mega menu: brand card + feature tiles ---------- */
.nav { position: relative; }
.has-mega { display: flex; align-items: center; gap: 2px; }
.mega-btn { display: grid; place-items: center; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; transition: transform .25s, color .2s, background .2s; }
.mega-btn:hover { color: var(--text); background: var(--surface-2); }
.has-mega.open .mega-btn { transform: rotate(180deg); color: var(--text); }
.mega {
  position: absolute; top: calc(100% - 2px); left: 50%; width: min(880px, calc(100vw - 40px));
  display: grid; grid-template-columns: 260px 1fr; gap: 8px; padding: 8px;
  translate: -50% 10px; opacity: 0; visibility: hidden; z-index: 60;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 30px 70px -24px rgba(20, 30, 60, .35);
  transition: opacity .22s, translate .22s, visibility .22s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
@media (hover: hover) and (min-width: 921px) {
  .has-mega:hover .mega { opacity: 1; visibility: visible; translate: -50% 0; }
  .has-mega:hover .mega-btn { transform: rotate(180deg); color: var(--text); }
}
.has-mega.open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; translate: -50% 0; }
.mega-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  padding: 22px; border-radius: 16px; color: #1a1405;
  background: radial-gradient(140px 140px at 100% 0, rgba(255, 255, 255, .55), transparent 70%), linear-gradient(160deg, #f8d77f, #f4c761 55%, #e9b343);
}
.mega-card::after {  /* faint cat watermark */
  content: ""; position: absolute; right: -28px; bottom: -34px; width: 150px; height: 150px; border-radius: 40px;
  background: rgba(26, 20, 5, .07); transform: rotate(-12deg);
}
.mc-logo svg { width: 40px; height: 40px; filter: drop-shadow(0 6px 10px rgba(80, 55, 0, .3)); }
.mega-card b { font-size: 1.12rem; line-height: 1.3; }
.mega-card p { margin: 0; font-size: .84rem; line-height: 1.55; color: rgba(26, 20, 5, .75); }
.mc-stats { display: flex; gap: 6px; margin-top: auto; }
.mc-stats span { flex: 1; padding: 8px 6px; border-radius: 10px; background: rgba(255, 255, 255, .55); font-size: .7rem; text-align: center; line-height: 1.3; }
.mc-stats b { display: block; font-size: 1rem; }
.nav-links .mc-all { position: relative; z-index: 1; display: inline-flex; justify-content: center; padding: 9px 14px; border-radius: 999px; background: #1a1405; color: #fff; font-size: .86rem; font-weight: 650; transition: transform .2s; }
.nav-links .mc-all::after { display: none; }
.nav-links .mc-all:hover { color: #fff; text-decoration: none; transform: translateY(-1px); }
.mega-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px; }
.nav-links .mt { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; color: var(--text); transition: background .2s, transform .2s; }
.nav-links .mt::after { display: none; }
.mt:hover { background: var(--surface-2); text-decoration: none; }
.mt-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 16px -8px var(--mt-c); background: var(--mt-c); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.mt:hover .mt-ic { transform: rotate(-8deg) scale(1.08); }
.mt--blue { --mt-c: #3461f2; } .mt--violet { --mt-c: #7c5cf0; } .mt--amber { --mt-c: #e39b12; }
.mt--ink { --mt-c: #1f2433; } .mt--green { --mt-c: #12a26b; } .mt--teal { --mt-c: #0e9bb0; }

.mt-tx { min-width: 0; }
.mt-tx b { display: flex; align-items: center; gap: 6px; font-size: .95rem; font-weight: 650; color: var(--text); }
.mt-tx b em { font-style: normal; font-size: .66rem; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); border: 1px solid var(--accent-line); white-space: nowrap; }
.mt-tx small { display: block; margin-top: 3px; font-size: .8rem; line-height: 1.45; color: var(--muted); font-weight: 400; }
.mt-go { margin-left: auto; color: var(--muted); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.mt:hover .mt-go { opacity: 1; transform: none; color: var(--text); }
@media (max-width: 920px) {
  .nav.is-open .nav-links { max-height: calc(100vh - 68px); overflow-y: auto; }
  .has-mega { flex-wrap: wrap; width: 100%; }
  .has-mega > a { flex: 1; }
  .mega-btn { width: 36px; height: 36px; }
  .mega, .has-mega:focus-within .mega { position: static; width: 100%; translate: none; opacity: 1; visibility: visible; display: none; box-shadow: none; margin: 4px 0 8px; grid-template-columns: 1fr; border-radius: 16px; }
  .has-mega.open .mega { display: grid; }
  .mega-card { order: 2; padding: 16px; }
  .mega-card p, .mc-logo { display: none; }
  .mega-tiles { grid-template-columns: 1fr; padding: 2px; }
  .nav.is-open .nav-links .mt { display: flex; padding: 10px; }
  .nav.is-open .nav-links .mc-all { display: inline-flex; }
  .mt-go { display: none; }
}

/* ---------- Footer: dark band with download card ---------- */
.site-footer {
  position: relative; overflow: hidden; isolation: isolate; margin-top: 96px; padding: 56px 0 28px;
  background: #0d0f16; color: #c9ccd8; border-top: 0;
  --f-line: rgba(255, 255, 255, .08); --f-muted: #8b90a3; --f-text: #eef0f6;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px 260px at 8% 0%, rgba(244, 199, 97, .16), transparent 70%), radial-gradient(480px 260px at 100% 100%, rgba(52, 97, 242, .14), transparent 70%);
}
.site-footer .brand { color: var(--f-text); }
.site-footer .brand span b { color: #f4c761; }
.ft-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--f-line); }
.ft-brand p { color: var(--f-muted); font-size: .92rem; max-width: 460px; margin: 14px 0 16px; }
.ft-plat { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--f-muted); }
.ft-plat span { margin-right: 4px; }
.ft-plat a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 3px rgba(255, 255, 255, .06); transition: transform .25s; }
.ft-plat a:hover { transform: translateY(-3px); }
.ft-plat svg { width: 17px; height: 17px; }
.ft-dl {
  display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 18px; color: var(--f-text);
  background: linear-gradient(135deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .1);
  transition: border-color .25s, transform .25s, background .25s;
}
.ft-dl:hover { text-decoration: none; border-color: rgba(244, 199, 97, .55); transform: translateY(-2px); background: linear-gradient(135deg, rgba(244, 199, 97, .14), rgba(255, 255, 255, .03)); }
.ft-dl-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #f4c761; color: #1a1405; }
.ft-dl b { display: block; font-size: 1.02rem; }
.ft-dl small { color: var(--f-muted); }
.ft-dl-btn { margin-left: auto; padding: 9px 16px; border-radius: 999px; background: #f4c761; color: #1a1405; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 28px; padding: 40px 0 8px; }
.site-footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--f-muted); margin: 0 0 16px; }
:lang(zh-Hans) .site-footer h4 { letter-spacing: .2em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.site-footer .footer-grid a { position: relative; display: inline-flex; align-items: center; gap: 8px; color: #d5d8e3; opacity: 1; font-size: .93rem; transition: color .2s, transform .2s; }
.site-footer .footer-grid a:hover { color: #fff; text-decoration: none; transform: translateX(3px); }
.fdot { width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--mt-c, #f4c761); }
.fdot--blue { --mt-c: #5b82ff; } .fdot--violet { --mt-c: #9a7cff; } .fdot--amber { --mt-c: #f4c761; } .fdot--ink { --mt-c: #c9ccd8; } .fdot--green { --mt-c: #3ee6a0; } .fdot--teal { --mt-c: #3fd1e0; }
.ft-contact svg { color: #f4c761; flex: none; }
.ft-hours { display: flex; align-items: flex-start; gap: 8px; color: var(--f-muted); font-size: .86rem; line-height: 1.5; }
.ft-hours svg { margin-top: 2px; }
.site-footer .footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--f-line); color: var(--f-muted); font-size: .84rem; }
.ft-tm { flex-basis: 100%; font-size: .78rem; opacity: .75; }
.site-footer .made-by { color: var(--f-muted); padding: 6px 12px; border-radius: 999px; border: 1px solid var(--f-line); }
.site-footer .made-by:hover { color: var(--f-text); border-color: rgba(63, 209, 200, .45); }
.site-footer .made-by svg, .site-footer .made-by b { color: var(--f-text); }
.site-footer .made-by b i { color: #3FD1C8; }
@media (max-width: 920px) { .ft-top { grid-template-columns: 1fr; } .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ft-dl { flex-wrap: wrap; } .ft-dl-btn { margin-left: 64px; } .site-footer .footer-grid { gap: 28px 16px; } }

/* Legal pages */
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; scroll-margin-top: 90px; }
.legal p, .legal li { font-size: 1rem; }
.legal .note { margin-top: 32px; }

/* Feature pages */
.fp-hero { text-align: left; padding-bottom: 72px; }
.fp-hero .breadcrumb ol { justify-content: flex-start; }
.fp-hero p { margin: 0; }
.fp-hero .hero-actions { margin-top: 26px; }
.fp-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.fp-badge { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; margin-bottom: 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-weight: 650; font-size: .9rem; box-shadow: var(--shadow-sm); }
.fp-badge .mt-ic { width: 32px; height: 32px; border-radius: 50%; }
.fp-hero .shot--panel img { max-height: 520px; }
.fp-plans { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; align-items: baseline; margin-top: 36px; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); }
.fp-plans b { font-size: 1rem; white-space: nowrap; }
.fp-plans p { margin: 0; color: var(--muted); }
.fp-others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.fp-other { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.fp-other:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.fp-other .mt-ic { width: 40px; height: 40px; }
.fp-other b { font-size: .95rem; }
@media (max-width: 920px) { .fp-hero { text-align: left; } .fp-others { grid-template-columns: repeat(2, 1fr); } .fp-plans { grid-template-columns: 1fr; } }
:lang(zh-Hans) .fp-hero h1 { word-break: keep-all; }

/* Feature pages: screenshot rows */
.fp-gallery .split + .split { margin-top: 88px; }
.fp-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; margin-bottom: 14px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-strong); font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; }
.fp-row .shot--panel img { max-height: 600px; }
@media (max-width: 920px) { .fp-gallery .split + .split { margin-top: 56px; } }

/* Customer stories: story picker + stage, then two rows of short takes */
.voices { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 85% 0%, var(--glow-2), transparent 60%), radial-gradient(700px 380px at 0% 100%, var(--glow-1), transparent 60%); }
.vc--teal { --vc: #0e9bb0; } .vc--blue { --vc: #3461f2; } .vc--violet { --vc: #7c5cf0; } .vc--amber { --vc: #e39b12; }
   
.vc { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 28px; align-items: stretch; }
.vc-tabs { display: flex; flex-direction: column; gap: 10px; }
.vc-tab {
  position: relative; display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; padding: 16px 18px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text);
  font: inherit; cursor: pointer; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.vc-tab:hover { border-color: var(--border-strong); transform: translateX(3px); }
.vc-tab.on { border-color: color-mix(in srgb, var(--vc) 55%, var(--border)); box-shadow: var(--shadow-sm); transform: translateX(6px); }
.vc-tab::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--vc); transform: scaleY(0); transition: transform .25s; }
.vc-tab.on::before { transform: scaleY(1); }
.vc-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vc-who strong { font-size: .95rem; line-height: 1.3; }
.vc-who small, .vc-panel figcaption small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.vc-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; color: var(--vc, var(--accent-strong)); background: color-mix(in srgb, var(--vc, var(--accent)) 13%, transparent); }
.vc-timer { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--vc); transform: scaleX(0); transform-origin: left; opacity: .7; }
.vc.playing .vc-tab.on .vc-timer { animation: vc-timer var(--vc-ms, 8000ms) linear forwards; }
.vc.paused .vc-tab.on .vc-timer { animation-play-state: paused; }
@keyframes vc-timer { to { transform: scaleX(1); } }

.vc-stage { position: relative; display: grid; }
.vc-panel {
  position: relative; margin: 0; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto 1fr auto auto; column-gap: 32px;
  padding: 40px 40px 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.vc-js .vc-panel { grid-area: 1 / 1; }
.vc-js .vc-panel:not(.on) { visibility: hidden; opacity: 0; }
.vc-js .vc-panel.on { animation: vc-in .5s cubic-bezier(.2, .8, .2, 1); }
.vc-stage .vc-panel + .vc-panel { margin-top: 16px; }
.vc-js .vc-stage .vc-panel + .vc-panel { margin-top: 0; }
@keyframes vc-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }
.vc-panel::after { content: "\201C"; position: absolute; right: 28px; top: -6px; font: 800 9rem/1 Georgia, "Times New Roman", serif; color: var(--vc); opacity: .12; pointer-events: none; }
.vc-feat { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--vc); background: color-mix(in srgb, var(--vc) 11%, transparent); border-radius: 999px; padding: 4px 12px 4px 9px; margin-bottom: 18px; }
.vc-feat svg { width: 15px; height: 15px; }
.vc-av { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; font-size: .88rem; letter-spacing: .02em; color: #fff; background: linear-gradient(135deg, var(--vc, #3461f2), color-mix(in srgb, var(--vc, #3461f2) 55%, #141824)); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px color-mix(in srgb, var(--vc, #3461f2) 35%, transparent); }
.vc-tab .vc-av { width: 38px; height: 38px; }
.vc-note { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 20px; }
.vc-panel blockquote { grid-column: 1; margin: 0; }
.vc-panel blockquote p { font-size: clamp(1.12rem, 1.6vw, 1.38rem); line-height: 1.6; font-weight: 600; letter-spacing: -.005em; }
.vc-panel figcaption { grid-column: 1; display: flex; gap: 12px; align-items: center; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--border); }
.vc-panel figcaption > span:last-child { display: flex; flex-direction: column; }
.vc-more { grid-column: 1; justify-self: start; margin-top: 16px; font-weight: 700; font-size: .92rem; color: var(--vc); }
.vc-more:hover { text-decoration: underline; }

.vc-vis { grid-column: 2; grid-row: 1 / -1; align-self: center; display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: 16px; background: var(--stage); border: 1px solid var(--border); font-size: .88rem; }
.vc-b { max-width: 88%; align-self: flex-start; padding: 9px 12px; border-radius: 12px 12px 12px 4px; background: var(--ui-bg); color: var(--ui-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); line-height: 1.45; }
.vc-b small { display: block; margin-top: 5px; padding-top: 5px; border-top: 1px dashed var(--ui-border); color: #5b6275; font-size: .8rem; }
.vc-b.me { align-self: flex-end; border-radius: 12px 12px 4px 12px; background: #dcf8c6; color: #1f2329; }
.vc-b.me small { color: #4b6a3a; border-color: rgba(0, 0, 0, .1); }
.vc-b.ai { background: #ece7ff; }
.vc-pair, .vc-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, var(--vc) 16%, transparent); color: var(--vc); }
.vc-tag { display: inline-block; margin: 0 6px 4px 0; background: #7c5cf0; color: #fff; }
.vc-src { color: var(--muted); font-size: .78rem; align-self: flex-end; }
.vc-vis--acc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vc-vis--acc li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--ui-bg); color: var(--ui-text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.vc-vis--acc li i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.vc-vis--acc li b { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: #f0453a; color: #fff; font-size: .72rem; display: grid; place-items: center; }
.vc-vis--bulk { background: var(--stage); }
.vc-bk-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.vc-bk-h em { font-style: normal; font-size: .72rem; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.vc-bk-bar { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.vc-bk-bar span { display: block; height: 100%; width: 98%; border-radius: 4px; background: linear-gradient(90deg, var(--vc), #f4c761); }
.vc-panel.on .vc-bk-bar span { animation: vc-fill 1.6s cubic-bezier(.3, .7, .3, 1); }
@keyframes vc-fill { from { width: 0; } }
.vc-vis--bulk small { color: var(--muted); font-variant-numeric: tabular-nums; }

.vc-wall { margin-top: 64px; display: flex; flex-direction: column; gap: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.vc-row { overflow: hidden; }
.vc-row .marquee-track { gap: 16px; animation-duration: 70s; }
.vc-row--rev .marquee-track { animation-direction: reverse; }
.vc-wall:hover .marquee-track { animation-play-state: paused; }
.vc-take { margin: 0; flex: none; width: 340px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.vc-take blockquote { margin: 0; font-size: .93rem; line-height: 1.55; }
.vc-take figcaption { display: flex; align-items: center; gap: 10px; }
.vc-take figcaption > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.vc-take figcaption strong { font-size: .85rem; }
.vc-take figcaption small { color: var(--muted); font-size: .76rem; }
.vc-take .vc-av { width: 32px; height: 32px; font-size: .74rem; }
.vc-bk-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; padding: 3px; border-radius: 9px; background: var(--ui-bg); font-size: .76rem; text-align: center; color: var(--ui-muted); }
.vc-bk-tabs span { padding: 4px 0; border-radius: 6px; }
.vc-bk-tabs span.on { background: color-mix(in srgb, var(--vc) 14%, transparent); color: var(--vc); font-weight: 700; }

@media (max-width: 1000px) {
  .vc-panel { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr; padding: 32px 26px 26px; }
  .vc-panel figcaption { display: none; }
  .vc-vis { grid-column: 1; grid-row: auto; align-self: start; margin-top: 22px; }
  .vc-more { margin-top: 20px; align-self: end; }
}
@media (max-width: 760px) {
  .vc { grid-template-columns: 1fr; gap: 18px; }
  .vc-tabs { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 6px; margin: 0 -2px; scrollbar-width: none; }
  .vc-tabs::-webkit-scrollbar { display: none; }
  .vc-tab { flex: 0 0 78%; scroll-snap-align: start; padding: 12px 14px; }
  .vc-tab:hover, .vc-tab.on { transform: none; }
  .vc-take { width: 290px; }
  .vc-tab::before { top: auto; left: 14px; right: 14px; bottom: 0; width: auto; height: 3px; border-radius: 3px 3px 0 0; transform: scaleX(0); }
  .vc-tab.on::before { transform: scaleX(1); }
  .vc-panel::after { font-size: 6.5rem; right: 16px; }
  .vc-wall { margin-top: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .vc-row .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 16px; }
  .vc-take[aria-hidden] { display: none; }
  .vc-wall { -webkit-mask-image: none; mask-image: none; }
}
.vc-play { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; }
.vc-play:hover { color: var(--text); border-color: var(--border-strong); }
@media (max-width: 760px) { .vc-play { display: none; } }

/* Platforms page */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pf-more { margin-top: 14px; font-size: .9rem; font-weight: 600; }
.pf-icons { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 22px 0 6px; padding: 0; }
.pf-icons li { display: flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--muted); }
.pf-icons i, .pf-head i, .pf-th i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; }
.pf-icons svg, .pf-head svg, .pf-th svg { width: 18px; height: 18px; }
.pf-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.pf-card { display: flex; flex-direction: column; gap: 12px; }
.pf-head { display: flex; align-items: center; gap: 12px; }
.pf-head i { width: 42px; height: 42px; }
.pf-head svg { width: 24px; height: 24px; }
.pf-head h3 { margin: 0; font-size: 1.1rem; }
.pf-tier { align-self: flex-start; font-size: .74rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.pf--full .pf-tier { background: var(--green-soft); color: var(--green); }
.pf--chat .pf-tier { background: var(--blue-soft); color: var(--blue); }
.pf--inbox .pf-tier { background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); }
.pf-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.pf-card p strong { color: var(--text); font-weight: 600; }
.pf-table { position: relative; }  /* keeps the absolutely positioned .sr-only labels inside the scroll area */
.pf-table table { min-width: 860px; }
.pf-table th, .pf-table td { text-align: center; vertical-align: middle; }
.pf-table th[scope="row"], .pf-table thead th:first-child { text-align: left; }
.pf-th { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; font-size: .82rem; }
.pf-table th[scope="row"] { position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 210px; }
.pf-table thead th:first-child { position: sticky; left: 0; z-index: 2; }
.pf-al { font-size: .82rem; font-weight: 600; color: var(--text); }
.pf-note { margin-top: 14px; color: var(--muted); font-size: .85rem; text-align: center; }
.pf-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 18px; }
.pf-list li { display: flex; flex-direction: column; gap: 3px; padding-left: 18px; border-left: 3px solid var(--accent); }
.pf-list li span { color: var(--muted); }

/* Screenshot lightbox */
.shot { position: relative; }
.shot .zoomable { cursor: zoom-in; }
.shot .zoomable:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.shot:has(.zoomable)::after {
  content: ""; position: absolute; top: 50px; right: 12px; width: 34px; height: 34px; border-radius: 10px; pointer-events: none;
  background: rgba(20, 24, 36, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s;
}
.shot:has(.zoomable):hover::after, .shot:has(.zoomable:focus-visible)::after { opacity: 1; transform: none; }
@media (hover: none) { .shot:has(.zoomable)::after { opacity: .85; transform: none; width: 30px; height: 30px; } }
html.lb-open { overflow: hidden; }
.lb { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; overflow: hidden; }
.lb::backdrop { background: rgba(8, 10, 16, .88); backdrop-filter: blur(4px); }
.lb[open] { display: grid; place-items: center; animation: lb-in .25s ease; }
@keyframes lb-in { from { opacity: 0; } }
.lb-fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 56px 76px 24px; box-sizing: border-box; }
.lb-img { max-width: min(1500px, 100%); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); animation: lb-zoom .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes lb-zoom { from { transform: scale(.94); opacity: 0; } }
.lb-cap { display: flex; gap: 14px; align-items: baseline; justify-content: center; flex-wrap: wrap; max-width: 900px; text-align: center; font-size: .92rem; color: rgba(255, 255, 255, .86); }
.lb-count { color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; font-size: .82rem; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb.single .lb-prev, .lb.single .lb-next { display: none; }
@media (max-width: 620px) {
  .lb-fig { padding: 60px 10px 20px; }
  .lb-img { max-height: calc(100dvh - 170px); border-radius: 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; width: 42px; height: 42px; }
  .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); }
  .lb-cap { padding-bottom: 52px; }
}

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.post-cover { display: block; aspect-ratio: 1200 / 630; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-cover img { transform: scale(1.03); }
.post-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.post-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-strong); }
.post-body b { font-size: 1.08rem; line-height: 1.35; }
.post-body small { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.post-meta { margin-top: auto; padding-top: 6px; color: var(--muted); font-size: .8rem; }
.post-hero h1 { max-width: 900px; margin-inline: auto; }
.post-hero h1:lang(zh) { word-break: keep-all; }
.post-hero p { max-width: 720px; margin-inline: auto; }
.post .post-cover-fig { margin: 0 0 28px; }
.post .post-fig { margin: 26px 0; }
.post .post-fig figcaption em { font-style: normal; font-weight: 600; color: var(--text); }
.post-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; align-items: start; }
.post-pair .post-fig { margin: 0; }
.post-pair .post-fig img { max-height: 620px; object-fit: cover; object-position: top; }
.post ul, .post ol { padding-left: 1.3em; }
.post li { margin: 6px 0; }
.post h2 { scroll-margin-top: 90px; }
.post .faq { margin-top: 16px; }
.post .table-wrap { margin: 20px 0; }
.sources li { font-size: .92rem; }
.kb-template { margin: 18px 0 24px; padding: 20px 22px; border-radius: var(--radius); background: #141824; color: #e8ebf3; font: .86rem/1.65 "JetBrains Mono", ui-monospace, Consolas, monospace; overflow-x: auto; white-space: pre-wrap; }
.kb-template:lang(zh), :lang(zh) .kb-template { font-family: "JetBrains Mono", ui-monospace, Consolas, "Microsoft YaHei", "PingFang SC", monospace; }
.post-related { margin-top: 40px; padding: 18px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.post-related ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.post-related li { margin: 0; opacity: 1; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } .post-pair { grid-template-columns: 1fr; } .post-pair .post-fig img { max-height: none; } }
.kb-template code { background: none; color: inherit; padding: 0; border: 0; border-radius: 0; font: inherit; white-space: inherit; }

/* ---------- Design refresh ---------- */
/* Prices read as prices, not body text */
.price strong { color: var(--text); }

/* Footer sits straight under the last section */
.site-footer { margin-top: 0; }

/* Platform chips with real logos */
.platform-list li { padding: 8px 16px 8px 8px; gap: 10px; }
.platform-list li i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.platform-list li svg { width: 17px; height: 17px; }

/* Numbers in one card with dividers */
.stats { padding: 30px 12px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); gap: 0; }
.stat { padding: 4px 16px; }
.stat + .stat { border-left: 1px solid var(--border); }
.stat strong { background: var(--gradient-text); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 720px) {
  .stats { row-gap: 22px; padding: 24px 8px; }
  .stat:nth-child(3) { border-left: 0; }
}

/* Use cases with icons */
.uc { display: flex; flex-direction: column; gap: 4px; }
.uc-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 12px; color: var(--mt-c); background: color-mix(in srgb, var(--mt-c) 12%, transparent); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.uc:hover .uc-ic { transform: translateY(-3px) rotate(-6deg); }

/* Dark band for rhythm: How it works */
.section--ink { background: #0f121b; color: #eef0f6; isolation: isolate; overflow: hidden; }
.section--ink::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(600px 300px at 15% 0%, rgba(244, 199, 97, .16), transparent 70%), radial-gradient(600px 320px at 90% 100%, rgba(52, 97, 242, .2), transparent 70%); }

.section--ink .eyebrow { color: #f4c761; }
.section--ink .section-head p { color: #a2a8ba; }
.section--ink .steps { position: relative; }
.section--ink .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 48px; height: 2px; background: linear-gradient(90deg, #f4c761, #6b8cff); opacity: .6; }
.section--ink .step.card { background: #171b28; border-color: rgba(255, 255, 255, .09); box-shadow: none; }
.section--ink .step.card:hover { border-color: rgba(244, 199, 97, .45); }
.section--ink .step.card h3 { color: #fff; }
.section--ink .step.card p { color: #a2a8ba; }
.section--ink .step.card::after { box-shadow: 0 0 0 6px #171b28, 0 0 24px rgba(244, 199, 97, .45); }
.section--ink .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 199, 97, .1), transparent 45%); }
@media (max-width: 920px) { .section--ink .steps::before { display: none; } }

/* A bolder call to action */
.cta-band { background: linear-gradient(135deg, #ffe39a 0%, #f4c761 48%, #f7b955 100%); border: 0; color: #1a1405; box-shadow: 0 30px 70px -30px rgba(214, 160, 40, .7); }
.cta-band::before { background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent); }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(26, 20, 5, .14) 1px, transparent 1.2px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000); mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000); }
.cta-band h2 { color: #1a1405; }
.cta-band p { color: rgba(26, 20, 5, .74); }
.cta-band .btn--primary { background: #141824; color: #fff; box-shadow: 0 10px 26px -10px rgba(20, 24, 36, .6); }
.cta-band .btn--primary:hover { background: #000; }
.cta-band .btn--ghost { background: rgba(255, 255, 255, .55); border-color: rgba(26, 20, 5, .16); color: #1a1405; }
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, .8); }

/* Section headings: a little larger and tighter */
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: -.025em; }
.section-head { margin-bottom: 52px; }
@media (max-width: 620px) {
  .step.card { padding: 20px 20px 20px 76px; }
  .step.card::after { top: 20px; left: 20px; }
  .step.card h3 { margin-bottom: .3em; }
  .uc { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; align-items: start; }
  .uc-ic { grid-row: span 2; margin: 0; }
  .uc h3 { margin: 2px 0 4px; }
  .uc p { margin: 0; }
}
.post > .post-fig--narrow { max-width: 420px; margin-inline: auto; }
/* Phrase tables in blog posts (language label + text): no forced width, label on one line */
.post .tpl table { min-width: 0; }
.post .tpl th[scope="row"] { white-space: nowrap; width: 1%; color: var(--accent-strong); font-size: .85rem; }

/* =====================================================================
   Design v2: black opening, rounded black/white sheets, thin display type
   ===================================================================== */
:root { --ink: #07080c; --ink-2: #11141c; --ink-line: rgba(255, 255, 255, .09); --ink-text: #eef0f6; --ink-muted: #969cac; --sheet-r: 44px; }

/* Black opening screen on the home page */
.hero { background: var(--ink); color: var(--ink-text); padding-bottom: calc(96px + var(--sheet-r)); }
.hero .grid-bg { background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); }
.hero .blob.b1 { background: rgba(244, 199, 97, .2); }
.hero .blob.b2 { background: rgba(107, 140, 255, .16); }
.hero .badge { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #b9becb; box-shadow: none; }
.hero .lead { color: var(--ink-muted); }
.hero .hero-trust { color: #8a91a3; }
.hero .btn--primary { box-shadow: 0 0 0 1px rgba(244, 199, 97, .4), 0 12px 40px -10px rgba(244, 199, 97, .65); }
.hero .btn--ghost { background: rgba(255, 255, 255, .03); color: #fff; border-color: rgba(244, 199, 97, .4); box-shadow: inset 0 0 18px -6px rgba(244, 199, 97, .45), 0 0 26px -10px rgba(244, 199, 97, .6); }
.hero .btn--ghost:hover { background: rgba(244, 199, 97, .08); border-color: rgba(244, 199, 97, .7); }
.hero .demo { background: linear-gradient(160deg, #151a28, #0d1017 60%, #1b170d); border-color: var(--ink-line); box-shadow: 0 50px 140px -50px rgba(244, 199, 97, .3), 0 0 0 1px rgba(255, 255, 255, .03); }

/* Thin display headline, lines fading from grey to white, with glowing icons inside */
.h-fade { font-size: clamp(2.5rem, 6.6vw, 5.6rem); font-weight: 500; line-height: 1.02; letter-spacing: -.05em; margin-bottom: .45em; }
.h-fade:lang(zh-Hans) { letter-spacing: -.02em; line-height: 1.12; font-weight: 600; }
.h-fade > span { display: block; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .04em; }
.h-fade .hl1 { background-image: linear-gradient(180deg, #2c303b, #6c7282); }
.h-fade .hl2 { background-image: linear-gradient(180deg, #555b6a, #a6abb8); }
.h-fade .hl3 { background-image: linear-gradient(180deg, #d6d9e1, #fff 70%); }
.h-chips { display: inline-flex; vertical-align: -.06em; margin: 0 .08em 0 .14em; }
.h-chips i { width: .7em; height: .7em; border-radius: 50%; display: inline-grid; place-items: center; margin-left: -.2em; box-shadow: 0 0 0 .055em var(--ink); animation: chip-bob 4s ease-in-out infinite; }
.h-chips i:nth-child(2) { animation-delay: .25s; } .h-chips i:nth-child(3) { animation-delay: .5s; }
.h-chips svg { width: .42em; height: .42em; }
@keyframes chip-bob { 50% { transform: translateY(-.06em); } }
.h-glow { display: inline-grid; place-items: center; width: .82em; height: .82em; vertical-align: -.08em; margin: 0 .06em; border-radius: .22em; color: #ffd36e;
  background: radial-gradient(circle, rgba(244, 199, 97, .28), transparent 70%); filter: drop-shadow(0 0 .14em rgba(244, 199, 97, .85)); animation: glow-pulse 3.2s ease-in-out infinite; }
.h-glow svg { width: .6em; height: .6em; stroke-width: 2.4; }
@keyframes glow-pulse { 50% { filter: drop-shadow(0 0 .3em rgba(244, 199, 97, 1)); transform: rotate(-6deg) scale(1.06); } }

/* Sheets: big rounded panels that slide over the one before */
.sheet { position: relative; border-radius: var(--sheet-r) var(--sheet-r) 0 0; margin-top: calc(-1 * var(--sheet-r)); }
.sheet--light { background: var(--bg); }
.sheet--dark { background: var(--ink); color: var(--ink-text); padding-bottom: var(--sheet-r); }
.sheet--light > .platforms:first-child { padding-top: 64px; border-top: 0; background: transparent; }

.sheet--dark .section--alt, .sheet--dark .section--ink { background: transparent; border: 0; }
.sheet--dark .section-head h2, .sheet--dark h3 { color: #fff; }
.sheet--dark .section-head p { color: var(--ink-muted); }
.sheet--dark .eyebrow { color: #f4c761; }
.sheet--dark a:not(.btn) { color: #f4c761; }
.sheet--dark .card { background: var(--ink-2); border-color: var(--ink-line); box-shadow: none; }
.sheet--dark .card p { color: var(--ink-muted); }
.sheet--dark .card:hover { border-color: rgba(244, 199, 97, .35); }
.sheet--dark .card::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 199, 97, .09), transparent 45%); }
.sheet--dark .shot { background: var(--ink-2); border-color: var(--ink-line); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); }
.sheet--dark .shot figcaption { color: var(--ink-muted); border-color: var(--ink-line); }
.sheet--dark .price strong { color: #fff; }
.sheet--dark .price span { color: var(--ink-muted); }
.sheet--dark .plan.featured { border-color: rgba(244, 199, 97, .6); box-shadow: 0 0 0 1px rgba(244, 199, 97, .25), 0 30px 80px -40px rgba(244, 199, 97, .45); }
.sheet--dark .step.card { background: #11141e; }

/* Section headings: lighter, larger, with one highlighted phrase */
.section-head h2 { font-weight: 560; letter-spacing: -.035em; font-size: clamp(2rem, 4.3vw, 3.15rem); line-height: 1.12; }
.section-head h2:lang(zh-Hans) { letter-spacing: -.01em; font-weight: 650; }
.hl { background: linear-gradient(90deg, #b47c0a, #e0a51f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sheet--dark .hl { background: linear-gradient(90deg, #f4c761, #ffe39a); -webkit-background-clip: text; background-clip: text; }

/* Statement that lights up word by word */
.manifesto { padding: 40px 0 72px; }
.manifesto .lit { margin: 18px 0 0; max-width: 1000px; font-size: clamp(1.45rem, 3.1vw, 2.45rem); line-height: 1.38; font-weight: 520; letter-spacing: -.02em; color: var(--text); }
.manifesto .lit:lang(zh-Hans) { letter-spacing: 0; line-height: 1.6; }
.lit .w { opacity: .16; transition: opacity .35s ease; }
.lit .w.on { opacity: 1; }

/* Header turns dark over black areas */
.site-header { transition: background .35s, border-color .35s, box-shadow .35s; }
.site-header.on-dark { background: rgba(7, 8, 12, .72); border-bottom-color: rgba(255, 255, 255, .06); box-shadow: none; }
.site-header.on-dark .brand { color: #fff; }
.site-header.on-dark .lang-switch, .site-header.on-dark .nav-toggle { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }
.site-header.on-dark .btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .16); }
@media (min-width: 921px) {
  .site-header.on-dark .nav-links a, .site-header.on-dark .mega-btn { color: #a2a8ba; }
  .site-header.on-dark .nav-links a:hover, .site-header.on-dark .nav-links a[aria-current="page"] { color: #fff; }
  .site-header.on-dark .mega a:not(.mc-all), .site-header.on-dark .mega a:not(.mc-all):hover { color: var(--text); }
  .site-header.on-dark .nav-links .mc-all { color: #fff; }
}

/* Inner pages: black header band, then a light sheet slides over it */
.page-hero { background: var(--ink); color: var(--ink-text); padding-bottom: calc(56px + var(--sheet-r)); }
.page-hero::before { background: radial-gradient(closest-side, rgba(244, 199, 97, .2), transparent); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 50% 0%, #000 20%, transparent 75%); }
.page-hero h1 { color: #fff; }
.page-hero p, .page-hero .article.meta, .page-hero .meta { color: var(--ink-muted); }
.page-hero .breadcrumb, .page-hero .breadcrumb a { color: #8a91a3; }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .eyebrow { color: #f4c761; }
.page-hero .fp-badge { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #fff; box-shadow: none; }
.page-hero .shot { border-color: var(--ink-line); box-shadow: 0 40px 120px -50px rgba(244, 199, 97, .35); }
.page-hero .shot-bar { background: #161a24; border-color: var(--ink-line); color: #8a91a3; }
.page-hero .btn--ghost { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .18); }
.page-hero .btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.page-hero .billing-toggle { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.page-hero .billing-toggle button { color: #a2a8ba; }
.page-hero .billing-toggle button[aria-pressed="true"] { color: var(--accent-ink); }
.page-hero + section { position: relative; border-radius: var(--sheet-r) var(--sheet-r) 0 0; margin-top: calc(-1 * var(--sheet-r)); background: var(--bg); }
.page-hero + .section--alt { background: var(--bg-2); }

@media (max-width: 760px) {
  :root { --sheet-r: 28px; }
  .manifesto { padding: 24px 0 48px; }
}
@media (prefers-reduced-motion: reduce) { .lit .w { opacity: 1; } }
.hero-copy { max-width: 1120px; }
.site-footer { border-radius: var(--sheet-r) var(--sheet-r) 0 0; margin-top: calc(-1 * var(--sheet-r)); }
.site-header.on-dark { background: rgba(7, 8, 12, .94); }
.h-fade:lang(zh-Hans) { word-break: keep-all; }
@media (max-width: 520px) {
  .h-fade:lang(zh-Hans) { font-size: 2.15rem; }
  .h-fade { font-size: 2.6rem; }
}
@media (max-width: 620px) { .post-hero h1:lang(zh-Hans) { word-break: normal; overflow-wrap: anywhere; font-size: 1.85rem; } }

/* Website AI assistant (assets/js/chat.js) */
.bcc-btn { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 8px; border: 0; border-radius: 999px;
  background: #141824; color: #fff; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; box-shadow: 0 0 0 1px rgba(244, 199, 97, .35), 0 14px 36px -10px rgba(20, 24, 36, .6); transition: transform .2s, box-shadow .2s; }
.bcc-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(244, 199, 97, .6), 0 18px 40px -10px rgba(244, 199, 97, .55); }
.bcc-btn svg { width: 34px; height: 34px; }
.bcc-open .bcc-btn { display: none; }
.bcc { position: fixed; right: 20px; bottom: 20px; z-index: 95; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 40px)); display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 30px 80px -20px rgba(20, 24, 36, .45); overflow: hidden; animation: bcc-in .25s cubic-bezier(.2, .8, .2, 1); }
.bcc[hidden] { display: none; }
@keyframes bcc-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.bcc-head { display: flex; align-items: center; gap: 10px; padding: 12px 10px 12px 14px; background: #141824; color: #fff; }
.bcc-head > svg { width: 34px; height: 34px; flex: none; }
.bcc-head div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.bcc-head b { font-size: .95rem; }
.bcc-head small { color: #a2a8ba; font-size: .74rem; line-height: 1.35; }
.bcc-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: #c9cdd8; cursor: pointer; }
.bcc-icon:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.bcc-log { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-2); overscroll-behavior: contain; }
.bcc-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: .92rem; line-height: 1.55; overflow-wrap: anywhere; }
.bcc-msg p { margin: 0; } .bcc-msg p + p, .bcc-msg ul + p, .bcc-msg p + ul { margin-top: 6px; }
.bcc-msg ul { margin: 0; padding-left: 1.15em; } .bcc-msg li { margin: 2px 0; }
.bcc-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.bcc-me { align-self: flex-end; background: #141824; color: #fff; border-bottom-right-radius: 4px; }
.bcc-err { color: #9a3412; background: #fff7ed; border-color: #fed7aa; }
.bcc-msg a { font-weight: 650; }
.bcc-dots { color: var(--muted); display: flex; align-items: center; gap: 4px; }
.bcc-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-strong); animation: bcc-dot 1s infinite ease-in-out; }
.bcc-dots i:nth-child(2) { animation-delay: .15s; } .bcc-dots i:nth-child(3) { animation-delay: .3s; margin-right: 4px; }
@keyframes bcc-dot { 50% { opacity: .25; transform: translateY(-3px); } }
.bcc-tips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 14px 10px; background: var(--bg-2); }
.bcc-tips[hidden] { display: none; }
.bcc-tips button { border: 1px solid var(--accent-line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .82rem; cursor: pointer; }
.bcc-tips button:hover { background: var(--accent-soft); }
.bcc-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.bcc-form textarea { flex: 1; resize: none; max-height: 120px; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 12px; font: inherit; font-size: .92rem; color: var(--text); background: var(--surface); line-height: 1.45; }
.bcc-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.bcc-send { flex: none; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; cursor: pointer; }
.bcc-send:disabled { opacity: .5; cursor: wait; }
.bcc-foot { display: flex; flex-direction: column; gap: 2px; padding: 0 14px 10px; background: var(--surface); font-size: .72rem; color: var(--muted); }
.bcc-foot a { font-weight: 700; font-size: .8rem; }
@media (max-width: 560px) {
  .bcc { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
  .bcc-btn { right: 14px; bottom: 14px; padding-right: 14px; font-size: .88rem; }
  .bcc-btn svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .bcc, .bcc-dots i { animation: none; } }
.gallery--4 { grid-template-columns: repeat(4, 1fr); align-items: start; }
@media (max-width: 1100px) { .gallery--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery--4 { grid-template-columns: 1fr; } }

/* "New in this version" */
a.badge { text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.hero a.badge:hover { color: #fff; border-color: rgba(244, 199, 97, .55); background: rgba(244, 199, 97, .1); }
.new-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink) !important; letter-spacing: .08em; }
.lead-sm { color: var(--muted); font-size: 1.08rem; }
.shot--tall { max-width: 460px; justify-self: center; width: 100%; }
.shot--tall img { max-height: 640px; object-fit: cover; object-position: center 38%; }
#new, #notes { scroll-margin-top: 90px; }
