/* === TABLE OF CONTENTS ===
 * 1. CSS Layers
 * 2. Reset
 * 3. Base (Custom Properties, Globals)
 * 4. Utils (.screen-reader-text, .wrapper-*, etc.)
 * 5. Components
 *    - Featured Banner
 *    - Buttons (.btn)
 *    - Search Form
 *    - Navigation
 *    - Drawer
 *    - Footer
 * 6. Templates
 *    - Search Form Wrapper / Results
 *    - 404 Error Page
 */

/* --- Fonts --- */
@font-face {
	font-family: 'Manrope';
	src: url('../fonts/Manrope-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Manrope';
	src: url('../fonts/Manrope-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('../fonts/Inter-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* === 1. CSS Layers === */
@layer reset, base, utilities, components, templates;

@layer reset {
	*,
	*::before,
	*::after {
		box-sizing: inherit;
	}
	html {
		box-sizing: border-box;
		line-height: 1.5;
		-webkit-text-size-adjust: 100%;
	}
	body {
		margin: 0;
	}
	img,
	iframe,
	embed,
	object,
	video {
		display: block;
		max-width: 100%;
		height: auto;
	}
	:where(.menu, .sub-menu) {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	@media (prefers-reduced-motion: reduce) {
		html:focus-within {
			scroll-behavior: auto;
		}
		*,
		*::before,
		*::after {
			animation-duration: 0.01ms !important;
			animation-iteration-count: 1 !important;
			transition-duration: 0.01ms !important;
			scroll-behavior: auto !important;
		}
	}
}

@layer base {
	/* === 2. CSS Custom Properties === */
	:root {
		/* --- Colors --- */
		--hawkeye-blue-base: 0.3837 0.1352 271.15;
		--deep-core-base: 0.2775 0.1139 269.67;
		--signal-red-base: 0.4777 0.1469 30.49;
		--insight-blue-base: 0.5007 0.1563 271.83;
		--system-green-base: 0.8164 0.1113 120.39;
		--spectrum-blue-base: 0.7005 0.1181 272.73;
		--white-base: 100% 0 0;
		--black-base: 5% 0 0;

		--hawkeye-blue: oklch(var(--hawkeye-blue-base));
		--deep-core: oklch(var(--deep-core-base));
		--signal-red: oklch(var(--signal-red-base));
		--insight-blue: oklch(var(--insight-blue-base));
		--system-green: oklch(var(--system-green-base));
		--spectrum-blue: oklch(var(--spectrum-blue-base));

		--primary: var(--hawkeye-blue);
		--secondary: var(--signal-red);
		--white: oklch(var(--white-base));
		--black: oklch(var(--black-base));

		--gray-100: oklch(0.9819 0.0029 264.54);
		--gray-300: oklch(90% 0 0);
		--gray-500: oklch(56% 0 0);
		--gray-700: oklch(30% 0 0);
		--gray-900: oklch(15% 0 0);

		/* --- Typography --- */
		--ff-heading: 'Manrope', sans-serif;
		--ff-body: 'Inter', sans-serif;

		--fs-sm: clamp(0.73rem, 0.11vi + 0.7rem, 0.8rem);
		--fs-base: clamp(0.88rem, 0.29vi + 0.8rem, 1.06rem);
		--fs-md: clamp(1.05rem, 0.56vi + 0.91rem, 1.41rem);
		--fs-lg: clamp(1.26rem, 0.95vi + 1.02rem, 1.88rem);
		--fs-xl: clamp(1.51rem, 1.52vi + 1.13rem, 2.5rem);
		--fs-2xl: clamp(1.81rem, 2.32vi + 1.23rem, 3.32rem);
		--fs-3xl: clamp(2.18rem, 3.45vi + 1.31rem, 4.42rem);

		/* --- Sizing & Spacing --- */
		--gutter: 1rem;
		--max-w-max: 96rem;
		--max-w-content: 72rem;
		--max-w-text: 50rem;
		--radius: 0.5rem;

		/* --- Effects --- */
		--shadow-color: oklch(var(--black-base) / 0.15);
		--shadow-color-hover: oklch(var(--black-base) / 0.25);
		--shadow: 0 0 10px var(--shadow-color);
		--shadow-hover: 0 0 10px var(--shadow-color-hover);

		/* --- Dynamic Header Height --- */
		--header-height: 0px;
	}

	/* === 4. Globals === */
	body {
		font-family: var(--ff-body);
		font-size: var(--fs-base);
		color: var(--gray-500);
	}
	button,
	input,
	optgroup,
	select,
	textarea {
		font-family: inherit;
		font-size: 100%;
		line-height: 1.15;
		margin: 0;
	}
	b,
	strong {
		font-weight: bolder;
	}
	:where(h1, h2, h3, h4, h5, h6, .heading) {
		--heading-color: var(--black);
		color: var(--heading-color);
		font-family: var(--ff-heading);
		font-weight: 700;
		line-height: 1;
		margin-block: 0.83em;
		text-wrap: balance;
	}
	h1 {
		font-size: var(--fs-2xl);
		margin-block: 0.67em;
	}
	h2 {
		font-size: var(--fs-xl);
	}
	h3 {
		font-size: var(--fs-lg);
	}
	h4 {
		font-size: var(--fs-md);
	}
	h5 {
		font-size: var(--fs-base);
	}
	h6 {
		font-size: var(--fs-sm);
	}
	hr {
		width: 100%;
		height: 2px;
		border: none;
		margin: 2em 0;
		background-color: var(--gray-300);
	}
	a:not(.btn) {
		color: var(--gray-700);
		text-decoration: underline;
		text-decoration-thickness: 0.1em;
		text-underline-offset: 0.2em;
	}
	a:not(.btn):hover {
		color: var(--signal-red);
		text-decoration-thickness: 0.2em;
	}
	button:disabled,
	button[disabled] {
		cursor: not-allowed !important;
	}
	:focus-visible {
		outline: 2px solid var(--signal-red);
		outline-offset: 4px;
		border-radius: var(--radius);
	}
	#page {
		display: flex;
		flex-direction: column;
		min-height: 100dvh;
	}
	#main {
		flex: 1;
	}
}

/* === 5. Utils === */
@layer utilities {
	.screen-reader-text {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}
	.screen-reader-text:focus {
		position: static;
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		white-space: normal;
	}
	.skip-link {
		position: absolute;
		top: 0;
		left: 0;
		padding: 0.5rem 1rem;
		background: #000;
		color: #fff;
		text-decoration: none;
		z-index: 1000;
		transform: translateY(-120%);
	}
	.skip-link:focus,
	.skip-link:focus-visible {
		transform: translateY(0);
		width: auto;
		height: auto;
		margin: 0;
		overflow: visible;
		clip: auto;
		clip-path: none;
		white-space: normal;
	}
	.wrapper-max {
		max-width: var(--max-w-max);
		margin-inline: auto;
	}
	.wrapper-content {
		max-width: var(--max-w-content);
		margin-inline: auto;
		padding-inline: var(--gutter);
	}
	.wrapper-text {
		max-width: var(--max-w-text);
		margin-inline: auto;
	}
	body.has-drawer-open {
		overflow: hidden;
	}
}

/* === 6. Components === */
@layer components {
	/* --- Buttons --- */
	.btn {
		display: inline-block;
		padding: 1rem 2rem;
		border-radius: 0.5rem;
		text-decoration: none;
		cursor: pointer;
	}
	.btn-primary {
		background-color: var(--primary);
		color: var(--white);
	}
	.btn-primary:hover {
		background-color: color-mix(in oklch, var(--primary) 85%, transparent 15%);
	}
	.btn-white {
		background-color: var(--white);
		color: var(--primary);
	}
	.btn-white:hover {
		background-color: color-mix(in oklch, var(--white) 85%, transparent 15%);
	}
	.btn-outline__primary {
		background-color: transparent;
		color: var(--primary);
		border: 1px solid var(--primary);
	}
	.btn-outline__primary:hover {
		background-color: color-mix(in oklch, transparent 85%, var(--primary) 15%);
	}
	.btn-outline__white {
		background-color: transparent;
		color: var(--white);
		border: 1px solid var(--white);
	}
	.btn-outline__white:hover {
		background-color: color-mix(in oklch, transparent 85%, var(--white) 15%);
	}
	.btn-group {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 1rem;
	}

	/* --- Alert Banner --- */
	.alert-banner {
		background-color: var(--primary);
		color: var(--white);
		padding: 0.75rem var(--gutter);
		text-decoration: none;
		cursor: pointer;
	}
	.alert-banner__content {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
	}
	.alert-banner__content p {
		margin: 0;
	}
	.alert-banner:hover svg {
		animation: bounce 1000ms ease-in-out infinite;
	}
	@keyframes bounce {
		0% {
			transform: translateX(0);
		}
		50% {
			transform: translateX(0.5rem);
		}
		100% {
			transform: translateX(0);
		}
	}

	/* --- Navigation --- */
	.site-header {
		position: sticky;
		top: 0;
		z-index: 101;
		background-color: var(--white);
		padding: 1rem var(--gutter);
		width: 100%;
		border-block-end: 2px solid oklch(var(--black-base) / 0.06);
	}
	.site-header.is-locked {
		box-shadow: var(--shadow);
	}
	.site-header__inner {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		max-width: var(--max-w-max);
		margin-inline: auto;
	}
	.main-navigation {
		justify-self: end;
	}
	.main-navigation .menu {
		display: flex;
		align-items: center;
	}
	.main-navigation .menu a:hover {
		color: var(--deep-core);
	}
	.main-navigation .menu:has(:hover) > .menu-item:not(:has(:hover)) a,
	.main-navigation .sub-menu:has(:hover) .menu-item:not(:is(:has(:hover), .external-link)) a {
		color: oklch(var(--hawkeye-blue-base) / 0.5);
	}
	.main-navigation .menu-item {
		position: relative;
	}
	.main-navigation .menu-item a {
		color: var(--primary);
		text-decoration: none;
		padding: 1rem 2rem;
	}
	.main-navigation .sub-menu {
		display: none;
		position: absolute;
		align-items: center;
		background-color: var(--white);
		border-radius: var(--radius);
		box-shadow: var(--shadow);
		top: calc(100% + 0.5rem);
		left: 50%;
		transform: translateX(-50%);
		grid-template-columns: repeat(2, 1fr);
		min-width: max-content;
		z-index: 100;
	}
	.main-navigation .menu-item:has(.sub-menu):hover .sub-menu,
	.main-navigation .menu-item:has(.sub-menu):focus-within .sub-menu {
		display: grid;
	}
	.main-navigation .sub-menu .menu-item {
		width: 100%;
	}
	.main-navigation .sub-menu .menu-item a {
		display: block;
		padding: 1rem;
		color: var(--primary);
	}
	.main-navigation .sub-menu .menu-item a:hover {
		background-color: oklch(var(--hawkeye-blue-base) / 0.05);
	}
	.main-navigation .sub-menu .menu-item .menu-item-description {
		font-size: var(--fs-sm);
		color: var(--gray-500);
		margin-top: 0.25rem;
		line-height: 1.4;
		display: block;
	}
	.main-navigation .sub-menu .menu-item:last-of-type {
		grid-column: 1 / -1;
		background-color: var(--gray-100);
		border-block-start: 1px solid oklch(var(--black-base) / 0.06);
		border-radius: 0 0 var(--radius) var(--radius);
	}
	.main-navigation .sub-menu .menu-item:last-of-type a {
		color: var(--gray-500);
		font-size: var(--fs-sm);
	}
	.main-navigation .sub-menu .menu-item:first-of-type {
		grid-column: 1 / -1;
		background: linear-gradient(
			135deg,
			oklch(var(--hawkeye-blue-base) / 0.1) 0%,
			oklch(var(--deep-core-base) / 0.05) 100%
		);
		border: 1px solid oklch(var(--hawkeye-blue-base) / 0.15);
		border-radius: var(--radius) var(--radius) 0 0;
		padding: 0;
		position: relative;
	}
	.main-navigation .sub-menu .menu-item:first-of-type::before {
		content: 'New';
		position: absolute;
		top: 1rem;
		right: 1rem;
		background: var(--hawkeye-blue);
		color: var(--white);
		font-size: 0.625rem;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		padding: 0.25rem 0.5rem;
		border-radius: 0.25rem;
	}
	.main-navigation .sub-menu .menu-item:first-of-type a {
		color: var(--deep-core);
		font-weight: 700;
		padding: 1rem;
		display: block;
	}
	.main-navigation .sub-menu .menu-item:first-of-type a:hover {
		background-color: transparent;
		color: var(--hawkeye-blue);
	}
	.main-navigation .sub-menu .menu-item:first-of-type .menu-item-description,
	.main-navigation .sub-menu .menu-item:first-of-type .description {
		font-size: var(--fs-sm);
		color: var(--gray-500);
		margin-top: 0.25rem;
		margin-right: 3rem;
		line-height: 1.5;
		display: block;
	}
	.main-navigation .sub-menu .menu-item.external-link > a {
		display: inline-flex;
		align-items: center;
		gap: 0.375rem;
		width: 100%;
	}
	.main-navigation .sub-menu .menu-item.external-link > a::after {
		content: '';
		width: 1em;
		height: 1em;
		flex: 0 0 auto;
		background-color: currentColor;
		-webkit-mask: url('../images/icons/external-link.svg') no-repeat center / contain;
		mask: url('../images/icons/external-link.svg') no-repeat center / contain;
	}
	.main-navigation .sub-menu .sub-menu {
		display: none;
	}
	.main-navigation .sub-menu .menu-item:has(.sub-menu):hover .sub-menu {
		display: flex;
		flex-direction: column;
	}
	.drawer__nav .sub-menu .menu-item.external-link > a {
		display: inline-flex;
		align-items: center;
		gap: 0.375rem;
		width: 100%;
	}
	.drawer__nav .sub-menu .menu-item.external-link > a::after {
		content: '';
		width: 1em;
		height: 1em;
		flex: 0 0 auto;
		background-color: currentColor;
		-webkit-mask: url('../images/icons/external-link.svg') no-repeat center / contain;
		mask: url('../images/icons/external-link.svg') no-repeat center / contain;
	}
	.header-actions {
		justify-self: end;
	}
	@media (width <= 1024px) {
		.site-header__inner {
			grid-template-columns: 1fr auto;
			gap: 1rem;
		}
		.main-navigation {
			display: none;
		}
		.header-actions .btn {
			display: none;
		}
	}

	/* Menu Toggle (Hamburger) */
	.menu-toggle {
		position: relative;
		width: 44px;
		height: 44px;
		padding: 12px 10px;
		margin-inline-end: -10px;
		color: var(--primary);
		background: transparent;
		border: none;
		cursor: pointer;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
	}
	@media (width > 1024px) {
		.menu-toggle {
			display: none;
		}
	}
	.menu-toggle__line {
		display: block;
		width: 100%;
		height: 3px;
		border-radius: 9999px;
		background-color: currentColor;
		transition:
			transform 225ms
				linear(
					0,
					0.453 7.8%,
					0.803 16.1%,
					1.048 24.9%,
					1.132 29.5%,
					1.194 34.4%,
					1.227 38.4%,
					1.245 42.5%,
					1.25 46.9%,
					1.242 51.7%,
					1.2 60.5%,
					1.038 84.9%,
					1.009 92.5%,
					1
				),
			opacity 225ms
				linear(
					0,
					0.453 7.8%,
					0.803 16.1%,
					1.048 24.9%,
					1.132 29.5%,
					1.194 34.4%,
					1.227 38.4%,
					1.245 42.5%,
					1.25 46.9%,
					1.242 51.7%,
					1.2 60.5%,
					1.038 84.9%,
					1.009 92.5%,
					1
				);
		transform-origin: center;
	}
	.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
		transform: translateY(8.5px) rotate(45deg);
	}
	.menu-toggle.is-active .menu-toggle__line:nth-child(2) {
		opacity: 0;
		transform: scaleX(0);
	}
	.menu-toggle.is-active .menu-toggle__line:nth-child(3) {
		transform: translateY(-8.5px) rotate(-45deg);
	}
	/* --- Drawer --- */
	.drawer {
		position: fixed;
		top: var(--header-height);
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 100;
		pointer-events: none;
		visibility: hidden;
		transition: visibility 0s 380ms;
	}
	.drawer::before {
		content: '';
		position: absolute;
		inset: 0;
		background: oklch(var(--black-base) / 0.15);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		opacity: 0;
		transition: opacity 380ms cubic-bezier(0.32, 0.72, 0, 1);
	}
	.drawer.is-open {
		pointer-events: auto;
		visibility: visible;
		transition: visibility 0s 0s;
	}
	.drawer.is-open::before {
		opacity: 1;
	}
	.drawer__surface {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(500px, 100%);
		background: var(--white);
		color: var(--black);
		transform: translateX(100%);
		transition: transform 380ms cubic-bezier(0.32, 0.72, 0, 1);
		display: flex;
		flex-direction: column;
		will-change: transform;
	}
	.drawer.is-open .drawer__surface {
		transform: translateX(0);
	}
	.drawer__search {
		padding: 0.75rem var(--gutter);
		border-top: 1px solid oklch(var(--black-base) / 0.06);
	}
	.drawer__search-form {
		display: block;
		width: 100%;
	}
	.drawer__search-input {
		width: 100%;
		padding: 0.625rem 0.875rem 0.625rem 2.5rem;
		border: 1px solid oklch(var(--black-base) / 0.15);
		border-radius: 8px;
		background-color: var(--white);
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-position: 0.75rem 50%;
		font-size: var(--fs-base);
		transition: border-color 150ms ease;
	}
	.drawer__search-input:focus {
		border-color: var(--primary);
		outline: none;
	}
	.drawer__body {
		flex: 1;
		overflow: hidden;
		border-top: 1px solid oklch(var(--black-base) / 0.08);
	}
	.drawer__panels {
		position: relative;
		height: 100%;
	}
	.drawer__nav {
		height: 100%;
		overflow-y: auto;
		overscroll-behavior-y: contain;
		-webkit-overflow-scrolling: touch;
	}
	.drawer__nav .menu {
		display: flex;
		flex-direction: column;
	}
	.drawer__nav .menu-item {
		border-bottom: 1px solid oklch(var(--black-base) / 0.06);
	}
	.drawer__nav .menu-item > a {
		display: block;
		font-size: var(--fs-md);
		padding: 0.875rem var(--gutter);
		color: var(--black);
		text-decoration: none;
	}
	.drawer__nav .sub-menu {
		display: block;
		position: static;
		padding-left: 1rem;
	}
	.drawer__panel {
		position: absolute;
		inset: 0;
		overflow-y: auto;
		overscroll-behavior-y: contain;
		-webkit-overflow-scrolling: touch;
		background: var(--white);
		transform: translateX(100%);
		opacity: 0;
		pointer-events: none;
		transition:
			transform 320ms cubic-bezier(0.32, 0.72, 0, 1),
			opacity 280ms ease;
		will-change: transform;
	}
	.drawer__panel.is-active {
		transform: translateX(0);
		opacity: 1;
		pointer-events: auto;
		z-index: 2;
	}
	.drawer__panel.is-behind {
		transform: translateX(-35%);
		opacity: 0;
		pointer-events: none;
		z-index: 1;
	}
	.drawer__panel-header {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		min-height: 3rem;
		border-bottom: 1px solid oklch(var(--black-base) / 0.08);
		background: var(--white);
		position: sticky;
		top: 0;
		z-index: 2;
	}
	.drawer__back {
		border: none;
		border-inline-end: 1px solid oklch(var(--black-base) / 0.06);
		background: none;
		padding: 18px;
		color: oklch(var(--black-base) / 0.4);
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		transition:
			color 150ms ease,
			background 150ms ease;
	}
	.drawer__back:hover,
	.drawer__back:focus-visible {
		color: var(--black);
	}
	.drawer__back:focus-visible {
		outline: 2px solid oklch(var(--primary-base) / 0.8);
		outline-offset: 2px;
		border-radius: 4px;
	}
	.drawer__back-icon {
		display: block;
		width: 10px;
		height: 10px;
		border-left: 2px solid currentColor;
		border-bottom: 2px solid currentColor;
		rotate: 45deg;
		transform: translate3d(2px, -2px, -2px);
	}
	.drawer__panel-title {
		display: inline-flex;
		align-items: center;
		justify-content: flex-start;
		margin: 0;
		font-weight: 700;
		font-size: var(--fs-md);
		color: var(--gray-500);
		padding: 0.875rem var(--gutter);
	}
	.drawer__menu-list {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
	}
	.drawer__menu-item {
		display: flex;
		align-items: stretch;
		border-bottom: 1px solid oklch(var(--black-base) / 0.06);
	}
	.drawer__link {
		flex: 1;
		display: flex;
		align-items: center;
		padding: 0.875rem var(--gutter);
		color: var(--black);
		text-decoration: none;
		transition:
			background 150ms ease,
			color 150ms ease;
	}
	.drawer__link:hover,
	.drawer__link:focus-visible {
		background: oklch(var(--black-base) / 0.03);
		color: var(--primary);
	}
	.drawer__link:active {
		background: oklch(var(--black-base) / 0.06);
	}
	.drawer__submenu-toggle {
		border: none;
		background: none;
		padding: 18px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: oklch(var(--black-base) / 0.4);
		cursor: pointer;
		transition:
			color 150ms ease,
			background 150ms ease;
		border-left: 1px solid oklch(var(--black-base) / 0.06);
	}
	.drawer__submenu-toggle:hover {
		color: var(--primary);
		background: oklch(var(--primary-base) / 0.05);
	}
	.drawer__submenu-toggle:focus-visible {
		outline: 2px solid oklch(var(--primary-base) / 0.8);
		outline-offset: -2px;
		color: var(--primary);
	}
	.drawer__submenu-icon {
		display: block;
		width: 9px;
		height: 9px;
		border-right: 2px solid currentColor;
		border-top: 2px solid currentColor;
		rotate: 45deg;
		transform: translate3d(-2px, 2px, 2px);
	}
	.drawer__footer {
		border-top: 1px solid oklch(var(--black-base) / 0.08);
		background: oklch(var(--black-base) / 0.02);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.drawer__socials {
		display: flex;
		align-items: center;
		justify-content: space-evenly;
		gap: 1rem;
		padding: 1rem var(--gutter) 1.5rem;
	}
	.drawer__socials a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		color: oklch(var(--black-base) / 0.45);
		transition: color 150ms ease;
	}
	.drawer__socials a:hover,
	.drawer__socials a:focus-visible {
		color: var(--primary);
	}
	.drawer__socials svg {
		fill: currentColor;
	}

	/* --- Eyebrow --- */
	.eyebrow {
		background-color: var(--white);
		color: var(--secondary);
		font-size: var(--fs-sm);
		padding: 0.5rem 1rem;
		border-radius: 9999px;
		border: 1px solid var(--gray-300);
	}

	/* --- Featured Banner --- */
	.featured-banner {
		position: relative;
		/* height: clamp(300px, 35vh, 500px); */
		padding-block: 4rem 8rem;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		overflow: hidden;
	}
	.featured-banner__bg {
		position: absolute;
		top: 0;
		bottom: 0;
		left: -5vw;
		right: -5vw;
		z-index: 1;
		border-radius: 0 0 50% 50% / 0 0 clamp(60px, 8vw, 120px) clamp(60px, 8vw, 120px);
		overflow: hidden;
		background-color: var(--gray-100);
		background-image: linear-gradient(
			135deg,
			oklch(var(--spectrum-blue-base) / 0.08) 0%,
			transparent 50%,
			oklch(var(--hawkeye-blue-base) / 0.05) 100%
		);
	}
	.featured-banner__bg::after {
		content: '';
		position: absolute;
		inset: 0;
		background-image: url('../images/icons/icon-featured-banner.svg');
		background-size: 40vw;
		background-position: bottom right;
		background-repeat: no-repeat;
		opacity: 0.05;
		pointer-events: none;
	}
	.featured-banner__content {
		position: relative;
		z-index: 2;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 1rem;
		padding: var(--gutter);
	}
	.featured-banner__logo {
		width: auto;
		max-height: 50px;
	}
	.featured-banner__title {
		font-size: var(--fs-2xl);
		margin: 0.25em 0;
		line-height: 1.2;
	}
	.featured-banner__title span {
		color: var(--hawkeye-blue);
	}

	/* --- Search Form --- */
	.search-form {
		position: relative;
		max-width: 100%;
	}
	.search-form__field {
		position: relative;
		display: flex;
		align-items: center;
		background-color: oklch(var(--white-base));
		border: 2px solid var(--gray-300);
		border-radius: 0.5rem;
		overflow: hidden;
	}
	.search-form__field:focus-within {
		border-color: var(--primary);
		box-shadow: 0 0 0 3px oklch(var(--primary) / 0.1);
	}
	.search-form__input {
		flex: 1;
		padding: 0.75rem 1rem;
		border: none;
		background: transparent;
		font-size: var(--fs-base);
		color: var(--gray-900);
		outline: none;
	}
	.search-form__input::placeholder {
		color: var(--gray-700);
		opacity: 0.7;
	}
	.search-form__submit {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0.75rem;
		border: none;
		background-color: var(--primary);
		color: oklch(var(--white-base));
		cursor: pointer;
		min-width: 3rem;
	}
	.search-form__submit:hover {
		background-color: color-mix(in oklch, var(--primary) 85%, black 15%);
	}
	.search-form__submit:focus {
		outline: 2px solid oklch(var(--white-base));
		outline-offset: -2px;
	}
	.search-form__icon {
		width: 1.5rem;
		height: 1.5rem;
		fill: currentColor;
	}

	/* Search Highlight */
	.search-highlight {
		background-color: oklch(var(--secondary-base) / 0.2);
		color: inherit;
		font-weight: 600;
		padding: 0.1em 0.2em;
		border-radius: 0.2em;
	}

	/* --- Footer --- */
	.site-footer {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 1rem;
		width: 100%;
		overflow: clip;
	}
	.footer-cta {
		text-align: center;
		background-color: var(--primary);
		color: var(--white);
		padding: clamp(4rem, 8vw, 7rem) calc(var(--gutter) + 5vw) clamp(5rem, 10vw, 9rem);
		width: calc(100% + 10vw);
		margin: 0 -5vw 1rem;
		border-radius: 0 0 50% 50% / 0 0 clamp(60px, 8vw, 120px) clamp(60px, 8vw, 120px);
	}
	.footer-cta h2 {
		--heading-color: var(--white);
	}
	.footer-socials {
		display: flex;
		justify-content: center;
		align-items: center;
		gap: 1rem;
	}
	.footer-socials a {
		display: flex;
		align-items: center;
		background-color: var(--signal-red);
		color: var(--white);
		padding: 0.5rem;
		border-radius: 50%;
		transition:
			background-color 140ms ease-out,
			color 140ms ease-out;
	}
	.footer-socials a:hover {
		background-color: var(--gray-100);
		color: var(--signal-red);
	}
	.footer-copyright p {
		margin: 0.5em;
		font-size: var(--fs-sm);
		color: var(--gray-700);
	}
	.footer-copyright p a {
		color: var(--gray-700);
		text-decoration: underline;
		text-decoration-thickness: 0.1em;
		text-underline-offset: 0.2em;
	}
	.footer-copyright p a:hover {
		color: var(--signal-red);
		text-decoration-thickness: 0.2em;
	}
	.footer-copyright p a:focus-visible {
		outline: 2px solid var(--signal-red);
		outline-offset: 2px;
	}
	.footer-logo {
		display: inline-flex;
		align-items: center;
		padding-block: 1rem 2rem;
	}
}

/* === 7. Template-Specific Styles === */
@layer templates {
	/* Search form wrapper for search pages */
	.search-form-wrapper {
		margin-bottom: 2rem;
		padding: 0 var(--gutter);
	}
	/* Search results styling */
	.search-results {
		display: grid;
		gap: 1.5rem;
		padding: 0 var(--gutter);
	}
	.search-results .main-article-content {
		padding: 1.5rem;
		background-color: oklch(var(--white-base));
		border: 1px solid var(--gray-300);
		border-radius: 0.5rem;
		box-shadow: var(--shadow);
	}
	.search-results .main-article-content:hover {
		box-shadow: var(--shadow-hover);
		transform: translateY(-2px);
	}
	.search-results .entry-summary {
		color: var(--gray-700);
		line-height: 1.6;
	}
	.search-results .entry-summary p {
		margin: 0 0 1rem 0;
	}
	.search-results .entry-summary p:last-child {
		margin-bottom: 0;
	}

	/* --- 404 Error Page --- */
	.error-page {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 60vh;
		padding: var(--gutter);
		text-align: center;
	}
	.error-content {
		max-width: var(--max-w-text);
		width: 100%;
	}
	.error-message {
		margin-bottom: 2rem;
	}
	.error-message__text {
		font-size: var(--fs-lg);
		color: var(--gray-700);
		line-height: 1.6;
		margin: 0;
	}
	.error-actions {
		margin-bottom: 3rem;
	}
	.error-actions__list {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		align-items: center;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	@media (width >= 768px) {
		.error-actions__list {
			flex-direction: row;
			justify-content: center;
		}
	}
	.error-actions__item {
		width: 100%;
		max-width: 200px;
	}
	@media (width >= 768px) {
		.error-actions__item {
			width: auto;
		}
	}
	.error-btn {
		display: inline-block;
		width: 100%;
		padding: 0.75rem 1.5rem;
		border: 2px solid transparent;
		border-radius: 0.5rem;
		font-size: var(--fs-base);
		font-weight: 600;
		text-decoration: none;
		text-align: center;
		cursor: pointer;
	}
	.error-btn--primary {
		background-color: var(--primary);
		color: oklch(var(--white-base));
		border-color: var(--primary);
	}
	.error-btn--primary:hover {
		background-color: color-mix(in oklch, var(--primary) 85%, black 15%);
		border-color: color-mix(in oklch, var(--primary) 85%, black 15%);
		transform: translateY(-2px);
		box-shadow: var(--shadow-hover);
	}
	.error-btn--secondary {
		background-color: transparent;
		color: var(--primary);
		border-color: var(--primary);
	}
	.error-btn--secondary:hover {
		background-color: var(--primary);
		color: oklch(var(--white-base));
		transform: translateY(-2px);
		box-shadow: var(--shadow-hover);
	}
	.error-btn:focus {
		outline: 2px solid var(--primary);
		outline-offset: 2px;
	}
	.error-search {
		margin-bottom: 2rem;
		padding: 2rem;
		background-color: var(--gray-100);
		border-radius: 0.75rem;
		border: 1px solid var(--gray-300);
	}
	.error-search__title {
		font-size: var(--fs-md);
		color: var(--gray-700);
		margin: 0 0 1rem 0;
		font-weight: 600;
	}
	.error-search .search-form {
		max-width: 400px;
		margin: 0 auto;
	}
	.error-help {
		margin-top: 2rem;
		padding-top: 2rem;
		border-top: 1px solid var(--gray-300);
	}
	.error-help__text {
		font-size: var(--fs-sm);
		color: var(--gray-700);
		margin: 0;
		line-height: 1.5;
	}
	.error-help__text a {
		color: var(--primary);
		text-decoration: underline;
		text-decoration-thickness: 0.1em;
		text-underline-offset: 0.2em;
	}
	.error-help__text a:hover {
		color: color-mix(in oklch, var(--primary) 75%, black 25%);
		text-decoration-thickness: 0.15em;
	}
	/* --- Hero Section --- */
	.hero {
		position: relative;
		overflow: hidden;
		padding: 6rem var(--gutter);
	}
	.hero::after {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(
			0deg,
			oklch(var(--spectrum-blue-base) / 0.5) 0%,
			oklch(var(--hawkeye-blue-base) / 100) 100%
		);
		z-index: 1;
	}
	.hero-video {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
		z-index: 1;
	}
	.hero-content {
		position: relative;
		z-index: 2;
		max-width: var(--max-w-content);
		width: 100%;
		margin-inline: auto;
		padding: 4rem var(--gutter);
		color: var(--white);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		gap: 2rem;
	}
	.hero-content :where(h1, p, .btn-group) {
		margin: 0;
	}
	.hero-content h1 {
		font-size: var(--fs-2xl);
		letter-spacing: -0.05em;
		line-height: 1.2;
		color: var(--white);
	}
	.hero-content p {
		font-size: var(--fs-md);
		max-width: var(--max-w-text);
		margin-inline: auto;
		text-wrap: pretty;
	}
	@media (width <= 1024px) {
		.hero {
			padding: 3rem var(--gutter);
		}
	}
	@media (width <= 768px) {
		.hero-content {
			padding: 1rem var(--gutter);
		}
	}
	@media (width <= 400px) {
		.btn-group {
			flex-direction: column;
			gap: 1rem;
		}
		.btn-group .btn {
			width: 100%;
		}
	}

	/* --- Logo Cloud --- */
	.logo-cloud {
		--marquee-speed: 35s;
		--marquee-gap: 3rem;
		padding-block-start: 2em;
		max-width: var(--max-w-content);
		margin-inline: auto;
		background-color: var(--white);
		overflow: hidden;
		mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
	}
	.logo-cloud-track {
		display: flex;
		align-items: center;
		gap: var(--marquee-gap);
		width: max-content;
		animation: marquee var(--marquee-speed) linear infinite;
	}
	.logo-cloud-track img {
		flex-shrink: 0;
		max-width: 8rem;
		height: auto;
		aspect-ratio: 4/3;
		object-fit: contain;
	}
	@keyframes marquee {
		to {
			transform: translateX(calc(-25% - var(--marquee-gap) / 4));
		}
	}
	@media (width <= 1024px) {
		.logo-cloud {
			padding-block-start: 1rem;
		}
	}

	/* --- Intro Section --- */
	.intro {
		padding: 4rem var(--gutter);
		text-align: center;
	}
	.intro-wrapper {
		max-width: var(--max-w-text);
		width: 100%;
		margin-inline: auto;
	}
	.intro-wrapper p {
		margin-block: 2rem;
	}

	/* --- Products Section --- */
	.products {
		padding: 4rem var(--gutter);
		background-color: var(--gray-100);
	}
	.products-wrapper {
		max-width: var(--max-w-content);
		width: 100%;
		margin-inline: auto;
	}
	.products-header {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-block-end: 3rem;
		width: 100%;
	}
	.products-header h2 {
		margin-block-end: 0;
	}
	.product-card {
		display: flex;
		flex-direction: column;
		background-color: var(--primary);
		color: var(--white);
		padding: 1.5rem;
		border-radius: var(--radius);
		text-decoration: none;
		height: 100%;
	}
	.product-card__hover {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: var(--primary);
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 1rem;
		border-radius: var(--radius);
		z-index: 1;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition:
			opacity 140ms ease-out,
			visibility 140ms ease-out;
	}
	.product-card:hover .product-card__hover {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
	.product-card__content {
		margin-block-end: 2rem;
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		height: 100%;
	}
	.product-card__logo {
		position: relative;
		max-height: 3rem;
		height: auto;
		object-fit: contain;
		z-index: 2;
		align-self: flex-start;
	}
	.product-card p {
		flex: 1;
	}
	.product-card__screenshot {
		border-radius: var(--radius);
		width: 100%;
	}
	.product-card .btn-icon {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 2em;
		width: 2em;
		border: 1px solid var(--white);
		border-radius: var(--radius);
		padding: 0.5rem;
		cursor: pointer;
		margin-inline-start: auto;
		z-index: 2;
	}
	.product-card .btn-icon svg {
		color: var(--white);
		height: 12px;
		width: 14px;
		transition:
			fill 140ms ease-out,
			rotate 140ms ease-out;
	}
	.product-card:hover .btn-icon {
		background-color: var(--white);
	}
	.product-card:hover .btn-icon svg {
		color: var(--primary);
		rotate: -35deg;
	}
	.splide__arrows {
		align-self: flex-end;
		display: flex;
		gap: 0.75rem;
	}
	.splide__arrow {
		color: var(--primary) !important;
		border-radius: var(--radius) !important;
		background-color: var(--white) !important;
		border: 1px solid var(--primary) !important;
		transform: translate(0, 0) !important;
		position: unset !important;
	}
	.splide__arrow svg {
		fill: currentColor !important;
		height: 12px !important;
		width: 14px !important;
	}
	.splide__arrow--prev svg {
		transform: scaleX(1) !important;
	}

	/* --- Support Section --- */
	.support {
		padding: 4rem var(--gutter);
	}
	.support-wrapper {
		max-width: var(--max-w-content);
		width: 100%;
		margin-inline: auto;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
	.support-text h2 {
		margin-block-end: 1rem;
	}
	.support-text p {
		margin-block-end: 2rem;
	}
	.support-form {
		margin-block-start: 4.0625rem;
		border: 1px solid var(--primary);
		border-radius: var(--radius);
		padding-inline: 1rem;
	}
	@media (width <= 768px) {
		.support-wrapper {
			grid-template-columns: 1fr;
			gap: 0rem;
		}
		.support-form {
			margin-block-start: 0;
		}
	}

	/* --- Content --- */
	.content {
		width: 100%;
	}
	.content:not(.content-full-width) {
		padding: 3rem var(--gutter);
		max-width: var(--max-w-content);
		margin-inline: auto;
	}
	.content-full-width {
		padding-block: 3rem;
	}

	/* --- Product Page --- */
	.product-carousel {
		margin-block: 4rem;
	}
	.product-carousel .splide__slide {
		background-color: var(--gray-100);
		border-radius: var(--radius);
		padding: 1rem;
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}
	.product-carousel .splide__slide img {
		width: 100%;
		height: auto;
		object-fit: cover;
	}
	.product-carousel h3 {
		font-size: var(--fs-md);
		line-height: 1.4;
		margin: 0;
	}
	.product-carousel p {
		margin: 0;
	}
	.product-carousel .splide__arrows {
		align-items: center;
		justify-content: center;
		display: flex;
		gap: 0.75rem;
		margin-block-start: 1rem;
	}
	.product-carousel .splide__arrow {
		border-radius: var(--radius) !important;
		background-color: var(--white) !important;
	}
	.product-carousel .splide__arrow svg {
		fill: var(--primary) !important;
	}
	.product-cta {
		padding: 4rem;
		margin-block: 6rem;
		background: linear-gradient(143deg, var(--spectrum-blue) -59.01%, var(--hawkeye-blue) 78.7%);
		border-radius: var(--radius);
		color: var(--white);
	}
	.product-cta__grid {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
		gap: 2rem;
	}
	.product-cta__title {
		margin-block: 0 1rem;
		color: var(--white);
	}
	.product-cta__description {
		margin: 0;
		max-width: 42ch;
		text-wrap: pretty;
	}
	.product-cta__btns {
		display: flex;
		flex-direction: column;
		gap: 1rem;
		align-items: stretch;
		justify-content: center;
		text-align: center;
	}
	.product-features {
		margin: 4rem 0;
	}
	.product-features__grid {
		display: grid;
		grid-template-columns: 1fr 1.2fr;
		gap: 3rem;
		align-items: start;
	}
	.product-features__tabs {
		display: flex;
		flex-direction: column;
		gap: 0;
	}
	.product-features__item {
		display: flex;
		flex-direction: column;
		gap: 0;
	}
	.product-features__tab {
		position: relative;
		display: block;
		width: 100%;
		padding: 1rem 0;
		text-align: left;
		font-family: var(--ff-heading);
		font-weight: 700;
		font-size: var(--fs-md);
		color: var(--black);
		background: none;
		border: none;
		border-bottom: 2px solid transparent;
		cursor: pointer;
		transition: border-color 0.2s ease;
	}
	.product-features__tab:hover {
		border-bottom-color: oklch(var(--hawkeye-blue-base) / 0.5);
	}
	.product-features__tab[aria-selected='true'] {
		border-bottom-color: transparent;
	}
	.product-features__tab-progress {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 2px;
		background: oklch(var(--hawkeye-blue-base) / 0.2);
		overflow: hidden;
	}
	.product-features__tab[aria-selected='true'] .product-features__tab-progress {
		display: block;
	}
	.product-features__tab[aria-selected='false'] .product-features__tab-progress {
		display: none;
	}
	.product-features__tab-progress-fill {
		display: block;
		height: 100%;
		width: 0;
		background: var(--hawkeye-blue);
	}
	.product-features__tab-progress-fill.is-active {
		animation: product-features-progress 10s linear forwards;
	}
	@media (prefers-reduced-motion: reduce) {
		.product-features__tab-progress-fill.is-active {
			animation-duration: 0.01ms;
		}
	}
	@keyframes product-features-progress {
		from {
			width: 0%;
		}
		to {
			width: 100%;
		}
	}
	.product-features__panel {
		padding: 1rem;
	}
	.product-features__panel[hidden] {
		display: none;
	}
	.product-features__bullets > ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	.product-features__bullets li {
		position: relative;
		padding-left: 1.5rem;
		margin-bottom: 0.5rem;
	}
	.product-features__bullets li::before {
		content: '';
		position: absolute;
		left: 0;
		top: 0.35em;
		width: 0.6em;
		height: 0.35em;
		border-left: 2px solid var(--hawkeye-blue);
		border-bottom: 2px solid var(--hawkeye-blue);
		transform: rotate(-45deg);
	}
	.product-features__image-cell {
		--frame-outset: calc(1px + 0.5rem + 1px);
		padding: var(--frame-outset);
		display: flex;
		min-height: 0;
	}
	.product-features__image-frame {
		flex: 1;
		display: flex;
		min-height: 0;
		border-radius: var(--radius);
		box-shadow:
			0 0 0 1px var(--hawkeye-blue),
			0 0 0 calc(1px + 0.5rem) var(--white),
			0 0 0 calc(1px + 0.5rem + 1px) var(--hawkeye-blue);
	}
	.product-features__image-wrap {
		flex: 1;
		min-height: 0;
		border-radius: var(--radius);
		overflow: hidden;
	}
	.product-features__image {
		width: 100%;
		height: auto;
		object-fit: contain;
		object-position: center;
		display: block;
	}
	@media (width < 1024px) {
		.product-features__grid {
			grid-template-columns: 1fr;
		}
		.product-cta {
			padding: 2rem 1rem;
		}
		.product-cta__grid {
			grid-template-columns: 1fr;
			gap: 1rem;
		}
	}
}

/* --- Plugin Overrides --- */
.support-form .gform_required_legend {
	display: none;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}
.support-form .gform_wrapper {
	--gf-form-gap-x: 0.5rem;
	--gf-form-gap-y: 0.5rem;
	padding: 0;
}
.support-form .gfield:not(:has(.heading)) {
	background-color: #eaebf3;
	border-radius: var(--radius);
	padding: 0.5rem 1rem;
}
.support-form .gfield label {
	font-size: var(--fs-sm);
	color: var(--gray-500);
	margin-block-end: 0.25rem;
}
.support-form .gfield_select {
	background-color: var(--white) !important;
	border: 1px solid oklch(var(--primary-base) / 0.4) !important;
	border-radius: var(--radius) !important;
	box-shadow: none !important;
}
.support-form .gfield_select:focus {
	border-color: var(--primary) !important;
}
.support-form .gfield input,
.support-form .gfield textarea {
	background: none !important;
	border: none !important;
	padding: 0 !important;
	outline-offset: 4px !important;
	box-shadow: none !important;
}
.support-form .gfield input {
	line-height: 1 !important;
	height: auto !important;
	font-size: 16px !important;
}
.support-form .gfield textarea {
	--gf-ctrl-textarea-height: 3lh !important;
	min-block-size: 3lh !important;
	resize: vertical !important;
	font-size: 16px !important;
}
.support-form .gform_footer {
	--gf-form-footer-margin-y-start: 0.5rem;
	margin-block-end: 1rem;
	justify-content: flex-end;
}
.gform_button {
	display: inline-block !important;
	padding: 1rem 2rem !important;
	border-radius: 0.5rem !important;
	text-decoration: none !important;
	cursor: pointer !important;
	background-color: var(--primary) !important;
	color: var(--white) !important;
}
.gform_button:hover {
	background-color: color-mix(in oklch, var(--primary) 85%, transparent 15%) !important;
}
.support-form:has(.download-ready) .gform_wrapper {
	display: none !important;
}

/* === Live Fixes === */
.drawer .menu-item-description {
	display: none;
}