:root {
  --color-bg: #ffffff;
  --color-surface: #f6f8fa;
  --color-mist: #f4f6f8;
  --color-soft: #f7f7f7;
  --color-text: #36353a;
  --color-muted: #7d7d7d;
  --color-line: #e1e1e1;
  --color-accent: #fe655d;
  --color-ink: #1a1a1a;
  --color-ink-strong: #000000;
  --color-dark-button: #2f2d2c;
  --font-display: "Poppins", "Inter", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  --gradient-stage: linear-gradient(90deg, rgba(137, 231, 246, .8) 0%, rgba(189, 215, 248, .8) 13.9%, rgba(114, 144, 235, .8) 29.1%, rgba(205, 133, 247, .8) 39.9%, rgba(233, 167, 231, .8) 51.8%, rgba(220, 99, 92, .8) 65.6%, rgba(219, 89, 98, .8) 77.7%, rgba(228, 128, 85, .8) 96.9%);
  --gradient-pill: linear-gradient(90deg, #d297ff 0%, #fe655d 100%);
  --motion: .24s cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-bg); font-family: var(--font-body); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html[lang="zh-CN"] {
  --font-display: "Poppins", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --font-body: "Inter", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-break: strict;
}
html[lang="ja-JP"] {
  --font-display: "Poppins", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-body: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  line-break: strict;
}
html[lang="zh-CN"] .section h2,
html[lang="ja-JP"] .section h2,
html[lang="zh-CN"] .explain-head h2,
html[lang="ja-JP"] .explain-head h2 { letter-spacing: -0.02em; word-break: keep-all; }
body { margin: 0; min-height: 100vh; color: var(--color-text); background: var(--color-bg); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.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; }
.shell { width: min(1320px, calc(100% - 80px)); margin: 0 auto; }
@media (max-width: 760px) { .shell { width: calc(100% - 40px); } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: #ffffffd1; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 64px; }
.brand img { height: 18px; width: auto; }
.nav-center { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--color-ink-strong); white-space: nowrap; transition: background .15s ease; }
.nav-link:hover { background: var(--color-surface); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.signup { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px; border: 1px solid var(--color-line); border-radius: 999px; font-size: 16px; font-weight: 600; color: var(--color-ink-strong); }
.signup:hover { background: var(--color-surface); }
.start-wrap { position: relative; display: inline-flex; min-width: 134px; height: 44px; }
.start-glow { position: absolute; z-index: 0; top: 2px; left: 0; width: 49px; height: 42px; border-radius: 120px; background: #2f2d2c; box-shadow: 0 2px 20px #fe655d4d; pointer-events: none; }
.start-glow::before, .start-glow::after { content: ""; position: absolute; top: 0; height: 42px; border-radius: 120px; background: #2f2d2c; }
.start-glow::before { left: 43px; width: 56px; box-shadow: 0 2px 24px #9d57ff66; }
.start-glow::after { left: 88px; width: 39px; box-shadow: 0 2px 20px #56a1ff66; }
.start { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 134px; height: 44px; padding: 0 18px; border-radius: 60px; overflow: hidden; background: #000; color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap; box-shadow: inset 2px 4px 6px #ffffff80; }
@media (max-width: 1080px) { .nav-center { display: none; } }
@media (max-width: 760px) {
  .nav { min-height: 60px; }
  .signup { display: none; }
  .start-wrap, .start { min-width: 118px; height: 40px; }
  .start { font-size: 14px; }
  .start-glow { inset: 0; width: 100%; height: 100%; }
  .start-glow::before, .start-glow::after { display: none; }
}

/* ---------- hero ---------- */
.shell-wide { width: min(1348px, calc(100% - 80px)); margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .shell-wide { width: calc(100% - 24px); } }
.hero { position: relative; margin-top: 24px; min-height: 540px; border-radius: 32px; overflow: hidden; display: flex; justify-content: center; text-align: center; isolation: isolate; background: #1a1411; }
.hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .42) 55%, rgba(0, 0, 0, .7) 100%); }
@keyframes pan { from { transform: scale(1.04); } to { transform: scale(1.12) translate3d(1%, -1%, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-media { animation: none; } html { scroll-behavior: auto; } }
.hero-copy { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 22px; max-width: 820px; padding: 96px 24px 192px; color: #fff; }
.hero-eyebrow { font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #ffb4ae; }
.hero h1 { font-family: var(--font-display); font-size: clamp(28px, 3.6vw, 48px); font-weight: 600; line-height: 1.25; color: #fff; text-wrap: balance; }
.hero-cta { display: inline-flex; align-items: center; justify-content: center; min-width: min(268px, 100%); max-width: 100%; min-height: 56px; margin-top: 6px; padding: 0 32px; white-space: nowrap; border-radius: 53px; color: #000; background: #fff; font-size: clamp(15px, 1.35vw, 18px); font-weight: 600; letter-spacing: -.01em; transition: transform var(--motion); }
.hero-cta:hover { transform: translateY(-1px); }
@media (max-width: 760px) {
  .hero { min-height: 480px; border-radius: 24px; margin-top: 12px; }
  .hero-copy { padding: 72px 18px 156px; gap: 18px; }
}

/* ---------- prompt card ---------- */
.prompt-card {
  position: relative; z-index: 2; width: min(760px, calc(100% - 40px)); margin: -150px auto 0; padding: 14px 14px 12px;
  border-radius: 22px; background: rgba(255, 255, 255, .97); box-shadow: 0 3.6px 21.5px rgba(0, 0, 0, .24); backdrop-filter: blur(18px);
}
.prompt-uploads { display: flex; align-items: flex-end; gap: 10px; }
.slot-wrap { position: relative; }
.slot {
  position: relative; display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; overflow: hidden; cursor: pointer;
  border-radius: 14px; border: 1px dashed #cfcfcf; background: var(--color-mist); color: #9a9a9a; font-size: 24px; transition: border-color var(--motion), background var(--motion);
}
.slot:hover, .slot.is-dragover { border-color: var(--color-accent); background: #fff4f3; }
.slot.has-photo { border-style: solid; border-color: transparent; }
.slot-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.slot-tag { position: absolute; left: 6px; bottom: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 10px; font-weight: 600; line-height: 16px; }
.slot-remove { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; background: #2f2d2c; color: #fff; font-size: 13px; line-height: 20px; }
.prompt-count { margin-left: 2px; font-size: 12px; color: var(--color-muted); }
.prompt-text { margin: 14px 4px 0; font-size: 14px; line-height: 1.6; color: var(--color-ink); }
.slot-error { margin: 8px 4px 0; font-size: 12px; color: #d93d35; }
.prompt-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.prompt-uploads { position: relative; container-type: inline-size; justify-content: center; align-items: center; --slot-max-h: 220px; }
.prompt-uploads .slot-wrap { flex: none; }
/* Height shrinks for wide photos so two slots always fit side by side (50cqw minus half the gap). */
.prompt-uploads .slot {
  --slot-ratio: 3 / 4; --slot-r: .75;
  --slot-h: min(var(--slot-max-h), calc((50cqw - 5px) / var(--slot-r)));
  height: var(--slot-h); width: calc(var(--slot-h) * var(--slot-r)); aspect-ratio: var(--slot-ratio); font-size: 28px;
}
.prompt-uploads .slot-preview { object-fit: cover; object-position: 50% 50%; }
.prompt-uploads .slot-tag { left: 10px; bottom: 10px; font-size: 11px; padding: 2px 8px; }
.prompt-count { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); z-index: 1; padding: 2px 8px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
@media (max-width: 760px) { .prompt-uploads { --slot-max-h: 170px; } }
.prompt-options { display: flex; flex-wrap: wrap; gap: 6px; }
.option-pill { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; color: var(--color-text); white-space: nowrap; }
.option-pill.is-clickable { background: var(--color-surface); font-weight: 500; }
.option-pill.is-clickable:hover { background: #eceff2; }
.model-dot { width: 12px; height: 12px; border-radius: 50%; background: conic-gradient(#89e7f6, #7290eb, #cd85f7, #dc635c, #89e7f6); }
.badge-new { padding: 0 5px; border-radius: 4px; background: #ffe45c; color: #000; font-size: 10px; font-weight: 600; line-height: 16px; }
.prompt-generate { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-shrink: 0; min-width: 152px; height: 42px; padding: 0 18px; border-radius: 12px; background: #2f2d2c; color: #fff; font-size: 15px; font-weight: 600; box-shadow: inset 2px 4px 6px rgba(255, 255, 255, .18); transition: opacity var(--motion); }
.prompt-generate:hover { background: #000; }
.prompt-generate .spinner { width: 14px; height: 14px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.generate-hint { margin: 8px 4px 0; text-align: right; font-size: 11.5px; color: var(--color-muted); }
@media (max-width: 760px) {
  .prompt-card { margin-top: -120px; }
  .prompt-bar { flex-direction: column; align-items: stretch; }
  .prompt-generate { width: 100%; }
  .generate-hint { text-align: center; }
  .prompt-text { font-size: 13px; }
}

/* ---------- sections ---------- */
.section { padding-top: 138px; }
.section h2, .platform-copy h2 { max-width: 760px; font-family: var(--font-display); font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.12; letter-spacing: -.03em; color: var(--color-ink); text-wrap: balance; }
.explain-head h2 { max-width: 720px; }
.explain-intro {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start;
  gap: 24px 40px; margin-top: 28px;
}
.explain-copy { min-width: 0; }
.explain-copy p { max-width: 560px; margin-top: 0; font-size: 16px; line-height: 1.7; color: var(--color-muted); }
.mv-card { width: 300px; max-width: 100%; justify-self: end; }
.mv-watch { position: absolute; inset: 0; display: block; }
.mv-card .case-media .mv-watch img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.mv-play {
  position: absolute; inset: 0; z-index: 1; display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .38) 100%);
  color: #fff; pointer-events: none;
}
.mv-play span {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0, 0, 0, .62); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35);
  font-size: 16px; line-height: 1;
}
.mv-credit {
  margin: 0; padding: 12px 16px 14px; font-size: 14px; font-weight: 500;
  line-height: 1.5; color: var(--color-muted);
}
.mv-credit a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.mv-credit a:hover { color: var(--color-accent); }
.explain-sub { margin-top: 40px; font-family: var(--font-display); font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; color: var(--color-ink); }
.explain-steps { list-style: none; padding: 0; }
.explain-steps.control-grid { margin-top: 24px; }
.explain-steps .control-card { min-height: 0; padding: 28px 28px 32px; }
.explain-steps .control-card .checklist-title { margin: 0 0 14px; }
.explain-step-title {
  margin: 0; font-family: var(--font-display); font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 600; color: var(--color-ink);
}
.explain-steps .explain-step-title + p { margin-top: 12px; }
.explain-steps .control-card a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 3px; }
.explain-steps .control-card a:hover { color: var(--color-accent); }
.wide-heading { max-width: 780px; }
@media (max-width: 760px) {
  .section { padding-top: 88px; }
  .explain-intro { grid-template-columns: 1fr; margin-top: 24px; }
  .explain-copy p { max-width: none; }
  .mv-card { width: 100%; justify-self: stretch; }
  .explain-steps .control-card { padding: 24px 22px 26px; }
}

.ways-grid, .control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
@media (max-width: 960px) { .ways-grid, .control-grid { grid-template-columns: 1fr; } }
.way-card { position: relative; height: 230px; border-radius: 30px; background: var(--color-mist); overflow: hidden; }
.way h3 { margin-top: 22px; font-family: var(--font-display); font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; color: var(--color-ink); }
.way p { margin-top: 10px; font-size: 15.5px; line-height: 1.7; color: var(--color-muted); }

.vis-bubble { position: absolute; top: 18px; left: 28px; right: 28px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 16px; border-radius: 10px; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .06); font-size: 13px; color: var(--color-ink); z-index: 1; }
.way-submit { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 8px; background: #2f2d2c; color: #fff; font-size: 13px; }
.vis-pair { position: absolute; left: 50%; bottom: 0; display: flex; gap: 10px; transform: translateX(-50%); }
.vis-pair img { width: 104px; height: 132px; object-fit: cover; object-position: 50% 10%; border-radius: 14px 14px 0 0; }
.vis-swap { display: flex; align-items: center; justify-content: center; gap: 10px; height: 100%; padding: 0 20px; }
.vis-swap figure { position: relative; margin: 0; flex: 1; max-width: 170px; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 20px rgba(0, 0, 0, .08); }
.vis-swap img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.vis-swap figcaption { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 11px; }
.swap-arrow { flex: 0 0 auto; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .08); font-size: 14px; color: var(--color-ink); }
.vis-tracks { display: flex; flex-direction: column; justify-content: center; gap: 14px; height: 100%; padding: 0 0 0 20px; }
.track { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 10px; font-size: 12px; color: var(--color-muted); }
.lane { position: relative; height: 30px; border-radius: 6px 0 0 6px; background: #eceff2; }
.lane i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .45) 0 2px, transparent 2px 5px); }
.t-coral { background-color: #ffb08f; }
.t-violet { background-color: #d7b1ff; }
.t-mint { background-color: #8ee6c9; }

/* ---------- creator tabs ---------- */
.creator-section { padding-top: 170px; }
@media (max-width: 760px) { .creator-section { padding-top: 100px; } }
.creator-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 60px; align-items: start; }
.creator-tabs { display: grid; gap: 10px; }
.creator-tabs button { position: relative; height: 104px; padding: 0 42px; border-radius: 24px; background: var(--color-soft); text-align: left; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--color-ink); transition: background var(--motion); }
.creator-tabs button:hover { background: #f0f0f0; }
.creator-tabs button:focus, .creator-tabs button:focus-visible { outline: none; }
.creator-tabs button:focus-visible:not([aria-selected="true"]) { box-shadow: inset 0 0 0 2px #d9d9d9; }
.creator-tabs button[aria-selected="true"] { background: #fff; box-shadow: inset 0 0 0 1px var(--color-line), 0 4px 20px rgba(0, 0, 0, .06); }
.creator-stage { position: relative; }
.creator-panel { position: relative; aspect-ratio: 16 / 9; border-radius: 36px; overflow: hidden; background: #ddd; }
.panel-pair { display: grid; grid-template-columns: 1fr 1fr; width: 100%; height: 100%; }
.panel-pair img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.creator-panel::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
.panel-copy { position: absolute; left: 36px; right: 36px; bottom: 32px; z-index: 1; color: #fff; }
.panel-copy h3 { font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px); font-weight: 600; }
.panel-copy p { max-width: 560px; margin-top: 8px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.use-prompt { position: absolute; top: 24px; right: 24px; z-index: 1; display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px; background: #fff; color: #000; font-size: 13px; font-weight: 500; transition: transform var(--motion); }
.use-prompt:hover { transform: translateY(-1px); }
@media (max-width: 960px) {
  .creator-layout { grid-template-columns: 1fr; gap: 20px; }
  .creator-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
  .creator-tabs::-webkit-scrollbar { display: none; }
  .creator-tabs button { flex: 0 0 auto; height: 48px; padding: 0 18px; border-radius: 16px; text-align: center; font-size: 14px; white-space: nowrap; }
}
@media (max-width: 760px) {
  .creator-panel { aspect-ratio: 4 / 5; border-radius: 24px; }
  .panel-copy { left: 20px; right: 20px; bottom: 20px; }
  .use-prompt { top: 16px; right: 16px; }
}

/* ---------- control cards ---------- */
.control-card { display: flex; flex-direction: column; min-height: 460px; padding: 40px 40px 0; border-radius: 30px; background: var(--color-soft); overflow: hidden; }
.control-card h3 { font-family: var(--font-display); font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; color: var(--color-ink); }
.control-card > p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--color-text); }
.vis-positions { position: relative; margin-top: auto; margin-bottom: 40px; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.vis-positions img { width: 100%; height: 100%; object-fit: cover; }
.pos { position: absolute; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #000; font-family: var(--font-display); font-weight: 700; box-shadow: 0 0 0 6px rgba(255, 255, 255, .35); transform: translateY(-50%); }
.pos-l { left: 28%; }
.pos-r { left: 70%; }
.vis-animate { position: relative; display: flex; justify-content: center; gap: 12px; margin-top: auto; padding-bottom: 40px; }
.vis-animate img { width: 42%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 10%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); animation: bob 2.4s ease-in-out infinite; }
.vis-animate img:last-child { animation-delay: -1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .vis-animate img { animation: none; } }
.vis-checklist { display: flex; flex-direction: column; gap: 14px; margin-top: auto; padding: 28px 0 40px; }
.checklist-title { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); }
.checklist { display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px; border-radius: 14px; background: #fff; box-shadow: 0 4px 20px rgba(0, 0, 0, .05); font-size: 15px; font-weight: 500; color: var(--color-ink); }
.checklist em { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 600; }
.checklist .is-off span { color: #9a9a9a; text-decoration: line-through; text-decoration-color: #c9c9c9; }
.checklist .is-off em { background: var(--color-surface); color: #9a9a9a; }
.checklist .is-on { box-shadow: inset 0 0 0 1.5px var(--color-accent), 0 6px 24px rgba(254, 101, 93, .18); }
.checklist .is-on em { background: var(--color-accent); color: #fff; }
.pool { margin-top: 6px; }
.pool p { font-size: 13px; font-weight: 500; color: var(--color-text); }
.pool-bar { display: flex; gap: 4px; height: 10px; margin-top: 10px; }
.pool-bar i { border-radius: 999px; }
.p-video { flex: 5; background: #ffb08f; }
.p-voice { flex: 3; background: #d7b1ff; }
.p-image { flex: 2; background: #8ee6c9; }
.pool-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12px; color: var(--color-muted); }
.pool-legend li { display: inline-flex; align-items: center; gap: 6px; }
.pool-legend b { width: 8px; height: 8px; border-radius: 50%; }
.dot-video { background: #ffb08f; }
.dot-voice { background: #d7b1ff; }
.dot-image { background: #8ee6c9; }
@media (max-width: 760px) { .control-card { min-height: 0; padding: 28px 24px 0; } .vis-positions { margin-top: 28px; margin-bottom: 24px; } .vis-animate { margin-top: 28px; padding-bottom: 24px; } }

/* ---------- platform ---------- */
.platform-section { display: grid; grid-template-columns: minmax(0, 571px) minmax(0, 629px); justify-content: space-between; gap: 20px; align-items: center; padding-top: 164px; }
.platform-copy h2 { font-size: clamp(28px, 3.2vw, 40px); }
.platform-copy p { max-width: 460px; margin-top: 24px; font-size: 16px; line-height: 1.7; color: var(--color-text); }
.platform-button { display: inline-flex; align-items: center; justify-content: center; width: min(328px, 100%); min-height: 55px; margin-top: 44px; padding: 0 32px; border-radius: 16px; background: var(--color-dark-button); color: #fff; font-size: 18px; font-weight: 600; box-shadow: inset 2px 4px 6px rgba(255, 255, 255, .18); }
.platform-map { position: relative; aspect-ratio: 629 / 460; -webkit-mask: radial-gradient(ellipse at center, #000 45%, transparent 78%); mask: radial-gradient(ellipse at center, #000 45%, transparent 78%); }
.grid-line { position: absolute; background: #e6e6e6; }
.grid-line.h { left: 0; right: 0; height: 1px; }
.grid-line.v { top: 0; bottom: 0; width: 1px; }
.platform-node { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: #cfcfcf; color: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background var(--motion); }
.platform-node:hover { background: #b9b9b9; }
.platform-node.is-active { background: var(--gradient-pill); box-shadow: 0 6px 24px rgba(254, 101, 93, .35); }
@media (max-width: 960px) {
  .platform-section { grid-template-columns: 1fr; padding-top: 100px; }
  .platform-node { height: 32px; padding: 0 12px; font-size: 13px; }
}

/* ---------- FAQ ---------- */
.faq-section { padding-top: 148px; }
.faq-heading { text-align: center; font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 40px); font-weight: 600; color: var(--color-ink); }
.faq-list { display: grid; gap: 16px; max-width: 1080px; margin: 48px auto 0; }
.faq-list details { border: 1px solid var(--color-line); border-radius: 24px; transition: background var(--motion); }
.faq-list details[open] { background: var(--color-mist); border-color: transparent; }
.faq-list summary { display: flex; align-items: center; gap: 22px; min-height: 84px; padding: 0 40px; font-size: 16px; font-weight: 600; color: var(--color-ink-strong); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid #b9b9b9; border-radius: 50%; color: #9a9a9a; font-size: 16px; font-weight: 400; line-height: 1; }
.faq-list details[open] summary { min-height: 0; padding-top: 30px; }
.faq-list details[open] summary::before { content: "−"; }
.faq-list details p { padding: 14px 40px 30px 84px; font-size: 15px; line-height: 1.7; color: var(--color-text); }
@media (max-width: 760px) {
  .faq-section { padding-top: 96px; }
  .faq-list summary { min-height: 68px; padding: 0 20px; gap: 14px; font-size: 15px; }
  .faq-list details[open] summary { padding-top: 22px; }
  .faq-list details p { padding: 10px 20px 22px 56px; font-size: 14px; }
}

/* Yue2-style quiet About / author disclosure under FAQ */
.page-about {
  width: min(1080px, 100%);
  margin: 28px auto 0;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
}
.page-about-summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--motion), background-color var(--motion);
}
.page-about-summary::-webkit-details-marker { display: none; }
.page-about-summary:hover,
.page-about[open] .page-about-summary { color: var(--color-text); background: var(--color-surface); }
.page-about-chevron { display: inline-flex; width: 12px; height: 12px; color: currentColor; transition: transform .34s cubic-bezier(.22, 1, .36, 1); }
.page-about-chevron svg { width: 12px; height: 12px; }
.page-about[open] .page-about-chevron { transform: rotate(180deg); }
.page-about-body { padding: 10px 0 4px; text-align: left; }
.page-about-inner { width: min(680px, 100%); margin: 0 auto; }
.page-about-eyebrow {
  margin: 0 0 6px;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.page-about-heading {
  margin: 0 0 10px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}
.about-facts { margin: 0; display: grid; gap: 12px; }
.about-facts dt { margin: 0 0 4px; color: var(--color-muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.about-facts dd { margin: 0; color: var(--color-muted); font-size: 13px; line-height: 1.55; }
.about-facts a { color: var(--color-text); text-decoration: underline; text-underline-offset: 2px; }
.about-facts a:hover { color: var(--color-accent); }

/* ---------- CTA ---------- */
.cta-wrap { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 107px; }
.cta { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; min-width: 220px; height: 98px; padding: 0 56px; border-radius: 24px; background: var(--color-dark-button); color: #fff; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; box-shadow: inset 2px 4px 6px rgba(255, 255, 255, .22), 0 10px 30px rgba(0, 0, 0, .18); transition: transform var(--motion); }
.cta:hover { transform: translateY(-2px); }
.cta-glow { width: 100%; height: 269px; margin-top: 87px; background: var(--gradient-stage); filter: blur(60px); opacity: .7; }
@media (max-width: 760px) {
  .cta-wrap { padding-top: 64px; }
  .cta { height: 76px; padding: 0 32px; border-radius: 20px; }
  .cta-glow { height: 200px; margin-top: 50px; }
}

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 1; margin-top: -174px; min-height: 480px; padding: 88px 0 69px; border-top-left-radius: 136px; border-top-right-radius: 136px; background: #fff; }
.footer-grid { display: grid; grid-template-columns: 166px 1fr; gap: 80px; align-items: start; }
.lang-label { font-size: 18px; font-weight: 500; line-height: 36px; color: var(--color-text); }
.lang-picker { position: relative; margin-top: 12px; }
.lang-trigger { display: flex; align-items: center; justify-content: space-between; width: 166px; height: 48px; padding: 6px 16px; border: 1px solid var(--color-line); border-radius: 18px; background: #fff; font-size: 16px; color: var(--color-text); }
.chev { color: #b9b9b9; transition: transform .2s ease; }
.lang-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-dropdown { position: absolute; bottom: calc(100% + 8px); left: 0; min-width: 200px; padding: 6px; border: 1px solid var(--color-line); border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .1); z-index: 5; }
.lang-dropdown a { display: block; padding: 8px 10px; border-radius: 10px; font-size: 15px; color: var(--color-text); }
.lang-dropdown a:hover { background: var(--color-surface); }
.lang-dropdown a.is-active { font-weight: 600; color: var(--color-accent); background: rgba(254, 101, 93, .08); }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 68px; row-gap: 32px; }
.footer-col-group { display: flex; flex-direction: column; gap: 31px; }
.col-heading { margin-bottom: 17px; font-size: 20px; font-weight: 600; line-height: 28px; color: var(--color-text); }
.footer-col a { display: block; font-size: 16px; line-height: 32px; color: var(--color-text); }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 96px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 14px; color: var(--color-text); }
.footer-legal a:hover { color: var(--color-accent); }
.footer-brand img { height: 28px; width: auto; }
.socials { display: flex; gap: 28px; font-size: 24px; color: var(--color-ink); }
.socials a:hover { color: var(--color-accent); }
@media (max-width: 960px) {
  .site-footer { border-top-left-radius: 64px; border-top-right-radius: 64px; padding-top: 64px; }
  .footer-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { justify-content: flex-start; column-gap: 48px; }
}
@media (max-width: 760px) {
  .site-footer { margin-top: -120px; border-top-left-radius: 40px; border-top-right-radius: 40px; padding: 48px 0 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 56px; }
  .footer-legal { gap: 12px 20px; }
}

/* ---------- cases ---------- */
.cases-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.cases-head p { max-width: 460px; font-size: 16px; line-height: 1.7; color: var(--color-muted); }
.cases-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.case-card { display: flex; flex-direction: column; border-radius: 30px; background: var(--color-mist); overflow: hidden; }
.case-media { position: relative; aspect-ratio: 16 / 9; background: #e9e4df; }
.case-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-tag { position: absolute; top: 16px; left: 16px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12.5px; font-weight: 600; color: var(--color-ink); }
.case-body { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px 28px; }
.case-body h3 { font-family: var(--font-display); font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; color: var(--color-ink); }
.case-body p { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--color-muted); }
.case-cta { flex-shrink: 0; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--color-dark-button); color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; box-shadow: inset 2px 4px 6px rgba(255, 255, 255, .18); transition: transform var(--motion); }
.case-cta:hover { transform: translateY(-1px); }
@media (max-width: 960px) { .cases-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .case-card { border-radius: 24px; }
  .case-body { flex-direction: column; align-items: flex-start; padding: 20px 20px 24px; }
}

/* ---------- sound toggles ---------- */
.sound-toggle { position: absolute; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; background: rgba(0, 0, 0, .38); color: #fff; font-size: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: background var(--motion), transform var(--motion); }
.sound-toggle:hover { background: rgba(0, 0, 0, .55); transform: scale(1.04); }
.sound-toggle .icon-sound { display: none; }
.sound-toggle[aria-pressed="true"] .icon-sound { display: block; }
.sound-toggle[aria-pressed="true"] .icon-muted { display: none; }
.hero-sound { top: 24px; right: 24px; }
.case-sound { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 18px; }
@media (max-width: 760px) { .hero-sound { top: 14px; right: 14px; width: 40px; height: 40px; font-size: 18px; } }
