:root{color-scheme:dark;--bg:#0d1117;--panel:#161b22;--panel2:#1c2128;--line:#30363d;--text:#e6edf3;--muted:#8b949e;--ember:#e0813f;--ember-hover:#eb915a;--on-ember:#0d1117;--claude:#d4a574;--codex:#7791f7;--top:rgba(13,17,23,.88);--edge:rgba(255,255,255,.10);--r:10px;--sec:clamp(64px,8vw,112px);--mark:#1f252d;--gap:rgb(16,18,22)}
html[data-theme=light]{color-scheme:light;--bg:#f9f9f7;--panel:#f2f2f0;--panel2:#ebebe8;--line:#e2e2de;--text:#1d1d1b;--muted:#6a6964;--ember:#c9641f;--ember-hover:#b5571a;--on-ember:#111110;--claude:#8f5f2e;--codex:#4a5ae0;--top:rgba(249,249,247,.88);--edge:rgba(29,29,27,.14);--mark:#e8e7e3;--gap:rgb(240,240,238)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scrollbar-gutter:stable}
html.lock,html.lock body{overflow:hidden}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--bg);color:var(--text);font:17px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",Roboto,"Helvetica Neue",Arial,sans-serif;overflow-x:hidden;word-break:keep-all;overflow-wrap:break-word}
img{max-width:100%;height:auto;display:block}
h1,h2,h3,p,ul,ol,figure{margin:0}
p{text-wrap:pretty}
ul,ol{padding:0;list-style:none}
a{color:inherit}
:focus-visible{outline:2px solid var(--text);outline-offset:3px;border-radius:4px}
[id]{scroll-margin-top:96px}
[hidden]{display:none!important}
.skip{position:absolute;left:12px;top:-60px;background:var(--text);color:var(--bg);padding:8px 14px;border-radius:6px;z-index:20;font-weight:600}
.skip:focus{top:12px}

.wrap{width:min(1200px,100% - 48px);margin-inline:auto}
.narrow{max-width:820px}

/* header */
.top{position:sticky;top:0;z-index:10;background:var(--top);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;gap:24px;height:64px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:1.15rem;text-decoration:none;letter-spacing:-.01em}
.brand .ai{color:var(--ember)}
.nav{display:flex;gap:4px;margin-left:auto}
.nav a{color:var(--muted);text-decoration:none;padding:8px 12px;border-radius:6px;font-size:.95rem}
.nav a:hover{color:var(--text);background:var(--panel)}
.tools{display:flex;gap:8px}
.btn.menu{display:none}
html[data-theme=dark] .tl-dark,html[data-theme=light] .tl-light{display:none}
html:not(.js) .theme-btn{display:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:600;font-size:.98rem;line-height:1;padding:14px 22px;border-radius:8px;border:1px solid transparent;text-decoration:none;cursor:pointer;color:var(--text);background:none;transition:background .15s,border-color .15s}
.btn.small{padding:8px 14px;font-size:.88rem}
.btn.primary{background:var(--ember);color:var(--on-ember)}
.btn.primary:hover{background:var(--ember-hover)}
.btn.ghost{border-color:var(--line);background:var(--panel)}
.btn.ghost:hover{border-color:var(--muted)}
.btn:disabled{cursor:not-allowed;color:var(--muted);background:var(--panel2);border-color:var(--line)}

/* type: size, weight and gray steps carry the hierarchy */
h1{font-size:clamp(44px,6.6vw,96px);line-height:1.06;letter-spacing:-.03em;font-weight:800;white-space:pre-line;text-wrap:balance}
h2{font-size:clamp(28px,3.2vw,44px);line-height:1.18;letter-spacing:-.03em;font-weight:800;white-space:pre-line;text-wrap:balance}
html[lang=en] h1,html[lang=en] h2{letter-spacing:-.02em}
h3{font-size:1.15rem;line-height:1.35;letter-spacing:-.01em}
.lead{color:var(--muted);font-size:1.1rem;max-width:760px;margin-top:20px}
.lead .t1{color:var(--text)}
.fine{color:var(--muted);font-size:.85rem;margin-top:10px}

/* two-column section head: title left, description right */
.head{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:20px 64px;align-items:end;margin-bottom:56px}
.head .lead{margin:0;font-size:1.05rem}

/* hero: title left, description column right from 1000px */
.hero{padding:32px 0 32px}
.hero h1{max-width:none;font-size:clamp(38px,4.3vw,62px)}
html[lang=en] .hero h1{font-size:clamp(32px,3.6vw,52px)}
.hero-grid{display:grid;grid-template-columns:minmax(0,8fr) minmax(0,5fr);gap:24px 48px;align-items:end}
.hero .lead{max-width:680px;font-size:1.1rem;line-height:1.55;margin-top:0}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
.engines{margin-top:18px;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;font-size:.92rem}
.elabel{font-size:.85rem;color:var(--muted)}
.chips{display:flex;flex-wrap:wrap;gap:4px 0}
.chips li{color:var(--text);font-weight:600}
.chips li:not(:last-child)::after{content:",";color:var(--muted);font-weight:400;margin-right:.4em}
.e-claude{color:var(--claude)}.e-codex{color:var(--codex)}.e-grok{color:var(--text)}
.stage{margin-top:20px}

/* hero window: note and buttons above the frame, demo video over the still picture */
.wspace{width:min(1280px,100% - 48px);margin-inline:auto}
.wbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-bottom:12px}
.vnote{font-size:.85rem;color:var(--muted)}
.wact{display:flex;gap:8px;margin-left:auto}
video.clip{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:var(--panel);opacity:0;transition:opacity .4s}
video.clip.on{opacity:1}
.htabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 16px;margin-bottom:12px}
.htabs button{display:grid;grid-template-rows:1fr auto;min-width:0;font:inherit;font-size:.92rem;font-weight:500;line-height:1.35;text-align:left;color:var(--muted);background:none;border:0;border-radius:0;padding:6px 0 0;cursor:pointer}
.htabs button:hover,.htabs button[aria-selected=true]{color:var(--text)}
.htabs button[aria-selected=true]{font-weight:700}
.htabs .tt{display:block;padding-bottom:10px}
.htabs .tb{display:block;height:2px;background:var(--line);overflow:hidden}
.htabs i{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:0 50%}
.htabs button[aria-selected=true] i{background:var(--ember)}
.tcap{margin-top:12px;font-size:.85rem;color:var(--muted)}

/* sections */
.sec{padding-block:var(--sec)}
.sec.minor{padding-block:clamp(56px,6vw,72px)}
.sec.alt{background:var(--panel);border-block:1px solid var(--line)}

/* screenshots: thin frame, small "view full size" button on its top right corner */
.shot{position:relative;min-width:0}
.frame{position:relative;border:1px solid var(--edge);border-radius:10px;background:var(--panel);overflow:hidden}
.alt .frame{background:var(--bg)}
.shot img{width:100%;background:var(--panel);color:var(--muted);font-size:.9rem}
.shot img.missing{color:transparent;font-size:0}
html.js:not(.no-viewer) .shot img[data-shot]{cursor:zoom-in}
.cap{margin-top:12px;font-size:.85rem;color:var(--muted)}
.full{font:inherit;font-size:.82rem;font-weight:600;line-height:1;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:7px 11px;white-space:nowrap;cursor:zoom-in}
.vplay{font:inherit;font-size:.82rem;font-weight:600;line-height:1;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:7px 11px;white-space:nowrap;cursor:pointer}
.full:hover,.vplay:hover{border-color:var(--muted)}
.frame>.full,.frame>.fact{position:absolute;top:10px;right:10px;z-index:3}
.fact{display:flex;gap:8px}
@media (hover:hover) and (pointer:fine){
  .frame>.full,.frame>.fact{opacity:0;transition:opacity .15s}
  .frame:hover>.full,.frame:focus-within>.full,.frame:hover>.fact,.frame:focus-within>.fact{opacity:1}
}
html:not(.js) .full,html.no-viewer .full{display:none}
.note{margin-top:6px;font-size:.85rem;color:var(--muted)}
.step-state{animation:fade .18s ease}
@keyframes fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.step-state{animation:none}*{transition:none!important}}

/* story */
.story h2{margin-bottom:32px}
.story p{font-size:1.05rem;line-height:1.75;color:var(--text)}
.story p+p{margin-top:18px}

/* split points: three columns divided by vertical lines */
.points{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.points li{border-left:1px solid var(--line);padding:4px 28px}
.points li:first-child{border-left:0;padding-left:0}
.points p,.sp,.grid p,.feat-txt p{color:var(--muted);margin-top:6px;font-size:.96rem}

/* cli: text first, then the screen at full width, command list below */
.cli-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:40px}
.cli-txt,.cli-fig{min-width:0}
.cli-txt .lead{max-width:none}
.cli-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px;margin-top:32px}
.cli-points li{border-top:1px solid var(--line);padding:18px 0 22px}
.cli-points p{color:var(--muted);margin-top:6px;font-size:.96rem}
.cmd-label{margin-top:56px;margin-bottom:12px;font-size:.9rem;font-weight:600;color:var(--muted)}
.cmds{margin:0;display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px 16px;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:20px 24px;line-height:1.6}
.cmds dt{color:var(--muted);font-size:.92rem;font-weight:600}
.cmds dd{margin:0;min-width:0}
.cmds code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88rem;color:var(--text);overflow-wrap:anywhere;word-break:break-all}

/* how it works: step list left, large screen right */
.how{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:56px;align-items:start}
.steps{display:grid}
.step{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);width:100%;text-align:left;font:inherit;color:var(--muted);background:none;border:0;border-left:2px solid var(--line);border-radius:0;padding:16px 0 16px 18px}
html.js .step{cursor:pointer}
html.js .step:hover{color:var(--text)}
.step.on{color:var(--text);border-left-color:var(--text)}
.steps.auto .step.on{border-left-color:var(--line)}
.steps.auto .step.on::after{content:"";position:absolute;left:-2px;top:0;bottom:0;width:2px;background:var(--text);transform-origin:50% 0;animation:stepfill var(--stepdur,6s) linear var(--stepdelay,0s) forwards}
@keyframes stepfill{from{transform:scaleY(0)}to{transform:scaleY(1)}}
.step .sn{grid-row:1 / span 2;font-weight:600;font-size:1.05rem;line-height:1.35}
.step .sh{font-weight:700;font-size:1.15rem;line-height:1.35;letter-spacing:-.01em}
.step .sp{color:inherit;font-size:.96rem;margin-top:6px}
.stepview{position:sticky;top:96px;min-width:0}

/* features: two-column head (title, description) above a full-width figure */
.feats{display:grid}
.feat{display:grid;gap:32px;padding-block:48px;border-top:1px solid var(--line)}
.feat-txt{order:-1;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:16px 64px;align-items:start}
.feat-txt h3{font-size:clamp(24px,2.4vw,34px);line-height:1.2;letter-spacing:-.02em}
.feat-txt p{font-size:1.02rem;margin-top:0}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px}
.grid li{border-top:1px solid var(--line);padding:18px 24px 24px}
.grid li:nth-child(3n+1){padding-left:0}
.grid li:nth-child(3n+2),.grid li:nth-child(3n){border-left:1px solid var(--line)}

/* install */
.os1{display:flex;align-items:center;gap:8px 20px;padding-block:24px;border-block:1px solid var(--line)}
.osn{font-size:clamp(20px,2vw,26px);font-weight:500;letter-spacing:-.01em}
.osnote{color:var(--muted);font-size:.9rem}
.os1 .btn{margin-left:auto;padding:12px 20px}
.sub{margin:56px 0 20px;font-size:1.3rem}
.start{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;counter-reset:t}
.start li{counter-increment:t;color:var(--text);border-top:1px solid var(--line);padding-top:14px;font-size:.96rem}
.start li::before{content:counter(t) ".";display:block;font-weight:700;color:var(--muted);margin-bottom:4px}

/* faq */
details{border-bottom:1px solid var(--line)}
details:first-of-type{border-top:1px solid var(--line)}
summary{cursor:pointer;list-style:none;padding:20px 40px 20px 0;font-weight:600;font-size:1.08rem;position:relative}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:6px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:1.5rem;font-weight:400}
details[open] summary::after{content:"−"}
details p{color:var(--muted);padding:0 40px 22px 0}

/* footer */
.foot{border-top:1px solid var(--line);padding:36px 0 0;color:var(--muted);font-size:.9rem;overflow:hidden}
.bigmark{margin-top:32px;padding-bottom:.06em;font-size:clamp(120px,50vw,760px);font-weight:800;letter-spacing:-.05em;line-height:.8;color:var(--mark);user-select:none;white-space:nowrap}
.bigmark .ai{color:var(--ember)}
.foot .row{display:flex;align-items:center;gap:16px 32px;flex-wrap:wrap}
.foot .about{display:flex;align-items:center;gap:8px 16px;flex-wrap:wrap}
.foot .brand{color:var(--text)}
.flinks{display:flex;gap:4px;flex-wrap:wrap}
.flinks a{color:var(--muted);text-decoration:none;padding:6px 10px;border-radius:6px}
.flinks a:hover{color:var(--text)}
.foot .copy{margin-left:auto}

/* in-page viewer (fixed dark chrome in both themes) */
.viewer{padding:0;border:0;background:transparent;color:#e6edf3;width:100vw;height:100vh;height:100dvh;max-width:100vw;max-height:100vh;max-height:100dvh;overflow:hidden}
.viewer::backdrop{background:rgba(0,0,0,.9)}
.v-body{position:relative;width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:64px 24px 24px;cursor:zoom-out}
.v-img{width:auto;height:auto;max-width:100%;max-height:calc(100vh - 150px);max-height:calc(100dvh - 150px);object-fit:contain;min-height:0;cursor:default;background:#161b22}
.v-cap{color:#c9d1d9;font-size:.9rem;text-align:center;cursor:default}
.v-close{position:absolute;top:16px;right:16px;font:inherit;font-weight:600;font-size:.92rem;color:#e6edf3;background:#161b22;border:1px solid #484f58;border-radius:8px;padding:9px 16px;cursor:pointer}
.v-close:hover{border-color:#8b949e}
.v-close:focus-visible{outline-color:#e6edf3}

/* responsive */
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr}
  .how{grid-template-columns:1fr;gap:32px}
  .stepview{position:static}
  .start{grid-template-columns:repeat(2,1fr)}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid li:nth-child(3n+1){padding-left:24px}
  .grid li:nth-child(3n+2),.grid li:nth-child(3n){border-left:0}
  .grid li:nth-child(2n+1){padding-left:0}
  .grid li:nth-child(2n){border-left:1px solid var(--line)}
}
@media (max-width:900px){
  .head{grid-template-columns:1fr;gap:16px}
  .points{grid-template-columns:1fr}
  .points li,.points li:first-child{border-left:0;border-top:1px solid var(--line);padding:18px 0}
  .feat{gap:24px;padding-block:36px}
  .feat-txt{grid-template-columns:1fr}
}
@media (max-width:760px){
  .wrap,.wspace{width:min(1200px,100% - 32px)}
  .hero{padding:32px 0 24px}
  .stage{margin-top:20px}
  .head{margin-bottom:32px}
  .tools{margin-left:auto}
  .btn.menu{display:inline-flex}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;margin:0;flex-direction:column;padding:8px 16px 16px;background:var(--bg);border-bottom:1px solid var(--line)}
  .nav.open{display:flex}
  .nav a{padding:12px}
  .start{grid-template-columns:1fr}
  .cmds{grid-template-columns:1fr;gap:2px;padding:16px 18px}
  .cmds dd{margin-bottom:12px}
  .cmds dd:last-child{margin-bottom:0}
  .grid{grid-template-columns:1fr}
  .grid li,.grid li:nth-child(n){border-left:0;padding:18px 0}
  .os1{flex-wrap:wrap}
  .osnote{flex-basis:100%;order:3}
  .foot .row{flex-direction:column;align-items:flex-start}
  .foot .copy{margin-left:0}
  .v-body{padding:60px 12px 16px}
}
@media (max-width:599px){.cli-points{grid-template-columns:1fr}.htabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}.htabs button:last-child{grid-column:1/-1}}
/* without JS the menu button is useless, so keep the links visible */
html:not(.js) .menu{display:none}
@media (max-width:760px){html:not(.js) .nav{display:flex;position:static;padding:0 16px 12px}html:not(.js) .bar{height:auto;flex-wrap:wrap;padding-top:10px}}
/* narrow screens: zoom into the working area of the wide files screenshot */
@media (max-width:760px){
  .shot img.zoom-files{width:170%;max-width:none;margin-left:-62%}
}
