/* Work shares the site's surfaces, typography, navigation and preference controls. */
.work-page { --work-width: var(--container); --work-section-space:clamp(120px,11vw,168px); --work-boundary-space:clamp(80px,7vw,112px); --work-heading-space:clamp(38px,4vw,56px); }
.work-container { width: min(var(--work-width), calc(100% - 112px)); margin-inline: auto; }
.work-icon { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.work-hero { --hero-bottom-blend-height: clamp(100px, 14svh, 160px); --hero-bottom-blend-blur: 4px; min-height: clamp(760px, 90svh, 900px); display: grid; place-items: center; padding: 130px 40px 105px; }
.work-hero-copy { width: min(940px, 100%); text-align: center; }
.work-product { color: var(--text); display: flex; justify-content: center; }
.work-wordmark { display: flex; align-items: center; width: clamp(250px, 28vw, 360px); }
.work-wordmark-name-svg { display: block; width: 59.89%; height: auto; overflow: visible; }
.work-wordmark-script { display: block; width: 40.11%; height: auto; overflow: visible; }
.work-pen-stroke { stroke-dasharray: 1; stroke-dashoffset: 0; opacity: 1; }
.work-hero h1 { max-width: 1000px; margin: 24px auto 32px; font-size: clamp(46px, 5.5vw, 86px); font-weight: 500; line-height: 1.17; letter-spacing: -.045em; text-wrap: balance; }
.work-hero-description { max-width: 730px; margin: 0 auto 42px; color: var(--text-secondary); font-size: 18px; line-height: 1.9; text-wrap: balance; }
.work-hero-description span { display: block; }
.work-hero .button-primary { gap: 14px; }
.work-hero .button-primary .work-icon { position: relative; z-index: 2; width: 19px; height: 19px; }
/* Positions and sizes are packed once per page load, with space for a full turn. */
.work-ascii-field {
 position: absolute; inset: 0; overflow: hidden; pointer-events: none; overflow-anchor: none;
}
.ascii-object { position: absolute; width: 0; height: 0; object-fit: contain; visibility: hidden; }
.work-ascii-grid { position: absolute; inset: 0; pointer-events: none; opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
 .work-hero-copy > :not(.work-product) { animation: work-copy-enter .9s cubic-bezier(.2,.75,.2,1) both; }
 .work-wordmark-name { opacity: 0; }
 .work-pen-stroke { stroke-dashoffset: 1; opacity: 0; }
 .work-hero.is-brand-ready .work-wordmark-name { animation: work-brand-fade .7s ease-out both; }
 .work-hero.is-brand-ready .work-pen-stroke { animation: work-pen-write var(--pen-duration) var(--pen-ease, linear) calc(.2s + var(--pen-delay)) both; }
 .work-hero-copy > h1 { animation-delay: .4s; }
 .work-hero-copy > .work-hero-description { animation-delay: .65s; }
 .work-hero-copy > .button-primary { animation-delay: .9s; }
}
@keyframes work-copy-enter { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes work-brand-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes work-pen-write { 0% { stroke-dashoffset: 1; opacity: 0; } .01% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 1; } }
.work-office { padding-block: var(--work-section-space); background:#141413; }
.work-section-heading { max-width: 1100px; text-align: center; margin-inline:auto; margin-bottom: var(--work-heading-space); }
.work-section-heading h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 500; line-height: 1.4; letter-spacing: -.035em; text-wrap: balance; }
.work-section-heading p { color: var(--text-secondary); font-size: 17px; line-height: 1.8; margin-top: 18px; text-wrap: balance; }
.work-story-track { position: relative; }
.work-story-sticky { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(32px, 4.5vw, 80px); }
.work-story-copy { align-self: center; min-width: 0; }
.work-story-steps { display: flex; gap: 20px; margin-bottom: 38px; }
.work-story-steps button { padding: 6px 2px 10px; min-width: 32px; color: var(--text-faint); font-size: 14px; border-bottom: 1px solid transparent; font-variant-numeric: tabular-nums; transition: color .2s, border-color .2s; }
.work-story-steps button[aria-current="step"] { color: var(--text); border-bottom-color: var(--text); }
.work-story-captions { display: grid; min-height: 210px; }
.work-story-caption { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); pointer-events: none; }
.work-story-caption:first-child { opacity: 1; transform: none; }
.work-story-caption h3 { font-size: clamp(25px, 2.55vw, 36px); font-weight: 500; line-height: 1.45; letter-spacing: -.025em; text-wrap: balance; }
.work-story-caption p { color: var(--text-secondary); font-size: 16px; line-height: 1.9; margin-top: 22px; max-width: 32em; }
.work-story-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; min-height: 42px; margin-top: 42px; font-size: 12px; color: var(--text-muted); }
.work-story-actions .work-icon { width: 14px; height: 14px; }
.work-story-actions [data-story-replay] { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 10px 16px; color: var(--text); font-size: 14px; }
/* Temporary animation review control. */
.work-story-actions [data-story-pause] { width: 42px; height: 42px; padding: 0; display: grid; place-items: center; }
[data-story-pause]:disabled { opacity: .35; cursor: default; }
[data-story-pause] .story-play-icon, [data-story-pause][data-paused="true"] .story-pause-icon { display: none; }
[data-story-pause][data-paused="true"] .story-play-icon { display: block; }
.work-stage-wrap { min-width: 0; --story-stage-ratio: 1.19403; }
.work-stage { position: relative; width: 100%; aspect-ratio: 800 / 670; overflow: hidden; border-radius: calc(68px * var(--story-scene-scale, 1)); background: transparent; color: #ededed; box-shadow: none; font-family: var(--font-body), 'PingFang SC', 'Microsoft YaHei', sans-serif; }
html[data-theme="light"] .work-stage { box-shadow: none; }
.work-story-blackout { position: absolute; inset: 0; background: #141413; opacity: 0; pointer-events: none; will-change: opacity; }
.work-scene { position: absolute; contain: layout style; width: 800px; height: 670px; transform-origin: 0 0; font-size: 19px; line-height: 1.6; }
/* Clip timing is handled by the renderer, including instant reduced-motion poses. */
.work-scene, .work-scene * { transition: none !important; }
.agent-layer { position: absolute; will-change: transform, opacity; inset: 0; transform-origin: 68% 85%; }
.agent-shell { position: absolute; inset: 22px; background: #232426; border: 1px solid #484a4c; border-radius: 46px; opacity: 0; overflow: hidden; }
.agent-window-bar { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 27px; }
.agent-name { display: flex; align-items: center; gap: 11px; font-size: 21px; font-weight: 600; }
.agent-brand { display: block; width: 26px; height: 26px; object-fit: contain; flex: none; }
.agent-window-bottom { position: absolute; left: 25px; right: 25px; bottom: 25px; opacity: 0; }
.followup-input { height: 87px; padding: 13px 17px; border: 1px solid #55565b; border-radius: 20px; background: #38393c; color: #909198; font-size: 15px; }
.followup-tools { display: flex; justify-content: space-between; margin-top: 8px; }
.followup-input .add-file, .followup-input .send-button { width: 28px; height: 28px; }
.followup-input .work-icon { width: 19px; height: 19px; }
.demo-composer { position: absolute; left: 0; top: 0; width: 704px; height: 168px; border: 1.5px solid #505155; border-radius: 30px; background: #353639; padding: 24px; overflow: hidden; transform-origin: center bottom; will-change: transform; }
.attachment-slot { display: flex; align-items: center; gap: 15px; width: 100%; height: 0; opacity: 0; border: 1px solid #606268; border-radius: 13px; background: #2d2e31; padding: 0 16px; overflow: hidden; }
.file-mark { position: relative; width: 42px; height: 49px; border-radius: 5px; display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0; flex: none; color: #fff; overflow: hidden; clip-path: polygon(0 0, 69% 0, 100% 27%, 100% 100%, 0 100%); }
.file-mark:after { content: ''; position: absolute; top: 0; right: 0; width: 31%; height: 27%; border-radius: 0 0 0 4px; background: #ffffff60; }
.file-mark--pdf { background: #b73334; }
.file-mark--sheet { background: #23885b; font-size: 23px; }
.attachment-icon { position: relative; flex: none; width: 42px; height: 49px; }
.attachment-icon > .file-mark { width: 100%; height: 100%; }
.demo-composer .attachment-icon .work-icon { position: absolute; inset: 0; width: 100%; height: 100%; color: #acacac; opacity: 0; }
.file-info { min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.file-info strong { font-size: 19px; font-weight: 500; overflow-wrap: anywhere; }
.file-info small { display: block; overflow: hidden; color: #a8aab1; font-size: 15px; margin-top: 2px; }
.composer-text { min-height: 0; font-size: 22px; line-height: 1.65; overflow-wrap: anywhere; }
.composer-tools { display: flex; align-items: center; justify-content: space-between; position: absolute; left: 23px; right: 23px; bottom: 20px; }
.add-file, .send-button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.add-file { background: #505155; color: #c3c5ca; }
.send-button { background: #424448; color: #9b9da3; }
.composer-tools-right { display: flex; gap: 22px; align-items: center; }
.demo-composer .work-icon { width: 24px; height: 24px; }
.agent-response { position: absolute; left: 54px; right: 54px; top: 0; opacity: 0; }
.response-identity { display: flex; gap: 9px; align-items: center; color: #9699a2; font-size: 15px; margin-bottom: 12px; }
.response-identity .agent-brand { display: block; width: 26px; height: 26px; object-fit: contain; flex: none; }
.reading-loader { display: flex; align-items: center; gap: 10px; color: #b1b4bd; height: 40px; }
.loading-orbit { display: inline-block; width: 15px; height: 15px; flex: none; border: 1.5px solid #565a64; border-top-color: #b8c3d6; border-right-color: #b8c3d6; border-radius: 50%; }
.a-output { position: absolute; top: 38px; left: 0; right: 0; }
.a-output p { min-height: 30px; }
.decision-text { margin-top: 7px; line-height: 1.85; }
.agent-app-icon { position: absolute; left: 63%; top: 83%; display: flex; align-items: center; gap: 12px; padding: 13px 20px; border: 1px solid #4b5053; background: #2b2f30; border-radius: 17px; opacity: 0; font-size: 20px; transform-origin: center; }
.agent-app-icon strong { font-weight: 500; }
.agent-app-icon .agent-brand { display: block; width: 26px; height: 26px; object-fit: contain; flex: none; }
[data-agent="b"] { opacity: 0; }
[data-agent="b"] .agent-shell { opacity: 1; }
.memory-search { overflow: hidden; }
.search-heading { display: flex; align-items: center; gap: 10px; color: #aeb3bc; font-size: 16px; height: 28px; }
.search-chevron { margin-left: auto; padding-right: 2px; }
.search-lines { margin-top: 12px; border-top: 1px solid #424449; padding-top: 9px; }
.search-line { display: flex; align-items: start; gap: 10px; color: #a5acb7; font-size: 16px; line-height: 1.7; padding: 5px 0; }
.search-line .work-icon { width: 17px; height: 17px; margin-top: 5px; color: #8ea6cc; }
.b-output { padding-top: 12px; }
.found-document { font-size: 16px; color: #b9dacf; min-height: 0; }
.recalled-decision { font-size: 18px; line-height: 1.7; padding-left: 12px; border-left: 2px solid #6ea38f; margin-top: 8px; }
.completed-copy { font-size: 17px; margin-top: 14px; line-height: 1.7; }
.result-document { margin-top: 15px; border: 1px solid #51575a; border-radius: 15px; overflow: hidden; background: #2b2e30; }
.result-file { display: flex; align-items: center; gap: 12px; padding: 13px 16px; }
.result-file>.work-icon { width: 19px; height: 19px; color: #83c9a9; margin-left: auto; }
.result-file .file-mark { width: 34px; height: 40px; font-size: 19px; }
.result-file .file-info strong { font-size: 18px; }
.result-file .file-info small { font-size: 13px; }
.result-sheet { padding: 0 16px 14px; font-size: 14px; }
.sheet-labels, .sheet-row { display: grid; grid-template-columns: 1fr 70px; gap: 15px; }
.sheet-labels { padding: 5px 9px; color: #9ea8a3; border-bottom: 1px solid #4a5550; font-size: 12px; }
.sheet-row { padding: 8px 9px; background: #3d665332; color: #c3e3d0; }
.dragged-file { position: absolute; left: 0; top: 0; width: 280px; display: flex; align-items: center; gap: 13px; transform-origin: 0 0; opacity: 0; filter: drop-shadow(0 8px 12px #0006); }
.dragged-file .file-mark { width: 58px; height: 68px; font-size: 17px; }
.dragged-file .file-info strong { font-size: 18px; }
.dragged-file .file-info small { opacity: 0; }
.demo-pointer { position: absolute; left: 0; top: 0; will-change: transform, opacity; width: 22px; height: 28px; opacity: 0; transform-origin: 2px 1.4px; pointer-events: none; filter: drop-shadow(0 1px 1px #0005); }
/* Nested surfaces share a smooth contour; circular controls remain circular. */
.work-stage, .work-scene :is(.agent-shell, .followup-input, .demo-composer, .attachment-slot, .agent-app-icon, .result-document) { corner-shape: superellipse(1.3); }
.work-closing { text-align: center; padding: 100px 0 120px; }
.work-static-story { padding: 30px 0; }
.work-static-story p { margin: 10px 0; }
@media (max-width: 1100px) {
 .work-container { width: calc(100% - 64px); }
 .work-story-sticky { gap: 24px; }
 .work-story-caption p { font-size: 14px; }
 .work-hero-copy { max-width: 720px; }
 .work-hero h1 { max-width: 700px; }
}
@media (max-width: 800px) {
 .work-page { --work-section-space:clamp(80px,12vw,104px); --work-heading-space:28px; }
 .work-hero { min-height: clamp(720px, 90svh, 820px); padding: 128px 26px 136px; }
 .work-hero h1 { font-size: clamp(38px, 7.3vw, 58px); max-width: 620px; }
 .work-hero-description { font-size: 16px; max-width: 550px; }
 .work-office { padding-top: var(--work-section-space); }
 .work-section-heading { margin-bottom: var(--work-heading-space); }
 .work-section-heading p { font-size: 15px; }
 .work-story-sticky { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
 .work-story-copy { width: 100%; }
 .work-story-steps { margin-bottom: 12px; gap: 18px; }
 .work-story-steps button { font-size: 12px; padding-bottom: 5px; }
 .work-story-captions { min-height: 105px; }
 .work-story-caption h3 { font-size: 24px; }
 .work-story-caption p { font-size: 14px; margin-top: 8px; max-width: 100%; }
 .work-story-actions { min-height: 40px; margin-top: 18px; gap: 18px; }
 .work-story-actions [data-story-replay] { min-height: 40px; padding: 8px 14px; font-size: 13px; }
 .work-stage-wrap { width: min(100%, 640px); }
 .work-stage { border-radius: 16px; }
 .work-closing { padding: 70px 0 90px; }
}
@media (max-width: 540px) {
 .work-container { width: calc(100% - 32px); }
 .ascii-cassette-high, .ascii-radio { display: none; }
 .work-hero { min-height: max(680px, 90svh); padding: 130px 24px 130px; }
 .work-product { font-size: 14px; }
 .work-hero h1 { font-size: 42px; line-height: 1.3; margin: 20px auto 22px; max-width: 370px; }
 .work-hero-description { font-size: 14px; line-height: 1.9; margin-bottom: 30px; }
 .work-section-heading h2 { font-size: 29px; }
 .work-section-heading p { font-size: 14px; }
 .work-story-sticky { gap: 14px; justify-content: center; }
 .work-story-captions { min-height: 106px; }
 .work-story-caption h3 { font-size: 21px; }
 .work-story-caption p { font-size: 13px; line-height: 1.7; }
 .work-stage { aspect-ratio: 520 / 690; }
 .work-stage-wrap { --story-stage-ratio: .75362; }
 .work-scene { width: 520px; height: 690px; font-size: 21px; }
 .agent-shell { inset: 10px; border-radius: 38px; }
 .work-stage { border-radius: calc(48px * var(--story-scene-scale, 1)); }
 .agent-window-bar { padding: 0 22px; }
 .agent-name { font-size: 24px; }
 .agent-window-bottom { left: 17px; right: 17px; bottom: 17px; }
 .file-info strong { font-size: 22px; }
 .file-info small { font-size: 17px; }
 .composer-text { font-size: 23px; line-height: 1.6; }
 .agent-app-icon { left: 58%; font-size: 22px; }
 .agent-response { left: 34px; right: 34px; }
 .response-identity { font-size: 19px; }
 .search-heading { font-size: 19px; }
 .search-line { font-size: 18px; padding: 7px 0; }
 .found-document { font-size: 19px; }
 .recalled-decision { font-size: 21px; }
 .completed-copy { font-size: 20px; }
 .result-file .file-info strong { font-size: 21px; }
 .result-file .file-info small { font-size: 17px; }
 .result-sheet { font-size: 18px; }
 .sheet-labels { font-size: 16px; }
}
@media (max-height: 760px) and (min-width: 801px) {
 .work-stage-wrap { max-width: calc((100svh - 130px) * 800 / 670); justify-self: center; width: 100%; }
}
@media (max-height: 740px) and (max-width: 800px) {
 .work-story-sticky { gap: 8px; }
 .work-story-steps { margin-bottom: 4px; }
 .work-story-captions { min-height: 85px; }
 .work-story-caption p { margin-top: 4px; }
 .work-story-actions { margin-top: 12px; }
 .work-stage-wrap { max-width: calc((100svh - 300px) * var(--story-stage-ratio)); }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .work-story-steps button { transition: none; }
}

.work-hero::after { display: none; }
.work-hero .hero-frame__nav-guard { display: block; }

/* Client constellation and the shared setup flow. */
.work-connect { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); column-gap:clamp(32px,5vw,72px); row-gap:0; align-items:start; overflow-anchor:none; padding-block:var(--work-section-space); }
.work-connect { padding-bottom:var(--work-boundary-space); }
@media(max-width:800px){.work-page{--work-boundary-space:64px;}}
.work-connect-heading { grid-column:1 / -1; width:100%; }
.work-connect-copy,.work-connect-visual { min-width:0; }
.work-install { display:grid; gap:24px; margin-top:0; }
.work-install article { position:relative; min-width:0; padding-left:35px; }
.work-install-number { position:absolute; left:0; top:3px; color:var(--text-secondary); font-size:12px; font-variant-numeric:tabular-nums; }
.work-install h3 { font-weight:500; font-size:17px; margin:0; line-height:1.5; }
.work-install p { color:var(--text-secondary); font-size:13px; line-height:1.7; margin:7px 0 11px; }
.work-account-link { display:inline-flex; align-items:center; gap:4px; margin-left:6px; color:var(--text); text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.work-account-link .icon { width:13px; height:13px; }
.work-account-link:hover { color:var(--text-secondary); }
.work-account-link:focus-visible { outline:2px solid var(--text); outline-offset:4px; border-radius:2px; }
.work-install small { display:block; color:var(--text-secondary); font-size:12px; line-height:1.7; margin-top:10px; }
.work-install article:last-child { min-height:140px; }
.work-selected-client { display:flex; align-items:center; gap:10px; margin-top:10px; }
.work-selected-client img { width:26px; height:26px; object-fit:contain; flex:none; }
.work-selected-client:is([data-client-brand="codex"],[data-client-brand="cursor"],[data-client-brand="qoder"],[data-client-brand="opencode"]) img { filter:invert(1); }
[data-client-name] { display:block; margin-top:0; font-size:22px; font-weight:500; color:var(--text); }
/* Match the blog code surface; keep command copy controls visible. */
.work-install-command { --command-panel:#242424; --command-panel-head:#303030; --command-line:#565656; position:relative; display:grid; grid-template-columns:auto minmax(0,1fr); gap:12px; align-items:start; padding:12px 58px 12px 22px; background:var(--command-panel); border:1px solid var(--command-line); border-radius:var(--control-radius,12px); color:var(--text); font:12px/1.9 ui-monospace,SFMono-Regular,Consolas,monospace; }
.work-install-command code { font:inherit; white-space:pre-wrap; overflow-wrap:anywhere; min-width:0; }
.work-command-prompt { color:var(--text-muted); user-select:none; }
.work-install-command button { position:absolute; top:50%; transform:translateY(-50%); right:10px; display:grid; place-items:center; width:30px; height:30px; min-height:0; padding:0; border:0; border-radius:5px; background:var(--command-panel); color:var(--text-muted); cursor:pointer; transition:color .16s,background .16s; }
.work-install-command button:hover,.work-install-command button:focus-visible { color:var(--text); background:var(--command-panel-head); }
.work-install-command button:focus-visible { outline:2px solid var(--text); outline-offset:2px; }
.work-install-command button .icon { width:17px; height:17px; }
html[data-theme="light"] .work-install-command { --command-panel:#edf0f5; --command-panel-head:#e0e5ed; --command-line:#b8c1ce; }
@media(max-width:650px) { .work-install-command { padding:10px 52px 10px 16px; font-size:11px; } }
@media(prefers-reduced-motion:reduce) { .work-install-command button { transition:none; } }
.work-install-docs { margin-top:12px; gap:12px; font-size:14px; }
.work-copy-status { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.work-connect-visual { align-self:start; width:116%; margin-left:-8%; }
.work-network { width:100%; aspect-ratio:640/660; position:relative; isolation:isolate; cursor:grab; touch-action:none; user-select:none; -webkit-user-select:none; }
.work-network.is-dragging,.work-network.is-dragging .work-client { cursor:grabbing; }
.work-network-world { position:absolute; width:640px; height:660px; transform-origin:0 0; }
.work-network-lines { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.work-network-lines { opacity:0; transition:opacity 1.2s ease .4s; }
.work-network-lines line { stroke:var(--text-secondary); stroke-opacity:var(--line-opacity,.35); stroke-width:1; stroke-dasharray:3 8; transition:stroke .45s ease,stroke-opacity .45s ease; }
.work-network-lines [data-client-line],.work-network-lines .work-client-link-active { stroke-width:1.6; }
.work-network-lines line[data-active] { stroke:var(--client-brand); stroke-opacity:0; }
.work-network-lines .work-client-link-active { stroke:var(--client-brand); stroke-opacity:0; stroke-dasharray:none; transition:stroke-opacity .45s ease; }
.work-network-lines .work-client-link-active.is-active { stroke-opacity:.95; }
.work-network-lines .work-dot-link { stroke-width:.65; stroke-dasharray:2 7; }
.work-network-lines .work-dot-link.is-hovered { stroke-opacity:.65; }
.work-network-dot { position:absolute; width:22px; height:22px; display:grid; place-items:center; cursor:grab; }
.work-network-dot::after { content:""; width:5px; height:5px; border-radius:50%; background:var(--text-secondary); opacity:var(--dot-opacity,.5); transition:opacity .18s,transform .18s,background .18s; }
.work-network-dot:hover::after { opacity:1; background:var(--text); transform:scale(1.45); }
.work-network.is-dragging .work-network-dot { cursor:grabbing; }
.work-network-core { position:absolute; left:320px; top:330px; width:112px; height:112px; display:grid; place-items:center; transform:translate(-50%,-50%) scale(.65); opacity:0; background:var(--bg,#0d0d0d); border-radius:50%; z-index:500; pointer-events:none; transition:opacity 1s ease,transform 1.3s cubic-bezier(.22,1,.36,1); }
.work-network-core img { display:block; width:82px; height:72px; object-fit:contain; }
.work-connect.is-entered .work-network-core { opacity:1; transform:translate(-50%,-50%) scale(1); }
.work-connect.is-entered .work-network-lines { opacity:1; }
.work-client { position:absolute; left:var(--x); top:var(--y); transform:translate(-50%,-50%); display:flex; gap:9px; align-items:center; white-space:nowrap; border-radius:28px; padding:13px 15px; border:1px solid #8883; background:rgb(25 26 27 / .74); backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px); color:#aaa; font:inherit; font-size:15px; cursor:pointer; opacity:0; transition:background .45s ease,color .45s ease,border-color .45s ease; will-change:transform; }
.work-client:hover,.work-client[aria-pressed="true"] { background:color-mix(in srgb,var(--client-brand) 16%,rgb(25 26 27 / .74)); color:#f5f5f5; border-color:color-mix(in srgb,var(--client-brand) 48%,transparent); }
.work-client > img,.work-client > span { opacity:var(--content-opacity,1); transition:opacity .45s ease; }
.work-client:hover > img,.work-client:hover > span,.work-client[aria-pressed="true"] > img,.work-client[aria-pressed="true"] > span { opacity:1; }
.work-client:focus-visible { outline:2px solid var(--client-brand); outline-offset:5px; }
.work-client img { width:25px; height:25px; object-fit:contain; flex:none; }
.work-client[data-work-client="codex"] img,.work-client[data-work-client="cursor"] img,.work-client[data-work-client="qoder"] img,.work-client[data-work-client="opencode"] img { filter:invert(1); }
.work-client-progress { position:absolute; inset:-1px; width:calc(100% + 2px); height:calc(100% + 2px); overflow:visible; pointer-events:none; fill:none; stroke:var(--client-brand); stroke-width:2; opacity:0; transition:opacity .45s ease; }
.work-client-progress rect { x:1px; y:1px; width:calc(100% - 2px); height:calc(100% - 2px); rx:28px; stroke-dasharray:100; stroke-dashoffset:100; }
.work-client[aria-pressed="true"] .work-client-progress { opacity:1; }
[data-theme="light"] .work-client { background:rgb(245 245 245 / .74); color:#555; }
[data-theme="light"] .work-client[aria-pressed="true"] { background:color-mix(in srgb,var(--client-brand) 18%,rgb(255 255 255 / .74)); color:#222; }
[data-theme="light"] .work-client img,[data-theme="light"] .work-selected-client img { filter:none; }
[data-theme="light"] .work-network-core img { content:url("../brand/mark-light.svg"); }
[data-theme="light"] .work-client:is([data-work-client="codex"],[data-work-client="cursor"],[data-work-client="qoder"],[data-work-client="opencode"]) { --client-brand:#404340 !important; }
[data-theme="light"] .work-network-lines :is([data-client-line="codex"],[data-client-line="cursor"],[data-client-line="qoder"],[data-client-line="opencode"],[data-client-brand="codex"],[data-client-brand="cursor"],[data-client-brand="qoder"],[data-client-brand="opencode"]) { --client-brand:#404340 !important; }
/* Center the visible sphere against the setup copy, not its padded square canvas. */
@media(min-width:801px) {
 .work-connect-copy { grid-column:2; grid-row:2; }
 .work-connect-visual { grid-column:1; grid-row:2; align-self:stretch; position:relative; }
 .work-network { position:absolute; top:50%; transform:translateY(-50%); }
}
@media(max-width:1000px) { .work-connect { column-gap:24px; } .work-connect-visual { width:108%; margin-left:-4%; } }
@media(max-width:800px) { .work-connect { grid-template-columns:1fr; row-gap:0; } .work-connect-visual { grid-row:2; margin-bottom:36px; margin-left:0; width:100%; max-width:580px; justify-self:center; } .work-connect-copy { max-width:580px; width:100%; justify-self:center; } .work-install article:last-child { min-height:125px; } }
@media(max-width:540px) { .work-client { font-size:22px; min-height:76px; padding:16px 20px; gap:11px; border-radius:40px; } .work-client img { width:32px; height:32px; } .work-client-progress rect { rx:40px; } .work-network-core { width:112px; } }
@media(prefers-reduced-motion:reduce) { .work-network-core,.work-network-lines,.work-client,.work-client > img,.work-client > span,.work-client-progress,.work-network-lines line { transition:none; } }

.work-setup-options { display:flex; gap:4px; width:fit-content; max-width:100%; padding:4px; margin:12px 0; background:#8881; border:1px solid #8883; border-radius:10px; }
.work-setup-options button { position:relative; font:inherit; font-size:13px; padding:8px 13px; border:0; border-radius:7px; color:var(--text-secondary); background:transparent; cursor:pointer; }
.work-setup-recommend { position:absolute; right:-30px; top:-14px; padding:4px 8px; border:0; border-radius:5px; background:#332b0d; color:#ffc400; font-size:9px; font-weight:500; line-height:1.1; white-space:nowrap; pointer-events:none; }
.work-setup-options button[aria-pressed="true"] { color:var(--text); background:#8883; }
.work-setup-options button:focus-visible,.work-faq summary:focus-visible { outline:2px solid var(--text); outline-offset:3px; }
[data-setup-panel][hidden] { display:none; }
.work-setup-content { display:grid; align-items:start; min-width:0; }
.work-setup-content > [data-setup-panel] { grid-area:1 / 1; align-self:start; min-width:0; }
.work-setup-content.is-switching { overflow:hidden; }
.work-guest-help { display:inline-flex; gap:6px; align-items:center; margin-top:11px; font-size:12px; }
.work-guest-help .icon { width:15px; height:15px; }
.work-faq { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:clamp(40px,7vw,110px); align-items:start; padding-block:var(--work-section-space); scroll-margin-top:100px; }
.work-faq h2 { font-weight:500; font-size:clamp(44px,5vw,68px); line-height:1.1; letter-spacing:-.045em; margin:12px 0 0; }
.work-faq-list { min-width:0; }
.work-faq details { border-bottom:1px solid var(--line); scroll-margin-top:100px; }
.work-faq summary { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:21px 0; font-size:17px; line-height:1.6; cursor:pointer; list-style:none; }
.work-faq summary::-webkit-details-marker { display:none; }
.work-faq-toggle { display:grid; place-items:center; flex:none; width:32px; height:32px; border:1px solid var(--line); border-radius:50%; color:var(--text); transition:background .24s,color .24s,border-color .24s; }
.work-faq summary .icon { width:14px; height:14px; transition:transform .24s ease; }
.work-faq details[open]:not(.is-closing) .work-faq-toggle { background:var(--text); border-color:var(--text); color:var(--bg); }
.work-faq details[open]:not(.is-closing) summary .icon { transform:rotate(45deg); }
.work-faq-answer { padding:0 52px 24px 0; color:var(--text-secondary); font-size:14px; line-height:1.85; }
.work-faq-answer p { margin:0 0 14px; }
.work-faq-answer .work-install-command { margin:12px 0 18px; max-width:580px; color:var(--text); }
.work-faq-answer ol { margin:0 0 15px; padding-left:22px; }
.work-faq-answer li { padding:3px 0 3px 5px; }
.work-faq-answer .work-account-link { display:inline-flex; align-items:center; gap:6px; }
.work-faq-answer .work-account-link .icon { width:16px; height:16px; }
@media(max-width:800px) { .work-faq { grid-template-columns:1fr; gap:24px; } .work-faq h2 { margin:0; } }
@media(max-width:540px) { .work-faq summary { font-size:15px; gap:16px; padding-block:18px; } .work-faq-answer { padding-right:0; } }
@media(prefers-reduced-motion:reduce) { .work-faq-toggle,.work-faq summary .icon { transition:none; } }

@supports(corner-shape:superellipse(1.3)) { .work-install-command { corner-shape:superellipse(1.3); } }

/* Expanding an answer must not anchor the viewport to the moving footer. */
body[data-page="work"] { overflow-anchor:none; }
