:root {
	--bg: #eef3f8;
	--surface: #ffffff;
	--surface-soft: #f8fafc;
	--text: #172033;
	--muted: #5a6678;
	--line: #dbe4ef;
	--blue: #2563eb;
	--blue-dark: #102a5c;
	--green: #176b5b;
	--green-soft: #e7f4ef;
	--shadow: 0 18px 45px rgba(20, 34, 56, 0.12);
	--shadow-soft: 0 10px 24px rgba(20, 34, 56, 0.08);
}

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

html {
	font-size: 16px;
}

body {
	margin: 0;
	color: var(--text);
	background:
		linear-gradient(180deg, #eaf1f8 0, #f7f9fc 420px, #f4f7fb 100%);
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1.55;
}

a {
	color: inherit;
}

.site-header,
.site-footer {
	width: 100%;
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid var(--line);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 16px max(20px, calc((100vw - 1120px) / 2));
	backdrop-filter: blur(14px);
}

.site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--blue-dark);
	font-size: 20px;
	font-weight: 800;
	text-decoration: none;
}

.site-logo span {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: var(--blue-dark);
	border-radius: 8px;
	font-size: 13px;
	letter-spacing: 0;
}

.site-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
}

.site-nav a {
	padding: 8px 10px;
	border-radius: 7px;
	text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--green);
	background: var(--green-soft);
}

.page-shell {
	width: min(1120px, calc(100% - 32px));
	margin: 0 auto;
	padding: 28px 0 48px;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
	color: var(--muted);
	font-size: 14px;
}

.breadcrumbs a {
	color: var(--green);
	font-weight: 800;
	text-decoration: none;
}

.site-footer {
	padding: 20px max(20px, calc((100vw - 1120px) / 2));
	color: var(--muted);
	border-top: 1px solid var(--line);
	border-bottom: 0;
}

.site-footer p {
	margin: 0;
}

.site-footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-top: 10px;
	font-size: 14px;
	font-weight: 700;
}

.site-footer-links a {
	color: var(--green);
	text-decoration: none;
}

.site-footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hero,
.tool-hero,
.content-section,
.disclaimer,
.tool-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.hero,
.tool-hero {
	margin-bottom: 22px;
	padding: 30px;
}

.hero-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 26px;
	align-items: center;
	overflow: hidden;
}

.eyebrow {
	margin: 0 0 8px;
	color: var(--green);
	font-size: 13px;
	font-weight: 800;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	margin: 0;
	color: #111827;
	line-height: 1.2;
	letter-spacing: 0;
}

h1 {
	max-width: 820px;
	font-size: 42px;
	font-weight: 800;
}

h2 {
	margin-bottom: 14px;
	font-size: 24px;
	font-weight: 800;
}

h3 {
	font-size: 17px;
	font-weight: 800;
}

.hero p,
.tool-hero p {
	max-width: 780px;
	margin: 12px 0 0;
	color: var(--muted);
	font-size: 17px;
}

.hero-preview {
	padding: 18px;
	background: var(--blue-dark);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.preview-screen {
	display: grid;
	gap: 6px;
	padding: 20px;
	background: #ffffff;
	border-radius: 8px;
}

.preview-screen span {
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
}

.preview-screen strong {
	color: var(--green);
	font-size: 34px;
	line-height: 1.1;
}

.preview-screen em {
	color: var(--muted);
	font-size: 13px;
	font-style: normal;
}

.preview-bars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin-top: 14px;
}

.preview-bars i {
	display: block;
	height: 52px;
	background: #6dd3b4;
	border-radius: 7px 7px 0 0;
}

.preview-bars i:nth-child(2) {
	height: 80px;
	background: #93c5fd;
}

.preview-bars i:nth-child(3) {
	height: 64px;
	background: #f8c76f;
}

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

.tool-card {
	display: block;
	padding: 18px;
	color: inherit;
	background: var(--surface-soft);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tool-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}

.tool-card span {
	color: var(--green);
	font-size: 13px;
	font-weight: 800;
}

.tool-card h2 {
	margin-top: 8px;
	margin-bottom: 8px;
}

.tool-card p {
	margin: 8px 0 0;
	color: var(--muted);
}

@media (max-width: 900px) {
	.site-header,
	.hero-split {
		grid-template-columns: 1fr;
	}

	.site-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-nav {
		justify-content: flex-start;
	}

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

	.hero-preview {
		max-width: 420px;
	}
}

@media (max-width: 620px) {
	.page-shell {
		width: min(100% - 24px, 1120px);
		padding-top: 18px;
	}

	.hero,
	.tool-hero,
	.content-section {
		padding: 18px;
	}

	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 22px;
	}
}
