/* Homepage-only finish: raised controls, optical depth, unchanged workflows. */
.ws {
    display: flow-root;
    --l-ink: #f5f4ff;
    --l-ink-soft: #d6d4e2;
    --l-muted: #a5a3b7;
    --l-muted-2: #89869c;
    --l-border: #ffffff1c;
    --l-bg-3: #191835;
    color-scheme: dark;
    background: #05051c;
}
.ws .ws-main {
    background: radial-gradient(ellipse 65% 650px at 55% 0, #25204550, transparent), #080820;
    border-color: #ffffff12;
    box-shadow: inset 0 1px 0 #ffffff08, 0 25px 90px #0006;
}
.ws .ws-bar { padding-block: 12px; height: 84px; }
.ws .ws-bar nav { gap: 28px; color: #b8b4cb; }
.ws .ws-bar nav a:hover { color: #fff; }
.ws .ws-hero { position: relative; isolation: isolate; padding-top: 86px; padding-bottom: 76px; }
.ws .ws-hero::before {
    content: ""; position: absolute; inset: 8% 10% 10%; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse at 50% 35%, #7461ff1c, transparent 66%);
}
.ws .ws-eyebrow {
    background: linear-gradient(180deg, #252131, #151332);
    border-color: #b8a6ff30; box-shadow: inset 0 1px 0 #ffffff16, 0 6px 20px #0004;
    padding: 8px 14px; letter-spacing: .025em;
}
.ws .ws-eyebrow span { background: linear-gradient(150deg, #9c8bff, #5842dc); box-shadow: inset 0 1px 0 #ffffff55, 0 2px 0 #372579; }
.ws h1 { letter-spacing: -.065em; line-height: 1.04; text-wrap: balance; text-shadow: 0 3px 30px #aaa0ff12; }
.ws h1 em { background-image: linear-gradient(105deg, #b7a9ff 5%, #e8dfff 43%, #f1c17b 83%); }
.ws .ws-intro { color: #aaa7ba; max-width: 600px; line-height: 1.85; text-wrap: pretty; }
.ws .ws-composer {
    margin-top: 36px; padding: 20px; border-radius: 24px;
    background: linear-gradient(155deg, #24212f, #12122c 60%);
    border: 1px solid #baabff38;
    box-shadow: inset 0 1px 0 #ffffff18, inset 0 -1px 0 #000a, 0 6px 0 #080723, 0 7px 0 #b8a6ff14, 0 30px 80px #0007;
}
.ws .ws-composer:focus-within { border-color: #a99aff88; box-shadow: inset 0 1px 0 #ffffff20, 0 6px 0 #080723, 0 20px 80px #7961ff12; }
.ws .ws-helper { margin-top: 22px; color: #9893ad; }
.ws .ws-button, .ws .ws-submit, .ws .ws-marketing .l-btn-indigo {
    background: linear-gradient(165deg, #a797ff 0%, #7961f4 36%, #5640d8 100%);
    border: 1px solid #c2b6ff70; color: #fff;
    box-shadow: inset 0 1px 1px #ffffff7a, inset 0 -2px 2px #251a7855, 0 4px 0 #302172, 0 10px 28px #7154ee30;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    text-shadow: 0 1px 2px #32207766;
}
.ws .ws-submit { display: grid; place-items: center; width: 46px; height: 46px; }
.ws .ws-chips button, .ws .ws-menu, .ws .ws-marketing button,
.ws .ws-modes input:checked + span {
    background: linear-gradient(160deg, #302c3c, #1d1a27);
    border: 1px solid #ffffff1f; color: #d9d5e9;
    box-shadow: inset 0 1px 0 #ffffff16, 0 3px 0 #090822, 0 5px 12px #0003;
}
.ws .ws-chips button { padding: 8px 12px; }
.ws .ws-modes span { border: 1px solid transparent; min-height: 42px; }
.ws .ws-modes svg, .ws .ws-button svg, .ws .ws-marketing button svg {
    filter: drop-shadow(0 2px 0 #141036) drop-shadow(0 -1px 0 #ffffff25);
}
.ws .ws-tool-grid { gap: 16px; }
.ws .ws-tool {
    --tile-top: #a28eff; --tile-bottom: #4e37ac;
    padding: 24px 20px; border-radius: 18px; align-items: center;
    background: radial-gradient(ellipse at 5% 0%, #7560b712, transparent 75%), linear-gradient(155deg, #181733, #101029);
    border-color: #ffffff10; box-shadow: inset 0 1px 0 #ffffff08, 0 8px 24px #0002;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ws .ws-tool:nth-child(3n+2) { --tile-top: #89b7ee; --tile-bottom: #354b99; }
.ws .ws-tool:nth-child(3n) { --tile-top: #e5b683; --tile-bottom: #956239; }
.ws .ws-icon-tile {
    display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 14px;
    color: #fff; transform: perspective(300px) rotateY(-10deg) rotateX(8deg);
    background: linear-gradient(140deg, var(--tile-top), var(--tile-bottom) 85%);
    border: 1px solid #ffffff35;
    box-shadow: inset 1px 1px 1px #ffffff66, inset -2px -2px 4px #0003, 2px 4px 0 #080723, 4px 8px 14px #0005;
}
.ws .ws-icon-tile svg { filter: drop-shadow(1px 2px 1px #0006); }
.ws .ws-tool h3 { font-size: 15px; letter-spacing: -.02em; }
.ws .ws-tool p { line-height: 1.65; color: #a3a0b2; }
.ws .ws-tool > svg:last-child { color: #827b9a; width: 16px; }
.ws .ws-side .symbol {
    display: grid; place-items: center; width: 28px; height: 28px; flex-shrink: 0;
    border-radius: 8px; background: linear-gradient(145deg, #282433, #14122d);
    border: 1px solid #ffffff10; box-shadow: inset 0 1px 0 #ffffff12, 0 2px 0 #0008;
}
.ws .ws-side .symbol svg { width: 16px; height: 16px; color: #b8aecf; filter: drop-shadow(0 1px 1px #000); }
.ws .ws-side a.active { background: linear-gradient(110deg, #332b50, #201c31); box-shadow: inset 0 1px 0 #ffffff12; }
.ws .ws-side a.active .symbol { background: linear-gradient(145deg, #7d69dc, #423377); }
.ws .ws-side a.active svg { color: #fff; }
.ws .ws-marketing .l-card {
    border-color: #ffffff14; border-radius: 22px;
    background: linear-gradient(145deg, #181633, #0e0e27);
    box-shadow: inset 0 1px 0 #ffffff0b, 0 16px 40px #0003;
}
.ws .ws-marketing h2 { letter-spacing: -.045em; text-wrap: balance; }
.ws .ws-marketing section { border-color: #ffffff0d; }
.ws .ws-marketing summary { border-radius: 12px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
    .ws .ws-button:hover, .ws .ws-submit:hover, .ws .ws-marketing .l-btn-indigo:hover { transform: translateY(-2px); filter: brightness(1.09); }
    .ws .ws-tool:hover { transform: translateY(-4px); border-color: #b2a0ff40; box-shadow: inset 0 1px 0 #ffffff16, 0 18px 32px #0004; }
}
.ws .ws-button:active, .ws .ws-submit:active, .ws .ws-chips button:active,
.ws .ws-menu:active, .ws .ws-marketing button:active, .ws .ws-marketing .l-btn-indigo:active {
    transform: translateY(2px); box-shadow: inset 0 2px 4px #0003, 0 1px 0 #302172;
}
.ws :is(a,button,input,textarea,summary):focus-visible { outline: 2px solid #c8baff; outline-offset: 4px; }
@media(max-width:800px) {
    .ws .ws-hero { padding-top: 46px; padding-bottom: 46px; }
    .ws .ws-bar { height: 76px; }
    .ws .ws-composer { padding: 15px; border-radius: 20px; }
    .ws .ws-tool { padding: 20px 16px; }
    .ws .ws-icon-tile { flex-basis: 42px; height: 42px; border-radius: 12px; }
    .ws .ws-chips button { min-height: 40px; }
}
@media(prefers-reduced-motion:reduce) {
    .ws *, .ws *::before, .ws *::after { animation: none !important; transition: none !important; }
    .ws .ws-button:active, .ws .ws-submit:active, .ws .ws-marketing button:active { transform: none; }
}

/* Shared light/dark preference; every override is limited to the public workspace. */
.ws-theme-toggle{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid #ffffff25;border-radius:12px;background:#262131;color:#eee8ff}
.ws-chat{scroll-margin-top:20px}.ws-transcript{max-height:480px;overflow-y:auto;display:flex;flex-direction:column;gap:14px;padding:8px}
.ws-message{padding:18px 22px;border:1px solid #ffffff18;background:#141330;border-radius:18px;max-width:92%}
.ws-message-user{align-self:flex-end;background:#29213e}.ws-message p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:15px}
.ws-message small{display:block;margin-bottom:8px;color:#b8a6ff}.ws-empty{padding:24px;color:#9e98b2;display:flex;gap:18px;align-items:center;flex-wrap:wrap}
.ws-recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ws-recent-card{padding:12px;border:1px solid #ffffff18;border-radius:16px;min-width:0}.ws-recent-card img,.ws-recent-card video{width:100%;height:170px;object-fit:cover;border-radius:10px}
.ws-recent-card p{font-size:14px;margin:12px 0;overflow-wrap:anywhere}.ws-recent-card small{color:#aaa3bd}.ws button:disabled{opacity:.55;cursor:wait}
html:not(.dark) .ws{--l-ink:#171338;--l-ink-soft:#302a43;--l-muted:#655d76;--l-muted-2:#776f86;--l-border:#21153b20;--l-bg:#faf9fe;--l-bg-2:#f1eef8;--l-bg-3:#eae5f3;--l-hairline:#21153b18;background:#f0edf6;color:#211b30;color-scheme:light}
html:not(.dark) .ws .ws-main{background:radial-gradient(ellipse 70% 700px at 50% 0,#daceff60,transparent),#faf9fe;border-color:#ddd6e9}
html:not(.dark) .ws .ws-side{background:#f5f2fa;border-color:#ddd6e9}
html:not(.dark) .ws .ws-side a.item{color:#554963}html:not(.dark) .ws .ws-side a.active{background:linear-gradient(120deg,#ddd2fa,#eee8fb);color:#49327c}
html:not(.dark) .ws .ws-side .symbol{background:linear-gradient(145deg,#fff,#e7e0f3);box-shadow:inset 0 1px #fff,0 2px #c6bcd8}
html:not(.dark) .ws .ws-side .symbol svg{color:#635183;filter:none}
html:not(.dark) .ws h1{color:#221a32;text-shadow:none}html:not(.dark) .ws h1 em{background-image:linear-gradient(105deg,#6947bc,#8860bf,#a5651e)}
html:not(.dark) .ws :is(.ws-intro,.ws-helper,.ws-tool p,.ws-heading p,.ws-bar nav,.ws-empty,.ws-recent-card small){color:#655a77}
html:not(.dark) .ws :is(.ws-composer,.ws-tool,.ws-message,.ws-recent-card){background:linear-gradient(150deg,#fff,#f2eef8);border-color:#d9d0e7;box-shadow:inset 0 1px #fff,0 8px 28px #3324520b}
html:not(.dark) .ws .ws-composer{box-shadow:inset 0 1px #fff,0 5px #e4dcee,0 20px 45px #3324520e}
html:not(.dark) .ws textarea{color:#251b38}html:not(.dark) .ws textarea::placeholder{color:#7a6e8b}
html:not(.dark) .ws :is(.ws-theme-toggle,.ws-eyebrow,.ws-chips button,.ws-menu),html:not(.dark) .ws .ws-modes input:checked+span{background:linear-gradient(#fff,#e9e2f4);color:#4e3b72;border-color:#d4c7e8;box-shadow:inset 0 1px #fff,0 2px #d8cce8}
html:not(.dark) .ws .ws-modes span{color:#685b7d}html:not(.dark) .ws .ws-message-user{background:#eae1fb}
html:not(.dark) .ws .ws-message small{color:#654595}html:not(.dark) .ws .ws-section{border-color:#21153b18}
html:not(.dark) .ws .ws-marketing{--l-bg:#faf9fe;--l-bg-2:#f1eef8;--l-hairline:#21153b18;color:#251b38}
html:not(.dark) .ws .ws-marketing :is(h2,h3,.text-black){color:#21182f}
html:not(.dark) .ws .ws-marketing [class*="text-black/"]{color:#665b75}
html:not(.dark) .ws .ws-marketing .l-card,html:not(.dark) .ws .ws-marketing [class*="bg-white"]:not([class*="text-white"]):not(.bg-transparent):not(.l-card--ink *):not(.bg-black *):not([class*="bg-[#17152F]"] *){background:#fff;border-color:#ddd4e9}
html:not(.dark) .ws .ws-marketing .l-accent{color:#6844ba}
html:not(.dark) .ws .ws-marketing footer{background:#eee8f6}
@media(max-width:800px){.ws-theme-toggle span{display:none}.ws-account{gap:10px}.ws-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ws-message{max-width:100%}.ws-recent-card img,.ws-recent-card video{height:130px}}

.ws-chat-shortcut{display:flex;align-items:center;gap:7px;padding:9px 12px;font-size:14px;color:#ad97f0}html:not(.dark) .ws .ws-chat-shortcut{color:#65469a}.ws-modes{flex-wrap:wrap}

.ws-model-options{text-align:left;min-width:0}.ws-model-options label{display:block;color:#a49ab7;font-size:12px;margin-bottom:8px}.ws-model-options select{max-width:100%;padding:9px 12px;border:1px solid #79669260;border-radius:10px;background:#201b2b;color:#eee8ff;font-size:13px}.ws-model-options select[hidden]{display:none}.ws-model-options p{font-size:13px;color:#b7aacd}
#hero-feedback{font-size:13px;color:#b9a7e0;margin-top:12px}.ws-hero-results{max-width:780px;margin:24px auto 0;text-align:left;display:grid;gap:16px}.ws-result{border:1px solid #ffffff20;border-radius:18px;padding:22px;background:#161332}.ws-result-brief{color:#bda9e1;font-size:13px;padding-bottom:14px;border-bottom:1px solid #ffffff12}.ws-result-output{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.8;padding-top:16px}.ws-result-output img,.ws-result-output video{display:block;max-width:100%;max-height:540px;border-radius:12px;margin-bottom:12px}.ws-result-output a{color:#b9a5ff;text-decoration:underline}
html:not(.dark) .ws .ws-result{background:#fff;border-color:#d9cce8}html:not(.dark) .ws .ws-result-brief,html:not(.dark) .ws .ws-model-options :is(label,p),html:not(.dark) .ws #hero-feedback{color:#68517e}html:not(.dark) .ws .ws-model-options select{background:#fff;color:#30243e;border-color:#cfc0df}
@media(max-width:600px){.ws-model-options{max-width:calc(100% - 105px)}.ws-result{padding:16px}}

.ws .ws-hero{background:radial-gradient(ellipse 85% 40% at 50% 100%,#713cff66,transparent 80%);border-radius:0 0 28px 28px;padding-inline:18px}
.ws .ws-hero h1{font-size:clamp(40px,4.8vw,72px);max-width:940px}.ws .ws-launch{max-width:880px;min-height:235px;background:linear-gradient(145deg,#212026,#13122b);border-color:#a49baa40}
.ws .ws-launch textarea{min-height:115px}.ws .ws-launch .ws-modes span{font-size:13px;padding:9px 13px}
.ws-quick-starts{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:27px}.ws-quick-starts button{font-size:12px;padding:10px 13px;border:1px solid #ffffff28;background:#1c1926;border-radius:100px;color:#cbc3dc}
html:not(.dark) .ws .ws-launch{background:linear-gradient(#fff,#f2edf9)}html:not(.dark) .ws .ws-quick-starts button{background:#eee6fb;color:#594172;border-color:#cdbce5}

.ws-assistant .ws-composer{max-width:900px;border:1px solid #ffffff20;padding:24px}.ws-assistant textarea{display:block;width:100%;min-height:140px;border:1px solid #ffffff20;border-radius:12px;padding:16px;background:transparent;color:inherit}.ws-assistant .ws-modes{display:none}.ws-assistant .ws-compose-bottom{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:16px}.ws-assistant .ws-button{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;border-radius:12px}.ws-assistant .ws-helper{font-size:13px}

/* Creation-first homepage: restrained chrome and an editorial inspiration shelf. */
.ws:not(.ws-assistant) .ws-main{background:radial-gradient(ellipse 65% 620px at 50% 180px,#47316a29,transparent),#0b0b22}
.ws .ws-bar{height:72px}
.ws .ws-side{padding-top:22px;scrollbar-width:thin;scrollbar-color:#34313e transparent}
.ws .ws-brand{padding-bottom:22px}
.ws .ws-side a.item{padding:6px 10px;font-size:13px;margin-bottom:2px}
.ws .ws-side small{margin-top:20px;font-size:9px}
.ws .ws-side .symbol{width:25px;height:25px}
.ws .ws-hero{padding:38px 16px 42px;background:radial-gradient(ellipse 65% 30% at 50% 75%,#7245cf21,transparent);border-radius:0}
.ws .ws-hero h1{font-size:clamp(44px,5.3vw,76px);line-height:1.02;letter-spacing:-.065em;margin:23px auto 18px}
.ws .ws-hero h1 em{background-image:linear-gradient(100deg,#c6b8ff,#f2d6e4 75%)}
.ws .ws-eyebrow{font-size:10px;background:#191533;border-color:#ffffff16;box-shadow:none;padding:6px 10px}
.ws .ws-eyebrow span{background:none;box-shadow:none;color:#c3aff5;font-size:9px;letter-spacing:.1em}
.ws .ws-intro{font-size:14px;line-height:1.7}
.ws .ws-launch{margin-top:26px;padding:14px 18px 18px;min-height:0;border-radius:20px;background:linear-gradient(125deg,#24212b,#191732);border-color:#ffffff26;box-shadow:0 18px 60px #0004,inset 0 1px #ffffff12}
.ws .ws-launch .ws-modes{border-bottom:1px solid #ffffff12;padding-bottom:10px;margin-bottom:6px;gap:5px}
.ws .ws-launch .ws-modes span{font-size:12px;min-height:36px;padding:7px 12px}
.ws .ws-launch textarea{min-height:80px;font-size:16px;padding:12px 8px}
.ws .ws-launch .ws-helper{margin:0;text-align:left;font-size:11px}
.ws .ws-launch .ws-button{border-radius:12px;padding:11px 17px;white-space:nowrap;font-size:13px}
.ws .ws-quick-starts{margin-top:20px;gap:7px}
.ws .ws-quick-starts button{font-size:11px;padding:8px 11px;background:#ffffff04;border-color:#ffffff15}
.ws .ws-quick-starts button:hover{background:#8872da22;border-color:#ad92ff60}
.ws .ws-flow-note{font-size:10px;margin-top:19px;letter-spacing:.03em}
.ws-flow-note span{padding:0 12px;color:#746582}
.ws-inspiration{padding:26px 0 36px}
.ws .ws-kicker{font-size:9px;letter-spacing:.16em;color:#a39aac;margin-bottom:9px}
.ws .ws-heading h2{font-size:28px;letter-spacing:-.045em}
.ws-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ws-editorial{position:relative;isolation:isolate;height:255px;overflow:hidden;border-radius:18px;text-align:left;border:1px solid #ffffff1f;color:white;background:#1c1937}
.ws-editorial img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
.ws-editorial:after{content:"";position:absolute;inset:0;background:linear-gradient(#0005,transparent 30%,#000c);z-index:0}
.ws-editorial-top{position:absolute;inset:18px 18px auto;z-index:1;display:flex;align-items:center;justify-content:space-between}
.ws-editorial-top>span{font-size:8px;letter-spacing:.13em;border:1px solid #ffffff50;border-radius:30px;background:#0003;padding:6px 9px}
.ws-editorial-caption{position:absolute;inset:auto 20px 20px;z-index:1;display:grid;gap:9px}
.ws-editorial-caption strong{font-size:24px;line-height:1.1;letter-spacing:-.04em;max-width:180px}
.ws-editorial-caption>span{font-size:11px;color:#ffffffbe}
.ws-editorial-caption>span span{float:right;color:white}
.ws-example-note{font-size:10px;color:#9890a6;margin-top:12px}
.ws .ws-tool{padding:18px 15px;border-radius:14px}
.ws .ws-tool p{font-size:12px}
html:not(.dark) .ws .ws-hero h1 em{background-image:linear-gradient(100deg,#6540b7,#9d4f7d)}
html:not(.dark) .ws .ws-launch .ws-modes{border-color:#39205618}
html:not(.dark) .ws .ws-eyebrow span{color:#694699}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.ws-editorial:hover img{transform:scale(1.06)}}
@media(max-width:800px){
 .ws .ws-hero{padding:28px 0 25px}.ws .ws-bar{height:68px}
 .ws .ws-hero h1{font-size:clamp(42px,10vw,60px)}.ws .ws-eyebrow{font-size:9px}
 .ws .ws-launch{padding:12px}.ws .ws-launch .ws-modes{gap:2px}.ws .ws-launch .ws-modes span{font-size:11px;padding:7px 9px}
 .ws .ws-launch textarea{font-size:14px;min-height:95px}
 .ws .ws-flow-note{font-size:9px}.ws-flow-note span{padding:0 4px}
 .ws-editorial-grid{gap:10px}.ws-editorial{height:220px}.ws-editorial-caption{inset:auto 12px 16px}.ws-editorial-caption strong{font-size:20px}.ws-editorial-top{inset:12px 12px auto}.ws-editorial-top svg{display:none}
}
@media(max-width:540px){.ws-editorial-grid{grid-template-columns:1fr}.ws-editorial{height:225px}.ws-editorial-caption strong{font-size:28px;max-width:220px}.ws .ws-heading h2{font-size:25px}.ws .ws-eyebrow{gap:4px}.ws .ws-launch .ws-helper{max-width:145px;font-size:10px}.ws .ws-side a.item{min-height:44px}}

.ws-video-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:28px auto 0;max-width:880px;text-align:left}
.ws-preview-card{position:relative;min-width:0;margin:0;border:1px solid #ffffff20;border-radius:14px;overflow:hidden;background:#181830}
.ws-preview-card video{display:block;width:100%;aspect-ratio:9/16;max-height:300px;object-fit:cover}
.ws-preview-card figcaption{padding:10px 12px;font-size:11px;color:#ece8f5;background:#1c1937}
html:not(.dark) .ws-preview-card figcaption{background:#eee8f6;color:#463654}
.ws #platforms .ws-video-strip{margin-top:30px}
@media(max-width:600px){.ws-video-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ws-preview-card video{max-height:230px}.ws-preview-card figcaption{font-size:10px;padding:9px}.ws #platforms .l-card{padding:22px 16px}}
/* Graphite canvas; color is concentrated behind the creation surface. */
.ws:not(.ws-assistant) .ws-main{background:#101026;border-radius:20px;border-color:#ffffff10}
.ws .ws-hero{margin-top:12px;padding:42px 24px 30px;border:1px solid #ffffff12;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#15152b 0%,#151330 48%,#302055 85%,#53368b 100%)}
.ws .ws-hero:before{inset:auto 0 0;height:140px;background:linear-gradient(90deg,#ffffff06 1px,transparent 1px),linear-gradient(#ffffff05 1px,transparent 1px);background-size:52px 52px;mask-image:linear-gradient(transparent,#000);opacity:.7}
.ws .ws-hero h1{font-size:clamp(42px,4.8vw,68px);letter-spacing:-.055em}
.ws .ws-hero h1 em{background-image:linear-gradient(95deg,#fff,#cbb9f6)}
.ws .ws-launch{background:#202037;border-color:#ffffff24;box-shadow:0 16px 45px #0005,inset 0 1px #ffffff0c;border-radius:18px}
.ws .ws-launch .ws-modes input:checked+span{background:#363439;border-color:#ffffff12;box-shadow:none}
.ws .ws-eyebrow{background:#ffffff05;border-color:#ffffff15}
.ws .ws-hero .ws-helper{color:#c4bad4}
.ws .ws-quick-starts button{background:#17131d70;color:#dfd6ef;border-color:#ffffff26}
.ws .ws-flow-note span{color:#c7b9dc}
.ws .ws-marketing [role="tab"][aria-selected="true"]{background:#7955d8!important;color:#fff!important;border-color:#b19ce3}
.ws .ws-hero .ws-quick-starts button{background:#21192f!important;color:#eee7fa!important}
html:not(.dark) .ws .ws-hero .ws-quick-starts button{background:#f6f1fd!important;color:#4f396b!important}
.ws .ws-inspiration{padding-top:40px}
.ws .ws-tool{background:#191931;border-color:#ffffff10;box-shadow:inset 0 1px #ffffff05}
.ws .ws-marketing .l-card{background:#181830;box-shadow:none}
.ws .ws-marketing .l-mono{font-family:inherit;letter-spacing:.08em}
.ws .ws-marketing video{object-fit:cover;background:#18182f}
.ws-video-notice{position:absolute;inset:auto 8px 40px;padding:10px;background:#16141fe8;color:#fff;font-size:12px;border-radius:8px;z-index:25}
.ws-video-notice[hidden]{display:none}
.ws [data-preview-video]:focus-visible{outline:3px solid #9d83ff;outline-offset:-3px}
.ws .ws-content,.ws .ws-marketing{min-width:0}
.ws .ws-marketing img,.ws .ws-marketing video{max-width:100%}
html:not(.dark) .ws:not(.ws-assistant) .ws-main{background:#faf9fc}
html:not(.dark) .ws .ws-hero{background:linear-gradient(180deg,#fff 0%,#f4f0fb 55%,#d6c8ef 100%);border-color:#dfd7ea}
html:not(.dark) .ws .ws-hero h1 em{background-image:linear-gradient(95deg,#30253e,#7955ad)}
html:not(.dark) .ws .ws-hero .ws-helper{color:#62546f}
html:not(.dark) .ws .ws-flow-note span{color:#7e6a95}
@media(max-width:800px){.ws .ws-hero{padding:28px 14px 24px;margin-top:8px;border-radius:20px}.ws .ws-hero h1{font-size:clamp(36px,9.3vw,56px)}.ws .ws-content{padding-inline:12px}.ws .ws-bar{padding-inline:14px}.ws .ws-eyebrow{flex-wrap:wrap;justify-content:center}.ws .ws-quick-starts{display:grid;grid-template-columns:1fr 1fr}.ws .ws-quick-starts button{font-size:10px;line-height:1.5;min-height:40px}.ws .ws-launch .ws-compose-bottom{flex-wrap:wrap}.ws .ws-flow-note{line-height:1.8}.ws .ws-marketing .l-card{min-width:0}}

/* Public workspace: warm white by day, graphite by night. */
html:not(.dark) .ws {
    --bg:#fdfcf9; --panel:#fff; --line:#eae7e1; --muted:#6f6b73;
    --l-bg:#fdfcf9; --l-bg-2:#f7f5f1; --l-bg-3:#eeebe6;
    --l-ink:#18162f; --l-ink-soft:#39353d; --l-muted:#6f6b73;
    --l-muted-2:#827d85; --l-border:#e5e0da; --l-hairline:#eae7e1;
    background:#fdfcf9; color:#18162f; color-scheme:light;
}
html:not(.dark) .ws:not(.ws-assistant) .ws-main {
    background:#fff; border-color:#eae7e1; box-shadow:0 14px 60px #29202008;
}
html:not(.dark) .ws .ws-side { background:#fbfaf7; border-color:#eae7e1; }
html:not(.dark) .ws .ws-brand { color:#211d25; }
html:not(.dark) .ws .ws-side small { color:#85808a; }
html:not(.dark) .ws .ws-side a.item { color:#57515d; }
html:not(.dark) .ws .ws-side a.item:hover,
html:not(.dark) .ws .ws-side a.active { background:#f0eafb; color:#4b3196; box-shadow:none; }
html:not(.dark) .ws .ws-side .symbol { background:#fff; border-color:#e9e4eb; box-shadow:none; }
html:not(.dark) .ws .ws-side .symbol svg { color:#695a87; }
html:not(.dark) .ws .ws-side a.active .symbol { background:#e8dcff; border-color:#d8c5fa; }
html:not(.dark) .ws .ws-side a.active svg { color:#5730a5; }
html:not(.dark) .ws .ws-bar { border-bottom:1px solid #eeeae5; }
html:not(.dark) .ws .ws-bar nav { color:#625c66; }
html:not(.dark) .ws .ws-bar nav a:hover { color:#4f2e9e; }
html:not(.dark) .ws .ws-hero {
    background:#f9f7f2; border-color:#eeeae2;
    box-shadow:inset 0 1px 0 #fff;
}
html:not(.dark) .ws .ws-hero::before { opacity:0; }
html:not(.dark) .ws .ws-hero h1 { color:#17152e; }
html:not(.dark) .ws .ws-hero h1 em { background-image:linear-gradient(96deg,#4c2ea7,#9363b4); }
html:not(.dark) .ws :is(.ws-intro,.ws-helper,.ws-tool p,.ws-heading p,.ws-example-note,.ws-side-bottom p) { color:#706b74; }
html:not(.dark) .ws .ws-eyebrow { background:#fff; color:#5d4c76; border-color:#e5dcef; box-shadow:none; }
html:not(.dark) .ws .ws-eyebrow span { color:#5a35a9; }
html:not(.dark) .ws .ws-launch,
html:not(.dark) .ws .ws-composer {
    background:#fff; border-color:#e4dfe9;
    box-shadow:0 16px 46px #45315215,0 3px 8px #4531520a;
}
html:not(.dark) .ws .ws-launch:focus-within,
html:not(.dark) .ws .ws-composer:focus-within { border-color:#aa8add; box-shadow:0 0 0 4px #7651b518,0 18px 46px #45315218; }
html:not(.dark) .ws .ws-launch .ws-modes { border-color:#eae5ef; }
html:not(.dark) .ws .ws-modes span { color:#68616f; }
html:not(.dark) .ws .ws-launch .ws-modes input:checked+span { background:#eee8fb; color:#563294; border-color:#e3d8f5; box-shadow:none; }
html:not(.dark) .ws textarea { color:#25212a; }
html:not(.dark) .ws textarea::placeholder { color:#86808b; }
html:not(.dark) .ws .ws-quick-starts button,
html:not(.dark) .ws .ws-hero .ws-quick-starts button { background:#fff!important; color:#5b5263!important; border-color:#e7e1ea; }
html:not(.dark) .ws .ws-quick-starts button:hover { border-color:#ae8ce4; color:#4b2d8e!important; }
html:not(.dark) .ws .ws-flow-note span { color:#a29aa8; }
html:not(.dark) .ws .ws-tool { background:#fff; border-color:#eae6e0; box-shadow:0 6px 24px #29202008; }
html:not(.dark) .ws .ws-tool:hover { border-color:#b89de4; box-shadow:0 14px 34px #62419a17; }
html:not(.dark) .ws .ws-tool h3,
html:not(.dark) .ws .ws-heading h2 { color:#1d1a35; }
html:not(.dark) .ws .ws-heading em,
html:not(.dark) .ws .ws-heading a { color:#6845af; }
html:not(.dark) .ws .ws-inspiration,
html:not(.dark) .ws .ws-section { border-color:#eae7e1; }
html:not(.dark) .ws .ws-kicker { color:#786c87; }
html:not(.dark) .ws .ws-video-strip .ws-preview-card { background:#fff; border-color:#e7e2e7; box-shadow:0 8px 22px #27212d0d; }
html:not(.dark) .ws .ws-video-strip figcaption { background:#fff; color:#3e3744; }
html:not(.dark) .ws .ws-marketing { --l-bg:#fff; --l-bg-2:#f8f6f2; --l-bg-3:#eeebe6; --l-hairline:#eae7e1; --l-border:#e5e0da; color:#211d25; }
html:not(.dark) .ws .ws-marketing section { background-color:transparent; border-color:#eae7e1; }
html:not(.dark) .ws .ws-marketing .l-card { background:#fff; border-color:#e9e5df; box-shadow:0 8px 30px #2a222a0a; }
html:not(.dark) .ws .ws-marketing .l-card--ink { background:#181531; border-color:#181531; color:#fff; }
html:not(.dark) .ws .ws-marketing .l-card--ink :is(h2,h3,.text-black) { color:#fff; }
html:not(.dark) .ws .ws-marketing footer { background:#f8f6f2; }
html:not(.dark) .ws :is(.ws-message,.ws-recent-card,.ws-result) { background:#fff; border-color:#e9e4e9; box-shadow:0 6px 22px #29202008; }
html:not(.dark) .ws .ws-message-user { background:#f1eafa; }
html:not(.dark) .ws .ws-model-options select { background:#fff; color:#29242e; border-color:#ded6e4; }
html:not(.dark) .ws :is(.ws-theme-toggle,.ws-menu) { background:#fff; color:#302838; border-color:#e6e0e8; box-shadow:none; }
html:not(.dark) .ws .ws-theme-toggle:hover { background:#f5f0fc; border-color:#cdb7e9; }
.ws .ws-theme-toggle { min-height:40px; cursor:pointer; }
.ws .ws-theme-moon { display:none; }
html:not(.dark) .ws .ws-theme-moon { display:block; }
html:not(.dark) .ws .ws-theme-sun { display:none; }
.dark .ws .ws-theme-toggle { background:#222027; border-color:#45404c; color:#f3eefd; box-shadow:none; }
.dark .ws .ws-theme-toggle:hover { background:#30293c; }
.dark .ws .ws-marketing .l-card--ink { background:#0c0b24; border-color:#33303a; }
.dark .ws .ws-marketing .l-card--ink :is(h2,h3) { color:#fff; }
.ws-top-ribbon { padding:20px 0 4px; }
.ws-top-ribbon>.ws-kicker { margin-bottom:10px; }
.ws .ws-top-ribbon .ws-video-strip { max-width:none; margin:0; gap:10px; }
.ws .ws-top-ribbon .ws-preview-card { border-radius:14px; }
.ws .ws-top-ribbon .ws-preview-card video { height:150px; max-height:none; aspect-ratio:auto; }
.ws .ws-top-ribbon .ws-preview-card figcaption { padding:9px 11px; font-size:10px; }
.ws-feature { display:grid; grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr); align-items:center; gap:clamp(30px,5vw,84px); margin:48px 0 40px; padding:clamp(28px,4vw,60px); overflow:hidden; border-radius:26px; background:#17152f; color:#fff; }
.ws-feature-copy h2 { max-width:560px; font-size:clamp(33px,4vw,58px); line-height:1.06; letter-spacing:-.06em; margin:13px 0 20px; }
.ws-feature-copy>p:not(.ws-kicker) { max-width:480px; color:#bcb6c6; font-size:14px; line-height:1.75; }
.ws-feature-links { display:flex; align-items:center; flex-wrap:wrap; gap:14px 20px; margin-top:27px; }
.ws-feature-link { color:#e6d7ff; font-size:13px; font-weight:600; }
.ws-feature-link:hover { color:#fff; }
.ws-feature-points { display:flex; flex-wrap:wrap; gap:9px; padding:0; list-style:none; margin:26px 0 0; }
.ws-feature-points li { padding:7px 10px; border:1px solid #ffffff2b; border-radius:100px; color:#d6cedd; font-size:11px; }
.ws-feature-media { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; align-items:center; }
.ws-feature-reel { position:relative; min-width:0; margin:0; overflow:hidden; border-radius:16px; border:1px solid #ffffff30; background:#27212f; box-shadow:0 15px 40px #0005; }
.ws-feature-reel:nth-child(2) { transform:translateY(-16px); }
.ws-feature-reel:nth-child(3) { transform:translateY(13px); }
.ws-feature-reel video { display:block; width:100%; aspect-ratio:9/16; max-height:360px; object-fit:cover; }
.ws-feature-reel figcaption { position:absolute; left:9px; bottom:40px; max-width:calc(100% - 18px); padding:6px 9px; border:1px solid #ffffff50; border-radius:100px; background:#14111ba8; color:#fff; font-size:10px; backdrop-filter:blur(8px); }
.ws-use-cases { padding:50px 0 64px; border-bottom:1px solid var(--line); }
.ws-use-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.ws-use-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #ffffff1a; border-radius:18px; background:#1a1931; }
.ws-use-card img { display:block; width:100%; height:165px; object-fit:cover; }
.ws-use-card>div { display:flex; flex:1; flex-direction:column; padding:18px; }
.ws-use-card .ws-kicker { margin:0 0 10px; }
.ws-use-card h3 { margin:0 0 18px; color:#f8f6fa; font-size:17px; line-height:1.35; letter-spacing:-.025em; font-weight:600; }
.ws-use-card a { margin-top:auto; color:#c5b2f9; font-size:12px; font-weight:650; }
.ws-use-card a:hover { color:#fff; }
html:not(.dark) .ws .ws-feature { background:#f4f0e9; color:#191532; border:1px solid #eae3da; }
html:not(.dark) .ws .ws-feature-copy>p:not(.ws-kicker) { color:#625c66; }
html:not(.dark) .ws .ws-feature-link { color:#6543a4; }
html:not(.dark) .ws .ws-feature-points li { color:#594f60; border-color:#dcd3df; background:#fff8; }
html:not(.dark) .ws .ws-use-card { background:#fff; border-color:#e9e4e1; box-shadow:0 8px 28px #29202009; }
html:not(.dark) .ws .ws-use-card h3 { color:#211d38; }
html:not(.dark) .ws .ws-use-card a { color:#6847a6; }
html:not(.dark) .ws .ws-use-card a:hover { color:#351d6a; }
.ws-gallery { padding:30px 0 54px; border-bottom:1px solid var(--line); }
.ws-gallery-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:20px; }
.ws-gallery-heading h2 { margin:0; font-size:clamp(26px,3vw,36px); line-height:1.15; letter-spacing:-.05em; }
.ws-gallery-heading p { color:var(--muted); font-size:13px; line-height:1.6; }
.ws-gallery-filters { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:17px; }
.ws-gallery-filters .ws-gallery-chip { cursor:pointer; }
.ws-gallery-filters .ws-gallery-chip[aria-pressed="true"] { background:#8062d8; color:#fff; border-color:#a38be9; }
.ws-gallery-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.ws-gallery-card { min-width:0; overflow:hidden; border:1px solid #ffffff1c; border-radius:18px; background:#191931; }
.ws-gallery-card[hidden] { display:none; }
.ws-gallery-card video,.ws-gallery-card img { display:block; width:100%; aspect-ratio:9/16; object-fit:cover; background:#15142d; }
.ws-gallery-card figcaption { display:flex; justify-content:space-between; gap:8px; align-items:center; padding:13px; color:#f3eff8; font-size:12px; }
.ws-gallery-chip { display:inline-flex; width:max-content; max-width:100%; align-items:center; border:1px solid #ffffff38; border-radius:100px; padding:5px 9px; background:#1b1724c9; color:#fff; font-size:10px; line-height:1.2; }
html:not(.dark) .ws .ws-gallery-card { background:#fff; border-color:#e8e3e7; box-shadow:0 8px 26px #28202a0e; }
html:not(.dark) .ws .ws-gallery-card figcaption { color:#302a33; }
html:not(.dark) .ws .ws-gallery-chip { background:#f5efff; border-color:#e3d7f4; color:#583891; }
html:not(.dark) .ws .ws-gallery-filters .ws-gallery-chip[aria-pressed="true"] { background:#5934ad; color:#fff; border-color:#5934ad; }
@media(max-width:1080px) { .ws-gallery-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:1100px) { .ws-use-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:800px) {
    html:not(.dark) .ws .ws-side.open { box-shadow:0 0 0 100vmax #17111a75; }
    .ws .ws-theme-toggle { width:40px; justify-content:center; padding:0; }
    .ws .ws-top-ribbon .ws-preview-card video { height:120px; }
    .ws-feature { grid-template-columns:1fr; gap:30px; margin:28px 0; padding:28px 20px; }
    .ws-feature-media { max-width:620px; }
    .ws-feature-reel video { max-height:280px; }
    .ws-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
    .ws-gallery-heading { align-items:start; flex-direction:column; gap:6px; }
}
@media(max-width:540px) {
    .ws-top-ribbon { padding-top:12px; }
    .ws .ws-top-ribbon .ws-video-strip { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px; }
    .ws .ws-top-ribbon .ws-preview-card { flex:0 0 45%; scroll-snap-align:start; }
    .ws .ws-top-ribbon .ws-preview-card video { height:115px; }
    .ws-feature-copy h2 { font-size:38px; }
    .ws-feature-media { gap:7px; }
    .ws-feature-reel video { max-height:210px; }
    .ws-feature-reel figcaption { font-size:8px; bottom:34px; padding:4px 6px; }
    .ws-use-grid { grid-template-columns:1fr 1fr; gap:9px; }
    .ws-use-card img { height:105px; }
    .ws-use-card>div { padding:12px; }
    .ws-use-card h3 { font-size:14px; }
    .ws-use-card a { font-size:11px; }
}

/* Fix list 2026-11-13: light-mode contrast + mobile header */
html:not(.dark) .ws .ws-marketing [class*="bg-[#17152F]"] :is(h2,h3,.text-black){color:#fff}
html:not(.dark) .ws .ws-marketing .pricing-tab:not([aria-selected="true"]){background:transparent;color:#4f396b}
html:not(.dark) .ws .ws-marketing .pricing-tab:not([aria-selected="true"]):hover{color:#21182f}
html:not(.dark) .ws .ws-studio-group:not([open]) summary{color:#57515d}
html:not(.dark) .ws .ws-studio-group:not([open]) summary:hover{color:#211d25}
html:not(.dark) .ws .ws-marketing .vb-preset-name{color:#3b3346}
html:not(.dark) .ws .ws-marketing .vb-preset-size{color:#6b6178}
.ws-bar-brand{display:none}
@media(max-width:800px){.ws .ws-bar-brand{display:flex;align-items:center;gap:8px;margin-right:auto;min-width:0;color:inherit;font-size:17px;font-weight:750;letter-spacing:-.4px;text-decoration:none}.ws .ws-bar-brand img{width:30px;height:30px;flex:none;border-radius:50%}}
@media(max-width:520px){.ws .ws-bar-brand span{display:none}}
.ws-empty-hint{margin:6px 2px 0;font-size:13px;font-weight:600;color:#b45309}
.dark .ws-empty-hint{color:#fbbf24}
html:not(.dark) .ws .ws-marketing [class*="bg-[#17152F]"] .bg-white.text-black{background:#fff;color:#21182f;border-color:transparent}
@media(max-width:420px){.ws .ws-bar{gap:10px}.ws .ws-account{gap:8px}.ws .ws-account a{white-space:nowrap}.ws .ws-account .ws-button{padding:10px 14px}}
