:root {
	--muted: #94a3b8;
	--text: #ffffff;
	--accent: #38bdf8;
	--accent-strong: #0ea5e9;
}

/* Reset and base styles */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: linear-gradient(90deg, #292960 0%, #3366ff 100%);
	color: var(--text);
	font-family: Arial, sans-serif;
	font-weight: normal;
	line-height: 1.6;
	min-height: 100vh;
	overflow-x: hidden;
}

/* Inline links */
a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:hover,
a:focus {
	color: var(--accent-strong);
	text-decoration-thickness: 2px;
}

h1,
h2 {
	color: var(--text);
	font-weight: normal;
}

/* Header section */
.header {
	align-items: flex-end;
	backdrop-filter: blur(10px);
	background: rgba(0, 0, 0, 0.3);
	border-bottom: 1px solid #39f2c4;
	display: flex;
	justify-content: space-between;
	padding: 1rem 12%;
}

.header-left {
	display: flex;
	align-items: center;
	gap: 1rem;
}

/* Brand link in header: keep appearance unchanged */
.header .header-brand {
	display: flex;
	align-items: center;
	gap: 1rem;
	text-decoration: none;
	color: inherit;
}

.header .header-brand:hover,
.header .header-brand:focus {
	text-decoration: none;
	color: inherit;
}

.header-logo {
	height: 5rem;
	width: 5rem;
}

.header-brand {
	color: inherit;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 1rem;
}

.header-brand:hover,
.header-brand:focus {
	color: inherit;
	text-decoration: none;
}

.header h1 {
	color: var(--text);
	margin-bottom: 0.25rem;
}

.header .location {
	color: var(--text);
	font-size: 0.9rem;
	margin: 0;
}

.header nav {
	display: flex;
	gap: 1rem;
}

.header nav a {
	color: #39f2c4;
	text-decoration: none;
}

/* Title section */
.title {
	background: transparent;
	margin: 2rem;
	text-align: center;
}

.title h1 {
	color: var(--text);
	font-size: 2.5rem;
}

.title h2 {
	color: var(--text);
	font-size: 1.8rem;
	font-style: italic;
	margin-top: 1rem;
}

/* Panel content styles */
.panel h1 {
	color: var(--text);
	font-weight: bold;
	margin-bottom: 1rem;
}

.panel p {
	color: var(--text);
	margin-bottom: 1rem;
}

.panel ul,
.panel li {
	color: var(--text);
}
.panel li::marker {
	color: var(--text);
}

.panel ul {
	list-style: none;
	padding-left: 0;
	margin: 0 0 1rem 0;
}
.panel ul li {
	position: relative;
	padding-left: 1.25rem;
	margin: 0.25rem 0;
}
.panel ul li::before {
	content: "\2022";
	position: absolute;
	left: 0;
	top: 0.2em;
	color: var(--text);
}
.panel ol {
	list-style-position: inside;
	padding-left: 0;
	margin: 0 0 1rem 0;
}

/* Illustration section */
.illustration {
	margin: 1rem auto;
	padding: 1rem;
	text-align: center;
}

.illustration img {
	display: block;
	height: auto;
	max-width: 100%;
	margin: 0 auto;
}

/* Illustration framing */
.illustration.framed img {
	background: white;
	border-radius: 8px;
	padding: 0.5rem;
	margin: 0.25rem 0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.illustration.bare img {
	background: transparent;
	border-radius: 0;
	padding: 0;
	margin: 0;
	box-shadow: none;
}

/* Content panel for multi-content boxes (reusable) */
.panel {
	background: #1e2a6b;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin: 2rem auto;
	max-width: min(1100px, 92vw);
	padding: clamp(1rem, 2vw, 2rem);
	overflow-wrap: break-word;
	word-wrap: break-word;
}

.panel.narrow {
	max-width: min(800px, 92vw);
}

.illustration figcaption {
	color: var(--text);
	font-style: italic;
	margin-top: 0.5rem;
}

/* Callout section */
.callout {
	background: #1e2a6b;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-left: 4px solid var(--accent);
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	margin: 2rem auto;
	max-width: 800px;
	padding: 1.5rem;
}

/* Narrow variant for compact CTAs */
.callout.narrow {
	max-width: min(520px, 92vw);
	text-align: center;
}

.callout h1 {
	color: var(--text);
	margin-bottom: 0.5rem;
	font-weight: bold;
}

.callout p {
	color: var(--text);
}

.callout ul,
.callout li {
	color: var(--text);
}
.callout li::marker {
	color: var(--text);
}
/* Bullet lists in callouts: same treatment */
.callout ul {
	list-style: none;
	padding-left: 0;
	margin: 0.25rem 0 0 0;
}
.callout ul li {
	position: relative;
	padding-left: 1.25rem;
	margin: 0.25rem 0;
}
.callout ul li::before {
	content: "\2022";
	position: absolute;
	left: 0;
	top: 0.2em;
	color: var(--text);
}
.callout ol {
	list-style-position: inside;
	padding-left: 0;
	margin: 0.25rem 0 0 0;
}

/* Footer section */
.footer {
	backdrop-filter: blur(10px);
	background-color: rgba(0, 0, 0, 0.4);
	color: var(--text);
	margin-top: 3rem;
	padding: 2rem 12%;
	text-align: center;
}

.two-col {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	align-items: start; /* top-align content in all boxes */
	gap: 2rem;
}

.two-col.reverse {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Section-specific top-align overrides no longer needed; .two-col handles it */

.two-col .illustration {
	margin: 0;
	padding: 0;
	text-align: right;
}

/* Rely on DOM order for column placement (first = left, second = right) */

/* image sizing covered by generic .illustration img rule */

.two-col.reverse .illustration {
	text-align: left;
}

@media (max-width: 900px) {
	.two-col > * {
		min-width: 0;
	}
	.two-col .illustration {
		text-align: center;
		margin-top: 1rem;
	}
}

@media (max-width: 480px) {
	.two-col {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	.two-col.reverse {
		grid-template-columns: 1fr;
	}
	.two-col .illustration {
		max-width: 100%;
		overflow: hidden;
	}
	.two-col .illustration img {
		max-width: 100%;
		width: auto;
		height: auto;
	}
}

/* Badges */
.badges {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.badge {
	background: #39f2c4;
	color: #292960;
	font-weight: bold;
	font-size: 0.85rem;
	padding: 0.25rem 0.5rem;
	border-radius: 999px;
	display: inline-block;
}

.footer a {
	color: #39f2c4;
	margin: 0 1rem;
	text-decoration: none;
}

/* Tablet and mobile responsive styles */
@media (max-width: 768px) {
	.header {
		flex-direction: column;
		text-align: center;
		padding: 1rem 5%;
	}

	.header-left {
		flex-direction: column;
		gap: 0.5rem;
		align-items: center;
		text-align: center;
	}

	.header-left > div {
		text-align: center;
	}

	.header-logo {
		height: 4rem;
		width: 4rem;
	}

	.header h1 {
		font-size: 1.2rem;
	}

	.header .location {
		font-size: 0.8rem;
	}

	.header nav {
		flex-wrap: wrap;
		justify-content: center;
		margin-top: 1rem;
		gap: 0.5rem;
	}

	.header nav a {
		padding: 0.25rem 0.5rem;
	}

	.title {
		margin: 1rem;
	}

	.title h1 {
		font-size: 1.8rem;
	}

	.title h2 {
		font-size: 1.2rem;
	}

	.panel {
		margin: 1rem 2%;
		padding: 1.5rem;
		max-width: 96vw;
	}

	.callout {
		margin: 1rem;
		padding: 1rem;
	}

	.illustration img {
		max-width: 100%;
		height: auto;
	}

	.footer {
		padding: 2rem 5%;
	}

	.footer nav a {
		display: inline-block;
		margin: 0.25rem 0.5rem;
	}
}

/* Small phone styles */
@media (max-width: 480px) {
	body {
		font-size: 14px;
	}

	.header {
		padding: 0.75rem 3%;
	}

	.header-logo {
		height: 3.5rem;
		width: 3.5rem;
	}

	.header h1 {
		font-size: 1rem;
	}

	.header .location {
		font-size: 0.75rem;
	}

	.header nav a {
		font-size: 0.9rem;
		padding: 0.2rem 0.4rem;
	}

	.title h1 {
		font-size: 1.5rem;
	}

	.title h2 {
		font-size: 1rem;
	}

	.panel {
		margin: 0.5rem 1%;
		padding: 1rem;
		max-width: 98vw;
	}

	.panel h1 {
		font-size: 1.1rem;
	}

	.callout {
		margin: 0.5rem;
		padding: 0.75rem;
	}

	.callout h1 {
		font-size: 1.1rem;
	}

	.illustration img {
		max-width: 100%;
		height: auto;
	}

	.footer {
		padding: 1rem 3%;
		font-size: 0.9rem;
	}
}

/* Very small phone styles */
@media (max-width: 360px) {
	.header-logo {
		height: 3rem;
		width: 3rem;
	}

	.header h1 {
		font-size: 0.9rem;
	}

	.title h1 {
		font-size: 1.3rem;
	}

	.title h2 {
		font-size: 0.9rem;
	}
}

/* Cookie banner styles */
.cookie-banner {
	backdrop-filter: blur(10px);
	background-color: rgba(41, 41, 96, 0.95);
	bottom: 0;
	color: #ffffff;
	left: 0;
	padding: 1rem;
	position: fixed;
	right: 0;
	z-index: 1000;
}

.cookies {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1200px;
}

.cookies p {
	min-width: 300px;
	margin: 0;
	flex: 1;
}

.cookie-link {
	color: #39f2c4;
	text-decoration: underline;
}

.cookie-link:hover {
	color: #2dd4a8;
}

.cookie-accept,
.cookie-decline {
	background-color: #39f2c4;
	border: none;
	border-radius: 4px;
	color: #292960;
	cursor: pointer;
	font-weight: bold;
	padding: 0.5rem 1.5rem;
	transition: background-color 0.3s;
}

.cookie-decline {
	background-color: transparent;
	border: 1px solid #39f2c4;
	color: #39f2c4;
}

.cookie-accept:hover {
	background-color: #2dd4a8;
}

.cookie-decline:hover {
	background-color: rgba(57, 242, 196, 0.1);
}

@media (max-width: 768px) {
	.cookies {
		flex-direction: column;
		text-align: center;
	}

	.cookies p {
		margin-bottom: 1rem;
		min-width: auto;
	}
}

@media (max-width: 480px) {
	.cookie-banner {
		padding: 0.75rem;
	}

	.cookies p {
		font-size: 0.9rem;
	}

	.cookie-accept,
	.cookie-decline {
		padding: 0.4rem 1rem;
		font-size: 0.9rem;
	}
}

.download-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.download-link {
	background: #39f2c4;
	color: #292960;
	padding: 0.5rem 1rem;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: bold;
}

.download-link.demo {
	background: #39f2c4;
	color: #292960;
	font-weight: bold;
}

.download-instructions {
	margin-top: 1rem;
	padding: 1rem;
	background: #1e2a6b;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-left: 4px solid var(--accent);
	border-radius: 4px;
}

.download-instructions h3 {
	color: var(--text);
	font-weight: bold;
	margin-bottom: 0.5rem;
	font-size: 1rem;
}

.download-instructions ol {
	margin: 0.5rem 0 0.5rem 1.5rem;
	padding: 0;
}

.download-instructions li {
	margin-bottom: 0.25rem;
	color: var(--text);
	font-size: 0.9rem;
}

/* Reusable button style (for callouts and CTAs) */
.button {
	background: #39f2c4;
	color: #292960;
	padding: 0.5rem 1rem;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: bold;
	display: inline-block;
}

.callout .button {
	margin-top: 0.5rem;
}

/* License text blocks (third-party notices) */
pre.license-text {
	font-style: italic;
	font-size: 1.1em;
	line-height: 1.6;
	padding-block: 0.25rem;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

/* Contact page layout */
.contact-grid {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
	flex-wrap: wrap;
}

.contact-col {
	flex: 1;
	min-width: 250px;
}

.contact-map {
	flex: 1;
	min-width: 300px;
}

.contact-map iframe {
	border: 0;
	border-radius: 8px;
	width: 100%;
	height: 300px;
}

/* Muted inline note, e.g., effective dates */
.muted-note {
	margin-top: 1rem;
	color: var(--muted);
}
