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

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

@font-face {
	font-family: 'Chakra Petch';
	src: url('/assets/fonts/ChakraPetch-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

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

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

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

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

html, body {
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	background-color: #000000;
	color: #FFFFFF;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

.skip-link {
	position: absolute;
	top: -40px;
	left: 0;
	padding: 8px 16px;
	background: #FFFFFF;
	color: #000000;
	z-index: 1000;
}

.skip-link:focus {
	top: 0;
}

.shell {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid #1E1E1E;
	background-color: rgba(0, 0, 0, 0.85);
	backdrop-filter: blur(8px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 72px;
}

.brand-mark {
	width: 42px;
	height: 42px;
	object-fit: contain;
	display: block;
}

.brand-name {
	font-family: 'Chakra Petch', system-ui, sans-serif;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 24px;
}

.site-nav {
	transition: transform 0.2s ease-out;
}

.nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 20px;
}

.nav-link {
	font-family: 'Chakra Petch', system-ui, sans-serif;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #E0E0E0;
	padding-bottom: 4px;
}

.nav-link[aria-current="page"] {
	color: #FFFFFF;
	font-weight: bold;
}

#donation-nav-link {
	color: #FFB703;
	font-weight: bold;
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 4px;
	cursor: pointer;
}

.nav-toggle-line {
	display: block;
	width: 20px;
	height: 2px;
	background: #FFFFFF;
	margin: 4px 0;
}

.site-footer {
	border-top: 1px solid #1E1E1E;
	background: #000000;
}

.site-footer .shell {
	padding: 14px 24px 18px;
	margin-top: 0;
}

.footer-bottom {
	text-align: center;
}

.footer-copy {
	color: #A0A0A0;
	margin: 0;
	font-size: 13px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.page-explorer {
	--header-height: 72px;
	--footer-height: 68px;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.page-explorer .site-main {
	flex: 1;
	display: flex;
	padding: 0;
}

.page-explorer .section {
	padding: 0;
}

.explorer-hero {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - var(--header-height) - var(--footer-height));
	padding: 64px 24px;
	text-align: center;
	background: #000000;
}

.explorer-hero__inner {
	display: grid;
	gap: 18px;
	justify-items: center;
	max-width: 780px;
	width: 100%;
	transform: translateY(-28px);
}

.explorer-logo img {
	width: 82px;
	height: 82px;
}

.explorer-tagline {
	margin: 0;
	color: #C5C5C5;
	font-size: 17px;
	line-height: 1.6;
}

.explorer-search {
	width: min(820px, 100%);
	position: relative;
}

.explorer-search form {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	border: 1px solid #323232;
	background: rgba(0, 0, 0, 0.65);
	color: #FFFFFF;
}

.explorer-search input {
	border: 0;
	background: transparent;
	color: #FFFFFF;
	padding: 14px 16px;
	font-size: 16px;
	font-family: inherit;
}

.explorer-search input::-webkit-search-decoration,
.explorer-search input::-webkit-search-cancel-button {
	display: none;
}

.explorer-search input::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}

.explorer-search input::placeholder {
	color: #757575;
}

.explorer-search input:focus {
	outline: none;
}

.explorer-search button {
	border: 0;
	background: transparent;
	color: #E0E0E0;
	padding: 0 16px;
	display: grid;
	place-items: center;
	height: 100%;
	cursor: pointer;
}

.explorer-search button svg {
	width: 22px;
	height: 22px;
}

.explorer-search button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.6);
	outline-offset: 2px;
}

.explorer-suggestions {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	margin-top: 1px;
	background: #080808;
	border: 1px solid #1f1f1f;
	border-top: 0;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
	z-index: 5;
}

.suggestion-list {
	list-style: none;
	margin: 0;
	padding: 0px;
	max-height: 180px;
	overflow-y: auto;
	text-align: left;
}

.suggestion-item {
	padding: 10px 12px;
	cursor: pointer;
	color: #dcdcdc;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.suggestion-item:hover,
.suggestion-item.is-active {
	background: #111111;
	color: #ffffff;
}

.response-panel {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #000000;
}

.response-shell {
	width: 100%;
	max-width: 860px;
	margin: 0 auto;
	padding: 88px 24px 96px;
}

.loader-wrap {
	display: grid;
	place-items: center;
	min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

.loader {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	background: linear-gradient(0deg, rgba(255, 255, 255, 0.18) 33%, #f5f5f5 100%);
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
}

.loader::after {
	content: '';
	box-sizing: border-box;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
}

.loader.is-fading {
	opacity: 0;
	transition: opacity 0.3s ease;
}

@keyframes rotation {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.result-card {
	border: 1px solid #1f1f1f;
	color: #f5f5f5;
	padding: 24px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.result-card--error {
	border-color: #3a3a3a;
	background: linear-gradient(180deg, #0b0b0b 0%, #080808 100%);
}

.result-title {
	margin: 0 0 12px;
	font-family: 'Chakra Petch', system-ui, sans-serif;
	font-size: 20px;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #ffffff;
}

.result-body {
	margin: 0;
	color: #dcdcdc;
	font-size: 16px;
	line-height: 1.7;
	white-space: pre-line;
}

.result-body a {
	color: #FFFFFF;
	text-decoration: underline;
}

.result-note {
	margin-top: 14px;
	color: #b8b8b8;
	font-size: 14px;
}
.result-actions {
	margin-top: 24px;
	display: flex;
	justify-content: center;
}
.result-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 1px solid #FFFFFF;
	background: #FFFFFF;
	color: #000000;
	font-family: 'Chakra Petch', system-ui, sans-serif;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0px 0px 80px rgba(255, 255, 255, 0.2);
	transition: box-shadow 0.5s ease;
}
.result-action:hover,
.result-action:focus-visible {
	box-shadow: 0px 0px 80px rgba(255, 255, 255, 0.45);
	outline: none;
}

.consent-notice {
	width: min(860px, 100%);
	padding: 30px 32px 26px;
	border: 1px solid #1f1f1f;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
	display: grid;
	gap: 14px;
	text-align: left;
	line-height: 1.65;
}

.consent-title {
	margin: 0 0 10px;
	font-family: 'Chakra Petch', system-ui, sans-serif;
	font-size: 26px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.consent-copy {
	margin: 0;
	color: #d5d5d5;
	font-size: 16px;
}

.consent-copy + .consent-copy {
	margin-top: 10px;
}

.consent-copy a {
	color: #FFFFFF;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.consent-copy b {
    color: #FFFFFF;
}

.consent-actions {
	display: flex;
	justify-content: flex-start;
	margin-top: 6px;
}

.consent-agree {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border-radius: 0;
	border: 1px solid #FFFFFF;
	background: #FFFFFF;
	color: #000000;
	font-family: 'Chakra Petch', system-ui, sans-serif;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
	cursor: pointer;
	box-shadow: 0px 0px 120px rgba(255, 255, 255, 0.1);
	transition: box-shadow 1s ease;
}

.consent-agree:hover,
.consent-agree:focus-visible {
	box-shadow: 0px 0px 120px rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
	.consent-notice {
		padding: 24px 22px 20px;
		gap: 12px;
	}

	.consent-title {
		font-size: 22px;
	}

	.consent-actions {
		justify-content: center;
	}

	.nav-list {
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		flex-direction: column;
		background: rgba(0, 0, 0, 0.95);
		padding: 16px 24px 24px 24px;
		transform: translateY(-100%);
	}

	.site-nav.site-nav-open .nav-list {
		transform: translateY(0);
	}

	.nav-toggle {
		display: block;
	}

	.header-inner {
		height: auto;
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

@media (max-width: 640px) {
	.explorer-hero {
		padding: 88px 18px 64px;
		min-height: calc(100vh - 60px);
	}

	.explorer-hero__inner {
		transform: translateY(-18px);
	}

	.explorer-logo img {
		width: 74px;
		height: 74px;
	}

	.explorer-tagline {
		font-size: 16px;
	}
}
