/* The tour uses Paja's actual type, palette, character renderer and control language. */
.demo-page{max-width:1320px;min-height:100svh;margin:auto;padding:0 44px;display:flex;flex-direction:column}
.demo-header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:96px;border-bottom:1px solid var(--line)}
.demo-header .brand{font-size:28px}.demo-header .brand img{width:25px;height:25px}.demo-wordmark-note{font:400 12px var(--font);letter-spacing:0;color:var(--muted);border-left:1px solid var(--line);margin-left:12px;padding-left:20px}
.demo-utilities{display:flex;align-items:center;gap:16px}.demo-icon{width:44px;height:44px;justify-content:center;padding:0;background:transparent;border-color:transparent;font-size:20px}
.demo-language{display:flex;padding:3px;border:1px solid var(--line);border-radius:99px}.demo-language button{min-width:38px;min-height:36px;padding:4px 8px;border:0;background:transparent;font:12px var(--mono);color:var(--muted)}.demo-language button[aria-pressed=true]{background:var(--sunken);color:var(--text)}
.demo-exit{display:flex;align-items:center;gap:12px;min-height:44px;font-size:12px;color:var(--muted)}.demo-exit:hover,.demo-page-footer a:hover{color:var(--accent)}
.demo-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(0,1.65fr);gap:clamp(32px,5vw,76px);align-items:start;padding:54px 0 36px;flex:1}
.demo-story{padding-top:12px}
.demo-story h1{font:400 clamp(34px,3.8vw,49px)/1.17 var(--serif);letter-spacing:-.045em;margin:0}.demo-story h1 span,.demo-story h1 em{display:block}.demo-story h1 em{font-style:normal;color:var(--accent)}
.demo-intro{max-width:350px;color:var(--muted);font-size:15px;line-height:1.75;margin:22px 0 30px}
.demo-steps{position:relative;display:grid;gap:3px}.demo-steps::before{content:"";position:absolute;left:17px;top:26px;bottom:26px;width:1px;background:var(--line);z-index:-1}
.demo-step{display:grid;grid-template-columns:35px 1fr;gap:15px;align-items:start;border:0;border-radius:12px;background:transparent;text-align:left;white-space:normal;padding:10px 0;min-height:53px}.demo-step:hover{background:transparent}.demo-step-number{display:grid;place-items:center;width:35px;height:35px;border:1px solid var(--line);border-radius:50%;background:var(--bg);font:11px var(--mono);color:var(--muted)}
.demo-step-title{display:block;font-size:14px;font-weight:500;line-height:1.5;padding-top:7px;color:var(--muted)}.demo-step-description{display:none;max-width:260px;color:var(--muted);font-size:12px;font-weight:400;line-height:1.55;margin-top:4px}.demo-step[aria-current=step] .demo-step-number{background:var(--accent);border-color:var(--accent);color:var(--accent-text);box-shadow:0 0 0 5px var(--wash)}.demo-step[aria-current=step] .demo-step-title{color:var(--text);font-weight:650}.demo-step[aria-current=step] .demo-step-description{display:block}.demo-step[data-complete=true] .demo-step-number{border-color:var(--accent);color:var(--accent)}.demo-step-short{display:none}
.demo-promise{display:flex;gap:10px;font-size:11px;color:var(--muted);max-width:270px;margin:28px 0 0;line-height:1.6}.demo-promise>span:first-child{color:var(--accent);font-size:18px}
.demo-experience{min-width:0;position:relative}.demo-experience::before{content:"";position:absolute;z-index:-1;inset:-70px -70px 80px;background:radial-gradient(ellipse,var(--wash),transparent 68%);pointer-events:none}
.demo-frame{border:1px solid var(--line);border-radius:24px;background:var(--surface);box-shadow:0 20px 70px color-mix(in srgb,var(--text) 7%,transparent);overflow:hidden}
.demo-frame-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 24px;border-bottom:1px solid var(--line);min-height:66px;background:var(--bg)}
.demo-app{display:flex;align-items:center;gap:7px;min-width:0}.demo-app img{width:17px;height:17px;filter:brightness(0)}[data-theme=dark] .demo-app img{filter:brightness(0) invert(1)}#demo-app-name{font:20px/1 var(--display)}#demo-project-name{font-size:11px;color:var(--muted);border-left:1px solid var(--line);padding-left:12px;margin-left:7px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.demo-sample{display:flex;align-items:center;gap:6px;flex:none;font-size:10px;color:var(--muted)}.demo-sample i{width:5px;height:5px;border-radius:50%;background:var(--accent)}
.demo-tabs{display:flex;gap:5px;padding:9px 24px 0;min-height:50px}.demo-tabs button{border-color:transparent;background:transparent;font-size:11px;min-height:36px;color:var(--muted);padding:5px 12px}.demo-tabs button[aria-pressed=true]{background:var(--sunken);color:var(--text)}
.demo-stage{min-height:486px;padding:30px 32px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;text-align:center;outline-offset:-5px}.demo-stage[data-step="0"]{min-height:536px}.demo-stage[data-step="4"]{min-height:486px}.demo-stage>*{max-width:100%}.demo-stage h2{font:400 26px/1.3 var(--serif);letter-spacing:-.025em;margin:0 0 17px;text-wrap:balance}.demo-stage p{margin:0;line-height:1.6}.demo-stage-lead{font-size:13px;color:var(--muted);max-width:390px}
.demo-stage-enter{animation:demo-reveal 250ms var(--ease)}@keyframes demo-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.demo-idea{width:100%;max-width:480px}.demo-idea-label{font-size:10px;color:var(--muted);text-align:left;margin-bottom:8px;display:block}.demo-prompt{display:flex;gap:16px;align-items:end;padding:18px 16px 18px 20px;text-align:left;background:var(--bg);border:1px solid var(--line);border-radius:21px;box-shadow:var(--shadow-sm)}.demo-prompt blockquote{font-size:15px;line-height:1.65;margin:0;flex:1}.demo-prompt button{flex:none;align-self:end;min-width:40px;height:40px;padding:0;justify-content:center;font-size:22px}
.demo-examples{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin-top:16px}.demo-examples button{font-size:11px;min-height:38px;padding:6px 12px;background:transparent;color:var(--muted)}.demo-examples button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:color-mix(in srgb,var(--accent) 5%,var(--surface))}
.demo-idea-preview{position:relative;display:flex;justify-content:center;align-items:center;gap:16px;margin:18px 0 12px;min-height:146px}.demo-idea-preview svg{width:154px;height:auto;filter:drop-shadow(0 8px 10px #00000006)}.demo-idea-caption{text-align:left;max-width:140px}.demo-idea-caption strong{display:block;font:20px var(--serif);margin-bottom:5px}.demo-idea-caption span{font-size:11px;line-height:1.6;color:var(--muted)}.demo-hint{font-size:11px;color:var(--muted);max-width:380px}
.demo-portrait{display:block;width:min(100%,290px);padding:0;border:0;background:transparent;cursor:pointer;line-height:0;border-radius:40%;position:relative}.demo-portrait:hover{background:var(--wash)}.demo-portrait svg{width:100%;height:auto;display:block}.demo-portrait:focus-visible{outline-offset:5px}.demo-vibe-name{font:400 20px var(--serif);margin:-7px 0 9px;display:block}
.demo-speech{position:relative;padding:15px 21px;border:1px solid var(--line);border-radius:22px;background:var(--bg);font-size:14px;line-height:1.6;max-width:430px!important;width:100%;box-shadow:0 3px 12px #00000003}.demo-speech::after{content:"";position:absolute;bottom:-6px;left:calc(50% - 5px);width:10px;height:10px;transform:rotate(45deg);background:var(--bg);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.demo-stage[data-step="1"] .demo-portrait{width:270px}.demo-stage[data-step="1"] h2{font-size:23px}.demo-stage[data-step="1"] .demo-stage-lead{font-size:12px;margin-bottom:18px}.demo-stage[data-step="1"] .demo-hint{margin-top:4px}
.demo-stage[data-step="2"]{padding-top:18px;justify-content:start}.demo-stage[data-step="2"] .demo-portrait{width:240px}.demo-stage[data-step="2"] .demo-vibe-name{font:600 13px var(--font);margin:-8px 0 13px}
.demo-choices{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}.demo-choices button{min-height:40px;font-size:12px;background:var(--sunken)}.demo-choices button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}
.demo-change{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:12px;width:100%;border-top:1px solid var(--line);padding-top:16px;margin-top:21px}.demo-change-label{font-size:10px;color:var(--muted);display:block;margin-bottom:4px}.demo-change p{font-size:12px}.demo-change button{font-size:11px;min-height:40px;white-space:normal;flex:none}.demo-change[data-applied=true] p{color:var(--ok)}
.demo-test-intro{display:flex;align-items:center;gap:12px;width:100%;text-align:left;margin-bottom:22px}.demo-test-intro svg{width:76px;flex:none}.demo-test-intro h2{font-size:24px;margin:0 0 7px}.demo-test-intro p{font-size:12px;color:var(--muted)}.demo-test-task{align-self:flex-end;padding:14px 17px;border-radius:18px 18px 4px 18px;border:1px solid var(--line);background:var(--sunken);font-size:13px;text-align:left;max-width:88%!important;margin-bottom:18px!important}
.demo-test-output{text-align:left;align-self:stretch;min-height:158px;padding:18px 20px;border:1px dashed var(--line);border-radius:16px;margin-bottom:20px;color:var(--muted);font-size:13px}.demo-test-output[data-complete=true]{background:var(--bg);border-style:solid;color:var(--text)}.demo-test-output strong{display:block;font-size:10px;font-weight:500;color:var(--accent);letter-spacing:.03em;margin-bottom:9px}.demo-test-output p{line-height:1.7}.demo-test-output .demo-hint{margin-top:12px}.demo-run-test{align-self:flex-start;min-height:42px;font-size:12px}
.demo-share-art{width:174px;height:auto;margin:-12px 0 0}.demo-stage[data-step="4"] h2{margin-bottom:10px}.demo-review{width:min(100%,380px);border:1px solid var(--line);border-radius:16px;text-align:left;padding:15px 18px;margin:22px 0 18px;background:var(--bg)}.demo-review-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-bottom:10px}.demo-review-title span{font-size:10px;color:var(--muted)}.demo-review p{font-size:11px;color:var(--muted);padding:4px 0}.demo-check{color:var(--ok);margin-right:8px}.demo-publish{min-height:44px}.demo-publish-note{font-size:10px;color:var(--muted);margin-top:12px!important}.demo-share-url{font:12px/1.5 var(--mono);overflow-wrap:anywhere;color:var(--accent)}.demo-share-url small{display:block;font:10px var(--font);color:var(--muted);margin-bottom:7px}.demo-share-later{font-size:12px;color:var(--muted);max-width:360px}.demo-replay{margin-top:14px;font-size:11px}
.demo-frame-footer{display:flex;justify-content:space-between;gap:16px;padding:13px 24px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;background:var(--bg)}
.demo-controls{display:flex;align-items:center;gap:12px;margin-top:20px}.demo-controls button{min-height:44px;font-size:12px;white-space:normal}.demo-controls #demo-back{padding-left:4px}.demo-count{font:10px var(--mono);color:var(--muted);margin:auto}.demo-controls #demo-next{padding:10px 20px}.demo-page-footer{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding:21px 0 24px;font-size:11px;color:var(--muted)}.demo-page-footer a{color:var(--text);min-height:36px;display:flex;align-items:center;gap:8px}
.demo-profile{width:min(430px,calc(100vw - 32px));max-height:85svh;padding:28px;border:1px solid var(--line);border-radius:24px;background:var(--bg);color:var(--text);box-shadow:var(--shadow-md)}.demo-profile::backdrop{background:#0b1f3366;backdrop-filter:blur(5px)}#profile-close{float:right;margin:-12px -12px 0 0}.demo-profile h2{font:28px var(--serif);margin:8px 0}.demo-profile p{font-size:13px;color:var(--muted);margin:0 0 12px}.demo-profile section{margin-top:22px}.demo-profile h3{font-size:11px;font-weight:600;letter-spacing:.03em;margin:0 0 9px}.demo-profile ul{list-style:none;display:flex;gap:6px;flex-wrap:wrap;margin:0;padding:0}.demo-profile li{font-size:12px;padding:6px 10px;background:var(--sunken);border-radius:99px}.demo-profile small{font-size:10px;color:var(--muted)}
.demo-sr-only,.demo-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.demo-skip:focus{position:fixed;z-index:5;left:16px;top:10px;padding:12px 18px;background:var(--surface);border:1px solid var(--accent);border-radius:12px}.demo-noscript{margin:24px;padding:24px;border:1px solid var(--line)}
@media(min-width:1400px){.demo-layout{padding-top:64px}}
@media(max-width:1050px){.demo-page{padding:0 28px}.demo-layout{gap:30px;grid-template-columns:minmax(245px,.85fr) minmax(0,1.5fr)}.demo-stage{padding-inline:22px}.demo-frame-header{padding-inline:20px}.demo-story h1{font-size:37px}.demo-wordmark-note{display:none}}
@media(max-width:760px){.demo-page{padding:0 20px}.demo-header{min-height:76px}.demo-utilities{gap:7px}.demo-exit{margin-left:5px}.demo-layout{display:flex;flex-direction:column;gap:22px;padding:27px 0 26px}.demo-story,.demo-experience{width:100%;padding:0}.demo-story h1{font-size:36px}.demo-story h1 span,.demo-story h1 em{display:inline}.demo-story h1 em::before{content:" "}.demo-intro{font-size:13px;line-height:1.65;margin:14px 0 21px;max-width:520px}.demo-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.demo-steps::before{left:10%;right:10%;width:auto;height:1px;top:17px;bottom:auto}.demo-step{padding:0;display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0}.demo-step-copy{display:none}.demo-step-short{display:block;font-size:10px;color:var(--muted);font-weight:400}.demo-step[aria-current=step] .demo-step-short{color:var(--accent);font-weight:650}.demo-promise{display:none}.demo-experience::before{inset:-20px -20px 30px}.demo-frame{border-radius:20px}.demo-stage{min-height:465px;padding:24px}.demo-stage[data-step="0"]{min-height:480px}.demo-stage[data-step="4"]{min-height:465px}.demo-stage h2{font-size:24px}.demo-frame-header{min-height:58px;padding:15px 18px}.demo-tabs{padding-left:16px;padding-right:16px}.demo-controls{margin-top:14px}.demo-page-footer{font-size:10px;padding:17px 0}.demo-page-footer>span{max-width:150px}.demo-page-footer a{max-width:155px;text-align:right}}
@media(max-width:420px){.demo-page{padding:0 16px}.demo-header .brand{font-size:25px}.demo-header .brand img{width:21px;height:21px}.demo-exit{font-size:10px;gap:5px}.demo-utilities{gap:4px}.demo-icon{width:36px}.demo-language button{min-width:33px;font-size:10px}.demo-story h1{font-size:32px}.demo-stage{padding:23px 18px}.demo-stage h2{font-size:23px}.demo-prompt{padding:15px 13px;gap:10px}.demo-prompt blockquote{font-size:13px;line-height:1.65}.demo-examples{gap:5px}.demo-examples button{padding:5px 9px;font-size:10px;min-height:40px}.demo-speech{font-size:13px;padding:13px 16px}.demo-change{gap:10px}.demo-change button{max-width:112px;font-size:10px}.demo-frame-footer{padding:12px 18px}.demo-controls{gap:6px}.demo-controls #demo-next{padding:10px 14px;max-width:215px;font-size:11px}.demo-test-intro svg{width:58px}.demo-test-intro h2{font-size:21px}.demo-test-intro p{font-size:11px}.demo-test-task,.demo-test-output{font-size:12px}.demo-sample{font-size:9px}#demo-project-name{padding-left:8px;margin-left:2px;font-size:10px}}
@media(max-width:760px){
  .demo-layout{padding-top:22px}
  .demo-stage[data-step="0"]{min-height:420px;padding-top:22px;padding-bottom:20px}
  .demo-idea-preview{min-height:116px;margin:12px 0 0}
  .demo-idea-preview svg{width:128px}
  .demo-stage[data-step="0"]>.demo-hint{display:none}
}
@media(prefers-reduced-motion:reduce){.demo-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
