/* ===== reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--radius-xs); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== typography presets (mirror the original shared styles) ===== */
.t-h1 { font-size: 54px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05em; color: var(--text-primary); text-wrap: balance; }
.t-h2 { font-size: 44px; font-weight: 500; letter-spacing: -.04em; line-height: 1.1em; color: var(--text-primary); text-wrap: balance; }
.t-h6 { font-size: 18px; font-weight: 500; line-height: 1.35em; color: var(--text-primary); text-wrap: balance; }
.t-lead { font-size: 24px; font-weight: 400; letter-spacing: -.2px; line-height: 1.3em; color: var(--text-secondary); }
.t-body { font-size: 18px; line-height: 1.35em; color: var(--text-secondary); }
.t-small { font-size: 15px; line-height: 1.35em; color: var(--text-secondary); }
.t-caption { font-size: 14px; line-height: 1.4em; color: var(--text-muted); }
.t-label { font-size: 12px; line-height: 1.25em; color: var(--text-muted); }
.t-mono { font-family: var(--font-mono); font-size: 13px; line-height: 1.5em; }
.t-h6 + .t-body, .t-h6 + .t-lead { margin-top: 2px; }
.t-h2 + .t-lead { margin-top: 20px; }

.link-gray { color: var(--text-gray); transition: color var(--duration) var(--ease); }
.link-gray:hover { color: var(--text-primary); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--text-primary); font-size: 16px; font-weight: 500; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--duration) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

code.inline { font-family: var(--font-mono); font-size: .8em; background: var(--surface-deep); border: 1px solid var(--border-weak); border-radius: 6px; padding: .1em .4em; }

@media (max-width: 1199px) {
  .t-h1 { font-size: 42px; }
  .t-h2 { font-size: 36px; }
  .t-lead { font-size: 20px; line-height: 1.4em; }
}
@media (max-width: 809px) {
  .t-h1 { font-size: 36px; }
  .t-h2 { font-size: 28px; }
}

/* ===== layout ===== */
.container { width: 100%; max-width: calc(var(--page-max) + var(--page-pad) * 2); margin: 0 auto; padding: 0 var(--page-pad); }
.section { padding: 120px 0; }
.section-head { max-width: 640px; }
.section-head + * { margin-top: 48px; }
@media (max-width: 1199px) { .section { padding: 96px 0; } }
@media (max-width: 809px) { .section { padding: 72px 0; } .section-head + * { margin-top: 32px; } }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background-color var(--duration) var(--ease), color var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--text-primary); color: var(--bg); }
.btn-primary:hover { opacity: .85; }
.btn-secondary { background: var(--surface-2); color: var(--text-primary); }
.btn-secondary:hover { background: var(--surface-hover); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 14px; }
.btn-accent { background: var(--accent); color: var(--text-primary); }

/* ===== nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.brand-mark { width: 24px; height: 24px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 15px; }
.nav-links a { color: var(--text-gray); transition: color var(--duration) var(--ease); }
.nav-links a:hover { color: var(--text-primary); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.nav-toggle:hover { background: var(--surface-2); }
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle .icon-close { display: none; }
.nav[data-open="true"] .nav-toggle .icon-close { display: block; }
.nav[data-open="true"] .nav-toggle .icon-menu { display: none; }
@media (max-width: 809px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: var(--nav-h); flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 8px var(--page-pad) 16px; }
  .nav-links a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--border-weak); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav[data-open="true"] .nav-links { display: flex; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn { display: none; }
}

/* ===== hero ===== */
.hero { padding-top: 96px; }
.hero-copy { max-width: 720px; }
.hero-slogan { font-size: 15px; font-weight: 500; color: var(--accent); letter-spacing: 0; margin-bottom: 20px; }
.hero .t-lead { margin-top: 24px; max-width: 600px; }
.hero-actions { margin-top: 32px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-visual { margin-top: 64px; }
@media (max-width: 1199px) { .hero { padding-top: 72px; } .hero-visual { margin-top: 48px; } }
@media (max-width: 809px) { .hero { padding-top: 48px; } .hero-visual { margin-top: 40px; } .hero .t-h1 br { display: none; } }

/* ===== app window mock (shared by hero + cards) ===== */
.window {
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 30px 80px var(--shadow);
}
.window-bar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--border-weak); font-size: 13px; color: var(--text-muted); }
.window-bar .dots { display: flex; gap: 6px; }
.window-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--surface-hover); }
.window-bar .center { margin: 0 auto; display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.window-bar .center .pill { padding: 2px 8px; border-radius: var(--radius-pill); background: var(--surface-2); font-size: 12px; color: var(--text-muted); }
.window-body { display: grid; grid-template-columns: 220px 1fr 280px; min-height: 520px; }
.pane { padding: 16px; }
.pane + .pane { border-left: 1px solid var(--border-weak); }
.pane-title { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.pane-title .plus { width: 20px; height: 20px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; color: var(--text-muted); }
.pane-title .plus svg { width: 12px; height: 12px; }
.task-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-xs); font-size: 14px; color: var(--text-secondary); }
.task-list li.active { background: var(--surface-2); color: var(--text-primary); }
.task-list li i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); flex: none; }
.task-list li.active i { background: var(--accent); }
.task-list li.done i { background: var(--text-muted); }
.task-list .group { font-size: 12px; color: var(--text-muted); padding: 12px 10px 4px; }

.goal { background: var(--surface-2); border: 1px solid var(--border-weak); border-radius: var(--radius-md); padding: 14px 16px; font-size: 15px; line-height: 1.5; color: var(--text-primary); }
.goal .from { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.steps { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.step { display: grid; grid-template-columns: 20px 1fr auto; align-items: start; gap: 10px; padding: 8px 10px; border-radius: var(--radius-xs); font-size: 14px; color: var(--text-secondary); }
.step .ico { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border); color: var(--text-muted); }
.step .ico svg { width: 11px; height: 11px; }
.step.done .ico { background: var(--surface-2); border-color: var(--border); color: var(--text-primary); }
.step.running .ico { border-color: var(--accent-42); color: var(--accent); }
.step.running .ico svg { animation: spin 1.2s linear infinite; }
.step.running { color: var(--text-primary); }
.step.todo { color: var(--text-muted); }
.step .meta { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.step .sub { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.step .tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); font-size: 11px; color: var(--text-muted); vertical-align: middle; }
.result { margin-top: 16px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--accent-10); border: 1px solid var(--accent-22); font-size: 14px; color: var(--text-primary); line-height: 1.5; }
.composer { margin-top: auto; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-1); padding: 12px 14px; }
.composer .placeholder { font-size: 14px; color: var(--text-dim); min-height: 40px; }
.composer .row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.composer .model { font-size: 12px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px; }
.composer .model svg { width: 10px; height: 10px; }
.composer .send { width: 24px; height: 24px; border-radius: 6px; background: var(--surface-hover); display: inline-flex; align-items: center; justify-content: center; }
.composer .send svg { width: 12px; height: 12px; }
.pane-main { display: flex; flex-direction: column; padding: 20px 24px; }
.ctx-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--radius-xs); font-size: 13px; color: var(--text-secondary); }
.ctx-list li svg { width: 14px; height: 14px; color: var(--text-muted); flex: none; }
.ctx-list li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctx-list li em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--text-dim); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 13px; padding: 8px 10px; }
.kv dt { color: var(--text-muted); }
.kv dd { color: var(--text-secondary); text-align: right; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1199px) { .window-body { grid-template-columns: 200px 1fr; } .pane-ctx { display: none; } }
@media (max-width: 809px) { .window-body { grid-template-columns: 1fr; min-height: 0; } .pane-side { display: none; } .pane-main { padding: 16px; } .window-bar > :last-child { display: none; } .window-bar .center .pill { white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; } }

/* ===== models row ===== */
.models { padding: 72px 0; }
.models-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.models-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-size: 20px; font-weight: 500; color: var(--text-muted); letter-spacing: -.01em; }
@media (max-width: 809px) { .models { padding: 48px 0; } .models-list { gap: 10px 24px; font-size: 17px; } }

/* ===== tasks: scrolling cards + sticky agent panel ===== */
.tasks-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 12px; align-items: start; }
.task-cards { display: flex; flex-direction: column; gap: 24px; }
.task-card { min-width: 0; background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.task-card .visual { height: 440px; display: flex; align-items: center; justify-content: center; padding: 40px; overflow: hidden; }
.task-card .copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 0 30px 30px; }
.task-card .copy .text { max-width: 560px; }
.task-card .copy .t-body { margin-top: 4px; }
.task-card .copy .cmd { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); white-space: nowrap; }
.agent-panel { position: sticky; top: calc(var(--nav-h) + 16px); background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 12px; min-height: 560px; display: flex; flex-direction: column; }
.agent-panel .goal { font-size: 14px; }
.agent-panel .steps { gap: 0; }
.agent-panel .step { padding: 6px 4px; font-size: 13px; }
.agent-panel .result { font-size: 13px; }
.agent-panel .composer { margin-top: auto; }
.agent-state { display: none; flex-direction: column; flex: 1; }
.agent-state[data-active="true"] { display: flex; }
.agent-state .steps { flex: 0 0 auto; }
@media (max-width: 1199px) { .tasks-grid { grid-template-columns: minmax(0, 1fr); } .agent-panel { display: none; } .task-card .visual { height: 380px; } }
@media (max-width: 809px) {
  .task-card .visual { height: auto; padding: 20px; }
  .task-card .copy { flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 20px 24px; }
}

/* mini visuals inside task cards */
.mini { width: 100%; min-width: 0; max-width: 640px; background: var(--surface-1); border: 1px solid var(--border-weak); border-radius: var(--radius-md); overflow: hidden; }
.mini-bar { height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--border-weak); font-size: 12px; color: var(--text-muted); }
.mini-bar .pill { padding: 2px 8px; border-radius: var(--radius-pill); background: var(--surface-2); }
.mini-body { padding: 16px; }
.mini-split { display: grid; grid-template-columns: 1fr 1fr; }
.mini-split > * + * { border-left: 1px solid var(--border-weak); }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; font-size: 13px; color: var(--text-secondary); border-radius: 6px; }
.file-list li svg { width: 14px; height: 14px; color: var(--text-muted); flex: none; }
.file-list li em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--text-dim); }
.file-list li.moved { color: var(--text-muted); text-decoration: line-through; }
.file-list .folder { color: var(--text-primary); }
.file-list .folder svg { color: var(--accent); }
.file-list .nest { padding-left: 24px; }
.sheet { padding: 4px 8px; }
.sheet .h { font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 8px; }
.sheet .line { height: 8px; border-radius: 4px; background: var(--surface-hover); margin: 8px 0; }
.sheet .line.w60 { width: 60%; } .sheet .line.w80 { width: 80%; } .sheet .line.w40 { width: 40%; } .sheet .line.w90 { width: 90%; }
.sheet .bullet { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-secondary); padding: 4px 0; }
.sheet .bullet span.txt { flex: 1; }
.sheet .bullet i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-muted); flex: none; margin-top: 7px; }
.sheet .cite { display: inline-block; white-space: nowrap; font-size: 11px; color: var(--accent); background: var(--accent-10); border-radius: 4px; padding: 0 5px; margin-left: 4px; }

.diff { font-family: var(--font-mono); font-size: 12px; line-height: 1.7; max-width: 760px; }
.diff .fn { padding: 6px 14px; border-bottom: 1px solid var(--border-weak); color: var(--text-muted); display: flex; justify-content: space-between; }
.diff .l { padding: 0 14px; white-space: pre; overflow: hidden; text-overflow: ellipsis; color: var(--text-secondary); }
.diff .l.add { background: var(--accent-10); color: var(--text-primary); }
.diff .l.del { color: var(--text-dim); text-decoration: line-through; }
.diff .l.hunk { color: var(--text-muted); }

.route { display: flex; flex-direction: column; gap: 10px; }
.route-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--border-weak); font-size: 13px; color: var(--text-secondary); }
.route-row b { display: block; font-weight: 500; color: var(--text-primary); font-size: 13px; }
.route-row .model { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); padding: 3px 8px; border-radius: 6px; background: var(--surface-deep); border: 1px solid var(--border-weak); }
.route-row.active { border-color: var(--accent-42); }
.route-row.active .model { color: var(--accent); border-color: var(--accent-22); }

.timeline { position: relative; padding-left: 8px; }
.timeline .tl { position: relative; display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; font-size: 13px; color: var(--text-secondary); }
.timeline .tl::before { content: ""; position: absolute; left: 11px; top: 30px; bottom: -8px; width: 1px; background: var(--border); }
.timeline .tl:last-child::before { display: none; }
.timeline .tl .ico { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; background: var(--surface-1); color: var(--text-muted); }
.timeline .tl .ico svg { width: 11px; height: 11px; }
.timeline .tl.done .ico { color: var(--text-primary); background: var(--surface-2); }
.timeline .tl.running .ico { border-color: var(--accent-42); color: var(--accent); }
.timeline .tl.running .ico svg { animation: spin 1.2s linear infinite; }
.timeline .tl.running { color: var(--text-primary); }
.timeline .tl.todo { color: var(--text-muted); }
.timeline .tl .meta { font-size: 11px; color: var(--text-dim); }

.search { display: flex; flex-direction: column; gap: 8px; }
.search .q { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-xs); background: var(--surface-2); border: 1px solid var(--border-weak); font-size: 13px; color: var(--text-primary); }
.search .q svg { width: 14px; height: 14px; color: var(--text-muted); }
.search .hit { padding: 8px 10px; font-size: 12px; color: var(--text-muted); }
.search .hit b { display: block; font-weight: 500; color: var(--text-secondary); font-size: 13px; margin-bottom: 2px; }
.conclusion li { display: flex; align-items: flex-start; gap: 10px; padding: 8px; font-size: 13px; color: var(--text-secondary); }
.conclusion li .chk { width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); flex: none; margin-top: 1px; }
.conclusion li .chk svg { width: 10px; height: 10px; }
.conclusion .h { font-size: 13px; font-weight: 500; color: var(--text-primary); padding: 4px 8px 6px; }

@media (max-width: 809px) { .mini-split { grid-template-columns: 1fr; } .mini-split > * + * { border-left: 0; border-top: 1px solid var(--border-weak); } .mini-split > :last-child { display: none; } }

/* ===== how it works ===== */
.how-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.how-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.how-step { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-card); }
.how-step .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 16px; }
.how-step .t-body { margin-top: 8px; font-size: 16px; }
.terminal { background: var(--surface-deep); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.terminal-bar { height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-bottom: 1px solid var(--border-weak); font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }
.terminal-body { padding: 20px 24px; font-family: var(--font-mono); font-size: 13px; line-height: 1.75; color: var(--text-secondary); white-space: pre; overflow-x: auto; flex: 1; }
.terminal-body .c { color: var(--text-primary); }
.terminal-body .a { color: var(--accent); }
.terminal-body .m { color: var(--text-dim); }
@media (max-width: 1199px) { .how-grid { grid-template-columns: 1fr; } }
@media (max-width: 809px) { .how-steps { grid-template-columns: 1fr; gap: 12px; } .how-step { padding: 22px; } }

/* ===== scenarios: bordered grid of cells ===== */
.cell-grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.cell { padding: 24px 20px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); min-height: 112px; transition: background-color var(--duration) var(--ease); }
.cell:nth-child(5n) { border-right: 0; }
.cell:nth-last-child(-n+5) { border-bottom: 0; }
.cell:hover { background: var(--surface-1); }
.cell svg { width: 18px; height: 18px; color: var(--text-primary); margin-bottom: 20px; }
.cell .t { font-size: 15px; line-height: 1.35; color: var(--text-primary); }
.cell .d { font-size: 15px; line-height: 1.35; color: var(--text-secondary); margin-top: 2px; }
@media (max-width: 1199px) {
  .cell-grid { grid-template-columns: repeat(3, 1fr); }
  .cell:nth-child(5n) { border-right: 1px solid var(--border); }
  .cell:nth-child(3n) { border-right: 0; }
  .cell:nth-last-child(-n+5) { border-bottom: 1px solid var(--border); }
  .cell:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 809px) {
  .cell-grid { grid-template-columns: repeat(2, 1fr); }
  .cell:nth-child(3n) { border-right: 1px solid var(--border); }
  .cell:nth-child(2n) { border-right: 0; }
  .cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .cell:nth-last-child(-n+2) { border-bottom: 0; }
  .cell { padding: 20px 16px; min-height: 0; }
}

/* ===== workspace bento ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.bento-cell { position: relative; min-height: 420px; display: flex; flex-direction: column; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
.bento-cell:nth-child(3n) { border-right: 0; }
.bento-cell:nth-last-child(-n+3) { border-bottom: 0; }
.bento-cell .vis { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px 24px; overflow: hidden; }
.bento-cell .cap { padding: 0 24px 28px; font-size: 18px; line-height: 1.35; color: var(--text-secondary); }
.bento-cell .cap b { font-weight: 500; color: var(--text-primary); }
.chip-stack { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 260px; }
.chip { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-card); border: 1px solid var(--border-weak); font-size: 13px; color: var(--text-secondary); }
.chip svg { width: 14px; height: 14px; color: var(--text-muted); flex: none; }
.chip.active { border-color: var(--accent-42); color: var(--text-primary); }
.chip.active svg { color: var(--accent); }
.chip em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--text-dim); }
.menu { width: 100%; max-width: 220px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px; box-shadow: 0 20px 60px var(--shadow); }
.menu li { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 6px; font-size: 13px; color: var(--text-secondary); }
.menu li.sel { background: var(--surface-hover); color: var(--text-primary); }
.menu li em { font-style: normal; font-size: 11px; color: var(--text-dim); }
.menu .sep { height: 1px; background: var(--border-weak); margin: 4px 0; padding: 0; }
.mention { width: 100%; max-width: 280px; }
.mention .composer { margin: 0; }
.mention .composer .placeholder { color: var(--text-secondary); }
.mention .at { display: inline-block; padding: 1px 6px; border-radius: 6px; background: var(--accent-10); color: var(--accent); font-size: 13px; }
.checkpoints { width: 100%; max-width: 260px; }
.checkpoints li { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 8px 6px; font-size: 13px; color: var(--text-secondary); }
.checkpoints li .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-dim); margin: 0 auto; }
.checkpoints li.cur .dot { background: var(--accent); }
.checkpoints li.cur { color: var(--text-primary); }
.checkpoints li em { font-style: normal; font-size: 11px; color: var(--text-dim); }
.checkpoints li .undo { font-size: 11px; color: var(--text-muted); padding: 2px 8px; border-radius: var(--radius-pill); background: var(--surface-2); }
@media (max-width: 1199px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-cell:nth-child(3n) { border-right: 1px solid var(--border); }
  .bento-cell:nth-child(2n) { border-right: 0; }
  .bento-cell:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .bento-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 809px) {
  .bento { grid-template-columns: 1fr; }
  .bento-cell { border-right: 0 !important; border-bottom: 1px solid var(--border) !important; min-height: 0; }
  .bento-cell:last-child { border-bottom: 0 !important; }
  .bento-cell .vis { padding: 32px 20px 20px; }
  .bento-cell .cap { padding: 0 20px 24px; font-size: 16px; }
}

/* ===== faq ===== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 18px; font-weight: 500; color: var(--text-primary); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 16px; height: 16px; flex: none; color: var(--text-muted); transition: transform var(--duration) var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .t-body { padding: 0 0 24px; max-width: 640px; }
@media (max-width: 1199px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== cta ===== */
.cta { text-align: center; }
.cta .t-h2 { font-size: 54px; }
.cta-box { margin: 40px auto 0; max-width: 580px; text-align: left; }
.cta-box .composer { background: var(--surface-card); padding: 16px 18px; }
.cta-box .composer .placeholder { min-height: 64px; font-size: 15px; }
.cta-chips { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cta-chips li { padding: 6px 12px; border-radius: var(--radius-pill); background: var(--surface-2); border: 1px solid var(--border-weak); font-size: 13px; color: var(--text-secondary); }
.cta-actions { margin-top: 40px; display: flex; justify-content: center; gap: 12px; }
@media (max-width: 1199px) { .cta .t-h2 { font-size: 42px; } }
@media (max-width: 809px) { .cta .t-h2 { font-size: 34px; } }

/* ===== footer ===== */
.footer { border-top: 1px solid var(--border); padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer .brand { margin-bottom: 12px; }
.footer .t-caption { max-width: 260px; }
.footer-col h4 { font-size: 15px; font-weight: 500; color: var(--text-primary); margin-bottom: 16px; }
.footer-col li { margin-bottom: 12px; font-size: 15px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border-weak); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 809px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ===== reveal on scroll (opacity only, respects reduced motion) ===== */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .step.running .ico svg, .timeline .tl.running .ico svg { animation: none; }
  html { scroll-behavior: auto; }
}
