/* Match PRO Studio's actual regular Aeonik face, including its title weights.
   The alias isolates Home from the shared Film UI's medium font mapping. */
@font-face{font-family:"Aeonik Studio";src:url('/__assets/08a2e78008be78275c27/design/Aeonik-Regular.woff2') format('woff2');font-display:swap;font-weight:100 900}
body.home-page{--font:"Aeonik Studio",Arial,sans-serif;font-size:14px;font-weight:400}
:root{font-family:var(--font);color:var(--text);background:var(--bg);font-synthesis:none;color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:auto;scroll-padding-top:28px}body{margin:0;min-width:320px;overflow-x:clip;background:var(--bg)}button,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button,textarea{color:inherit}button:disabled{cursor:default}svg{width:20px;height:20px;flex:none}button,a,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,textarea:focus-visible{outline:2px solid #bdbdbd;outline-offset:5px}button{border:0}button,a{touch-action:manipulation}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:fixed;top:-60px;left:100px;z-index:10;background:#d2d2d2;color:#121212;padding:12px;border-radius:8px}.skip:focus{top:12px}
.topbar{height:98px;padding:0 48px;display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2}.brand{display:flex;align-items:center;gap:12px;font-size:25px;font-weight:650;letter-spacing:-1.3px}.brand-mark{display:flex;gap:4px;transform:skew(-16deg);align-items:flex-start;height:27px;width:28px}.brand-mark i{background:#cccccc;width:5px;border-radius:3px;height:23px;margin-top:4px}.brand-mark i:nth-child(2){height:23px;margin-top:0}.brand-mark i:last-child{height:13px;margin-top:0}.brand small{font-size:9px;letter-spacing:2px;font-weight:500;color:#7c7c7c}.brand-divider{height:20px;width:1px;background:var(--line);margin:0 4px 0 11px}.studio-link{display:flex;align-items:center;gap:14px;color:#9d9d9d;font-size:12px}.studio-link:hover{color:#fff}.studio-link svg{width:16px}
.nav-rail{position:fixed;left:24px;top:50%;transform:translateY(-50%);z-index:5;padding:9px;border:1px solid #ffffff29;border-radius:40px;background:linear-gradient(130deg,#65656542,#22222299 48%,#7f7f7f33);box-shadow:inset 0 1px 2px #ffffff32,inset 0 -1px 3px #ffffff12,0 10px 26px #0004;backdrop-filter:blur(12px)}.nav-rail nav{display:flex;flex-direction:column;gap:7px}.nav-rail a{position:relative;display:grid;place-items:center;border-radius:50%;height:43px;width:43px;color:#b2b2b2;transition:background .16s,color .16s}.nav-rail a:hover{background:#ffffff0e;color:#fff}.nav-rail a[aria-current]{color:#1e1e1e;background:linear-gradient(140deg,#f0f0f0,#b6b6b6);box-shadow:0 3px 14px #0002,inset 0 1px 1px #fff}.tooltip{position:absolute;left:58px;top:50%;transform:translateY(-50%);font-size:11px;color:#e5e5e5;background:#222222;border:1px solid #ffffff16;padding:8px 11px;white-space:nowrap;border-radius:8px;opacity:0;visibility:hidden;pointer-events:none}.nav-rail a:hover .tooltip,.nav-rail a:focus-visible .tooltip{opacity:1;visibility:visible}
main{margin-left:108px;margin-right:40px}.hero{position:relative;isolation:isolate;max-width:1320px;margin:auto;padding:76px 24px 68px;text-align:center;min-height:650px}.hero-intro{position:relative;z-index:2;pointer-events:none}.eyebrow{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border:1px solid #a6a6a635;border-radius:30px;background:linear-gradient(130deg,#31313130,#25252543);box-shadow:inset 0 -4px 10px #7f7f7f11;font-size:11px;color:#bbbbbb}.eyebrow svg{width:13px;height:13px;fill:#a0a0a044;stroke-width:1.2}h1{font-size:clamp(46px,5vw,80px);font-weight:500;letter-spacing:-4px;line-height:.98;margin:20px 0 18px}h1 span{color:#b4b4b4}.hero-intro p{font-size:15px;line-height:1.55;color:var(--muted);font-weight:400;margin:0}
.composer-stage{position:relative;max-width:850px;margin:116px auto 0}.composer{position:relative;text-align:left;border:1px solid #ababab2a;border-radius:22px;padding:23px 24px 16px;background:linear-gradient(125deg,#0f0f0ff7 16%,#1a1a1af2 73%,#151515fa);box-shadow:inset 0 1px 0 #ffffff08,0 12px 45px #0002}.composer:focus-within{border-color:#a2a2a277}.composer textarea{display:block;width:100%;height:84px;resize:none;background:transparent;border:0;padding:0;outline:none;line-height:1.55;font-size:16px;font-weight:400;scrollbar-width:thin}.composer textarea:focus-visible{outline:none}.composer textarea::placeholder{color:#959595;opacity:1}.composer-actions{display:flex;align-items:center;gap:14px;min-height:39px}.voice{display:flex;align-items:center;gap:8px;border-radius:7px;font-size:11px;color:#adadad;padding:6px 2px}.voice:hover{color:#e9e9e9}.voice svg{width:17px;height:17px}.composer-hint{font-size:10px;color:#757575;margin:auto}.submit{border-radius:12px;display:grid;place-items:center;width:42px;height:38px;background:linear-gradient(145deg,#a4a4a4,#646464);box-shadow:inset 0 1px 1px #ffffff66,0 3px 12px #0002;color:#191919;transition:transform .15s,opacity .15s}.submit:not(:disabled):hover{transform:translateX(2px);background:#bababa}.submit:disabled{opacity:.4}.submit svg{width:18px;height:18px}.error{font-size:12px;line-height:1.6;color:#c4c4c4;margin:12px 0 0}.inspirations{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:23px auto 0;position:relative}.inspirations>span{font-size:8px;font-weight:500;letter-spacing:1.5px;color:#6e6e6e;margin-right:5px}.inspirations button{display:flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #ffffff0f;background:#13131388;border-radius:20px;color:#9f9f9f;font-size:13px;transition:background .15s,color .15s}.inspirations button:hover{color:#dedede;background:#252525}.inspirations svg{width:13px;height:13px}.hero-note{font-size:10px;color:#5c5c5c;margin:18px 0 0}
.projects{max-width:1360px;margin:0 auto;padding:24px 20px 64px;position:relative;z-index:2}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:24px}.section-kicker{font-size:10px;font-weight:400;letter-spacing:2.5px;color:#727272}h2{font-size:22px;font-weight:500;letter-spacing:-.5px;margin:9px 0 0}#project-count{display:inline-flex;justify-content:center;align-items:center;min-width:22px;height:20px;font-size:10px;color:#9c9c9c;border:1px solid #ffffff13;background:#a1a1a10a;border-radius:6px;margin-left:7px;vertical-align:middle}.new-film{display:flex;align-items:center;gap:7px;background:transparent;color:#a5a5a5;font-size:11px;padding:8px 0 8px 12px}.new-film svg{width:15px;height:15px}.new-film:hover{color:#eee}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.project-card{display:block;position:relative;min-width:0;background:linear-gradient(135deg,#2a2a2a4f,#121212);border:1px solid #ffffff16;border-radius:18px;padding:7px;box-shadow:inset 0 1px 0 #ffffff0b;transition:border-color .18s,transform .18s;content-visibility:auto;contain-intrinsic-size:auto 260px}.project-card:hover{border-color:#a2a2a266;transform:translateY(-3px)}.project-image{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:#121212;position:relative}.project-image img{width:100%;height:100%;display:block;object-fit:cover}.project-image.empty{display:grid;place-items:center;background:radial-gradient(ellipse at 45% 75%,#4242423d,transparent 75%),linear-gradient(125deg,#121212,#1a1a1a)}.project-image.empty svg{height:40px;width:40px;color:#767676;stroke-width:.75}.project-phase{position:absolute;left:12px;bottom:12px;border:1px solid #ffffff16;border-radius:7px;background:#121212e8;color:#cfcfcf;padding:5px 8px;font-size:9px}.project-info{padding:15px 12px 12px;display:flex;align-items:center;gap:10px}.project-info>div{min-width:0;flex:1}.project-info h3{font-weight:500;font-size:16px;letter-spacing:-.3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.project-info p{margin:7px 0 0;font-size:12px;line-height:1.6;color:#777777}.project-info>span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #ffffff13;border-radius:50%;color:#989898}.project-info svg{width:13px;height:13px}.load-state{grid-column:1/-1;padding:35px 20px;color:#858585;text-align:center;font-size:13px;border:1px dashed #ffffff19;border-radius:15px}.load-state button{background:transparent;color:#c4c4c4;text-decoration:underline;margin-left:8px}footer{max-width:1320px;margin:0 auto 32px;border-top:1px solid var(--line);padding:24px 0;display:flex;align-items:center;gap:18px;color:#616161;font-size:10px}footer>span{color:#929292;font-weight:600;font-size:16px;letter-spacing:-.7px}footer>a{margin-left:auto;display:flex;align-items:center;gap:9px}footer>a:hover{color:#cacaca}footer svg{width:14px;height:14px}.noscript{position:fixed;bottom:15px;left:10%;background:#202020;padding:15px;border-radius:12px;z-index:9}
@media(min-width:1600px){.hero{padding-top:115px;min-height:770px}.composer-stage{margin-top:134px;max-width:950px}.composer textarea{height:96px}.projects{padding-top:25px}}
@media(max-width:1000px){main{margin-left:94px;margin-right:20px}.topbar{padding:0 30px}.hero{padding:55px 8px 50px;min-height:600px}.composer-stage{margin-top:102px}.project-grid{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.projects{padding-left:8px;padding-right:8px}.nav-rail{left:17px;padding:7px}.nav-rail a{width:40px;height:40px}.composer{padding:20px}.brand small,.brand-divider{display:none}}
@media(max-width:600px){body{overflow-x:clip}.topbar{height:80px;padding:0 23px}.brand{font-size:23px}.studio-link{font-size:0;gap:0}.studio-link svg{width:21px;height:21px}.nav-rail{top:auto;bottom:14px;left:50%;transform:translateX(-50%);border-radius:32px;padding:7px;background:#242424ed}.nav-rail nav{flex-direction:row;gap:9px}.nav-rail a{width:40px;height:40px}.tooltip{display:none}main{margin:0 20px}.hero{padding:45px 0 45px;min-height:565px}.eyebrow{font-size:10px}.composer-stage{margin-top:100px}.composer{border-radius:18px;padding:19px 16px 13px}.composer textarea{height:90px}.composer-hint{display:none}.submit{margin-left:auto}.inspirations{gap:6px;margin-top:20px}.inspirations>span{display:none}.inspirations button{padding:8px 10px}.hero-note{font-size:9px}.projects{padding:12px 0 26px}.section-head{padding-bottom:17px;gap:10px}.project-grid{grid-template-columns:1fr;gap:16px}footer{padding:24px 2px 105px;flex-wrap:wrap;gap:8px 14px}footer>p{margin:0}footer>a{margin:5px 0 0;flex-basis:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}.project-card:hover{transform:none}}

/* X8's spectral lettering lives behind the interface and never captures input. */
body{isolation:isolate}
.home-type{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;contain:strict;user-select:none}
.home-type:not([data-ready]),.home-type[data-native-scroll]{position:absolute;height:100svh;bottom:auto}
.home-type-canvas{display:block;width:100%;height:100%;opacity:0}
.home-type[data-ready] .home-type-canvas{opacity:1}
.home-type[data-ready] .home-type-fallback{visibility:hidden}
.home-type-fallback{position:absolute;inset:0;overflow:hidden;color:#050607;font-size:clamp(104px,17.5vw,440px);font-weight:400;line-height:1.22;letter-spacing:-.045em;-webkit-text-stroke:1px #202329}
.home-type-fallback span{display:block;white-space:nowrap;margin-left:-.15em}
.home-type-fallback span:nth-child(even){margin-left:-1.4em}

/* PRO Studio typography breakpoints. */
@media(max-width:800px){.hero-intro h1{letter-spacing:-2px}}
@media(max-width:500px){.hero-intro h1{font-size:43px}.projects h2{font-size:19px}.project-info h3{font-size:13px}.project-info p{font-size:10px}.inspirations button{font-size:11px}.composer textarea{font-size:14px}}

.home-top-actions{display:flex;align-items:center;gap:12px;flex-shrink:0}.topbar .home-top-actions .new-chat-link{display:grid;place-items:center;width:42px;height:42px;padding:0;gap:0}.new-chat-link svg{width:18px;height:18px}

.project-link{display:block;color:inherit;text-decoration:none;border-radius:12px}
.project-link:focus-visible{outline:2px solid #c0d3de;outline-offset:5px}
.project-actions{position:absolute;top:17px;right:17px;z-index:3}
.project-more{list-style:none;display:grid;place-items:center;width:32px;height:32px;border:1px solid #ffffff24;border-radius:50%;color:#e3eaf0;background:#0b0e13d9;backdrop-filter:blur(12px);cursor:pointer;box-shadow:inset 0 1px #ffffff16;transition:background .2s,border-color .2s}
.project-more::-webkit-details-marker{display:none}.project-more svg{width:18px;height:18px}
.project-more:hover,.project-actions[open] .project-more{background:#20272eed;border-color:#bfceda88}
.project-more:focus-visible{outline:2px solid #c0d3de;outline-offset:3px}
.project-menu{position:absolute;top:40px;right:0;min-width:168px;padding:6px;border:1px solid #ffffff22;border-radius:14px;background:#101418f5;backdrop-filter:blur(20px);box-shadow:0 10px 30px #0008,inset 0 1px #ffffff0d}
.project-menu :is(a,button){display:block;width:100%;box-sizing:border-box;border:0;border-radius:9px;padding:11px 12px;background:transparent;color:#cbd4de;font:400 12px/1.3 var(--font);text-align:left;white-space:nowrap;text-decoration:none;cursor:pointer}
.project-menu :is(a,button):hover,.project-menu :is(a,button):focus-visible{background:#ffffff0b;color:white;outline:none}
.project-card:has(.project-actions[open]){z-index:4}

.project-menu .project-delete{color:#e1b3b3;border-top:1px solid #ffffff0e;border-radius:0 0 10px 10px}
.project-menu button:disabled{opacity:.45;cursor:wait}
.project-notices{position:fixed;bottom:24px;left:50%;translate:-50% 0;z-index:90;display:grid;gap:8px;width:max-content;max-width:calc(100vw - 40px)}
.project-notice{display:flex;align-items:center;gap:18px;padding:14px 16px 14px 20px;border:1px solid #ffffff24;border-radius:18px;background:#181b1ef2;color:#dbe0e6;box-shadow:0 12px 40px #0008;font:400 13px/1.5 var(--font);animation:project-notice-in .3s ease both}
.project-notice button{font:inherit;color:inherit;background:#ffffff09;border:1px solid #ffffff20;border-radius:20px;padding:7px 13px;cursor:pointer;white-space:nowrap}
.project-notice button:hover{background:#ffffff15}.project-notice button:focus-visible{outline:2px solid #d4e4f2;outline-offset:3px}.project-notice .project-notice-close{padding:3px 9px;background:none;border:0;font-size:20px;color:#979da4}
@keyframes project-notice-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.project-notice{animation:none}}

/* Home library: shared PRO bento and a separate project tab. */
.home-library{max-width:1680px;margin:0 auto;padding:24px 20px 64px;position:relative;z-index:2;scroll-margin-top:24px}
.library-head{border-bottom:1px solid var(--line);margin-bottom:24px}
.library-tabs{display:flex;align-items:center;gap:32px}
.library-tabs [role=tab]{position:relative;display:flex;align-items:center;gap:9px;padding:0 0 20px;background:none;border:0;color:#858c92;font:inherit;font-size:21px;letter-spacing:-.5px;cursor:pointer;white-space:nowrap}
.library-tabs [role=tab][aria-selected=true]{color:#eeeef0}
.library-tabs [role=tab][aria-selected=true]:after{content:'';position:absolute;bottom:-1px;left:0;right:0;height:2px;background:#d9e1e8;border-radius:2px}
.library-tabs [role=tab]>span{display:inline-flex;align-items:center;justify-content:center;min-width:21px;height:21px;padding:0 5px;border:1px solid #ffffff16;border-radius:5px;font-size:10px;color:#939da5;letter-spacing:0}
.library-tabs [role=tab]>span:empty{display:none}
.library-tabs #project-count{margin:0;font-weight:400}
.home-library [hidden]{display:none!important}
.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 26px;min-height:35px}
.library-toolbar>p{font-size:13px;line-height:1.5;color:#899198;margin:0}
.library-actions{display:flex;align-items:center;gap:25px}
.home-preview-toggle{display:inline-flex;align-items:center;gap:7px;border:0;background:none;color:#939ca4;font:inherit;font-size:11px;padding:8px 0;cursor:pointer;white-space:nowrap}
.home-preview-toggle svg{width:16px;height:16px}
.library-search{display:flex;align-items:center;gap:10px;border-bottom:1px solid #ffffff20;padding:8px 0;color:#7a858f}
.library-search svg{width:16px;height:16px;flex-shrink:0}
.library-search input{background:none;border:0;color:#dce3e9;font:inherit;font-size:12px;outline:0;width:180px;min-width:0}
.library-search:focus-within{border-color:#aebac6}
.library-tabs button:focus-visible,.home-preview-toggle:focus-visible{outline:1px solid #d9e1e8;outline-offset:6px;border-radius:3px}
.home-library [role=tabpanel]:focus-visible{outline:1px solid #7d8a96;outline-offset:8px;border-radius:5px}
#home-app-grid>.no-results,#home-app-grid>.load-state{grid-column:1/-1;padding:50px 0;color:#939da5;font-size:14px}
@media(max-width:1000px){.home-library{padding-left:8px;padding-right:8px}.library-toolbar{align-items:flex-start;flex-wrap:wrap}.library-actions{margin-left:auto}}
@media(max-width:600px){.home-library{padding:12px 0 26px}.library-tabs{gap:24px}.library-tabs [role=tab]{font-size:19px;padding-bottom:17px;gap:7px}.library-toolbar{gap:12px;margin-bottom:21px}.library-toolbar>p{font-size:12px}.library-actions{width:100%;justify-content:space-between;margin:0;gap:14px}.home-preview-toggle{font-size:10px}.library-search{flex:1;max-width:220px}.library-search input{width:100%;font-size:11px}}
