:root {
  --bg: #fbfbfd;
  --bg-soft: #f3f2fb;
  --surface: #ffffff;
  --text: #16151d;
  --muted: #5d5b6c;
  --line: #e6e4f0;
  --accent: #665dfb;
  --accent-2: #7950ff;
  --accent-soft: #ecebff;
  --accent-text: #4b41e0;
  --dark: #1b1a24;
  --on-dark: #ffffff;
  --shadow: 0 1px 2px rgba(22, 21, 40, .05), 0 12px 32px rgba(60, 50, 160, .10);
  --radius: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0f14;
    --bg-soft: #16151f;
    --surface: #1b1a25;
    --text: #f1f0f7;
    --muted: #a6a4b8;
    --line: #2b2a38;
    --accent: #7d76ff;
    --accent-soft: #24223d;
    --accent-text: #aaa5ff;
    --dark: #f1f0f7;
    --on-dark: #14131b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0f14; --bg-soft: #16151f; --surface: #1b1a25; --text: #f1f0f7; --muted: #a6a4b8;
  --line: #2b2a38; --accent: #7d76ff; --accent-soft: #24223d; --accent-text: #aaa5ff;
  --dark: #f1f0f7; --on-dark: #14131b; --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Malgun Gothic", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(28px, 4vw, 40px); }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.kicker { color: var(--accent-text); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 22px; border-radius: 12px; font-weight: 600; text-decoration: none;
  transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, .shot:focus-visible, summary:focus-visible, .nav a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(102, 93, 251, .22); }
.btn-primary:hover { box-shadow: 0 6px 16px rgba(102, 93, 251, .3); }
.btn-dark { background: var(--dark); color: var(--on-dark); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn-sm svg { width: 16px; height: 16px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand img { border-radius: 7px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 14px; }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }

.lang { position: relative; font-size: 15px; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 8px; border-radius: 8px; color: var(--muted); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: var(--text); background: var(--bg-soft); }
.lang ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  min-width: 200px; max-height: min(70vh, 560px); overflow: auto;
}
.lang li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.lang li a:hover { background: var(--bg-soft); }
.lang li a[aria-current] { color: var(--accent-text); font-weight: 600; background: var(--accent-soft); }

/* Hero */
.hero {
  text-align: center; padding: 72px 0 8px; overflow: hidden;
  background: radial-gradient(900px 420px at 50% -60px, var(--accent-soft), transparent 70%);
}
.hero h1 { font-size: clamp(36px, 6.4vw, 64px); font-weight: 800; }
.rotate {
  display: grid; justify-items: center; margin: 8px auto 0; font-size: clamp(30px, 5.4vw, 54px); font-weight: 800; line-height: 1.25;
}
.rotate span {
  grid-area: 1 / 1; padding-bottom: .08em; color: var(--accent);
  transition: opacity .45s, transform .45s, visibility .45s;
}
.rotate span:not(:first-child), .rotate.on span { opacity: 0; visibility: hidden; transform: translateY(12px); }
.rotate.on span.show { opacity: 1; visibility: visible; transform: none; }
.rotate.on span.leave { opacity: 0; visibility: hidden; transform: translateY(-12px); }
@media (prefers-reduced-motion: reduce) { .rotate span { transition: none; } }
.hero-sub { max-width: 640px; margin: 22px auto 0; color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.badges { display: flex; gap: 12px 28px; justify-content: center; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges svg { color: var(--accent); }

/* Screenshots */
.shot {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: var(--surface); box-shadow: var(--shadow); cursor: zoom-in;
}
.shot img { width: 100%; transition: transform .3s; }
.shot:hover img { transform: scale(1.012); }

/* Features */
.features { padding: 104px 0 40px; text-align: center; }

/* Feature showcase: a tool list and a looping animated sketch of the selected tool.
   Every scene runs on one clock (--d); percentages below are points in that loop. */
.showcase { --d: 7s; display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; margin-top: 48px; text-align: left; }
.showcase > * { min-width: 0; }
.show-visual { margin: 0; }
.show-list { display: grid; gap: 6px; }
.show-item {
  position: relative; overflow: hidden; display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 16px 18px;
  border: 1px solid transparent; border-radius: 14px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.show-item:hover { background: var(--bg-soft); }
.show-item.on { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.show-item.on::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.show-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.show-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.show-text b { display: block; font-size: 17px; }
.show-text span { display: block; color: var(--muted); font-size: 15px; margin-top: 2px; }
.show-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.showcase.auto .show-item.on .show-bar { animation: show-progress var(--d) linear forwards; }
@keyframes show-progress { to { transform: scaleX(1); } }

.browser { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }
.browser-address { flex: 1; margin-right: 46px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font: 12px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; text-align: center; }
.show-cap { display: grid; margin: 16px 0 0; color: var(--muted); font: 12.5px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; text-align: center; }
.show-cap span { grid-area: 1 / 1; opacity: 0; transition: opacity .3s; }
.show-cap span.on { opacity: 1; }

/* The stage scales with its width: 1cqw = 1% of it. */
.show-stage { --skel: color-mix(in srgb, var(--text) 12%, transparent); position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: inline-size; background: var(--bg); }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.scene.on { opacity: 1; visibility: visible; }
/* cqw on the container itself would resolve against the viewport, so the base size sits one level in. */
.sc { position: absolute; inset: 0; font-size: 1.3cqw; line-height: 1.4; }
.play .sc { animation: sc var(--d) infinite; }
@keyframes sc { 0% { opacity: 0; } 4%, 94% { opacity: 1; } 100% { opacity: 0; } }
.show-stage svg { width: 1.8cqw; height: 1.8cqw; }
.show-stage kbd { display: inline-block; font-size: 1.1cqw; padding: .6cqw .9cqw; border-radius: .7cqw; }
.show-stage .dots i { width: .6cqw; height: .6cqw; }
.show-stage .browser-dots { gap: .6cqw; }
.show-stage .browser-dots i { width: .9cqw; height: .9cqw; }
.cur {
  position: absolute; z-index: 5; left: 60%; top: 110%; width: 1.9cqw; height: 2.6cqw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22'%3E%3Cpath d='M1 1v16l4.5-4 3 7 2.5-1-3-7H14z' fill='white' stroke='%23111' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat 0 0 / contain;
  filter: drop-shadow(0 .2cqw .3cqw rgba(0, 0, 0, .3));
}
.cur b { position: absolute; left: -1.3cqw; top: -1.3cqw; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: color-mix(in srgb, var(--accent) 45%, transparent); opacity: 0; }
.ink { background: color-mix(in srgb, var(--text) 24%, transparent); }

/* Outline: click a question in the rail, the chat scrolls to it and it flashes. */
.o-chat { position: absolute; left: 5%; right: 37%; top: 0; bottom: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.o-track { display: grid; gap: 2cqw; padding: 3cqw 2cqw; transform: translateY(-43cqw); }
.o-q { justify-self: end; max-width: 64%; padding: .9cqw 1.6cqw; border-radius: 2cqw; background: var(--accent-soft); font-size: 1.35cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-a { display: grid; gap: 1cqw; }
.o-a i, .q-lines i, .s-reply > i, .s-nbody > i { height: 1.1cqw; border-radius: 1cqw; background: var(--skel); }
.o-a i.s, .s-reply > i.s, .s-nbody > i.s { width: 58%; }
.o-a i.h { width: 38%; height: 1.4cqw; margin-bottom: .2cqw; background: color-mix(in srgb, var(--text) 26%, transparent); }
.o-rail { position: absolute; right: 3%; top: 7%; bottom: 7%; width: 31%; display: flex; flex-direction: column; gap: .6cqw; padding: 1.6cqw; border: 1px solid var(--line); border-radius: 1.4cqw; background: var(--surface); box-shadow: 0 .4cqw 1.6cqw rgba(30, 20, 80, .1); }
.o-head { font-size: 1.5cqw; }
.o-search { height: 2.6cqw; margin: .2cqw 0 .6cqw; border: 1px solid var(--line); border-radius: .8cqw; background: var(--bg-soft); }
.o-row { display: flex; align-items: center; gap: 1cqw; padding: .85cqw 1cqw; border-radius: .8cqw; color: var(--muted); font-size: 1.3cqw; }
.o-row span { width: 1.4cqw; text-align: right; }
.o-row em { flex: 1; min-width: 0; font-style: normal; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o-row.r6 { background: var(--bg-soft); }
.play .o-track { animation: o-track var(--d) infinite; }
.play .o-hit { animation: o-flash var(--d) infinite; }
.play .o-row.r2 { animation: o-pick var(--d) infinite; }
.play .o-row.r6 { animation: o-unpick var(--d) infinite; }
.play.scene-outline .cur { animation: cur-outline var(--d) infinite; }
.play.scene-outline .cur b { animation: tap-outline var(--d) infinite; }
@keyframes o-track { 0%, 30% { transform: translateY(-43cqw); animation-timing-function: cubic-bezier(.6, 0, .3, 1); } 52%, 100% { transform: translateY(-12cqw); } }
@keyframes o-flash { 0%, 54% { box-shadow: 0 0 0 0 transparent; } 60% { box-shadow: 0 0 0 .7cqw color-mix(in srgb, var(--accent) 45%, transparent); } 72%, 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes o-pick { 0%, 27% { background: transparent; color: var(--muted); box-shadow: none; } 29%, 100% { background: var(--accent-soft); color: var(--accent-text); box-shadow: inset .3cqw 0 0 var(--accent); } }
@keyframes o-unpick { 0%, 27% { background: var(--bg-soft); } 29%, 100% { background: transparent; } }
@keyframes cur-outline { 0%, 6% { left: 50%; top: 96%; } 22%, 30% { left: var(--x1); top: var(--y1); } 48%, 100% { left: 54%; top: 84%; } }
@keyframes tap-outline { 0%, 25% { opacity: 0; transform: scale(.3); } 27% { opacity: 1; transform: scale(.5); } 33%, 100% { opacity: 0; transform: scale(1.5); } }

/* Queue: type while ChatGPT answers, Ctrl+Enter queues it, the queue sends when the answer ends. */
.scene-queue .sc { font-size: 1.6cqw; }
.q-prev { position: absolute; right: 8%; top: 5%; max-width: 50%; padding: 1cqw 1.8cqw; border-radius: 2cqw; background: var(--accent-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-answer { position: absolute; left: 6%; right: 8%; top: 17%; display: flex; gap: 1.6cqw; }
.q-av { width: 3cqw; height: 3cqw; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--surface) 0 22%, transparent 24%), linear-gradient(135deg, var(--accent), var(--accent-2)); flex: none; }
.q-lines { flex: 1; display: grid; gap: 1.1cqw; align-content: start; padding-top: .6cqw; }
.q-lines i { transform-origin: left; }
.q-lines i.s { width: 55%; }
.q-status { display: flex; align-items: center; gap: .8cqw; margin-top: .4cqw; color: var(--muted); }
.q-sent { position: absolute; right: 8%; top: 48%; max-width: 50%; padding: 1cqw 1.8cqw; border-radius: 2cqw; background: var(--accent-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; }
.q-panel { position: absolute; left: 12%; right: 12%; bottom: 20%; display: grid; padding: 1cqw; border: 1px solid var(--line); border-radius: 1.4cqw; background: var(--surface); box-shadow: 0 .4cqw 1.6cqw rgba(30, 20, 80, .08); }
.q-head { padding: 0 .8cqw .2cqw; color: var(--muted); font-size: 1.15cqw; }
.q-item { max-height: 4cqw; margin-top: .6cqw; padding: .8cqw 1.2cqw; border-radius: .9cqw; background: var(--bg-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.q-item::before { content: ""; display: inline-block; width: .7cqw; height: .7cqw; margin-right: 1cqw; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.q-item.q2 { max-height: 0; margin-top: 0; padding-block: 0; opacity: 0; }
.q-comp { position: absolute; left: 10%; right: 10%; bottom: 6%; display: flex; align-items: center; gap: 1.2cqw; padding: 1cqw 1cqw 1cqw 2.2cqw; border: 1px solid var(--line); border-radius: 3cqw; background: var(--surface); font-size: 1.4cqw; }
.q-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; clip-path: inset(0 100% 0 0); }
.q-btn { position: relative; width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: var(--dark); flex: none; }
.q-btn::after { content: ""; position: absolute; inset: 1.1cqw; border-radius: .2cqw; background: var(--on-dark); }
.play .q-lines i:nth-child(1) { animation: q-l1 var(--d) infinite; }
.play .q-lines i:nth-child(2) { animation: q-l2 var(--d) infinite; }
.play .q-lines i:nth-child(3) { animation: q-l3 var(--d) infinite; }
.play .q-lines i:nth-child(4) { animation: q-l4 var(--d) infinite; }
.play .q-status { animation: q-status var(--d) infinite; }
.play .q-text { animation: q-type var(--d) infinite; }
.play .q-comp kbd { animation: q-key var(--d) infinite; }
.play .q-item.q1 { animation: q-out var(--d) infinite; }
.play .q-item.q2 { animation: q-in var(--d) infinite; }
.play .q-btn { animation: q-btn var(--d) infinite; }
.play .q-btn::after { animation: q-btn-icon var(--d) infinite; }
.play .q-sent { animation: q-sent var(--d) infinite; }
@keyframes q-l1 { 0% { transform: scaleX(0); } 12%, 100% { transform: scaleX(1); } }
@keyframes q-l2 { 0%, 12% { transform: scaleX(0); } 24%, 100% { transform: scaleX(1); } }
@keyframes q-l3 { 0%, 24% { transform: scaleX(0); } 36%, 100% { transform: scaleX(1); } }
@keyframes q-l4 { 0%, 36% { transform: scaleX(0); } 46%, 100% { transform: scaleX(1); } }
@keyframes q-status { 0%, 60% { opacity: 1; } 63%, 72% { opacity: 0; } 76%, 100% { opacity: 1; } }
@keyframes q-type { 0%, 8% { clip-path: inset(0 100% 0 0); opacity: 1; } 28%, 33% { clip-path: inset(0 0 0 0); opacity: 1; } 35%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes q-key { 0%, 29%, 37%, 100% { transform: none; background: var(--accent-soft); color: var(--accent-text); } 31%, 34% { transform: scale(.92); background: var(--accent); color: #fff; } }
@keyframes q-in { 0%, 34% { max-height: 0; margin-top: 0; padding-block: 0; opacity: 0; } 40%, 100% { max-height: 4cqw; margin-top: .6cqw; padding-block: .8cqw; opacity: 1; } }
@keyframes q-out { 0%, 63% { max-height: 4cqw; margin-top: .6cqw; padding-block: .8cqw; opacity: 1; } 66% { opacity: 0; } 70%, 100% { max-height: 0; margin-top: 0; padding-block: 0; opacity: 0; } }
@keyframes q-btn { 0%, 60%, 71%, 100% { background: var(--dark); } 62%, 68% { background: var(--accent); } }
@keyframes q-btn-icon { 0%, 60%, 71%, 100% { inset: 1.1cqw; border-radius: .2cqw; } 62%, 68% { inset: 1cqw; border-radius: 50%; } }
@keyframes q-sent { 0%, 66% { opacity: 0; transform: translateY(1.5cqw); } 72%, 100% { opacity: 1; transform: none; } }

/* Smart copy: click the button beside Copy, the reply lands in a notes app with the card as a picture. */
.s-reply { position: absolute; left: 5%; top: 6%; width: 52%; display: grid; gap: 1.1cqw; }
.s-head { font-size: 1.6cqw; }
.s-card { display: grid; gap: 1.2cqw; margin: .8cqw 0; padding: 1.6cqw; border: 1px solid var(--line); border-radius: 1.2cqw; background: var(--surface); box-shadow: 0 .4cqw 1.6cqw rgba(30, 20, 80, .08); }
.s-title { font-size: 1.35cqw; }
.s-field { display: grid; grid-template-columns: 1fr auto; gap: .5cqw 1cqw; color: var(--muted); font-size: 1.1cqw; }
.s-field b { color: var(--text); }
.s-slider { position: relative; grid-column: 1 / -1; height: .5cqw; border-radius: 1cqw; background: linear-gradient(90deg, var(--accent) var(--v), var(--skel) var(--v)); }
.s-slider::after { content: ""; position: absolute; left: var(--v); top: 50%; width: 1.3cqw; height: 1.3cqw; border: .2cqw solid var(--accent); border-radius: 50%; background: var(--surface); transform: translate(-50%, -50%); }
.s-bars { display: flex; align-items: flex-end; gap: 1cqw; height: 7.5cqw; border-bottom: 1px solid var(--line); }
.s-bars i { flex: 1; height: var(--h); border-radius: .5cqw .5cqw 0 0; background: linear-gradient(180deg, var(--accent), var(--accent-2)); transform-origin: bottom; }
.s-num { display: flex; align-items: baseline; gap: 1cqw; }
.s-num span { flex: 1; color: var(--muted); font-size: 1.1cqw; }
.s-num b { font-size: 1.9cqw; }
.s-num em { color: #2fae6b; font-size: 1.2cqw; font-style: normal; font-weight: 700; }
.s-acts { display: flex; align-items: center; gap: 1cqw; color: var(--muted); }
.s-acts span { display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: .8cqw; }
.s-acts .s-btn { background: var(--accent-soft); color: var(--accent-text); }
.s-acts .s-ok { color: #2fae6b; opacity: 0; }
.s-notes { position: absolute; right: 3%; top: 9%; bottom: 9%; width: 39%; overflow: hidden; border: 1px solid var(--line); border-radius: 1.4cqw; background: var(--surface); box-shadow: 0 1cqw 3cqw rgba(20, 15, 60, .18); transform: translateX(115%); }
.s-nbar { display: flex; align-items: center; gap: 1.4cqw; padding: .9cqw 1.4cqw; border-bottom: 1px solid var(--line); background: var(--bg-soft); font-size: 1.1cqw; }
.s-nbody { display: grid; gap: 1cqw; padding: 1.6cqw; }
.s-pic { position: relative; margin: .4cqw 0; border-radius: 1.2cqw; outline: .2cqw dashed color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: .3cqw; }
.s-pic .s-card { zoom: .64; margin: 0; box-shadow: none; }
.s-pic > span { position: absolute; right: -1cqw; top: -1cqw; display: grid; place-items: center; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--accent); color: #fff; }
.s-pic > span svg { width: 1.4cqw; height: 1.4cqw; }
.play .s-reply .s-bars i { animation: s-grow var(--d) infinite; }
.play .s-btn { animation: s-btn var(--d) infinite; }
.play .s-ok { animation: s-ok var(--d) infinite; }
.play .s-notes { animation: s-notes var(--d) infinite; }
.play .s-nbody > * { animation: s-paste var(--d) infinite; }
.play.scene-smart .cur { animation: cur-smart var(--d) infinite; }
.play.scene-smart .cur b { animation: tap-smart var(--d) infinite; }
@keyframes s-grow { 0%, 4% { transform: scaleY(0); } 18%, 100% { transform: scaleY(1); } }
@keyframes s-btn { 0%, 25%, 34%, 100% { box-shadow: 0 0 0 0 transparent; } 28% { box-shadow: 0 0 0 .6cqw color-mix(in srgb, var(--accent) 35%, transparent); } }
@keyframes s-ok { 0%, 29% { opacity: 0; transform: scale(.6); } 32%, 46% { opacity: 1; transform: none; } 50%, 100% { opacity: 0; } }
@keyframes s-notes { 0%, 42% { transform: translateX(115%); animation-timing-function: cubic-bezier(.2, .8, .2, 1); } 52%, 100% { transform: none; } }
@keyframes s-paste { 0%, 54% { opacity: 0; transform: translateY(.8cqw); } 60%, 100% { opacity: 1; transform: none; } }
@keyframes cur-smart { 0%, 6% { left: 80%; top: 92%; } 22%, 30% { left: var(--x1); top: var(--y1); } 46%, 100% { left: 58%; top: 90%; } }
@keyframes tap-smart { 0%, 25% { opacity: 0; transform: scale(.3); } 27% { opacity: 1; transform: scale(.5); } 33%, 100% { opacity: 0; transform: scale(1.5); } }

/* Bulk: switch on selection, tick three chats, archive them. */
.b-side { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; display: flex; flex-direction: column; padding: 2.4cqw 1.6cqw; border-right: 1px solid var(--line); background: var(--bg-soft); }
.b-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1cqw; padding: 0 .8cqw; }
.b-head b { color: var(--muted); font-size: 1.3cqw; font-weight: 600; }
.b-tog, .b-act { display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: .8cqw; color: var(--muted); }
.b-row { display: flex; align-items: center; gap: 1cqw; height: 4.2cqw; padding: 0 .8cqw; border-radius: .8cqw; overflow: hidden; flex: none; }
.b-row em { min-width: 0; font-style: normal; font-size: 1.4cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b-box { display: grid; place-items: center; width: 0; height: 1.7cqw; margin-right: -1cqw; border: .15cqw solid var(--muted); border-radius: .4cqw; color: transparent; opacity: 0; flex: none; }
.b-box svg { width: 1.2cqw; height: 1.2cqw; stroke-width: 3; }
.b-bar { display: flex; align-items: center; gap: .6cqw; margin-top: auto; padding: .8cqw 1cqw .8cqw 1.4cqw; border: 1px solid var(--line); border-radius: 1cqw; background: var(--surface); box-shadow: 0 .4cqw 1.6cqw rgba(30, 20, 80, .1); font-weight: 700; opacity: 0; transform: translateY(150%); }
.b-n { display: block; height: 1.4em; margin-right: auto; overflow: hidden; line-height: 1.4em; }
.b-n em { display: block; font-style: normal; }
.b-act { background: var(--bg-soft); }
.b-main { position: absolute; left: 40%; right: 6%; top: 8%; display: grid; gap: 2cqw; }
.b-main .o-q { max-width: 60%; }
.play .b-box { animation: b-box var(--d) infinite; }
.play .r2 .b-box { animation: b-box var(--d) infinite, b-tick2 var(--d) infinite; }
.play .r3 .b-box { animation: b-box var(--d) infinite, b-tick3 var(--d) infinite; }
.play .r5 .b-box { animation: b-box var(--d) infinite, b-tick5 var(--d) infinite; }
.play .b-row.pick { animation: b-gone var(--d) infinite; }
.play .b-bar { animation: b-bar var(--d) infinite; }
.play .b-n em { animation: b-count var(--d) infinite; }
.play .b-tog { animation: b-tog var(--d) infinite; }
.play .b-act[data-t] { animation: b-act var(--d) infinite; }
.play.scene-bulk .cur { animation: cur-bulk var(--d) infinite; }
.play.scene-bulk .cur b { animation: tap-bulk var(--d) infinite; }
@keyframes b-box { 0%, 15% { width: 0; margin-right: -1cqw; opacity: 0; } 20%, 82% { width: 1.7cqw; margin-right: 0; opacity: 1; } 88%, 100% { width: 0; margin-right: -1cqw; opacity: 0; } }
@keyframes b-tick2 { 0%, 30% { background: transparent; border-color: var(--muted); color: transparent; } 31%, 100% { background: var(--accent); border-color: var(--accent); color: #fff; } }
@keyframes b-tick3 { 0%, 38% { background: transparent; border-color: var(--muted); color: transparent; } 39%, 100% { background: var(--accent); border-color: var(--accent); color: #fff; } }
@keyframes b-tick5 { 0%, 46% { background: transparent; border-color: var(--muted); color: transparent; } 47%, 100% { background: var(--accent); border-color: var(--accent); color: #fff; } }
@keyframes b-gone { 0%, 63% { height: 4.2cqw; opacity: 1; } 68% { opacity: 0; } 74%, 100% { height: 0; opacity: 0; } }
@keyframes b-bar { 0%, 17% { opacity: 0; transform: translateY(150%); } 23%, 76% { opacity: 1; transform: none; } 82%, 100% { opacity: 0; transform: translateY(150%); } }
@keyframes b-count { 0%, 30% { transform: none; } 31%, 38% { transform: translateY(-100%); } 39%, 46% { transform: translateY(-200%); } 47%, 100% { transform: translateY(-300%); } }
@keyframes b-tog { 0%, 13%, 22%, 100% { background: transparent; color: var(--muted); } 14%, 20% { background: var(--accent-soft); color: var(--accent-text); } }
@keyframes b-act { 0%, 59%, 70%, 100% { background: var(--bg-soft); color: var(--muted); } 60%, 66% { background: var(--accent-soft); color: var(--accent-text); } }
@keyframes cur-bulk { 0%, 4% { left: 60%; top: 92%; } 12%, 16% { left: var(--x1); top: var(--y1); } 27%, 31% { left: var(--x2); top: var(--y2); } 35%, 39% { left: var(--x3); top: var(--y3); } 43%, 47% { left: var(--x4); top: var(--y4); } 56%, 62% { left: var(--x5); top: var(--y5); } 76%, 100% { left: 62%; top: 80%; } }
@keyframes tap-bulk {
  0%, 13% { opacity: 0; transform: scale(.3); } 14% { opacity: 1; transform: scale(.5); } 19% { opacity: 0; transform: scale(1.5); }
  29% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; transform: scale(.5); } 35% { opacity: 0; transform: scale(1.5); }
  37% { opacity: 0; transform: scale(.3); } 38% { opacity: 1; transform: scale(.5); } 43% { opacity: 0; transform: scale(1.5); }
  45% { opacity: 0; transform: scale(.3); } 46% { opacity: 1; transform: scale(.5); } 51% { opacity: 0; transform: scale(1.5); }
  59% { opacity: 0; transform: scale(.3); } 60% { opacity: 1; transform: scale(.5); } 65%, 100% { opacity: 0; transform: scale(1.5); }
}

/* Images: open the panel, untick one image, save the rest. */
.i-art { display: block; overflow: hidden; }
.show-stage .i-art svg { display: block; width: 100%; height: 100%; stroke: none; }
.i-prompt { position: absolute; left: 8%; top: 5%; max-width: 44%; padding: .9cqw 1.6cqw; border-radius: 2cqw; background: var(--accent-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.i-hero { position: absolute; left: 8%; top: 18%; width: 30%; aspect-ratio: 3 / 4; border-radius: 1.4cqw; }
.i-rail { position: absolute; left: 40%; top: 18%; display: grid; gap: 1cqw; }
.i-rail i { width: 5cqw; aspect-ratio: 3 / 4; border-radius: .7cqw; }
.i-rail i:first-child { outline: .25cqw solid var(--accent); outline-offset: .2cqw; }
.i-acts { position: absolute; left: 8%; top: 86%; display: flex; gap: 1cqw; color: var(--muted); }
.i-acts span { display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: .8cqw; }
.i-acts .i-btn { background: var(--accent-soft); color: var(--accent-text); }
.i-panel { position: absolute; right: 3%; top: 6%; bottom: 6%; width: 40%; display: flex; flex-direction: column; gap: 1.2cqw; padding: 1.6cqw; border: 1px solid var(--line); border-radius: 1.4cqw; background: var(--surface); box-shadow: 0 1cqw 3cqw rgba(20, 15, 60, .18); transform: translateX(115%); }
.i-ph { display: flex; align-items: center; justify-content: space-between; }
.i-ph i { display: block; width: 30%; height: 1.1cqw; border-radius: 1cqw; background: var(--skel); }
.i-count { font-size: 1.2cqw; }
.i-count span { display: inline-block; height: 1.4em; overflow: hidden; vertical-align: bottom; }
.i-count em { display: block; font-style: normal; }
.i-cell small { color: var(--muted); font-size: .95cqw; }
.i-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2cqw; }
.i-cell { position: relative; display: grid; gap: .7cqw; padding: .8cqw; border: 1px solid var(--line); border-radius: 1cqw; }
.i-cell .i-art { aspect-ratio: 4 / 3; border-radius: .6cqw; }
.i-box { position: absolute; z-index: 1; left: 1.3cqw; top: 1.3cqw; display: grid; place-items: center; width: 1.8cqw; height: 1.8cqw; border-radius: .4cqw; background: var(--accent); color: #fff; }
.i-box svg { width: 1.2cqw; height: 1.2cqw; stroke-width: 3; }
.i-prog { position: relative; display: block; height: .6cqw; overflow: hidden; border-radius: 1cqw; background: var(--line); }
.i-prog::after { content: ""; position: absolute; inset: 0; background: #2fae6b; transform: scaleX(0); transform-origin: left; }
.i-dl { display: grid; place-items: center; align-self: flex-end; width: 4.4cqw; height: 3.4cqw; margin-top: auto; border-radius: .9cqw; background: var(--dark); color: var(--on-dark); }
.play .i-panel { animation: i-panel var(--d) infinite; }
.play .c3 .i-box { animation: i-untick var(--d) infinite; }
.play .c3 .i-art { animation: i-dim var(--d) infinite; }
.play .i-count em { animation: i-count var(--d) infinite; }
.play .c1 .i-prog::after { animation: i-p1 var(--d) infinite; }
.play .c2 .i-prog::after { animation: i-p2 var(--d) infinite; }
.play .c4 .i-prog::after { animation: i-p4 var(--d) infinite; }
.play .i-btn { animation: i-press1 var(--d) infinite; }
.play .i-dl { animation: i-press3 var(--d) infinite; }
.play.scene-images .cur { animation: cur-images var(--d) infinite; }
.play.scene-images .cur b { animation: tap-images var(--d) infinite; }
@keyframes i-panel { 0%, 18% { transform: translateX(115%); animation-timing-function: cubic-bezier(.2, .8, .2, 1); } 26%, 100% { transform: none; } }
@keyframes i-untick { 0%, 38% { background: var(--accent); color: #fff; box-shadow: none; } 39%, 100% { background: var(--surface); color: transparent; box-shadow: inset 0 0 0 .15cqw var(--muted); } }
@keyframes i-count { 0%, 38% { transform: none; } 39%, 100% { transform: translateY(-100%); } }
@keyframes i-dim { 0%, 38% { opacity: 1; } 41%, 100% { opacity: .35; } }
@keyframes i-p1 { 0%, 54% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes i-p2 { 0%, 56% { transform: scaleX(0); } 74%, 100% { transform: scaleX(1); } }
@keyframes i-p4 { 0%, 58% { transform: scaleX(0); } 78%, 100% { transform: scaleX(1); } }
@keyframes i-press1 { 0%, 15%, 22%, 100% { box-shadow: 0 0 0 0 transparent; } 17% { box-shadow: 0 0 0 .6cqw color-mix(in srgb, var(--accent) 35%, transparent); } }
@keyframes i-press3 { 0%, 51%, 58%, 100% { box-shadow: 0 0 0 0 transparent; } 53% { box-shadow: 0 0 0 .6cqw color-mix(in srgb, var(--accent) 35%, transparent); } }
@keyframes cur-images { 0%, 4% { left: 30%; top: 96%; } 13%, 18% { left: var(--x1); top: var(--y1); } 33%, 40% { left: var(--x2); top: var(--y2); } 47%, 54% { left: var(--x3); top: var(--y3); } 68%, 100% { left: 58%; top: 94%; } }
@keyframes tap-images {
  0%, 15% { opacity: 0; transform: scale(.3); } 16% { opacity: 1; transform: scale(.5); } 21% { opacity: 0; transform: scale(1.5); }
  37% { opacity: 0; transform: scale(.3); } 38% { opacity: 1; transform: scale(.5); } 43% { opacity: 0; transform: scale(1.5); }
  51% { opacity: 0; transform: scale(.3); } 52% { opacity: 1; transform: scale(.5); } 57%, 100% { opacity: 0; transform: scale(1.5); }
}
@media (prefers-reduced-motion: reduce) {
  .show-stage *, .show-stage *::after { animation: none !important; }
  .cur { display: none; }
}
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; text-align: left; margin-top: 96px; }
.feature.flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(24px, 3vw, 32px); }
.feature-text > p { color: var(--muted); font-size: 17px; margin-top: 14px; }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 10px; align-items: flex-start; }
.points svg { color: var(--accent); margin-top: 2px; background: var(--accent-soft); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 2.4; }

/* Queue mock-up */
.mock {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px; display: grid; gap: 18px; aspect-ratio: 16 / 10; align-content: end;
}
.mock-answer { display: flex; gap: 12px; align-self: start; }
.mock-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line); flex: none; }
.mock-lines { flex: 1; display: grid; gap: 9px; }
.mock-lines > i { height: 10px; border-radius: 5px; background: var(--bg-soft); }
.mock-lines > i.short { width: 55%; }
.mock-status { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-top: 4px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.mock-queue { border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-size: 14px; display: grid; gap: 6px; }
.mock-queue-head { color: var(--muted); font-size: 13px; padding: 0 6px; }
.mock-item { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; background: var(--bg-soft); }
.mock-item span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-size: 12px; font-weight: 700; flex: none; }
.mock-composer { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 24px; padding: 10px 10px 10px 18px; }
.mock-text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.caret { display: inline-block; width: 1.5px; height: 1.1em; background: var(--text); vertical-align: text-bottom; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
kbd { font: 600 12px/1 inherit; font-family: inherit; color: var(--accent-text); background: var(--accent-soft); padding: 6px 9px; border-radius: 7px; white-space: nowrap; }
.mock-stop { width: 32px; height: 32px; border-radius: 50%; background: var(--dark); flex: none; position: relative; }
.mock-stop::after { content: ""; position: absolute; inset: 11px; border-radius: 2px; background: var(--on-dark); }
@media (prefers-reduced-motion: reduce) { .dots i, .caret { animation: none; } }

/* Steps */
.steps { padding: 104px 0; text-align: center; }
.steps ol { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(180deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; margin-bottom: 16px; }
.steps h3 { font-size: 19px; }
.steps p, .privacy p { color: var(--muted); margin-top: 8px; }

/* Privacy */
.privacy { padding: 104px 0; background: var(--bg-soft); border-block: 1px solid var(--line); text-align: center; }
.privacy ul { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.privacy li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.privacy li svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 16px; }
.privacy h3 { font-size: 19px; }
.privacy .more { margin-top: 32px; }
.privacy .more a { color: var(--accent-text); font-weight: 600; text-decoration: none; }
.privacy .more a:hover { text-decoration: underline; }

/* FAQ */
.faq { padding: 104px 0; }
.faq h2 { text-align: center; margin-bottom: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 4px; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--muted); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { color: var(--muted); padding: 0 4px 22px; }

/* Final call to action */
.cta { padding: 0 0 104px; }
.cta .wrap {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding-block: 64px; border-radius: 24px; border: 1px solid var(--line);
  background: radial-gradient(600px 280px at 50% 0, var(--accent-soft), var(--surface) 75%);
}
.cta img { border-radius: 14px; margin-bottom: 8px; }
.cta p { color: var(--muted); margin-bottom: 14px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot a { margin-left: 20px; text-decoration: none; }
.foot a:first-child { margin-left: 0; }
.foot a:hover { color: var(--text); }

/* Lightbox */
.zoom { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1440px); max-height: 94vh; overflow: visible; }
.zoom::backdrop { background: rgba(10, 10, 20, .78); }
.zoom img { max-height: 94vh; width: auto; border-radius: 12px; }
.zoom button { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 22px; cursor: pointer; box-shadow: var(--shadow); }

@media (max-width: 900px) {
  .nav { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .feature.flip .feature-text { order: 0; }
  .showcase { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .show-list { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px; padding: 4px 24px 12px; scrollbar-width: none; }
  .show-list::-webkit-scrollbar { display: none; }
  .show-item { width: auto; flex: none; align-items: center; gap: 10px; padding: 10px 14px; border-color: var(--line); }
  .show-item.on::before { display: none; }
  .show-icon { width: 30px; height: 30px; border-radius: 8px; }
  .show-icon svg { width: 17px; height: 17px; }
  .show-text b { font-size: 15px; white-space: nowrap; }
  .show-text span { display: none; }
  .steps ol, .privacy ul { grid-template-columns: 1fr; }
  .features, .steps, .privacy, .faq { padding-block: 72px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .show-list { margin: 0 -16px; padding-inline: 16px; }
  .show-cap { font-size: 11px; letter-spacing: .04em; }
  .top-inner { gap: 8px; }
  .brand small, .lang summary span, .top .btn { display: none; }
  .lang { margin-right: -8px; }
  .hero { padding-top: 48px; }
  .hero-sub { font-size: 16px; }
  .hero-cta .btn { width: 100%; }
  .mock { padding: 16px; aspect-ratio: auto; }
  kbd { display: none; }
  .cta .wrap { padding-inline: 20px; border-radius: 0; border-inline: 0; }
  .foot a { margin: 0 16px 0 0; }
}
