:root {
	--brand: #087a5a;
	--brand-deep: #045c47;
	--brand-dark: #073b33;
	--brand-soft: #e6f7f1;
	--accent: #f2c14e;
	--accent-soft: #fff7dc;
	--ink: #102a2b;
	--ink-soft: #526669;
	--line: #d9e6e2;
	--surface: #ffffff;
	--surface-soft: #f4f8f7;
	--footer: #102638;
	--danger: #b94343;
	--shadow-sm: 0 10px 30px rgba(10, 66, 53, 0.08);
	--shadow-md: 0 24px 70px rgba(3, 71, 53, 0.16);
	--radius-sm: 12px;
	--radius-md: 22px;
	--radius-lg: 34px;
	--content: 760px;
	--shell: 1180px;
	--header-height: 76px;
	--font-bn: "Noto Sans Bengali", "Hind Siliguri", "Segoe UI", system-ui, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	min-width: 320px;
	background: var(--surface-soft);
	color: var(--ink);
	font-family: var(--font-bn);
	font-size: 17px;
	line-height: 1.75;
	overflow-x: hidden;
}

body.menu-is-open {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--brand-deep);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--brand);
}

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

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.7em;
	color: var(--ink);
	font-family: var(--font-bn);
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.22;
}

p,
ul,
ol,
blockquote,
table,
figure {
	margin: 0 0 1.4em;
}

.site-shell {
	width: min(calc(100% - 40px), var(--shell));
	margin-inline: auto;
}

.content-shell {
	width: min(calc(100% - 40px), var(--content));
	margin-inline: auto;
}

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

.screen-reader-text:focus {
	position: fixed !important;
	z-index: 99999;
	top: 12px;
	left: 12px;
	width: auto;
	height: auto;
	padding: 12px 16px;
	clip: auto;
	background: var(--surface);
	border-radius: 8px;
	box-shadow: var(--shadow-md);
	color: var(--ink);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.78rem 1.4rem;
	border: 1px solid transparent;
	border-radius: 14px;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
	text-decoration: none;
}

.button--primary {
	background: var(--accent);
	box-shadow: 0 12px 26px rgba(91, 66, 5, 0.2);
	color: #17251f;
}

.button--primary:hover {
	background: #ffd66e;
	color: #17251f;
}

.text-action {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 800;
	text-decoration: none;
}

.text-action span {
	transition: transform 180ms ease;
}

.text-action:hover span {
	transform: translateX(4px);
}

/* Header */

.site-header {
	position: sticky;
	z-index: 100;
	top: 0;
	min-height: var(--header-height);
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(217, 230, 226, 0.85);
	backdrop-filter: blur(16px);
}

.header-inner {
	display: flex;
	align-items: center;
	min-height: var(--header-height);
	gap: 2rem;
}

.site-branding,
.brand-link,
.custom-logo-link {
	flex: 0 0 auto;
	min-width: 0;
	max-width: min(48vw, 240px);
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 0.72rem;
	color: var(--ink);
	font-weight: 900;
	text-decoration: none;
}

.brand-link:hover {
	color: var(--brand-deep);
}

.brand-wordmark {
	overflow: hidden;
	font-size: 1.1rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.brand-mark {
	position: relative;
	display: inline-grid;
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
	place-items: center;
	overflow: hidden;
	background: linear-gradient(145deg, var(--brand), #10a174);
	border-radius: 13px 8px 13px 8px;
	box-shadow: 0 8px 20px rgba(8, 122, 90, 0.22);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
	position: absolute;
	content: "";
	border: 2px solid rgba(255, 255, 255, 0.95);
}

.brand-mark::before {
	width: 18px;
	height: 22px;
	border-radius: 9px 9px 4px 4px;
	transform: translateX(-5px) rotate(-8deg);
}

.brand-mark::after {
	width: 13px;
	height: 13px;
	border-color: var(--accent);
	border-radius: 50%;
	transform: translate(9px, 7px);
}

.brand-mark span {
	width: 8px;
	height: 2px;
	border-width: 0 0 2px;
	transform: translate(-5px, 2px);
}

.custom-logo,
.custom-logo-link img,
.site-branding img,
.brand-logo img,
.footer-brand img {
	display: block;
	width: auto;
	height: auto;
	max-width: 180px;
	max-height: 56px;
	object-fit: contain;
}

.primary-navigation {
	margin-left: auto;
}

.primary-navigation .menu {
	display: flex;
	align-items: center;
	gap: 0.18rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-navigation a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.55rem 0.68rem;
	border-radius: 10px;
	color: #304b4d;
	font-size: 0.88rem;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.primary-navigation a:hover,
.primary-navigation .current-menu-item > a,
.primary-navigation .current_page_item > a {
	background: var(--brand-soft);
	color: var(--brand-deep);
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 11px;
	margin-left: auto;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	cursor: pointer;
}

.menu-toggle > span:not(.screen-reader-text) {
	display: block;
	width: 100%;
	height: 2px;
	margin: 5px 0;
	background: var(--ink);
	border-radius: 999px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Hero */

.hero-section {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(circle at 84% 18%, rgba(242, 193, 78, 0.27), transparent 25%),
		radial-gradient(circle at 12% 88%, rgba(111, 220, 184, 0.22), transparent 31%),
		linear-gradient(126deg, #05775a 0%, #0c936d 52%, #087254 100%);
	color: #fff;
}

.hero-section::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	content: "";
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 36px 36px;
	mask-image: linear-gradient(to bottom, #000 20%, transparent 96%);
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
	align-items: center;
	min-height: 630px;
	padding-block: clamp(4rem, 8vw, 7rem);
	gap: clamp(3rem, 7vw, 7rem);
}

.hero-copy {
	position: relative;
	z-index: 2;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: inherit;
	font-size: 0.82rem;
	font-weight: 850;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 28px;
	height: 2px;
	background: var(--accent);
	border-radius: 99px;
	content: "";
}

.hero-copy h1 {
	max-width: 760px;
	margin-bottom: 1.2rem;
	color: #fff;
	font-size: clamp(2.5rem, 6vw, 5.2rem);
	letter-spacing: -0.055em;
}

.hero-summary {
	max-width: 610px;
	margin-bottom: 1.7rem;
	color: rgba(255, 255, 255, 0.88);
	font-size: clamp(1.04rem, 2vw, 1.24rem);
}

.hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem 1.3rem;
}

.hero-actions .text-action {
	color: #fff;
}

.hero-snapshot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	padding: 0;
	margin: 2.1rem 0 0;
	list-style: none;
}

.hero-snapshot li {
	display: grid;
	min-width: 116px;
	padding: 0.72rem 0.9rem;
	background: rgba(255, 255, 255, 0.11);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 14px;
	backdrop-filter: blur(10px);
}

.hero-snapshot span {
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.72rem;
}

.hero-snapshot strong {
	color: #fff;
	font-size: 0.9rem;
}

.hero-visual {
	position: relative;
	display: grid;
	min-height: 480px;
	place-items: center;
}

.hero-visual--planned-media {
	min-height: 0;
	margin: 0;
}

.hero-planned-image {
	display: block;
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: clamp(22px, 4vw, 42px);
	box-shadow: 0 42px 90px rgba(1, 48, 37, 0.34);
}

.device-frame {
	position: relative;
	z-index: 3;
	width: min(270px, 70vw);
	padding: 12px;
	background: #132e35;
	border: 3px solid rgba(255, 255, 255, 0.7);
	border-radius: 42px;
	box-shadow: 0 46px 90px rgba(1, 48, 37, 0.37);
	transform: rotate(4deg);
}

.device-speaker {
	width: 62px;
	height: 7px;
	margin: 1px auto 9px;
	background: #304b52;
	border-radius: 99px;
}

.device-screen {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: 410px;
	padding: 42px 22px 24px;
	background:
		radial-gradient(circle at 50% 16%, rgba(242, 193, 78, 0.28), transparent 28%),
		linear-gradient(180deg, #f2fbf7, #dff6ed);
	border-radius: 30px;
}

.device-mark {
	position: relative;
	display: grid;
	width: 92px;
	height: 92px;
	margin-bottom: 28px;
	place-items: center;
	background: linear-gradient(145deg, var(--brand), #16af7f);
	border-radius: 30px 18px 30px 18px;
	box-shadow: 0 16px 32px rgba(8, 122, 90, 0.22);
}

.device-mark::before,
.device-mark::after,
.device-mark span {
	position: absolute;
	content: "";
	border: 4px solid white;
}

.device-mark::before {
	width: 38px;
	height: 48px;
	border-radius: 18px 18px 8px 8px;
	transform: translateX(-9px) rotate(-8deg);
}

.device-mark::after {
	width: 27px;
	height: 27px;
	border-color: var(--accent);
	border-radius: 50%;
	transform: translate(19px, 17px);
}

.device-mark span {
	width: 18px;
	height: 4px;
	border-width: 0 0 4px;
	transform: translate(-9px, 4px);
}

.device-lines {
	width: 100%;
	margin-bottom: 28px;
}

.device-lines i {
	display: block;
	height: 10px;
	margin: 10px auto;
	background: #c2ded3;
	border-radius: 99px;
}

.device-lines i:nth-child(1) {
	width: 74%;
	background: #8fcab6;
}

.device-lines i:nth-child(2) {
	width: 92%;
}

.device-lines i:nth-child(3) {
	width: 62%;
}

.device-tiles {
	display: grid;
	width: 100%;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.device-tiles b {
	height: 62px;
	background: #fff;
	border: 1px solid #c8e8dc;
	border-radius: 16px;
	box-shadow: 0 8px 18px rgba(15, 81, 62, 0.07);
}

.visual-orbit {
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
}

.visual-orbit--one {
	width: 410px;
	height: 410px;
}

.visual-orbit--two {
	width: 520px;
	height: 520px;
	border-style: dashed;
	opacity: 0.55;
}

.visual-card {
	position: absolute;
	z-index: 4;
	display: grid;
	padding: 16px;
	background: rgba(255, 255, 255, 0.93);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 20px;
	box-shadow: var(--shadow-md);
}

.visual-card i {
	display: block;
	background: #b5dfcf;
	border-radius: 99px;
}

.visual-card--left {
	top: 18%;
	left: 1%;
	width: 140px;
	height: 114px;
	transform: rotate(-8deg);
}

.visual-card--left i:nth-child(1) {
	width: 38px;
	height: 38px;
	background: var(--accent);
	border-radius: 12px;
}

.visual-card--left i:nth-child(2) {
	width: 84%;
	height: 8px;
}

.visual-card--left i:nth-child(3) {
	width: 58%;
	height: 8px;
}

.visual-card--right {
	right: 0;
	bottom: 20%;
	width: 150px;
	height: 104px;
	transform: rotate(7deg);
}

.visual-card--right i:nth-child(1) {
	width: 100%;
	height: 36px;
	background: var(--brand);
	border-radius: 12px;
}

.visual-card--right i:nth-child(2) {
	width: 68%;
	height: 9px;
}

/* Quick access */

.quick-access {
	position: relative;
	z-index: 6;
	margin-top: -42px;
}

.quick-access-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.quick-card {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	min-height: 90px;
	padding: 1rem 1.15rem;
	background: var(--surface);
	border: 1px solid rgba(217, 230, 226, 0.9);
	border-radius: 18px;
	box-shadow: var(--shadow-sm);
	color: var(--ink);
	font-size: 0.93rem;
	font-weight: 800;
	text-decoration: none;
	transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
	gap: 0.8rem;
}

.quick-card:hover {
	border-color: #92c9b6;
	box-shadow: 0 16px 36px rgba(10, 66, 53, 0.12);
	color: var(--brand-deep);
	transform: translateY(-3px);
}

.quick-card svg {
	width: 20px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.quick-index {
	display: grid;
	width: 35px;
	height: 35px;
	place-items: center;
	background: var(--brand-soft);
	border-radius: 11px;
	color: var(--brand-deep);
	font-size: 0.72rem;
}

/* Theme-only section shell */

.home-structure-shell {
	padding-top: 4rem;
}

.home-slot {
	padding: clamp(4.5rem, 8vw, 7.2rem) 0;
	background: var(--surface);
}

.home-slot:nth-child(even) {
	background: var(--surface-soft);
}

.home-slot-grid {
	display: grid;
	grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
	align-items: center;
	gap: clamp(2.5rem, 6vw, 6rem);
}

.home-slot:nth-child(even) .home-slot-heading {
	order: 2;
}

.home-slot-heading h2 {
	max-width: 440px;
	font-size: clamp(1.8rem, 4vw, 3rem);
}

.section-number {
	display: inline-grid;
	width: 44px;
	height: 32px;
	margin-bottom: 1rem;
	place-items: center;
	background: var(--brand-soft);
	border-radius: 999px;
	color: var(--brand-deep);
	font-size: 0.78rem;
	font-weight: 900;
}

.content-placeholder {
	display: grid;
	min-height: 290px;
	padding: 1.2rem;
	background: linear-gradient(145deg, #fff, #f1f8f5);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	gap: 1rem;
}

.content-placeholder span {
	display: block;
	background:
		linear-gradient(120deg, rgba(8, 122, 90, 0.08), rgba(8, 122, 90, 0.16)),
		var(--surface);
	border: 1px solid rgba(8, 122, 90, 0.1);
	border-radius: 18px;
}

.content-placeholder--cards {
	grid-template-columns: repeat(3, 1fr);
}

.content-placeholder--steps {
	grid-template-columns: 1fr;
}

.content-placeholder--steps span {
	min-height: 68px;
}

.home-slot--payment .content-placeholder span:nth-child(1),
.home-slot--bangladesh .content-placeholder span:nth-child(2) {
	background:
		linear-gradient(140deg, rgba(242, 193, 78, 0.19), rgba(8, 122, 90, 0.08)),
		var(--surface);
}

.home-slot--faq .content-placeholder {
	min-height: 250px;
}

/* Database content */

.homepage-content-section {
	padding: clamp(4.5rem, 8vw, 7rem) 0;
	background: var(--surface);
}

.page-hero,
.listing-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.8rem, 8vw, 6.5rem) 0;
	background:
		radial-gradient(circle at 88% 15%, rgba(242, 193, 78, 0.24), transparent 23%),
		linear-gradient(130deg, var(--brand-deep), var(--brand));
	color: #fff;
}

.page-hero::after,
.listing-hero::after {
	position: absolute;
	right: -80px;
	bottom: -180px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	content: "";
}

.page-hero-inner {
	position: relative;
	z-index: 2;
}

.page-hero h1,
.listing-hero h1 {
	max-width: 900px;
	margin-bottom: 0;
	color: #fff;
	font-size: clamp(2.15rem, 5vw, 4.3rem);
}

.breadcrumb-link {
	display: inline-flex;
	margin-bottom: 1.1rem;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
}

.breadcrumb-link:hover {
	color: #fff;
}

.page-hero-rule {
	display: block;
	width: 82px;
	height: 5px;
	margin-top: 1.8rem;
	background: var(--accent);
	border-radius: 999px;
}

.page-article {
	padding-block: clamp(4rem, 7vw, 6.5rem);
}

.page-featured-image {
	margin: 0 0 2.4rem;
}

.page-featured-image img {
	width: 100%;
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.entry-content {
	color: #253e40;
}

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

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2 {
	margin-top: 2.2em;
	font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.entry-content h3 {
	margin-top: 1.8em;
	font-size: clamp(1.2rem, 2.4vw, 1.55rem);
}

.entry-content h2::before {
	display: block;
	width: 48px;
	height: 4px;
	margin-bottom: 0.72rem;
	background: var(--brand);
	border-radius: 99px;
	content: "";
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.35rem;
}

.entry-content li + li {
	margin-top: 0.45rem;
}

.entry-content blockquote {
	padding: 1.35rem 1.5rem;
	background: var(--accent-soft);
	border-left: 4px solid var(--accent);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: #4b432f;
}

.entry-content figure {
	max-width: 100%;
}

.entry-content img {
	border-radius: var(--radius-md);
}

.entry-content figcaption {
	margin-top: 0.55rem;
	color: var(--ink-soft);
	font-size: 0.82rem;
	text-align: center;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
	font-size: 0.93rem;
}

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

.entry-content th {
	background: var(--brand-soft);
	color: var(--brand-dark);
	font-weight: 850;
}

.entry-content details,
.wp-block-details {
	padding: 1rem 1.15rem;
	margin-bottom: 0.8rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: 0 6px 18px rgba(10, 66, 53, 0.045);
}

.entry-content summary {
	color: var(--ink);
	font-weight: 800;
	cursor: pointer;
}

.entry-content details > *:last-child {
	margin-bottom: 0;
}

.entry-content .wp-block-group,
.entry-content .wp-block-columns {
	margin-block: 2rem;
}

.entry-content .wp-block-group.has-background {
	padding: clamp(1.2rem, 4vw, 2.2rem);
	border-radius: var(--radius-md);
}

.entry-content .wp-block-button__link {
	min-height: 48px;
	padding: 0.76rem 1.25rem;
	background: var(--brand);
	border-radius: 13px;
	color: #fff;
	font-weight: 800;
}

.entry-content .alignwide {
	width: min(100vw - 40px, 980px);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.content-reserved {
	display: grid;
	min-height: 330px;
	padding: clamp(1rem, 4vw, 1.8rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	gap: 0.85rem;
}

.content-reserved span {
	display: block;
	height: 19px;
	background: linear-gradient(90deg, #e4f1ec, #f5faf8);
	border-radius: 99px;
}

.content-reserved span:nth-child(1) {
	width: 44%;
	height: 34px;
}

.content-reserved span:nth-child(2) {
	width: 100%;
}

.content-reserved span:nth-child(3) {
	width: 92%;
}

.content-reserved span:nth-child(4) {
	width: 68%;
}

.page-layout--login .page-hero {
	background: linear-gradient(132deg, #075744, #0c8d69);
}

.page-layout--app .page-hero {
	background: linear-gradient(132deg, #076a57, #129782);
}

.page-layout--payment .page-hero {
	background:
		radial-gradient(circle at 84% 18%, rgba(242, 193, 78, 0.34), transparent 24%),
		linear-gradient(132deg, #075744, #087a5a);
}

.page-layout--games .page-hero {
	background: linear-gradient(132deg, #0d5550, #087a5a);
}

.page-layout--faq .page-hero {
	background: linear-gradient(132deg, #0a5d59, #128a6b);
}

.page-layout--legal .page-hero,
.page-layout--responsible .page-hero {
	background: linear-gradient(132deg, #284654, #175d58);
}

.page-layout--legal .entry-content,
.page-layout--responsible .entry-content {
	font-size: 0.96rem;
}

/* Listing and utility pages */

.listing-hero .eyebrow {
	color: rgba(255, 255, 255, 0.78);
}

.listing-grid {
	display: grid;
	padding-block: clamp(3.5rem, 7vw, 6rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.4rem;
}

.listing-grid--fallback {
	padding-top: 5rem;
}

.post-card {
	display: grid;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.post-card-image {
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.post-card:hover .post-card-image img {
	transform: scale(1.025);
}

.post-card-copy {
	padding: 1.4rem;
}

.post-card-copy h2 {
	font-size: 1.3rem;
}

.post-card-copy h2 a {
	color: var(--ink);
	text-decoration: none;
}

.post-card-excerpt {
	color: var(--ink-soft);
	font-size: 0.92rem;
}

.post-card-excerpt > *:last-child {
	margin-bottom: 1rem;
}

.nav-links {
	display: flex;
	grid-column: 1 / -1;
	justify-content: space-between;
	gap: 1rem;
}

.nav-links a {
	display: inline-flex;
	padding: 0.75rem 1rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 12px;
	font-weight: 800;
	text-decoration: none;
}

.search-form {
	display: flex;
	max-width: 620px;
	margin-top: 1.5rem;
	gap: 0.7rem;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 52px;
	padding: 0.75rem 1rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 13px;
	color: var(--ink);
}

.listing-hero .search-field {
	border-color: rgba(255, 255, 255, 0.35);
}

.empty-state {
	grid-column: 1 / -1;
	padding: 2rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
}

.not-found-layout {
	display: grid;
	min-height: 68vh;
	padding-block: 5rem;
	place-items: center;
}

.not-found-card {
	max-width: 700px;
	padding: clamp(2rem, 6vw, 4rem);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
	text-align: center;
}

.not-found-code {
	display: block;
	color: var(--brand);
	font-size: clamp(3.2rem, 12vw, 7rem);
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 1;
}

/* Footer */

.site-footer {
	padding-top: clamp(4rem, 8vw, 6rem);
	background: var(--footer);
	color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.7fr repeat(3, minmax(0, 1fr));
	gap: clamp(1.7rem, 4vw, 4rem);
}

.brand-link--footer {
	margin-bottom: 1.2rem;
	color: #fff;
}

.brand-link--footer:hover {
	color: #fff;
}

.brand-mark--footer {
	box-shadow: none;
}

.footer-brand img {
	max-width: 150px;
	max-height: 48px;
}

.footer-brand p {
	max-width: 380px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9rem;
}

.footer-group h2 {
	margin-bottom: 1rem;
	color: #fff;
	font-size: 0.98rem;
}

.footer-links {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-links li + li {
	margin-top: 0.42rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.88rem;
	text-decoration: none;
}

.footer-links a:hover {
	color: #fff;
	text-decoration: underline;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	padding-block: 1.25rem;
	margin-top: 3.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.11);
	font-size: 0.8rem;
	gap: 1rem;
}

.footer-bottom p {
	margin: 0;
}

.mobile-sticky-action {
	display: none;
}

/* Responsive behavior */

@media (max-width: 1080px) {
	.header-inner {
		gap: 1rem;
	}

	.primary-navigation a {
		padding-inline: 0.5rem;
		font-size: 0.81rem;
	}

	.hero-grid {
		grid-template-columns: minmax(0, 1fr) minmax(310px, 0.82fr);
		gap: 2rem;
	}

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

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

	.footer-group:last-child {
		grid-column: 2;
	}
}

@media (max-width: 860px) {
	:root {
		--header-height: 68px;
	}

	.menu-toggle {
		display: block;
	}

	.primary-navigation {
		position: fixed;
		z-index: 99;
		top: var(--header-height);
		right: 0;
		bottom: 0;
		width: min(88vw, 390px);
		padding: 1rem 20px 2rem;
		background: var(--surface);
		border-left: 1px solid var(--line);
		box-shadow: -20px 24px 60px rgba(10, 66, 53, 0.16);
		overflow-y: auto;
		transform: translateX(105%);
		transition: transform 220ms ease;
	}

	.primary-navigation.is-open {
		transform: translateX(0);
	}

	.primary-navigation .menu {
		display: grid;
		align-items: stretch;
		gap: 0.25rem;
	}

	.primary-navigation a {
		min-height: 50px;
		padding: 0.72rem 0.85rem;
		font-size: 0.98rem;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.hero-visual {
		min-height: 440px;
	}

	.home-slot-grid {
		grid-template-columns: 1fr;
	}

	.home-slot:nth-child(even) .home-slot-heading {
		order: 0;
	}

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

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-group:last-child {
		grid-column: auto;
	}
}

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

	.site-shell,
	.content-shell {
		width: min(calc(100% - 28px), var(--shell));
	}

	.content-shell {
		max-width: var(--content);
	}

	.site-branding,
	.brand-link,
	.custom-logo-link {
		max-width: min(58vw, 185px);
	}

	.brand-wordmark {
		font-size: 1rem;
	}

	.brand-mark {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
	}

	.custom-logo,
	.custom-logo-link img,
	.site-branding img,
	.brand-logo img {
		max-width: 140px;
		max-height: 44px;
	}

	.hero-grid {
		padding-block: 3.5rem 4.5rem;
		gap: 1.4rem;
	}

	.hero-copy h1 {
		font-size: clamp(2.25rem, 13vw, 3.6rem);
	}

	.hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.hero-actions .button {
		width: 100%;
	}

	.hero-actions .text-action {
		justify-content: center;
		padding: 0.6rem;
	}

	.hero-snapshot {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.45rem;
	}

	.hero-snapshot li {
		min-width: 0;
		padding: 0.62rem 0.65rem;
	}

	.hero-visual {
		min-height: 270px;
	}

	.device-frame {
		width: 166px;
		padding: 7px;
		border-width: 2px;
		border-radius: 29px;
	}

	.device-speaker {
		width: 42px;
		height: 5px;
		margin-bottom: 6px;
	}

	.device-screen {
		min-height: 226px;
		padding: 18px 12px 12px;
		border-radius: 21px;
	}

	.device-mark {
		width: 52px;
		height: 52px;
		margin-bottom: 12px;
		border-radius: 17px 11px 17px 11px;
	}

	.device-mark::before {
		width: 24px;
		height: 30px;
		border-width: 3px;
		transform: translateX(-6px) rotate(-8deg);
	}

	.device-mark::after {
		width: 18px;
		height: 18px;
		border-width: 3px;
		transform: translate(13px, 11px);
	}

	.device-mark span {
		width: 12px;
		height: 3px;
		border-width: 0 0 3px;
		transform: translate(-6px, 3px);
	}

	.device-lines {
		margin-bottom: 12px;
	}

	.device-lines i {
		height: 6px;
		margin: 6px auto;
	}

	.device-tiles {
		gap: 7px;
	}

	.device-tiles b {
		height: 35px;
		border-radius: 10px;
	}

	.visual-orbit--one {
		width: 230px;
		height: 230px;
	}

	.visual-orbit--two {
		width: 285px;
		height: 285px;
	}

	.visual-card--left {
		top: 22%;
		left: 4%;
		width: 82px;
		height: 67px;
		padding: 10px;
	}

	.visual-card--right {
		right: 3%;
		bottom: 17%;
		width: 86px;
		height: 64px;
		padding: 10px;
	}

	.quick-access {
		margin-top: -30px;
	}

	.quick-access-grid {
		grid-template-columns: 1fr;
		gap: 0.7rem;
	}

	.quick-card {
		min-height: 72px;
	}

	.home-structure-shell {
		padding-top: 2.5rem;
	}

	.home-slot {
		padding-block: 4rem;
	}

	.content-placeholder {
		min-height: 220px;
	}

	.content-placeholder--cards {
		grid-template-columns: 1fr;
	}

	.content-placeholder--cards span {
		min-height: 54px;
	}

	.page-hero,
	.listing-hero {
		padding-block: 3.5rem;
	}

	.entry-content .alignwide,
	.entry-content .alignfull {
		width: 100vw;
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

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

	.search-form {
		flex-direction: column;
	}

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

	.footer-brand,
	.footer-group:last-child {
		grid-column: auto;
	}

	.footer-bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.has-mobile-sticky-action {
		padding-bottom: calc(78px + env(safe-area-inset-bottom));
	}

	.mobile-sticky-action {
		position: fixed;
		z-index: 120;
		right: 0;
		bottom: 0;
		left: 0;
		display: block;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, 0.96);
		border-top: 1px solid var(--line);
		box-shadow: 0 -12px 36px rgba(10, 66, 53, 0.13);
		backdrop-filter: blur(14px);
	}

	.mobile-sticky-action .button {
		width: 100%;
		min-height: 50px;
		background: var(--brand);
		box-shadow: none;
		color: #fff;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
