/*
 * Alfa Components — base styles (v0.1.0)
 *
 * Only design tokens and scoped primitives. Every rule is scoped under
 * .alfa-c so the theme (GeneratePress) and other plugins are unaffected.
 * Component-specific styles live in assets/css/components/{slug}.css.
 *
 * Fonts: Manrope is NOT loaded here (served by OMGF Pro / site settings).
 */

.alfa-c {
	/* Brand tokens */
	--alfa-navy: #0B2D5B;
	--alfa-navy-dark: #071F40;
	--alfa-orange: #FF7A00;
	--alfa-orange-dark: #E56800;
	--alfa-white: #FFFFFF;
	--alfa-light: #F4F6F8;
	--alfa-border: #E5E7EB;
	--alfa-text: #2E2E2E;
	--alfa-muted: #667085;

	/* Layout tokens */
	--alfa-radius: 8px;
	--alfa-gutter: 16px;
	--alfa-max-width: 1200px;
	--alfa-focus: 3px solid var(--alfa-orange);
	--alfa-font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	box-sizing: border-box;
	font-family: var(--alfa-font);
	color: var(--alfa-text);
}

.alfa-c *,
.alfa-c *::before,
.alfa-c *::after {
	box-sizing: inherit;
}

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

/* Inner content width aligned with the theme container. */
.alfa-c .alfa-container {
	width: 100%;
	max-width: var(--alfa-max-width);
	margin-inline: auto;
	padding-inline: var(--alfa-gutter);
}

/* Visible keyboard focus for every interactive element inside components. */
.alfa-c a:focus-visible,
.alfa-c button:focus-visible,
.alfa-c summary:focus-visible,
.alfa-c input:focus-visible,
.alfa-c select:focus-visible,
.alfa-c textarea:focus-visible {
	outline: var(--alfa-focus);
	outline-offset: 2px;
}

/* Screen-reader-only text. */
.alfa-c .alfa-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	.alfa-c *,
	.alfa-c *::before,
	.alfa-c *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
