/* The template index and each template's page (src/templates.html, src/template.html), on top of legal.css and guide.css. */
main.template-page { max-width: 1120px; }
.template-page h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.12; }
.template-hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 24px; }
.template-eyebrow { margin: 0 0 8px; color: var(--green); font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.template-lead { font-size: 18px; color: var(--ink); max-width: 62ch; }
.template-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 24px 0 12px; }
.template-demo-link { font-weight: 600; }
.template-note { margin: 0; color: var(--muted); font-size: 14px; }
.template-shot { position: relative; display: block; padding: 0 40px 32px 0; }
.template-shot > img:first-child { display: block; width: 100%; height: auto; border: 1px solid rgba(18, 49, 37, .15); border-radius: 12px; box-shadow: 0 18px 50px rgba(21, 52, 40, .12); }
.template-phone { position: absolute; right: 0; bottom: 0; width: 22%; height: auto; border: 5px solid #1b2a23; border-radius: 16px; box-shadow: 0 16px 40px rgba(21, 52, 40, .25); }
.template-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.template-pages, .template-steps { padding-left: 22px; }
.template-features { display: grid; gap: 8px; padding: 0; list-style: none; }
.template-features li { position: relative; padding-left: 26px; }
.template-features li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.template-features li + li { margin-top: 0; }
.template-faq { border-bottom: 1px solid var(--line); padding: 12px 0; }
.template-faq summary { cursor: pointer; font-weight: 600; }
.template-faq p { margin: 8px 0 0; }
.template-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 16px 0 24px; }
.template-mini { display: grid; gap: 6px; align-content: start; color: var(--ink); text-decoration: none; }
.template-mini img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; border: 1px solid var(--line); border-radius: 10px; }
.template-mini h2, .template-mini h3 { margin: 6px 0 0; font: 700 17px/1.3 "Manrope", system-ui, sans-serif; }
.template-mini span { color: var(--muted); font-size: 14px; line-height: 1.5; }
.template-mini:hover h2, .template-mini:hover h3 { color: var(--green); }
.template-group h2 { margin-top: 48px; }
.template-actions a:focus-visible, .template-shot:focus-visible, .template-mini:focus-visible, .template-faq summary:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
@media (max-width: 860px) {
  .template-hero, .template-columns { grid-template-columns: 1fr; }
  .template-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .template-related { grid-template-columns: 1fr; }
  .template-shot { padding: 0 28px 24px 0; }
}
