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

:root {
	--purple: #7048E8;
	--purple-hover: #5C35D4;
	--purple-light: #EDE9FF;
	--purple-muted: #F5F3FF;
	--amber: #F5A623;
	--amber-hover: #E09010;
	--dark: #111827;
	--navy: #0f172a;
	--slate: #1e293b;
	--gray-700: #374151;
	--gray-500: #6B7280;
	--gray-300: #D1D5DB;
	--gray-100: #F3F4F6;
	--white: #FFFFFF;
	--font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--radius: 12px;
	--radius-lg: 20px;
	--max-w: 1100px;
	--shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
	--shadow-lg: 0 14px 48px rgba(15,23,42,0.18);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font);
	color: var(--dark);
	background: var(--white);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	line-height: 1.2;
	font-weight: 800;
}

a {
	color: inherit;
}

.en,
span.en {
	display: none !important;
}

html[lang="en"] .fr,
html[lang="en"] span.fr {
	display: none !important;
}

html[lang="en"] .en {
	display: block !important;
}

html[lang="en"] span.en {
	display: inline !important;
}

html[lang="en"] a.en {
	display: inline-flex !important;
}

.container {
	max-width: var(--max-w);
	margin: 0 auto;
	padding: 0 1.5rem;
}

section {
	padding: 5rem 0;
}

/* ── BUTTONS ── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	padding: .75rem 1.45rem;
	border-radius: var(--radius);
	font-family: var(--font);
	font-size: .92rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform .18s, background .18s, border-color .18s;
}

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

.btn-primary {
	background: var(--purple);
	color: var(--white);
}

.btn-primary:hover {
	background: var(--purple-hover);
}

.btn-amber {
	background: var(--amber);
	color: var(--dark);
}

.btn-amber:hover {
	background: var(--amber-hover);
}

.btn-outline {
	background: transparent;
	color: var(--white);
	border: 1px solid rgba(255,255,255,.32);
}

.btn-outline:hover {
	background: rgba(255,255,255,.08);
	border-color: rgba(255,255,255,.5);
}

.cta-row {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 2rem;
}

/* ── HERO ── */

.page-hero {
	background:
		radial-gradient(circle at 18% 5%, rgba(112,72,232,.26), transparent 34%),
		linear-gradient(135deg, #0f172a 0%, #111827 58%, #17142f 100%);
	color: var(--white);
	padding: 7.5rem 0 4.5rem;
	margin-top: 64px;
	position: relative;
	overflow: hidden;
}

.page-hero::after {
	content: '';
	position: absolute;
	right: -12%;
	top: -32%;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: rgba(245,166,35,.08);
	filter: blur(12px);
	pointer-events: none;
}

.page-hero .container {
	position: relative;
	z-index: 1;
}

.kicker,
.section-kicker {
	display: inline-block;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: .34rem .85rem;
	border-radius: 999px;
	margin-bottom: 1.25rem;
}

.kicker {
	background: rgba(112,72,232,.28);
	color: #DDD6FE;
}

.page-hero h1 {
	font-size: clamp(2.15rem, 5vw, 4rem);
	max-width: 820px;
	letter-spacing: -.035em;
	margin-bottom: 1.35rem;
}

.page-hero h1 em {
	font-style: normal;
	color: var(--amber);
}

.page-hero p {
	max-width: 720px;
	font-size: 1.12rem;
	color: #CBD5E1;
	line-height: 1.8;
}

/* ── SHARED VISION SECTIONS ── */

.vision-section,
.hierarchy-section {
	background: var(--white);
}

.vision-section h2,
.hierarchy-section h2 {
	font-size: clamp(1.75rem, 3.5vw, 2.5rem);
	letter-spacing: -.02em;
	margin-bottom: 1rem;
	color: var(--dark);
}

.vision-section p {
	max-width: 850px;
	font-size: 1rem;
	color: var(--gray-700);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.vision-section em,
.example-card em {
	font-style: normal;
	font-weight: 700;
	color: var(--purple);
}

.section-kicker {
	background: var(--purple-muted);
	color: var(--purple);
}

/* ── HIERARCHY ── */

.hierarchy-section {
	background:
		radial-gradient(circle at top left, rgba(112,72,232,.10), transparent 30%),
		linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.hierarchy-diagram {
	margin-top: 2rem;
	background: #0f172a;
	color: #E2E8F0;
	border: 1px solid #1E293B;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	padding: 2rem;
	font-family: "Courier New", Courier, monospace;
	font-size: .94rem;
	line-height: 1.9;
	overflow-x: auto;
}

.hier-l0 {
	color: #F8FAFC;
	font-weight: 800;
	font-size: 1.05rem;
}

.hier-l1 {
	color: #CBD5E1;
	padding-left: .25rem;
}

.hier-l2 {
	color: #94A3B8;
	padding-left: .75rem;
}

.hier-l3 {
	color: #64748B;
	padding-left: 1.25rem;
}

.hier-label {
	color: #64748B;
	font-family: var(--font);
	font-size: .75rem;
	font-weight: 600;
}

/* ── CONTRAST ── */

.contrast-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin-top: 2.5rem;
}

.contrast-card {
	border-radius: var(--radius-lg);
	padding: 2rem;
	border: 1px solid var(--gray-300);
	background: var(--white);
	box-shadow: var(--shadow);
}

.contrast-card h3 {
	font-size: 1.15rem;
	margin-bottom: 1rem;
}

.contrast-card ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}

.contrast-card li {
	display: flex;
	gap: .65rem;
	align-items: flex-start;
	color: var(--gray-700);
	font-size: .92rem;
	line-height: 1.55;
}

.contrast-card li::before {
	font-weight: 900;
	flex-shrink: 0;
}

.contrast-old {
	background: #FFF7F7;
	border-color: #FECACA;
}

.contrast-old h3 {
	color: #991B1B;
}

.contrast-old li::before {
	content: '✗';
	color: #EF4444;
}

.contrast-new {
	background: #F0FDF4;
	border-color: #BBF7D0;
}

.contrast-new h3 {
	color: #166534;
}

.contrast-new li::before {
	content: '✓';
	color: #16A34A;
}

/* ── EXAMPLES ── */

.example-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.example-card {
	background: var(--white);
	border: 1px solid var(--gray-300);
	border-radius: var(--radius-lg);
	padding: 2rem;
	box-shadow: var(--shadow);
	transition: transform .18s, box-shadow .18s, border-color .18s;
}

.example-card:hover {
	transform: translateY(-2px);
	border-color: var(--purple-light);
	box-shadow: 0 12px 36px rgba(112,72,232,.12);
}

.ex-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--purple-muted);
	border: 1px solid var(--purple-light);
	border-radius: 16px;
	font-size: 1.65rem;
	margin-bottom: 1rem;
}

.example-card h3 {
	font-size: 1.1rem;
	margin-bottom: .65rem;
	color: var(--dark);
}

.example-card p {
	color: var(--gray-700);
	font-size: .92rem;
	line-height: 1.7;
	margin-bottom: 1rem;
}

.ex-flow {
	background: #0f172a;
	color: #CBD5E1;
	border-radius: var(--radius);
	padding: 1rem;
	font-family: "Courier New", Courier, monospace;
	font-size: .82rem;
	line-height: 1.7;
	border-left: 3px solid var(--amber);
}

/* ── BIG STATEMENT ── */

.big-statement {
	background:
		radial-gradient(circle at top right, rgba(245,166,35,.16), transparent 28%),
		linear-gradient(135deg, #1A1A2E 0%, #111827 100%);
	color: var(--white);
	padding: 5rem 0;
	text-align: center;
}

.big-statement h2 {
	max-width: 820px;
	margin: 0 auto 1.25rem;
	font-size: clamp(1.9rem, 4vw, 3rem);
	letter-spacing: -.03em;
}

.big-statement p {
	max-width: 720px;
	margin: 0 auto;
	color: #CBD5E1;
	font-size: 1.05rem;
	line-height: 1.8;
}

/* ── CTA ── */

.vision-cta {
	background:
		radial-gradient(circle at 20% 10%, rgba(112,72,232,.22), transparent 30%),
		linear-gradient(135deg, #0f172a 0%, #1A1A2E 100%);
	color: var(--white);
	padding: 5rem 0;
	text-align: center;
}

.vision-cta h2 {
	font-size: clamp(1.8rem, 4vw, 2.75rem);
	letter-spacing: -.03em;
	margin-bottom: 1rem;
}

.vision-cta p {
	max-width: 620px;
	margin: 0 auto;
	color: #CBD5E1;
	font-size: 1.05rem;
	line-height: 1.8;
}

/* ── FOOTER ── */

footer {
	padding: 2rem 0;
	border-top: 1px solid var(--gray-100);
	text-align: center;
	font-size: .82rem;
	color: var(--gray-500);
	background: var(--white);
}

/* ── RESPONSIVE ── */

@media (max-width: 900px) {
	.contrast-grid,
	.example-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	section {
		padding: 4rem 0;
	}

	.page-hero {
		padding: 6rem 0 3.5rem;
		margin-top: 68px;
	}

	.hierarchy-diagram,
	.contrast-card,
	.example-card {
		padding: 1.5rem;
	}

	.page-hero p,
	.vision-section p,
	.big-statement p,
	.vision-cta p {
		font-size: .98rem;
	}

	.cta-row {
		flex-direction: column;
		align-items: stretch;
	}

	.cta-row .btn {
		width: 100%;
	}
}

@media (max-width: 520px) {
	.container {
		padding: 0 1.1rem;
	}

	.hierarchy-diagram {
		font-size: .82rem;
		padding: 1.25rem;
	}

	.hier-label {
		display: block;
		margin-left: 1rem;
		margin-top: -.25rem;
	}

	.example-card,
	.contrast-card {
		border-radius: 16px;
	}
}
