/* ==========================================================================
   FAQ page — self-contained styling, scoped under .faq-page so it doesn't
   depend on classes from other stylesheets. Matches the navy/teal fintech
   palette used across registration.css / legal.css.
   ========================================================================== */

.faq-page {
	--faq-navy-950: #050e1c;
	--faq-navy-900: #0b1f3a;
	--faq-teal-500: #14b8a6;
	--faq-teal-600: #0d9488;
	--faq-slate-500: #64748b;
	--faq-slate-200: #e2e8f0;
	--faq-slate-50: #f8fafc;
	background: var(--faq-slate-50);
	padding: 56px 0 72px;
}

.faq-shell {
	max-width: 820px;
	margin: 0 auto;
	padding: 0 20px;
}

.faq-hero {
	text-align: center;
	margin-bottom: 40px;
}

.faq-hero h1 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 800;
	font-size: 34px;
	color: var(--faq-navy-900);
	margin: 0 0 10px;
}

.faq-hero p {
	color: var(--faq-slate-500);
	font-size: 16px;
	margin: 0;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.faq-item {
	background: #fff;
	border: 1px solid var(--faq-slate-200);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item[open] {
	border-color: var(--faq-teal-500);
	box-shadow: 0 8px 24px rgba(11, 31, 58, 0.08);
}

.faq-item summary {
	list-style: none;
	cursor: pointer;
	padding: 18px 52px 18px 20px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 600;
	font-size: 16px;
	color: var(--faq-navy-900);
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}

.faq-item summary::-webkit-details-marker {
	display: none;
}

.faq-item summary::marker {
	content: '';
}

.faq-item summary .faq-num {
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(20, 184, 166, 0.12);
	color: var(--faq-teal-600);
	font-size: 13px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.faq-item summary .faq-chevron {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--faq-slate-500);
	transition: transform 0.2s ease;
	flex: none;
}

.faq-item[open] summary .faq-chevron {
	transform: translateY(-50%) rotate(180deg);
	color: var(--faq-teal-600);
}

.faq-answer {
	padding: 0 20px 20px 60px;
	color: #475569;
	font-size: 15px;
	line-height: 1.65;
}

.faq-answer p {
	margin: 0;
}

.faq-cta {
	margin-top: 40px;
	text-align: center;
	padding: 28px 24px;
	background: var(--faq-navy-900);
	border-radius: 16px;
	color: #fff;
}

.faq-cta h3 {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 700;
	font-size: 20px;
	margin: 0 0 8px;
}

.faq-cta p {
	color: rgba(255, 255, 255, 0.72);
	margin: 0 0 18px;
	font-size: 14px;
}

.faq-cta a {
	display: inline-block;
	background: var(--faq-teal-500);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 12px 28px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.15s ease;
}

.faq-cta a:hover {
	background: var(--faq-teal-600);
	color: #fff;
}

@media (max-width: 560px) {
	.faq-hero h1 {
		font-size: 26px;
	}
	.faq-item summary {
		padding: 15px 44px 15px 16px;
		font-size: 14.5px;
	}
	.faq-answer {
		padding: 0 16px 16px 48px;
		font-size: 14px;
	}
}
