/* The supplied shared spring pairs and the study's active lamp presets. */
:root{--spring-follow:900 50;--spring-settle:280 22;--spring-soft:260 24;--spring-lead:620 36;--spring-trail:190 19;--spring-pop:520 16;--spring-fade:420 32;--cord-angle:46 3;--cord-tug:300 13;--cord-reveal:120 21;--cord-close:170 27;--cord-bulb:420 13;--cord-hand:210 22;--cord-stretch:300 17;--cord-shade:#49494f;--cord-line:#8b8b96}
.theme-cord{position:relative;flex:0 0 64px;width:64px;height:88px;align-self:start;isolation:isolate}
.theme-cord>svg{position:absolute;top:-18px;left:5px;width:54px;height:108px;overflow:visible;pointer-events:none}
.cord-wire,.cord-rope{fill:none;stroke:var(--cord-line);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.cord-shade{fill:var(--cord-shade)}.cord-cap{fill:var(--cord-line)}.cord-bulb{fill:var(--accent-fill,var(--dn-accent))}.cord-bead{fill:var(--dn-text)}
.cord-grab{position:absolute;width:44px;height:44px;transform:translate(-50%,-50%);padding:0;border:0;border-radius:var(--dn-control);background:transparent;cursor:grab;touch-action:none;-webkit-tap-highlight-color:transparent}
.cord-grab.is-held{cursor:grabbing}.cord-grab:hover{background:transparent}.cord-grab:focus-visible{outline:2px solid var(--dn-muted);outline-offset:0}
html[data-theme=light]{color-scheme:light;--dn-bg:#f5f5f0;--dn-panel:#ffffff;--dn-raised:#e8e8e1;--dn-text:#202024;--dn-muted:#5e5e68;--dn-line:#c8c8c1;--dn-field:#fafaf6;--dn-accent:#526600;--dn-hover:#e0ff66;--dn-danger:#a02722;--dn-ok:#22683b;--cord-shade:#d0d0c8;--cord-line:#686873;--accent-fill:#ccff00}
html[data-theme=light] body:before{background-image:linear-gradient(90deg,#20202408 1px,transparent 1px),linear-gradient(#20202408 1px,transparent 1px)}
html[data-theme=light] .site-header{background:#f5f5f0f5;border-color:var(--dn-line)}
html[data-theme=light] .button:not(.secondary):not(.light),html[data-theme=light] .icon-button,html[data-theme=light] .flow-nodes .flow-core,html[data-theme=light] .project-tabs button[aria-pressed=true]{background:var(--accent-fill);color:#202024;border-color:transparent}
html[data-theme=light] .task-entry{background:var(--dn-panel);border-color:var(--dn-line);box-shadow:0 24px 65px #20202412}
html[data-theme=light] .task-options button,html[data-theme=light] .project-tabs button,html[data-theme=light] .mini-browser>span{background:var(--dn-raised)}
html[data-theme=light] .service-panel{border-color:var(--dn-line)}html[data-theme=light] .automation{background:linear-gradient(150deg,#eef2df,#fff 62%)}html[data-theme=light] .flow-nodes>span{background:#f1f2e9}html[data-theme=light] .flow-example>p{color:#5c6548}
html[data-theme=light] .bots{background:linear-gradient(150deg,#fff 30%,#eef0f8)}html[data-theme=light] .chat-message{background:#e2e8f3;color:#303b50!important}html[data-theme=light] .chat-message.user{background:#e0e6e9}
html[data-theme=light] .fan-card{background:var(--dn-panel);border-color:var(--dn-line);box-shadow:0 15px 25px #20202419}
html[data-theme=light] .brief-section select,html[data-theme=light] .brief-section textarea{background:var(--dn-field);border-color:#9c9ca5}
html[data-theme=light] .approach{background:#ededE7}html[data-theme=light] .contact-inner{background:#e9eed9;border-color:#bdc6a3}html[data-theme=light] .contact-inner p{color:#515c3e}html[data-theme=light] .contact-aside{border-color:#bdc6a3}
html[data-theme=light] .film,html[data-theme=light] .film h3,html[data-theme=light] .film-content>a{color:#f4f4f5}html[data-theme=light] .film .button.light{background:#f4f4f5;color:#09090b}
html[data-theme=light] .mobile-menu nav{background:var(--dn-panel);box-shadow:0 18px 30px #2020241a}
html[data-theme=light] input::placeholder,html[data-theme=light] textarea::placeholder{color:#6f6f79}html[data-theme=light] ::selection{background:#ccff00;color:#202024}
/* Keep the brief's focus visible without the lime outline. */
.brief-section :is(select,textarea):focus{outline:none;box-shadow:none;border-color:var(--dn-muted)}
.brief-section :is(select,textarea):focus-visible{outline:2px solid var(--dn-muted);outline-offset:3px}
.hero h1{font-size:clamp(40px,6.7vw,86px)}
@media(min-width:1600px){.hero h1{font-size:86px}}
@media(max-width:1050px){.header-inner{gap:18px}.desktop-nav{gap:18px}.hero h1{font-size:clamp(40px,6.7vw,72px)}}
@media(max-width:700px){.header-inner{gap:8px}.mobile-menu{margin-left:auto}.theme-cord{height:72px;flex-basis:54px;width:54px}.theme-cord>svg{top:-26px;left:0}.hero h1{font-size:clamp(27px,7vw,48px)}}
@media(prefers-reduced-motion:no-preference){body,.site-header,.task-entry,.brief-section form,.brief-section textarea,.brief-section select{transition:background-color .2s,color .2s,border-color .2s}}
