.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background: #ffffff;
	clip: auto;
	clip-path: none;
	color: #111827;
	display: block;
	height: auto;
	left: 16px;
	padding: 12px 16px;
	top: 16px;
	width: auto;
	z-index: 100000;
}

/* Shared CTA system */
.qct-button,
.qct-work__links a,
.qct-trust__grid article > a,
.qct-trust__founder a {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	box-sizing: border-box;
	display: inline-flex;
	font-weight: 800;
	gap: .55rem;
	justify-content: center;
	line-height: 1.2;
	min-height: 48px;
	padding: .75rem 1.15rem;
	text-align: center;
	text-decoration: none !important;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.qct-button--primary,
.qct-contact-form__submit {
	background: #e75757;
	border-color: #e75757;
	color: #17151a;
}

.qct-button--secondary {
	background: #ffffff;
	border-color: rgba(23, 21, 26, .18);
	color: #17151a;
	box-shadow: 0 8px 24px rgba(23, 21, 26, .06);
}

.qct-work__links a,
.qct-trust__grid article > a,
.qct-trust__founder a {
	background: rgba(255, 255, 255, .07);
	border-color: rgba(255, 255, 255, .18);
	color: #f8f5ef !important;
}

.qct-button:hover,
.qct-button:focus-visible,
.qct-work__links a:hover,
.qct-work__links a:focus-visible,
.qct-trust__grid article > a:hover,
.qct-trust__grid article > a:focus-visible,
.qct-trust__founder a:hover,
.qct-trust__founder a:focus-visible {
	transform: translateY(-2px);
}

.qct-button--primary:hover,
.qct-button--primary:focus-visible,
.qct-contact-form__submit:hover,
.qct-contact-form__submit:focus-visible {
	background: #ef6666;
	border-color: #ef6666;
}

.qct-button--secondary:hover,
.qct-button--secondary:focus-visible {
	background: #f8f5ef;
	border-color: rgba(23, 21, 26, .32);
}

.qct-work__links a:hover,
.qct-work__links a:focus-visible,
.qct-trust__grid article > a:hover,
.qct-trust__grid article > a:focus-visible,
.qct-trust__founder a:hover,
.qct-trust__founder a:focus-visible {
	background: #e75757;
	border-color: #e75757;
	color: #17151a !important;
}

/* Compact project cards and founder facts */
.qct-work .qct-work__card {
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: clamp(1.35rem, 2vw, 1.85rem);
}

.qct-work .qct-work__number {
	margin-bottom: 1.25rem;
}

.qct-work .qct-work__description {
	margin-bottom: 0;
}

.qct-work .qct-work__links {
	gap: .65rem;
	margin-top: 1.25rem;
}

.qct-work .qct-work__links a {
	font-size: .86rem;
	min-height: 42px;
	padding: .65rem .9rem;
}

.qct-founder-profile .qct-founder-profile__facts {
	background: #fffaf4;
	border: 1px solid rgba(23, 21, 26, .16);
	border-radius: 1rem;
	grid-template-columns: .8fr .9fr 1.3fr;
	margin-top: 1.75rem;
	overflow: hidden;
}

.qct-founder-profile .qct-founder-profile__facts div,
.qct-founder-profile .qct-founder-profile__facts div:not(:last-child),
.qct-founder-profile .qct-founder-profile__facts div:first-child {
	border-bottom: 0;
	padding: 1rem 1.15rem;
}

.qct-founder-profile .qct-founder-profile__facts dd {
	font-size: .95rem;
	line-height: 1.45;
}

/* Preference button should not remain after a decision. */
.qct-cookie-settings {
	display: none !important;
}

@media (max-width: 760px) {
	.qct-founder-profile .qct-founder-profile__facts {
		grid-template-columns: 1fr;
	}

	.qct-founder-profile .qct-founder-profile__facts div:not(:last-child) {
		border-bottom: 1px solid rgba(23, 21, 26, .14);
		border-right: 0;
	}
}

@media (max-width: 640px) {
	.qct-button,
	.qct-contact-form__submit {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.qct-button,
	.qct-work__links a,
	.qct-trust__grid article > a,
	.qct-trust__founder a {
		transition: none;
	}
}
