/* Scoped to the new template page. Existing homepage, cards and editor stay intact. */
.v2-site .template-landing .subpage-hero{padding:28px 0 24px}
.v2-site .template-landing .template-heading{max-width:1000px;margin:0 auto;text-align:center}
.v2-site .template-landing .template-heading h1{font-size:clamp(30px,3.4vw,50px);line-height:1.18}
.v2-site .template-landing .template-heading .template-intro{max-width:850px;margin-left:auto;margin-right:auto}
.v2-site .template-landing .template-intro{font-size:clamp(16px,2vw,20px);line-height:1.65;color:var(--color-text-secondary)}
.v2-site .template-landing .template-heading .button{margin-top:12px}
.v2-site .template-landing .template-demo{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,300px);gap:32px;padding:28px;border:1px solid var(--color-border-default);border-radius:24px;background:var(--color-bg-surface)}
.v2-site .template-landing .template-input-plan{align-self:center;min-width:0}
.v2-site .template-landing .template-demo h2{font-size:clamp(24px,3vw,34px)}
.v2-site .template-landing .template-portraits{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:28px 0 20px;padding:0;list-style:none}
.v2-site .template-landing .template-portraits li{min-width:0}
.v2-site .template-landing .template-portraits a{display:block;position:relative;text-decoration:none;color:var(--color-text-primary);font-size:12px;line-height:1.45}
.v2-site .template-landing .template-portraits img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:12px;border:1px solid var(--color-border-default);margin:0 0 10px}
.v2-site .template-landing .template-portrait-number{position:absolute;top:6px;left:6px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--color-primary);color:#181412;font-weight:700}
.v2-site .template-landing .template-portraits a:hover img,.v2-site .template-landing .template-portraits a:focus-visible img{border-color:var(--color-primary)}
.v2-site .template-landing .template-demo-note,.v2-site .template-landing .template-concert figcaption{font-size:12px;line-height:1.6;color:var(--color-text-secondary)}
.v2-site .template-landing .template-start-options{display:flex;flex-wrap:wrap;gap:12px 24px;padding-top:16px;border-top:1px solid var(--color-border-subtle);font-size:14px}
.v2-site .template-landing .template-concert{margin:0;min-width:0}
.v2-site .template-landing .template-concert video{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;background:#0a0b10;border-radius:16px}
.v2-site .template-landing .template-concert figcaption{margin-top:10px}
.v2-site .template-landing .template-role-section,.v2-site .template-landing .template-scene-section,.v2-site .template-landing .template-workflow,.v2-site .template-landing .template-specs,.v2-site .template-landing .template-faq,.v2-site .template-landing .template-final{margin-top:64px}
.v2-site .template-landing .template-role-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0}
.v2-site .template-landing .template-role{display:flex;gap:16px;padding:24px;background:var(--color-bg-surface);border:1px solid var(--color-border-subtle);border-radius:16px;scroll-margin-top:110px}
.v2-site .template-landing .template-role:target{border-color:var(--color-primary)}
.v2-site .template-landing .template-role-number{font-family:var(--font-mono);color:var(--color-primary);font-size:22px}
.v2-site .template-landing .template-role h3{margin:0 0 10px}
.v2-site .template-landing .template-role p:last-child{margin-bottom:0}
.v2-site .template-landing .template-role .eyebrow{margin:0 0 8px;font-size:10px}
.v2-site .template-landing .template-scene-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:24px 0}
.v2-site .template-landing .template-scene-link{display:flex;align-items:center;gap:16px;padding:12px;border:1px solid var(--color-border-subtle);border-radius:16px;text-decoration:none;color:var(--color-text-primary);background:var(--color-bg-surface)}
.v2-site .template-landing .template-scene-link:hover{border-color:var(--color-primary)}
.v2-site .template-landing .template-scene-link img{width:64px;height:80px;object-fit:cover;object-position:center top;border-radius:8px;flex-shrink:0}
.v2-site .template-landing .template-scene-link strong,.v2-site .template-landing .template-scene-link small{display:block}
.v2-site .template-landing .template-scene-link small{color:var(--color-text-secondary);margin-top:5px}
.v2-site .template-landing .template-scene-link>span:last-child{margin-left:auto;color:var(--color-primary)}
.v2-site .template-landing .template-workflow ol{padding-left:24px}
.v2-site .template-landing .template-workflow li{padding-left:6px;margin-bottom:18px}
.v2-site .template-landing .template-quality-options{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}
.v2-site .template-landing .template-quality-options>div{padding:24px;border:1px solid var(--color-border-default);border-radius:16px;background:var(--color-bg-surface)}
.v2-site .template-landing .template-quality-options h3{margin:12px 0}
.v2-site .template-landing .template-faq details{border-bottom:1px solid var(--color-border-default);padding:18px 0}
.v2-site .template-landing .template-faq summary{font-weight:600;cursor:pointer;line-height:1.5}
.v2-site .template-landing .template-final{text-align:center;padding:32px;border:1px solid var(--color-border-default);border-radius:24px;background:var(--color-bg-surface)}
.v2-site .template-landing .template-final nav{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 24px;font-size:13px;margin-top:24px}
.v2-site .template-landing a:focus-visible,.v2-site .template-landing summary:focus-visible{outline:2px solid var(--color-primary);outline-offset:5px}
@media(max-width:800px){.v2-site .template-landing .template-demo{grid-template-columns:1fr;padding:22px}.v2-site .template-landing .template-concert{width:min(100%,300px);justify-self:center}.v2-site .template-landing .template-role-list{grid-template-columns:1fr}}
@media(max-width:500px){.v2-site .template-landing .template-heading{text-align:left;margin-bottom:28px}.v2-site .template-landing .template-demo{gap:24px;padding:18px;border-radius:18px}.v2-site .template-landing .template-portraits{gap:6px}.v2-site .template-landing .template-portraits a{font-size:10px}.v2-site .template-landing .template-portrait-number{width:20px;height:20px;top:3px;left:3px;font-size:10px}.v2-site .template-landing .template-role-section,.v2-site .template-landing .template-scene-section,.v2-site .template-landing .template-workflow,.v2-site .template-landing .template-specs,.v2-site .template-landing .template-faq,.v2-site .template-landing .template-final{margin-top:42px}.v2-site .template-landing .template-scene-list,.v2-site .template-landing .template-quality-options{grid-template-columns:1fr}.v2-site .template-landing .template-role{padding:18px}.v2-site .template-landing .template-final{padding:24px 18px}.v2-site .template-landing .button{max-width:100%;white-space:normal;text-align:center}}
