/* Website pages: free templates (/templates and /templates/{slug}). */
.th { padding-block: 56px 64px; position: relative; text-align: center; }
.th h1 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; margin: 14px 0 12px; }
.th p { font-size: 18px; color: rgba(255,255,255,.85); margin: 0 auto; max-width: 640px; }
.tbadge { display: inline-block; margin-top: 18px; background: var(--amber); color: #2b1d00; font-weight: 700; font-size: 13px; padding: 4px 12px; border-radius: 999px; }

.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 56px 32px; }
.tgrid.small { padding-top: 8px; padding-bottom: 80px; }
@media (max-width: 960px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tcard:hover { transform: translateY(-4px); border-color: #b9e3d3; box-shadow: 0 22px 44px -26px rgba(6,77,58,.45); }
.ticon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(160deg, #4fe0a8, var(--green-d)); box-shadow: 0 4px 0 var(--green-dd); margin-bottom: 18px; }
.btopic { background: var(--chip); color: var(--dark); font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.tcard h2, .tcard h3 { font-size: 20px; line-height: 1.3; margin: 12px 0 8px; }
.tcard p { color: var(--muted); font-size: 15px; margin: 0 0 18px; flex: 1; }
.bmore { display: inline-flex; align-items: center; gap: 6px; color: var(--dark); font-weight: 700; font-size: 14.5px; }

/* one template: form on the left, live sheet on the right */
.tlayout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 36px; padding-block: 48px 40px; align-items: start; }
@media (max-width: 900px) { .tlayout { grid-template-columns: 1fr; } }
.tform { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; }
@media (max-width: 900px) { .tform { position: static; } }
.tform h2 { font-size: 20px; margin: 0; }
.tform label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.tform input { font: 500 15px Inter, sans-serif; color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.tform input:focus { outline: none; border-color: var(--green); }
.tform .btn { width: 100%; }
.tnote { font-size: 12.5px; color: var(--muted); margin: 0; }

.sheet { background: #fff; color: #1d2a26; border-radius: 6px; padding: 56px 60px 90px; min-height: 760px; position: relative; border: 1px solid var(--line);
         box-shadow: 1px 1px 0 #dfe7e3, 2px 2px 0 #dfe7e3, 3px 3px 0 #dfe7e3, 4px 4px 0 #d6e0db, 5px 5px 0 #d6e0db, 6px 6px 0 #cfdad4, 0 40px 60px -30px rgba(15,29,36,.35); }
@media (max-width: 620px) { .sheet { padding: 32px 24px 80px; min-height: 0; } }
.sh { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 2.5px solid #1d2a26; padding-bottom: 14px; }
.sh b { font: 800 26px "Plus Jakarta Sans", Inter, sans-serif; } .sh > span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.st { text-align: center; font-size: 26px; margin: 30px 0 22px; color: var(--green-d); }
.sheet p { font-size: 17px; line-height: 1.75; margin: 0 0 14px; }
.tf { color: var(--green-d); font-weight: 700; border-bottom: 2px solid #b9e3d3; }
.sig { position: absolute; right: 60px; bottom: 44px; width: 190px; border-top: 1.5px solid #1d2a26; padding-top: 6px; text-align: center; color: var(--muted); font-size: 15px; }
.cl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
@media (max-width: 620px) { .cl { grid-template-columns: 1fr; } }
.cl h4 { font: 800 18px "Plus Jakarta Sans", Inter, sans-serif; color: var(--green-d); border-bottom: 1.5px solid var(--line); padding-bottom: 8px; margin: 0 0 6px; }
.ci { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; padding: 7px 0; }
.ci i { width: 20px; height: 20px; border: 2px solid #1d2a26; border-radius: 5px; flex: none; margin-top: 3px; }

.msg { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; margin-bottom: 18px; }
.mh { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--muted); } .mh b { color: var(--ink); font-size: 16px; }
.mt { background: #e7f8ee; border-radius: 4px 16px 16px 16px; padding: 14px 16px; margin: 12px 0 14px; font-size: 16px; line-height: 1.6; }
.ma { display: flex; gap: 10px; flex-wrap: wrap; }

.tcta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: linear-gradient(120deg, #0b1a20, #132a33 55%, #1f3a44); color: #fff; border-radius: 22px; padding: 32px 36px; }
.tcta h2 { margin: 0 0 6px; font-size: 24px; } .tcta p { margin: 0; color: rgba(255,255,255,.8); max-width: 560px; }
.tcta-b { display: flex; gap: 10px; flex-wrap: wrap; } .tcta .btn.outline { border-color: rgba(255,255,255,.55); color: #fff; }
.tfb { display: flex; align-items: center; gap: 16px; margin: 24px 0 48px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; color: #1b6fb0; }
.tfb:hover { border-color: #9cc6e8; }
.tfb span { flex: 1; color: var(--ink); } .tfb b { display: block; font-size: 16px; } .tfb span { font-size: 14px; color: var(--muted); }
.tmore { font-size: 22px; margin: 0 0 8px; }

/* printing: only the sheet */
@media print {
    body > *:not(.aurora), .tform, .tcta, .tfb, .tmore, .tgrid, .wa-float, .promo, header, footer { display: none !important; }
    .aurora::before, .aurora::after { display: none; }
    .tlayout { display: block; padding: 0; } .wrap { padding: 0; max-width: none; }
    .sheet { box-shadow: none; border: 0; padding: 0 0 80px; min-height: 0; }
    .tf { border: 0; color: inherit; }
}
