:root {
	--primary-navy: #1a365d;
	--primary-blue: #2c5282;
	--accent-gold: #d69e2e;
	--accent-gold-light: #ecc94b;
	--trust-green: #276749;
	--trust-green-light: #48bb78;
	--neutral-warm: #faf9f7;
	--neutral-gray: #718096;
	--text-dark: #1a202c;
	--text-medium: #4a5568;
	--white: #ffffff;
	--border-light: #e2e8f0;
	--shadow-soft: 0 4px 20px rgba(26, 54, 93, 0.08);
	--shadow-medium: 0 8px 30px rgba(26, 54, 93, 0.12);
	--gradient-trust: linear-gradient(135deg, #1a365d 0%, #2c5282 50%, #276749 100%);
	--gradient-gold: linear-gradient(135deg, #d69e2e 0%, #ecc94b 100%);
}

body {
	font-family: 'Source Sans Pro', sans-serif;
	color: var(--text-dark);
	line-height: 1.8;
}

.font-display {
	font-family: 'Merriweather', serif;
}

/* Hero Section Styling */
.hero-financial {
	background: var(--gradient-trust);
	position: relative;
	overflow: hidden;
}

.hero-financial::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: url('images/about-hero.jpg');
	background-size: cover;
	background-position: center;
	opacity: 0.2;
}

.hero-financial::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 120px;
	background: linear-gradient(to top, var(--neutral-warm), transparent);
}

/* Pattern overlay for hero */
.pattern-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		radial-gradient(circle at 20% 80%, rgba(214, 158, 46, 0.1) 0%, transparent 50%),
		radial-gradient(circle at 80% 20%, rgba(39, 103, 73, 0.1) 0%, transparent 50%);
	pointer-events: none;
}

/* Financial Icon Grid Pattern */
.financial-grid-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image: 
		linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
	background-size: 50px 50px;
	pointer-events: none;
}

/* Policy Introduction Banner */
.policy-intro-banner {
	background: var(--white);
	border-left: 5px solid var(--accent-gold);
	box-shadow: var(--shadow-soft);
	position: relative;
}

.policy-intro-banner::before {
	content: '§';
	position: absolute;
	top: -20px;
	right: 30px;
	font-size: 120px;
	font-family: 'Merriweather', serif;
	color: var(--primary-navy);
	opacity: 0.05;
	font-weight: 900;
}

/* Section Containers */
.policy-section {
	background: var(--white);
	border-radius: 12px;
	box-shadow: var(--shadow-soft);
	margin-bottom: 2rem;
	overflow: hidden;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.policy-section:hover {
	box-shadow: var(--shadow-medium);
	transform: translateY(-2px);
}

.section-header {
	background: var(--gradient-trust);
	padding: 1.5rem 2rem;
	position: relative;
	overflow: hidden;
}

.section-header::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -50%;
	width: 100%;
	height: 200%;
	background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
	pointer-events: none;
}

.section-header h2 {
	color: var(--white);
	font-family: 'Merriweather', serif;
	font-weight: 700;
	margin: 0;
	position: relative;
	z-index: 1;
}

.section-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background: var(--accent-gold);
	color: var(--primary-navy);
	font-family: 'Merriweather', serif;
	font-weight: 900;
	font-size: 1.25rem;
	border-radius: 50%;
	margin-right: 1rem;
	box-shadow: 0 4px 15px rgba(214, 158, 46, 0.4);
}

.section-content {
	padding: 2rem;
}

/* Subsection Styling */
.subsection {
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--border-light);
}

.subsection:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.subsection-title {
	color: var(--primary-navy);
	font-family: 'Merriweather', serif;
	font-weight: 700;
	font-size: 1.25rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.subsection-title svg {
	width: 24px;
	height: 24px;
	color: var(--accent-gold);
	flex-shrink: 0;
}

/* Principle Cards */
.principle-card {
	background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
	border-radius: 10px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	border-left: 4px solid var(--trust-green);
	position: relative;
}

.principle-card::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 60px;
	height: 60px;
	background: radial-gradient(circle at top right, rgba(39, 103, 73, 0.1) 0%, transparent 70%);
	border-radius: 0 10px 0 0;
}

.principle-title {
	color: var(--trust-green);
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

/* Control Framework Cards */
.control-card {
	background: var(--white);
	border: 2px solid var(--border-light);
	border-radius: 12px;
	padding: 1.5rem;
	margin-bottom: 1rem;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.control-card:hover {
	border-color: var(--primary-blue);
	box-shadow: var(--shadow-soft);
}

.control-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: var(--gradient-gold);
}

.control-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}

.control-icon svg {
	width: 26px;
	height: 26px;
	color: var(--white);
}

/* Audit Framework */
.audit-timeline {
	position: relative;
	padding-left: 3rem;
}

.audit-timeline::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient(to bottom, var(--accent-gold), var(--trust-green));
	border-radius: 3px;
}

.audit-item {
	position: relative;
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: var(--white);
	border-radius: 10px;
	border: 1px solid var(--border-light);
	box-shadow: var(--shadow-soft);
}

.audit-item::before {
	content: '';
	position: absolute;
	left: -2.35rem;
	top: 1.5rem;
	width: 16px;
	height: 16px;
	background: var(--accent-gold);
	border: 3px solid var(--white);
	border-radius: 50%;
	box-shadow: 0 2px 8px rgba(214, 158, 46, 0.4);
}

.audit-item:nth-child(even)::before {
	background: var(--trust-green);
	box-shadow: 0 2px 8px rgba(39, 103, 73, 0.4);
}

/* Reporting Matrix */
.reporting-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}

.reporting-card {
	background: linear-gradient(145deg, var(--white) 0%, #f7fafc 100%);
	border-radius: 12px;
	padding: 1.75rem;
	border: 1px solid var(--border-light);
	position: relative;
	overflow: hidden;
}

.reporting-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gradient-trust);
}

.reporting-card-icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, rgba(26, 54, 93, 0.1) 0%, rgba(44, 82, 130, 0.1) 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.reporting-card-icon svg {
	width: 32px;
	height: 32px;
	color: var(--primary-navy);
}

/* Commitment Box */
.commitment-box {
	background: var(--gradient-trust);
	border-radius: 16px;
	padding: 3rem;
	position: relative;
	overflow: hidden;
	color: var(--white);
}

.commitment-box::before {
	content: '';
	position: absolute;
	top: -100px;
	right: -100px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(214, 158, 46, 0.2) 0%, transparent 70%);
	pointer-events: none;
}

.commitment-box::after {
	content: '';
	position: absolute;
	bottom: -50px;
	left: -50px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(72, 187, 120, 0.15) 0%, transparent 70%);
	pointer-events: none;
}

/* Info Callouts */
.info-callout {
	background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
	border-radius: 10px;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-left: 4px solid var(--primary-blue);
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.info-callout svg {
	width: 24px;
	height: 24px;
	color: var(--primary-blue);
	flex-shrink: 0;
	margin-top: 2px;
}

/* Warning/Important Callout */
.warning-callout {
	background: linear-gradient(135deg, #fffaf0 0%, #fefcbf 100%);
	border-radius: 10px;
	padding: 1.5rem;
	margin: 1.5rem 0;
	border-left: 4px solid var(--accent-gold);
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.warning-callout svg {
	width: 24px;
	height: 24px;
	color: var(--accent-gold);
	flex-shrink: 0;
	margin-top: 2px;
}

/* Process Flow */
.process-flow {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin: 2rem 0;
}

.process-step {
	background: var(--white);
	border: 2px solid var(--border-light);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	flex: 1;
	min-width: 200px;
	max-width: 250px;
	position: relative;
	transition: all 0.3s ease;
}

.process-step:hover {
	border-color: var(--accent-gold);
	transform: translateY(-5px);
	box-shadow: var(--shadow-medium);
}

.process-step::after {
	content: '→';
	position: absolute;
	right: -20px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--accent-gold);
	font-size: 1.5rem;
	font-weight: bold;
}

.process-step:last-child::after {
	display: none;
}

.process-number {
	width: 40px;
	height: 40px;
	background: var(--gradient-trust);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	margin: 0 auto 1rem;
}

/* Key Metrics Display */
.metrics-display {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
	margin: 2rem 0;
}

.metric-card {
	background: var(--white);
	border-radius: 12px;
	padding: 1.5rem;
	text-align: center;
	border: 1px solid var(--border-light);
	position: relative;
	overflow: hidden;
}

.metric-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--gradient-gold);
}

.metric-value {
	font-family: 'Merriweather', serif;
	font-size: 2.5rem;
	font-weight: 900;
	color: var(--primary-navy);
	line-height: 1;
	margin-bottom: 0.5rem;
}

.metric-label {
	color: var(--neutral-gray);
	font-size: 0.95rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Definition Terms */
.definition-item {
	background: #f7fafc;
	border-radius: 8px;
	padding: 1.25rem;
	margin-bottom: 1rem;
}

.definition-term {
	color: var(--primary-navy);
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 0.5rem;
}

.definition-desc {
	color: var(--text-medium);
	font-size: 0.95rem;
	line-height: 1.7;
}

/* Table Styling */
.policy-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	background: var(--white);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.policy-table thead {
	background: var(--gradient-trust);
	color: var(--white);
}

.policy-table th {
	padding: 1rem 1.25rem;
	text-align: left;
	font-weight: 600;
	font-size: 0.95rem;
}

.policy-table td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--border-light);
	color: var(--text-medium);
}

.policy-table tbody tr:last-child td {
	border-bottom: none;
}

.policy-table tbody tr:hover {
	background: #f7fafc;
}

/* Badge Styles */
.badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.badge-primary {
	background: rgba(26, 54, 93, 0.1);
	color: var(--primary-navy);
}

.badge-success {
	background: rgba(39, 103, 73, 0.1);
	color: var(--trust-green);
}

.badge-warning {
	background: rgba(214, 158, 46, 0.15);
	color: #b7791f;
}

/* Quick Reference Sidebar */
.quick-reference {
	background: linear-gradient(180deg, #1a365d 0%, #2c5282 100%);
	border-radius: 12px;
	padding: 2rem;
	color: var(--white);
	position: sticky;
	top: 100px;
}

.quick-reference h3 {
	font-family: 'Merriweather', serif;
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 2px solid rgba(255,255,255,0.2);
}

.quick-reference-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	font-size: 0.95rem;
}

.quick-reference-item:last-child {
	border-bottom: none;
}

.quick-reference-item svg {
	width: 18px;
	height: 18px;
	color: var(--accent-gold);
}

/* Effective Date Banner */
.effective-date-banner {
	background: linear-gradient(90deg, var(--trust-green) 0%, var(--trust-green-light) 100%);
	color: var(--white);
	padding: 1rem 2rem;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}

.effective-date-banner svg {
	width: 24px;
	height: 24px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
	.section-content {
		padding: 1.5rem;
	}

	.process-step::after {
		display: none;
	}

	.commitment-box {
		padding: 2rem 1.5rem;
	}

	.audit-timeline {
		padding-left: 2rem;
	}

	.quick-reference {
		position: relative;
		top: 0;
		margin-bottom: 2rem;
	}
}

/* Print Styles */
@media print {
	.policy-section {
		box-shadow: none;
		border: 1px solid #ddd;
		break-inside: avoid;
	}

	.section-header {
		background: var(--primary-navy) !important;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}