:root {
	--steel-azure: #064789;
	--rich-cerulean: #427aa1;
	--alice-blue: #ebf2fa;
	--white: #ffffff;
	--text-dark: #1a2e42;
	--text-muted: #5a7184;
	--border: #c5d9eb;
	--success: #2e7d4f;
	--danger: #c0392b;
	--shadow: 0 4px 24px rgba(6, 71, 137, 0.12);
	--radius: 12px;
	--font-sans: 'Inter', system-ui, sans-serif;
	--font-serif: 'Merriweather', Georgia, serif;
	--container: 1200px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text-dark);
	background: var(--alice-blue);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--steel-azure);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--rich-cerulean);
}

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	line-height: 1.25;
	color: var(--steel-azure);
}

.container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	z-index: 9999;
	padding: 0.75rem 1rem;
	background: var(--steel-azure);
	color: var(--white);
}

.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* Header */
.site-header {
	background: var(--steel-azure);
	color: var(--white);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--shadow);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 0;
	flex-wrap: wrap;
}

.site-branding {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.site-logo-text {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--white);
	text-decoration: none;
	font-weight: 700;
	font-size: 1.25rem;
}

.site-tagline {
	margin: 0;
	font-size: 0.8rem;
	opacity: 0.85;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
}

.main-navigation a {
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
	padding: 0.35rem 0;
	border-bottom: 2px solid transparent;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a {
	border-bottom-color: var(--alice-blue);
}

.header-auth {
	display: flex;
	gap: 0.5rem;
	align-items: center;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 2px solid var(--white);
	border-radius: 8px;
	padding: 0.4rem;
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--white);
	margin: 4px 0;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.65rem 1.25rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover,
.btn:focus {
	transform: translateY(-1px);
}

.btn-primary {
	background: var(--rich-cerulean);
	color: var(--white);
	border-color: var(--rich-cerulean);
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--steel-azure);
	border-color: var(--steel-azure);
	color: var(--white);
}

.btn-outline {
	background: transparent;
	color: inherit;
	border-color: currentColor;
}

.btn-sm {
	padding: 0.4rem 0.85rem;
	font-size: 0.875rem;
}

.btn-lg {
	padding: 0.85rem 1.75rem;
	font-size: 1.05rem;
}

.site-header .btn-outline {
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.7);
}

.site-header .btn-primary {
	background: var(--white);
	color: var(--steel-azure);
	border-color: var(--white);
}

/* Hero */
.hero {
	background: linear-gradient(135deg, var(--steel-azure) 0%, var(--rich-cerulean) 100%);
	color: var(--white);
	padding: 4rem 0;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	align-items: center;
}

.hero h1 {
	color: var(--white);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	margin-top: 0;
}

.hero-lead {
	font-size: 1.125rem;
	opacity: 0.95;
	max-width: 52ch;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

.hero .btn-outline {
	color: var(--white);
	border-color: var(--white);
}

.hero-visual img {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

/* Sections */
.section {
	padding: 4rem 0;
}

.section-alt {
	background: var(--white);
}

.section h2 {
	text-align: center;
	margin-bottom: 2rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.feature-card {
	background: var(--white);
	padding: 1.75rem;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
	text-align: center;
}

.feature-icon {
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.feature-card h3 {
	margin-top: 0;
	font-size: 1.15rem;
}

.discussion-list {
	display: grid;
	gap: 1rem;
	margin-bottom: 2rem;
}

.discussion-item {
	background: var(--alice-blue);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem 1.5rem;
}

.discussion-item h3 {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
}

.discussion-item h3 a {
	text-decoration: none;
	color: var(--steel-azure);
}

.discussion-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--text-muted);
}

.cta {
	background: var(--steel-azure);
	color: var(--white);
}

.cta-inner {
	text-align: center;
}

.cta h2 {
	color: var(--white);
}

.text-center {
	text-align: center;
}

/* Page layout */
.page-layout {
	display: grid;
	grid-template-columns: 1fr 280px;
	gap: 2rem;
	padding: 2.5rem 0 4rem;
	align-items: start;
}

.content-area,
.page-content,
.post-content {
	background: var(--white);
	border-radius: var(--radius);
	padding: 2rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}

.entry-title {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 2rem;
}

.sidebar .widget {
	background: var(--white);
	border-radius: var(--radius);
	padding: 1.25rem;
	margin-bottom: 1rem;
	border: 1px solid var(--border);
}

.widget-title {
	margin-top: 0;
	font-size: 1rem;
}

/* Contact form */
.fdc-contact-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.fdc-contact-form input,
.fdc-contact-form textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	font: inherit;
	margin-bottom: 1rem;
}

.fdc-contact-form input:focus,
.fdc-contact-form textarea:focus {
	outline: 2px solid var(--rich-cerulean);
	outline-offset: 1px;
}

.fdc-form-notice {
	padding: 0.75rem 1rem;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.fdc-form-notice.success {
	background: #e8f5ee;
	color: var(--success);
	border: 1px solid #b8dfc8;
}

.fdc-form-notice.error {
	background: #fdecea;
	color: var(--danger);
	border: 1px solid #f5c6cb;
}

/* Sitemap */
.fdc-sitemap ul {
	list-style: none;
	padding-left: 0;
}

.fdc-sitemap li {
	padding: 0.35rem 0;
	border-bottom: 1px solid var(--border);
}

/* Footer */
.site-footer {
	background: var(--steel-azure);
	color: var(--white);
	margin-top: auto;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 2rem;
	padding: 3rem 0 2rem;
}

.footer-grid h2,
.footer-grid h3,
.footer-grid h4 {
	color: var(--white);
}

.footer-grid a {
	color: var(--alice-blue);
	text-decoration: none;
}

.social-links {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1rem;
}

.footer-nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-nav li {
	margin-bottom: 0.5rem;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	padding: 1rem 0;
}

.footer-bottom .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.875rem;
	opacity: 0.85;
}

.main-navigation ul li {
	list-style: none;
}

.page-layout-full {
	grid-template-columns: 1fr;
}

.front-page-entry .hero:first-child {
	margin-top: 0;
}
@media (max-width: 992px) {
	.hero-inner,
	.features-grid,
	.page-layout,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.features-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.menu-toggle {
		display: block;
	}

	.main-navigation {
		display: none;
		width: 100%;
		order: 3;
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		gap: 0.5rem;
		padding: 0.5rem 0;
	}

	.header-inner {
		flex-wrap: wrap;
	}

	.header-auth {
		margin-left: auto;
	}

	.features-grid {
		grid-template-columns: 1fr;
	}
}
