/* The crawlable pages (template gallery, template and guide pages), on top of legal.css. Headings in Geist Pixel. */
h1, h2, .home, .cta { font-family: 'Geist Pixel', ui-monospace, monospace; font-weight: 400; }
h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.05; }
h2 { font-size: 20px; }
main { max-width: 960px; }
.muted { color: var(--muted); }
.cta { display: inline-flex; align-items: center; gap: 10px; margin: 8px 0; padding: 11px 18px; border-radius: 6px; background: #ececee; color: #111214; text-decoration: none; font-size: 15px; letter-spacing: .01em; border: 1px solid #ececee; transition: background .15s, color .15s; }
.cta::after { content: '→'; transition: transform .15s; }
.cta:hover { background: transparent; color: #ececee; }
.cta:hover::after { transform: translateX(3px); }
.cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.poster { display: block; width: min(320px, 100%); height: auto; border-radius: 14px; border: 1px solid var(--line); margin: 8px 0 12px; }
.tpl-cards { list-style: none; padding: 0; margin: 12px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tpl-cards.small { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tpl-cards a { display: grid; gap: 4px; color: var(--text); text-decoration: none; }
.tpl-cards img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: #222327; }
.tpl-cards strong { font-size: 14px; }
.tpl-cards span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.tpl-cards a:hover strong { color: var(--accent); }
.top { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 8px; }
.top .poster { width: 100%; margin: 0; }
.top h1 { margin-top: 2px; }
.eyebrow { font-family: 'Geist Pixel', ui-monospace, monospace; font-size: 12px; letter-spacing: .06em; color: var(--accent); margin: 0 0 8px; text-transform: lowercase; }
.facts { list-style: none; padding: 0; margin: 4px 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--muted); display: grid; line-height: 1.3; }
.facts b { font-family: 'Geist Pixel', ui-monospace, monospace; font-weight: 400; font-size: 18px; color: var(--text); }
.read { max-width: 720px; }
.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 8px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.02); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: 'Geist Pixel', ui-monospace, monospace; font-size: 20px; color: var(--accent); line-height: 1.3; }
.steps strong { color: var(--text); }
.steps span { color: #c9cbd1; font-size: 14px; }
.prompts { list-style: none; padding: 0; display: grid; gap: 8px; }
.prompts a { display: block; border: 1px dashed rgba(255,255,255,.18); border-radius: 10px; padding: 10px 14px; color: #d6d7db; text-decoration: none; font-size: 14px; }
.prompts a:hover { border-color: var(--accent); color: var(--text); }
.more { columns: 2; column-gap: 24px; }
@media (max-width: 640px) { .top { grid-template-columns: 1fr; gap: 16px; } .top .poster { width: 160px; } .more { columns: 1; } }
