:root{--purple:#6d42c7;--purple2:#8b64df;--ink:#251b37;--muted:#71677f;--bg:#f8f6fc;--line:#e9e3f1;--white:#fff;--green:#149d72;--shadow:0 18px 55px rgba(55,31,92,.10)}
.button.danger{background:#fff0f0;color:#a52b2b;border:1px solid #ffd0d0}.actions{align-items:center}.actions form{display:inline-flex}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6}a{color:var(--purple);text-decoration:none}h1,h2,h3{line-height:1.16;margin:0 0 14px}h1{font-size:clamp(2rem,5vw,4.35rem)}h2{font-size:clamp(1.65rem,3vw,2.7rem)}p{margin:0 0 18px;color:var(--muted)}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1180px)/2));background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.brand{font-size:1.5rem;font-weight:900;color:var(--ink)}.brand span{color:var(--purple)}nav{display:flex;align-items:center;gap:22px}nav a{color:var(--ink);font-weight:650}.page{max-width:1180px;margin:auto;padding:42px 24px 80px}.button{border:0;border-radius:12px;background:linear-gradient(135deg,var(--purple),var(--purple2));color:#fff;padding:13px 20px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.button.small{padding:8px 13px;font-size:.88rem}.button.ghost{background:#fff;color:var(--purple);border:1px solid #d8cbed}.button.white{background:#fff;color:var(--purple)}.hero{min-height:610px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:70px}.hero h1 span{color:var(--purple)}.hero p{font-size:1.13rem;max-width:630px}.actions{display:flex;gap:12px;flex-wrap:wrap}.eyebrow{font-size:.77rem;letter-spacing:.16em;font-weight:900;color:var(--purple);margin-bottom:14px}.eyebrow.light{color:#e9dcff}.hero-card{background:linear-gradient(145deg,#fff,#f0e9ff);border:1px solid #e1d6f5;border-radius:28px;padding:18px;box-shadow:var(--shadow);transform:rotate(1.5deg)}.browser{display:flex;gap:7px;padding:4px 4px 16px}.browser i{width:10px;height:10px;border-radius:50%;background:#d5c8e7}.mini-page{background:#fff;padding:60px 38px;border-radius:19px;min-height:350px}.mini-page b{font-size:.8rem;color:var(--purple)}.mini-page h3{font-size:2rem;margin-top:45px}.mini-page span{color:var(--purple);font-weight:800}.section{padding:80px 0}.section-heading{text-align:center;margin-bottom:36px}.features,.stats,.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;box-shadow:0 8px 35px rgba(55,31,92,.05)}.features .card{min-height:220px}.icon{width:46px;height:46px;border-radius:13px;background:#eee7ff;color:var(--purple);display:grid;place-items:center;font-size:1.35rem;margin-bottom:25px}.cta{margin-top:50px;padding:46px;border-radius:26px;background:linear-gradient(135deg,#39205f,#7a49d2);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta p{color:#e9dcff}.auth-card{max-width:480px;margin:45px auto}.auth-card h1{font-size:2rem}.stack,.form-grid{display:grid;gap:16px}.form-grid{grid-template-columns:1fr 1fr}.full{grid-column:1/-1}label{font-weight:750;font-size:.91rem}input,textarea{width:100%;border:1px solid #dcd3e8;background:#fff;border-radius:11px;padding:12px 13px;margin-top:6px;font:inherit;color:var(--ink)}input:focus,textarea:focus{outline:3px solid #e7dbff;border-color:var(--purple)}.muted{color:var(--muted)}.center{text-align:center}.notice,.error{border-radius:12px;padding:13px 16px;margin:0 0 20px}.notice{background:#e6fbf4;color:#086746}.error{background:#fff0f0;color:#a52b2b}.setup-wrap{min-height:100vh;display:grid;place-items:center;padding:30px}.setup-card{max-width:760px;width:100%}.setup-card h1{font-size:2.25rem}.dashboard-head,.editor-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:15px 0 30px}.dashboard-head h1,.editor-head h1{font-size:2.3rem}.stats{margin-bottom:28px}.stats .card{display:flex;flex-direction:column}.stats small{color:var(--muted)}.stats strong{font-size:2rem}.empty{text-align:center;padding:65px}.empty .icon{margin:0 auto 18px}.project-grid{grid-template-columns:repeat(2,1fr)}.project-top{display:flex;justify-content:space-between;align-items:center}.status{display:inline-block;border-radius:999px;padding:4px 9px;background:#eee;color:#655f6b;font-size:.74rem;font-weight:850}.status.live{background:#daf7ed;color:#087253}.project-card h3{margin-top:22px}.project-url{display:block;margin-bottom:18px}.editor-meta{display:grid;grid-template-columns:1fr 1fr auto;gap:18px;align-items:end;margin-bottom:18px}.editor-meta label small{display:block;color:var(--muted);font-weight:500}.check{padding-bottom:11px;white-space:nowrap}.check input{width:auto;margin-right:7px}.editor-layout{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.code-panel,.preview-panel{padding:15px}.code-panel textarea{height:570px;resize:vertical;border-radius:10px;background:#17131f;color:#f4effb;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.84rem;line-height:1.55}.preview-panel iframe{width:100%;height:570px;border:1px solid var(--line);border-radius:10px;background:#fff}.savebar{position:sticky;bottom:15px;margin-top:18px;padding:13px 18px;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line)}footer{text-align:center;padding:30px;color:var(--muted);border-top:1px solid var(--line);background:#fff}
@media(max-width:850px){nav>a:not(.button){display:none}.hero{grid-template-columns:1fr;gap:30px;padding-top:35px}.hero-card{transform:none}.features,.stats,.project-grid{grid-template-columns:1fr}.cta{align-items:flex-start;flex-direction:column}.editor-meta,.editor-layout{grid-template-columns:1fr}.preview-panel iframe,.code-panel textarea{height:480px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.dashboard-head,.editor-head{align-items:flex-start;flex-direction:column}.savebar{gap:12px;align-items:flex-start;flex-direction:column}.savebar .button{width:100%}}
