Files
zeekay 19e60da6e0 feat(hero,faq): animate install/cli/dev/mcp/up CLI tabs, align setup pill & fix single-open FAQ
- Expand hero CLI terminal tabs to install, cli, dev, mcp, and up, animating through real multi-example sessions per tab
- Show Copy and Install CLI controls only on hover, focus, or click of the terminal
- Increase spacing below terminal and unify Copy setup prompt text, chevron, and dropdown alignment and hover motion
- Enforce single-open FAQ behavior with +/- icons (never x) and render all 25 questions visibly on /pricing
- Fix Duo 3D book-fold outer edge bleed, expand unfolded lines, and add interactive mobile drawer menu

Claude-Session: https://claude.ai/code/session_015XYKLix9PSyn6Jw2HWKprk
2026-11-10 15:35:30 -08:00

646 lines
52 KiB
CSS
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Hanzo Dev. Deck greys only (MASTER 3.1); a status reads by its shape (+ and -, a tick, a filled ring), never a hue.
Rooms: paper hero, black race, paper, quiet sheets, paper, black Band. Resting sizes: h1 52px, headings 26px; the
3.02x figure grows past 64px only while it is the moment. */
.xdv { --ink: #0a0a0a; --mute: #525252; --hair: rgba(0, 0, 0, .1); --ease: cubic-bezier(.16, 1, .3, 1); }
.xdv h3, .xdv h4 { color: inherit; }
/* links: ink, a 1px underline, Hanzo's own text arrow */
.xdv .x-arrow { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: light-dark(rgba(0, 0, 0, .3), rgba(255, 255, 255, .3)); min-height: 44px; }
.xdv .xdv-lk svg { display: none; }
.xdv-ar { display: inline-block; font-style: normal; text-decoration: none; transition: transform .15s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) { .xdv .x-arrow:hover, .xdv .xdv-lk:hover { text-decoration-color: currentColor; text-decoration-thickness: 2px; } .xdv .x-arrow:hover .xdv-ar, .xdv .xdv-lk:hover .xdv-ar { transform: translateX(3px); } }
/* a place card answers the pointer: its scene lifts 4px and its name underlines */
.xdv-pl-art { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) { .xdv-pl-card:hover .xdv-pl-art { transform: translate3d(0, -4px, 0); } .xdv-pl-card:hover .xdv-pl-txt h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; } }
[data-room='dark'] .x-arrow { color: #fafafa; text-decoration-color: rgba(255, 255, 255, .4); }
/* code rows (model picks, flags) */
.xdv-code { border-radius: 16px; background: #0a0a0a; color: #fafafa; overflow: hidden; }
.xdv-code-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: #a3a3a3; }
.xdv-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fafafa; font-size: 13px; }
.xdv-chip i { width: 7px; height: 7px; border-radius: 50%; background: #fafafa; }
.xdv-rows { display: grid; padding: 8px; }
.xdv-rows button { position: relative; overflow: hidden; border: 0; background: none; text-align: left; min-height: 48px; padding: 14px 16px; border-radius: 12px; cursor: pointer; color: #a3a3a3; transition: color .15s cubic-bezier(0, 0, .2, 1), transform .09s cubic-bezier(0, 0, .2, 1); }
.xdv-rows button:active { transform: scale(.97); }
@media (hover: hover) { .xdv-rows button:hover { color: #fafafa; } }
.xdv-rows button[aria-pressed='true'] { color: #fafafa; }
.xdv-rows button:focus-visible { outline: 2px solid #fafafa; outline-offset: -2px; }
.xdv-rows code { position: relative; font: 400 14px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.xdv-rows .c { color: #a3a3a3; }
.xdv-row-bg { position: absolute; inset: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); box-shadow: inset 2px 0 0 #fafafa; }
/* ---------- 1. hero ---------- */
.xdv-hero { padding: clamp(44px, 5vw, 72px) 0 clamp(72px, 9vw, 116px); overflow: hidden; }
.xdv-hero-top { align-items: end; row-gap: 24px; }
.xdv-hero-h { grid-column: 1 / 9; }
.xdv-hero-side { grid-column: 9 / 14; }
.xdv-lede { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--mute); text-wrap: pretty; }
.xdv-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin-top: 22px; }
.xdv-term-wrap { margin-top: clamp(28px, 3vw, 40px); }
/* the hero's arrival is plain CSS, so it plays from the first paint: lede and asks with the h1, the demo just after */
@keyframes xdv-arrive { from { opacity: 0; transform: translate3d(0, 16px, 0); } }
.xdv-arrive { animation: xdv-arrive 500ms cubic-bezier(.16, 1, .3, 1) both; animation-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) { .xdv-arrive { animation: none; } }
/* before the session plays, the file shows its before state: no struck line, no added line, no count; and the
terminal's final frame (the server's poster, for JS off) is not shown first, so nothing is given away and rewound */
@media (prefers-reduced-motion: no-preference) {
html.js .xdv-poster { visibility: hidden; }
html.js .xdv-file.pre .xdv-file-ct { opacity: 0; }
html.js .xdv-file.pre .xdv-cmp-b, html.js .xdv-file.pre .xdv-cmp-bar { clip-path: inset(0 0 0 100%); opacity: 0; }
}
.xdv-term { position: relative; border-radius: 24px; background: #0a0a0a; color: #fafafa; overflow: hidden; box-shadow: 0 24px 60px -16px rgba(0, 0, 0, .18); }
.xdv-term-bar { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 6px 8px 6px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.xdv-term-bar i { width: 12px; height: 12px; flex: none; border-radius: 50%; background: #404040; }
.xdv-term-bar .xdv-term-t { min-width: 0; margin-left: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
.xdv-info { flex: none; min-width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 10px; background: none; color: #a3a3a3; font: 500 13px/1 var(--mono); cursor: pointer; transition: background-color .15s, color .15s, transform .09s; }
.xdv-info:active { transform: scale(.97); }
@media (hover: hover) { .xdv-info:hover { color: #fafafa; background: rgba(255, 255, 255, .08); } }
.xdv-info:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; }
.xdv-term-bar .xdv-ctl { width: 44px; height: 44px; border-color: transparent; background: none; }
.xdv-demo { position: absolute; z-index: 3; right: 14px; top: 62px; max-width: 300px; margin: 0; padding: 12px 14px; border-radius: 12px; background: #171717; border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .78); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.xdv-demo.on { opacity: 1; transform: none; }
.xdv-panes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); }
.xdv-term-col { position: relative; min-width: 0; }
.xdv-off { display: none !important; }
.xdv-term-body { height: clamp(280px, 22vw, 316px); padding: 22px 26px 14px; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; font: 400 14px/1.75 var(--mono); }
.xt { white-space: pre-wrap; overflow-wrap: anywhere; color: #d4d4d4; }
.xt.p b { color: #fafafa; font-weight: 500; }
.xt i { display: inline-block; width: 8px; height: 1.05em; margin-left: 2px; vertical-align: -.16em; background: #fafafa; }
.xt.dim { color: #a3a3a3; margin-top: 4px; }
.xt.ask { margin: 12px 0 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fafafa; }
.xt.step { margin-top: 6px; color: #fafafa; }
.xt.step.run { animation: xdv-pulse 1.2s ease-in-out infinite; }
.xt.final { margin-top: 6px; color: #fafafa; font-weight: 500; }
@keyframes xdv-pulse { 50% { opacity: .45; } }
.xdv-term-foot { display: flex; gap: 8px; align-items: center; min-width: 0; padding: 12px 22px 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: #a3a3a3; }
.xdv-foot-h { margin-left: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: rgba(255, 255, 255, .55); }
.xdv-term-foot .xdv-foot-r { margin-left: auto; flex: none; font-style: normal; color: #a3a3a3; }
/* the file pane: the diff lands here */
.xdv-file { display: flex; flex-direction: column; min-width: 0; background: #0f0f0f; border-left: 1px solid rgba(255, 255, 255, .08); }
.xdv-file-tab { display: flex; align-items: center; gap: 9px; height: 44px; padding: 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #a3a3a3; }
.xdv-file-tab i { width: 8px; height: 8px; border-radius: 2px; background: #a3a3a3; }
.xdv-file-tab em { margin-left: auto; font-style: normal; color: #fafafa; }
/* the hunk's count arrives with the change (+1 in ink white, −1 struck grey, M for modified) */
.xdv-file-ct { display: inline-flex; gap: 8px; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.xdv-file-ct b { font-weight: 500; color: #fafafa; }
.xdv-file-ct s { color: #a3a3a3; text-decoration: none; }
.xdv-file-ct u { text-decoration: none; color: #a3a3a3; }
.xdv-file.s2 .xdv-file-ct, .xdv-file.s3 .xdv-file-ct { opacity: 1; transform: none; }
.xdv-src { list-style: none; position: relative; margin: 0; padding: 18px 0; font-size: 13.5px; line-height: 1.95; color: #d4d4d4; }
.xdv-src li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); padding-right: 16px; white-space: pre; overflow: hidden; }
.xdv-src .n { color: #737373; text-align: right; padding-right: 14px; }
.xdv-src .sg { display: inline-block; width: 1.4em; font-weight: 500; color: #737373; }
/* the line the change is about: struck grey before, white and marked after */
.xdv-src .del { background: rgba(255, 255, 255, .04); }
.xdv-src .del > span:last-child { color: #a3a3a3; text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .45); }
.xdv-src .del .sg { color: #a3a3a3; }
.xdv-src .add { color: #ffffff; font-weight: 500; background: rgba(255, 255, 255, .1); box-shadow: inset 2px 0 0 #fafafa; }
.xdv-src .add .sg, .xdv-src .add .n { color: #fafafa; }
/* the signature: before / after. Two copies of the file lie on each other; the after copy shows right of the divider */
.xdv-cmp { position: relative; flex: 1; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.xdv-cmp-b { position: absolute; inset: 0; background: #0f0f0f; clip-path: inset(0 0 0 var(--p)); }
.xdv-cmp-bar { position: absolute; top: 0; bottom: 0; left: var(--p); width: 0; pointer-events: none; }
.xdv-cmp-bar::before { content: ''; position: absolute; top: 0; bottom: 0; left: -.5px; width: 1px; background: rgba(255, 255, 255, .55); }
.xdv-cmp-bar i { position: absolute; top: 50%; left: -18px; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; background: #fafafa; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .75); transition: transform 150ms cubic-bezier(0, 0, .2, 1); }
.xdv-cmp-bar i::before, .xdv-cmp-bar i::after { content: ''; position: absolute; top: 50%; width: 0; height: 0; margin-top: -4px; border: 4px solid transparent; }
.xdv-cmp-bar i::before { left: 7px; border-right-color: #0a0a0a; }
.xdv-cmp-bar i::after { right: 7px; border-left-color: #0a0a0a; }
@media (hover: hover) { .xdv-cmp:hover .xdv-cmp-bar i { transform: scale(1.08); } }
.xdv-cmp:active .xdv-cmp-bar i { transform: scale(.98); }
/* the keyboard's way in: a range input laid over the pane, invisible, with the handle's ring as its focus */
.xdv-cmp-r { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; pointer-events: none; }
.xdv-cmp-r:focus-visible + .xdv-cmp-bar i, .xdv-cmp:has(.xdv-cmp-r:focus-visible) .xdv-cmp-bar i { outline: 2px solid #fafafa; outline-offset: 3px; }
/* ---------- 2. the race (black room) ---------- */
/* the race is a plain black room now (no pinned scene, MOTION-MAP rule 3): the board, then the verdict under it */
.xdv-race { position: relative; background: #000; color: #fafafa; padding-bottom: clamp(72px, 9vw, 116px); }
.xdv-race-pin { padding: clamp(72px, 9vw, 116px) 0 40px; }
.xdv-race-after { padding-top: 44px; }
.xdv-race-top { align-items: end; margin-bottom: 36px; }
.xdv-race-h { grid-column: 1 / 14; margin: 0; display: grid; grid-template-columns: subgrid; align-items: end; }
/* the moment: 64px at rest, grown to the full figure as the room opens */
.xdv-big { grid-column: 1 / 8; display: block; justify-self: start; font-size: clamp(6rem, 11.5vw, 10rem); color: #fafafa; transform-origin: 0 100%; }
.xdv-race-t { grid-column: 8 / 14; display: block; padding-bottom: .9rem; font-size: 1.625rem; font-weight: 497; line-height: 1.15; letter-spacing: -.022em; max-width: 16ch; color: #fafafa; }
.xdv-race-l { grid-column: 8 / 14; margin: 14px 0 0; max-width: 46ch; font-size: 1rem; line-height: 1.55; color: rgba(255, 255, 255, .78); }
.xdv-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; }
.xdv-side { position: relative; overflow: hidden; padding: clamp(20px, 2.4vw, 32px); border-radius: 24px; background: #171717; }
.xdv-side header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.xdv-side h3 { margin: 0; font-size: 1.3125rem; font-weight: 497; letter-spacing: -.015em; }
.xdv-st { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #a3a3a3; }
.xdv-clock { margin: 18px 0 0; font-size: 4rem; font-weight: 220; letter-spacing: -.04em; line-height: .95; font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; min-width: 6ch; }
.xdv-side:not(.win) .xdv-clock { color: #a3a3a3; }
.xdv-lab { margin: 8px 0 0; font-size: 14px; color: #a3a3a3; }
.xdv-cells { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; margin: 22px 0 18px; }
.xdv-cells span { position: relative; height: 28px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.xdv-cells span.dead { background: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.xdv-cells b { position: absolute; inset: 0; background: #fafafa; transition: opacity .15s linear; }
.xdv-side:not(.win) .xdv-cells b { background: #737373; }
.xdv-calls { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #a3a3a3; }
.xdv-calls b { font-weight: 400; font-size: 21px; color: #fafafa; }
.xdv-dots { display: inline-flex; gap: 6px; margin-left: auto; }
.xdv-dots i { width: 10px; height: 10px; border-radius: 50%; background: #fafafa; transition: opacity .15s linear; }
.xdv-run { margin: 14px 0 0; font-size: 12px; color: #a3a3a3; overflow-wrap: anywhere; }
.xdv-flash { position: absolute; inset: 0; border-radius: 24px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8); pointer-events: none; transition: opacity .3s linear; }
.xdv-side:not(.win) .xdv-flash { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.xdv-race-act { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 24px 0 0; }
.xdv-replay-btn { background: transparent; color: #fafafa; border-color: rgba(255, 255, 255, .22); transition: background-color .15s cubic-bezier(0, 0, .2, 1), color .15s cubic-bezier(0, 0, .2, 1), border-color .15s cubic-bezier(0, 0, .2, 1); }
@media (hover: hover) { .xdv .xdv-replay-btn:hover { background: #fafafa; color: #0a0a0a; border-color: #fafafa; } }
.xdv-verdict-row { align-items: start; }
.xdv-verdict { grid-column: 1 / 7; margin: 0; font-size: 1.625rem; font-weight: 497; letter-spacing: -.022em; line-height: 1.2; color: #fafafa; text-wrap: balance; }
.xdv-ways { grid-column: 8 / 14; }
.xdv-ways-k { margin: 0 0 8px; font-size: 14px; color: #a3a3a3; }
.xdv-ways ul { list-style: none; margin: 0 0 24px; padding: 0; }
.xdv-ways li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 6px 18px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.xdv-way { font-size: 16px; }
.xdv-ways li > b { font-size: 26px; font-weight: 400; }
.xdv-ci-t { font-size: 12px; color: #a3a3a3; }
.xdv-ci { grid-column: 1 / -1; position: relative; display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .1); }
.xdv-ci > b { position: absolute; left: 0; top: 0; bottom: 0; display: block; border-radius: 3px; background: #fafafa; }
.xdv-ci u { position: absolute; top: -4px; bottom: -4px; border-radius: 3px; box-shadow: inset 0 0 0 1px #fafafa; }
/* ---------- 3. places: a rail you throw ---------- */
.xdv-places { overflow: hidden; }
.xdv-pl-head { align-items: end; margin-bottom: 44px; }
.xdv-pl-hl { grid-column: 1 / 9; }
.xdv-pl-hr { grid-column: 9 / 14; }
.xdv-pl-cap { margin: 10px 0 0; font-size: 14px; color: #737373; }
.xdv-pl-ctl { display: flex; gap: 8px; margin-top: 20px; }
.xdv-pl-ctl button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--hair); background: var(--x-raised); font-size: 17px; color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s, transform .09s; }
.xdv-pl-ctl button:active { transform: scale(.97); }
@media (hover: hover) { .xdv-pl-ctl button:hover { border-color: light-dark(rgba(0, 0, 0, .3), rgba(255, 255, 255, .3)); background: light-dark(#f5f5f5, #171717); } }
.xdv-pl-ctl button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.xdv-pl-view { padding-left: max(clamp(16px, 4vw, 32px), calc((100vw - 1280px) / 2)); cursor: grab; }
.xdv-pl-view:active { cursor: grabbing; }
.xdv-pl { list-style: none; margin: 0; padding: 0 32px 0 0; display: flex; gap: 12px; width: max-content; touch-action: pan-y; }
.xdv-pl-card { width: clamp(320px, 31vw, 440px); flex: none; user-select: none; }
.xdv-pl-art { position: relative; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; background: light-dark(#f2f2f2, #171717); }
.xdv-pl-art.term, .xdv-pl-art.cloud { background: #0a0a0a; }
.xdv-pl-txt { padding: 20px 4px 0; }
.xdv-pl-txt h3 { margin: 0; font-size: 1.3125rem; font-weight: 497; letter-spacing: -.015em; }
.xdv-tag { display: inline-block; margin-top: 10px; padding: 4px 9px; border-radius: 6px; background: light-dark(#f2f2f2, #262626); font: 500 13px/1.3 var(--mono); color: var(--ink); }
.xdv-pl-txt p { margin: 12px 0 0; max-width: 40ch; font-size: 15px; line-height: 1.55; color: var(--mute); }
.xdv-pl-more { margin-top: 36px; }
.xdv-sc { position: absolute; inset: 0; padding: 28px; }
.xdv-sc p { margin: 0; }
.xdv-sc.term { color: #fafafa; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.xdv-sc.term b, .xdv-sc.cloud b { color: #a3a3a3; font-weight: 400; margin-right: 6px; }
.xdv-sc.term .dim { color: #a3a3a3; }
.xdv-sc.term .box { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.xdv-sc.web { padding: 22px; }
.xdv-sc.web > p { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 12px 12px 0 0; background: light-dark(#e5e5e5, #262626); }
.xdv-sc.web > p i { width: 10px; height: 10px; border-radius: 50%; background: light-dark(#d4d4d4, #404040); }
.xdv-sc.web > p em { margin-left: 10px; padding: 4px 12px; border-radius: 6px; background: var(--x-raised); font-style: normal; font-size: 12px; color: var(--mute); }
.xdv-sc.web > div { position: relative; height: calc(100% - 36px); padding: 22px; border-radius: 0 0 12px 12px; background: var(--x-raised); display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.xdv-sc.web .t { font-size: 21px; font-weight: 497; letter-spacing: -.015em; color: var(--ink); }
.xdv-sc.web .c { display: flex; flex-direction: column; gap: 8px; }
.xdv-sc.web .c b { height: 8px; border-radius: 4px; background: light-dark(#ededed, #333333); transform-origin: 0 50%; }
.xdv-sc.web .c b:nth-child(1) { width: 80%; } .xdv-sc.web .c b:nth-child(2) { width: 62%; } .xdv-sc.web .c b:nth-child(3) { width: 40%; }
[data-play] .xdv-sc.web .c b { animation: xdv-grow .6s var(--ease) both; }
[data-play] .xdv-sc.web .c b:nth-child(2) { animation-delay: .15s; } [data-play] .xdv-sc.web .c b:nth-child(3) { animation-delay: .3s; }
.xdv-sc.web .k { align-self: flex-end; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: var(--x-on-ink); }
.xdv-sc.cloud { display: flex; flex-direction: column; justify-content: center; gap: 14px; color: #fafafa; font-size: 15px; }
[data-play] .xdv-sc.cloud p { animation: xdv-build .5s var(--ease) both; }
[data-play] .xdv-sc.cloud p:nth-child(2) { animation-delay: .25s; } [data-play] .xdv-sc.cloud p:nth-child(3) { animation-delay: .5s; }
.xdv-sc.slack { display: flex; flex-direction: column; justify-content: center; gap: 10px; margin: 24px; padding: 22px; border-radius: 16px; background: var(--x-raised); }
.xdv-sc.slack .who { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.xdv-sc.slack .who i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: var(--x-on-ink); font-style: normal; font-weight: 500; }
.xdv-sc.slack .msg { margin-left: 42px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.xdv-sc.slack .msg.dim { color: var(--mute); }
[data-play] .xdv-sc.slack .msg { animation: xdv-build .5s var(--ease) both; animation-delay: .3s; }
[data-play] .xdv-sc.slack .msg.dim { animation-delay: .6s; }
@keyframes xdv-build { from { transform: translateY(8px); opacity: 0; } }
@keyframes xdv-grow { from { transform: scaleX(0); } }
/* ---------- 4. how it works: sheets that stack (the quiet room) ---------- */
.xdv-how { padding: clamp(44px, 5vw, 72px) 0 clamp(72px, 7vw, 116px); background: light-dark(#f5f5f5, #0d0d0d); }
.xdv-stack { display: grid; gap: 12px; }
.xdv-sheet { position: relative; border-radius: 24px; background: light-dark(#fff, #171717); }
.xdv-sheet-in { min-height: min(560px, calc(100svh - 160px)); padding: clamp(28px, 3.6vw, 52px); align-items: center; row-gap: 28px; }
.xdv-sheet-l { grid-column: 1 / 6; }
.xdv-sheet-r { grid-column: 7 / 14; }
.xdv-sheet .v2a-head { max-width: 16ch; text-wrap: balance; margin: 0; }
.xdv-sheet-lede { margin-top: 16px; max-width: 44ch; }
.xdv-sheet-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 18px; }
.xdv-sheet-f span { margin-right: 2px; color: var(--ink); }
/* rhythm: every other sheet leads with its object, and each object starts a size down and grows to rest as its sheet arrives */
@media (min-width: 900px) {
.xdv-sheet.flip .xdv-sheet-l { grid-column: 9 / 14; grid-row: 1; }
.xdv-sheet.flip .xdv-sheet-r { grid-column: 1 / 8; grid-row: 1; }
}
@media (prefers-reduced-motion: no-preference) {
html.js .xdv-sheet .xdv-sheet-r { transform: scale(.92); transform-origin: 50% 60%; transition: transform .9s cubic-bezier(.16, 1, .3, 1) .1s; }
html.js .xdv-sheet[data-in] .xdv-sheet-r { transform: none; }
}
/* the sheets follow one another in plain flow (no sticky stack: MOTION-MAP rule 3) */
/* ---------- the five entrances (MOTION-MAP /dev, in page order), page-local ----------
Each waits on its first frame (a paused animation) until its block is reached (data-in), then plays once. With JS
off nothing is paused or hidden; reduced motion shows every block at rest. */
@media (prefers-reduced-motion: no-preference) {
html.js .xdv-in:not([data-in]) *, html.js .xdv-in:not([data-in]) { animation-play-state: paused !important; }
/* 1. stack-drop: the places fall from above and stack onto their places, one after another, with a short settle */
.xdv-in[data-k='stack-drop'] .xdv-pl-card { animation: xdv-stack 700ms cubic-bezier(.2, .9, .25, 1) backwards; animation-delay: calc(var(--d, 0) * 110ms); }
@keyframes xdv-stack { 0% { opacity: 0; transform: translate3d(0, -120px, 0) scale(.96); } 60% { opacity: 1; transform: translate3d(0, 10px, 0) scale(1); } 100% { transform: none; } }
/* 2. letter-cascade: each title's letters drop into place one by one */
.xdv-lc { display: inline-block; white-space: pre; }
.xdv-lc > span { display: inline-block; }
.xdv-in[data-k='letter-cascade'] .xdv-lc > span { animation: xdv-lc 520ms cubic-bezier(.16, 1, .3, 1) backwards; animation-delay: calc(var(--c, 0) * 22ms); }
@keyframes xdv-lc { from { opacity: 0; transform: translate3d(0, -.7em, 0) rotate(-8deg); } }
/* 3. pendulum: the two race sides swing in on their top edge and settle */
.xdv-in[data-k='pendulum'] .xdv-side { transform-origin: 50% 0; animation: xdv-pend 1400ms cubic-bezier(.36, 0, .2, 1) backwards; }
.xdv-in[data-k='pendulum'] .xdv-side + .xdv-side { animation-delay: 140ms; }
@keyframes xdv-pend { 0% { opacity: 0; transform: rotate(-14deg); } 30% { opacity: 1; transform: rotate(8deg); } 55% { transform: rotate(-4deg); } 78% { transform: rotate(1.5deg); } 100% { transform: rotate(0); } }
/* 4. slot-roll: the heading's letters roll up out of their slots */
.xdv-sr { display: inline-block; overflow: hidden; vertical-align: top; white-space: pre; }
.xdv-sr > span { display: inline-block; }
.xdv-in[data-k='slot-roll'] .xdv-sr > span { animation: xdv-sr 640ms cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--c, 0) * 28ms); }
@keyframes xdv-sr { 0% { transform: translate3d(0, 110%, 0); } 70% { transform: translate3d(0, -8%, 0); } 100% { transform: none; } }
/* 5. zoom-through: the repository card flies in from far behind the screen */
.xdv-in[data-k='zoom-through'] { animation: xdv-zoom 900ms cubic-bezier(.16, 1, .3, 1) backwards; transform-origin: 50% 50%; }
@keyframes xdv-zoom { from { opacity: 0; transform: perspective(900px) translate3d(0, 0, -900px); } }
}
.xdv-lc, .xdv-sr { display: inline-block; white-space: pre; }
.xdv-w { display: inline-block; white-space: nowrap; }
.xdv-pick { border-radius: 16px; background: #0a0a0a; overflow: hidden; }
.xdv-pick .xdv-code { border-radius: 0; }
.xdv-ladder-wrap { display: grid; gap: 14px; }
.xdv-ladder { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.xdv-ladder li button { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; width: 100%; height: 52px; padding: 0 18px; border: 0; border-radius: 14px; background: none; text-align: left; font: inherit; color: #737373; cursor: pointer; transition: color .15s cubic-bezier(0, 0, .2, 1), transform .09s cubic-bezier(0, 0, .2, 1); }
.xdv-ladder li button > :not(.xdv-rung-bg) { position: relative; }
.xdv-ladder li button:active { transform: scale(.97); }
.xdv-ladder li .xdv-rung-t { font-size: 1.0625rem; font-weight: 497; letter-spacing: -.01em; }
.xdv-ladder li.on button { color: var(--ink); }
.xdv-ladder li button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.xdv-rung-bg { position: absolute; inset: 0; border-radius: 14px; background: light-dark(#f2f2f2, #262626); }
.xdv-rung-n { font-size: 12px; }
.xdv-rung-d { min-height: 4.8em; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--hair); font-size: 15px; line-height: 1.55; color: var(--mute); }
.xdv-rung-d p { margin: 0; }
.xdv-pr { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.xdv-pr li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; padding: 22px 0; border-bottom: 1px solid var(--hair); }
.xdv-pr svg { grid-row: span 2; stroke: var(--ink); }
.xdv-pr h4 { margin: 0; font-size: 1.0625rem; font-weight: 497; letter-spacing: -.01em; }
.xdv-pr p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--mute); }
.xdv-sbx-r { display: grid; gap: 18px; }
.xdv-fence { position: relative; aspect-ratio: 16 / 8; width: 100%; }
.xdv-fence-box { position: absolute; inset: 6%; border-radius: 24px; border: 1.5px solid var(--ink); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.xdv-fence.open .xdv-fence-box { opacity: .2; border-style: dashed; transform: scale(1.05); }
.xdv-fence.ask .xdv-fence-box { border-style: dashed; }
.xdv-fence-in { position: absolute; inset: 26% 22%; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 22px; border-radius: 16px; background: #0a0a0a; color: #fafafa; font-size: 14px; }
.xdv-fence-in p { margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.xdv-fence-in b { color: #a3a3a3; font-weight: 400; margin-right: 6px; }
.xdv-fence-in .c { color: #a3a3a3; font-size: 13px; }
.xdv-fence-ask { position: absolute; right: 12%; bottom: 10%; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .3s var(--ease), transform .3s var(--ease); display: grid; place-items: center; }
.xdv-fence-ask span { width: 14px; height: 7px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.xdv-fence.ask .xdv-fence-ask { opacity: 1; transform: none; }
.xdv-fence-mcp { position: absolute; right: 0; top: 10%; opacity: 0; transform: translateX(20px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.xdv-fence-mcp i { display: block; padding: 8px 12px; border-radius: 10px; background: var(--x-raised); box-shadow: 0 0 0 1px var(--hair); font-style: normal; font-size: 13px; color: var(--ink); }
.xdv-fence.mcp .xdv-fence-mcp { opacity: 1; transform: none; }
.xdv-harness { display: grid; justify-items: center; padding: 20px 0; }
.xdv-agents { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.xdv-agents span { padding: 12px 18px; border-radius: 999px; background: light-dark(#f2f2f2, #262626); font: 400 15px/1 var(--sans); color: var(--ink); }
[data-play] .xdv-agents span { animation: xdv-build .4s var(--ease) both; animation-delay: calc(.2s + var(--i) * .06s); }
.xdv-agents span.dev { background: var(--ink); color: var(--x-on-ink); }
.xdv-bus { display: flex; gap: 44px; height: 72px; }
.xdv-bus i { position: relative; width: 1px; background: var(--hair); overflow: hidden; }
.xdv-bus i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--ink); transform-origin: 50% 0; }
[data-play] .xdv-bus i::after { animation: xdv-drop .5s var(--ease) both; animation-delay: .6s; }
@keyframes xdv-drop { from { transform: scaleY(0); } }
.xdv-gen-core { padding: 20px 52px; border-radius: 16px; background: var(--ink); color: var(--x-on-ink); font-size: 1.625rem; font-weight: 497; letter-spacing: -.02em; }
/* ---------- 5. install ---------- */
.xdv-in-head { align-items: end; margin-bottom: 36px; }
.xdv-in-hl { grid-column: 1 / 9; }
.xdv-in-hr { grid-column: 9 / 14; }
.xdv-in-body { align-items: start; row-gap: 36px; }
.xdv-in-l { grid-column: 1 / 8; }
.xdv-in-r { grid-column: 8 / 14; display: grid; gap: 14px; }
.xdv-in-r .v2a-title { max-width: 30ch; }
.xdv-way-p { margin-top: 16px; outline: none; }
/* the $ prompt drawn by CSS, so each install line stays one plain line of text */
.xdv-way-code .x-codeblock-l:not(.c)::before { content: '$ '; color: #737373; user-select: none; }
.xdv-way-p p { margin: 12px 0 0; font-size: 15px; color: var(--mute); }
.xdv-in-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
/* ---------- 6. source, questions, reading ---------- */
.xdv-oss { padding-top: 0; }
.xdv-oss-top { align-items: end; }
.xdv-oss-l { grid-column: 1 / 9; }
.xdv-oss-r { grid-column: 9 / 14; }
.xdv-oss-p { margin: 0; font-size: 1.0625rem; line-height: 1.55; color: var(--mute); }
.xdv-oss-p a { color: var(--ink); font-family: var(--mono); font-size: .92em; text-decoration: underline; text-underline-offset: 3px; }
.xdv-repo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 44px 0 0; padding: 22px 26px; border-radius: 24px; background: #171717; color: #fafafa; font-size: 14px; }
.xdv-repo-n { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; }
.xdv-repo-n i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #fafafa; }
.xdv-repo-t { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .78); font-size: 13px; }
/* the file drawn as its lines, each a bar its own length, laid in once when the card arrives */
.xdv-repo-tree { flex: 1 1 100%; display: grid; gap: 7px; margin-top: 12px; }
.xdv-repo-tree { gap: 2px; }
.xdv-repo-tree b { display: block; font-weight: 400; font-size: 13px; line-height: 1.6; white-space: pre; overflow: hidden; text-overflow: ellipsis; color: rgba(255, 255, 255, .55); }
@media (prefers-reduced-motion: no-preference) {
html.js .xdv-repo:not([data-play]) .xdv-repo-tree b { clip-path: inset(0 100% 0 0); }
.xdv-repo .xdv-repo-tree b { clip-path: inset(0 0 0 0); transition: clip-path .8s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i) * 60ms); }
}
.xdv-oss-links { display: flex; flex-wrap: wrap; gap: 0 22px; margin-top: 10px; }
.xdv-qa { margin-top: clamp(72px, 9vw, 116px); align-items: start; }
.xdv-qa-l { grid-column: 1 / 5; position: sticky; top: 100px; }
.xdv-qa-l .v2a-head { margin: 0; }
.xdv-qa-r { grid-column: 6 / 14; }
.xdv-read { margin-top: 28px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.xdv-read summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; }
.xdv-read summary::-webkit-details-marker { display: none; }
.xdv-read summary > span { display: flex; flex-direction: column; gap: 4px; }
.xdv-read summary .xdv-read-t { font-size: 1.0625rem; font-weight: 497; color: var(--ink); }
.xdv-read summary span span { font-size: 15px; color: var(--mute); }
.xdv-read summary i { font-style: normal; font-size: 24px; font-weight: 300; color: var(--mute); transition: transform .3s var(--ease); }
.xdv-read[open] summary i { transform: rotate(45deg); }
.xdv-read summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.xdv-read > .v2a-folio { margin: 0 0 18px; }
.xdv-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 24px; }
.xdv-cols h3 { margin: 0 0 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #737373; }
.xdv-cols ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.xdv-cols li { border-bottom: 1px solid var(--hair); }
.xdv-cols a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; min-height: 48px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.xdv-cols a > * { transition: transform .3s var(--ease); }
@media (hover: hover) { .xdv-cols a:hover > * { transform: translateX(6px); } }
.xdv-cols b { font-size: 1rem; font-weight: 497; }
.xdv-cols a span { grid-column: 1; font-size: 14px; color: var(--mute); }
.xdv-cols a i { grid-row: 1; grid-column: 2; font-style: normal; }
/* ---------- 7. paste and ship ---------- */
.xdv-paste { padding-top: 0; }
.xdv-paste-in { align-items: center; row-gap: 24px; }
.xdv-paste-l { grid-column: 1 / 7; }
.xdv-paste-l .v2a-head { margin: 0; max-width: 24ch; }
.xdv-paste-r { grid-column: 8 / 14; }
@media (prefers-reduced-motion: reduce) {
.xdv *, .xdv *::before, .xdv *::after { animation: none !important; }
.xdv-swap > span, .xdv-demo { transition: none !important; }
}
/* ---------- phones ---------- */
@media (max-width: 899px) {
.xdv-hero { padding: 32px 0 72px; }
.xdv-acts { margin-top: 18px; }
.xdv-term-wrap { margin: 28px 16px 0; width: auto; padding: 0; }
.xdv-term { border-radius: 20px; }
.xdv-panes { grid-template-columns: 1fr; }
.xdv-term-body { height: 260px; padding: 16px; font-size: 13px; }
.xdv-file { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.xdv-src { padding: 12px 0; font-size: 11px; line-height: 1.9; }
.xdv-cmp { min-height: 230px; }
.xdv-src li { grid-template-columns: 24px minmax(0, 1fr); padding-right: 10px; white-space: pre; overflow: visible; width: max-content; min-width: 100%; }
.xdv-src .n { padding-right: 8px; }
.xdv-term-foot { padding: 11px 16px 13px; }
.xdv-foot-h { display: none; }
.xdv-race-pin { padding: 72px 0 24px; }
.xdv-race-h { display: flex; flex-direction: column; gap: 6px; }
.xdv-big { font-size: 5.25rem; }
.xdv-race-t { padding-bottom: 0; font-size: 1.5rem; }
.xdv-split { grid-template-columns: 1fr; }
.xdv-clock { font-size: 3.25rem; }
.xdv-cells { gap: 2px; }
.xdv-cells span { height: 22px; }
.xdv-ways { margin-top: 28px; }
.xdv-ways li { grid-template-columns: 1fr auto; }
.xdv-ways li .xdv-ci-t { grid-column: 1 / -1; }
.xdv-pl-hr { margin-top: 12px; }
.xdv-pl-ctl { display: none; }
.xdv-pl-view { padding-left: 0; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; cursor: auto; }
.xdv-pl-view::-webkit-scrollbar { display: none; }
.xdv-pl { padding: 0 16px; gap: 12px; touch-action: auto; transform: none !important; }
.xdv-pl-view { scroll-padding-left: 16px; }
.xdv-pl-card { width: 84vw; scroll-snap-align: start; }
.xdv-sc { padding: 20px; }
.xdv-how { padding: 16px 0 72px; }
.xdv-sheet { border-radius: 20px; }
.xdv-sheet-in { min-height: 0; padding: 24px 18px 28px; }
.xdv-fence { aspect-ratio: 4 / 3; }
.xdv-fence-in { inset: 22% 10%; padding: 0 14px; font-size: 12.5px; }
.xdv-gen-core { padding: 16px 36px; }
.xdv-bus { gap: 30px; }
.xdv-qa-l { position: static; margin-bottom: 18px; }
.xdv-cols { grid-template-columns: 1fr; gap: 28px; }
.xdv .x-copy { min-height: 44px; padding-inline: 14px; }
}
/* the close: the headline breaks as the h1 does ("Describe the change." / "Dev ships it."), and the Go plan is the
quiet second door under the one solid ask (an outline on the dark band, never a second white fill) */
.xdv .x-band h2 { text-wrap: balance; }
.xdv .x-band .xdv-go { background: transparent; color: #fafafa; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); border-color: transparent; transition: box-shadow .15s cubic-bezier(0, 0, .2, 1), background-color .15s cubic-bezier(0, 0, .2, 1), transform .09s; }
@media (hover: hover) { .xdv .x-band .xdv-go:hover { background: #262626; box-shadow: inset 0 0 0 1px #fafafa; } }
.xdv .x-band .xdv-go:active { transform: scale(.98); }
.xdv .x-band .xdv-go:focus-visible { outline: 2px solid #fafafa; outline-offset: 2px; }
/* a closed "Read" holds nothing on the page (its rows only exist once it opens) */
.xdv-read:not([open]) > :not(summary) { display: none; }
@media (max-width: 700px) {
/* the phone terminal says its whole name: the three lights step aside, the caps tighten */
.xdv-term-bar { padding-left: 14px; }
.xdv-term-bar > i { display: none; }
.xdv-term-bar .xdv-term-t { margin-left: 0; letter-spacing: .06em; }
/* the race figure's glyphs keep clear of the line under it */
.xdv-race-h { gap: 18px; }
}
/* every hover answers: questions nudge their mark, the inline repo link thickens, Copy is a full 44px target */
@media (hover: hover) {
.xdv .x-faq button > span { transition: transform .15s cubic-bezier(0, 0, .2, 1); }
.xdv .x-faq button:hover > span { transform: translateX(4px); }
.xdv-oss-p a:hover { text-decoration-thickness: 2px; text-underline-offset: 5px; }
.xdv-rows button[aria-pressed='true']:hover code, .xdv-ladder button[aria-pressed='true']:hover .xdv-rung-n { transform: translateX(3px); }
}
.xdv-rows button code, .xdv-ladder .xdv-rung-n { transition: transform .15s cubic-bezier(0, 0, .2, 1); }
.xdv-oss-p a { transition: text-underline-offset .15s, text-decoration-thickness .15s; }
.xdv .x-codeblock .x-copy { min-height: 44px; }
.xdv .x-faq button:active { transform: translateY(1px); }
/* 11. "Built to be checked." holds the verifier's ledger for the hero's change: each line settles in turn (its dot
fills, its value types in), then the closing line. Without JS or under reduced motion it is shown settled. */
.xdv-ledger { margin: 0 0 22px; padding: 6px 0 4px; border-radius: 20px; background: #0a0a0a; color: #d4d4d4; font-size: 13.5px; overflow: hidden; }
.xdv-led-h { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 20px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #a3a3a3; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.xdv-led-h i { width: 8px; height: 8px; border-radius: 2px; background: #a3a3a3; }
.xdv-led-h em { margin-left: auto; font-style: normal; text-transform: none; letter-spacing: 0; color: #737373; }
.xdv-ledger ol { list-style: none; margin: 0; padding: 8px 0; }
.xdv-ledger li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 28px; align-items: center; height: 40px; padding: 0 20px 0 14px; }
.xdv-ledger li .n { color: #737373; text-align: right; padding-right: 14px; }
.xdv-ledger li .k { color: #fafafa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xdv-ledger li .v { color: #fafafa; font-weight: 500; }
.xdv-ledger li .ok { justify-self: end; width: 10px; height: 10px; border-radius: 50%; background: #fafafa; box-shadow: 0 0 0 1.5px #fafafa; }
.xdv-led-f { margin: 0; padding: 12px 20px 14px; border-top: 1px solid rgba(255, 255, 255, .08); color: #fafafa; }
@media (prefers-reduced-motion: no-preference) {
.xdv-ledger li { transition: background-color .3s cubic-bezier(.4, 0, .2, 1); }
.xdv-ledger li .ok { transition: background-color .3s cubic-bezier(.4, 0, .2, 1), transform .3s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.35s + var(--i) * .45s); }
.xdv-ledger li .v { transition: clip-path .4s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(.3s + var(--i) * .45s); }
.xdv-ledger li .k { transition: transform .5s cubic-bezier(.16, 1, .3, 1), opacity .5s; transition-delay: calc(var(--i) * .45s); }
.xdv-led-f { transition: clip-path .7s cubic-bezier(.16, 1, .3, 1) 2.2s; }
html.js .xdv-ledger:not([data-play]) li .ok { background: transparent; transform: scale(.7); }
html.js .xdv-ledger:not([data-play]) li .v { clip-path: inset(0 100% 0 0); }
html.js .xdv-ledger:not([data-play]) li .k { transform: translateX(-16px); opacity: 0; }
html.js .xdv-ledger:not([data-play]) .xdv-led-f { clip-path: inset(0 100% 0 0); }
/* 12. the agent prompt types itself across */
.xdv-paste-r .x-codeblock-l { transition: clip-path 1.4s steps(48, end) .3s; }
html.js .xdv-paste-r:not([data-play]) .x-codeblock-l { clip-path: inset(0 100% 0 0); }
}
/* 12. the repository sits within 116px of its heading */
.xdv-repo { margin-top: 20px; }
/* 14. the rail's left gutter fades, so a card that has gone by never shows a word cut at the screen's edge */
@media (min-width: 900px) {
.xdv-pl-view { -webkit-mask-image: linear-gradient(90deg, transparent calc(max(clamp(16px, 4vw, 32px), calc((100vw - 1280px) / 2)) - 12px), #000 max(clamp(16px, 4vw, 32px), calc((100vw - 1280px) / 2))); mask-image: linear-gradient(90deg, transparent calc(max(clamp(16px, 4vw, 32px), calc((100vw - 1280px) / 2)) - 12px), #000 max(clamp(16px, 4vw, 32px), calc((100vw - 1280px) / 2))); }
}
@media (max-width: 700px) {
/* 5. the phone sees the diff land in its first screen: a shorter log (it keeps its latest lines), a slimmer file tab */
.xdv-term-body { height: 136px; }
.xdv-file-tab { height: 36px; }
.xdv-ledger { font-size: 13px; }
.xdv-ledger li { padding-right: 14px; grid-template-columns: 34px minmax(0, 1fr) auto 24px; }
}
/* 9. deck greys only: the shared tokens' greys are swapped for the deck ramp on this page */
.xdv { --soft: #737373; --faint: #a3a3a3; --card: #f5f5f5; }
.xdv .x-tab, .xdv .x-tab-t, .xdv .x-codeblock-p { color: #737373; }
.xdv .x-tab[aria-selected='true'], .xdv .x-tab[aria-selected='true'] .x-tab-t { color: light-dark(#0a0a0a, #e5e5e5); }
.xdv .x-copy, .xdv .x-copy-t { color: rgba(255, 255, 255, .78); }
@media (hover: hover) { .xdv .xdv-acts .x-btn.solid:hover { background: #262626; } .xdv .x-copy:hover, .xdv .x-copy:hover .x-copy-t { color: #fafafa; } }
/* ---------- dark mode (8 Nov, docs/DARK-MODE.md): the page's own tokens take Hanzo's dark values under
html:not(.light) only (bright mode keeps every computed colour); the race room, terminals, code and the ledger are
black in both and get Hanzo's white-10% edge on the dark page. */
html:not(.light) .xdv { --ink: #e5e5e5; --mute: #a3a3a3; --hair: rgba(255, 255, 255, .1); --soft: #a3a3a3; --faint: #858585; --card: #171717; }
html:not(.light) :is(.xdv-term, .xdv-code, .xdv-pick, .xdv-ledger, .xdv-repo, .xdv-pl-art.term, .xdv-pl-art.cloud) { outline: 1px solid rgba(255, 255, 255, .1); outline-offset: -1px; }
html:not(.light) .xdv-fence-ask span { border-color: #0a0a0a; }
@media (hover: hover) { html:not(.light) .xdv .xdv-acts .x-btn.solid:hover { background: #d4d4d4; } }
html:not(.light) .xdv :is(.v2a-head, .v2a-title, .v2a-display) { color: var(--ink); }
html:not(.light) .xdv .v2a-body { color: var(--mute); }
html:not(.light) .xdv [data-room='dark'] :is(.v2a-head, .v2a-title, .v2a-display) { color: #fafafa; }
html:not(.light) .xdv-fence-ask { color: #0a0a0a; } /* the approval tick: Hanzo's primary, a light fill under dark ink */
html:not(.light) .xdv-cmp-bar i { color: #0a0a0a; } /* the divider knob: white in both, on the black terminal */
html:not(.light) .xdv .x-band .x-btn.solid { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); } /* the band's one solid ask stays light on black (the shared rule reads a fill token that turns dark) */
/* ---------- 8 Nov frame pass (Zack's pages, to the approved home page's bar; Frame.css holds the shared layer) ----------
Every section reads in one frame at 1470 x 801 once centred, and on a phone its heading shows with its first card or
row. Rhythm: a lit hero, the race as the dark room (curtain and beam), a thrown rail under a split heading, install on
one lifted plate, the five sheets as a sticky stack (each holds under the header while the next slides over it), the
repository tilting up out of the page, questions beside their heading, then a lit close carrying the one priced ask. */
.xdv.zf { --fr: min(680px, calc(100svh - 128px)); }
.xdv .xdv-kick { margin: 0 0 14px; }
.xdv .zf-head h2 { max-width: 16ch; }
/* 1. hero: lit from the right, the terminal lifted on a halftone */
.xdv .xdv-hero.zf-sec { --hx: 100%; --hy: 10%; --lx: 70%; --ly: 40%; padding-block: clamp(36px, 5svh, 64px) clamp(56px, 8svh, 96px); }
.xdv .xdv-h1 { font-size: clamp(2.6rem, 4.4vw, 4.2rem); line-height: .98; letter-spacing: -.045em; }
.xdv .xdv-term { box-shadow: var(--zf-shadow-hi); }
.xdv .xdv-term-body { height: clamp(250px, calc(100svh - 560px), 300px); }
.xdv .xdv-acts { gap: 10px 22px; }
.xdv .xdv-acts .xdv-priced { order: -1; }
/* 2. the race: the dark room, two columns in one frame (the figure and its verdict left, the clocks racing right) */
.xdv .xdv-race.zf-room { background: radial-gradient(90% 60% at 50% 0%, #202024, #121214 55%, #0c0c0d); padding-block: clamp(56px, 9svh, 100px); }
.xdv .xdv-rx { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 4.5vw, 72px); row-gap: 24px; align-items: start; }
.xdv .xdv-rx-l { grid-column: 1; grid-row: 1; }
.xdv .xdv-rx-r { grid-column: 2; grid-row: 1 / span 2; }
.xdv .xdv-rx-w { grid-column: 1; grid-row: 2; }
.xdv .xdv-race-h { display: block; }
.xdv .xdv-big { display: block; font-size: clamp(5rem, 8.4vw, 8rem); line-height: .9; letter-spacing: -.05em; }
.xdv .xdv-race-t { display: block; padding: 10px 0 0; font-size: clamp(1.3rem, 1.6vw, 1.6rem); max-width: 20ch; }
.xdv .xdv-race-l { margin-top: 12px; font-size: 14.5px; max-width: 44ch; }
.xdv .xdv-verdict { margin: 16px 0 0; font-size: 1.05rem; line-height: 1.35; max-width: 34ch; }
.xdv .xdv-ways ul { margin-bottom: 10px; }
.xdv .xdv-ways li { padding: 11px 0; gap: 4px 14px; }
.xdv .xdv-ways li > b { font-size: 21px; }
.xdv .xdv-way { font-size: 14.5px; }
.xdv .xdv-ci { margin-top: 4px; }
.xdv .xdv-split { grid-template-columns: 1fr; gap: 10px; }
.xdv .xdv-side { padding: 18px 22px 16px; border-radius: 22px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 60px -40px #000; }
.xdv .xdv-side.win { background: rgba(255, 255, 255, .075); }
.xdv .xdv-clock { margin-top: 8px; font-size: clamp(2.6rem, 3.6vw, 3.4rem); }
.xdv .xdv-lab { margin-top: 4px; font-size: 13px; }
.xdv .xdv-cells { margin: 14px 0 12px; }
.xdv .xdv-cells span { height: 20px; border-radius: 5px; }
.xdv .xdv-calls { padding-top: 10px; font-size: 13px; }
.xdv .xdv-calls b { font-size: 18px; }
.xdv .xdv-run { margin-top: 8px; font-size: 11px; }
.xdv .xdv-race-act { justify-content: flex-start; margin-top: 14px; }
/* 3. places: the split heading, the rail a size down so heading and cards share the frame */
.xdv .xdv-places.zf-sec { --hx: 0%; --hy: 100%; --lx: 85%; --ly: 10%; }
.xdv .xdv-pl-head.zf-head { margin-bottom: clamp(22px, 3.2svh, 34px); }
.xdv .xdv-pl-hr .v2a-body { margin: 0; }
.xdv .xdv-pl-ctl { align-items: center; margin-top: 16px; }
.xdv .xdv-pl-more { margin: 0 0 0 14px; }
.xdv .xdv-pl-card { width: clamp(300px, 27vw, 396px); }
.xdv .xdv-pl-art { aspect-ratio: 16 / 10; box-shadow: var(--zf-shadow); }
.xdv .xdv-pl-txt { padding-top: 16px; }
.xdv .xdv-pl-txt p { margin-top: 10px; font-size: 14.5px; }
.xdv .xdv-sc { padding: 22px 26px; }
/* 4. install: one lifted plate holding the three ways and the sign-in */
.xdv .xdv-setup.zf-sec { --hx: 100%; --hy: 0%; --lx: 15%; }
.xdv .xdv-in-head.zf-head { margin-bottom: clamp(22px, 3.2svh, 34px); }
.xdv .xdv-in-body.zf-lift { padding: clamp(22px, 2.6vw, 36px); row-gap: 24px; --dx: 100%; --dy: 100%; }
/* 5. how it works: the sheets stack (each sticks under the header; the next one slides over it) */
.xdv .xdv-how.zf-sec { --hx: 0%; --hy: 0%; --lx: 50%; --ly: 0%; padding-block: clamp(48px, 7svh, 88px); background: transparent; }
.xdv .xdv-stack { gap: clamp(20px, 3svh, 32px); }
.xdv .xdv-sheet.zf-lift { border-radius: 28px; }
.xdv .xdv-sheet-in { min-height: min(560px, calc(100svh - 180px)); padding: clamp(26px, 3.2vw, 48px); }
.xdv .xdv-sheet .v2a-head { font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1.04; letter-spacing: -.035em; }
.xdv .xdv-ledger { margin-bottom: 16px; }
.xdv .xdv-ledger li { height: 34px; }
.xdv .xdv-pr li { padding-block: 12px; }
@media (min-width: 900px) {
.xdv .xdv-sheet { position: sticky; top: calc(84px + var(--k) * 12px); transform-origin: 50% 0; }
.xdv .xdv-sheet + .xdv-sheet { margin-top: 0; }
}
/* 6. source: the repository tilts up out of the page under its split heading; questions beside their heading */
.xdv .xdv-oss.zf-sec { --hx: 100%; --hy: 100%; --lx: 0%; --ly: 30%; padding-top: clamp(56px, 8.5svh, 104px); }
.xdv .xdv-oss-top.zf-head { margin-bottom: 0; }
.xdv .xdv-oss-links { margin-top: 6px; }
.xdv .xdv-repo { margin-top: clamp(22px, 3.2svh, 34px); padding: 26px 30px; border-radius: 26px; background: #0a0a0a; box-shadow: var(--zf-shadow-hi); }
.xdv .xdv-repo-tree b { font-size: 13.5px; }
.xdv .xdv-qa-sec.zf-sec { --hx: 0%; --hy: 50%; --lx: 100%; --ly: 0%; }
.xdv .xdv-qa { margin-top: 0; }
.xdv .xdv-qa-l.zf-head { position: static; margin: 0; }
.xdv .xdv-qa-l.zf-head h2 { max-width: 9ch; }
/* 7. paste and ship: one lifted strip */
.xdv .xdv-paste { padding: 0 0 clamp(24px, 4svh, 48px); }
.xdv .xdv-paste-in.zf-lift { padding: clamp(22px, 2.6vw, 36px); --dx: 0%; --dy: 100%; }
.xdv .xdv-paste-l .v2a-head { font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.2; letter-spacing: -.025em; }
/* 8. the close: lit from above, the one priced ask */
.xdv .xdv-close.zf-sec { --hx: 50%; --hy: 0%; --lx: 50%; --ly: 0%; }
.xdv .xdv-close h2 { color: var(--ink); }
.xdv .xdv-close h2 > span { display: inline-block; }
.xdv .xdv-close-n { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 26px; margin-top: 14px; }
.xdv .xdv-close .xdv-priced { min-width: 260px; box-shadow: var(--zf-shadow); }
/* dark: the lifted plates sit on Hanzo's raised surface; the close's solid ask is Hanzo's primary */
html:not(.light) .xdv .xdv-sheet.zf-lift { background: var(--x-raised); }
html:not(.light) .xdv .xdv-close .x-btn.solid, html:not(.light) .xdv .xdv-acts .x-btn.solid { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
/* phones: one column; the room's heading shows with the first clock; no sticky stack */
@media (max-width: 899px) {
.xdv .xdv-rx { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 20px; }
.xdv .xdv-rx-l, .xdv .xdv-rx-r, .xdv .xdv-rx-w { grid-column: 1; grid-row: auto; }
.xdv .xdv-big { font-size: 4.6rem; }
.xdv .xdv-race-l { font-size: 14px; }
.xdv .xdv-verdict { margin-top: 12px; }
.xdv .xdv-pl-more { flex-basis: 100%; margin: 0; }
.xdv .xdv-pl-ctl { display: flex; }
.xdv .xdv-pl-ctl button { display: none; }
.xdv .xdv-pl-card { width: 82vw; }
.xdv .xdv-sheet-in { min-height: 0; }
.xdv .xdv-qa-l.zf-head { margin-bottom: 18px; }
.xdv .xdv-repo { padding: 20px; }
}
@media (max-width: 640px) {
.xdv .xdv-h1 { font-size: 2.6rem; }
.xdv .xdv-close h2 { font-size: 2.4rem; }
.xdv .xdv-close .xdv-priced { min-width: 0; width: 100%; }
}
/* the split headings' halves drop their old 13-column placements (the heading grid is Frame.css's two columns) */
.xdv .zf-head > * { grid-column: auto; grid-row: auto; }
@media (max-width: 899px) { .xdv .zf-head > * { grid-column: 1; } }