/* Design tokens (see DESIGN.md v6 - Duna-inspired) */
:root {
	--color-bg: #f7f5ef;
	--color-text: #292421;
	--color-text-secondary: #6b645f;
	--color-accent-purple: #3d1a4a;
	--color-accent-lime: #aeec1d;
	--font-heading: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
	font-family: var(--font-body);
	margin: 0;
	padding: 0;
	background-color: var(--color-bg);
	color: var(--color-text);
}

h1,
h2,
h3 {
	font-family: var(--font-heading);
}

header {
	background-color: var(--color-bg);
	padding: 1.25rem 0;
	border-bottom: 1px solid rgba(41, 36, 33, 0.08);
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1rem;
}

#logo-container {
	display: flex;
	align-items: center;
}

#logo {
	width: 120px;
	height: auto;
	display: block;
	filter: invert(1) brightness(0.2);
}

.nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-grow: 1;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.nav-links li {
	margin: 0 15px;
}

.nav-links a {
	color: var(--color-text);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.nav-links a:hover {
	opacity: 0.6;
}

.cta-button {
	background-color: var(--color-text);
	color: #ffffff;
	font-weight: 600;
	padding: 0.65rem 1.4rem;
	text-decoration: none;
	border-radius: 999px;
	transition: opacity 0.3s ease;
	display: inline-block;
}

.cta-button:hover {
	opacity: 0.85;
}

.secondary-button {
	color: var(--color-text);
	text-decoration: none;
	margin-left: 1rem;
	border: 1px solid var(--color-text);
	border-radius: 999px;
	padding: 0.6rem 1.3rem;
	transition: opacity 0.3s ease;
}

.secondary-button:hover {
	opacity: 0.6;
}

#hero {
	text-align: center;
	padding: 6rem 1rem 5rem;
	max-width: 1200px;
	margin: 0 auto;
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--color-text);
	background-color: var(--color-accent-lime);
	border-radius: 999px;
	padding: 0.35rem 1rem;
	margin: 0 0 1.5rem;
}

#hero h1 {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.01em;
	margin: 0 0 1.25rem;
}

#hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
	color: var(--color-text-secondary);
}

#about {
	text-align: left;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	background-color: var(--color-bg);
	color: var(--color-text);
}

.divider-image {
	display: none;
}

#about .content {
	max-width: 800px;
	margin: 0 auto;
	padding: 0 20px 60px;
}

#about p {
	font-size: 26px;
	line-height: 1.4;
	margin-bottom: 30px;
	color: var(--color-text);
}

.links {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1rem;
	margin-top: 60px;
}

.button-link {
	color: var(--color-text);
	text-decoration: none;
	font-size: 22px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 1.5rem;
	border: 1px solid rgba(41, 36, 33, 0.15);
	border-radius: 14px;
	background-color: #ffffff;
	transition:
		border-color 0.3s ease,
		transform 0.3s ease;
}

.button-link:hover {
	border-color: var(--color-accent-purple);
	transform: translateX(4px);
}

.icon-arrow {
	margin-left: 10px;
	width: 24px;
	height: 24px;
	color: var(--color-accent-purple);
	transition: transform 0.3s ease;
}

.button-link:hover .icon-arrow {
	transform: translateX(5px);
}

.product-teaser {
	display: flex;
	align-items: center;
	gap: 3rem;
	margin-top: 60px;
	padding: 2.5rem;
	border: 1px solid rgba(41, 36, 33, 0.15);
	border-radius: 14px;
	background-color: #ffffff;
}

.product-teaser-screenshot {
	width: 180px;
	flex-shrink: 0;
	border-radius: 18px;
	display: block;
}

.product-teaser-copy h3 {
	margin: 0.5rem 0 0.75rem;
	font-size: 1.6rem;
	color: var(--color-text);
}

.product-teaser-copy p:not(.eyebrow) {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--color-text-secondary);
	margin-bottom: 1.25rem;
}

.product-teaser-copy .button-link {
	display: inline-flex;
	width: auto;
	font-size: 1rem;
	padding: 0.75rem 1.25rem;
}

footer {
	background-color: var(--color-text);
	padding: 4rem 1rem 2rem;
	color: #ffffff;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	max-width: 1200px;
	margin: 0 auto;
}

.branding {
	max-width: 300px;
}

.branding h2 {
	margin-top: 0;
	margin-bottom: 1rem;
	color: #ffffff;
}

.branding p {
	color: rgba(255, 255, 255, 0.7);
}

.social-links {
	display: flex;
	gap: 1rem;
	margin-top: 1.5rem;
}

.social-links a {
	opacity: 0.8;
	transition: opacity 0.3s ease;
}

.social-links a:hover {
	opacity: 1;
}

.social-links img {
	width: 24px;
	height: 24px;
}

.footer-links {
	display: flex;
	gap: 4rem;
}

.footer-links h3 {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.1rem;
	color: #ffffff;
}

.footer-links ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links ul li {
	margin-bottom: 0.5rem;
}

.footer-links ul li a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.3s ease;
}

.footer-links ul li a:hover {
	color: var(--color-accent-lime);
}

.copyright {
	text-align: center;
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
	nav {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.nav-links {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
		width: 100%;
	}

	.nav-links li {
		margin: 0;
	}

	#hero h1 {
		font-size: 2.25rem;
	}

	#about p {
		font-size: 22px;
	}

	.button-link {
		font-size: 20px;
	}

	.product-teaser {
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem;
		gap: 1.5rem;
	}

	.product-teaser-screenshot {
		width: 140px;
		margin: 0 auto;
	}

	.product-teaser-copy .button-link {
		width: 100%;
		justify-content: space-between;
	}

	.footer-content {
		flex-direction: column;
		gap: 2rem;
	}

	.footer-links {
		flex-direction: column;
		gap: 2rem;
	}

	.branding {
		max-width: 100%;
	}
}
