/* ============================================================================
 * STATIC SITE HEADER + FOOTER STYLES
 * ----------------------------------------------------------------------------
 * This file is COMPLETELY SEPARATE from the CMS system (style.css / app.js /
 * cmsData.js). It only styles the "site-header" and "site-footer" chrome,
 * which is hardcoded markup, NOT editable via cmsData.
 *
 * This is a TEMPORARY placeholder and is expected to be REMOVED later
 * (e.g. once the real site header/footer are provided by the host page).
 *
 * To remove this header/footer entirely, delete:
 *   1. This file (header-footer.css)
 *   2. header-footer.js
 *   3. The <header class="site-header"> and <footer class="site-footer">
 *      markup blocks in index.html
 *   4. The two <link>/<script> tags referencing these files in index.html
 * ============================================================================ */

:root {
	--site-bg: #FFF;
	--site-text-color: #141510;
	--site-border-color: #727269;
	--site-accent-color: #BDFF51;
	--site-dark-bg: #141510;
	--site-dark-text: #FFF;
	--site-muted-text: rgba(255, 255, 255, 0.6);
	--site-font-body: Inter, -apple-system, Roboto, Helvetica, sans-serif;
}

/* ---------------------------------- Header ---------------------------------- */

.site-header {
	background-color: var(--site-bg);
	position: relative;
	z-index: 100;
}

.site-header__inner {
	max-width: 1420px;
	margin: 0 auto;
	padding: 15px clamp(16px, 4vw, 24px);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.site-header__logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.site-header__logo img {
	height: 26px;
	width: auto;
	display: block;
}

.site-header__nav {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-wrap: wrap;
}

.site-header__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 12px 24px;
	border-radius: 50px;
	color: var(--site-text-color);
	font-family: var(--site-font-body);
	font-size: 16px;
	font-weight: 400;
	background: none;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}

.site-header__link:hover {
	background-color: rgba(20, 21, 16, 0.05);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.site-header__login {
	padding: 12px 22px 11px 24px;
	color: var(--site-text-color);
	font-family: var(--site-font-body);
	font-size: 16px;
	font-weight: 400;
	border-radius: 50px;
	transition: background-color 0.2s ease;
	white-space: nowrap;
}

.site-header__login:hover {
	background-color: rgba(20, 21, 16, 0.05);
}

.site-header__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 17px;
	border-radius: 100px;
	font-family: var(--site-font-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.site-header__btn--secondary {
	border: 1px solid var(--site-border-color);
	color: var(--site-text-color);
	background: transparent;
}

.site-header__btn--secondary:hover {
	background-color: rgba(20, 21, 16, 0.05);
}

.site-header__btn--primary {
	background-color: var(--site-accent-color);
	color: var(--site-text-color);
	border: none;
}

.site-header__btn--primary:hover {
	opacity: 0.9;
}

.site-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 32px;
	height: 32px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
}

.site-header__burger span {
	display: block;
	width: 100%;
	height: 2px;
	background-color: var(--site-text-color);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header__burger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-header__burger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.site-header__burger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1390px) {
	.site-header__nav,
	.site-header__actions {
		position: fixed;
		top: 65px;
		left: 0;
		right: 0;
		background-color: var(--site-bg);
		flex-direction: column;
		align-items: stretch;
		padding: 16px clamp(16px, 4vw, 24px);
		gap: 4px;
		box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
		max-height: calc(100vh - 65px);
		overflow-y: auto;
		transform: translateY(-10px);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.site-header__actions {
		top: auto;
	}

	.site-header.site-header--open .site-header__nav,
	.site-header.site-header--open .site-header__actions {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.site-header.site-header--open .site-header__nav {
		z-index: 101;
	}

	.site-header.site-header--open .site-header__actions {
		z-index: 101;
		margin-top: 156px;
	}

	.site-header__link,
	.site-header__login {
		width: 100%;
		border-radius: 8px;
	}

	.site-header__btn {
		width: 100%;
	}

	.site-header__burger {
		display: flex;
	}
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
	background-color: var(--site-dark-bg);
	position: relative;
	overflow: hidden;
}

.site-footer__inner {
	max-width: 1420px;
	margin: 0 auto;
	padding: clamp(40px, 8vw, 80px) clamp(1px, 8vw, 1px);
	position: relative;
	z-index: 1;
}

.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 80px;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 120px;
}

.site-footer__heading {
	color: var(--site-dark-text);
	font-family: var(--site-font-body);
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 4px;
}

.site-footer__links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__links a {
	color: var(--site-dark-text);
	font-family: var(--site-font-body);
	font-size: 16px;
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: opacity 0.2s ease;
}

.site-footer__links a:hover {
	opacity: 0.7;
}

.site-footer__social {
	display: flex;
	gap: 12px;
}

.site-footer__social-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--site-dark-text);
	transition: opacity 0.2s ease;
}

.site-footer__social-icon:hover {
	opacity: 0.7;
}

.site-footer__social-icon svg {
	width: 100%;
	height: 100%;
}

.site-footer__wordmark {
	margin-bottom: 60px;
	line-height: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    
}

.site-footer__wordmark img {
	width: 100%;
	max-width: 1030px;
	height: 156px;
	display: block;
    flex:1;
	filter: brightness(0) invert(1);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__bottom p {
	color: var(--site-dark-text);
	font-family: var(--site-font-body);
	font-size: 14px;
}

.site-footer__legal {
	display: flex;
	gap: 24px;
}

.site-footer__legal a {
	color: var(--site-dark-text);
	font-family: var(--site-font-body);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: opacity 0.2s ease;
}

.site-footer__legal a:hover {
	opacity: 0.7;
}

.site-footer__glow {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 220px;
	background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(189, 255, 81, 0.35) 0%, rgba(189, 255, 81, 0) 70%);
	pointer-events: none;
	z-index: 0;
}

@media (max-width: 900px) {
	.site-footer__top {
		gap: 32px;
	}

	.site-footer__col {
		min-width: 45%;
	}

	.site-footer__wordmark {
		margin-bottom: 40px;
	}
}

@media (max-width: 600px) {
	.site-footer__top {
		flex-direction: column;
		gap: 32px;
		margin-bottom: 48px;
	}

	.site-footer__col {
		min-width: 100%;
	}

	.site-footer__wordmark {
		margin-bottom: 32px;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
