.template-intro { padding-top: 30px; }
.template-intro .section-title { font-size: clamp(38px, 5vw, 60px); margin: 12px 0 24px; }
.template-hero-grid, .template-example-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.template-downloads { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.template-format-note, .template-caption, .template-review { font-size: 14px; color: var(--fg3); }
.template-format-note { margin: 12px 0; }
.template-caption { margin-top: 14px; line-height: 1.5; }
.template-review { margin-top: 30px; }
.template-review a, .template-text-link, .template-hub-links a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 4px; }
.template-text-link { display: inline-block; margin-top: 16px; font-weight: 600; }
.template-document { background: white; border: 1px solid var(--border); border-top: 5px solid var(--teal); border-radius: 3px; padding: 30px; box-shadow: var(--shadow-soft); color: var(--fg1); }
.document-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--fg3); font-size: 11px; text-transform: uppercase; font-weight: 700; letter-spacing: .06em; }
.document-badge { padding: 4px 8px; background: var(--teal-soft); color: var(--teal-strong); border-radius: 3px; }
.document-heading { font-family: var(--font-display); text-transform: uppercase; font-size: 34px; line-height: 1.1; margin: 22px 0; }
.document-lines > div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 12px 0; font-size: 14px; }
.document-lines dd { white-space: nowrap; font-variant-numeric: tabular-nums; }
.document-lines .document-total { border-top: 2px solid var(--navy); font-weight: 700; font-size: 19px; }
.document-aside { margin-top: 12px; padding: 14px; background: var(--bg-wash); font-size: 13px; color: var(--fg2); }
.template-field-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.template-number { display: block; font-size: 13px; font-weight: 700; color: var(--teal-strong); margin-bottom: 16px; }
.template-field-grid .card h3, .template-steps h3 { margin-bottom: 12px; }
.template-example-grid h2 { margin: 10px 0 22px; }
.template-note { margin-top: 24px; padding: 18px 22px; border-left: 3px solid var(--teal); background: var(--teal-subtle); color: var(--fg2); font-size: 15px; }
.template-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style-position: inside; gap: 32px; counter-reset: template-step; list-style: none; }
.template-steps li { position: relative; padding-left: 52px; counter-increment: template-step; }
.template-steps li::before { content: counter(template-step); position: absolute; left: 0; top: 0; background: var(--navy); color: white; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; font-weight: 700; }
.template-steps p { color: var(--fg2); }
.template-product-cta { padding: 36px; background: var(--teal-subtle); border: 1px solid var(--teal-soft); display: grid; grid-template-columns: 1.7fr 1fr; gap: 36px; align-items: center; border-radius: var(--r-xl); }
.template-product-cta h2 { margin: 12px 0 18px; }
.template-cta-actions { display: flex; flex-direction: column; align-items: flex-start; }
.template-hub-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--surface); }
.template-hub-card .template-document { margin: 28px 28px 0; box-shadow: none; background: var(--bg); }
.template-document-mini .document-aside { display: none; }
.template-hub-copy { padding: 28px; }
.template-hub-copy h2 { margin: 12px 0 16px; }
.template-hub-copy > p { color: var(--fg2); }
.template-hub-copy .btn { margin-top: 10px; }
.template-hub-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.template-intro .section-head { max-width: 760px; }
.templates-resource-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.templates-resource-links a { color: var(--teal-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.template-intro :target, #example, #instructions, #choose { scroll-margin-top: 96px; }
@media (max-width: 980px) { .template-hero-grid, .template-example-grid { gap: 32px; } .template-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .template-hero-grid, .template-example-grid, .template-field-grid, .template-steps, .template-product-cta { grid-template-columns: 1fr; }
  .template-hero-grid { gap: 34px; }
  .template-document { padding: 22px; }
  .template-downloads { flex-direction: column; align-items: stretch; }
  .template-downloads .btn { justify-content: center; text-align: center; }
  .template-product-cta { padding: 24px; gap: 20px; }
  .template-hub-card .template-document { margin: 20px 20px 0; }
  .template-hub-copy { padding: 24px; }
}
@media print {
  header.site, footer.site, .final-cta, .template-downloads, .template-cta-actions { display: none; }
  body { color: black; background: white; }
  .band { padding: 20px 0; }
  .template-document, .card, .template-steps li { break-inside: avoid; box-shadow: none; }
  .template-hero-grid, .template-example-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
