/**
 * Layout and page-specific styles.
 */

@import url('./components/buttons.css');
@import url('./components/layout.css');

/* Base typography */
body {
	font-family: var(--font-primary);
	/* -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; */
}

h1 {
	font-size: 52px;
	line-height: 1;
	color: var(--color-bg-deepest);
	margin: 0 0 14px;
	text-transform: uppercase;
	font-weight: 700;
}

h2 {
	font-size: 40px;
	line-height: 1.2;
	margin: 0 0 18px;
	font-weight: 700;
	text-transform: uppercase;
}

@media screen and (max-width: 768px) {
	h1 {
		font-size: 26px;
		margin: 0 0 6px;
	}

	h2 {
		font-size: 24px;
		margin: 0 0 12px;
	}
}

.ct-ui-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
	border-radius: 30px;
	background: #F3F2F5;
	font-weight: 500;
	font-size: 16px;
	line-height: 140%;
	color: #464362;
}

.ct-ui-pill::before {
	content: "•";
	margin-right: 4px;
	line-height: 1;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.ct-ui-pill {
		padding: 4px 12px;
		font-size: 14px;
	}
}

/* ─── External link with arrow icon (reusable) ────────────────────────────── */

.ct-link-external {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-weight: 600;
	font-size: 16px;
	line-height: 140%;
	text-decoration: underline;
	text-underline-offset: 3px;
	color: var(--color-purple-deep);
}

.ct-link-external::after {
	content: '';
	display: inline-block;
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.494965 10.7L10.495 0.700012M10.495 0.700012V9.03335M10.495 0.700012H2.16163' stroke='%233F3880' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.2s ease;
}

.ct-link-external:hover::after {
	transform: rotate(45deg);
}

@media (max-width: 768px) {
	.ct-link-external {
		font-size: 14px;
	}
}

/* Sticky footer layout */
.page-content {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background-color: var(--color-light-100);
}

.page-content__top {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	min-height: 0;
}
