:root {
	--bg: #fbf8f1;
	--text: #14221b;
	--muted: #657066;
	--green: #0f6b43;
	--green-2: #174d36;
	--gold: #d99b2b;
	--white: #ffffff;
	--line: #e8dec9;
	--shadow: 0 24px 70px rgba(19, 35, 26, 0.14);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.mierdcd-landing-page {
	margin: 0;
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
}

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

.container-fluid {
	width: 100%;
	margin: 0 auto;
	padding-inline: clamp(18px, 4vw, 64px);
}

.site-header {
	position: sticky;
	top: 0;
	background: rgba(251, 248, 241, 0.9);
	backdrop-filter: blur(16px);
	z-index: 10;
	border-bottom: 1px solid var(--line);
}

.nav {
	min-height: 78px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

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

.brand-mark {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--white);
	display: grid;
	place-items: center;
	box-shadow: 0 10px 25px rgba(15, 107, 67, 0.18);
	flex: 0 0 auto;
	overflow: hidden;
}

.brand-mark img,
.avatar img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.brand strong {
	display: block;
	line-height: 1.1;
}

.brand small {
	display: block;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.2;
	margin-top: 2px;
}

.nav-links {
	display: flex;
	gap: 28px;
	align-items: center;
	font-weight: 700;
}

.nav-toggle {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--white);
	padding: 10px;
}

.nav-toggle span {
	display: block;
	height: 2px;
	background: var(--green);
	margin: 5px 0;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 8px;
	background: var(--green);
	color: var(--white);
	font-weight: 800;
	border: 1px solid var(--green);
	box-shadow: 0 10px 25px rgba(15, 107, 67, 0.22);
	cursor: pointer;
	font: inherit;
}

.btn-secondary {
	background: var(--white);
	color: var(--green);
	box-shadow: none;
}

.btn-small {
	min-height: 40px;
	padding: 9px 16px;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 70px;
	background: linear-gradient(135deg, #fffaf0 0%, #ecf6ef 100%);
}

.hero:before {
	content: "";
	position: absolute;
	inset: auto -10% -40% -10%;
	height: 52%;
	background: linear-gradient(90deg, rgba(15, 107, 67, 0.08), rgba(217, 155, 43, 0.12));
	transform: skewY(-4deg);
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 54px;
	align-items: center;
}

.eyebrow {
	color: var(--green);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 13px;
}

.hero h1 {
	font-size: clamp(42px, 6vw, 72px);
	line-height: 1.03;
	margin: 10px 0 20px;
	letter-spacing: 0;
}

.lead {
	font-size: 19px;
	color: #405047;
	max-width: 650px;
}

.hero-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin: 32px 0;
}

.trust-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	color: #415349;
	font-weight: 700;
	font-size: 14px;
}

.trust-row span {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid var(--line);
	padding: 9px 12px;
	border-radius: 8px;
}

.hero-card {
	min-height: 480px;
	border-radius: 8px;
	background: linear-gradient(160deg, rgba(15, 107, 67, 0.78), rgba(20, 34, 27, 0.9)), url("../image/samples/property-2.jpg") center/cover;
	box-shadow: var(--shadow);
	padding: 28px;
	display: flex;
	align-items: flex-end;
}

.property-preview {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 8px;
	padding: 28px;
}

.badge {
	display: inline-block;
	background: #fff3d7;
	color: #87590c;
	border-radius: 8px;
	padding: 7px 12px;
	font-weight: 800;
	font-size: 12px;
}

.property-preview h2 {
	font-size: 32px;
	line-height: 1.15;
	margin: 12px 0 8px;
}

.property-preview ul {
	padding-left: 20px;
	margin-bottom: 0;
}

.section {
	padding: 84px 0;
}

.section-alt {
	background: var(--white);
}

.stats {
	padding: 28px 0;
	background: var(--green-2);
	color: var(--white);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.stats-grid div {
	display: flex;
	gap: 12px;
	align-items: center;
}

.stats-grid strong {
	font-size: 32px;
	color: var(--gold);
}

.stats-grid span {
	font-weight: 800;
}

.section-heading {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 38px;
}

.section-heading h2,
.split h2,
.about-box h2,
.login-copy h2 {
	font-size: clamp(31px, 4vw, 48px);
	line-height: 1.1;
	margin: 8px 0 14px;
	letter-spacing: 0;
}

.section-heading p,
.card p,
.split p,
.about-box p,
.login-copy p,
.login-meta,
.founder-card p,
.founder-card small {
	color: var(--muted);
}

.cards {
	display: grid;
	gap: 22px;
}

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

.card,
.founder-card,
.login-panel {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(19, 35, 26, 0.07);
	overflow: hidden;
}

.card img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.card-body,
.founder-card,
.login-panel-inner {
	padding: 28px;
}

.card h3 {
	font-size: 24px;
	line-height: 1.2;
	margin: 0 0 10px;
}

.split,
.about-box,
.login-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 48px;
	align-items: start;
}

.service-list {
	display: grid;
	gap: 16px;
}

.service-list div {
	background: #f8f4eb;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 20px;
}

.service-list strong {
	display: block;
	font-size: 18px;
}

.service-list span {
	color: var(--muted);
}

.about-box {
	grid-template-columns: 1.35fr 0.65fr;
	background: linear-gradient(135deg, var(--white), #f5efe1);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 42px;
}

.note {
	font-size: 14px;
	background: #fff7e3;
	border-left: 4px solid var(--gold);
	padding: 14px;
	border-radius: 8px;
}

.founder-card {
	text-align: center;
}

.avatar {
	width: 88px;
	height: 88px;
	border-radius: 8px;
	background: var(--white);
	border: 1px solid var(--line);
	display: grid;
	place-items: center;
	margin: 0 auto 14px;
	overflow: hidden;
}

.login-section {
	background: linear-gradient(135deg, var(--green-2), var(--green));
	color: var(--white);
}

.login-section .eyebrow,
.login-copy p {
	color: #dceee5;
}

.login-panel {
	color: var(--text);
}

.login-panel h3 {
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 18px;
}

.login-form {
	display: grid;
	gap: 16px;
}

.login-form label {
	display: grid;
	gap: 8px;
	font-weight: 800;
}

.login-form input {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 13px 14px;
	font: inherit;
	background: var(--white);
}

.login-meta {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	font-size: 14px;
}

.login-meta a {
	color: var(--green);
	font-weight: 800;
	white-space: nowrap;
}

.login-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.login-alert {
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 16px;
	font-weight: 700;
}

.login-alert.error {
	background: #fff0f0;
	color: #9f1d1d;
	border: 1px solid #f2bbbb;
}

.login-alert.success {
	background: #eef9f1;
	color: #176c34;
	border: 1px solid #bfe8c8;
}

.footer {
	padding: 34px 0;
	background: #10251a;
	color: var(--white);
}

.footer-grid {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: center;
}

.footer p {
	color: #b7c9bf;
	margin: 4px 0 0;
}

.footer a {
	margin-left: 18px;
	color: #dceee5;
	font-weight: 700;
}

@media (max-width: 850px) {
	.nav-links {
		position: absolute;
		top: 78px;
		left: 0;
		right: 0;
		background: var(--bg);
		padding: 22px;
		display: none;
		flex-direction: column;
		border-bottom: 1px solid var(--line);
	}

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

	.nav-toggle {
		display: block;
	}

	.hero-grid,
	.split,
	.about-box,
	.login-grid {
		grid-template-columns: 1fr;
	}

	.three,
	.stats-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		padding-top: 52px;
	}

	.hero-card {
		min-height: 360px;
	}

	.about-box {
		padding: 28px;
	}

	.login-meta,
	.footer-grid {
		display: block;
	}

	.footer a {
		display: inline-block;
		margin: 14px 12px 0 0;
	}
}

@media (max-width: 520px) {
	.brand small {
		display: none;
	}

	.hero h1 {
		font-size: 40px;
	}

	.btn {
		width: 100%;
	}

	.property-preview {
		padding: 20px;
	}
}
