/**
 * Sitemap — Figma UI
 */

:root {
	--sm-navy: #0a1f57;
	--sm-blue: #0b39a1;
	--sm-text-muted: #64748b;
	/* Figma text-secondary-700 */
	--sm-text-body: var(--color-text-secondary-700, #1e293b);
	--sm-border: #e2e8f0;
	--sm-font-heading: 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--sm-font-body: var(--font-body, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.sm-page {
	position: relative;
	background-color: #ffffff;
	background-image: url('../img/page-bg.png');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 50% auto;
	overflow-x: clip;
	padding-top: 64px;
	padding-bottom: 72px;
	min-height: calc(100vh - 400px);
}

@media (max-width: 1024px) {
	.sm-page {
		background-size: 60% auto;
		padding-top: 48px;
	}
}

@media (max-width: 768px) {
	.sm-page {
		background-size: 80% auto;
		padding-top: 32px;
	}
}

.sm-container {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

/* Breadcrumbs */
.sm-crumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--sm-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	margin-bottom: 24px;
}

.sm-crumbs__home,
.sm-crumbs__link {
	color: #64748B;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	transition: color 0.15s ease;
}

.sm-crumbs__home:hover,
.sm-crumbs__link:hover {
	color: #03287C;
}

.sm-crumbs__sep {
	color: #CBD5E1;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.sm-crumbs__current {
	color: #03287C;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
}

/* Header */
.sm-header {
	margin-bottom: 28px;
}

.sm-title {
	font-family: var(--sm-font-heading);
	font-size: clamp(34px, 4.2vw, 48px);
	font-weight: 800;
	color: var(--sm-navy);
	margin: 0;
	letter-spacing: -0.025em;
	line-height: 1.1;
	text-transform: uppercase;
}

/* White content panel */
.sm-panel {
	background: #ffffff;
	border-radius: 20px;
	padding: 40px 36px 44px;
	box-shadow: 0 8px 32px rgba(10, 31, 87, 0.06);
	border: 1px solid rgba(226, 232, 240, 0.8);
	margin-bottom: 8px;
}

.sm-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 28px 24px;
}

.sm-group-title {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--sm-border);
	font-family: var(--sm-font-heading);
	font-weight: 700;
	font-size: 17px;
	line-height: 1.25;
	color: var(--sm-navy);
}

.sm-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sm-list li + li {
	margin-top: 10px;
}

.sm-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--sm-font-body);
	font-weight: 400;
	font-size: 18px;
	line-height: 28px;
	letter-spacing: 0;
	color: var(--sm-text-body);
	text-decoration: none;
	transition: color 0.15s ease;
}

.sm-link:hover {
	color: var(--sm-navy);
	text-decoration: underline;
}

.sm-link--current {
	color: var(--sm-navy);
	font-weight: 600;
	cursor: default;
}

.sm-ext {
	flex-shrink: 0;
	opacity: 0.7;
}

.sm-link:hover .sm-ext {
	opacity: 1;
}

/* CTA spacing — desktop inset card; mobile full-bleed */
.sm-cta {
	margin-top: 40px;
	margin-bottom: 0;
	width: 100%;
	box-sizing: border-box;
}

.sm-cta .ssdc-cta-banner,
.sm-cta .ssdc-faq-banner {
	margin-top: 0;
	margin-bottom: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	.sm-cta {
		max-width: var(--ssdc-page-max, none);
		margin-left: auto;
		margin-right: auto;
		padding-left: var(--ssdc-gutter, 24px);
		padding-right: var(--ssdc-gutter, 24px);
		margin-bottom: 72px;
		box-sizing: border-box;
	}
}

@media (max-width: 1100px) {
	.sm-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.sm-panel {
		padding: 32px 24px 36px;
	}

	.sm-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.sm-link {
		font-size: 16px;
		line-height: 26px;
	}
}

@media (max-width: 767px) {
	.sm-page {
		padding-top: 28px;
		padding-bottom: 0;
	}

	.sm-container {
		padding: 0 var(--ssdc-gutter, 20px);
	}

	.sm-header {
		margin-bottom: 20px;
	}

	.sm-panel {
		padding: 24px 18px 28px;
		border-radius: 16px;
	}

	.sm-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 480px) {
	.sm-panel {
		padding: 20px 14px;
		border-radius: 12px;
	}
}
