.rent-page {
	--rent-ink: #172033;
	--rent-muted: #5d6878;
	--rent-line: #d8e1ef;
	--rent-card: #ffffff;
	--rent-soft: #f4f8fb;
	--rent-deep: #12343b;
	--rent-teal: #0f8d85;
	--rent-blue: #2f6fed;
	--rent-gold: #d89016;
	--rent-coral: #d95e4f;
}

.rent-page .rent-hero,
.rent-page .rent-tool,
.rent-page .rent-content-card,
.rent-page .rent-section,
.rent-page .disclaimer {
	background: var(--rent-card);
	border: 1px solid var(--rent-line);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(18, 52, 59, 0.1);
}

.rent-page .rent-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
	gap: 28px;
	align-items: center;
	margin-bottom: 22px;
	padding: 34px;
	background:
		linear-gradient(135deg, rgba(15, 141, 133, 0.1), rgba(47, 111, 237, 0.08)),
		#ffffff;
	overflow: hidden;
}

.rent-page .rent-hero h1 {
	font-size: clamp(34px, 5vw, 52px);
}

.rent-page .rent-hero p {
	max-width: 710px;
	color: var(--rent-muted);
	font-size: 17px;
}

.rent-page .rent-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.rent-page .rent-hero-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 10px 16px;
	color: #ffffff;
	background: var(--rent-teal);
	border-radius: 7px;
	font-weight: 800;
	text-decoration: none;
}

.rent-page .rent-hero-actions a:nth-child(2) {
	color: var(--rent-deep);
	background: #e7f4f0;
}

.rent-page .building-card {
	position: relative;
	min-height: 300px;
	padding: 24px;
	background: var(--rent-deep);
	border-radius: 8px;
	color: #ffffff;
	overflow: hidden;
}

.rent-page .sun {
	position: absolute;
	right: 36px;
	top: 30px;
	width: 64px;
	height: 64px;
	background: #f5c14f;
	border-radius: 50%;
	box-shadow: 0 0 0 14px rgba(245, 193, 79, 0.15);
}

.rent-page .building {
	position: absolute;
	left: 24px;
	bottom: 0;
	display: grid;
	grid-template-columns: repeat(3, 42px);
	gap: 12px;
	padding: 22px 18px;
	width: 178px;
	height: 220px;
	background: #f7fbff;
	border-radius: 8px 8px 0 0;
}

.rent-page .building span {
	display: block;
	height: 34px;
	background: #8bd6ce;
	border-radius: 5px;
}

.rent-page .building span:nth-child(4n) {
	background: #f2b956;
}

.rent-page .budget-note {
	position: relative;
	z-index: 1;
	margin-left: 190px;
	margin-top: 128px;
	padding: 18px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 8px;
	backdrop-filter: blur(10px);
}

.rent-page .budget-note strong {
	display: block;
	font-size: 18px;
	line-height: 1.25;
}

.rent-page .budget-note p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 14px;
}

.rent-page .rent-tool {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	gap: 24px;
	margin-bottom: 22px;
	padding: 24px;
	align-items: start;
}

.rent-page .panel-heading p {
	margin: 6px 0 0;
	color: var(--rent-muted);
}

.rent-page .rent-input-groups,
.rent-page .rent-result-panel {
	display: grid;
	gap: 16px;
}

.rent-page .rent-input-card,
.rent-page .rent-score-card,
.rent-page .rent-meter-card,
.rent-page .budget-visual-card,
.rent-page .formula-box {
	border: 1px solid var(--rent-line);
	border-radius: 8px;
	background: #ffffff;
}

.rent-page .rent-input-card {
	padding: 18px;
}

.rent-page .rent-input-card h3 {
	margin-bottom: 14px;
}

.rent-page .field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.rent-page .field {
	display: grid;
	gap: 7px;
	color: #29364a;
	font-size: 13px;
	font-weight: 800;
}

.rent-page .field input {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	color: var(--rent-ink);
	background: var(--rent-soft);
	border: 1px solid var(--rent-line);
	border-radius: 7px;
	font: inherit;
	font-weight: 700;
}

.rent-page .field input:focus {
	outline: 3px solid rgba(15, 141, 133, 0.18);
	border-color: var(--rent-teal);
	background: #ffffff;
}

.rent-page .rent-score-card {
	padding: 24px;
	color: #ffffff;
	background:
		linear-gradient(135deg, rgba(15, 141, 133, 0.9), rgba(18, 52, 59, 0.96)),
		var(--rent-deep);
}

.rent-page .rent-score-card span {
	color: #b8fff2;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

.rent-page .rent-score-card strong {
	display: block;
	margin-top: 8px;
	font-size: clamp(36px, 6vw, 54px);
	line-height: 1;
}

.rent-page .rent-score-card p {
	margin: 12px 0 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: 16px;
}

.rent-page .rent-metric-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.rent-page .rent-metric-grid div {
	padding: 16px;
	background: #ffffff;
	border: 1px solid var(--rent-line);
	border-radius: 8px;
}

.rent-page .rent-metric-grid span {
	display: block;
	color: var(--rent-muted);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.rent-page .rent-metric-grid strong {
	display: block;
	margin-top: 8px;
	color: var(--rent-ink);
	font-size: 22px;
}

.rent-page .rent-meter-card,
.rent-page .budget-visual-card,
.rent-page .formula-box {
	padding: 16px;
}

.rent-page .meter-labels {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-weight: 900;
}

.rent-page .rent-meter {
	height: 18px;
	margin: 12px 0;
	background: #e7edf4;
	border-radius: 999px;
	overflow: hidden;
}

.rent-page .rent-meter span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--rent-teal), var(--rent-gold), var(--rent-coral));
	border-radius: inherit;
	transition: width 0.2s ease;
}

.rent-page .rent-meter-card p,
.rent-page .formula-box p {
	margin: 0;
	color: var(--rent-muted);
}

.rent-page .budget-stack {
	display: flex;
	width: 100%;
	height: 34px;
	margin: 14px 0;
	background: #ecf2f7;
	border-radius: 7px;
	overflow: hidden;
}

.rent-page .budget-stack span {
	min-width: 0;
	height: 100%;
}

.rent-page .stack-rent,
.rent-page .legend-rent {
	background: var(--rent-teal);
}

.rent-page .stack-utilities,
.rent-page .legend-utilities {
	background: var(--rent-blue);
}

.rent-page .stack-debt,
.rent-page .legend-debt {
	background: var(--rent-coral);
}

.rent-page .stack-savings,
.rent-page .legend-savings {
	background: var(--rent-gold);
}

.rent-page .stack-leftover,
.rent-page .legend-leftover {
	background: #8fb3c7;
}

.rent-page .stack-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	color: var(--rent-muted);
	font-size: 12px;
	font-weight: 800;
}

.rent-page .stack-legend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.rent-page .stack-legend i {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
}

.rent-page .copy-button {
	width: 100%;
	min-height: 48px;
	color: #ffffff;
	background: var(--rent-teal);
	border: 0;
	border-radius: 7px;
	font: inherit;
	font-weight: 900;
	cursor: pointer;
}

.rent-page .copy-button:hover {
	background: #0b766f;
}

.rent-page .copy-status {
	min-height: 20px;
	margin: 0;
	color: var(--rent-teal);
	font-size: 13px;
	font-weight: 800;
}

.rent-page .rent-content-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin-bottom: 22px;
}

.rent-page .rent-content-card,
.rent-page .rent-section {
	padding: 24px;
}

.rent-page .rent-content-card p,
.rent-page .rent-section p,
.rent-page .rent-content-card li,
.rent-page .rent-section li {
	color: var(--rent-muted);
}

.rent-page .rent-content-card ul,
.rent-page .rent-checklist ul {
	margin: 16px 0 0;
	padding-left: 20px;
}

.rent-page .rent-section {
	margin-bottom: 22px;
}

.rent-page .section-heading {
	max-width: 820px;
	margin-bottom: 18px;
}

.rent-page .rent-example-grid,
.rent-page .related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.rent-page .rent-example-grid article,
.rent-page .related-grid a {
	padding: 18px;
	background: var(--rent-soft);
	border: 1px solid var(--rent-line);
	border-radius: 8px;
}

.rent-page .rent-example-grid span,
.rent-page .related-grid span {
	color: var(--rent-teal);
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.rent-page .related-grid a {
	color: inherit;
	text-decoration: none;
}

.rent-page .related-grid strong {
	display: block;
	margin: 8px 0;
	color: var(--rent-ink);
	font-size: 18px;
}

.rent-page .rent-split-section {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 330px;
	gap: 24px;
	align-items: start;
	background:
		linear-gradient(135deg, rgba(216, 144, 22, 0.1), rgba(15, 141, 133, 0.08)),
		#ffffff;
}

.rent-page .rent-checklist {
	padding: 18px;
	background: #ffffff;
	border: 1px solid var(--rent-line);
	border-radius: 8px;
}

.rent-page .rent-checklist strong {
	color: var(--rent-deep);
	font-size: 18px;
}

.rent-page .faq-list {
	display: grid;
	gap: 12px;
}

.rent-page .faq-list details {
	padding: 16px;
	background: var(--rent-soft);
	border: 1px solid var(--rent-line);
	border-radius: 8px;
}

.rent-page .faq-list summary {
	color: var(--rent-ink);
	font-weight: 900;
	cursor: pointer;
}

.rent-page .faq-list p {
	margin: 10px 0 0;
}

.rent-page .disclaimer {
	padding: 22px;
	background: #fff8ed;
}

.rent-page .disclaimer p {
	margin: 0;
	color: #6f4c17;
}

@media (max-width: 980px) {
	.rent-page .rent-hero,
	.rent-page .rent-tool,
	.rent-page .rent-content-grid,
	.rent-page .rent-split-section {
		grid-template-columns: 1fr;
	}

	.rent-page .rent-example-grid,
	.rent-page .related-grid {
		grid-template-columns: 1fr;
	}

	.rent-page .budget-note {
		margin-left: 170px;
	}
}

@media (max-width: 640px) {
	.rent-page .rent-hero,
	.rent-page .rent-tool,
	.rent-page .rent-content-card,
	.rent-page .rent-section {
		padding: 18px;
	}

	.rent-page .field-grid,
	.rent-page .rent-metric-grid {
		grid-template-columns: 1fr;
	}

	.rent-page .building-card {
		min-height: auto;
		padding-top: 190px;
	}

	.rent-page .sun {
		right: 24px;
		top: 20px;
		width: 52px;
		height: 52px;
	}

	.rent-page .building {
		left: 18px;
		top: 22px;
		bottom: auto;
		width: 150px;
		height: 154px;
		grid-template-columns: repeat(3, 32px);
		gap: 9px;
		padding: 16px 14px;
	}

	.rent-page .building span {
		height: 24px;
	}

	.rent-page .budget-note {
		margin: 0;
	}
}
