:root {
	--text: #111827;
	--muted: #6b7280;
	--border: #e5e7eb;
	--soft-bg: #f8fafc;
	--section-bg: #f9fafb;
	--white: #ffffff;
	--blue-soft: #eef4ff;
	--blue-border: #c7d7fe;
	--green: #25cc91;
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	width: 100%;
	min-height: 100%;
	font-family: Arial, sans-serif;
	background: var(--soft-bg);
	color: var(--text);
}

.legal-page {
	width: 100%;
	min-height: 100vh;
	padding: 32px 16px;
}

.legal-card {
	width: min(100%, 900px);
	margin: 0 auto;
	border: 1px solid var(--border);
	border-radius: 24px;
	background: var(--white);
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.10);
	overflow: hidden;
}

.legal-header {
	padding: 28px 28px 20px;
	border-bottom: 1px solid var(--border);
}

.legal-header h1 {
	margin: 0 0 8px;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 900;
	letter-spacing: -0.04em;
}

.legal-header p {
	margin: 0;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.45;
}

.legal-section {
	margin: 18px;
	padding: 20px;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: var(--section-bg);
}

.legal-section h2 {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 900;
}

.legal-section p {
	margin: 0 0 10px;
	color: #374151;
	font-size: 15px;
	line-height: 1.6;
}

.legal-section p:last-child {
	margin-bottom: 0;
}

.legal-section ul {
	margin: 10px 0 0 20px;
	padding: 0;
	color: #374151;
	font-size: 15px;
	line-height: 1.6;
}

.legal-section li {
	margin: 6px 0;
}

.legal-summary {
	background: var(--blue-soft);
	border-color: var(--blue-border);
}

.legal-summary strong {
	display: block;
	margin-bottom: 4px;
	font-size: 17px;
}

/* Pricing page */

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 18px;
}

.pricing-plan {
	padding: 22px;
	border: 1px solid var(--border);
	border-radius: 18px;
	background: var(--section-bg);
}

.pricing-plan h2 {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 900;
}

.pricing-plan p {
	margin: 0 0 10px;
	color: #374151;
	font-size: 15px;
	line-height: 1.6;
}

.pricing-plan p:last-child {
	margin-bottom: 0;
}

.pricing-price {
	margin-bottom: 6px !important;
	color: var(--text) !important;
	font-size: 30px !important;
	line-height: 1.1 !important;
	font-weight: 900 !important;
	letter-spacing: -0.04em;
}

.pricing-period {
	margin-bottom: 14px !important;
	color: var(--muted) !important;
	font-size: 14px !important;
	font-weight: 700;
}

.pricing-note {
	border-color: rgba(37, 204, 145, 0.35);
	background: rgba(37, 204, 145, 0.08);
}

/* Small helper text */

.legal-muted {
	color: var(--muted) !important;
}

/* Responsive */

@media (max-width: 820px) {
	.pricing-grid {
		grid-template-columns: 1fr;
		margin: 12px;
	}
}

@media (max-width: 640px) {
	.legal-page {
		padding: 14px;
	}

	.legal-card {
		border-radius: 20px;
	}

	.legal-header {
		padding: 22px 20px 18px;
	}

	.legal-header h1 {
		font-size: 28px;
	}

	.legal-header p {
		font-size: 15px;
	}

	.legal-section {
		margin: 12px;
		padding: 16px;
	}

	.legal-section h2,
	.pricing-plan h2 {
		font-size: 18px;
	}

	.legal-section p,
	.legal-section ul,
	.pricing-plan p {
		font-size: 14px;
	}

	.pricing-plan {
		padding: 18px;
	}

	.pricing-price {
		font-size: 28px !important;
	}
}