/**
 * Generator Pro site design — "Slate & Mist".
 *
 * Calm, flat, engineered: white surfaces, hairline borders, one dependable
 * slate blue for actions, mist for tints. No gradients, no glow. The two
 * brand colors come from the CSS variables printed by the plugin.
 */

body.genpro-site {
	--gp1: var(--genpro-primary, #3d5a80);
	--gp2: var(--genpro-secondary, #98c1d9);
	--gs-ink: #1c2733;
	--gs-soft: #5b6a79;
	--gs-mut: #8794a2;
	--gs-bg: #ffffff;
	--gs-tint: rgba(var(--genpro-secondary-rgb, 152, 193, 217), 0.14);
	--gs-card: #ffffff;
	--gs-line: #e2e8ef;
	--gs-footer: #1c2733;
	margin: 0;
	padding: 0;
	background: var(--gs-bg);
	color: var(--gs-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.genpro-site * {
	box-sizing: border-box;
}

.gs-container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

/* =========================================================================
 * Header
 * ====================================================================== */

.gs-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	border-bottom: 1px solid var(--gs-line);
}

body.admin-bar .gs-header {
	top: 32px;
}

.gs-header-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 13px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.gs-brand {
	text-decoration: none;
}

.gs-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.gs-logo-mark {
	display: block;
	border-radius: 9px;
}

.gs-logo-text {
	font-size: 1.25em;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--gs-ink);
}

.gs-nav {
	display: flex;
	align-items: center;
	gap: 26px;
}

.gs-nav a {
	color: var(--gs-soft);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.93em;
	padding: 6px 2px;
	border-bottom: 2px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.gs-nav a:hover {
	color: var(--gp1);
	border-bottom-color: var(--gp1);
}

.gs-nav-toggle {
	display: none;
	background: none;
	border: none;
	padding: 8px;
	cursor: pointer;
}

.gs-nav-toggle span {
	display: block;
	width: 22px;
	height: 2.5px;
	border-radius: 2px;
	background: var(--gs-ink);
	margin: 4.5px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.gs-nav-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.gs-nav-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.gs-nav-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================================
 * Hero (homepage) — flat mist panel, left-aligned
 * ====================================================================== */

.gs-hero {
	background: var(--gs-tint);
	border-bottom: 1px solid var(--gs-line);
	padding: 72px 24px 76px;
}

.gs-hero-inner {
	max-width: 1072px;
	margin: 0 auto;
	text-align: left;
}

.gs-hero-logo {
	margin-bottom: 22px;
}

.gs-hero-title {
	font-size: clamp(2em, 5vw, 3em);
	font-weight: 700;
	letter-spacing: -0.03em;
	margin: 0 0 12px;
	line-height: 1.12;
	color: var(--gs-ink);
	text-wrap: balance;
}

.gs-hero-tagline {
	font-size: clamp(1.02em, 2.2vw, 1.2em);
	margin: 0 0 20px;
	max-width: 560px;
	color: var(--gs-soft);
}

.gs-hero-badge {
	display: inline-block;
	background: #fff;
	border: 1px solid var(--gs-line);
	border-radius: 999px;
	padding: 6px 18px;
	font-weight: 600;
	font-size: 0.88em;
	color: var(--gs-soft);
	margin-bottom: 28px;
}

.gs-search {
	position: relative;
	max-width: 520px;
}

.gs-search-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1em;
	opacity: 0.5;
}

.gs-search input {
	width: 100%;
	padding: 15px 22px 15px 48px;
	font-size: 1.02em;
	border: 1px solid #d5dde6;
	border-radius: 8px;
	background: #fff;
	color: var(--gs-ink);
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gs-search input:focus {
	border-color: var(--gp1);
	box-shadow: 0 0 0 3px rgba(var(--genpro-primary-rgb, 61, 90, 128), 0.14);
}

/* =========================================================================
 * Sections
 * ====================================================================== */

.gs-section {
	padding: 60px 0;
}

.gs-section-alt {
	background: #fff;
	border-top: 1px solid var(--gs-line);
	border-bottom: 1px solid var(--gs-line);
}

.gs-section-title {
	font-size: 1.7em;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 30px;
	color: var(--gs-ink);
}

/* --- Generator grid ------------------------------------------------------ */

.gs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
	gap: 14px;
}

.gs-card {
	display: flex;
	flex-direction: column;
	gap: 7px;
	background: var(--gs-card);
	border: 1px solid var(--gs-line);
	border-radius: 8px;
	padding: 22px 20px 18px;
	text-decoration: none;
	color: var(--gs-ink);
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.gs-card:hover {
	transform: translateY(-2px);
	border-color: rgba(var(--genpro-primary-rgb, 61, 90, 128), 0.5);
	box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.gs-card-icon {
	font-size: 1.5em;
	line-height: 1;
}

.gs-card-title {
	font-size: 1.08em;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.gs-card-excerpt {
	font-size: 0.88em;
	color: var(--gs-soft);
	flex: 1;
}

.gs-card-cta {
	font-weight: 700;
	font-size: 0.88em;
	color: var(--gp1);
	margin-top: 6px;
}

.gs-no-results {
	color: var(--gs-soft);
	font-weight: 600;
	margin-top: 26px;
}

.gs-empty {
	padding: 30px 0;
}

/* --- Features ------------------------------------------------------------ */

.gs-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.gs-feature {
	padding: 26px 24px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--gs-line);
}

.gs-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 8px;
	font-size: 1.3em;
	background: var(--gs-tint);
	border: 1px solid var(--gs-line);
	margin-bottom: 14px;
}

.gs-feature h3 {
	margin: 0 0 8px;
	font-size: 1.08em;
	font-weight: 700;
	color: var(--gs-ink);
}

.gs-feature p {
	margin: 0;
	font-size: 0.91em;
	color: var(--gs-soft);
}

/* --- CTA ----------------------------------------------------------------- */

.gs-cta {
	background: var(--gp1);
	color: #fff;
	padding: 56px 0;
}

.gs-cta h2 {
	font-size: 1.7em;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 8px;
	color: #fff;
}

.gs-cta p {
	margin: 0 0 24px;
	color: rgba(255, 255, 255, 0.82);
}

.gs-btn {
	display: inline-block;
	background: #fff;
	color: var(--gp1);
	font-weight: 700;
	text-decoration: none;
	padding: 13px 32px;
	border-radius: 8px;
	border: none;
	font-size: 1em;
	cursor: pointer;
	transition: filter 0.15s ease, transform 0.1s ease;
}

.gs-btn:hover {
	filter: brightness(0.94);
	color: var(--gp1);
}

.gs-btn:active {
	transform: translateY(1px);
}

/* =========================================================================
 * Inner pages (generator pages, About, Contact, Privacy, Terms)
 * ====================================================================== */

.gs-page-hero {
	background: var(--gs-tint);
	border-bottom: 1px solid var(--gs-line);
	padding: 42px 0 44px;
}

.gs-page-title {
	font-size: clamp(1.6em, 4.5vw, 2.3em);
	font-weight: 700;
	letter-spacing: -0.025em;
	margin: 0;
	color: var(--gs-ink);
}

.gs-article {
	background: var(--gs-card);
	border: 1px solid var(--gs-line);
	border-radius: 10px;
	padding: clamp(24px, 5vw, 48px);
	margin: 34px auto 56px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
	max-width: 860px;
}

.gs-article h2 {
	font-size: 1.4em;
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 1.7em 0 0.6em;
	color: var(--gs-ink);
}

.gs-article h3 {
	font-size: 1.12em;
	font-weight: 700;
	margin: 1.4em 0 0.5em;
	color: var(--gs-ink);
}

.gs-article p {
	margin: 0 0 1.1em;
	color: #33404d;
}

.gs-article ul,
.gs-article ol {
	margin: 0 0 1.2em;
	padding-left: 1.4em;
}

.gs-article li {
	margin-bottom: 0.4em;
}

.gs-article a {
	color: var(--gp1);
	font-weight: 600;
}

.gs-article table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: 0.95em;
}

.gs-article th,
.gs-article td {
	border: 1px solid var(--gs-line);
	padding: 10px 14px;
	text-align: left;
}

.gs-article th {
	background: var(--gs-tint);
}

/* =========================================================================
 * Contact form
 * ====================================================================== */

.gs-contact-form {
	max-width: 560px;
}

.gs-form-row {
	margin-bottom: 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gs-form-row label {
	font-weight: 700;
	font-size: 0.88em;
	color: var(--gs-ink);
}

.gs-form-row input,
.gs-form-row textarea {
	width: 100%;
	padding: 12px 16px;
	font-size: 1em;
	font-family: inherit;
	border: 1px solid #d5dde6;
	border-radius: 8px;
	background: #fff;
	color: var(--gs-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gs-form-row input:focus,
.gs-form-row textarea:focus {
	outline: none;
	border-color: var(--gp1);
	box-shadow: 0 0 0 3px rgba(var(--genpro-primary-rgb, 61, 90, 128), 0.14);
}

.gs-contact .gs-btn {
	background: var(--gp1);
	color: #fff;
}

.gs-contact .gs-btn:hover {
	filter: brightness(1.08);
	color: #fff;
}

.gs-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.gs-notice {
	border-radius: 8px;
	padding: 14px 18px;
	font-weight: 600;
	margin-bottom: 20px;
	border: 1px solid transparent;
}

.gs-notice-ok {
	background: #eaf6ef;
	border-color: #cde9d8;
	color: #1e6b40;
}

.gs-notice-error {
	background: #fbeeed;
	border-color: #f2d6d3;
	color: #a13c35;
}

/* =========================================================================
 * Footer
 * ====================================================================== */

.gs-footer {
	background: var(--gs-footer);
	color: #b9c6d4;
	margin-top: auto;
}

.gs-footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 34px;
	padding-top: 44px;
	padding-bottom: 32px;
	flex-wrap: wrap;
}

.gs-footer .gs-logo-text {
	color: #ffffff;
}

.gs-footer-tagline {
	margin: 12px 0 0;
	font-size: 0.9em;
	color: #8794a2;
	max-width: 330px;
}

.gs-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
}

.gs-footer-nav a {
	color: #b9c6d4;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.91em;
}

.gs-footer-nav a:hover {
	color: #fff;
}

.gs-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 0;
	font-size: 0.84em;
	color: #8794a2;
	text-align: center;
}

/* =========================================================================
 * Responsive
 * ====================================================================== */

@media (max-width: 782px) {
	body.admin-bar .gs-header {
		top: 46px;
	}
}

@media (max-width: 760px) {
	.gs-nav-toggle {
		display: block;
	}

	.gs-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: #fff;
		border-bottom: 1px solid var(--gs-line);
		box-shadow: 0 14px 28px rgba(16, 24, 40, 0.1);
	}

	.gs-nav.gs-nav-open {
		display: flex;
	}

	.gs-nav a {
		padding: 15px 24px;
		border-bottom: 1px solid var(--gs-line);
		width: 100%;
	}

	.gs-header-inner {
		position: relative;
	}

	.gs-hero {
		padding: 52px 20px 56px;
	}

	.gs-footer-inner {
		flex-direction: column;
	}
}

/* =========================================================================
 * Generator pages — "Slate Band" top
 *
 * Title and intro on a solid band in the primary colour; the tool card
 * overlaps the band's lower edge; the article follows beneath.
 * ====================================================================== */

.gs-band {
	background: var(--genpro-primary, #3d5a80);
	color: #fff;
	padding: 44px 0 76px;
}

.gs-band .gs-container,
.gs-band-inner {
	max-width: 908px;
}

.gs-band-title {
	font-size: clamp(1.7em, 4.5vw, 2.4em);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.12;
	margin: 0 0 12px;
	color: #fff;
	text-wrap: balance;
}

.gs-band-lead {
	font-size: 1.06em;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.86);
	margin: 0;
	max-width: 64ch;
}

.gs-band-lead strong,
.gs-band-lead b {
	color: #fff;
}

.gs-band-lead a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.gs-band-pull {
	margin-top: -44px;
}

.gs-band-pull .genpro-widget {
	margin: 0 auto;
	max-width: 860px;
	box-shadow: 0 8px 28px rgba(16, 24, 40, 0.14);
}

.gs-band-pull + .gs-container .gs-article {
	margin-top: 34px;
}

@media (max-width: 640px) {
	.gs-band {
		padding: 32px 0 64px;
	}
	.gs-band-pull {
		margin-top: -36px;
	}
}

/* =========================================================================
 * Wordmark — the site name alone in tracked capitals; no mark beside it.
 * ====================================================================== */

.gs-wordmark {
	display: inline-flex;
	align-items: baseline;
	gap: 0.45em;
	font-family: "Sora", "Manrope", "Helvetica Neue", Arial, sans-serif;
	font-weight: 700;
	font-size: 1.26em;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
}

/* "Ink + Slate": near-black first word, the primary colour on the second. */
.gs-wordmark .gs-wm-a {
	color: var(--gs-ink, #1c2733);
}

.gs-wordmark .gs-wm-b {
	color: var(--genpro-primary, #3d5a80);
}

.gs-footer .gs-wordmark .gs-wm-a {
	color: #fff;
}

.gs-footer .gs-wordmark .gs-wm-b {
	color: var(--genpro-secondary, #98c1d9);
}

@media (max-width: 480px) {
	.gs-wordmark {
		font-size: 1.1em;
		letter-spacing: 0.1em;
	}
}
