/* The help centre /help and its articles (T13.15); the header, footer, buttons and badges are in site/site.css. */
.eyebrow { color: var(--fire-300); text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.12em; font-weight: 600; margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }

.help-hero {
	padding: 4rem 0 3rem;
	background: radial-gradient(ellipse 60% 70% at 15% 0%, rgba(255, 78, 0, 0.14), transparent 70%), var(--bg);
}
.help-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.help-search { display: flex; gap: 0.5rem; max-width: 38rem; margin-top: 1.75rem; }
.help-search input {
	flex: 1; min-width: 0; background: var(--surface-2); color: var(--text); border: 1px solid var(--border);
	border-radius: 0.5rem; padding: 0.8rem 1rem; font: inherit;
}
.help-search input:focus { outline: none; border-color: var(--fire-500); }

.help-band { padding: 3rem 0; border-top: 1px solid var(--hairline); }
.help-title { font-size: 1.35rem; margin-bottom: 0.4rem; }
.help-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.help-topic { scroll-margin-top: calc(var(--header-h) + 1rem); }
.help-topic-lead { color: var(--muted); margin: 0 0 1rem; font-size: 0.95rem; }
.help-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.help-list a {
	display: grid; gap: 0.2rem; padding: 1rem 1.1rem; text-decoration: none; background: var(--surface);
	border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.15s, background 0.15s;
}
.help-list a:hover, .help-list a:focus-visible { border-color: rgba(255, 106, 0, 0.45); background: var(--surface-2); }
.help-list b { color: var(--text); font-family: var(--font-display); font-weight: 600; }
.help-list span { color: var(--muted); font-size: 0.9rem; }
.help-empty { color: var(--muted); }

/* article */
.help-article { padding: 3rem 0 4rem; }
.help-article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3.5rem; align-items: start; }
.crumbs { font-size: 0.85rem; color: var(--muted-2); margin-bottom: 1.25rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.help-byline { font-size: 0.85rem; color: var(--muted-2); margin: -0.5rem 0 1rem; }
.help-article h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.help-aside {
	position: sticky; top: calc(var(--header-h) + 1.5rem); background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); padding: 1.25rem; display: grid; gap: 0.6rem; justify-items: start; font-size: 0.92rem;
}
.help-aside p { margin: 0; color: var(--muted); }
.help-aside-gap { margin-top: 0.75rem !important; }

.prose { max-width: 44rem; color: var(--text-2); font-size: 1.02rem; line-height: 1.75; margin-top: 2rem; }
.prose h2 { font-size: 1.4rem; margin: 2.25rem 0 0.75rem; }
.prose h3 { font-size: 1.12rem; margin: 1.75rem 0 0.5rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li::marker { color: var(--fire-300); }
.prose strong { color: var(--text); }
.prose code { font-size: 0.9em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 0.3rem; padding: 0.05rem 0.35rem; }
.prose blockquote { margin: 1.5rem 0; padding: 0.9rem 1.2rem; border-left: 3px solid var(--fire-500); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }
.prose a { text-underline-offset: 2px; }

.help-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3rem; max-width: 44rem; }
.help-pager a { display: grid; gap: 0.2rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; background: var(--surface); }
.help-pager a:hover { border-color: rgba(255, 106, 0, 0.45); }
.help-pager span { font-size: 0.8rem; color: var(--muted); }
.help-pager b { color: var(--text); }
.help-pager-next { text-align: right; grid-column: 2; }

/* the ending every help page shares */
.help-cta { padding: 0 0 4rem; }
.help-cta-box {
	display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: 2rem 2.25rem;
	border: 1px solid rgba(255, 106, 0, 0.3); border-radius: var(--radius-xl);
	background: radial-gradient(ellipse 70% 120% at 100% 100%, rgba(255, 78, 0, 0.16), transparent 70%), var(--surface);
}
.help-cta-box h2 { font-size: 1.5rem; margin-bottom: 0.3rem; }
.help-cta-box p { margin: 0; color: var(--muted); max-width: 34rem; }
.help-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

@media (max-width: 960px) {
	.help-topics { grid-template-columns: 1fr; }
	.help-article-grid { grid-template-columns: 1fr; }
	.help-aside { position: static; }
}
@media (max-width: 560px) {
	.help-search { flex-direction: column; }
	.help-pager { grid-template-columns: 1fr; }
	.help-pager-next { grid-column: 1; text-align: left; }
}
