/**
 * Help center page — reuses site-chrome.css and tuition-classes.css.
 */

.tm-help-hero {
	margin-bottom: 1.35rem;
}

.tm-help-note {
	margin-bottom: 1.25rem;
}

.tm-help-note p {
	margin: 0;
}

.tm-help-link-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8rem;
}

.tm-help-link {
	display: block;
	padding: 0.85rem 0.95rem;
	border: 1px solid var(--tm-c-border);
	border-radius: 12px;
	background: linear-gradient(180deg, var(--tm-c-surface2), var(--tm-c-surface));
	color: var(--tm-c-text) !important;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}

.tm-help-link:hover {
	border-color: rgba(20, 184, 166, 0.45);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
	transform: translateY(-1px);
}

.tm-help-link__title {
	display: block;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.4;
}

.tm-help-link__meta {
	display: block;
	margin-top: 0.28rem;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--tm-c-muted);
}

.tm-help-article {
	font-size: 0.95rem;
	line-height: 1.68;
	color: var(--tm-c-text);
}

.tm-help-article > *:first-child {
	margin-top: 0;
}

.tm-help-article p {
	margin: 0 0 1rem;
}

.tm-help-article ol,
.tm-help-article ul {
	margin: 0 0 1rem 1.35rem;
	padding: 0;
}

.tm-help-article li + li {
	margin-top: 0.42rem;
}

.tm-help-article h3 {
	margin: 0 0 0.85rem;
	font-size: 1.15rem;
	line-height: 1.3;
}

.tm-help-article h4 {
	margin: 1.8rem 0 0.8rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tm-c-accent);
}

.tm-help-section {
	scroll-margin-top: 1rem;
}

.tm-help-section + .tm-help-section {
	padding-top: 1.35rem;
	margin-top: 1.35rem;
	border-top: 1px solid var(--tm-c-border);
}

.tm-help-page .tm-help-article a {
	color: var(--tm-c-accent);
	font-weight: 700;
	text-decoration: none !important;
}

.tm-help-page .tm-help-article a:hover {
	text-decoration: underline !important;
}

.tm-help-back-to-top {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.65rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(20, 184, 166, 0.28);
	background: rgba(15, 23, 42, 0.92);
	color: #fff !important;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
	z-index: 20;
}

.tm-help-back-to-top:hover {
	background: var(--tm-c-accent);
}

@media (max-width: 760px) {
	.tm-help-link-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.tm-help-back-to-top {
		right: 0.75rem;
		bottom: 0.75rem;
		padding: 0.58rem 0.8rem;
		font-size: 0.76rem;
	}
}

/* Terms page — inline definitions */
.tm-terms-definitions {
	margin: 0.35rem 0 0;
}

.tm-terms-definitions p {
	margin: 0 0 0.65rem;
	font-size: 0.92rem;
	line-height: 1.62;
}

.tm-terms-definitions p:last-child {
	margin-bottom: 0;
}

.tm-terms-definitions strong {
	font-weight: 700;
}

.tm-help-article .tm-term-highlight {
	color: var(--tm-c-accent2);
	font-weight: 600;
}

.tm-about-signoff {
	margin-top: 0.5rem;
	font-weight: 600;
	color: var(--tm-c-muted);
}
