/* ==========================================================================
   EA-Match — Modern SaaS homepage
   ========================================================================== */

:root {
	/* Typografie — gelijk aan ea-match.nl (Jost body, Inter headings) */
	--ea-font-body: "Jost", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--ea-font-heading: "Inter", var(--ea-font-body);
	--ea-font: var(--ea-font-body);

	/* Huisstijl ea-match.nl */
	--ea-base: #ebebef;
	--ea-base-2: #dce0e6;
	--ea-bg: #dce0e6;
	--ea-surface: #ffffff;
	--ea-text: #1c2930;
	--ea-text-muted: #37505d;
	--ea-text-subtle: #96a5b2;
	--ea-slate-mid: #466577;
	--ea-slate-light: #cbd9e1;
	--ea-accent: #37505d;
	--ea-accent-hover: #1c2930;
	--ea-accent-soft: rgba(55, 80, 93, 0.12);
	--ea-border: rgba(28, 41, 48, 0.1);
	--ea-teal: #466577;
	--ea-violet: #96a5b2;
	--ea-rgb-text: 28, 41, 48;

	--ea-radius: 12px;
	--ea-radius-lg: 20px;
	--ea-radius-btn: 4px;
	--ea-radius-pill: 999px;
	--ea-shadow-sm: 0 1px 2px rgba(var(--ea-rgb-text), 0.06);
	--ea-shadow: 0 4px 24px rgba(var(--ea-rgb-text), 0.08);
	--ea-shadow-lg: 0 24px 64px rgba(var(--ea-rgb-text), 0.12);
	--ea-header-h: 72px;
	--ea-container: min(1120px, calc(100% - 48px));
	--ea-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ea-duration: 0.5s;
}

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

html {
	scroll-behavior: smooth;
}

body.ea-match-home,
body {
	margin: 0;
	font-family: var(--ea-font);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ea-text);
	background: var(--ea-bg);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--ea-accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--ea-text-subtle);
}

.ea-container {
	width: var(--ea-container);
	margin-inline: auto;
}

/* Header */
.ea-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--ea-header-h);
	background: rgba(220, 224, 230, 0.88);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ea-header.is-scrolled {
	border-color: var(--ea-border);
	box-shadow: var(--ea-shadow-sm);
}

.ea-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100%;
	gap: 24px;
}

.ea-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	line-height: 0;
	text-decoration: none;
}

.ea-logo:hover {
	opacity: 0.88;
}

.ea-logo__img {
	display: block;
	width: auto;
	height: 40px;
	max-width: min(160px, 42vw);
	object-fit: contain;
	object-position: left center;
}

.ea-nav__list {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ea-nav__list a {
	display: block;
	padding: 8px 14px;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--ea-text-muted);
	border-radius: var(--ea-radius-pill);
	transition: color 0.2s, background 0.2s;
}

.ea-nav__list a:hover {
	color: var(--ea-text);
	background: rgba(var(--ea-rgb-text), 0.05);
}

.ea-nav__list a.is-active,
.ea-nav__list a[aria-current="page"] {
	color: var(--ea-text);
	background: var(--ea-accent-soft);
	font-weight: 600;
}

.ea-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ea-header__login {
	display: none;
}

.ea-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: var(--ea-radius);
}

.ea-nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--ea-text);
	border-radius: 1px;
	transition: transform 0.3s var(--ea-ease), opacity 0.3s;
}

.ea-nav-toggle[aria-expanded="true"] span:first-child {
	transform: translateY(4px) rotate(45deg);
}

.ea-nav-toggle[aria-expanded="true"] span:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.ea-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 20px;
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	border-radius: var(--ea-radius-btn);
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s var(--ea-ease), box-shadow 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.ea-btn--primary,
.ea-btn--secondary {
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.8125rem;
}

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

.ea-btn:active {
	transform: translateY(0);
}

.ea-btn--primary {
	color: #fff;
	background: var(--ea-accent);
	box-shadow: var(--ea-shadow-sm);
}

.ea-btn--primary:hover {
	background: var(--ea-accent-hover);
	border-color: var(--ea-accent-hover);
	color: #fff;
	box-shadow: var(--ea-shadow);
}

.ea-btn--secondary {
	color: var(--ea-text);
	background: var(--ea-surface);
	border-color: var(--ea-border);
	box-shadow: var(--ea-shadow-sm);
}

.ea-btn--secondary:hover {
	border-color: rgba(var(--ea-rgb-text), 0.15);
	color: var(--ea-text);
}

.ea-btn--ghost {
	color: var(--ea-text-muted);
	background: transparent;
	text-transform: none;
	letter-spacing: normal;
	font-size: 0.9375rem;
}

.ea-btn--ghost:hover {
	color: var(--ea-text);
	background: rgba(var(--ea-rgb-text), 0.05);
}

.ea-btn--lg {
	padding: 14px 28px;
	font-size: 0.875rem;
}

.ea-btn--white {
	color: var(--ea-text);
	background: var(--ea-base);
}

.ea-btn--white:hover {
	color: var(--ea-accent);
	background: #fff;
}

.ea-btn--outline-white {
	color: #fff;
	background: transparent;
	border-color: rgba(255, 255, 255, 0.4);
}

.ea-btn--outline-white:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border-color: rgba(255, 255, 255, 0.6);
}

/* Hero */
.ea-hero {
	padding: calc(var(--ea-header-h) + 64px) 0 48px;
	overflow: hidden;
	position: relative;
}

.ea-hero::before {
	content: "";
	position: absolute;
	top: -20%;
	right: -10%;
	width: 60%;
	height: 80%;
	background: radial-gradient(ellipse at center, rgba(70, 101, 119, 0.12) 0%, transparent 70%);
	pointer-events: none;
}

.ea-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.ea-eyebrow {
	margin: 0 0 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--ea-slate-mid);
}

.ea-hero__title {
	margin: 0 0 24px;
	font-family: var(--ea-font-heading);
	font-size: clamp(2.25rem, 4.5vw, 3.5rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.ea-gradient-text {
	display: block;
	background: linear-gradient(135deg, var(--ea-slate-mid) 0%, var(--ea-accent) 50%, var(--ea-text) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.ea-hero__lead {
	margin: 0 0 32px;
	max-width: 520px;
	font-size: 1.125rem;
	color: var(--ea-text-muted);
	line-height: 1.7;
}

.ea-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 48px;
}

.ea-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ea-hero__stats li {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ea-hero__stats strong {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.ea-hero__stats span {
	font-size: 0.8125rem;
	color: var(--ea-text-muted);
	max-width: 140px;
}

/* Media / photos & screenshots */
.ea-media {
	margin: 0;
	border-radius: var(--ea-radius-lg);
	overflow: hidden;
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	box-shadow: var(--ea-shadow);
}

.ea-media img,
.ea-img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.ea-media--photo img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ea-hero__visual.ea-media {
	box-shadow: var(--ea-shadow-lg);
}

.ea-hero__visual.ea-media--photo img {
	aspect-ratio: 4 / 3;
}

.ea-media--screenshot {
	background: var(--ea-base);
}

.ea-media--screenshot img {
	object-fit: contain;
}

.ea-media--portrait {
	max-width: 360px;
	margin-inline: auto;
}

.ea-media figcaption {
	padding: 12px 16px;
	font-size: 0.8125rem;
	color: var(--ea-text-muted);
	text-align: center;
	background: var(--ea-surface);
	border-top: 1px solid var(--ea-border);
}

.ea-split__visual .ea-media {
	height: 100%;
}

#leerlingomgeving .ea-media--portrait {
	max-width: 340px;
	margin-inline: auto;
}

#leerlingomgeving .ea-media--portrait img {
	aspect-ratio: 473 / 1024;
	object-fit: cover;
	object-position: center top;
}

/* Legacy mockup (unused) */
.ea-mockup {
	position: relative;
	background: var(--ea-surface);
	border-radius: var(--ea-radius-lg);
	box-shadow: var(--ea-shadow-lg);
	border: 1px solid var(--ea-border);
	overflow: visible;
}

.ea-mockup__chrome {
	display: flex;
	gap: 6px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--ea-border);
}

.ea-mockup__chrome span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ea-border);
}

.ea-mockup__chrome span:first-child {
	background: #ff5f57;
}

.ea-mockup__chrome span:nth-child(2) {
	background: #febc2e;
}

.ea-mockup__chrome span:nth-child(3) {
	background: #28c840;
}

.ea-mockup__body {
	display: flex;
	min-height: 280px;
}

.ea-mockup__sidebar {
	width: 72px;
	padding: 16px 12px;
	border-right: 1px solid var(--ea-border);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ea-mockup__nav-item {
	height: 8px;
	border-radius: 4px;
	background: var(--ea-border);
}

.ea-mockup__nav-item--active {
	background: var(--ea-accent);
	width: 80%;
}

.ea-mockup__main {
	flex: 1;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ea-mockup__card {
	height: 48px;
	border-radius: 8px;
	background: linear-gradient(90deg, var(--ea-accent-soft) 0%, rgba(203, 217, 225, 0.5) 100%);
}

.ea-mockup__card--wide {
	height: 64px;
}

.ea-mockup__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.ea-mockup__row .ea-mockup__card {
	height: 40px;
}

.ea-mockup__chart {
	flex: 1;
	min-height: 80px;
	border-radius: 8px;
	background: linear-gradient(180deg, rgba(70, 101, 119, 0.15) 0%, transparent 100%);
}

.ea-mockup__float {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.ea-mockup__float--app {
	right: -24px;
	bottom: 32px;
	animation: ea-float 6s ease-in-out infinite;
}

.ea-mockup__float span {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--ea-text-muted);
	background: var(--ea-surface);
	padding: 4px 10px;
	border-radius: var(--ea-radius-pill);
	box-shadow: var(--ea-shadow);
}

.ea-mockup__phone {
	width: 88px;
	padding: 8px;
	background: var(--ea-text);
	border-radius: 16px;
	box-shadow: var(--ea-shadow-lg);
}

.ea-mockup__phone-bar {
	height: 4px;
	width: 32px;
	margin: 0 auto 8px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
}

.ea-mockup__phone-content {
	height: 100px;
	border-radius: 8px;
	background: linear-gradient(180deg, var(--ea-slate-mid) 0%, var(--ea-accent) 100%);
}

@keyframes ea-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

/* Trust bar */
.ea-trust {
	margin-top: 72px;
	padding-top: 32px;
	border-top: 1px solid var(--ea-border);
	text-align: center;
}

.ea-trust__label {
	margin: 0 0 20px;
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--ea-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ea-trust__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ea-trust__list li {
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--ea-text-muted);
	padding: 8px 16px;
	background: var(--ea-surface);
	border: 1px solid var(--ea-slate-light);
	border-radius: var(--ea-radius-pill);
}

/* Sections */
.ea-section {
	padding: 96px 0;
}

.ea-section--muted {
	background: var(--ea-base);
}

.ea-section__header {
	max-width: 640px;
	margin-bottom: 56px;
}

.ea-section__header--center {
	margin-inline: auto;
	text-align: center;
}

.ea-section__header h2,
.ea-split__content h2 {
	margin: 0 0 16px;
	font-family: var(--ea-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ea-section__lead {
	margin: 0;
	font-size: 1.125rem;
	color: var(--ea-text-muted);
	line-height: 1.7;
}

/* Cards */
.ea-pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.ea-card {
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
	padding: 32px;
	transition: transform 0.3s var(--ea-ease), box-shadow 0.3s;
}

.ea-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ea-shadow);
}

.ea-card__icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	border-radius: 12px;
	background: var(--ea-accent-soft);
	color: var(--ea-accent);
}

.ea-card__icon svg {
	width: 24px;
	height: 24px;
}

.ea-card__icon--teal {
	background: rgba(70, 101, 119, 0.12);
	color: var(--ea-slate-mid);
}

.ea-card__icon--violet {
	background: rgba(150, 165, 178, 0.2);
	color: var(--ea-text-subtle);
}

.ea-card h3 {
	margin: 0 0 12px;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.ea-card p {
	margin: 0;
	color: var(--ea-text-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.ea-card__link {
	display: inline-block;
	margin-top: 16px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--ea-accent);
}

/* Split sections */
.ea-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.ea-split--reverse .ea-split__content {
	order: 2;
}

.ea-split--reverse .ea-split__visual {
	order: 1;
}

.ea-checklist {
	margin: 24px 0 32px;
	padding: 0;
	list-style: none;
}

.ea-checklist li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 12px;
	color: var(--ea-text-muted);
	font-size: 0.9375rem;
}

.ea-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ea-accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8l3 3 5-6' stroke='%2337505d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* Feature panel */
.ea-feature-panel {
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
	padding: 24px;
	box-shadow: var(--ea-shadow);
}

.ea-feature-panel__item {
	display: flex;
	gap: 16px;
	padding: 20px;
	border-radius: var(--ea-radius);
	transition: background 0.2s;
}

.ea-feature-panel__item:hover {
	background: var(--ea-bg);
}

.ea-feature-panel__item + .ea-feature-panel__item {
	border-top: 1px solid var(--ea-border);
}

.ea-feature-panel__dot {
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	margin-top: 6px;
	border-radius: 50%;
	background: var(--ea-accent);
}

.ea-feature-panel__dot--teal {
	background: var(--ea-slate-mid);
}

.ea-feature-panel__dot--violet {
	background: var(--ea-text-subtle);
}

.ea-feature-panel__item strong {
	display: block;
	margin-bottom: 4px;
	font-size: 1rem;
}

.ea-feature-panel__item p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--ea-text-muted);
}

/* Phone showcase */
.ea-phone-showcase {
	display: flex;
	justify-content: center;
	padding: 24px;
}

.ea-phone-showcase__device {
	width: 240px;
	padding: 12px;
	background: var(--ea-text);
	border-radius: 32px;
	box-shadow: var(--ea-shadow-lg);
}

.ea-phone-showcase__screen {
	background: var(--ea-bg);
	border-radius: 24px;
	padding: 20px;
	min-height: 360px;
}

.ea-phone-showcase__header {
	height: 12px;
	width: 60%;
	margin-bottom: 24px;
	border-radius: 6px;
	background: var(--ea-border);
}

.ea-phone-showcase__progress {
	height: 80px;
	margin-bottom: 20px;
	border-radius: var(--ea-radius);
	background: linear-gradient(135deg, var(--ea-slate-light) 0%, var(--ea-slate-mid) 100%);
	opacity: 0.95;
}

.ea-phone-showcase__items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ea-phone-showcase__items span {
	display: block;
	height: 44px;
	border-radius: 8px;
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
}

/* Features grid */
.ea-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.ea-card--feature {
	padding: 28px;
}

.ea-card--feature h3 {
	font-size: 1.0625rem;
}

/* Quote */
.ea-quote-section {
	padding: 64px 0;
}

.ea-quote {
	margin: 0;
	padding: 48px 56px;
	text-align: center;
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
	box-shadow: var(--ea-shadow-sm);
}

.ea-quote p {
	margin: 0 0 20px;
	font-family: var(--ea-font-heading);
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.02em;
	color: var(--ea-text);
}

.ea-quote footer {
	font-size: 0.875rem;
	color: var(--ea-text-muted);
}

/* CTA */
.ea-cta {
	padding: 96px 0;
	background: linear-gradient(135deg, var(--ea-slate-mid) 0%, var(--ea-accent) 45%, var(--ea-text) 100%);
}

.ea-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

.ea-cta__content {
	max-width: 560px;
}

.ea-cta h2 {
	margin: 0 0 12px;
	font-family: var(--ea-font-heading);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 400;
	color: #fff;
	letter-spacing: -0.02em;
}

.ea-cta p {
	margin: 0;
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.0625rem;
}

.ea-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Contact */
.ea-contact-card {
	padding: 40px 48px;
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
	text-align: center;
	max-width: 720px;
	margin-inline: auto;
}

.ea-contact-card h2 {
	margin: 0 0 12px;
	font-size: 1.5rem;
}

.ea-contact-card p {
	margin: 0 0 20px;
	color: var(--ea-text-muted);
}

.ea-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.ea-link-arrow svg {
	transition: transform 0.2s var(--ea-ease);
}

.ea-link-arrow:hover svg {
	transform: translateX(4px);
}

/* Footer */
.ea-footer {
	padding: 64px 0 32px;
	background: var(--ea-text);
	color: rgba(255, 255, 255, 0.7);
}

.ea-footer a {
	color: rgba(255, 255, 255, 0.7);
}

.ea-footer a:hover {
	color: #fff;
}

.ea-logo--footer {
	margin-bottom: 12px;
	padding: 10px 14px;
	background: #fff;
	border-radius: var(--ea-radius-btn);
	box-shadow: var(--ea-shadow-sm);
}

.ea-logo--footer:hover {
	opacity: 1;
}

.ea-logo--footer .ea-logo__img {
	height: 44px;
	max-width: 180px;
	filter: none;
}

.ea-footer__tagline {
	margin: 0;
	font-size: 0.875rem;
	max-width: 280px;
	line-height: 1.6;
}

.ea-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 48px;
	margin-bottom: 48px;
}

.ea-footer__col h3 {
	margin: 0 0 16px;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
}

.ea-footer__col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ea-footer__col li {
	margin-bottom: 10px;
}

.ea-footer__inline-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35em 0.5em;
}

.ea-footer__sep {
	color: rgba(255, 255, 255, 0.35);
	user-select: none;
}

.ea-footer__col a {
	font-size: 0.9375rem;
}

.ea-footer__partners {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ea-footer__partners-label {
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.5);
}

.ea-footer__partner-link {
	display: inline-block;
	padding: 8px 12px;
	background: #fff;
	border-radius: var(--ea-radius-btn);
	line-height: 0;
	transition: opacity 0.2s ease;
}

.ea-footer__partner-link:hover {
	opacity: 0.9;
}

.ea-footer__partner-logo {
	width: auto;
	height: 40px;
	max-width: 120px;
	object-fit: contain;
}

.ea-footer__bottom {
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ea-footer__bottom p {
	margin: 0;
	font-size: 0.8125rem;
}

/* Reveal animations */
.ea-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity var(--ea-duration) var(--ea-ease), transform var(--ea-duration) var(--ea-ease);
}

.ea-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ea-reveal--delay {
	transition-delay: 0.1s;
}

.ea-reveal--delay-2 {
	transition-delay: 0.2s;
}

@media (prefers-reduced-motion: reduce) {
	.ea-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.ea-mockup__float--app {
		animation: none;
	}

	html {
		scroll-behavior: auto;
	}
}

/* Responsive */
@media (max-width: 1024px) {
	.ea-hero__grid,
	.ea-split {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.ea-hero__visual {
		order: -1;
		max-width: 100%;
		margin-inline: auto;
	}

	.ea-media--portrait {
		max-width: 280px;
	}

	.ea-split--reverse .ea-split__content,
	.ea-split--reverse .ea-split__visual {
		order: unset;
	}

	.ea-pillars,
	.ea-features-grid {
		grid-template-columns: 1fr;
	}

	.ea-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	:root {
		--ea-container: min(100% - 32px, 1120px);
	}

	.ea-header__login {
		display: none;
	}

	.ea-nav-toggle {
		display: flex;
	}

	.ea-nav {
		position: fixed;
		top: var(--ea-header-h);
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--ea-bg);
		padding: 24px;
		transform: translateX(100%);
		transition: transform 0.35s var(--ea-ease);
		overflow-y: auto;
	}

	.ea-nav.is-open {
		transform: translateX(0);
	}

	.ea-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 4px;
	}

	.ea-nav__list a {
		padding: 16px;
		font-size: 1.0625rem;
	}

	.ea-hero {
		padding-top: calc(var(--ea-header-h) + 32px);
	}

	.ea-hero__cta {
		flex-direction: column;
	}

	.ea-hero__cta .ea-btn {
		width: 100%;
	}

	.ea-hero__stats {
		gap: 24px;
	}

	.ea-section {
		padding: 64px 0;
	}

	.ea-mockup__float--app {
		right: 8px;
		bottom: 16px;
	}

	.ea-cta__inner {
		flex-direction: column;
		text-align: center;
	}

	.ea-cta__actions {
		width: 100%;
		flex-direction: column;
	}

	.ea-cta__actions .ea-btn {
		width: 100%;
	}

	.ea-quote {
		padding: 32px 24px;
	}

	.ea-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

@media (min-width: 769px) {
	.ea-header__login {
		display: inline-flex;
	}
}

/* Content pages (o.a. inclusief onderwijs) */
.ea-page-hero {
	padding: calc(var(--ea-header-h) + 32px) 0 0;
}

.ea-section--content {
	padding-top: 24px;
	padding-bottom: 96px;
}

.ea-prose {
	max-width: 720px;
	margin-inline: auto;
}

.ea-prose__intro {
	margin-bottom: 48px;
	padding-bottom: 0;
	border-bottom: none;
}

.ea-prose__figure {
	max-width: 100%;
	margin: 0 0 56px;
}

.ea-prose__figure img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.ea-prose__figure figcaption {
	padding: 14px 18px;
	font-size: 0.875rem;
	color: var(--ea-text-muted);
	text-align: center;
	background: var(--ea-surface);
	border-top: 1px solid var(--ea-border);
}

.ea-prose h1 {
	margin: 0 0 20px;
	font-family: var(--ea-font-heading);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ea-text);
}

.ea-prose h2 {
	margin: 48px 0 16px;
	font-family: var(--ea-font-heading);
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: var(--ea-text);
}

.ea-prose h2:first-child {
	margin-top: 0;
}

.ea-prose p {
	margin: 0 0 1em;
	color: var(--ea-text-muted);
	line-height: 1.75;
}

.ea-prose__lead {
	font-size: 1.125rem;
	color: var(--ea-text) !important;
}

.ea-prose__links {
	margin-top: 0.5em;
	font-weight: 500;
}

.ea-prose__links a {
	color: var(--ea-accent);
	text-decoration: none;
}

.ea-prose__links a:hover {
	color: var(--ea-accent-hover);
	text-decoration: underline;
}

.ea-prose__sep {
	margin: 0 0.5em;
	color: var(--ea-text-subtle);
}

.ea-prose ul {
	margin: 0 0 1.25em;
	padding-left: 1.25em;
	color: var(--ea-text-muted);
	line-height: 1.75;
}

.ea-prose li {
	margin-bottom: 0.5em;
}

.ea-prose__checks {
	list-style: none;
	padding-left: 0;
}

.ea-prose__checks li {
	padding-left: 0;
}

.ea-prose__cta {
	margin-top: 48px;
	padding: 32px;
	text-align: center;
	background: var(--ea-base);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
}

.ea-prose__cta p {
	color: var(--ea-text);
}

.ea-prose__quote {
	margin: 48px 0 0;
	padding: 28px 32px;
	text-align: center;
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
	box-shadow: var(--ea-shadow-sm);
}

.ea-prose__quote p {
	margin: 0;
	font-family: var(--ea-font-heading);
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--ea-text);
}

/* Fallback page */
.ea-page {
	padding: calc(var(--ea-header-h) + 48px) 0 96px;
}

.ea-article h1 {
	font-size: 2rem;
	margin-bottom: 24px;
}

.ea-article__content {
	color: var(--ea-text-muted);
	line-height: 1.75;
}

.ea-article__content > *:first-child {
	margin-top: 0;
}

.ea-article__content .wp-block-table,
.ea-article__content .ea-table-wrap {
	margin: 32px 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ea-article__content .ea-faq-table table,
.ea-article__content .wp-block-table table {
	width: 100%;
	min-width: 640px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
	overflow: hidden;
}

.ea-article__content .ea-faq-table th,
.ea-article__content .wp-block-table th {
	padding: 14px 20px;
	text-align: left;
	font-family: var(--ea-font-heading);
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	background: var(--ea-accent);
	border-bottom: 1px solid var(--ea-border);
}

.ea-article__content .ea-faq-table td,
.ea-article__content .wp-block-table td {
	padding: 16px 20px;
	vertical-align: top;
	text-align: left;
	color: var(--ea-text-muted);
	border-bottom: 1px solid var(--ea-border);
	border-right: 1px solid var(--ea-border);
	background: var(--ea-surface);
}

.ea-article__content .ea-faq-table td:last-child,
.ea-article__content .wp-block-table td:last-child,
.ea-article__content .ea-faq-table th:last-child,
.ea-article__content .wp-block-table th:last-child {
	border-right: none;
}

.ea-article__content .ea-faq-table tbody tr:last-child td,
.ea-article__content .wp-block-table tbody tr:last-child td {
	border-bottom: none;
}

.ea-article__content .ea-faq-table tbody tr:nth-child(even) td,
.ea-article__content .wp-block-table tbody tr:nth-child(even) td {
	background: var(--ea-base);
}

.ea-article__content .ea-faq-table td:first-child,
.ea-article__content .wp-block-table td:first-child {
	width: 32%;
	font-weight: 500;
	color: var(--ea-text);
}

.ea-article__content .ea-faq-table p,
.ea-article__content .wp-block-table p {
	margin: 0;
}

.ea-article__content .ea-faq-table mark,
.ea-article__content .wp-block-table mark {
	padding: 0.1em 0.35em;
	border-radius: 4px;
}

/* Handreiking pages (school guides) */
.ea-handreiking {
	max-width: 880px;
	margin-inline: auto;
}

.ea-handreiking__hero {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 32px;
	align-items: center;
	margin-bottom: 40px;
	padding: 32px;
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
	box-shadow: var(--ea-shadow-sm);
}

.ea-handreiking__brand {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 28px;
	background: linear-gradient(135deg, var(--ea-slate-mid) 0%, var(--ea-accent) 100%);
	border-radius: var(--ea-radius);
}

.ea-handreiking__brand img {
	width: min(220px, 100%);
	height: auto;
}

.ea-handreiking__brand--light {
	background: var(--ea-base);
	border: 1px solid var(--ea-border);
}

.ea-handreiking__brand--logos {
	flex-shrink: 0;
	align-self: start;
	padding: 14px 16px;
}

.ea-handreiking__brand--logos img {
	width: 148px;
	max-width: 100%;
	height: auto;
}

.ea-handreiking__brand--aloysius {
	flex-shrink: 0;
	align-self: start;
	padding: 14px 16px;
}

.ea-handreiking__brand--aloysius img {
	width: 148px;
	max-width: 100%;
	height: auto;
}

.ea-handreiking__hero:has(.ea-handreiking__brand--aloysius) {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 28px;
}

.ea-handreiking__hero:has(.ea-handreiking__brand--logos) {
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 28px;
}

.ea-handreiking__toc--single {
	grid-template-columns: 1fr;
	max-width: 420px;
}

.ea-handreiking__toc:has(.ea-handreiking__toc-group:nth-child(4)) {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
	.ea-handreiking__toc:has(.ea-handreiking__toc-group:nth-child(4)) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.ea-handreiking__figures {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 24px;
}

.ea-handreiking__figures .ea-handreiking__figure {
	margin: 0;
}

.ea-handreiking__figures figcaption {
	margin-bottom: 12px;
	font-family: var(--ea-font-heading);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ea-text-subtle);
	text-align: center;
}

.ea-handreiking h1 {
	margin: 0 0 12px;
	font-family: var(--ea-font-heading);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ea-text);
}

.ea-handreiking__lead {
	margin: 0;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--ea-text-muted);
}

.ea-handreiking__lead a {
	font-weight: 500;
}

.ea-handreiking__toc {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 48px;
}

.ea-handreiking__toc-group {
	padding: 20px 24px;
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius);
}

.ea-handreiking__toc-label {
	margin: 0 0 12px;
	font-family: var(--ea-font-heading);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ea-text-subtle);
}

.ea-handreiking__toc ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ea-handreiking__toc li + li {
	margin-top: 8px;
}

.ea-handreiking__toc a {
	display: block;
	padding: 8px 0;
	font-weight: 500;
	color: var(--ea-text);
	border-bottom: 1px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.ea-handreiking__toc a:hover {
	color: var(--ea-accent);
	border-bottom-color: var(--ea-accent-soft);
}

.ea-handreiking__section {
	margin-bottom: 56px;
	padding: 32px;
	background: var(--ea-surface);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
	scroll-margin-top: calc(var(--ea-header-h) + 24px);
}

.ea-handreiking__section h2 {
	margin: 0 0 20px;
	padding-bottom: 16px;
	font-family: var(--ea-font-heading);
	font-size: clamp(1.125rem, 2.5vw, 1.375rem);
	font-weight: 500;
	line-height: 1.35;
	color: var(--ea-text);
	border-bottom: 1px solid var(--ea-border);
}

.ea-handreiking__section > p {
	margin: 0 0 24px;
	color: var(--ea-text-muted);
	line-height: 1.75;
}

.ea-handreiking__steps {
	margin: 0 0 28px;
	padding-left: 1.25rem;
	color: var(--ea-text-muted);
	line-height: 1.75;
}

.ea-handreiking__steps li + li {
	margin-top: 10px;
}

.ea-handreiking__steps--compact {
	margin-bottom: 0;
	padding-left: 1.1rem;
}

.ea-handreiking__steps--compact li + li {
	margin-top: 8px;
}

.ea-handreiking__knop {
	display: inline-block;
	padding: 0.15em 0.55em;
	font-size: 0.875em;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ea-text);
	background: var(--ea-base);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-btn);
	white-space: nowrap;
}

.ea-handreiking__knop--save {
	color: #fff;
	background: #046921;
	border-color: #046921;
}

.ea-handreiking__highlight {
	font-weight: 600;
	color: var(--ea-text);
}

.ea-handreiking__figure {
	margin: 0;
	padding: 16px;
	text-align: center;
	background: var(--ea-base);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius);
}

.ea-handreiking__figure--zoomable {
	position: relative;
	cursor: zoom-in;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ea-handreiking__figure--zoomable:hover,
.ea-handreiking__figure--zoomable:focus-visible {
	border-color: var(--ea-accent);
	box-shadow: var(--ea-shadow);
	outline: none;
}

.ea-handreiking__figure--zoomable::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: 12px;
	width: 32px;
	height: 32px;
	border-radius: var(--ea-radius-btn);
	background: rgba(28, 41, 48, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.35-4.35M11 8v6M8 11h6'/%3E%3C/svg%3E") center/18px no-repeat;
	pointer-events: none;
}

.ea-handreiking__figure img {
	width: auto;
	max-width: 100%;
	margin-inline: auto;
	border-radius: 6px;
	box-shadow: var(--ea-shadow-sm);
	pointer-events: none;
}

.ea-lightbox {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(28, 41, 48, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.ea-lightbox[hidden] {
	display: none;
}

body.ea-lightbox-open {
	overflow: hidden;
}

.ea-lightbox__dialog {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: 1400px;
}

.ea-lightbox__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 48px);
	border-radius: var(--ea-radius);
	box-shadow: var(--ea-shadow-lg);
}

.ea-lightbox__close {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	font-size: 1.75rem;
	line-height: 1;
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--ea-radius-btn);
	cursor: pointer;
	transition: background 0.2s ease;
}

.ea-lightbox__close:hover,
.ea-lightbox__close:focus-visible {
	background: rgba(255, 255, 255, 0.22);
	outline: none;
}

.ea-handreiking__options {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ea-handreiking__options table {
	width: 100%;
	min-width: 560px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius);
	overflow: hidden;
}

.ea-handreiking__options th {
	padding: 12px 18px;
	text-align: left;
	font-family: var(--ea-font-heading);
	font-size: 0.875rem;
	font-weight: 600;
	color: #fff;
	background: var(--ea-accent);
}

.ea-handreiking__options td {
	padding: 18px;
	vertical-align: top;
	background: var(--ea-base);
	border-top: 1px solid var(--ea-border);
}

.ea-handreiking__options td + td {
	border-left: 1px solid var(--ea-border);
}

.ea-handreiking__options-images td {
	padding-top: 0;
	vertical-align: top;
}

.ea-handreiking__figure--inline {
	margin: 0;
	padding: 12px;
}

.ea-handreiking__figure--inline img {
	width: 100%;
	height: auto;
}

.ea-handreiking__footer {
	padding: 24px 28px;
	text-align: center;
	background: var(--ea-accent-soft);
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius-lg);
}

.ea-handreiking__footer p {
	margin: 0;
	color: var(--ea-text-muted);
	line-height: 1.7;
}

.ea-handreiking__footer a {
	font-weight: 600;
}

.ea-handreiking__brand--module {
	background: var(--ea-base);
	border: 1px solid var(--ea-border);
	padding: 16px;
}

.ea-handreiking__brand--module img {
	width: 88px;
	height: auto;
	border-radius: 6px;
	box-shadow: var(--ea-shadow-sm);
}

.ea-handreiking__section--pdf {
	padding: 28px;
}

.ea-handreiking__pdf-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.ea-handreiking__pdf-header h2 {
	margin: 0 0 8px;
	padding: 0;
	border: none;
	font-family: var(--ea-font-heading);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--ea-text);
}

.ea-handreiking__pdf-header p {
	margin: 0;
	color: var(--ea-text-muted);
	line-height: 1.6;
}

.ea-handreiking__pdf-card {
	border: 1px solid var(--ea-border);
	border-radius: var(--ea-radius);
	overflow: hidden;
	background: var(--ea-base);
}

.ea-handreiking__pdf-label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 18px;
	font-weight: 500;
	color: var(--ea-text);
	background: var(--ea-surface);
	border-bottom: 1px solid var(--ea-border);
}

.ea-handreiking__pdf-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	padding: 4px 8px;
	font-family: var(--ea-font-heading);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #fff;
	background: var(--ea-accent);
	border-radius: var(--ea-radius-btn);
}

.ea-handreiking__pdf-viewer object {
	display: block;
	width: 100%;
	height: min(72vh, 720px);
	border: 0;
	background: #fff;
}

.ea-handreiking__pdf-viewer p {
	margin: 0;
	padding: 24px;
	color: var(--ea-text-muted);
	text-align: center;
}

@media (max-width: 768px) {
	.ea-handreiking__hero {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 24px;
	}

	.ea-handreiking__hero:has(.ea-handreiking__brand--logos) {
		grid-template-columns: auto 1fr;
		align-items: start;
		gap: 20px;
		padding: 20px;
	}

	.ea-handreiking__hero:has(.ea-handreiking__brand--aloysius) {
		grid-template-columns: auto 1fr;
		align-items: start;
		gap: 20px;
		padding: 20px;
	}

	.ea-handreiking__brand img {
		width: min(180px, 70vw);
	}

	.ea-handreiking__brand--logos img {
		width: 112px;
	}

	.ea-handreiking__brand--aloysius img {
		width: 112px;
	}

	.ea-handreiking__toc {
		grid-template-columns: 1fr;
	}

	.ea-handreiking__section {
		padding: 24px 20px;
	}

	.ea-handreiking__figures {
		grid-template-columns: 1fr;
	}

	.ea-handreiking__pdf-header {
		flex-direction: column;
		align-items: stretch;
	}

	.ea-handreiking__pdf-header .ea-btn {
		width: 100%;
		text-align: center;
	}

	.ea-handreiking__pdf-viewer object {
		height: min(60vh, 520px);
	}
}
