:root {
	--bg: #060708;
	--bg-soft: #0d1012;
	--surface: #12161a;
	--surface-strong: #171d22;
	--text: #f7f5ec;
	--muted: #c8c3b6;
	--line: rgba(241, 190, 84, 0.18);
	--gold: #f4bd45;
	--gold-strong: #ffd16a;
	--gold-dark: #3b2709;
	--teal: #4fc3b6;
	--danger: #ffce6a;
	--shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
	--radius: 8px;
	--max: 1120px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Inter, "Noto Sans Bengali", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.72;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--gold-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus {
	color: #ffffff;
}

button,
input,
textarea,
select {
	font: inherit;
}

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

.skip-link:focus {
	position: fixed;
	top: 14px;
	left: 14px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 10px 14px;
	clip: auto;
	background: var(--gold);
	color: #101010;
	border-radius: var(--radius);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(6, 7, 8, 0.94);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(14px);
}

.site-header__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 70px;
}

.site-brand {
	display: flex;
	align-items: center;
	min-width: 0;
}

.custom-logo-link,
.site-wordmark {
	display: inline-flex;
	align-items: center;
	color: #ffffff;
	font-weight: 800;
	font-size: 1.28rem;
	text-decoration: none;
	white-space: nowrap;
}

.custom-logo-link img {
	width: auto;
	max-width: 170px;
	max-height: 48px;
	object-fit: contain;
}

.primary-nav {
	display: flex;
	justify-content: flex-end;
}

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

.primary-nav a,
.footer-nav a {
	color: var(--muted);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus,
.footer-nav a:hover,
.footer-nav a:focus {
	color: var(--gold-strong);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
	padding: 9px;
}

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

.site-main {
	min-height: 70vh;
}

.hero {
	max-width: var(--max);
	margin: 0 auto;
	padding: 74px 20px 34px;
	text-align: center;
}

.hero__content {
	max-width: 880px;
	margin: 0 auto;
}

.hero__kicker,
.section-kicker {
	margin: 0 0 14px;
	color: var(--teal);
	font-size: 0.92rem;
	font-weight: 800;
	text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
	margin: 0;
	color: #ffffff;
	font-size: 4.6rem;
	line-height: 1.04;
	font-weight: 900;
}

.hero__intro {
	margin: 22px auto 0;
	max-width: 790px;
	color: var(--muted);
	font-size: 1.12rem;
}

.hero__actions {
	margin: 28px 0 0;
	display: flex;
	justify-content: center;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	border-radius: var(--radius);
	font-weight: 900;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
	cursor: pointer;
}

.button:hover,
.button:focus {
	transform: translateY(-1px);
}

.button--gold {
	background: var(--gold);
	color: #14110a;
	box-shadow: 0 18px 34px rgba(244, 189, 69, 0.22);
}

.button--gold:hover,
.button--gold:focus {
	background: var(--gold-strong);
	color: #090909;
}

.button--ghost {
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.04);
	color: var(--gold-strong);
}

.hero__media {
	margin: 42px auto 0;
	max-width: 1040px;
	overflow: hidden;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	background: var(--surface);
}

.hero__media img {
	width: 100%;
	aspect-ratio: 16 / 8.2;
	object-fit: cover;
}

.content-shell {
	max-width: 980px;
	margin: 0 auto;
	padding: 34px 20px 70px;
}

.content-shell--home {
	padding-top: 24px;
}

.longform-content {
	color: var(--text);
}

.longform-content > * {
	max-width: 790px;
	margin-left: auto;
	margin-right: auto;
}

.longform-content h2,
.longform-content h3,
.longform-content h4 {
	color: #ffffff;
	line-height: 1.18;
	margin-top: 38px;
	margin-bottom: 14px;
}

.longform-content h2 {
	font-size: 2.25rem;
}

.longform-content h3 {
	font-size: 1.36rem;
}

.longform-content p,
.longform-content li {
	color: #e5e0d5;
}

.longform-content strong {
	color: #ffffff;
}

.longform-content ul,
.longform-content ol {
	padding-left: 1.3rem;
}

.longform-content .wp-block-group,
.longform-content .wp-block-table,
.longform-content .wp-block-columns {
	max-width: 940px;
}

.longform-content .wp-block-group {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 22px;
	margin-top: 28px;
	margin-bottom: 28px;
}

.longform-content .article-toc {
	background: #0e1517;
	border-color: rgba(79, 195, 182, 0.24);
}

.article-toc a {
	color: var(--gold-strong);
	text-decoration: none;
}

.longform-content .wp-block-image {
	max-width: 940px;
	margin-top: 36px;
	margin-bottom: 28px;
}

.longform-content .wp-block-image img {
	width: 100%;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.longform-content figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.92rem;
	text-align: center;
}

.longform-content table {
	width: 100%;
	border-collapse: collapse;
	overflow: hidden;
	border-radius: var(--radius);
}

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

.longform-content th {
	color: #ffffff;
	background: rgba(244, 189, 69, 0.08);
}

.wp-block-yoast-faq-block,
.faq-list {
	max-width: 900px;
	margin: 40px auto 0;
}

.schema-faq-section,
.faq-item {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 18px 20px;
	margin: 14px 0;
}

.schema-faq-question,
.faq-item strong {
	display: block;
	color: #ffffff;
	font-size: 1.08rem;
	margin-bottom: 8px;
}

.page-hero {
	max-width: var(--max);
	margin: 0 auto;
	padding: 56px 20px 20px;
}

.page-hero p {
	max-width: 780px;
	color: var(--muted);
}

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

.post-card__link {
	display: block;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
	text-decoration: none;
}

.post-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--radius);
	margin-bottom: 14px;
}

.post-card__label {
	color: var(--teal);
	font-weight: 800;
	font-size: 0.86rem;
}

.post-card h2 {
	margin: 8px 0;
	color: #ffffff;
	font-size: 1.25rem;
}

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

.search-form input {
	min-height: 46px;
	min-width: min(100%, 280px);
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--text);
	padding: 10px 12px;
}

.search-form button {
	min-height: 46px;
	border: 0;
	border-radius: var(--radius);
	background: var(--gold);
	color: #111;
	font-weight: 900;
	padding: 10px 16px;
	cursor: pointer;
}

.site-footer {
	background: #050607;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__inner {
	max-width: var(--max);
	margin: 0 auto;
	padding: 34px 20px;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr 1.1fr;
	gap: 24px;
}

.site-footer h2 {
	margin: 0 0 10px;
	color: #ffffff;
	font-size: 1rem;
}

.site-footer p {
	margin: 0 0 10px;
	color: var(--muted);
	font-size: 0.95rem;
}

.footer-nav {
	grid-column: 1 / -1;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

@media (max-width: 860px) {
	.site-header__inner {
		min-height: 62px;
	}

	.menu-toggle {
		display: inline-block;
	}

	.primary-nav {
		position: absolute;
		left: 12px;
		right: 12px;
		top: calc(100% + 8px);
		display: none;
		padding: 14px;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		background: #070809;
		box-shadow: var(--shadow);
	}

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

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

	.hero {
		padding-top: 42px;
	}

	.hero h1,
	.page-hero h1 {
		font-size: 2.35rem;
	}

	.hero__media img {
		aspect-ratio: 4 / 3;
	}

	.site-footer__inner,
	.post-list {
		grid-template-columns: 1fr;
	}
}

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

	.site-header__inner,
	.hero,
	.content-shell,
	.page-hero,
	.site-footer__inner {
		padding-left: 16px;
		padding-right: 16px;
	}

	.custom-logo-link img {
		max-width: 132px;
	}

	.hero h1,
	.page-hero h1 {
		font-size: 2rem;
	}

	.longform-content .wp-block-group {
		padding: 18px;
	}
}
