:root {
	--muted: #94a3b8;
	--text: #ffffff;
	--accent: #ffffff; /* bright white accent */
	--accent-strong: #e5e7eb; /* subtle hover tint */
	--on-accent: #0f172a; /* dark text on white accents */
	/* Link colors now follow the white accent */
	--link: var(--accent);
	--link-strong: var(--accent-strong);
}

/* Reset and base styles */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background: linear-gradient(90deg, #334454 0%, #6b7a8f 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(--link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--link-strong);
	text-decoration-thickness: 3px;
}

/* Clear, visible keyboard focus */
a:focus-visible {
	outline: 2px solid var(--link-strong);
	outline-offset: 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 var(--accent);
	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: var(--link);
	text-decoration: none;
}

.header nav a:hover,
.header nav a:focus {
	color: var(--link-strong);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 3px;
}

/* 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;
}

/* Larger hero wordmark in company panel */

/* 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: #253546;
	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: #253546;
	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: right;
}

/* Ensure hero logos align right in reverse layouts (like index hero) */

@media (max-width: 900px) {
	.two-col > * {
		min-width: 0;
	}
	.two-col .illustration {
		text-align: center;
		margin-top: 1rem;
	}
}

/* Fill illustration to column width in two-column panels */
.two-col .illustration img {
	width: 100%;
	height: auto;
	margin: 0;
}
@media (max-width: 900px) {
	.two-col .illustration img {
		width: 100%;
	}
}

@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: var(--accent);
	color: var(--on-accent);
	font-weight: bold;
	font-size: 0.85rem;
	padding: 0.25rem 0.5rem;
	border-radius: 999px;
	display: inline-block;
}

.footer a {
	color: var(--link);
	margin: 0 1rem;
	text-decoration: none;
}

.footer a:hover,
.footer a:focus {
	color: var(--link-strong);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 3px;
}

/* 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);
	/* Match header/footer translucent dark background */
	background-color: rgba(0, 0, 0, 0.4);
	/* Provide a subtle separator like the header uses */
	border-top: 1px solid var(--accent);
	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: var(--link);
	text-decoration: underline;
}

.cookie-link:hover {
	color: var(--link-strong);
}

.cookie-accept,
.cookie-decline {
	background-color: var(--accent);
	border: none;
	border-radius: 4px;
	color: var(--on-accent);
	cursor: pointer;
	font-weight: bold;
	padding: 0.5rem 1.5rem;
	transition: background-color 0.3s;
}

.cookie-decline {
	background-color: transparent;
	border: 1px solid var(--accent);
	color: var(--accent);
}

.cookie-accept:hover {
	background-color: var(--accent-strong);
}

.cookie-decline:hover {
	background-color: rgba(255, 255, 255, 0.12);
}

@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: var(--accent);
	color: var(--on-accent);
	padding: 0.5rem 1rem;
	text-decoration: none;
	border-radius: 4px;
	font-size: 0.9rem;
	font-weight: bold;
}

.download-link.demo {
	background: var(--accent);
	color: var(--on-accent);
	font-weight: bold;
}

.download-instructions {
	margin-top: 1rem;
	padding: 1rem;
	background: #253546;
	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: var(--accent);
	color: var(--on-accent);
	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);
}

/* Product list layout */
.product-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.75rem;
}

.product-item {
	display: grid;
	grid-template-rows: auto auto auto;
	gap: 0.15rem;
	padding: 0.5rem 0;
	border-top: 1px solid rgba(148, 163, 184, 0.16);
}

.product-item:first-child {
	border-top: 0;
}

.product-name a {
	font-weight: bold;
	text-decoration: underline;
	font-size: 1.1rem;
}

.product-byline {
	color: var(--muted);
	font-style: italic;
	font-size: 0.95rem;
}

.product-desc {
	color: var(--text);
}

/* Inline store link rows */
.store-line {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.store-line img {
	width: 60px;
	height: 60px;
	display: inline-block;
	object-fit: contain;
}

/* External link indicator */
a.external::after {
	content: "\2197"; /* ↗ */
	display: inline-block;
	margin-left: 0.25rem;
	font-size: 0.85em;
	line-height: 1;
}
