/*
 * Vector Energy public design system.
 *
 * This file is the shared visual contract. Keep content, routing and
 * microsite-specific composition outside Core; consumers may override the
 * tokens locally, but should not redefine the base contract.
 */
:root {
	--ve-deep-green: #044a3c;
	--ve-energy-teal: #008b78;
	--ve-secondary-green: #288654;
	--ve-solar-yellow: #fccf42;
	--ve-ink: #0e2426;
	--ve-soft-green: #eaf4ef;
	--ve-white: #ffffff;
	--ve-canvas: #f7faf8;
	--ve-border: #d9e4de;
	--ve-text-muted: #5c6c69;
	--ve-success: #288654;
	--ve-success-soft: #eaf4ef;
	--ve-warning: #9c5208;
	--ve-warning-soft: #fff3e0;
	--ve-danger: #b42318;
	--ve-danger-soft: #fdecea;
	--ve-info: #1769aa;
	--ve-info-soft: #eaf3fb;
	--ve-neutral: #667085;
	--ve-neutral-soft: #f2f4f7;

	--ve-radius-xs: 6px;
	--ve-radius-sm: 10px;
	--ve-radius-md: 14px;
	--ve-radius-lg: 20px;
	--ve-radius-pill: 999px;

	--ve-space-1: 4px;
	--ve-space-2: 8px;
	--ve-space-3: 12px;
	--ve-space-4: 16px;
	--ve-space-5: 20px;
	--ve-space-6: 24px;
	--ve-space-8: 32px;
	--ve-space-10: 40px;
	--ve-space-12: 48px;
	--ve-space-16: 64px;
	--ve-space-20: 80px;
	--ve-space-24: 96px;
	--ve-space-32: 128px;

	--ve-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ve-container-md: 720px;
	--ve-container-lg: 960px;
	--ve-container-xl: 1920px;
	--ve-container-xxl: 1920px;
	--ve-motion-fast: 120ms;
	--ve-motion-standard: 180ms;
	--ve-motion-emphasis: 260ms;
	--ve-ease: cubic-bezier(.2, 0, 0, 1);
	--ve-shadow-1: 0 1px 2px rgba(14, 36, 38, .06);
	--ve-shadow-2: 0 6px 20px rgba(14, 36, 38, .08);
	--ve-shadow-4: 0 20px 60px rgba(14, 36, 38, .18);
}

.ve-container {
	width: calc(100% - 32px);
	margin-inline: auto;
}

.ve-section {
	padding-block: var(--ve-space-10);
}

.ve-grid {
	display: grid;
	gap: var(--ve-space-4);
}

.ve-surface,
.ve-card {
	background: var(--ve-white);
	border: 1px solid var(--ve-border);
	border-radius: var(--ve-radius-md);
}

.ve-card {
	padding: var(--ve-space-4);
	box-shadow: var(--ve-shadow-1);
	color: inherit;
	text-decoration: none;
}

.ve-card:hover {
	box-shadow: var(--ve-shadow-2);
}

.ve-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	gap: var(--ve-space-2);
	padding: 0 var(--ve-space-5);
	border: 1px solid transparent;
	border-radius: var(--ve-radius-sm);
	font: 600 15px/20px var(--ve-font);
	text-decoration: none;
	transition: background-color var(--ve-motion-standard) var(--ve-ease), border-color var(--ve-motion-standard) var(--ve-ease), color var(--ve-motion-standard) var(--ve-ease), transform var(--ve-motion-standard) var(--ve-ease);
}

.ve-button:hover,
.ve-button:focus-visible {
	transform: translateY(-1px);
}

.ve-button--primary {
	background: var(--ve-deep-green);
	color: var(--ve-white);
}

.ve-button--secondary {
	background: var(--ve-white);
	border-color: var(--ve-deep-green);
	color: var(--ve-deep-green);
}

.ve-button--solar {
	background: var(--ve-solar-yellow);
	border-color: var(--ve-solar-yellow);
	color: var(--ve-deep-green);
}

.ve-button--ghost-light {
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	color: var(--ve-white);
}

.ve-icon-button {
	min-width: 44px;
	min-height: 44px;
	padding-inline: var(--ve-space-3);
}

.ve-eyebrow {
	color: var(--ve-secondary-green);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 16px;
	text-transform: uppercase;
}

.ve-display {
	font-size: 38px;
	font-weight: 800;
	letter-spacing: -.04em;
	line-height: 44px;
}

.ve-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ve-space-4);
}

.ve-field {
	display: grid;
	gap: var(--ve-space-2);
}

.ve-field--full {
	grid-column: 1 / -1;
}

.ve-field label {
	color: var(--ve-ink);
	font-weight: 600;
}

.ve-field input,
.ve-field select,
.ve-field textarea {
	width: 100%;
	min-height: 48px;
	padding: 0 var(--ve-space-4);
	border: 1px solid var(--ve-border);
	border-radius: var(--ve-radius-sm);
	background: var(--ve-white);
	color: var(--ve-ink);
	font: inherit;
}

.ve-field textarea {
	min-height: 120px;
	padding-block: var(--ve-space-3);
	resize: vertical;
}

.ve-field input:disabled,
.ve-field select:disabled,
.ve-field textarea:disabled {
	background: var(--ve-neutral-soft);
	color: var(--ve-neutral);
}

.ve-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;
}

.ve-focus-ring:focus-visible,
.ve-button:focus-visible,
.ve-field input:focus-visible,
.ve-field select:focus-visible,
.ve-field textarea:focus-visible {
	outline: 3px solid rgba(4, 74, 60, .28);
	outline-offset: 3px;
}

@media (min-width: 768px) {
	.ve-container {
		width: min(calc(100% - 40px), var(--ve-container-md));
	}

	.ve-section {
		padding-block: var(--ve-space-12);
	}

	.ve-grid {
		gap: var(--ve-space-5);
	}

	.ve-display {
		font-size: 48px;
		line-height: 56px;
	}
}

@media (min-width: 992px) {
	.ve-container {
		width: min(calc(100% - 48px), var(--ve-container-lg));
	}

	.ve-section {
		padding-block: var(--ve-space-16);
	}

	.ve-grid {
		gap: var(--ve-space-6);
	}
}

@media (min-width: 1200px) {
	.ve-container {
		max-width: var(--ve-container-xl);
	}
}

@media (min-width: 1400px) {
	.ve-container {
		max-width: var(--ve-container-xxl);
	}
}

@media (max-width: 767px) {
	.ve-form-grid {
		grid-template-columns: 1fr;
	}

	.ve-field--full {
		grid-column: auto;
	}

	.ve-field input,
	.ve-field select,
	.ve-field textarea {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ve-button {
		transition-duration: 0ms;
	}

	.ve-button:hover,
	.ve-button:focus-visible {
		transform: none;
	}
}
