:root{--ink:#292d25;--muted:#666b60;--cream:#faf8f2;--surface:#fffdf8;--line:#e2e2d6;--accent:#ab4d2d;--sage:#e9eee4}*{box-sizing:border-box}body{background:var(--cream);color:var(--ink);margin:0;font-family:Nunito,sans-serif}button,a,input{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,a{cursor:pointer}button{font-family:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid var(--accent);outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{color:var(--ink)}h1,h2{text-wrap:balance;font-family:Fredoka,sans-serif;font-weight:500}h1:focus,h2:focus{outline:none}.page-width{width:min(1184px,100% - 96px);margin-inline:auto}.app-shell{flex-direction:column;min-height:100dvh;display:flex}.main-content{flex:1}.site-header{border-bottom:1px solid var(--line)}.header-inner{justify-content:space-between;align-items:center;height:88px;display:flex}.brand{letter-spacing:-.7px;color:var(--ink);background:0 0;border:0;align-items:center;gap:10px;min-height:44px;font-size:23px;font-weight:800;display:flex}.brand-icon{background:var(--ink);width:40px;height:40px;color:var(--cream);border-radius:12px;place-items:center;display:grid}.brand-dot{color:var(--accent)}.header-note{color:var(--muted);font-size:14px}.github-link{color:var(--ink);align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:700;text-decoration:none;display:flex}.github-link:hover{color:var(--accent)}.hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;gap:64px;padding:48px 0 40px;display:grid}.eyebrow{letter-spacing:1.8px;color:var(--muted);align-items:center;gap:8px;font-size:11px;font-weight:800;display:flex}.eyebrow>span{background:var(--accent);border-radius:50%;width:7px;height:7px}.hero h1{letter-spacing:-2.4px;margin:24px 0;font-size:clamp(48px,5.3vw,76px);line-height:1.06}.hero h1 span{color:var(--accent)}.hero-description{max-width:445px;color:var(--muted);font-size:18px;line-height:1.7}.hero .hero-cta{gap:22px;margin-top:30px}.hero-note{color:var(--muted);align-items:center;gap:7px;margin-top:18px;font-size:13px;display:flex}.hero-note svg{color:#476449}.pet-showcase{background:var(--sage);border:1px solid #d9e0d3;border-radius:24px;padding:24px 28px;position:relative;overflow:hidden}.showcase-top{justify-content:space-between;align-items:center;gap:8px;display:flex}.showcase-top>span:first-child{letter-spacing:1px;color:#46533f;align-items:center;gap:7px;font-size:10px;font-weight:800;display:flex}.sample-badge{color:#46533f;background:#f9faf4;border:1px solid #d4dccf;border-radius:20px;padding:5px 9px;font-size:10px}.pet-art{margin:-6px -20px -20px;position:relative}.pet-art:before{content:"";border:1px dashed #cbd5c3;border-radius:50%;width:78%;height:86%;position:absolute;inset:4% 11%}.pet-art img{object-fit:contain;width:100%;height:376px;display:block;position:relative}.craft-sticker{background:var(--surface);border:1px solid #e4e4d7;border-radius:3px;align-items:center;gap:10px;padding:12px 16px;font-size:13px;line-height:1.4;display:flex;position:absolute;bottom:112px;right:22px;transform:rotate(7deg);box-shadow:0 4px 12px #354b3920}.craft-sticker svg{color:var(--accent)}.pet-showcase figcaption{border-top:1px solid #cdd7c6;justify-content:space-between;align-items:flex-end;padding-top:20px;display:flex}.model-name{font-size:17px;line-height:1.4}.model-caption{text-align:right;color:#586651;font-size:12px;line-height:1.6}.how-it-works{border-top:1px solid var(--line);grid-template-columns:1fr 2fr;align-items:center;gap:32px;padding:30px 0 38px;display:grid}.how-heading .eyebrow{letter-spacing:1.4px;font-size:10px}.how-heading h2{max-width:240px;margin-top:10px;font-size:24px;line-height:1.2}.steps{grid-template-columns:repeat(3,1fr);gap:26px;margin:0;padding:0;list-style:none;display:grid}.steps li{align-items:center;gap:12px;display:flex;position:relative}.step-icon{color:#725537;background:#eee8da;border-radius:14px;flex-shrink:0;place-items:center;width:48px;height:48px;display:grid}.step-icon-1{color:#506344;background:#e6ecdf}.step-icon-2{color:var(--accent);background:#f3e5dd}.steps h3{margin-bottom:3px;font-size:15px;font-weight:800}.steps h3 span{color:var(--muted);margin-right:4px;font-size:11px}.steps p{color:var(--muted);font-size:12px;line-height:1.5}.step-arrow{color:#8c9085;position:absolute;right:-22px}.site-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;padding-block:22px;font-size:12px;display:flex}.site-footer p:last-child{align-items:center;gap:4px;display:flex}.site-footer svg{color:var(--accent);fill:#f0dace}.skip-link{background:var(--ink);color:#fff;z-index:100;padding:12px;position:absolute;top:-80px;left:16px}.skip-link:focus{top:12px}.journey{justify-content:space-between;align-items:center;gap:20px;padding-block:28px;display:flex}.back-link{color:var(--muted);align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:700;display:flex}.journey ol{color:var(--muted);gap:28px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.journey li{align-items:center;gap:8px;display:flex}.journey li span{font-size:10px}.journey li[aria-current]{color:var(--accent);font-weight:800}.upload-view{text-align:center;width:min(560px,100% - 40px);margin:24px auto 64px}.upload-view .eyebrow{justify-content:center}.upload-view h1{margin:16px 0 12px;font-size:44px}.view-description{color:var(--muted);font-size:16px;line-height:1.6}.upload-zone{background:var(--surface);cursor:pointer;border:2px dashed #929b87;border-radius:20px;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:300px;margin-top:32px;transition:background .18s,border-color .18s;display:flex;position:relative}.upload-zone:hover,.upload-zone.is-dragging{background:var(--sage);border-color:#476449}.upload-zone:focus-within{outline:3px solid var(--accent);outline-offset:5px}.upload-zone input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.upload-zone>strong{font-size:20px}.upload-zone>span{color:var(--muted)}.upload-icon{background:var(--sage);border-radius:20px;place-items:center;width:72px;height:72px;margin-bottom:12px;display:grid}.upload-zone .upload-formats{margin-top:16px;font-size:13px}.upload-error{color:#a43126;margin-top:12px;font-size:14px}.upload-error:empty{display:none}.photo-tip{text-align:left;color:#645d48;background:#f1eee2;border-radius:12px;align-items:flex-start;gap:12px;margin-top:24px;padding:18px 20px;font-size:14px;line-height:1.6;display:flex}.photo-tip svg{flex-shrink:0;margin-top:2px}.ui-button{border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:12px 20px;font-size:15px;font-weight:800;transition:background .18s,box-shadow .18s;display:inline-flex}.ui-button-lg{min-height:56px;padding:17px 26px;font-size:16px}.ui-button-sm{padding:10px 16px;font-size:14px}.ui-button-primary{color:#fff;background:var(--accent);box-shadow:0 3px #783d25}.ui-button-primary:hover{background:#923e23;box-shadow:0 4px #783d25}.ui-button-primary:active{background:#7b341e;box-shadow:0 1px #783d25}.ui-button-secondary,.ui-button-outline{color:var(--ink);background:var(--surface);border-color:#9ca490}.ui-button-secondary:hover,.ui-button-outline:hover{background:var(--sage)}.ui-button:disabled{opacity:.6;cursor:not-allowed}.processing-view{padding-top:24px}.processing-view h1{font-size:32px}.processing-stage{min-height:88px}.processing-stage.is-active{background:var(--surface);border-color:#9cae90;box-shadow:0 4px 14px #2937230a}.processing-stage.is-completed{background:#edf1e7;border-color:#0000}.processing-stage.is-pending{background:0 0;border-color:#0000}.result-view h1{margin-bottom:8px;font-size:36px}.result-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px;display:flex}.result-actions{flex-wrap:wrap;gap:12px;display:flex}.result-tabs button{min-height:60px;padding-inline:8px;font-size:14px}.result-content{padding:24px}.template-page{flex-shrink:0;max-width:100%}@media (width<=1100px){.hero{gap:32px}.how-it-works{grid-template-columns:1fr;gap:26px}.how-heading h2{max-width:none}.steps{gap:40px}.step-arrow{right:-25px}}@media (width<=700px){.page-width{width:calc(100% - 40px)}.header-inner{height:72px}.brand{font-size:21px}.brand-icon{width:36px;height:36px}.header-note,.github-link>span{display:none}.github-link{padding-inline:8px}.hero{grid-template-columns:1fr;gap:30px;padding:36px 0 32px}.hero .eyebrow{letter-spacing:1.3px;font-size:9px}.hero h1{letter-spacing:-1.3px;margin:18px 0;font-size:clamp(40px,12.7vw,64px)}.hero-description{font-size:16px;line-height:1.65}.hero .hero-cta{justify-content:space-between;width:100%;margin-top:22px}.hero-note{margin-top:14px;font-size:11px}.pet-showcase{border-radius:18px;padding:18px 20px}.showcase-top>span:first-child{letter-spacing:.5px;font-size:8px}.sample-badge{font-size:9px}.pet-art{margin:-8px 0 -18px}.pet-art img{height:auto}.craft-sticker{gap:6px;padding:8px 10px;font-size:10px;bottom:85px;right:16px}.pet-showcase figcaption{padding-top:14px}.model-name{font-size:14px}.model-caption{font-size:10px}.how-it-works{padding:28px 0}.steps{grid-template-columns:1fr;gap:22px}.steps h3{font-size:16px}.steps p{font-size:14px}.step-arrow{display:none}.site-footer{gap:12px;padding-block:20px;font-size:10px}.journey{flex-direction:column;align-items:flex-start;gap:8px;padding-block:12px}.journey ol{border-bottom:1px solid var(--line);justify-content:space-between;width:100%;padding-bottom:16px}.upload-view{margin-top:24px}.upload-view h1{font-size:36px}.upload-view .eyebrow{font-size:9px}.upload-zone{min-height:280px}.processing-view{padding-top:12px}.processing-view>div:first-child{margin-bottom:28px}.processing-stage{padding:12px}.processing-stage .flex.justify-between{flex-wrap:wrap;gap:4px}.result-view{padding-top:20px}.result-toolbar{align-items:flex-start}.result-actions{width:100%}.result-actions .ui-button{flex:1;padding-inline:12px;font-size:14px}.result-content{padding:12px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.site-header,.site-footer,.journey,.result-toolbar,.result-actions{display:none}}
