/* Shared support/legal page styles for contact, FAQ, privacy, and troubleshooting */

* {
	box-sizing: border-box;
}

:root {
	color-scheme: dark;
	--support-bg-1: #090812;
	--support-bg-2: #151127;
	--support-bg-3: #1d1833;
	--support-accent: #8b5cf6;
	--support-accent-2: #6366f1;
	--support-accent-3: #10b981;
	--support-text: rgba(255, 255, 255, 0.96);
	--support-text-soft: rgba(255, 255, 255, 0.74);
	--support-text-faint: rgba(255, 255, 255, 0.56);
	--support-border: rgba(167, 139, 250, 0.18);
	--support-border-strong: rgba(167, 139, 250, 0.3);
	--support-panel: rgba(255, 255, 255, 0.05);
	--support-panel-strong: rgba(255, 255, 255, 0.07);
	--support-shadow: 0 24px 60px rgba(5, 7, 20, 0.24);
	--support-radius-lg: 24px;
	--support-radius-md: 18px;
	--support-radius-sm: 14px;
}

html {
	scroll-behavior: smooth;
}

body.support-page {
	margin: 0;
	min-height: 100vh;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--support-text);
	line-height: 1.7;
	background:
		radial-gradient(circle at top left, rgba(139, 92, 246, 0.18), transparent 35%),
		radial-gradient(circle at top right, rgba(99, 102, 241, 0.14), transparent 32%),
		linear-gradient(135deg, var(--support-bg-1) 0%, var(--support-bg-2) 44%, var(--support-bg-3) 100%);
}

.support-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 18px 40px;
	background: rgba(9, 8, 18, 0.82);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-header-left {
	display: flex;
	align-items: center;
	gap: 18px;
	min-width: 0;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: white;
	text-decoration: none;
	font-weight: 600;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
	opacity: 0.84;
	transform: translateX(-2px);
}

.brand-wordmark {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.brand-wordmark img {
	height: 38px;
	width: auto;
	display: block;
	object-fit: contain;
}

.header-meta {
	color: var(--support-text-faint);
	font-size: 0.9rem;
	font-weight: 600;
	white-space: nowrap;
}

.support-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 56px 40px 80px;
}

.page-hero {
	margin-bottom: 32px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(139, 92, 246, 0.12);
	border: 1px solid rgba(167, 139, 250, 0.2);
	color: #ddd6fe;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	margin-bottom: 18px;
}

.page-title {
	margin: 0 0 14px;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.06;
	text-wrap: balance;
}

.page-intro {
	max-width: 760px;
	margin: 0 0 8px;
	font-size: 1.05rem;
	color: var(--support-text-soft);
}

.page-intro.secondary {
	font-size: 0.98rem;
	color: rgba(255, 255, 255, 0.62);
}

.page-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 22px;
}

.page-grid.single-column {
	grid-template-columns: 1fr;
}

.panel {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
	border: 1px solid var(--support-border);
	border-radius: var(--support-radius-lg);
	padding: 26px;
	box-shadow: var(--support-shadow);
}

.panel-primary {
	background: linear-gradient(180deg, rgba(99, 102, 241, 0.16), rgba(139, 92, 246, 0.08));
}

.panel.span-2 {
	grid-column: 1 / -1;
}

.panel-icon {
	width: 54px;
	height: 54px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	background: rgba(139, 92, 246, 0.15);
	color: #ddd6fe;
	font-size: 1.3rem;
	border: 1px solid rgba(167, 139, 250, 0.2);
}

.panel-icon.green {
	background: rgba(16, 185, 129, 0.12);
	color: #a7f3d0;
	border-color: rgba(16, 185, 129, 0.2);
}

.panel-icon.blue {
	background: rgba(99, 102, 241, 0.14);
	color: #c7d2fe;
	border-color: rgba(99, 102, 241, 0.24);
}

.panel h2,
.rich-section h2 {
	margin: 0 0 12px;
	font-size: 1.35rem;
}

.panel p,
.rich-section p {
	margin: 0 0 14px;
	color: var(--support-text-soft);
}

.panel p:last-child,
.rich-section p:last-child {
	margin-bottom: 0;
}

.subtle {
	color: var(--support-text-faint);
}

.email-box,
.info-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	margin: 20px 0 10px;
	border-radius: var(--support-radius-md);
	background: rgba(9, 8, 18, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.email-box strong,
.info-box strong,
.info-box span {
	font-size: 1rem;
	font-weight: 700;
	color: white;
}

.copy-btn,
.action-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: none;
	text-decoration: none;
	border-radius: var(--support-radius-sm);
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.copy-btn {
	padding: 11px 14px;
	background: rgba(255, 255, 255, 0.08);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.copy-btn:hover,
.action-btn:hover {
	transform: translateY(-1px);
}

.copy-btn.copied {
	background: rgba(16, 185, 129, 0.18);
	border-color: rgba(16, 185, 129, 0.28);
	color: #d1fae5;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.action-btn {
	padding: 13px 18px;
	font-size: 0.95rem;
}

.action-btn.primary {
	background: linear-gradient(135deg, var(--support-accent), var(--support-accent-2));
	color: white;
	box-shadow: 0 14px 30px rgba(99, 102, 241, 0.2);
}

.action-btn.secondary {
	background: rgba(255, 255, 255, 0.08);
	color: white;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.micro {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.62);
	margin-top: 10px;
}

.checklist,
.bullet-list {
	list-style: none;
	display: grid;
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
}

.checklist li,
.bullet-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--support-text-soft);
}

.checklist li::before,
.bullet-list li::before {
	content: '\f058';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	color: var(--support-accent-3);
	margin-top: 2px;
	flex-shrink: 0;
}

.link-list,
.social-list,
.card-list {
	display: grid;
	gap: 10px;
	margin-top: 14px;
}

.link-card,
.social-list a,
.card-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 16px;
	color: white;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.link-card:hover,
.social-list a:hover,
.card-list a:hover {
	transform: translateY(-1px);
	border-color: rgba(167, 139, 250, 0.35);
	background: rgba(99, 102, 241, 0.09);
}

.link-meta,
.social-meta,
.card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.link-meta i,
.social-meta i,
.card-meta i {
	width: 20px;
	text-align: center;
	color: #c4b5fd;
}

.link-copy,
.social-copy,
.card-copy {
	min-width: 0;
}

.link-copy strong,
.social-copy strong,
.card-copy strong {
	display: block;
	font-size: 0.96rem;
}

.link-copy span,
.social-copy span,
.card-copy span {
	display: block;
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.86rem;
}

.quick-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 0;
}

.quick-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: white;
	font-size: 0.88rem;
	text-decoration: none;
}

.rich-content {
	display: grid;
	gap: 18px;
}

.rich-section {
	padding: 20px 22px;
	border-radius: 18px;
	background: rgba(9, 8, 18, 0.38);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.rich-section h3 {
	margin: 0 0 10px;
	font-size: 1.02rem;
	color: white;
}

.rich-section ul,
.rich-section ol {
	margin: 12px 0 0 20px;
	padding: 0;
	color: var(--support-text-soft);
}

.rich-section li {
	margin-bottom: 8px;
}

.rich-section a,
.footer a,
.panel a {
	color: #c4b5fd;
	text-decoration: none;
}

.rich-section a:hover,
.footer a:hover,
.panel a:hover {
	text-decoration: underline;
}

.callout {
	padding: 16px 18px;
	border-radius: 18px;
	border: 1px solid transparent;
	margin: 14px 0 0;
}

.callout.info {
	background: rgba(99, 102, 241, 0.12);
	border-color: rgba(99, 102, 241, 0.22);
}

.callout.success {
	background: rgba(16, 185, 129, 0.12);
	border-color: rgba(16, 185, 129, 0.22);
}

.callout.warning {
	background: rgba(239, 68, 68, 0.1);
	border-color: rgba(239, 68, 68, 0.22);
}

.faq-list {
	display: grid;
	gap: 12px;
}

.faq-item {
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	overflow: hidden;
}

.faq-trigger {
	width: 100%;
	border: none;
	background: transparent;
	color: white;
	padding: 18px 20px;
	text-align: left;
	font: inherit;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
}

.faq-trigger:hover {
	background: rgba(99, 102, 241, 0.08);
}

.faq-trigger:focus-visible {
	outline: 2px solid rgba(167, 139, 250, 0.9);
	outline-offset: -2px;
}

.faq-trigger i:last-child {
	transition: transform 0.3s ease;
	color: #c4b5fd;
	flex-shrink: 0;
}

.faq-item.active .faq-trigger i:last-child {
	transform: rotate(180deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding: 0 20px;
}

.faq-item.active .faq-answer {
	max-height: 420px;
	padding: 0 20px 18px;
}

.faq-answer p,
.faq-answer ul {
	margin: 0;
	color: var(--support-text-soft);
}

.faq-answer ul {
	margin-top: 12px;
	padding-left: 18px;
}

.faq-answer li + li {
	margin-top: 6px;
}

.footer {
	margin-top: 36px;
	padding-top: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.56);
	font-size: 0.92rem;
}

.footer p {
	margin: 0;
}

.footer-stack {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.panel-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.mini-card {
	padding: 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.mini-card h3 {
	margin: 0 0 8px;
	font-size: 0.98rem;
}

.mini-card p {
	margin: 0;
	font-size: 0.92rem;
}

@media (max-width: 920px) {
	.page-grid,
	.panel-columns {
		grid-template-columns: 1fr;
	}

	.panel.span-2 {
		grid-column: auto;
	}
}

@media (max-width: 640px) {
	.support-header {
		padding: 16px 18px;
	}

	.support-header-left {
		gap: 12px;
	}

	.brand-wordmark img {
		height: 32px;
	}

	.header-meta {
		display: none;
	}

	.support-container {
		padding: 36px 18px 64px;
	}

	.panel {
		padding: 22px 18px;
	}

	.email-box,
	.info-box {
		align-items: stretch;
	}

	.copy-btn,
	.action-btn {
		width: 100%;
	}

	.actions {
		flex-direction: column;
	}

	.page-title {
		font-size: 2rem;
	}
}
