@layer page{
/* Shared marketing themes. Image/video pixels and cinematic overlays are never inverted. */
html{color-scheme:dark}html[data-theme=light]{color-scheme:light;--bg:#f5f2ec;--panel:#fffdf8;--raised:#eeece5;--text:#252b27;--ink:#252b27;--muted:#5c655e;--line:#29382c29;--border:#29382c29;--copper:#b8501a;--copper-dim:#f0d6c3;--flow-secondary:#5c655e}
.site-theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;min-width:38px;padding:8px!important;border:1px solid #ffffff35!important;border-radius:50%;color:#e7e6df!important;background:transparent!important;cursor:pointer;vertical-align:middle;line-height:1}.site-theme-toggle svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor}.site-theme-toggle:hover{background:#ffffff12!important}.site-theme-toggle:focus-visible{outline:2px solid #ef7a32!important;outline-offset:4px;box-shadow:none!important}.theme-float{position:fixed;right:24px;top:24px;z-index:100}.review-bar .site-theme-toggle{margin-left:0}.site-header .header-actions{gap:16px}
html[data-theme=light] .site-theme-toggle{color:#303b32!important;border-color:#354a3738!important;background:#fffdf855!important}html[data-theme=light] .site-theme-toggle:hover{background:#e1e5da!important}
html[data-theme=light],html[data-theme=light] body[data-site-page]{background:#f5f2ec;color:#252b27}
html[data-theme=light] body[data-site-page=home]{background:#f5f2ec}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]){--bg:#f5f2ec;--ink:#252b27;--muted:#5c655e;--line:#29382c29;--border:#29382c29}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) :is(.site-header,.site-footer){background:#f5f2ec;color:#515b52;border-color:#29382c29}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) .site-header nav,html[data-theme=light] body[data-site-page=flow] .site-header nav a{color:#586258}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) .site-header nav :is([aria-current],a:hover){color:#a94a18}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) :is(.brand,.site-footer .brand){color:#252b27}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) .motion-toggle{color:#535d54}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) .underlink{border-color:#29382c55}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) .eyebrow{color:#8b5a3b}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) :is(.hero,.hero-copy){color:#fff9ef}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) .hero .eyebrow{color:#fff0df}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) .hero .underlink{color:#fff9ef;border-color:#ffffff75}
html[data-theme=light] :is(body[data-site-page=canvas],body[data-site-page=flow]) :is(.tool-note,.media-note,.variation-hint,.output-guidance){color:#626b60!important}
/* Canvas: paper-like creation and editing surfaces; keep the colourful artwork untouched. */
html[data-theme=light] body[data-site-page=canvas] :is(.section-heading .eyebrow,.prompt-card .eyebrow,.inspiration-detail .eyebrow){color:#855a3e}
html[data-theme=light] body[data-site-page=canvas] .reference-row>span{color:#5d675b}
html[data-theme=light] body[data-site-page=canvas] .prompt-card{background:#fffdf8;border-color:#344a3225;box-shadow:0 8px 25px #343b2810}
html[data-theme=light] body[data-site-page=canvas] .prompt-card>p:not(.eyebrow){color:#333d32}
html[data-theme=light] body[data-site-page=canvas] .prompt-card footer{color:#667160;border-color:#29382c25}
html[data-theme=light] body[data-site-page=canvas] .chip{color:#445140;border-color:#344a3245}
html[data-theme=light] body[data-site-page=canvas] .chip[aria-pressed=true]{color:#fffdf7;background:#344a36;border-color:#344a36}
html[data-theme=light] body[data-site-page=canvas] .edit-demo{background:#fffdf8;border-color:#344a322c}
html[data-theme=light] body[data-site-page=canvas] .edit-tools [role=tab]{border-color:#344a3224;color:#5d675b}
html[data-theme=light] body[data-site-page=canvas] .edit-tools [aria-selected=true]{color:#ac4b19}
html[data-theme=light] body[data-site-page=canvas] .more-tools{border-color:#344a3225}
html[data-theme=light] body[data-site-page=canvas] .more-tools>span{color:#895132}
html[data-theme=light] body[data-site-page=canvas] .more-tools p{color:#596450}
html[data-theme=light] body[data-site-page=canvas] .more-tools i{color:#89917f}
html[data-theme=light] body[data-site-page=canvas] .board-stage{border-color:#344a3238;box-shadow:0 12px 30px #38452c0c}
html[data-theme=light] body[data-site-page=canvas] .board-top,html[data-theme=light] body[data-site-page=canvas] .board-toolbar{background:#d9ded2;color:#2c382b;border-color:#344a3225}
html[data-theme=light] body[data-site-page=canvas] .board-top small,html[data-theme=light] body[data-site-page=canvas] .board-toolbar span{color:#53604e}
html[data-theme=light] body[data-site-page=canvas] .board-actions button{border-color:#344a3240}
html[data-theme=light] body[data-site-page=canvas] .board-actions button:hover{background:#fffdf8}
html[data-theme=light] body[data-site-page=canvas] .gallery-card small{color:#66715f}
html[data-theme=light] body[data-site-page=canvas] .gallery-card footer b{color:#a64b1e}
html[data-theme=light] body[data-site-page=canvas] :is(.journey small,summary span){color:#a64b1e}
/* Flow Studio: bright studio surfaces and readable graph labels. */
html[data-theme=light] body[data-site-page=flow] .genre-line{color:#4c584b}html[data-theme=light] body[data-site-page=flow] .genre-line span{color:#737b6c}
html[data-theme=light] body[data-site-page=flow] .tiny-arrow{color:#65725f}
html[data-theme=light] body[data-site-page=flow] .quiet{color:#515e4c;border-color:#344a3238}
html[data-theme=light] body[data-site-page=flow] .quiet:hover{color:#233420;background:#e5e8de}
html[data-theme=light] body[data-site-page=flow] .case-tabs button{color:#66705f}
html[data-theme=light] body[data-site-page=flow] .case-tabs [aria-selected=true]{color:#a44b1c}
html[data-theme=light] body[data-site-page=flow] .workflow-panel{background:linear-gradient(135deg,#eeeee6,#e6e9df);border-color:#344a3229}
html[data-theme=light] body[data-site-page=flow] :is(.board-bar>p,.live-status){color:#4c5c47}
html[data-theme=light] body[data-site-page=flow] :is(.cn-node,.branch-node){background:#fffdf8;border-color:#344a3230;box-shadow:0 8px 24px #34402b12;color:#2a3529}
html[data-theme=light] body[data-site-page=flow] :is(.node-head small,.node-head>b,.cn-node .node-foot,.node-foot span,.process small,.branch-node footer,.branch-node footer span,.branch-shot small,.branch-status,.branch-kicker,.branch-footnote small,.branch-footnote p){color:#64705d}
html[data-theme=light] body[data-site-page=flow] :is(.prompt-text,.branch-story){background:#edf0e6;color:#3a4836}
html[data-theme=light] body[data-site-page=flow] .board-edit label{color:#586650}
html[data-theme=light] body[data-site-page=flow] .board-edit input{background:#f3f5ee;color:#33452b;border-color:#344a3235}
html[data-theme=light] body[data-site-page=flow] .board-edit button{background:#e4e9dd;color:#3b4c33}
html[data-theme=light] body[data-site-page=flow] .board-edit button[aria-pressed=true]{color:#a04a1b}
html[data-theme=light] body[data-site-page=flow] :is(.node-picture,.branch-frame,.node-placeholder,.branch-placeholder){background:#e5e9df;color:#586653}
html[data-theme=light] body[data-site-page=flow] :is(.socket,.branch-port){background:#f7f8f0}
html[data-theme=light] body[data-site-page=flow] :is(.node-icon,.branch-type-icon){background:#dae4d74d;color:#52634a}
html[data-theme=light] body[data-site-page=flow] :is(.type-imagegen .node-icon,.branch-node[data-type=imagegen] .branch-type-icon){background:#cce6cf;color:#2c6f41}
html[data-theme=light] body[data-site-page=flow] :is(.type-video .node-icon,.type-seq .node-icon,.branch-node[data-type=video] .branch-type-icon,.branch-node[data-type=sequence] .branch-type-icon){background:#e7ddf0;color:#79529a}
html[data-theme=light] body[data-site-page=flow] :is(.type-prompt .node-icon,.branch-node[data-type=prompt] .branch-type-icon){background:#e0e3f1;color:#596899}
html[data-theme=light] body[data-site-page=flow] .node-wave{background:#ede6f1}
html[data-theme=light] body[data-site-page=flow] .node-sound-label{color:#675972}
html[data-theme=light] body[data-site-page=flow] .chip{color:#5a684f;border-color:#344a3240}
html[data-theme=light] body[data-site-page=flow] .chip[aria-pressed=true]{color:#a44a18;background:#f2d9c5}
html[data-theme=light] body[data-site-page=flow] :is(.variation-input,.format-output){background:#f9f9f1;border-color:#344a3229}
html[data-theme=light] body[data-site-page=flow] :is(.variation-input>span,.format-output span,.branch-mobile-nav,.branch-mobile-nav button,.finish-end,.tiny-tag){color:#617057}
html[data-theme=light] body[data-site-page=flow] .branch-mobile-nav button{border-color:#344a3235}
html[data-theme=light] body[data-site-page=flow] :is(.branch-mobile-nav button[aria-pressed=true],.branch-captions){color:#a94b1b}
html[data-theme=light] body[data-site-page=flow] .finishing-demo{background:#fffdf8;border-color:#344a3230}
html[data-theme=light] body[data-site-page=flow] .shot-track>span{background:#e2d8e9;color:#51425d}
html[data-theme=light] body[data-site-page=flow] .shot-track>span:nth-child(2){background:#dbe4d3;color:#43533c}
html[data-theme=light] body[data-site-page=flow] .shot-track>span:nth-child(3){background:#ecdec8;color:#675336}
html[data-theme=light] body[data-site-page=flow] .audio-track{background:#e8e2ed;color:#65546f}
html[data-theme=light] body[data-site-page=flow] .ready{color:#466c44}
html[data-theme=light] body[data-site-page=flow] .finish-copy .underlink{color:#a54d20}
html[data-theme=light] body[data-site-page=flow] summary>span{color:#66745b}
/* Image-backed tool selectors retain their glass overlay for legibility in either theme. */
html[data-theme=light] body[data-site-page=flow] .cap-glass{color:#fff4e7}
html[data-theme=light] body[data-site-page=flow] .cap-copy .eyebrow{color:#e9c4a6}
html[data-theme=light] body[data-site-page=flow] .cap-copy .underlink{color:#ffc091;border-color:#ffffff75}
/* Stage One: paper panels around the original films and product demonstrations. */
html[data-theme=light]:has(body.stage-landing){background:#f5f2ec;color-scheme:light}
html[data-theme=light] body.stage-landing{--s-bg:#f5f2ec;--s-panel:#fffdf8;--s-text:#252b27;--s-muted:#5f695f;--s-line:#30402b29;--s-orange:#b7501e}

html[data-theme=light] .stage-landing :is(.studio-demo,.edit-demo,.cast-film,.hendrik-film,.craft-card,.stack-card,.reference-inputs figure,.hendrik-shots button){background:#fffdf8;color:#2c382b;border-color:#344a3229;box-shadow:0 10px 30px #34402b0c}
html[data-theme=light] .stage-landing .stack-card:nth-child(3){background:linear-gradient(120deg,#f3e6d7,#fffaf1)}
html[data-theme=light] .stage-landing :is(.demo-director,.brief,.demo-field,.cast-feature,.take-list>button:not([aria-pressed=true])){background:#eeefe6;border-color:#344a3229;color:#33412e}
html[data-theme=light] .stage-landing :is(.brief p,.craft-copy p,.shot-briefs b,.cast-pair figcaption b,.cast-caption,.reference-inputs>p,.take-list>button,.edit-preview aside>button,.motion-diagram){color:#3e4e38}
html[data-theme=light] .stage-landing :is(.brief>span,.proof-tabs button,.panel-kicker,#proof-panel label,.demo-field>span,.lens-display>span,.spec-row>span,.panel-explain,.demo-hint,.demo-bottom,.shot-briefs span,.craft-copy>small,.reference-inputs figcaption small,.asset-note,.take-code,.take-list small,.track>span,.audio-track>div,.live-label,.stack-body p,.framing-choices small,.cast-rail-heading,.cast-rail-heading span:last-child,.cast-pair figcaption span,.cast-film-caption .eyebrow,.cast-film-caption>span,.hendrik-caption>span,.hendrik-shots small,.hendrik-shots em,.hendrik-footer p){color:#65715f}
html[data-theme=light] .stage-landing :is(.stack-body a,.stack-card h3>span,.craft-copy .eyebrow,.motion-spec b,.reference-inputs figcaption span,.take-kind.orange,.framing-choices button>span,.cast-pair .is-active figcaption span,.hendrik-shots button[aria-pressed=true] small,.demo-bottom a){color:#a84c1e}
html[data-theme=light] .stage-landing .proof-tabs button[aria-pressed=true]{color:#a64c1d;background:#f1ddcb}
html[data-theme=light] .stage-landing .demo-bottom{border-color:#344a3229}
html[data-theme=light] .stage-landing :is(.studio-demo,.edit-demo) :is(header,aside){border-color:#344a3229}
html[data-theme=light] .stage-landing .stories{background:#f5f2ec}
html[data-theme=light] .stage-landing .reference-inputs>p{background:#eff0e7}
html[data-theme=light] .stage-landing .framing-view{background:#e2e5db}
html[data-theme=light] .stage-landing .sequence-band{background:#d7e0d8;color:#4a6050}
html[data-theme=light] .stage-landing .sequence-band:last-child{background:#dedfca}
html[data-theme=light] .stage-landing .s-button:not(.ghost):not(.secondary){color:#26170e!important;background:linear-gradient(145deg,#ff9b59,#ff7c35)!important}
html[data-theme=light] .stage-landing .hero,html[data-theme=light] .stage-landing .hero h1{color:#fff}
html[data-theme=light] .stage-landing .hero .eyebrow{color:#ffb48f}
html[data-theme=light] .stage-landing .interlude-copy{color:white}
/* The two retained review pages use the same preference too. */
html[data-theme=light] body[data-site-page=study] :is(.review-bar a,.review-note){color:#5d6858}
html[data-theme=light] body[data-site-page=study] .review-bar small{color:#a44d23}
html[data-theme=light] body[data-site-page=study] .review-note span{color:#35432e}
html[data-theme=light] body[data-site-page=study] .motion-hero{background:radial-gradient(ellipse at 50% 45%,#e6e9df,#f1efe7);border-color:#344a3225}
html[data-theme=light] body[data-site-page=study] .demo-node{background:linear-gradient(145deg,#fffdf8,#f1f2e9);color:#2f3c29;border-color:#344a3230;box-shadow:0 18px 40px #34402b15}
html[data-theme=light] body[data-site-page=study] .demo-node footer{color:#66715d}
html[data-theme=light] body[data-site-page=study] .demo-node header span{background:#e3dded;color:#76568f}
html[data-theme=light] body[data-site-page=study] .step-copy{color:#68745f;text-shadow:none}
html[data-theme=light] body[data-site-page=study] .step-copy strong{color:#2e3c27}
html[data-theme=light] body[data-site-page=study] .motion-hero.final :is(.step-copy,.step-copy strong){color:#fff4e5;text-shadow:0 2px 12px #0008}
html[data-theme=light] body[data-site-page=study] .final-copy{color:#fff9ef}
html[data-theme=light] body[data-site-page=plan] :is(p,li,td,small){color:#5e685a}
html[data-theme=light] body[data-site-page=plan] :is(.status,.card,.proof,.step){background:#fffdf8;border-color:#344a3229;color:#46513e}
html[data-theme=light] body[data-site-page=plan] :is(.eyebrow,a,.status b,.pill){color:#a64c1d}
html[data-theme=light] body[data-site-page=plan] .promise{color:#303d29}
@media(max-width:600px){.site-theme-toggle{width:34px;height:34px;min-width:34px;flex-basis:34px;padding:7px!important}.site-header .header-actions{gap:10px}.site-header .motion-toggle{font-size:14px}.site-header .brand{width:108px}.theme-float{right:15px;top:15px}.review-bar{flex-wrap:wrap}}
/* Homepage editorial styles predate theme variables; override their fixed dark rules. */
html[data-theme=light] body.ws-explore,html[data-theme=light] body.ws-explore main{background:#f5f2ec!important;color:#293326}




html[data-theme=light] body.ws-explore .explore{--text:#293326;--muted:#64705e;color:#293326}
html[data-theme=light] body.ws-explore .explore .ex-film{color:#fff9ef}
html[data-theme=light] body.ws-explore .explore .ex-film::before{background:linear-gradient(180deg,#10171922,transparent 25%,#0f172066 50%,#111a23e8 100%)}
html[data-theme=light] body.ws-explore .explore .ex-film .ex-ftext,html[data-theme=light] body.ws-explore .explore .ex-film .ex-ai-wordmark{color:#fff9ef}
html[data-theme=light] body.ws-explore .explore :is(.ex-forcols p,.ex-mtext>p:not(.ex-mlogo),.ex-studio>p:not(.ex-live),.ex-lib>p){color:#5f6a59}
html[data-theme=light] body.ws-explore .explore .ex-forhead h2 em{color:#8b6c50}
html[data-theme=light] body.ws-explore .explore .ex-forcols>div{border-color:#344a3230}
html[data-theme=light] body.ws-explore .explore .ex-tool.plain{background:linear-gradient(135deg,#f3e3d2,#f9f6ed);border-color:#344a3229;color:#2e3d27!important}
html[data-theme=light] body.ws-explore .explore .ex-tool.plain .ex-tcap small{color:#64705d}
html[data-theme=light] body.ws-explore .explore .ex-pill-btn:not(.light){background:linear-gradient(#fffdf8,#eeeade);border-color:#344a3240;color:#3c4c32!important;box-shadow:0 3px 10px #34402b0c}
html[data-theme=light] body.ws-explore .explore .ex-pill-btn:not(.light):hover{background:#e6eadc;color:#283e20!important}
html[data-theme=light] body.ws-explore .explore .ex-mchat{background:linear-gradient(135deg,#fffdf8,#e9eddf);color:#3c4a33;border-color:#344a3229;box-shadow:0 20px 60px #34402b12}
html[data-theme=light] body.ws-explore .explore .ex-mme{background:#e4e8db}
html[data-theme=light] body.ws-explore .explore .ex-mtext .ex-partner{color:#4d5943}
html[data-theme=light] body.ws-explore .explore .ex-mtext .ex-wordmark .cl-word{fill:#2e3b27}
html[data-theme=light] body.ws-explore .explore :is(.ex-live,.ex-why li,.ex-lib>p b){color:#56634c}
html[data-theme=light] body.ws-explore .explore :is(.ex-spanel,.ex-sfolder){background:#fffdf8ed;color:#394a30;border-color:#344a3233;box-shadow:0 15px 40px #34402b18}
html[data-theme=light] body.ws-explore .explore .ex-stabs{background:#e4e9db}
html[data-theme=light] body.ws-explore .explore .ex-stabs i.on{background:#cfd9c2}
html[data-theme=light] body.ws-explore .explore .ex-sprompt b{background:#efd8c2;color:#9b4c24}
html[data-theme=light] body.ws-explore .explore .ex-schips i{background:#e4e9dc}
html[data-theme=light] body.ws-explore .explore .ex-foot{background:#e5e7dc;color:#33422a;border-color:#344a3229}
html[data-theme=light] body.ws-explore .explore .ex-foot nav button{color:#516345!important}
html[data-theme=light] body.ws-explore .explore .ex-foot p{color:#737e69}

html[data-theme=light] body[data-site-page=study] .final-copy>p:not(.eyebrow){color:#eee8db}
html[data-theme=light] body[data-site-page=plan] :is(.blueprint,.mockband,.notes,.node){background:#eeeee5;border-color:#344a3229;color:#405036}
html[data-theme=light] body[data-site-page=plan] :is(th,.step strong){color:#9b4b23}
html[data-theme=light] body[data-site-page=plan] :is(td:first-child,summary){color:#35432d}
html[data-theme=light] body[data-site-page=plan] :is(section,td,th,details){border-color:#344a3229}
html[data-theme=light] body[data-site-page=plan] :is(.mockhero,.glass){color:#fff5e8}
html[data-theme=light] body[data-site-page=plan] :is(.mockhero p,.glass p){color:#eee5da}
html[data-theme=light] body[data-site-page=flow] .branch-canvas{--b-image:#388757;--b-text:#596aad;--b-video:#8957ac;--b-audio:#af517b}
html[data-theme=light] body[data-site-page=flow] .branch-port{box-shadow:0 0 0 2px #f5f2ec}
html[data-theme=light] body[data-site-page=flow] .socket{box-shadow:0 0 0 3px #eeeFE6;border-color:#388757}
html[data-theme=light] body[data-site-page=flow] .socket.text{border-color:#596aad}
html[data-theme=light] body[data-site-page=flow] .socket.video{border-color:#8957ac}
html[data-theme=light] body[data-site-page=flow] .wire-base{stroke:#62846b;opacity:.4}
html[data-theme=light] body[data-site-page=flow] .wire-active{stroke:#388757;filter:none}
html[data-theme=light] body[data-site-page=flow] :is(.wire-base.text,.wire-active.text){stroke:#596aad}
html[data-theme=light] body[data-site-page=flow] :is(.wire-base.video,.wire-active.video){stroke:#8957ac}
html[data-theme=light] body[data-site-page=flow] .branch-wires path{stroke:#548566}
html[data-theme=light] body[data-site-page=flow] .branch-node[data-branch-id=background] footer span{color:#8b6139;border-color:#8b613940}
/* the website and the app share one header: across the full page load between them it stays in place (cross-document view
   transitions, same origin; motion allowed only; the app opts in the same way, shell-header.css). The owner, 31 Oct 2026 */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
header.topbar { view-transition-name: cz-site-header; }

}
