/* AI Studio landing. One dark scene: the films are the only bright thing on the page. Yellow means "now" or "your move". */
@font-face{font-family:Geist;src:url(/_studio/static/Geist-Variable.woff2) format("woff2");font-weight:100 900;font-display:swap}
:root{
  --bg:oklch(0.155 0.004 95);--bg-2:oklch(0.185 0.005 95);--bg-3:oklch(0.215 0.005 95);--line:oklch(0.29 0.005 95);
  --ink:oklch(0.965 0.003 95);--mute:oklch(0.76 0.006 95);--soft:oklch(0.62 0.006 95);
  --acc:oklch(0.86 0.17 92);--acc-hi:oklch(0.9 0.15 95);--on-acc:oklch(0.21 0.03 92);
  --ease:cubic-bezier(.16,1,.3,1);--r:14px;--gut:32px;
  --z-top:10;
  color-scheme:dark
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{margin:0}
body{background:var(--bg);color:var(--ink);font:16px/1.55 Geist,system-ui,-apple-system,sans-serif;-webkit-font-smoothing:antialiased;
  font-feature-settings:"ss01";overflow-x:clip}
img,video{max-width:100%}
a{color:inherit}
button{font:inherit;color:inherit}
h1,h2,h3{margin:0;font-weight:600;text-wrap:balance}
p{margin:0;text-wrap:pretty}
:focus-visible{outline:2px solid var(--acc);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:12px;top:-60px;background:var(--acc);color:var(--on-acc);padding:10px 14px;border-radius:8px;z-index:var(--z-top);text-decoration:none;font-weight:600}
.skip:focus{top:12px}
.w{max-width:1280px;margin:0 auto;padding:0 var(--gut)}

/* nav */
.nav{display:flex;align-items:center;gap:12px;height:76px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:17px;letter-spacing:-.01em;text-decoration:none}
.brand.sm{font-size:15px;gap:8px}
.pill{font-size:12px;font-weight:500;color:var(--mute);border:1px solid var(--line);border-radius:99px;padding:2px 9px}
.grow{flex:1}
.nav a.signin,.nav a.lang{color:var(--mute);text-decoration:none;font-size:15px;padding:8px 4px;transition:color .2s}
.nav a.signin:hover,.nav a.lang:hover{color:var(--ink)}

/* hero */
.hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:56px;align-items:end;padding:88px var(--gut) 48px}
.h1{font-size:clamp(44px,6.1vw,88px);line-height:.98;letter-spacing:-.035em;max-width:11ch}
.lede{font-size:19px;line-height:1.5;color:var(--mute);max-width:36ch;margin-bottom:28px}
.cta{display:inline-flex;align-items:center;gap:10px;height:52px;padding:0 22px 0 24px;border-radius:99px;background:var(--acc);color:var(--on-acc);
  font-weight:600;font-size:16px;text-decoration:none;transition:background-color .25s var(--ease)}
.cta svg{width:18px;height:18px;transition:transform .35s var(--ease)}
.cta:hover{background:var(--acc-hi)}.cta:hover svg{transform:translateX(3px)}
.note{font-size:14px;color:var(--mute);margin-top:14px}

/* the stage: a video being made */
.stage{border:1px solid var(--line);border-radius:var(--r);background:var(--bg-2);overflow:hidden}
.stage-top{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px;border-bottom:1px solid var(--line)}
.cap{font-size:18px;line-height:1.35;letter-spacing:-.01em;min-height:1.35em;transition:opacity .3s var(--ease),filter .3s var(--ease)}
.cap.swap{opacity:0;filter:blur(4px)}
.steps{display:flex;gap:18px;list-style:none;margin:0;padding:0;flex:none}
.steps li{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--soft);transition:color .3s}
.steps i{font-style:normal;width:22px;height:22px;border-radius:99px;border:1px solid var(--line);display:grid;place-items:center;font-size:12px;
  font-variant-numeric:tabular-nums;transition:background-color .3s,border-color .3s,color .3s}
.steps li.done{color:var(--mute)}.steps li.done i{border-color:var(--mute)}
.steps li.now{color:var(--ink)}.steps li.now i{background:var(--acc);border-color:var(--acc);color:var(--on-acc)}

.stage-body{display:grid;grid-template-columns:minmax(0,1fr) 392px}
.screen{position:relative;background:#000;aspect-ratio:16/9;overflow:hidden}
.stills img,.film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.stills img{opacity:0;transform:scale(1.035);transition:opacity .6s var(--ease),transform 2.4s var(--ease)}
.stills img.on{opacity:1;transform:scale(1)}
.film{opacity:0;transition:opacity .5s var(--ease)}
.board{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:6% 9%;text-align:center;
  background:var(--bg);transition:opacity .5s var(--ease)}
.b-sub{font-size:13px;color:var(--mute);font-variant-numeric:tabular-nums;min-height:1.3em}
.b-big,.b-alt{font-size:clamp(20px,2.5vw,36px);line-height:1.18;letter-spacing:-.022em;font-weight:500;max-width:22ch;text-wrap:balance}
.b-big{min-height:1.2em}
.b-big.caret::after{content:"";display:inline-block;width:2px;height:.95em;background:var(--acc);margin-left:3px;vertical-align:-.1em;animation:blink 1s steps(1) infinite}
.b-alt{display:none;color:var(--mute)}
.board.choosing .b-big,.board.choosing .b-alt{display:block;width:min(100%,24ch);padding:12px 18px;border:1px solid var(--line);border-radius:12px;font-size:clamp(17px,1.9vw,26px);
  transition:border-color .3s,color .3s,opacity .3s}
.board.choosing .b-big{color:var(--mute)}
.board.chosen .b-big{border-color:var(--acc);color:var(--ink)}.board.chosen .b-alt{opacity:.3}
.b-wave{display:none;align-items:center;gap:4px;height:72px}
.board.voice .b-wave{display:flex}
.b-wave s{display:block;width:4px;border-radius:4px;background:var(--acc);height:var(--h);transform:scaleY(.12);transition:transform .25s var(--ease)}
.board.talk .b-wave s{animation:talk .5s var(--d) ease-in-out infinite alternate}
@keyframes talk{from{transform:scaleY(.18)}to{transform:scaleY(1)}}
.look,.ctrl{position:absolute;opacity:0;transform:translateY(4px);transition:opacity .4s var(--ease),transform .4s var(--ease)}
.look{left:16px;top:16px;font-size:13px;padding:5px 10px;border-radius:99px;background:oklch(0.1 0 0/.72);color:var(--ink)}
.ctrl{left:16px;right:16px;top:16px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.ctrl>*{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:99px;background:oklch(0.1 0 0/.72);color:var(--ink);font-size:14px;border:0}
.ctrl svg{width:16px;height:16px;flex:none}
.ctrl button{cursor:pointer;transition:background-color .2s}
.ctrl button:hover{background:oklch(0.22 0 0/.9)}
.btn-sound[aria-pressed="false"] .w1{opacity:.35}
.btn-replay{margin-left:auto}
.prog{position:absolute;left:0;right:0;bottom:0;height:3px;background:oklch(1 0 0/.14);opacity:0;transition:opacity .3s}
.prog i{display:block;height:100%;width:0;background:var(--acc)}

/* step visibility (data-step on .stage) */
.stage[data-step="4"] .look,.stage[data-step="5"] .look{opacity:1;transform:none}
.stage[data-step="4"] .board,.stage[data-step="5"] .board{opacity:0;pointer-events:none}
.stage[data-step="5"] .film{opacity:1}
.stage[data-step="5"] .ctrl{opacity:1;transform:none}
.stage[data-step="5"] .prog{opacity:1}
.stage[data-step="5"] .look{opacity:0}
.stage.static .film{opacity:1}.stage.static .btn-replay,.stage.static .ctrl .file{display:none}.stage.static .board,.stage.static .prog{display:none}

/* the script */
.script{border-left:1px solid var(--line);padding:18px 18px 12px;display:flex;flex-direction:column;gap:12px;min-height:0;position:relative}
.stage-body>.script{height:0;min-height:100%}
.topic small{display:block;font-size:13px;color:var(--mute);margin:0 0 6px 2px}
.field{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;background:var(--bg);border:1px solid var(--line);font-size:16px}
.caret{display:inline-block;width:1.5px;height:20px;background:var(--acc);margin-left:2px;opacity:0}
.stage.typing .caret{opacity:1;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.lines{list-style:none;margin:0;padding:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-height:0;display:flex;flex-direction:column;gap:2px;scroll-behavior:smooth}
.lines li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:4px 10px;align-items:start;padding:7px 10px;border-radius:8px;font-size:15px;line-height:1.4;
  transition:background-color .35s var(--ease)}
.lines b{font-weight:500;font-size:12px;color:var(--soft);font-variant-numeric:tabular-nums;padding-top:2px;transition:color .3s}
.lines em{font-style:normal;font-size:12px;color:var(--mute);font-variant-numeric:tabular-nums;padding-top:2px;display:flex;align-items:center;gap:8px;white-space:nowrap}
.lines .alt{display:none}
.lines li.cur{background:oklch(1 0 0/.06)}.lines li.cur b{color:var(--acc)}
.lines li.off{display:none}
.lines li.in{animation:write .5s var(--ease) both}
@keyframes write{from{opacity:0;filter:blur(5px);transform:translateY(4px)}}
/* choosing between versions */
.lines li.choosing{grid-template-columns:24px minmax(0,1fr)}
.lines li.choosing em{display:none}
.lines li.choosing .t,.lines li.choosing .alt{display:block;grid-column:2;padding:8px 10px;border:1px solid var(--line);border-radius:8px;color:var(--mute);transition:border-color .3s,color .3s,opacity .3s}
.lines li.choosing .t.chosen{border-color:var(--acc);color:var(--ink)}
.lines li.choosing .alt.dropped{opacity:.35}
.lines .pick{display:none}
.lines li.choosing .pick{display:block;grid-column:2;font-size:12px;color:var(--acc);margin-bottom:-2px}
/* voice */
.wave{display:inline-flex;align-items:center;gap:2px;height:14px}
.wave s{display:block;width:2px;border-radius:2px;background:var(--mute);height:var(--h);transform-origin:center;transition:transform .35s var(--ease)}
.lines li.mute-wave em{visibility:hidden}
.lines li.mute-wave .wave s{transform:scaleY(.1)}

/* sections */
.sec{padding-top:144px}
.sec-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:36px}
.sec-head p{color:var(--mute);max-width:42ch;font-size:17px}
h2{font-size:clamp(30px,3.4vw,48px);line-height:1.05;letter-spacing:-.028em}

/* films: justified rows, every tile at its own shape */
.reel{display:flex;flex-direction:column;gap:28px}
.row{display:flex;gap:16px}
.tile{position:relative;display:flex;flex-direction:column;padding:0;border:0;background:none;cursor:pointer;min-width:0;text-align:left}
.tile.h{flex:1.778 1 0}.tile.v{flex:.5625 1 0}
.tile video{width:100%;aspect-ratio:16/9;object-fit:cover;display:block;border-radius:10px;background:#000;transition:opacity .3s var(--ease)}
.tile.v video{aspect-ratio:9/16}
.tile:hover video{opacity:.92}
.tl{display:flex;flex-wrap:wrap;gap:0 6px;align-items:baseline;padding:10px 2px 0;font-size:14px;color:var(--mute);line-height:1.35}
.tl b{color:var(--ink);font-weight:500}
.tile::after{content:"";position:absolute;right:12px;top:12px;width:34px;height:34px;border-radius:99px;background:oklch(0.1 0 0/.72)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 5.5v9l7-4.5z' fill='%23f4f3ef'/%3E%3C/svg%3E") center/18px no-repeat;
  opacity:0;transform:scale(.9);transition:opacity .3s var(--ease),transform .3s var(--ease)}
.tile:hover::after,.tile:focus-visible::after{opacity:1;transform:none}

/* who */
.people{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 56px}
.people li{padding:32px 0 36px;border-top:1px solid var(--line);display:flex;flex-direction:column;align-items:flex-start}
.people h3{font-size:22px;letter-spacing:-.015em;margin-bottom:6px}
.people p{color:var(--mute);max-width:40ch}
.people q{quotes:none;margin-top:18px;display:inline-flex;flex-direction:column;gap:2px;padding:10px 14px;border-radius:10px;background:var(--bg-2);border:1px solid var(--line);font-size:15px}
.people q small{font-size:12px;color:var(--mute)}

/* beta */
.beta h2{margin-bottom:36px}
.how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.how li{border-top:1px solid var(--ink);padding-top:22px}
.how i{font-style:normal;display:grid;place-items:center;width:28px;height:28px;border-radius:99px;border:1px solid var(--line);font-size:13px;margin-bottom:18px;font-variant-numeric:tabular-nums}
.how li:first-child i{background:var(--acc);border-color:var(--acc);color:var(--on-acc)}
.how h3{font-size:20px;letter-spacing:-.012em;margin-bottom:6px}
.how p{color:var(--mute);max-width:32ch}

.end{padding-top:168px;padding-bottom:152px;text-align:center;display:flex;flex-direction:column;align-items:center}
.end h2{font-size:clamp(36px,5vw,68px);letter-spacing:-.032em;max-width:16ch;margin-bottom:32px}

.foot{display:flex;flex-wrap:wrap;align-items:center;gap:10px 24px;padding-top:26px;padding-bottom:44px;border-top:1px solid var(--line);color:var(--mute);font-size:14px}
.foot>span:nth-child(2){flex:1}
.foot a{text-decoration:none}.foot a:hover{color:var(--ink)}

/* the film viewer */
.viewer{padding:0;border:0;background:transparent;max-width:min(92vw,1200px);max-height:92vh;overflow:visible}
.viewer::backdrop{background:oklch(0.08 0 0/.88)}
.viewer video{display:block;max-width:min(92vw,1200px);max-height:84vh;border-radius:10px;background:#000}
.viewer .x{position:fixed;top:16px;right:16px;width:44px;height:44px;border-radius:99px;border:0;background:var(--bg-3);display:grid;place-items:center;cursor:pointer}
.viewer .x svg{width:18px;height:18px}

/* first paint: the headline settles in once */
@media (prefers-reduced-motion:no-preference){
  .h1{animation:settle 1.1s var(--ease) both}
  .hero-side{animation:settle 1.1s .12s var(--ease) both}
  .stage{animation:rise 1.2s .22s var(--ease) both}
}
@keyframes settle{from{opacity:0;filter:blur(10px);transform:translateY(8px)}}
@keyframes rise{from{opacity:0;transform:translateY(18px)}}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* tablet */
@media (max-width:1060px){
  .stage-body{grid-template-columns:1fr}
  .stage-body>.script{border-left:0;border-top:1px solid var(--line);height:auto;min-height:0}
  .lines{max-height:none}
  .steps span{display:none}.steps li.now span{display:inline}
}
/* phone */
@media (max-width:720px){
  :root{--gut:16px}
  .nav{height:64px}
  .hero{grid-template-columns:1fr;gap:20px;padding-top:36px;padding-bottom:28px}
  .h1{font-size:clamp(40px,11.4vw,56px)}
  .lede{font-size:17px;margin-bottom:22px}
  .stage-top{flex-direction:column;align-items:flex-start;gap:12px;padding:14px 14px}
  .cap{font-size:16px;min-height:2.7em}
  .steps{gap:10px}
  .script{padding:14px 10px 10px}
  .lines li{font-size:14.5px;padding:6px 8px}
  .ctrl{left:10px;right:10px;top:10px;gap:6px}
  .ctrl>*{height:32px;padding:0 11px;font-size:13px}
  .ctrl .file{display:none}
  .look{left:10px;top:10px}
  .sec{padding-top:96px}
  .sec-head{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:24px}
  .reel{display:grid;grid-template-columns:1fr 1fr;gap:20px 8px}
  .row{display:contents}
  .tile.h{grid-column:span 2}.tile.h,.tile.v{flex:none}
  .tile::after{opacity:1;transform:none;width:30px;height:30px;right:8px;top:8px}
  .tl{font-size:13px;padding-top:8px}
  .people{grid-template-columns:1fr}
  .how{grid-template-columns:1fr;gap:28px}
  .end{padding-top:112px;padding-bottom:104px}
  .foot>span:nth-child(2){flex-basis:100%;order:3}
}
