:root{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#e6edf8;background:#0b1220}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 20% 10%,#1a2a44,#0b1220 40%);min-height:100vh}button,input{font:inherit}.page{min-height:100vh;padding:2rem}.landing{display:grid;place-items:center}.hero{width:min(780px,100%);text-align:center}.brand-lockup{display:inline-flex;align-items:center;justify-content:center;gap:.65rem;margin-bottom:.85rem}.brand-lockup.compact{gap:.55rem;margin-bottom:.65rem}.brand-logo{width:42px;height:42px;border-radius:12px;box-shadow:0 6px 20px #14b8a62e}.brand-lockup.compact .brand-logo{width:30px;height:30px;border-radius:9px}.brand-copy{display:flex;flex-direction:column;line-height:1.1}.brand-name{font-weight:700;color:#d9ebff;letter-spacing:.01em}.brand-subtitle{text-transform:uppercase;letter-spacing:.08em;font-size:.67rem;color:#8ec5ff}.brand-lockup.compact .brand-name{font-size:.93rem}.auth-panel{width:min(560px,100%)}h1,h2,h3,h4,p{margin:0}h1{font-size:clamp(2.1rem,4vw,3.4rem);margin-bottom:1rem}.kicker{text-transform:uppercase;letter-spacing:.08em;color:#8ec5ff;margin-bottom:.75rem;font-size:.8rem}.muted{color:#a9b6cc;line-height:1.6}.actions,.unlock-row,.cards{display:flex;gap:.8rem;flex-wrap:wrap}.actions{justify-content:center;margin-top:1.2rem}.outcomes-list{margin:1rem auto 0;padding:0 1rem;text-align:left;max-width:720px;color:#c9d8ee;line-height:1.7}.outcomes-list li+li{margin-top:.25rem}button{border:0;border-radius:999px;background:linear-gradient(120deg,#3b82f6,#14b8a6);color:#fff;padding:.75rem 1.2rem;font-weight:600;cursor:pointer}button.ghost{background:transparent;border:1px solid #35507a}button.left{margin-bottom:1rem}.pricing h1{margin-bottom:.5rem}.cards{margin-top:1.5rem}.card{flex:1 1 280px;border:1px solid #243754;border-radius:1rem;padding:1rem;background:#121c2e}.card.featured{border-color:#3b82f6;box-shadow:0 10px 30px #3b82f640}.card ul{padding-left:1rem;color:#d7bfd2;line-height:1.8}.price{margin:.6rem 0;color:#ffd3ed}.unlock-box,.deploy-box{margin-top:1.5rem;border:1px solid #284064;border-radius:1rem;padding:1rem;background:#10192b}input{min-width:200px;flex:1 1 220px;border-radius:999px;border:1px solid #2e466c;background:#0f1727;color:#e6edf8;padding:.7rem 1rem}.auth-form{display:grid;gap:.7rem;margin:1.2rem auto 0;width:min(460px,100%)}.notice{margin-top:.7rem;color:#f7b6dc}.app-shell{height:100vh;display:grid;grid-template-columns:300px 1fr;overflow:hidden}.sidebar{border-right:1px solid #223650;background:#101a2d;padding:1.25rem 1rem;overflow-y:auto;display:flex;flex-direction:column}.sidebar-head{padding-bottom:1.25rem;border-bottom:1px solid #223650;margin-bottom:.25rem}.sidebar-head .kicker{margin-bottom:.25rem}.sidebar-head .brand-lockup{justify-content:flex-start}.sidebar-aura{display:flex;align-items:baseline;gap:.35rem;margin:.25rem 0 .5rem}.aura-count{font-size:1.6rem;font-weight:700;background:linear-gradient(120deg,#60a5fa,#2dd4bf);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.aura-label{font-size:.85rem;color:#9fb1ce;text-transform:uppercase;letter-spacing:.06em}.sidebar-progress-text{margin-top:.4rem;font-size:.75rem}.progress{height:5px;border-radius:999px;background:#1a2940;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(120deg,#3b82f6,#14b8a6);transition:width .6s ease}.lesson-path{padding:1rem 0 .5rem;flex:1}.path-item{display:flex;flex-direction:column}.path-stop{display:flex;align-items:center;gap:.75rem;padding:.4rem .5rem;border-radius:.75rem;transition:background .2s}.path-stop.active{background:#3b82f61f}.path-node{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.85rem;transition:all .3s}.path-node.completed{background:linear-gradient(135deg,#3b82f6,#14b8a6);color:#fff;box-shadow:0 2px 8px #3b82f659}.path-node.active{background:linear-gradient(135deg,#3b82f6,#14b8a6);color:#fff;box-shadow:0 0 0 3px #3b82f64d,0 2px 12px #14b8a666;animation:path-pulse 2.5s ease-in-out infinite}.path-node.upcoming{background:#251520;border:2px solid #2a3f5c;color:#89a2c5}.path-icon{font-size:1rem;line-height:1}@keyframes path-pulse{0%,to{box-shadow:0 0 0 3px #f472b640,0 2px 12px #f472b666}50%{box-shadow:0 0 0 6px #f472b61f,0 2px 20px #f472b680}}.path-line{width:2px;height:20px;margin-left:calc(.5rem + 17px);background:#2a1520;transition:background .4s}.path-line.completed{background:linear-gradient(180deg,#f472b6,#c084fc)}.path-info{display:flex;flex-direction:column;gap:.15rem;min-width:0}.path-title{font-size:.82rem;font-weight:500;color:#e6edf8;line-height:1.3}.path-stop.upcoming .path-title{color:#89a2c5}.path-stop.completed .path-title{color:#b7cae6}.path-badge{display:inline-block;font-size:.65rem;text-transform:uppercase;letter-spacing:.08em;font-weight:600;color:#8ec5ff;background:#3b82f626;padding:.1rem .45rem;border-radius:999px;width:fit-content}.path-aura{font-size:.7rem;color:#9fb1ce}.step-progress{height:3px;border-radius:999px;background:#162338;overflow:hidden;width:100%;margin-top:.15rem}.step-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,#3b82f6,#14b8a6);transition:width .6s ease;box-shadow:0 0 6px #3b82f659}.course-main{display:grid;grid-template-rows:auto 1fr auto;height:100vh;overflow:hidden}.course-head{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #223650}.course-head h2{font-size:1.35rem}.messages{padding:1rem;overflow-y:auto;min-height:0}.bubble-row{display:flex;margin-bottom:.8rem}.bubble-row.user{justify-content:flex-end}.bubble{max-width:min(760px,82%);border-radius:1rem;padding:.8rem 1rem;line-height:1.6;white-space:pre-wrap}.bubble.assistant{background:#152238;border:1px solid #2a4364}.bubble.user{background:linear-gradient(120deg,#3b82f6,#14b8a6)}.composer{border-top:1px solid #223650;padding:1rem;background:#0b1220;flex-shrink:0}.chips{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:.7rem}.chip{border:1px solid #30507a;background:#122137;padding:.45rem .7rem;border-radius:999px;font-size:.85rem}.composer-row{display:flex;gap:.6rem}.achievement{position:fixed;top:1rem;right:1rem;background:#122137;border:1px solid #3b82f6;border-radius:999px;padding:.5rem .8rem;z-index:100}.done{display:grid;gap:1rem;place-content:center;text-align:center;max-width:860px;margin:0 auto}.mini-browser{position:relative;border-radius:.75rem;overflow:hidden;border:1px solid #2a4364;margin:.6rem 0;background:#fff;max-width:100%}.mini-browser-bar{display:flex;align-items:center;gap:.4rem;padding:.55rem .75rem;background:#16243a;border-bottom:1px solid #2a4364}.mini-browser-bar .dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}.dot.red{background:#ff5f57}.dot.yellow{background:#febc2e}.dot.green{background:#28c840}.mini-browser-url{flex:1;margin-left:.5rem;font-size:.72rem;color:#b9c8de;background:#0f1a2e;padding:.25rem .6rem;border-radius:999px;border:1px solid #2a4364;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini-browser-refresh{all:unset;width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:1rem;color:#c7acc1;cursor:pointer;flex-shrink:0;transition:background .15s,color .15s}.mini-browser-refresh:hover{background:#3b82f626;color:#8ec5ff}.mini-browser-frame{width:100%;height:340px;border:0;display:block;background:#fff}.mini-browser-resize-handle{position:absolute;z-index:2;opacity:0;transition:opacity .16s ease,box-shadow .16s ease,background-color .16s ease}.mini-browser:hover .mini-browser-resize-handle,.mini-browser:focus-within .mini-browser-resize-handle{opacity:.45}.mini-browser:hover .mini-browser-resize-handle:hover,.mini-browser:focus-within .mini-browser-resize-handle:hover{opacity:.95;box-shadow:0 0 0 1px #3b82f63d,0 0 8px #3b82f63d}.mini-browser-resize-right{right:0;top:34px;bottom:10px;width:10px;cursor:ew-resize}.mini-browser-resize-bottom{left:10px;right:10px;bottom:0;height:10px;cursor:ns-resize}.mini-browser-resize-corner{right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize;background:#0f1a2e59}.mini-browser-resize-corner:before{content:"";position:absolute;right:2px;bottom:2px;width:10px;height:10px;background:repeating-linear-gradient(135deg,rgba(142,197,255,.95) 0 1px,transparent 1px 3px);pointer-events:none}.bubble-rich{padding:.5rem .75rem!important}.bubble-rich .bubble-text{margin:0;line-height:1.6;white-space:pre-wrap}.bubble-rich .bubble-text+.mini-browser,.bubble-rich .mini-browser+.bubble-text{margin-top:.6rem}.bubble-code{margin:.6rem 0;padding:.75rem;background:#0f1a2e;border:1px solid #2a4364;border-radius:.5rem;overflow-x:auto;font-size:.82rem;line-height:1.5;color:#d4e3f8}.bubble-code code{font-family:Fira Code,Cascadia Code,monospace}.thinking-bubble{display:flex;align-items:flex-start;gap:.35rem;padding:.85rem 1.2rem!important;min-width:70px;max-width:min(760px,92%);flex-wrap:wrap}.thinking-dot{width:8px;height:8px;border-radius:50%;background:#3b82f6;animation:thinking-bounce 1.4s ease-in-out infinite}.thinking-dot:nth-child(2){animation-delay:.16s;background:#14b8a6}.thinking-dot:nth-child(3){animation-delay:.32s;background:#60a5fa}.thinking-text{margin:.05rem 0 0;color:#b9c8de;font-size:.8rem;line-height:1.45;width:100%;white-space:pre-wrap}@keyframes thinking-bounce{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-10px);opacity:1}}.project-card{border:1px solid #30507a;border-radius:.75rem;background:linear-gradient(135deg,#122137,#192c46);margin-bottom:1rem;overflow:hidden}.project-card-head{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;border-bottom:1px solid #2a4364;gap:.5rem;flex-wrap:wrap}.project-card-head strong{display:block;color:#a6d2ff;font-size:.9rem}.project-card-head small{color:#9fb1ce;font-size:.75rem}.project-card-actions{display:flex;gap:.4rem}.project-card-html{border-top:1px solid #2a4364}.project-card-code{margin:0;padding:.75rem 1rem;font-size:.78rem;line-height:1.5;color:#d4e3f8;background:#0f1a2e;white-space:pre-wrap;word-break:break-word;max-height:180px;overflow-y:auto;font-family:Fira Code,Cascadia Code,monospace}.confetti-canvas{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;pointer-events:none}.step-sparkle-canvas{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9998;pointer-events:none}.confetti-toast{background:linear-gradient(120deg,#3b82f6,#14b8a6)!important;border-color:#22d3ee!important;animation:toast-pop .4s ease-out}.step-aura-toast{background:linear-gradient(120deg,#3b82f6aa,#14b8a6aa)!important;border-color:#60a5fa!important;animation:toast-pop .4s ease-out;font-size:.85rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}@keyframes toast-pop{0%{transform:translateY(-20px) scale(.8);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@media (max-width: 980px){.app-shell{grid-template-columns:1fr;grid-template-rows:auto 1fr}.sidebar{max-height:35vh;overflow-y:auto}.course-main{height:auto;min-height:0}.lesson-path{display:flex;flex-direction:row;overflow-x:auto;gap:0;padding:.75rem 0}.path-item{flex-direction:row;align-items:center;flex-shrink:0}.path-stop{flex-direction:column;gap:.3rem;padding:.3rem;text-align:center;min-width:80px}.path-line{width:24px;height:2px;margin-left:0;margin-top:0}.path-info{align-items:center}.path-title{font-size:.7rem}.path-badge{font-size:.6rem}.brand-lockup,.sidebar-head .brand-lockup{justify-content:center}.mini-browser{width:100%!important}.mini-browser-resize-right,.mini-browser-resize-corner{display:none}.mini-browser-resize-bottom{left:0;right:0;height:14px}.mini-browser-frame{min-height:220px}}
