/* Developer pages: the API (/api/) and the MCP server (/mcp/). */

.d-hero { padding: 96px 0 80px; background: var(--surface); }
.d-hero + .section { border-top: 1px solid var(--rule-faint); }
.d-hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.d-hero__in > *, .d-split > *, .tabs__panel > * { min-width: 0; }
.d-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.d-hero .h1 { font-size: clamp(40px, 5.4vw, 66px); }
.d-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.d-note { font-size: 13px; color: var(--muted); }

/* The server address with a copy button. */
.d-url { display: flex; align-items: center; gap: 10px; max-width: 520px; padding: 6px 6px 6px 14px; border-radius: var(--r-md); background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.d-url code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 14px var(--mono); color: var(--ink); }
.d-url__tag { font: 11px var(--mono); color: var(--muted); }

.copy { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 10px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--rule), var(--btn-shadow); font: 500 12px var(--mono); color: var(--ink); transition: background .15s; }
.copy:hover { background: var(--surface-2); }
.copy.is-done { color: var(--pos); }

/* A chat window: a question, the tools the AI called, then its answer. */
.chat { padding: 6px; border-radius: var(--r-xl); background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.chat__win { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 22px; border-radius: calc(var(--r-xl) - 6px); background: #fff; box-shadow: var(--shadow-sm); }
.chat__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-faint); font: 12px var(--mono); color: var(--muted); }
.chat__dots { display: flex; gap: 6px; }
.chat__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.msg-you { align-self: flex-end; max-width: 86%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--surface-2); color: var(--ink); font-size: 15px; line-height: 1.5; }
.calls { display: flex; flex-direction: column; gap: 6px; }
.call { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 5px 10px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font: 12px var(--mono); color: var(--muted); opacity: 0; transform: translateY(4px); animation: d-in .4s var(--ease) forwards; }
.call b { color: var(--brand); font-weight: 500; }
.call i { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); }
.call:nth-child(2) { animation-delay: .5s; }
.msg-ai { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--body); opacity: 0; animation: d-in .5s var(--ease) 1.1s forwards; }
.msg-ai b { color: var(--ink); font-weight: 600; }
.msg-ai ul { display: flex; flex-direction: column; gap: 6px; }
.msg-ai li { display: flex; gap: 8px; }
.msg-ai li::before { content: '–'; color: var(--faint); }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border-radius: var(--r-md); background: var(--rule); box-shadow: 0 0 0 1px var(--rule); }
.mini span { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; background: #fff; font-size: 12px; color: var(--muted); }
.mini b { font: 400 20px var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.mini .up { color: var(--pos); font: 500 11px var(--mono); }
@keyframes d-in { to { opacity: 1; transform: none; } }

/* Code blocks: dark, with tabs and a copy button. */
.code { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--night); }
.code__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 0 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.code__tabs { display: flex; gap: 2px; }
.code__tab { padding: 8px 12px; border-radius: 6px 6px 0 0; font: 12px var(--mono); color: #8494B6; }
.code__tab:hover { color: #fff; }
.code__tab.is-on { color: #fff; background: rgba(255, 255, 255, .07); }
.code__name { padding: 8px 4px; font: 12px var(--mono); color: #8494B6; }
.code .copy { height: 26px; margin-bottom: 6px; background: rgba(255, 255, 255, .08); box-shadow: none; color: #C9D4EA; }
.code .copy:hover { background: rgba(255, 255, 255, .14); }
.code pre { margin: 0; padding: 16px 18px 18px; overflow-x: auto; font: 13px/1.7 var(--mono); color: #C9D4EA; white-space: pre; tab-size: 2; }
.code [hidden] { display: none; }
.c-s { color: #9BE3B6; }
.c-c { color: #6F80A3; }
.c-k { color: #7FA8FF; }
.c-n { color: #FFC37A; }

/* Tabs for the setup steps. */
.tabs { display: flex; flex-direction: column; gap: 24px; }
.tabs__bar { display: inline-flex; flex-wrap: wrap; align-self: flex-start; gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--surface-2); }
.tabs__btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--muted); }
.tabs__btn img { width: 16px; height: 16px; border-radius: 3px; }
.tabs__btn:hover { color: var(--ink); }
.tabs__btn.is-on { background: #fff; color: var(--ink); box-shadow: var(--btn-shadow); }
.tabs__panel[hidden] { display: none; }
.tabs__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }

.steps { display: flex; flex-direction: column; gap: 18px; counter-reset: step; }
.steps li { position: relative; padding-left: 44px; font-size: 16px; color: var(--body); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: var(--r-xs); font-family: var(--mono); background: var(--brand-pale); font: 500 13px var(--mono); color: var(--brand); }
.steps b { color: var(--ink); font-weight: 600; }
.steps code, .d-prose code, .faq code, .ep code { padding: 1px 6px; border-radius: var(--r-xs); background: var(--surface-2); font: 13px var(--mono); color: var(--ink); }

/* Section heads. */
.d-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: 44px; }

/* Tool cards. */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; overflow: hidden; border-radius: var(--r-lg); background: var(--rule); box-shadow: 0 0 0 1px var(--rule); }
.tool { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; }
.tool__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tool code { font: 500 13.5px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.tool p { font-size: 14px; line-height: 1.55; }
.badge { flex: none; padding: 2px 8px; border-radius: var(--r-xs); background: var(--chip-bg); font: 500 11px var(--mono); color: var(--chip-ink); }
.badge--read { background: var(--pos-bg); color: var(--pos); }
.badge--write { background: var(--warn-bg); color: var(--warn); }

/* Example asks. */
.asks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ask { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); font-size: 16px; color: var(--ink); }
.ask::before { content: '›'; flex: none; font: 500 18px/1.3 var(--mono); color: var(--brand); }
.ask small { display: block; margin-top: 6px; font: 12px var(--mono); color: var(--muted); }

/* Short points in two columns. */
.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
.point { display: flex; gap: 14px; }
.point svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--brand); }
.point b { display: block; margin-bottom: 4px; font-size: 17px; color: var(--ink); }
.point p { font-size: 15px; }

.d-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.d-prose { display: flex; flex-direction: column; gap: 16px; font-size: 16px; }

/* Endpoint table. */
.ep-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--rule); background: #fff; }
.ep { width: 100%; border-collapse: collapse; font-size: 14px; }
.ep th { padding: 12px 16px; border-bottom: 1px solid var(--rule); background: var(--paper); text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); }
.ep td { padding: 14px 16px; border-bottom: 1px solid var(--rule-faint); vertical-align: top; color: var(--body); }
.ep tr:last-child td { border-bottom: 0; }
.ep .path { font: 13.5px var(--mono); color: var(--ink); white-space: nowrap; }
.ep .path i { font-style: normal; color: var(--muted); }
.method { display: inline-block; min-width: 54px; padding: 2px 7px; border-radius: var(--r-xs); background: var(--pos-bg); font: 500 11.5px var(--mono); color: var(--pos); text-align: center; }
.method--post { background: var(--brand-pale); color: var(--brand); }
.method--delete { background: var(--neg-bg); color: var(--neg); }

/* FAQ. */
.faq { max-width: 820px; }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 20px/1 var(--mono); color: var(--muted); }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 10px; font-size: 16px; }

/* Closing call to action. */
.d-cta { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }

@media (max-width: 980px) {
  .d-hero__in, .d-split, .tabs__panel { grid-template-columns: 1fr; gap: 36px; }
  .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .d-hero { padding: 64px 0; }
  .tools, .asks, .points { grid-template-columns: 1fr; }
  .mini { grid-template-columns: 1fr 1fr 1fr; }
  .mini b { font-size: 16px; }
  .call span { display: none; }
  /* Tables stack into cards on phones. */
  .ep thead { display: none; }
  .ep, .ep tbody, .ep tr, .ep td { display: block; width: 100%; }
  .ep tr { padding: 14px 16px; border-bottom: 1px solid var(--rule-faint); }
  .ep tr:last-child { border-bottom: 0; }
  .ep td { padding: 2px 0; border: 0; }
  .ep td:first-child { margin-bottom: 4px; }
  .ep .path { white-space: normal; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .call, .msg-ai { animation: none; opacity: 1; transform: none; } }

/* ─────────────── Live demo in "Connect in 2 minutes" ─────────────── */
.tabs__panel[data-demo] { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.steps--demo li { cursor: pointer; padding-top: 2px; padding-bottom: 2px; border-radius: var(--r-sm); transition: color .2s; }
.steps--demo li::before { transition: background .25s, color .25s, box-shadow .25s; }
.steps--demo li:hover { color: var(--ink); }
.steps--demo li.is-on { color: var(--ink); }
.steps--demo li.is-on::before { background: var(--brand); color: #fff; box-shadow: 0 0 0 4px var(--brand-bg); }
.steps--demo li.is-done::before { content: '✓'; background: var(--pos-bg); color: var(--pos); }

.stage { position: relative; height: 470px; padding: 6px; border-radius: var(--r-xl); background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; }
.scene { position: absolute; inset: 6px 6px 10px; display: flex; flex-direction: column; overflow: hidden; border-radius: calc(var(--r-xl) - 6px); background: #fff; box-shadow: var(--shadow-sm); animation: scene-in .45s var(--ease); }
.scene[hidden] { display: none; }
@keyframes scene-in { from { opacity: 0; transform: translateY(6px) scale(.995); } }
.stage__bar { position: absolute; left: 6px; right: 6px; bottom: 4px; height: 3px; border-radius: 999px; background: var(--rule-faint); overflow: hidden; }
.stage__bar i { display: block; width: 0; height: 100%; background: var(--brand); }
.stage__play { position: absolute; right: 16px; bottom: 16px; z-index: 6; padding: 4px 10px; border-radius: var(--r-xs); background: rgba(255, 255, 255, .92); box-shadow: inset 0 0 0 1px var(--rule); font: 500 11px var(--mono); color: var(--muted); }
.stage__play:hover { color: var(--ink); }
.stage__cursor { position: absolute; left: 0; top: 0; z-index: 5; opacity: 0; pointer-events: none; transition: transform .65s var(--ease), opacity .25s; filter: drop-shadow(0 2px 3px rgba(6, 27, 68, .25)); }
.stage__cursor.is-on { opacity: 1; }
.stage__cursor path { transform-origin: 5px 3px; transition: transform .12s; }
.stage__cursor.is-click path { transform: scale(.82); }

/* Mock app chrome */
.mock-bar { flex: none; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--rule-faint); background: var(--paper); font: 12px var(--mono); color: var(--muted); }
.mock-bar img { border-radius: 3px; }
.mock-dots { display: flex; gap: 5px; margin-right: 6px; }
.mock-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--rule); }
.mock-body { flex: 1; min-height: 0; padding: 20px 22px; font-size: 14px; color: var(--body); }
.mock-h { display: block; font-size: 16px; font-weight: 600; color: var(--ink); }
.mock-sub { font-size: 13px; color: var(--muted); }
.mock-label { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mock-muted { font-size: 12px; color: var(--faint); }

.mock-settings { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; padding: 0; }
.mock-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; border-right: 1px solid var(--rule-faint); background: var(--paper); font-size: 13px; }
.mock-side span { padding: 6px 10px; border-radius: var(--r-sm); }
.mock-side .is-on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: var(--shadow-sm); }
.mock-main { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 20px 20px 0; }
.mock-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--rule); color: var(--ink); }
.mock-row em, .mock-row .mock-toggle, .mock-row .mock-btn { margin-left: auto; }
.mock-row em { font: normal 11px var(--mono); color: var(--pos); }

.mock-btn { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 14px; border-radius: var(--r-sm); background: #fff; box-shadow: inset 0 0 0 1px var(--rule); font-size: 13px; font-weight: 600; color: var(--ink); transition: transform .12s, box-shadow .2s, background .2s; }
.mock-btn--sm { height: 26px; padding: 0 10px; font-size: 12px; }
.mock-btn--line { box-shadow: inset 0 0 0 1px var(--faint); }
.mock-btn--dark { background: var(--ink); color: #fff; box-shadow: none; }
.mock-btn--primary { flex: 1; background: var(--brand); color: #fff; box-shadow: none; }
.mock-btn.is-pressed { transform: scale(.96); box-shadow: 0 0 0 4px var(--brand-bg); }
.mock-toggle { position: relative; width: 34px; height: 20px; border-radius: var(--r-xs); background: var(--rule); transition: background .2s; }
.mock-toggle i { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 3px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.mock-toggle.is-pressed { background: var(--pos); }
.mock-toggle.is-pressed i { transform: translateX(14px); }
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); }
.mock-dot--warn { background: #E5A100; }

.mock-modal-wrap { display: flex; align-items: center; justify-content: center; background: rgba(6, 27, 68, .06); }
.mock-modal { display: flex; flex-direction: column; gap: 6px; width: 100%; max-width: 400px; padding: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg); }
.mock-input, .mock-select { display: flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--rule); font: 13px var(--mono); color: var(--ink); overflow: hidden; white-space: nowrap; }
.mock-input.is-typing { box-shadow: inset 0 0 0 1.5px var(--brand); }
.mock-input.is-typing::after, .mock-term .is-typing::after { content: ''; width: 1.5px; height: 15px; margin-left: 1px; background: currentColor; animation: blink 1s steps(1) infinite; }
.mock-select { justify-content: space-between; font-family: var(--font); }
.mock-select i { font-style: normal; color: var(--muted); }
.mock-actions { display: flex; gap: 8px; margin-top: 10px; }
.mock-actions--end { justify-content: flex-end; }

.mock-approve { display: flex; align-items: center; justify-content: center; background: var(--paper); }
.mock-card { position: relative; display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 360px; padding: 22px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 0 0 1px var(--rule); overflow: hidden; }
.mock-card .mock-h { margin-top: 6px; }
.mock-list { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; }
.mock-list li::before { content: '• '; color: var(--faint); }
.mock-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(255, 255, 255, .96); font-size: 15px; font-weight: 600; color: var(--pos); text-align: center; }

.mock-chat { display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.mock-you { align-self: flex-end; max-width: 88%; min-height: 40px; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--surface-2); color: var(--ink); }
.mock-call { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; padding: 4px 9px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); font: 11.5px var(--mono); color: var(--muted); }
.mock-call i { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); }
.mock-call b { color: var(--brand); font-weight: 500; }
.mock-call em { font-style: normal; }
.mock-ai { color: var(--body); }
.mock-ai b { color: var(--ink); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; border-radius: var(--r-md); background: var(--rule); box-shadow: 0 0 0 1px var(--rule); }
.mock-stats > span { display: flex; flex-direction: column; padding: 8px 11px; background: #fff; font-size: 11.5px; color: var(--muted); }
.mock-stats b { font: 400 18px var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.mock-stats em { font: normal 500 10.5px var(--mono); color: var(--pos); }

.scene--term { background: var(--ink); }
.scene--term .mock-bar { background: #0B2559; border-color: rgba(255, 255, 255, .08); color: #8494B6; }
.scene--term .mock-dots i { background: rgba(255, 255, 255, .18); }
.mock-term { display: flex; flex-direction: column; gap: 6px; font: 12.5px/1.65 var(--mono); color: #C9D4EA; overflow-wrap: anywhere; }
.mock-term pre { margin: 0; font: inherit; white-space: pre-wrap; }
.mock-term p { white-space: pre-wrap; }
.mock-term b { color: #fff; font-weight: 500; }
.t-p { color: #7FA8FF; }
.t-ok { color: #9BE3B6; }
.t-dim { color: #8494B6; }
.t-warn { color: #FFC37A; }
.t-sel { color: #fff; }

/* API demo: a new key, a terminal, then a dashboard that fills from the response. */
.mock-key-form { display: flex; gap: 8px; width: 100%; }
.mock-key-form .mock-input { flex: 1; min-width: 0; }
.mock-key-form .mock-btn { height: 36px; }
.mock-key { display: flex; flex-direction: column; gap: 8px; width: 100%; padding: 12px; border-radius: var(--r-md); background: var(--brand-pale); font-size: 12.5px; }
.mock-key b { color: var(--ink); font-weight: 600; }
.mock-key > span { display: flex; align-items: center; gap: 8px; }
.mock-key code { flex: 1; min-width: 0; padding: 6px 8px; border-radius: var(--r-sm); background: #fff; font: 12px var(--mono); color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-split { display: flex; flex-direction: column; gap: 14px; }
.mock-term--box { padding: 12px 14px; border-radius: var(--r-md); background: var(--ink); font-size: 12px; }
.mock-dash { display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 0; padding: 14px 16px; border-radius: var(--r-md); box-shadow: inset 0 0 0 1px var(--rule); }
.mock-dash__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.mock-dash__top b { font-size: 13px; color: var(--ink); }
.mock-dash__num { font: 400 24px var(--mono); letter-spacing: -0.03em; color: var(--ink); }
.mock-dash__num em { margin-left: 6px; font: normal 500 11px var(--mono); color: var(--pos); }
.mock-bars { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 8px; flex: 1; min-height: 90px; }
.mock-bars i { position: relative; display: block; border-radius: 4px 4px 0 0; background: var(--brand-bg); }
.mock-bars i:last-child { background: var(--brand); }
.mock-bars i span { position: absolute; left: 0; right: 0; top: -17px; font: normal 10.5px var(--mono); color: var(--muted); text-align: center; }
.mock-dash__axis { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; font: 10.5px var(--mono); color: var(--faint); text-align: center; }
.stage.is-live .mock-bars i[data-at]:not([data-type]) { opacity: 1; transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.stage.is-live .mock-bars i[data-at]:not([data-type]).is-in { transform: scaleY(1); }

/* Timeline: things appear at their time. Before the script runs, everything shows. */
.stage.is-live [data-at]:not([data-type]) { opacity: 0; transform: translateY(4px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.stage.is-live [data-at]:not([data-type]).is-in { opacity: 1; transform: none; }

@media (max-width: 980px) { .tabs__panel[data-demo] { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .stage { height: 500px; }
  .mock-settings { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-main { padding: 18px; }
  .mock-body { padding: 16px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .scene { animation: none; } .stage__cursor { display: none; } }
