/* Geist font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ─── Reset ─── */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ─── CSS Variables (shadcn) ─── */
:root {
	color-scheme: light dark;
	--radius: 0.625rem;
	--background: oklch(1 0 0);
	--foreground: oklch(0.145 0 0);
	--card: oklch(1 0 0);
	--card-foreground: oklch(0.145 0 0);
	--primary: oklch(0.205 0 0);
	--primary-foreground: oklch(0.985 0 0);
	--secondary: oklch(0.97 0 0);
	--secondary-foreground: oklch(0.205 0 0);
	--muted: oklch(0.97 0 0);
	--muted-foreground: oklch(0.556 0 0);
	--accent: oklch(0.97 0 0);
	--accent-foreground: oklch(0.205 0 0);
	--border: oklch(0.85 0 0);
	--input: oklch(0.922 0 0);
	--ring: oklch(0.205 0 0);
}

@media (prefers-color-scheme: dark) {
	:root {
		--background: oklch(0.18 0 0);
		--foreground: oklch(0.75 0 0);
		--card: oklch(0.205 0 0);
		--card-foreground: oklch(0.93 0 0);
		--primary: oklch(0.922 0 0);
		--primary-foreground: oklch(0.205 0 0);
		--secondary: oklch(0.269 0 0);
		--secondary-foreground: oklch(0.93 0 0);
		--muted: oklch(0.269 0 0);
		--muted-foreground: oklch(0.708 0 0);
		--accent: oklch(0.371 0 0);
		--accent-foreground: oklch(0.93 0 0);
		--border: oklch(1 0 0 / 20%);
		--input: oklch(1 0 0 / 15%);
		--ring: oklch(0.98 0 0);
	}
}

/* ─── Base ─── */
html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	background: var(--background);
	color: var(--foreground);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img, video {
	max-width: 100%;
}

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

/* ─── Dark mode headings ─── */
@media (prefers-color-scheme: dark) {
	h1, h2, h3, h4, strong, b {
		color: oklch(0.98 0 0);
	}
}

/* ─── Layout ─── */
.container {
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	padding-left: 1rem;
	padding-right: 1rem;
	max-width: 1280px;
}

@media (min-width: 768px) {
	.container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.container {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.container--narrow {
	max-width: 760px;
}

/* ─── Header ─── */
.site-header {
	display: flex;
	align-items: center;
	padding: 1rem;
	border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
	.site-header {
		padding: 1rem 1.5rem;
	}
}

@media (min-width: 1024px) {
	.site-header {
		padding: 1rem 2rem;
	}
}

.site-header__logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	font-size: 1rem;
}

.site-header__logo img {
	height: 40px;
	width: 40px;
	border-radius: 8px;
}


/* ─── Sections ─── */
.section {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	padding: 3rem 1rem;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 1280px;
}

@media (min-width: 768px) {
	.section {
		padding: 5rem 1.5rem;
	}
}

@media (min-width: 1024px) {
	.section {
		padding: 5rem 2rem;
	}
}

/* ─── Hero ─── */
.hero {
	text-align: center;
	max-width: 800px;
	gap: 0;
}

.hero__badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: var(--secondary);
	color: var(--secondary-foreground);
	font-size: 0.8125rem;
	font-weight: 500;
	margin-bottom: 1rem;
}

.hero__title {
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.hero__title {
		font-size: 3rem;
	}
}

.hero__subtitle {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--muted-foreground);
	margin-bottom: 2rem;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.hero__actions {
	display: flex;
	gap: 0.5rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.hero__video-caption {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted-foreground);
	margin-bottom: 1rem;
}

/* ─── Buttons ─── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.625rem 1.25rem;
	border-radius: var(--radius);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25rem;
	cursor: pointer;
	border: none;
	transition: opacity 0.15s ease, background 0.15s ease;
	text-decoration: none;
}

.btn:hover {
	opacity: 0.9;
}

.btn--primary {
	background: var(--primary);
	color: var(--primary-foreground);
}

.btn--outline {
	background: transparent;
	color: var(--foreground);
	border: 1px solid var(--border);
}

.btn--outline:hover {
	background: var(--accent);
	opacity: 1;
}

.btn--lg {
	padding: 0.75rem 1.5rem;
	font-size: 1rem;
}

/* ─── Video ─── */
.video-wrapper {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--border);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
	.video-wrapper {
		box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
	}
}

.video-wrapper iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: none;
}

/* ─── Features ─── */
.features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	width: 100%;
	max-width: 900px;
}

@media (min-width: 640px) {
	.features-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 900px) {
	.features-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.feature-card {
	padding: 1.5rem;
	border-radius: var(--radius);
	background: var(--card);
	border: 1px solid var(--border);
}

.feature-card__icon {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
	color: var(--foreground);
}

.feature-card__title {
	font-size: 0.9375rem;
	font-weight: 600;
	margin-bottom: 0.375rem;
}

.feature-card__description {
	font-size: 0.875rem;
	color: var(--muted-foreground);
	line-height: 1.5;
}

/* ─── Quote card ─── */
.quote-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 560px;
	padding: 2.5rem 2rem;
	border-radius: var(--radius);
	background: var(--card);
	border: 1px solid var(--border);
}

.quote-card__photo {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.quote-card__text {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--muted-foreground);
	margin-bottom: 1.5rem;
	font-style: normal;
	position: relative;
	padding-top: 1rem;
}

.quote-card__text::before {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	background: var(--border);
	border-radius: 2px;
	margin: 0 auto 1rem;
}

.quote-card__attribution {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
}

.quote-card__name {
	font-weight: 600;
	font-size: 0.9375rem;
}

.quote-card__role {
	font-size: 0.8125rem;
	color: var(--muted-foreground);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--muted-foreground);
	transition: text-decoration-color 0.15s ease, color 0.15s ease;
}

.quote-card__role:hover {
	text-decoration-color: var(--foreground);
	color: var(--foreground);
}

/* ─── CTA section ─── */
.cta-section {
	text-align: center;
	max-width: 600px;
}

.cta-section__title {
	font-size: 1.75rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
	.cta-section__title {
		font-size: 2.25rem;
	}
}

.cta-section__subtitle {
	color: var(--muted-foreground);
	font-size: 1rem;
	margin-bottom: 2rem;
	line-height: 1.6;
}

.cta-section__actions {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-note {
	margin-top: 1rem;
	font-size: 0.8125rem;
	color: var(--muted-foreground);
}

/* ─── Footer ─── */
.site-footer {
	border-top: 1px solid var(--border);
	padding: 2rem 1rem;
	text-align: center;
	font-size: 0.8125rem;
	color: var(--muted-foreground);
}

.site-footer a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--muted-foreground);
	transition: text-decoration-color 0.15s ease;
}

.site-footer a:hover {
	text-decoration-color: var(--foreground);
	color: var(--foreground);
}

/* ─── Section divider ─── */
.section + .section {
	border-top: 1px solid var(--border);
}

/* ─── Figma icon ─── */
.figma-icon {
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
}

/* ─── How to use ─── */
.how-to-use {
	width: 100%;
	max-width: 560px;
	text-align: left;
}

.how-to-use__title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 1rem;
	text-align: center;
}

.how-to-use ol {
	list-style: none;
	counter-reset: steps;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.how-to-use li {
	counter-increment: steps;
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	font-size: 0.9375rem;
	color: var(--muted-foreground);
	line-height: 1.5;
}

.how-to-use li::before {
	content: counter(steps);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-width: 28px;
	border-radius: 50%;
	background: var(--secondary);
	color: var(--secondary-foreground);
	font-size: 0.8125rem;
	font-weight: 600;
}
