/* Template landing pages: text on the left, a sample sheet of paper on the desk to the right. */
.bar .tab { text-decoration: none; }
.tpl { display: grid; grid-template-columns: minmax(18rem, 34rem) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 80rem; margin: 0 auto; padding: 2.5rem clamp(1rem, 3vw, 2rem) 3rem; }
.tpl-text h1, .tpl-index h1 { font-size: var(--step-4); line-height: 1; letter-spacing: -0.045em; margin: .3rem 0 1rem; font-weight: 900; }
.tpl-text h2 { font-size: var(--step-1); margin: 2rem 0 .6rem; }
.tpl-text ul { padding-left: 1.2rem; margin: 0; }
.tpl-text li { margin-bottom: .4rem; }
.tpl-text details { border-bottom: 1px solid var(--rule); padding: .7rem 0; }
.tpl-text summary { cursor: pointer; font-weight: 700; }
.tpl-text details p { color: var(--muted); margin: .4rem 0 0; }
.lede { font-size: var(--step-1); line-height: 1.45; max-width: 60ch; }
.crumbs { margin: 0; font-size: var(--step--1); }
.cta { display: inline-block; background: var(--carbon); color: #fff; font-weight: 700; padding: .8rem 1.4rem; border-radius: 6px; text-decoration: none; font-size: var(--step-1); }
.cta:hover { background: #1b33a8; }
.others { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.tpl-desk { align-self: start; position: sticky; top: 5rem; }
.paper.sample { aspect-ratio: auto; font-size: .85rem; }
.tpl-index { max-width: 60rem; margin: 0 auto; padding: 2.5rem clamp(1rem, 3vw, 2rem) 3rem; }
.tpl-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.tpl-list a { display: grid; gap: .2rem; padding: 1.1rem 1.2rem; background: var(--paper); text-decoration: none; color: var(--ink); height: 100%; }
.tpl-list a:hover { background: var(--carbon-soft); }
.tpl-list strong { font-size: var(--step-1); }
.tpl-list span { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 900px) { .tpl { grid-template-columns: 1fr; } .tpl-desk { position: static; } }

/* Support, privacy and terms pages: one readable column. */
.doc { max-width: 44rem; margin: 0 auto; padding: 2.5rem clamp(1rem, 3vw, 2rem) 3rem; line-height: 1.6; }
.doc h1 { font-size: var(--step-4); line-height: 1; letter-spacing: -0.045em; margin: .3rem 0 1rem; font-weight: 900; }
.doc h2 { font-size: var(--step-1); margin: 2.2rem 0 .5rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: .5rem; }
.doc details { border-bottom: 1px solid var(--rule); padding: .7rem 0; }
.doc summary { cursor: pointer; font-weight: 700; }
.doc details p { color: var(--muted); margin: .4rem 0 0; }
.doc-updated { margin: 0; color: var(--muted); font-size: var(--step--1); }
.doc-summary { background: var(--paper); border-left: 4px solid var(--carbon); padding: .2rem 1.4rem .6rem; margin: 1.5rem 0; }
.doc-summary h2 { margin-top: 1rem; }
.doc-facts { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin: 1rem 0 0; }
.doc-facts > div { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; background: var(--paper); padding: .7rem 1rem; }
.doc-facts dt { font-weight: 700; }
.doc-facts dd { margin: 0; }
.unset { color: var(--stamp); font-weight: 700; }
@media (max-width: 560px) { .doc-facts > div { grid-template-columns: 1fr; gap: .1rem; } }
