/* Fixed icon geometry: no nested badge styles can change the SVG's position. */
.steps{list-style:none;margin:0 0 28px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:18px 24px;gap:18px}
.steps .step{display:flex;align-items:center;gap:10px;min-width:0;position:relative;padding:0;border:0;text-align:left;line-height:1.4}
.steps .step-marker{font-style:normal;display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#edf0f8;color:#8c96b1}
.steps .step-marker>.ui-icon{display:flex;align-items:center;justify-content:center;flex:0 0 18px;width:18px;height:18px;margin:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;color:inherit;line-height:1}
.steps .step-marker svg{width:18px;height:18px;display:block;margin:0;overflow:visible}
.steps .step-label{font-size:14px;font-weight:500;white-space:nowrap}
.steps .step.active .step-marker{color:white;background:linear-gradient(145deg,#a18aff,#6841fb);box-shadow:0 4px 11px #734cec25}
.steps .step.active .step-label{font-weight:800;color:#6d43fa}
.steps .step.complete .step-marker{background:#e8f8f2;color:#0eaa91}
.steps .step:not(:last-child):after{content:'';position:absolute;right:5px;width:24px;height:1px;background:#e8eaf5;top:50%}
.steps .step.complete:after{background:#c4eee4}
.scene-footer{min-height:136px;margin-top:0;padding:7px 0 10px;isolation:isolate}
.scene-footer .hero-people{height:120px;margin:0;flex-shrink:0;max-width:52%;object-fit:contain}
.home-works{position:relative;z-index:0}
.footer{gap:22px;flex-wrap:wrap;padding-right:118px}.footer .education-brand{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:#485579}.education-brand img{width:40px;height:40px;object-fit:contain;display:block}.education-brand b{font-size:14px;font-weight:700;letter-spacing:-.4px}

/* Each section receives an illustration with its own job, in a reserved column. */
.page-top{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:center;gap:32px;padding:10px 5px 20px;min-height:210px}
.page-top:after,.profile-cover:after{display:none;content:none}
.page-top-copy{min-width:0}.page-top-copy h1{max-width:850px}.page-top-copy p{word-break:keep-all}
.page-art{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:190px;position:relative}
.page-art figcaption{font-family:'Lab Hand',sans-serif;color:#3b3977;font-size:22px;line-height:1.12;transform:rotate(-4deg);text-align:center;max-width:280px;margin-bottom:3px;word-break:keep-all;text-wrap:balance}
.page-art img{display:block;object-fit:contain;width:100%;height:163px}
[data-page=remix] .page-art figcaption{color:#078d89}
[data-page=workspace] .page-art figcaption{color:#6f50ae}
.profile-studio{padding-right:240px;background-image:url('assets/build.webp'),linear-gradient(120deg,#f7f2ff,#effaff);background-position:right 18px bottom 12px,center;background-repeat:no-repeat;background-size:220px auto,cover}
[data-page=explore] .hero-note{padding-bottom:126px;background-image:url('assets/idea.webp');background-size:190px auto;background-position:right 8px bottom 0;background-repeat:no-repeat}

/* A restrained transition for content; the header and helper never slide away. */
.btn,.chip,.tool-card,.phase{transition:transform 200ms cubic-bezier(.22,1,.36,1),box-shadow 200ms,border-color 200ms,background-color 160ms}
@media(hover:hover){.tool-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px #3a357d0c;border-color:#d8cef6}.pipeline .phase:hover{transform:translateY(-4px);box-shadow:0 8px 18px #6655bb16}.phase:hover .phase-icon{transform:rotate(0)}}
.phase-icon{transition:transform 220ms ease}.btn:active,.chip:active{transform:translateY(0) scale(.98)}

/* The owl is a persistent, non-modal guide: always reachable, never auto-opened. */
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#gai-assistant{position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:80;font-family:'Lab Sans',sans-serif;color:#202044;isolation:isolate}
.gai-launcher{display:flex;align-items:center;gap:12px;border:0;padding:0;background:transparent;color:inherit;line-height:1.3;border-radius:50px}
.gai-face{display:grid;place-items:center;width:74px;height:74px;border:1px solid #e9e2fa;background:linear-gradient(145deg,#fffdf5,#f7f1ff);border-radius:50%;box-shadow:0 6px 25px #33326a1c,inset 0 1px 0 white;transition:transform 240ms cubic-bezier(.22,1,.36,1),box-shadow 240ms}
.gai-face img{width:66px;height:66px;object-fit:contain;display:block;transition:transform 250ms cubic-bezier(.22,1,.36,1)}
.gai-invite{background:#ffffffed;border:1px solid #e9e5f6;border-radius:16px 16px 4px 16px;padding:11px 15px;font-size:11px;color:#8985a2;text-align:left;box-shadow:0 5px 16px #3436650a;transition:opacity 150ms,transform 180ms;pointer-events:none}
.gai-invite b{display:block;color:#574088;font-size:12px;font-weight:700;margin-top:4px}
.is-open .gai-invite{opacity:0;transform:translateX(8px);visibility:hidden}
@media(hover:hover){.gai-launcher:hover .gai-face{transform:translateY(-3px);box-shadow:0 9px 28px #644bad26}.gai-launcher:hover .gai-face img{transform:rotate(-6deg)}}
.gai-launcher:active .gai-face{transform:scale(.96)}
.gai-panel{position:absolute;right:0;bottom:89px;width:370px;height:min(575px,calc(100dvh - 135px));min-height:280px;display:flex;flex-direction:column;overflow:hidden;border:1px solid #e3ddf2;border-radius:23px;background:#fcfbff;box-shadow:0 20px 65px #22244c26,0 3px 12px #49407908;opacity:0;transform:translateY(12px) scale(.97);transform-origin:bottom right;transition:opacity 180ms,transform 270ms cubic-bezier(.22,1,.36,1)}
.gai-panel[hidden]{display:none}.gai-panel.visible{opacity:1;transform:translateY(0) scale(1)}
.gai-header{display:flex;align-items:center;gap:10px;padding:17px 17px 13px;background:linear-gradient(115deg,#f3edff,#f8f6ff 60%,#edf9f5);border-bottom:1px solid #eee9f6;flex-shrink:0}
.gai-header>img{object-fit:contain;flex:none}.gai-header strong{display:block;font-size:17px;letter-spacing:-.5px}.gai-header small{font-size:10px;color:#8a80a1;display:block;margin-top:2px}
.gai-close{display:grid;place-items:center;margin-left:auto;width:30px;height:30px;flex:none;border:1px solid #e8e1f1;border-radius:50%;background:#ffffffb3;color:#9087a4;padding:0}.gai-close .ui-icon{transform:rotate(45deg);width:17px;height:17px}
.gai-context{display:flex;align-items:center;justify-content:space-between;padding:11px 18px 6px;gap:8px;font-size:11px;flex-shrink:0}.gai-context-label{color:#7b7395}.gai-mode{border-radius:20px;padding:3px 8px;background:#e9f7ef;color:#4d9278;font-size:9px}
.gai-messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px 17px 17px;scrollbar-width:thin;scrollbar-color:#e2dcef transparent}
.gai-message{display:flex;align-items:flex-start;flex-direction:column;margin-bottom:16px;animation:message-arrive 230ms cubic-bezier(.22,1,.36,1)}
.gai-message:last-child{margin-bottom:0}.gai-message.user{align-items:flex-end}
.gai-author{font-size:10px;color:#8e83a5;margin:0 0 5px 3px}
.gai-bubble{padding:13px 14px;background:white;border:1px solid #eae5f3;border-radius:3px 15px 15px 15px;max-width:97%;box-shadow:0 2px 4px #3b326703}
.gai-bubble p{font-size:12px;line-height:1.8;color:#575274;white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all;margin:0}
.gai-message.user .gai-bubble{background:#eee7ff;border-color:#e6ddfb;border-radius:15px 3px 15px 15px}.gai-message.user p{color:#5c4290}
.gai-links{display:flex;flex-direction:column;gap:6px;margin-top:12px}.gai-links a{display:block;border:1px solid #dcd1fa;border-radius:8px;padding:7px 10px;font-size:11px;color:#7552c5;font-weight:600;background:#fbfaff;transition:background-color 150ms}.gai-links a:hover{background:#efe8ff}
.gai-quick{display:flex;flex-wrap:wrap;gap:6px;padding:11px 16px 8px;border-top:1px solid #eee8f6;background:#fcfbff;flex-shrink:0}
.gai-quick button{font-size:10px;color:#81729f;border:1px solid #e6def2;border-radius:20px;background:white;padding:6px 9px;line-height:1.4;transition:background-color 150ms}.gai-quick button:hover{background:#f1eaff;color:#65469f}
.gai-composer{display:flex;gap:6px;align-items:center;margin:4px 15px 0;padding:5px;border:1px solid #dfd5f3;border-radius:13px;background:white;flex-shrink:0;transition:box-shadow 180ms}
.gai-composer:focus-within{border-color:#bfa8ed;box-shadow:0 0 0 3px #eae0ff66}
.gai-composer input:not([type=checkbox]){font-size:12px;background:transparent;border:0;outline:0;padding:8px;min-width:0;line-height:1.5;color:#514464}.gai-composer input::placeholder{color:#a69ab6}
.gai-composer button{display:grid;place-items:center;width:33px;height:33px;flex:0 0 33px;padding:0;background:linear-gradient(140deg,#9b78f4,#7050d9);border:0;border-radius:9px;color:white;transition:transform 180ms}.gai-composer button:active{transform:scale(.94)}.gai-composer .ui-icon{width:17px;height:17px}
.gai-footnote{font-size:9px;line-height:1.4;margin:8px 0 11px;text-align:center;color:#a89db7;flex-shrink:0}
@keyframes message-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(max-width:1100px){.steps .step:not(:last-child):after{display:none}.page-top{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.page-art figcaption{font-size:20px}.page-art img{height:147px}.profile-studio{background-size:190px auto,cover;padding-right:200px}}
@media(max-width:760px){
  .steps{padding:14px 7px;gap:4px}.steps .step{flex-direction:column;gap:7px;text-align:center}.steps .step-marker{width:31px;height:31px;flex-basis:31px}.steps .step-label{font-size:10px}.steps .step-marker>.ui-icon{width:17px;height:17px;flex-basis:17px}.steps .step-marker svg{width:17px;height:17px}
  .scene-footer{min-height:118px;padding:5px 0 10px}.scene-footer .hero-people{height:103px}
  .page-top{grid-template-columns:minmax(0,1fr);padding:8px 0 18px;gap:10px;min-height:0}.page-art{justify-self:end;flex-direction:row;gap:8px;min-height:0;margin-top:-5px;width:100%;max-width:320px}.page-art img{width:145px;height:93px;order:2}.page-art figcaption{max-width:165px;font-size:21px;text-align:left;margin:0}.page-top h1{font-size:31px}.page-top p{font-size:14px}.profile-studio{padding-right:24px;background-size:140px auto,cover;background-position:right 8px bottom 3px,center}
  #gai-assistant{left:14px;right:14px;bottom:max(14px,env(safe-area-inset-bottom));pointer-events:none}.gai-launcher{margin-left:auto;pointer-events:auto}.gai-face{width:64px;height:64px}.gai-face img{width:57px;height:57px}.gai-invite{display:none}
  .gai-panel{bottom:78px;width:100%;max-width:370px;height:min(555px,calc(100dvh - 110px));border-radius:20px;pointer-events:auto}.gai-composer input:not([type=checkbox]){font-size:16px;padding:6px}.gai-bubble p{font-size:12px}.gai-quick button{font-size:11px}
  .footer{padding-bottom:82px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* One layout rhythm across sections. Copy anchors never depend on art height. */
:root{--section-gap:24px;--sidebar-width:320px;--assistant-bottom:78px;--assistant-panel-gap:88px}
html{scrollbar-gutter:stable;overflow-y:scroll}
#app{min-height:100dvh;display:flex;flex-direction:column}
#app>header,#app>.demo-label{flex-shrink:0}
#app>main.container{width:100%;flex:1;padding-top:24px;padding-bottom:36px}
.page-top{grid-template-columns:minmax(0,1fr) var(--sidebar-width);align-items:start;gap:var(--section-gap);min-height:228px;padding:8px 0 24px;margin:0 0 var(--section-gap)}
.page-top-copy{display:grid;grid-template-rows:auto auto auto;gap:18px;padding-top:8px;align-content:start}
.page-top .breadcrumb{font-size:12px;line-height:20px;margin:0}
.page-top h1{font-size:clamp(30px,2.7vw,38px);line-height:1.25;margin:0;word-break:keep-all;overflow-wrap:anywhere;max-width:none}
.page-top p{font-size:16px;line-height:1.7;margin:0;max-width:none}
.page-art{width:100%;height:196px;min-height:196px;display:grid;grid-template-rows:44px 152px;justify-items:center;align-items:center}
.page-art figcaption{font-size:22px;line-height:1.15;margin:0;max-width:280px}
.page-art img{width:100%;height:152px;object-fit:contain}
.split,.layout{grid-template-columns:minmax(0,1fr) var(--sidebar-width);gap:var(--section-gap);align-items:start}
.split>*:not(aside),.layout>*:not(aside),.split aside,.layout aside{min-width:0}
.panel,.form-panel{padding:28px;margin-bottom:var(--section-gap)}
.side-card{padding:24px;margin-bottom:var(--section-gap)}
.steps{margin-bottom:var(--section-gap)}
.explore-start .chips{margin-bottom:0}.explore-start .idea-input{box-shadow:none}.explore-start .idea-input input:not([type=checkbox]){padding:8px;font-size:14px}.explore-start .idea-input .btn{white-space:nowrap}
.section-head{min-height:40px;margin-bottom:20px;gap:16px}
.section-head h2{margin:0;line-height:1.4}
.section-head h2{word-break:keep-all}#result-count{white-space:nowrap;flex-shrink:0}
.page-top+div>.section-head:first-child{margin-top:0}
.footer{width:calc(100% - 56px);max-width:1324px;margin:0 auto;padding:20px 0;display:grid;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:24px;flex-shrink:0;min-height:74px}
.footer>span:first-child{max-width:none}
.footer>span:nth-child(2){display:flex;gap:20px;justify-content:center}
.footer a{margin:0;white-space:nowrap}
.footer .education-brand{display:flex;align-items:center;justify-content:center;justify-self:end;width:32px;height:32px}
.education-brand img{width:32px;height:32px;object-fit:contain}
#gai-assistant{bottom:calc(var(--assistant-bottom) + env(safe-area-inset-bottom,0px))}
.gai-panel{bottom:var(--assistant-panel-gap);height:min(575px,calc(100dvh - var(--assistant-bottom) - var(--assistant-panel-gap) - env(safe-area-inset-bottom,0px) - 18px));min-height:0}
@media(max-width:1100px){:root{--sidebar-width:280px}.page-top{min-height:228px}.page-art figcaption{font-size:20px}.panel,.form-panel{padding:24px}}
@media(max-width:760px){
  :root{--section-gap:20px;--assistant-bottom:68px;--assistant-panel-gap:76px}
  #app>main.container{padding-top:20px;padding-bottom:28px}
  .page-top{grid-template-columns:minmax(0,1fr);gap:14px;min-height:0;padding:0 0 18px;margin-bottom:20px}
  .page-top-copy{gap:14px;padding-top:0}
  .page-top h1{font-size:30px;line-height:1.3;min-height:78px}
  .page-top p{font-size:14px;line-height:1.7;min-height:48px}
  .page-art{display:grid;grid-template-columns:minmax(0,1fr) 145px;grid-template-rows:100px;width:100%;max-width:320px;height:100px;min-height:100px;margin:0;gap:8px}
  .page-art figcaption{font-size:20px;max-width:165px;text-align:left}.page-art img{height:96px;width:145px}
  .split,.layout{grid-template-columns:minmax(0,1fr)}
  .panel,.form-panel,.side-card{padding:20px}
  .section-head{min-height:36px;margin-bottom:18px;gap:12px}
  .footer{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr) 30px;gap:12px 18px;padding:16px 0;min-height:92px}
  .footer>span:first-child{grid-column:1;font-size:10px;line-height:1.6;text-align:left}
  .footer>span:nth-child(2){grid-column:1;justify-content:flex-start;gap:18px;font-size:11px}
  .footer .education-brand{grid-column:2;grid-row:1 / 3;width:30px;height:30px;align-self:end}.education-brand img{width:30px;height:30px}
  .gai-panel{bottom:var(--assistant-panel-gap);height:min(555px,calc(100dvh - var(--assistant-bottom) - var(--assistant-panel-gap) - env(safe-area-inset-bottom,0px) - 16px))}
}
