:root {
	--bg: #0f172a; /* slate-900 */
	--panel: #111827; /* gray-900 */
	--panel-2: #0b1220; /* deep blue tint */
	--text: #e5e7eb; /* gray-200 */
	--muted: #94a3b8; /* slate-400 */
	--accent: #60a5fa; /* blue-400 */
	--card: #0b1220; /* same as panel-2 for cohesion */
	--radius: 16px;
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	height: 100%;
}

#pw-iab1,
#pw-iab2,
#pw-iab3 {
	min-height: 110px;
}

body {
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
	color: var(--text);
	background: radial-gradient(900px 600px at 10% 10%, rgba(96, 165, 250, 0.1), transparent 60%),
		radial-gradient(800px 500px at 90% 30%, rgba(34, 197, 94, 0.08), transparent 60%),
		linear-gradient(180deg, var(--bg) 0%, #0a0f1f 85%, #05070d 100%) no-repeat fixed;
	line-height: 1.6;
	background-blend-mode: overlay;
}

/* Layout helpers */
.container {
	width: min(1200px, 92vw);
	margin-inline: auto;
}

/* Header */

.site-header .container {
	padding: 20px 0;
}

.site-header h1 {
	margin: 0 0 4px 0;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	letter-spacing: 0.3px;
}

.subtitle {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

/* Main grid */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 24px;
	padding: 28px 0 60px;
	min-height: 200vh;
}

/* Content */
.content {
	background: linear-gradient(180deg, rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.65));
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: var(--radius);
	padding: 28px clamp(18px, 3vw, 36px);
	box-shadow: var(--shadow);
	min-width: 800px;
}

.content h2 {
	margin-top: 0;
	font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.content p {
	margin: 16px 0;
	color: #dbeafe; /* very light blue for readability */
}

.content .closing {
	margin-top: 28px;
	padding: 16px 18px;
	background: rgba(96, 165, 250, 0.1);
	border: 1px solid rgba(96, 165, 250, 0.25);
	border-radius: 12px;
}

/* Sidebar */
.sidebar {
	position: sticky;
	top: 84px;
	align-self: start;
}

.sidebar-title {
	margin: 0 0 12px 0;
	font-size: 1.05rem;
	color: var(--muted);
	letter-spacing: 0.2px;
}

.qa-card {
	background: radial-gradient(400px 200px at 120% -20%, rgba(96, 165, 250, 0.16), transparent 40%),
		linear-gradient(180deg, var(--card), var(--panel));
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: var(--radius);
	padding: 16px 18px;
	margin-bottom: 14px;
	box-shadow: var(--shadow);
	transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.qa-card:hover {
	transform: translateY(-2px);
	border-color: rgba(96, 165, 250, 0.35);
	box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.qa-card h3 {
	margin: 0 0 6px 0;
	font-size: 1.05rem;
	color: #e2e8f0;
}

.qa-card p {
	margin: 0;
	font-size: 0.95rem;
	color: var(--muted);
}

/* Footer */
.site-footer {
	border-top: 1px solid rgba(148, 163, 184, 0.18);
	padding: 22px 0 40px;
	color: var(--muted);
	text-align: center;
}

/* Responsive */
@media (max-width: 920px) {
	.layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
		order: -1;
	}
}
