:root {
	--bg-color: #fafaf9;
	/* stone-50 */
	--text-color: #292524;
	/* stone-800 */
	--card-bg: #ffffff;
	--border-color: #e7e5e4;
	/* stone-200 */
	--accent-color: #4f46e5;
	/* indigo-600 */
	--secondary-color: #57534e;
	/* stone-600 */
	--chart-grid: #e5e7eb;
	/* gray-200 */
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background-color: var(--bg-color);
	color: var(--text-color);
	margin: 0;
	padding: 0;
	line-height: 1.6;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

header {
	text-align: left;
	margin-bottom: 60px;
	position: relative;
	/* For absolute positioning of author button */
}

.author-btn {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-block;
	background-color: #f59e0b;
	/* amber-500 */
	color: #ffffff;
	padding: 8px 16px;
	border-radius: 6px;
	font-size: 0.875rem;
	/* text-sm */
	font-weight: 600;
	/* font-semibold */
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: background-color 0.2s;
	text-decoration: none;
}

.author-btn:hover {
	background-color: #d97706;
	/* amber-600 */
	color: #ffffff;
	text-decoration: none;
}

h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: #1c1917;
	/* stone-900 */
}

.subtitle {
	color: var(--secondary-color);
	font-size: 1.1rem;
}

.chart-section {
	background-color: var(--card-bg);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 40px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chart-section h2 {
	margin-top: 0;
	font-size: 1.5rem;
	color: var(--accent-color);
	border-bottom: 1px solid var(--border-color);
	padding-bottom: 12px;
	margin-bottom: 24px;
}

.chart-container {
	position: relative;
	height: 500px;
	width: 100%;
}

.info-box {
	background-color: #f5f3ff;
	/* indigo-50 */
	border: 1px solid #c7d2fe;
	/* indigo-200 */
	color: #3730a3;
	/* indigo-800 */
	padding: 16px;
	border-radius: 6px;
	margin-top: 20px;
	font-size: 0.9rem;
}

.methodology {
	margin-top: 60px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	color: var(--secondary-color);
	font-size: 0.95rem;
}

.methodology h3 {
	color: var(--text-color);
}

a {
	color: var(--accent-color);
	text-decoration: none;
	font-weight: 500;
}

a:hover {
	text-decoration: underline;
	color: #4338ca;
	/* indigo-700 */
}

footer {
	text-align: center;
	margin-top: 60px;
	color: #a8a29e;
	/* stone-400 */
	font-size: 0.9rem;
}

/* Chart Annotation Bubble */
.chart-annotation {
	position: absolute;
	top: 50px;
	left: 80px;
	background-color: rgba(255, 255, 255, 0.95);
	border: 1px solid var(--border-color);
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 0.85rem;
	max-width: 320px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
	z-index: 10;
	pointer-events: none;
	color: var(--text-color);
	line-height: 1.4;
}

.chart-annotation h4 {
	margin: 0 0 8px 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--accent-color);
}

.chart-annotation ul {
	margin: 0;
	padding-left: 20px;
}

.chart-annotation li {
	margin-bottom: 6px;
}

.chart-annotation strong {
	color: #1f2937;
	/* gray-800 */
}

.sub-charts-row {
	display: flex;
	gap: 24px;
	margin-top: 40px;
}

.half-width-chart {
	flex: 1;
	height: 400px;
	position: relative;
	background-color: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.half-width-chart h3 {
	margin: 0 0 16px 0;
	font-size: 1.1rem;
	color: var(--secondary-color);
	text-align: center;
}