@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap');
*{box-sizing:border-box}body{margin:0;background:#fffefb;color:#20231f;font:16px/1.6 'DM Sans',sans-serif;--muted:#777c72;--line:#e6e8df;--yellow:#ffcf29}body.dark{background:#181d18;color:#eff2e8;--muted:#a9b09f;--line:#363f30}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer;color:inherit}a:focus-visible,button:focus-visible{outline:3px solid #c6a01e;outline-offset:5px}header,footer{max-width:980px;padding:28px 30px;margin:auto;display:flex;justify-content:space-between;align-items:center;font-size:13px;color:var(--muted)}.brand{font-weight:800;letter-spacing:2px;color:inherit;font-size:18px}.simple-main{max-width:900px;margin:auto;padding:35px 30px 60px}h1,h2,h3,p{margin:0}h1{font:800 clamp(32px,4vw,47px)/1.17 Manrope,sans-serif;letter-spacing:-1.8px}.welcome>p{font-size:18px;color:var(--muted);max-width:650px;margin:18px 0 28px}.cover{display:block;width:100%;padding:0;border:0;background:#111;border-radius:9px;overflow:hidden;position:relative}.cover img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.play{position:absolute;left:calc(50% - 27px);top:calc(50% - 27px);width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:#20231f;font-size:18px;box-shadow:0 4px 25px #0003}.cover:hover .play{background:#ffe479}.source{display:inline-block;font-size:13px;color:var(--muted);margin-top:12px;text-decoration:underline;text-underline-offset:3px}section+section{margin-top:58px}h2{font:700 25px/1.3 Manrope,sans-serif;letter-spacing:-.5px;margin-bottom:22px}.videos{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.videos .play{width:36px;height:36px;left:calc(50% - 18px);top:calc(50% - 18px);font-size:12px}.videos h3{font-size:15px;line-height:1.5;margin-top:12px;font-weight:600}.templates>p{color:var(--muted);margin-top:-12px;margin-bottom:25px}.template-row{display:flex;justify-content:space-between;gap:25px;align-items:center;border-top:1px solid var(--line);padding:23px 0}.template-row h3{font-size:17px;font-weight:600}.template-row p{font-size:14px;color:var(--muted);margin-top:4px}.links{display:flex;align-items:center;gap:18px;flex-shrink:0;font-size:13px}.links button{padding:0;border:0;background:none;text-decoration:underline;text-underline-offset:4px;font-size:13px}.links>a{background:var(--yellow);padding:10px 14px;border-radius:6px;font-weight:600;color:#20231f}.templates>small{display:block;font-size:12px;color:var(--muted);margin-top:18px}footer{border-top:1px solid var(--line);padding-top:22px;padding-bottom:30px}footer nav{display:flex;gap:18px}dialog{width:min(960px,94vw);background:#171d17;color:white;border:1px solid #46533c;border-radius:10px;padding:20px}dialog::backdrop{background:#000c}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.dialog-top button{background:#303a2b;color:white;border:0;border-radius:50%;width:38px;height:38px}#embed{aspect-ratio:16/9}iframe{width:100%;height:100%;border:0}#fallback{display:block;font-size:13px;text-decoration:underline;margin-top:16px}@media(max-width:650px){header,footer{padding:22px}.simple-main{padding:22px 22px 45px}.welcome>p{font-size:16px}.videos{grid-template-columns:1fr;gap:26px}.videos h3{font-size:17px}.template-row{align-items:flex-start;flex-direction:column;gap:16px}.links{width:100%;justify-content:space-between}section+section{margin-top:40px}h1{font-size:35px}}
/* Real template previews, matching the original toolkit gallery. */
.template-row{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:0;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:24px;align-items:stretch}.template-preview{display:flex;align-items:center;justify-content:center;background:#eeeef4;min-height:240px}.template-preview img{display:block;width:100%;height:100%;max-height:340px;object-fit:contain}.template-info{padding:30px;align-self:center}.template-info h3{font-size:23px;line-height:1.3}.template-info p{margin:12px 0 22px;font-size:15px}.template-info .links{flex-wrap:wrap;gap:16px}.dark .template-preview{background:#0c100e}@media(max-width:650px){.template-row{grid-template-columns:1fr;gap:0}.template-preview{min-height:0}.template-preview img{height:auto;max-height:360px}.template-info{padding:24px}.template-info .links{justify-content:flex-start}}
