@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");:root{--brand-primary:#ca4f61;--brand-primary-hover:#b94154;--brand-primary-active:#a73549;--brand-primary-light:#e9a0aa;--brand-primary-subtle:#f7e5e8;--brand-primary-dark:#8b5361;--brand-gradient:linear-gradient(135deg,#ca4f61,#e9a0aa);--bg:#f8f6f3;--surface:#ffffff;--surface-muted:#f8f6f3;--border:#e9e7e5;--text:#20212a;--text-muted:#777985;--primary:var(--brand-primary);--primary-hover:var(--brand-primary-hover);--primary-soft:var(--brand-primary-subtle);--danger:#c94a4a;--success:#25865b;--warning:#d69a35;--info:#4b82b8;--bg-dark:#171923;--surface-dark:#242735;--panel-dark:#292c39;--border-dark:#383b49;--text-dark:#f8f6f3;--text-muted-dark:#a5a7b4;--radius:12px;--radius-lg:16px;--shadow-sm:0 1px 2px rgba(23,25,35,0.06);--shadow:0 1px 3px rgba(23,25,35,0.1),0 1px 2px rgba(23,25,35,0.06);--shadow-lg:0 10px 30px rgba(23,25,35,0.08);--font:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}*{box-sizing:border-box}body,html{margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;line-height:1.5}a{color:var(--primary);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{letter-spacing:-.02em;margin:0 0 .5rem}h1{font-size:1.75rem;font-weight:700}h2{font-size:1.2rem}h2,h3{font-weight:600}h3{font-size:1rem}.app-shell{display:flex;min-height:100vh}.sidebar{width:240px;flex-shrink:0;border-right:1px solid var(--border);background:var(--surface);padding:1.25rem 1rem;display:flex;flex-direction:column;gap:1.25rem;position:-webkit-sticky;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.1rem;letter-spacing:-.03em;color:var(--text)}.brand,.brand:hover{text-decoration:none}.brand-mark{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,#ca4f61,#b94154);display:grid;place-items:center;color:white;font-size:.8rem;font-weight:800}.brand-logo{width:auto;height:28px;object-fit:contain}.sidebar nav{display:flex;flex-direction:column;gap:.25rem}.sidebar nav a{padding:.55rem .7rem;border-radius:9px;color:var(--text-muted);font-size:.9rem;font-weight:500}.sidebar nav a:hover{background:var(--surface-muted);text-decoration:none;color:var(--text)}.sidebar nav a.active{background:var(--primary-soft);color:var(--primary)}.sidebar-footer{margin-top:auto}.main{flex:1 1;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.5rem;border-bottom:1px solid var(--border);background:var(--surface);position:-webkit-sticky;position:sticky;top:0;z-index:10}.topbar-title{font-weight:600}.content{padding:1.75rem 1.5rem 3rem;max-width:1240px;margin:0 auto}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow-sm)}.card-hover:hover{box-shadow:var(--shadow-lg);transform:translateY(-1px);transition:.15s ease}.btn,button{font-family:inherit;font-size:.9rem;font-weight:600;border-radius:10px;border:1px solid transparent;padding:.55rem .9rem;cursor:pointer;transition:.15s ease;background:var(--primary);color:white}button:hover{background:var(--primary-hover)}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:var(--surface);color:var(--text);border-color:var(--border)}button.secondary:hover{background:var(--surface-muted)}button.danger{background:var(--surface);color:var(--danger);border-color:#fecaca}button.danger:hover{background:#fef2f2}input,select,textarea{font-family:inherit;font-size:.9rem;width:100%;padding:.55rem .7rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);outline:none;transition:.15s ease}input:focus,select:focus,textarea:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(79,70,229,.15)}label{font-size:.85rem;font-weight:500;color:var(--text)}.stack{flex-direction:column;gap:.75rem}.row,.stack{display:flex}.row{gap:.5rem;align-items:center;flex-wrap:wrap}.badge,.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.15rem .6rem;font-size:.72rem;font-weight:600;background:var(--surface-muted);color:var(--text-muted)}.status-needs_review{background:#fef3c7;color:#92400e}.status-approved{background:#dcfce7;color:#166534}.status-rejected{background:#fee2e2;color:#991b1b}.meta,.muted{color:var(--text-muted);font-size:.85rem}.error{color:var(--danger)}.error,.notice{font-size:.85rem}.notice{color:var(--success)}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:1.5rem;background:radial-gradient(circle at top,#f7e5e8,var(--bg))}.auth-card{width:100%;max-width:420px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:2rem;box-shadow:var(--shadow-lg)}.auth-card h1,.landing{text-align:center}.landing{max-width:900px;margin:0 auto;padding:5rem 1.5rem}.landing h1{font-size:3rem;font-weight:800;letter-spacing:-.04em}.landing p{color:var(--text-muted);font-size:1.1rem;max-width:600px;margin:1rem auto 2rem}.landing .actions{display:flex;gap:.75rem;justify-content:center;flex-wrap:wrap}.landing .actions a{padding:.7rem 1.2rem;border-radius:10px;background:var(--primary);color:white;font-weight:600}.landing .actions a:hover{background:var(--primary-hover);text-decoration:none}.landing .actions a.secondary{background:var(--surface);color:var(--text);border:1px solid var(--border)}.projects{list-style:none;padding:0;display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.project{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;box-shadow:var(--shadow-sm);transition:.15s ease}.project:hover{box-shadow:var(--shadow-lg);transform:translateY(-1px)}.workspace-shell{display:flex;flex-direction:column;height:100vh;overflow:hidden}.workspace-toolbar{display:flex;align-items:center;gap:1rem;padding:.55rem 1.25rem;border-bottom:1px solid var(--border);background:var(--surface);flex-shrink:0}.wb-brand,.wb-brand:hover{text-decoration:none}.wb-left{display:flex;align-items:center;gap:.6rem;min-width:0}.wb-left h1{font-size:1.05rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:340px}.wb-back{color:var(--text-muted);padding:.3rem .5rem;border-radius:7px;font-weight:600}.wb-back:hover{background:var(--surface-muted);text-decoration:none}.wb-tabs{display:flex;gap:.25rem;margin-left:.75rem}.wb-tab{padding:.35rem .7rem;border-radius:8px;font-size:.85rem;border:none;font-family:inherit}.icon-btn,.wb-tab{color:var(--text-muted);background:transparent;cursor:pointer}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;border:1px solid transparent;font-size:.95rem;text-decoration:none}.icon-btn.active,.icon-btn:hover{background:var(--surface-muted);color:var(--text)}.workspace.no-chat{grid-template-columns:minmax(0,1fr)}.preview-frame.mobile{width:390px;max-width:100%;margin:0 auto;display:block}.code-view{display:grid;grid-template-columns:220px minmax(0,1fr);grid-gap:0;gap:0;flex:1 1;min-height:0;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--surface)}.code-files{border-right:1px solid var(--border);overflow-y:auto;padding:.5rem;display:flex;flex-direction:column;gap:2px}.code-file{text-align:left;border:none;background:transparent;padding:.4rem .6rem;border-radius:8px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.78rem;color:var(--text-muted);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.code-file.active,.code-file:hover{background:var(--surface-muted);color:var(--text)}.code-file.active{font-weight:600}.code-content{margin:0;padding:1rem;overflow:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.8rem;line-height:1.55;background:#fafafa}.wb-tab.active{background:var(--surface-muted);color:var(--text);font-weight:600}.wb-right{margin-left:auto;display:flex;align-items:center;gap:.5rem}.wb-url{font-size:.82rem;color:var(--text-muted);background:var(--surface-muted);padding:.35rem .6rem;border-radius:8px}.wb-publish{background:var(--primary)}.wb-publish:hover{background:var(--primary-hover)}.workspace{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:400px minmax(0,1fr);align-items:stretch;flex:1 1;min-height:0;padding:1rem}.workspace-col{display:flex;flex-direction:column;gap:1rem;min-width:0;height:100%;overflow-y:auto;padding-right:.25rem}.workspace.single{grid-template-columns:minmax(0,680px);justify-content:center;overflow-y:auto}.workspace.single .workspace-col{height:auto;overflow-y:visible;padding-right:0}.clarification,.prompt-form{border-radius:18px;padding:1.5rem 1.75rem;border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-sm)}.clarification{max-height:calc(100vh - 7rem);overflow-y:auto;display:flex;flex-direction:column;gap:1rem}.clarification button[type=submit]{position:-webkit-sticky;position:sticky;bottom:0;padding:.7rem 1rem}.clarification h2,.prompt-form h2{font-size:1.05rem;font-weight:700;margin:0}.clarification input:not([type=radio]):not([type=checkbox]),.clarification textarea,.prompt-form select,.prompt-form textarea{border-radius:12px;font-size:.95rem;padding:.75rem .85rem}.prompt-form textarea{min-height:120px;resize:vertical}.clarification .muted,.prompt-form .muted{font-size:.9rem}.clarification .questions,.clarification ol{display:flex;flex-direction:column;gap:.9rem;margin:0;padding-left:1.1rem}.clarification .question,.clarification ol li{font-size:.92rem;color:var(--text)}.clarification input[type=text]{margin-top:.35rem}.chat-col{display:flex;flex-direction:column;gap:1rem}.chat-col .prompt-form{order:10;position:-webkit-sticky;position:sticky;bottom:0;z-index:5}.generation-progress{display:flex;flex-direction:column;align-items:center;gap:.75rem;max-width:24rem;width:100%}.generation-progress-bar{width:100%;height:6px;border-radius:999px;background:var(--border,#e2e8f0);overflow:hidden}.generation-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--primary,#ca4f61),var(--accent,#7c3aed));transition:width .4s ease-out}.generation-progress-message{font-size:1rem;font-weight:600;margin:0;animation:fadeUp .35s ease-out}.generation-progress-count,.generation-progress-hint{margin:0;text-align:center}@keyframes fadeUp{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.build-progress{display:flex;flex-direction:column;gap:.85rem}.build-progress h3{margin:0}.build-progress-phase{margin:0;font-weight:600;animation:fadeUp .35s ease-out}.fact-card{margin-top:.4rem;padding:1rem 1.1rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-muted);animation:fadeUp .45s ease-out}.fact-eyebrow{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted)}.fact-eyebrow,.fact-title{margin:0 0 .3rem;font-weight:600}.fact-body{margin:0;font-size:.9rem;line-height:1.55;color:var(--text-muted)}.preview-wrap{position:relative;display:flex;flex-direction:column;flex:1 1;min-height:0}.preview-frame{width:100%;flex:1 1;min-height:0;border:1px solid var(--border);border-radius:14px;background:white}.edit-hud,.preview-frame{box-shadow:var(--shadow-sm)}.edit-hud{position:absolute;left:50%;bottom:1rem;transform:translateX(-50%);max-width:min(90%,42rem);padding:.5rem .9rem;border-radius:999px;background:rgba(15,23,42,.88);color:#e2e8f0;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none}.edit-hud.error{background:rgba(153,27,27,.92)}.wb-edit-toggle.active{background:var(--primary);color:#fff}.wb-open-tab{align-self:center;margin-left:.15rem}.wb-menu{position:relative}.wb-menu-btn{border:none;background:transparent;padding:.3rem .5rem;border-radius:8px;font-family:inherit;font-size:.85rem;font-weight:600;color:var(--primary);cursor:pointer}.wb-menu-btn:hover{background:var(--surface-muted)}.wb-menu-pop{left:0;right:auto;min-width:160px}.card-menu-item.wb-menu-item{text-decoration:none;display:flex;flex-direction:column;gap:.1rem}.wb-menu-label{font-weight:550}.wb-menu-hint{font-size:.78rem;color:var(--text-muted)}.wb-menu-sep{border-top:1px solid var(--border);margin:.3rem 0}.wb-menu-danger{color:var(--danger);font-weight:550}.wb-menu-danger:hover{background:color-mix(in srgb,var(--danger) 8%,transparent)}.wb-title-wrap{margin:0;font-size:1.05rem;font-weight:700;max-width:340px;min-width:0}.wb-title{border:none;background:transparent;font:inherit;color:inherit;padding:.25rem .5rem;border-radius:7px;cursor:text;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;text-align:left}.wb-title:hover{background:var(--surface-muted)}.stages{margin:0;padding-left:1.2rem;color:var(--text-muted);font-size:.85rem}.stages li.active{color:var(--primary);font-weight:600}pre.raw{background:#0f172a;color:#e2e8f0;padding:1rem;border-radius:10px;overflow-x:auto;font-size:.78rem}details{border-top:1px solid var(--border);padding:.6rem 0}summary{cursor:pointer;font-weight:600;font-size:.9rem}.app-top{min-height:100vh;display:flex;flex-direction:column}.topbar-nav{display:flex;align-items:center;gap:1rem}.topbar-nav a{color:var(--text-muted);font-size:.9rem;font-weight:500}.topbar-nav a:hover{color:var(--text);text-decoration:none}.topbar-title{font-weight:700;font-size:.95rem;color:var(--text);margin-left:.5rem}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:.75rem}.file-tree{list-style:none;margin:.75rem 0 0;padding:0;font-size:.85rem}.file-tree ul{list-style:none;margin:.15rem 0 .4rem;padding-left:1.1rem}.file-dir{font-weight:600;color:var(--text-muted);font-size:.82rem}.file-dir,.file-name{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.file-name{color:var(--text);font-size:.84rem;line-height:1.7}.chat-msg{border:1px solid var(--border);border-radius:18px;background:var(--surface);box-shadow:var(--shadow-sm);padding:1.25rem 1.5rem;display:flex;flex-direction:column;gap:.4rem}.chat-msg-title{font-weight:700;font-size:1rem;margin:0}.chat-msg .small{font-size:.82rem}.spinner{width:26px;height:26px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite;flex-shrink:0}.spinner.small{width:16px;height:16px;border-width:2px}@keyframes spin{to{transform:rotate(1turn)}}.page-loader{flex-direction:column;justify-content:center;gap:.75rem;min-height:50vh}.ai-loader,.page-loader{display:flex;align-items:center}.ai-loader{gap:.6rem;padding:.85rem 1.1rem;border-radius:14px;background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow-sm);font-size:.9rem;color:var(--text-muted)}@media (max-width:1000px){.workspace-shell{height:auto;min-height:100vh;overflow:visible}.workspace{grid-template-columns:1fr;overflow-y:visible}.workspace-col{max-height:none;overflow-y:visible}.sidebar{display:none}}.home{min-height:100vh;display:flex;flex-direction:column;background:radial-gradient(1200px 600px at 50% -10%,#f7e5e8,transparent),var(--bg)}.home-nav{justify-content:space-between;padding:1rem 2rem;width:100%;max-width:1200px;margin:0 auto}.home-nav,.home-nav nav{display:flex;align-items:center;gap:1rem}.home-nav nav a{font-size:.9rem;font-weight:500;color:var(--text-muted)}.home-nav nav a:hover{color:var(--text);text-decoration:none}.home-cta{background:var(--text)!important;color:white!important;padding:.5rem .9rem;border-radius:9px}.home-hero{flex:1 1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:3rem 1.5rem 5rem;width:100%;max-width:820px;margin:0 auto}.home-badge{display:inline-flex;align-items:center;gap:.4rem;border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:.78rem;font-weight:600;padding:.3rem .7rem;border-radius:999px;margin-bottom:1.5rem}.home-hero h1{font-size:clamp(2.4rem,6vw,3.6rem);font-weight:800;letter-spacing:-.045em;line-height:1.05;margin:0 0 1rem}.home-gradient{background:linear-gradient(90deg,#ca4f61,#b94154,#e9a0aa);-webkit-background-clip:text;background-clip:text;color:transparent}.home-hero>p{color:var(--text-muted);font-size:1.05rem;max-width:560px;margin:0 0 2rem}.prompt-box{width:100%;background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:.75rem;box-shadow:var(--shadow-lg);text-align:left}.prompt-box textarea{resize:none;font-size:1rem;padding:.6rem;min-height:96px;background:transparent}.prompt-box textarea,.prompt-box textarea:focus{border:none;box-shadow:none}.prompt-box-footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.25rem .35rem 0}.prompt-hint{font-size:.78rem;color:var(--text-muted)}.prompt-submit{background:var(--primary);color:white;border-radius:10px;padding:.6rem 1.1rem;font-weight:600}.home-examples{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.home-example{border:1px solid var(--border);background:var(--surface);color:var(--text-muted);font-size:.8rem;font-weight:500;padding:.4rem .75rem;border-radius:999px;cursor:pointer}.home-example:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-soft)}.prompt-wrap{width:100%;max-width:640px;margin-inline:auto}.prompt-actions{display:flex;align-items:center;gap:.5rem}.prompt-ghost{background:transparent;color:var(--text-muted);border:1px solid var(--border);border-radius:9px;padding:.4rem .6rem;font-size:.8rem;font-weight:500}.prompt-ghost:hover{background:var(--surface-muted);color:var(--text)}.prompt-send{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#ca4f61,#b94154);color:white;font-size:1.1rem;display:grid;place-items:center;padding:0}.prompt-send:hover{filter:brightness(1.06)}.prompt-send:disabled{opacity:.5}.prompt-status{display:flex;align-items:center;gap:.55rem;margin:.6rem 0 0;font-size:.85rem;color:#64748b}.prompt-status-dot{width:8px;height:8px;border-radius:50%;background:#ca4f61;animation:prompt-pulse 1s ease-in-out infinite}.prompt-spinner{width:16px;height:16px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:prompt-spin .7s linear infinite}@keyframes prompt-spin{to{transform:rotate(1turn)}}@keyframes prompt-pulse{0%,to{opacity:.35;transform:scale(.8)}50%{opacity:1;transform:scale(1.15)}}.home-cta-band,.home-features,.home-showcase{max-width:1200px;margin:0 auto;padding:4.5rem 1.5rem;text-align:center}.home-cta-band h2,.home-features h2,.home-showcase h2{font-size:2rem;font-weight:800;letter-spacing:-.035em;margin:0 0 .5rem}.home-section-sub{color:var(--text-muted);max-width:560px;margin:0 auto 2.5rem}.showcase-grid{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));text-align:left}.showcase-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);transition:.15s ease}.showcase-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.showcase-thumb{aspect-ratio:16/9;padding:1.25rem;display:flex;flex-direction:column;gap:.55rem}.showcase-bar{height:14px;border-radius:999px;background:rgba(255,255,255,.55)}.showcase-bar.w2{width:62%}.showcase-bar.w3{width:40%}.tint-indigo{background:linear-gradient(135deg,#ca4f61,#b94154)}.tint-sky{background:linear-gradient(135deg,#4b82b8,#e9a0aa)}.tint-emerald{background:linear-gradient(135deg,#10b981,#14b8a6)}.tint-amber{background:linear-gradient(135deg,#d69a35,#d69a35)}.tint-fuchsia{background:linear-gradient(135deg,#b94154,#e9a0aa)}.tint-rose{background:linear-gradient(135deg,#ca4f61,#c94a4a)}.showcase-meta{padding:1rem 1.25rem}.showcase-meta h3{margin:0 0 .25rem;font-size:.95rem}.showcase-meta p{margin:0;color:var(--text-muted);font-size:.82rem}.feature-grid{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));text-align:left;margin-top:2rem}.feature-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.5rem;box-shadow:var(--shadow-sm)}.feature-num{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--primary-soft);color:var(--primary);font-weight:700;font-size:.85rem;margin-bottom:.9rem}.feature-card h3{margin:0 0 .4rem}.feature-card p{margin:0;color:var(--text-muted);font-size:.88rem}.home-cta-band{background:linear-gradient(135deg,#f7e5e8,#f8f6f3);border-radius:var(--radius-lg);margin:0 auto 4rem;max-width:1100px;padding:4rem 1.5rem}.home-cta-band p{color:var(--text-muted);margin:0 0 1.75rem}.home-cta.large{padding:.85rem 1.5rem;font-size:1rem}.home-footer{border-top:1px solid var(--border);padding:2rem 1.5rem;color:var(--text-muted);font-size:.8rem}.home-footer-inner{max-width:1200px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.home-projects{max-width:1200px;margin:0 auto;padding:0 1.5rem 3rem}.home-projects-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.home-projects-header h2{font-size:1.4rem;font-weight:800;letter-spacing:-.03em;margin:0}.home-project-grid{display:grid;grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}.home-project-card{display:flex;flex-direction:column;gap:.5rem;color:var(--text)}.home-project-card:hover{text-decoration:none}.home-project-card h3{margin:0;font-size:.95rem}.home-project-card-menu{position:relative}.home-project-card-link{display:flex;flex-direction:column;gap:.5rem;color:var(--text);text-decoration:none}.home-project-card-link:hover{text-decoration:none}.card-menu{position:absolute;top:.5rem;right:.5rem}.card-menu-pop{position:absolute;top:calc(100% + 4px);right:0;z-index:30;min-width:180px;border-radius:var(--radius-md,10px);border:1px solid var(--border,#e2e8f0);background:var(--surface,#fff);box-shadow:var(--shadow-md,0 4px 16px rgba(15,23,42,.12));padding:.35rem}.card-menu-item{display:block;width:100%;padding:.5rem .65rem;border:none;border-radius:8px;background:transparent;color:var(--text);font-family:inherit;font-size:.85rem;text-align:left;cursor:pointer}.card-menu-item:hover{background:var(--surface-muted)}.card-menu-item.danger{color:var(--danger,#dc2626)}.card-menu-confirm{display:flex;flex-direction:column;gap:.5rem;padding:.4rem;font-size:.8rem;min-width:220px}.card-menu-confirm p{margin:0;color:var(--text);line-height:1.45}.card-menu-confirm .danger,.card-menu-confirm .secondary{font-size:.8rem;padding:.4rem .7rem}.bp-link{font-size:.85rem;font-weight:600;color:var(--primary);text-decoration:none}.bp-link:hover{text-decoration:underline}.status-draft,.status-validating{background:var(--surface-muted);color:var(--text-muted)}.status-changes-requested,.status-needs-clarification{background:#fef3c7;color:#92400e}.status-ready-for-review{background:#f7e5e8;color:#1e40af}.status-superseded{background:var(--surface-muted);color:var(--text-muted)}.prov-confirmed,.prov-user{background:#dcfce7;color:#166534}.prov-inferred{background:#f7e5e8;color:#1e40af}.prov-default{background:var(--surface-muted);color:var(--text-muted)}.prov-imported{background:#f7e5e8;color:#5b21b6}.support-implemented{background:#dcfce7;color:#166534}.support-awaiting-config{background:#fef3c7;color:#92400e}.support-unsupported{background:#fee2e2;color:#991b1b}.issue-block{border:1px solid var(--border);border-left:3px solid var(--danger);border-radius:10px;padding:.75rem 1rem;margin:.75rem 0}.issue-block h4{margin:0 0 .4rem}.spec-review .entity{border-top:none;padding:.2rem 0 .2rem .75rem}fieldset.question{border:1px solid var(--border);border-radius:var(--radius-lg);padding:.85rem 1.1rem 1rem;margin:0;background:var(--surface);box-shadow:var(--shadow-sm)}fieldset.question legend{font-weight:650;font-size:.95rem;padding:0 .35rem}fieldset.question .muted{margin:0 0 .35rem}fieldset.question .option{display:flex;align-items:flex-start;gap:.6rem;font-weight:450;padding:.55rem .7rem;margin:0 -.25rem;border-radius:10px;cursor:pointer;transition:background .12s ease}fieldset.question .option:hover{background:var(--surface-muted)}fieldset.question .option:has(input:checked){background:var(--primary-soft)}fieldset.question .option input[type=checkbox],fieldset.question .option input[type=radio]{flex-shrink:0;margin:.15rem 0 0;width:1rem;height:1rem;accent-color:var(--primary)}fieldset.question .stack>input:not([type]),fieldset.question input[type=text]{width:100%;margin-top:.5rem}.site{min-height:100vh;overflow-x:hidden;color:#171923}.site-grid{inset:0;background-image:radial-gradient(rgba(15,23,42,.07) 1px,transparent 0);background-size:22px 22px;-webkit-mask-image:radial-gradient(900px 520px at 50% 0,#000 30%,transparent 75%);mask-image:radial-gradient(900px 520px at 50% 0,#000 30%,transparent 75%)}.site-glow,.site-grid{position:absolute;pointer-events:none}.site-glow{inset:-20% 0 auto 0;height:720px;background:radial-gradient(520px 320px at 22% 18%,rgba(124,58,237,.22),transparent 70%),radial-gradient(560px 340px at 78% 8%,rgba(34,211,238,.18),transparent 70%);filter:blur(10px)}.site-nav{position:-webkit-sticky;position:sticky;top:0;z-index:40;width:100%;background:transparent;border:none;padding:0}.site-nav-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;grid-gap:2rem;gap:2rem;max-width:1180px;height:64px;margin:0 auto;padding:0 1.5rem;border-radius:0;background:transparent;border:none;box-shadow:none}.site-brand{justify-self:start;display:inline-flex;align-items:center;gap:.6rem;font-weight:700;font-size:1.05rem;letter-spacing:-.02em;color:#171923}.site-brand:hover{text-decoration:none}.site-logo{width:auto;height:auto;border-radius:0;box-shadow:none}.site-links{justify-self:center;display:flex;align-items:center;gap:1.6rem}.site-links a{font-size:.875rem;font-weight:500;letter-spacing:-.005em;color:#34363f;padding:.4rem .15rem;transition:color .15s ease}.site-links a:hover{color:var(--brand-primary);text-decoration:none}@media (max-width:820px){.site-links{display:none}}.site-actions{justify-self:end;display:flex;align-items:center;gap:.5rem}.btn-quiet{padding:.5rem .75rem;border-radius:9px;font-size:.875rem;font-weight:500;color:#34363f;transition:color .15s ease,background .15s ease}.btn-quiet:hover{background:rgba(202,79,97,.08);color:var(--brand-primary-active);text-decoration:none}.btn-solid{display:inline-flex;align-items:center;justify-content:center;padding:.58rem 1.1rem;border-radius:9px;font-size:.875rem;font-weight:600;letter-spacing:-.005em;color:#fff!important;background:var(--brand-primary);box-shadow:0 6px 16px rgba(202,79,97,.22);transition:background .15s ease,box-shadow .15s ease,transform .15s ease}.btn-solid:hover{background:var(--brand-primary-hover);transform:translateY(-1px);box-shadow:0 10px 22px rgba(202,79,97,.3);text-decoration:none}.btn-solid:active{background:var(--brand-primary-active);transform:translateY(0)}.btn-solid.large{padding:.85rem 1.5rem;font-size:1rem;border-radius:12px}.hero{position:relative;z-index:1;max-width:900px;margin:0 auto;padding:5.5rem 1.5rem 3rem;text-align:center}.hero-pill{display:inline-flex;align-items:center;gap:.5rem;padding:.35rem .8rem;border-radius:999px;border:1px solid rgba(15,23,42,.1);background:rgba(255,255,255,.85);color:#475569;font-size:.78rem;font-weight:600;box-shadow:0 6px 20px rgba(15,23,42,.05);margin-bottom:1.6rem}.hero-dot{width:7px;height:7px;border-radius:999px;background:linear-gradient(135deg,#b94154,#e9a0aa);box-shadow:0 0 0 4px rgba(139,92,246,.15)}.hero h1{margin:0 0 1.2rem;font-size:clamp(2.6rem,6vw,4.2rem);font-weight:800;line-height:1.03;letter-spacing:-.045em}.hero-accent{background:linear-gradient(100deg,#a73549,#ca4f61 45%,#8b5361);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-sub{max-width:640px;margin:0 auto 2rem;color:#475569;font-size:1.06rem;line-height:1.65}.hero .home-examples,.hero-points{justify-content:center}.hero-points{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;margin:1.6rem 0 0;padding:0;list-style:none;color:#475569;font-size:.85rem}.hero-points li{display:inline-flex;align-items:center;gap:.4rem}.hero-points li:before{content:"✓";color:#ca4f61;font-weight:700}.capability-strip{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:1rem;gap:1rem;max-width:1080px;margin:2.5rem auto 0;padding:1.6rem 1.5rem;border-block:1px solid rgba(15,23,42,.08)}.capability{display:flex;flex-direction:column;gap:.2rem}.capability-value{font-size:1.25rem;font-weight:700;letter-spacing:-.02em}.capability-label{font-size:.8rem;color:#64748b}.section{position:relative;z-index:1;max-width:1120px;margin:0 auto;padding:5rem 1.5rem}.section-alt{max-width:none;background:#fff;border-block:1px solid rgba(15,23,42,.07);padding-inline:max(1.5rem,calc((100vw - 1120px) / 2))}.section-head{max-width:680px;margin:0 auto 2.8rem;text-align:center}.eyebrow{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:#a73549;margin-bottom:.8rem}.section-head h2{margin:0 0 .7rem;font-size:clamp(1.7rem,3.2vw,2.3rem);font-weight:800;letter-spacing:-.035em;line-height:1.15}.section-head p{margin:0;color:#64748b;line-height:1.65}.feature-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:1rem;gap:1rem}.feature-tile{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:1.6rem;box-shadow:0 1px 2px rgba(15,23,42,.04);transition:transform .15s ease,box-shadow .15s ease}.feature-tile:hover{transform:translateY(-2px);box-shadow:0 18px 40px rgba(15,23,42,.08)}.feature-tile h3{margin:0 0 .5rem;font-size:1rem;font-weight:700;letter-spacing:-.01em}.feature-tile p{margin:0;color:#64748b;font-size:.9rem;line-height:1.6}.step-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:1.2rem;gap:1.2rem;margin:0;padding:0;list-style:none}.step{padding:1.4rem 0;border-top:2px solid rgba(15,23,42,.08)}.step-index{display:block;font-size:.8rem;font-weight:700;letter-spacing:.12em;color:#a73549;margin-bottom:.6rem}.step h3{margin:0 0 .4rem;font-size:1.05rem;letter-spacing:-.01em}.step p{margin:0;color:#64748b;font-size:.9rem;line-height:1.6}.global-band{position:relative;z-index:1;display:grid;grid-template-columns:1.15fr .85fr;grid-gap:2.5rem;gap:2.5rem;align-items:center;max-width:1120px;margin:1rem auto 5rem;padding:3.2rem;border-radius:28px;background:radial-gradient(600px 300px at 85% 0,rgba(34,211,238,.22),transparent 65%),radial-gradient(520px 320px at 5% 100%,rgba(124,58,237,.3),transparent 65%),#171923;color:#e2e8f0;overflow:hidden}.global-copy .eyebrow{color:#a5b4fc}.global-copy h2{margin:0 0 .8rem;font-size:clamp(1.7rem,3vw,2.2rem);font-weight:800;letter-spacing:-.035em;color:#fff}.global-copy p{margin:0 0 1.4rem;color:#94a3b8;line-height:1.7}.lang-chips{display:flex;flex-wrap:wrap;gap:.5rem}.lang-chips span{padding:.35rem .7rem;border-radius:999px;border:1px solid rgba(226,232,240,.18);font-size:.78rem;color:#cbd5e1}.global-panel,.lang-chips span{background:rgba(255,255,255,.04)}.global-panel{border:1px solid rgba(226,232,240,.12);border-radius:18px;padding:1.4rem;display:flex;flex-direction:column;gap:.9rem}.panel-row{display:flex;align-items:center;gap:.7rem}.panel-dot{width:8px;height:8px;border-radius:999px;background:linear-gradient(135deg,#b94154,#e9a0aa)}.panel-dot.dim{background:rgba(226,232,240,.25)}.panel-line{height:8px;border-radius:999px;background:rgba(226,232,240,.16)}.panel-line.w70{width:70%}.panel-line.w50{width:50%}.panel-line.w60{width:60%}.panel-divider{height:1px;background:rgba(226,232,240,.12)}.panel-chip{padding:.2rem .55rem;border-radius:8px;font-size:.7rem;font-weight:700;letter-spacing:.08em;background:linear-gradient(135deg,#a73549,#8b5361);color:#fff}.panel-chip.muted{background:rgba(255,255,255,.06);color:#94a3b8}.cta-band{position:relative;z-index:1;max-width:880px;margin:0 auto;padding:4.5rem 1.5rem 5.5rem;text-align:center}.cta-band h2{margin:0 0 .7rem;font-size:clamp(2rem,4vw,2.8rem);font-weight:800;letter-spacing:-.04em}.cta-band p{margin:0 0 1.8rem;color:#64748b;font-size:1.02rem}.site-footer{position:relative;z-index:1;border-top:1px solid rgba(15,23,42,.08);background:#fff;padding:3rem 1.5rem 2rem}.site-footer-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2rem;max-width:1120px;margin:0 auto 2rem}.site-footer-brand{max-width:320px}.site-footer-brand p{margin:.8rem 0 0;color:#64748b;font-size:.88rem;line-height:1.6}.site-footer-links{display:flex;gap:4rem}.site-footer-links h4{margin:0 0 .7rem;font-size:.75rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#94a3b8}.site-footer-links a{display:block;margin-bottom:.45rem;font-size:.88rem;color:#475569}.site-footer-links a:hover{color:#171923;text-decoration:none}.site-footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem;max-width:1120px;margin:0 auto;padding-top:1.4rem;border-top:1px solid rgba(15,23,42,.06);color:#94a3b8;font-size:.8rem}@media (max-width:900px){.site-links{display:none}.hero{padding-top:3.5rem}.capability-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-grid-3,.global-band,.step-list{grid-template-columns:1fr}.global-band{padding:2rem;margin-inline:1.25rem}.site-footer-links{gap:2.5rem}}.clarify-card{counter-reset:question;padding:1.75rem 1.75rem 1.5rem;border:1px solid var(--border);border-radius:20px;background:var(--surface);box-shadow:0 18px 50px rgba(15,23,42,.07)}.clarify-card,.clarify-head{display:flex;flex-direction:column}.clarify-head{gap:.3rem;padding-bottom:1.1rem;border-bottom:1px solid var(--border)}.clarify-eyebrow{font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--primary)}.clarify-head h2{margin:0;font-size:1.3rem;font-weight:700;letter-spacing:-.025em}.clarify-head p{margin:0;font-size:.86rem;line-height:1.55;color:var(--text-muted);max-width:34rem}.clarify-card fieldset.question{counter-increment:question;margin:0;padding:1.15rem 0 1.2rem;border:0;border-bottom:1px solid var(--border);border-radius:0;background:transparent;box-shadow:none}.clarify-card fieldset.question:last-of-type{border-bottom:0;padding-bottom:.6rem}.clarify-card fieldset.question legend{display:flex;align-items:baseline;gap:.55rem;padding:0;font-size:.95rem;font-weight:650;line-height:1.4}.clarify-card fieldset.question legend:before{content:counter(question);flex:0 0 auto;min-width:1.15rem;font-size:.72rem;font-weight:700;color:var(--primary)}.clarify-card fieldset.question .muted{margin:.2rem 0 0 1.7rem;font-size:.8rem;line-height:1.5;color:var(--text-muted)}.clarify-card fieldset.question .stack{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0 0 1.7rem}.clarify-card fieldset.question .option{display:inline-flex;align-items:center;gap:.45rem;margin:0;padding:.5rem .8rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);font-size:.85rem;line-height:1.3;cursor:pointer;transition:border-color .12s ease,background .12s ease,box-shadow .12s ease}.clarify-card fieldset.question .option:hover{border-color:#e9a0aa;background:#f8f6f3}.clarify-card fieldset.question .option:has(input:checked){border-color:var(--primary);background:var(--primary-soft);color:var(--primary);box-shadow:0 0 0 3px rgba(79,70,229,.1);font-weight:600}.clarify-card fieldset.question .option input[type=checkbox],.clarify-card fieldset.question .option input[type=radio]{width:.95rem;height:.95rem;margin:0;accent-color:var(--primary)}.clarify-card fieldset.question .stack>input:not([type=radio]):not([type=checkbox]){flex:1 1 100%;width:100%;margin-top:.1rem;padding:.6rem .8rem;border-radius:10px;font-size:.88rem}.clarify-card fieldset.question>input:not([type=radio]):not([type=checkbox]){width:calc(100% - 1.7rem);margin:.6rem 0 0 1.7rem;padding:.6rem .8rem;border-radius:10px;font-size:.88rem}.clarify-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-top:.4rem;padding-top:1.2rem;border-top:1px solid var(--border)}.clarify-actions button[type=submit]{padding:.8rem 1.3rem;border-radius:12px;font-size:.95rem;font-weight:650;box-shadow:0 10px 24px rgba(79,70,229,.22)}.clarify-hint{font-size:.78rem;color:var(--text-muted)}.legal-prose{font-size:.97rem;line-height:1.75;color:var(--text)}.legal-prose h2{font-size:1.15rem;letter-spacing:-.02em;margin:2.25rem 0 .6rem}.legal-prose p{margin:0 0 1rem}.legal-prose ul{margin:0 0 1rem;padding-left:1.25rem}.legal-prose li{margin-bottom:.4rem}.legal-prose a{color:var(--brand-primary)}.legal-prose a:hover{color:var(--brand-primary-hover)}.site{position:relative;background:#f8f6f3;color:#20212a}.site-hero-video{position:absolute;inset:0 0 auto;height:760px;overflow:hidden;z-index:0;pointer-events:none;background:url(/hero-poster.jpg) 50%/cover no-repeat}.site-hero-video video{width:100%;height:100%;object-fit:cover;opacity:.38}.site-hero-video:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(248,246,243,.6),rgba(248,246,243,.85) 55%,#f8f6f3)}@media (max-width:720px){.site-hero-video video{display:none}}@media (prefers-reduced-motion:reduce){.site-hero-video video{display:none}}.site-footer{background:#171923}.site-footer,.site-footer .site-brand,.site-footer h4{color:#f8f6f3}.site-footer .site-footer-brand p,.site-footer a,.site-footer-bottom{color:#a5a7b4}.site-footer a:hover,.site-footer-links a:hover{color:#e9a0aa;text-decoration:none}.site-footer-bottom{border-top-color:rgba(248,246,243,.12)}.app-top,.workspace-shell{--bg:#171923;--surface:#242735;--surface-muted:#292c39;--border:#383b49;--text:#f8f6f3;--text-muted:#a5a7b4;--primary-soft:#f7e5e8;background:var(--bg);color:var(--text)}.app-top .card,.workspace-shell .card{background:var(--surface);border-color:var(--border)}.app-top .topbar,.workspace-toolbar{background:#20222e;border-color:var(--border)}.app-top .card input,.app-top .card select,.app-top .card textarea,.workspace-shell input,.workspace-shell select,.workspace-shell textarea{background:#20222e;border-color:var(--border);color:var(--text)}