:root {
	--bg: #061b17;
	--bg-deep: #03110f;
	--surface: #0d2c26;
	--surface-2: #103a32;
	--surface-3: #153f35;
	--border: rgba(210, 255, 229, 0.16);
	--border-strong: rgba(247, 196, 64, 0.35);
	--text: #f4fff9;
	--muted: #b8d4ca;
	--soft: #d8e8dd;
	--accent: #f4c542;
	--accent-2: #f7a935;
	--danger: #d97b59;
	--radius: 8px;
	--shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	--font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 20% 0%, rgba(19, 116, 99, 0.26), transparent 34rem),
		linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 48%, #051815 100%);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.75;
	letter-spacing: 0;
}

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

img {
	display: block;
	height: auto;
	max-width: 100%;
}

button,
input,
textarea {
	font: inherit;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: min(100% - 32px, 1160px);
	margin-inline: auto;
}

.container.narrow {
	width: min(100% - 32px, 860px);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(4, 25, 21, 0.94);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 72px;
	gap: 20px;
}

.brand-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.custom-logo-link img,
.custom-logo {
	width: auto;
	max-width: 132px;
	max-height: 46px;
	object-fit: contain;
}

.site-wordmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius);
	background: linear-gradient(135deg, #0f4c3f, #0b2824);
	color: var(--accent);
	font-weight: 900;
}

.brand-copy {
	display: grid;
	gap: 0;
	min-width: 0;
}

.site-name {
	font-weight: 900;
	line-height: 1.15;
	color: var(--text);
}

.brand-copy span {
	color: var(--muted);
	font-size: 13px;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 320px;
}

.primary-nav ul,
.footer-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--radius);
	color: var(--soft);
	font-size: 14px;
	font-weight: 700;
	transition: background 180ms ease, color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: var(--accent);
	outline: none;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 10px;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	background: var(--text);
	margin: 5px 0;
}

.hero-app {
	padding: 56px 0 38px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
	gap: 34px;
	align-items: center;
}

.hero-copy {
	min-width: 0;
}

.app-identity {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	margin-bottom: 16px;
}

.app-icon {
	width: 78px;
	height: 78px;
	border-radius: 18px;
	border: 1px solid var(--border-strong);
	box-shadow: var(--shadow);
	object-fit: cover;
	flex: 0 0 auto;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 14px;
	line-height: 1.14;
	letter-spacing: 0;
	color: var(--text);
}

h1 {
	font-size: clamp(36px, 5vw, 68px);
	font-weight: 950;
}

.page-hero h1 {
	font-size: clamp(32px, 4vw, 52px);
}

h2 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 900;
}

h3 {
	font-size: clamp(21px, 2vw, 27px);
	font-weight: 850;
}

p {
	margin: 0 0 18px;
	color: var(--soft);
}

.hero-lead {
	max-width: 710px;
	font-size: clamp(18px, 2vw, 22px);
	color: var(--soft);
}

.hero-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 24px 0;
}

.btn,
.wp-block-button__link,
.search-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 20px;
	border-radius: var(--radius);
	font-weight: 900;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-primary,
.wp-block-button__link,
.search-form button {
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
	color: #171207;
	box-shadow: 0 14px 30px rgba(244, 197, 66, 0.2);
}

.btn:hover,
.btn:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible,
.search-form button:hover,
.search-form button:focus-visible {
	transform: translateY(-1px);
	outline: 2px solid rgba(247, 196, 64, 0.25);
	outline-offset: 3px;
}

.age-note {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 12px;
	border: 1px solid rgba(217, 123, 89, 0.42);
	border-radius: var(--radius);
	color: #ffd6c7;
	background: rgba(217, 123, 89, 0.12);
	font-size: 14px;
	font-weight: 800;
}

.meta-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 24px;
}

.meta-card {
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(13, 44, 38, 0.78);
	min-width: 0;
}

.meta-card span {
	display: block;
	color: var(--muted);
	font-size: 13px;
	margin-bottom: 3px;
}

.meta-card strong {
	display: block;
	color: var(--text);
	font-size: 16px;
	line-height: 1.25;
	word-break: break-word;
}

.hero-visual-card {
	position: relative;
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background:
		linear-gradient(180deg, rgba(21, 63, 53, 0.72), rgba(7, 31, 27, 0.82));
	box-shadow: var(--shadow);
}

.hero-visual-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: calc(var(--radius) - 2px);
}

.hero-trust-card {
	position: absolute;
	left: 26px;
	right: 26px;
	bottom: 26px;
	display: grid;
	gap: 4px;
	padding: 14px;
	border-radius: var(--radius);
	background: rgba(4, 25, 21, 0.88);
	border: 1px solid var(--border-strong);
	backdrop-filter: blur(10px);
}

.hero-trust-card strong {
	color: var(--accent);
}

.hero-trust-card span {
	color: var(--soft);
	font-size: 14px;
	line-height: 1.55;
}

.home-content-section,
.content-section,
.listing-section {
	padding: 32px 0 64px;
}

.page-hero {
	padding: 48px 0 28px;
	border-bottom: 1px solid var(--border);
	background: linear-gradient(180deg, rgba(10, 50, 43, 0.8), rgba(3, 17, 15, 0));
}

.page-hero p {
	max-width: 760px;
}

.longform-content {
	position: relative;
	padding: 30px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(7, 31, 27, 0.72);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.longform-content > *:first-child {
	margin-top: 0;
}

.longform-content h2 {
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid var(--border);
}

.longform-content h2::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 10px;
	border-radius: 999px;
	background: var(--accent);
	vertical-align: 0.12em;
}

.longform-content h3 {
	margin-top: 26px;
	color: #e8fff3;
}

.longform-content a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.longform-content ul,
.longform-content ol {
	color: var(--soft);
	padding-left: 1.25rem;
	margin: 0 0 22px;
}

.longform-content li {
	margin: 8px 0;
}

.longform-content blockquote,
.wp-block-group.is-style-note,
.info-panel {
	margin: 22px 0;
	padding: 18px;
	border: 1px solid var(--border-strong);
	border-left: 4px solid var(--accent);
	border-radius: var(--radius);
	background: rgba(244, 197, 66, 0.08);
	color: var(--soft);
}

.wp-block-image,
.featured-media {
	margin: 28px 0;
}

.wp-block-image img,
.featured-media img {
	border-radius: var(--radius);
	border: 1px solid var(--border);
	width: 100%;
}

.wp-element-caption,
figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
	text-align: left;
}

.wp-block-table {
	overflow-x: auto;
	margin: 24px 0;
}

.wp-block-table table,
.longform-content table {
	width: 100%;
	border-collapse: collapse;
	min-width: 580px;
	background: rgba(10, 50, 43, 0.72);
	color: var(--soft);
}

.wp-block-table th,
.wp-block-table td,
.longform-content th,
.longform-content td {
	border: 1px solid var(--border);
	padding: 12px;
	text-align: left;
	vertical-align: top;
}

.wp-block-table th,
.longform-content th {
	color: var(--text);
	background: rgba(244, 197, 66, 0.1);
}

.toc-box,
.wp-block-group.toc-box {
	margin: 24px 0 30px;
	padding: 18px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(16, 58, 50, 0.92), rgba(7, 31, 27, 0.9));
}

.toc-box h2 {
	margin-top: 0;
	padding-top: 0;
	border-top: 0;
	font-size: 22px;
}

.toc-box h2::before {
	width: 8px;
	height: 8px;
}

.toc-box a {
	color: var(--soft);
	text-decoration: none;
}

.toc-box a:hover {
	color: var(--accent);
}

.wp-block-yoast-faq-block {
	margin-top: 28px;
}

.schema-faq-section,
.wp-block-yoast-faq-block .schema-faq-section {
	margin: 12px 0;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(16, 58, 50, 0.72);
}

.schema-faq-question {
	display: block;
	color: var(--text);
	font-size: 18px;
	font-weight: 900;
	margin-bottom: 8px;
}

.schema-faq-answer {
	color: var(--soft);
	margin: 0;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.post-card {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(13, 44, 38, 0.72);
	overflow: hidden;
}

.post-card-media img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.post-card-body {
	padding: 18px;
}

.post-card-body span {
	color: var(--muted);
	font-size: 13px;
}

.post-card h2 {
	font-size: 22px;
	margin-top: 8px;
}

.search-form {
	display: flex;
	gap: 10px;
	margin-top: 18px;
	max-width: 620px;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(4, 25, 21, 0.82);
	color: var(--text);
	padding: 0 14px;
}

.search-field:focus {
	outline: 2px solid rgba(244, 197, 66, 0.35);
	outline-offset: 2px;
}

.site-footer {
	background: #03110f;
	border-top: 1px solid var(--border);
	padding: 34px 0 18px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.25fr 0.9fr 0.9fr;
	gap: 24px;
}

.footer-brand {
	color: var(--accent);
	font-size: 24px;
	font-weight: 950;
	margin-bottom: 10px;
}

.footer-heading {
	color: var(--text);
	display: block;
	font-size: 18px;
	font-weight: 850;
	line-height: 1.25;
	margin-bottom: 10px;
}

.footer-grid p,
.footer-bottom {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.65;
}

.footer-nav ul {
	display: grid;
	gap: 8px;
}

.footer-nav a {
	color: var(--soft);
	font-size: 14px;
}

.footer-nav a:hover {
	color: var(--accent);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid var(--border);
	margin-top: 24px;
	padding-top: 16px;
}

@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.meta-grid,
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}

	.container,
	.container.narrow {
		width: min(100% - 24px, 1160px);
	}

	.header-inner {
		min-height: 64px;
	}

	.brand-copy span {
		max-width: 180px;
	}

	.menu-toggle {
		display: block;
	}

	.primary-nav {
		position: absolute;
		top: 100%;
		left: 12px;
		right: 12px;
		display: none;
		padding: 12px;
		border: 1px solid var(--border);
		border-radius: var(--radius);
		background: rgba(4, 25, 21, 0.98);
	}

	.nav-open .primary-nav {
		display: block;
	}

	.primary-nav ul {
		display: grid;
		gap: 4px;
	}

	.primary-nav a {
		padding: 12px;
	}

	.hero-app {
		padding-top: 34px;
	}

	.app-identity {
		align-items: center;
		gap: 12px;
	}

	.app-icon {
		width: 64px;
		height: 64px;
		border-radius: 14px;
	}

	h1 {
		font-size: 34px;
	}

	.hero-actions,
	.search-form,
	.footer-bottom {
		align-items: stretch;
		flex-direction: column;
	}

	.btn,
	.wp-block-button__link,
	.search-form button {
		width: 100%;
	}

	.meta-grid,
	.post-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.hero-trust-card {
		position: static;
		margin-top: 12px;
	}

	.longform-content {
		padding: 20px;
	}

	.page-hero {
		padding: 34px 0 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
	}
}
