/*
Theme Name: Shintify
Description: Shintify's own look, on top of GeneratePress. Change things here, never in GeneratePress itself: its updates would wipe them.
Template: generatepress
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: shintify
*/

/* Your CSS below. GeneratePress's own styles load first, so these win. */

/* Brand colors (same as SHINTIFY_COLORS in inc/brand.php). White text on --shintify-brand fails contrast: use --accent for text and buttons. */
:root {
	--shintify-brand: #059669;
	--shintify-accent: #047857;
	--shintify-dark: #064e3b;
	--shintify-spark: #fbbf24;
	--shintify-tint: #ecfdf5;
}

/* Footer: policy links above the copyright (inc/storefront.php). */
.shintify-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25em 1.5em;
	margin-bottom: 0.75em;
}

/* Front page (front-page.php). */
.shintify-front {
	display: grid;
	gap: 4rem;
}

.shintify-hero {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	align-items: center;
	gap: 2rem;
	padding: 3rem 2rem;
	border-radius: 1rem;
	background: var(--shintify-tint);
}

.shintify-hero h1 {
	margin: 0.25em 0 0.5em;
	line-height: 1.15;
}

.shintify-hero__art {
	text-align: center;
}

.shintify-hero__art img {
	width: min(100%, 16rem);
	height: auto;
}

.shintify-eyebrow {
	margin: 0;
	color: var(--shintify-accent);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.85em;
}

.shintify-lead {
	font-size: 1.15em;
}

.shintify-section > h2 {
	text-align: center;
	margin-bottom: 1.5rem;
}

.shintify-categories,
.shintify-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1.5rem;
}

.shintify-categories a {
	display: block;
	text-align: center;
	text-decoration: none;
	font-weight: 600;
}

.shintify-categories img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.75rem;
	margin-bottom: 0.5rem;
}

.shintify-steps {
	counter-reset: step;
}

.shintify-steps li {
	counter-increment: step;
	padding: 1.5rem;
	border: 1px solid var(--shintify-tint);
	border-radius: 0.75rem;
	background: #fff;
}

.shintify-steps li::before {
	content: counter(step);
	display: inline-grid;
	place-items: center;
	width: 2em;
	height: 2em;
	border-radius: 50%;
	background: var(--shintify-accent);
	color: #fff;
	font-weight: 700;
	margin-bottom: 0.75rem;
}

.shintify-steps h3 {
	margin: 0 0 0.25em;
	font-size: 1.1em;
}

.shintify-steps p {
	margin: 0;
}

.shintify-empty {
	text-align: center;
	color: #555;
}

@media (max-width: 768px) {
	.shintify-hero {
		grid-template-columns: 1fr;
		padding: 2rem 1.25rem;
	}

	.shintify-hero__art {
		order: -1;
	}

	.shintify-hero__art img {
		width: 8rem;
	}

	.shintify-front {
		gap: 2.5rem;
	}
}
