/*
 * SCA landing pages: shared brand tokens, resets and buttons.
 * Tokens mirror the Elementor kit (Kit Styles, post 10). Loaded before each
 * page's own stylesheet.
 */

:root {
	--sca-navy: #0f1927;
	--sca-navy-hover: #1d2c42;
	--sca-cream: #f9f8eb;
	--sca-paper: #ffffff;
	--sca-yellow: #ffcf00;
	--sca-yellow-hover: #ffd83a;
	--sca-yellow-tint: #fff7d1;
	--sca-ink: #0f1927;
	--sca-text: #4c535b;
	--sca-muted: #636a72;
	--sca-error: #b42318;
	--sca-line: rgba(15, 25, 39, 0.12);
	--sca-line-strong: rgba(15, 25, 39, 0.24);
	--sca-on-dark: rgba(249, 248, 235, 0.78);
	--sca-on-dark-line: rgba(249, 248, 235, 0.14);

	--sca-display: "Urbanist", "Segoe UI", system-ui, sans-serif;
	--sca-body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;

	--sca-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--sca-spring: cubic-bezier(0.34, 1.45, 0.64, 1);

	--sca-card-shadow: 0 1px 0 rgba(15, 25, 39, 0.05), 0 40px 70px -32px rgba(15, 25, 39, 0.6), 0 14px 28px -16px rgba(15, 25, 39, 0.3);
	--sca-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFCF00' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Base ------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body.sca {
	margin: 0;
	background: var(--sca-cream);
	color: var(--sca-text);
	font: 400 1.0625rem/1.6 var(--sca-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Resets use :where() so they carry zero specificity and never override a
   component class. */
:where(.sca) :where(h1, h2, h3) {
	margin: 0;
	font-family: var(--sca-display);
	color: var(--sca-ink);
	line-height: 1.1;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

:where(.sca) :where(p, figure, blockquote) {
	margin: 0;
}

:where(.sca) :where(img, svg) {
	display: block;
	max-width: 100%;
}

:where(.sca) img {
	height: auto;
}

:where(.sca) :where(button, input) {
	font: inherit;
	color: inherit;
}

:where(.sca) a {
	color: inherit;
}

:where(.sca) :focus-visible {
	outline: 3px solid var(--sca-navy);
	outline-offset: 3px;
}

:where(.sca-dark) :focus-visible {
	outline-color: var(--sca-yellow);
}

.sca-wrap {
	width: min(100% - 32px, 1200px);
	margin-inline: auto;
}

.sca-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.sca-skip {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--sca-yellow);
	color: var(--sca-navy);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
}

.sca-skip:focus {
	transform: none;
}

/* Buttons --------------------------------------------------------------- */

.sca-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 56px;
	padding: 0 30px;
	border: 0;
	border-radius: 999px;
	font: 700 0.875rem/1 var(--sca-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s var(--sca-ease), box-shadow 0.2s var(--sca-ease), transform 0.25s var(--sca-spring);
}

.sca-btn:active {
	transform: translateY(1px) scale(0.985);
}

.sca-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}

.sca-btn--navy {
	background: var(--sca-navy);
	color: #fff;
}

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

.sca-btn--yellow {
	background: var(--sca-yellow);
	color: var(--sca-navy);
}

.sca-btn--yellow:hover {
	background: var(--sca-yellow-hover);
	box-shadow: 0 12px 26px -12px rgba(255, 207, 0, 0.8);
}

.sca-btn--block {
	width: 100%;
}

.sca-btn--lg {
	min-height: 64px;
	padding: 0 38px;
}

.sca-btn[aria-busy="true"] {
	cursor: progress;
	opacity: 0.85;
}

.sca-link {
	padding: 8px 0;
	border: 0;
	background: none;
	color: var(--sca-ink);
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1.5px;
	cursor: pointer;
}

/* Motion ---------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
