html, body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	background: #f5f7fb;
	color: #1f2937;
}

* {
	box-sizing: border-box;
}

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

.site-wrap {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.site-header,
.site-footer {
	background: #ffffff;
	border-bottom: 1px solid #e5e7eb;
}

.site-footer {
	border-top: 1px solid #e5e7eb;
	border-bottom: 0;
	margin-top: auto;
}

.container {
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
	padding: 24px 16px;
}

.brand-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

.brand-mark {
	width: 54px;
	height: 54px;
	border-radius: 12px;
	background: #111827;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
}

.brand-text h1,
.brand-text p,
.brand-text .eyebrow {
	margin: 0;
}

.brand-text h1 {
	font-size: 28px;
	margin-top: 4px;
}

.brand-text p,
.eyebrow {
	color: #6b7280;
}

.site-main {
	padding: 18px 0 40px;
}

.card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.hero-card h2,
.result-card h2,
.recent-card h3 {
	margin-top: 0;
}

.intro-text,
.muted,
.field-help {
	color: #6b7280;
}

.alert {
	padding: 14px 16px;
	border-radius: 12px;
	margin-bottom: 18px;
	font-weight: 600;
}

.alert-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.form-group {
	margin-bottom: 18px;
}

.form-group label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
}

.form-group input[type="text"] {
	width: 100%;
	padding: 16px 18px;
	font-size: 30px;
	font-weight: 700;
	text-transform: uppercase;
	border: 1px solid #d1d5db;
	border-radius: 14px;
	background: #ffffff;
	letter-spacing: 2px;
}

.form-group input[type="text"]:focus {
	outline: none;
	border-color: #111827;
	box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.turnstile-wrap {
	margin-bottom: 18px;
}

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

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 12px;
	border: 0;
	cursor: pointer;
	font-weight: 700;
	font-size: 15px;
}

.btn-primary {
	background: #111827;
	color: #ffffff;
}

.btn-secondary {
	background: #e5e7eb;
	color: #111827;
}

.btn-small {
	padding: 10px 14px;
	font-size: 13px;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.recent-lookups-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.recent-lookups-list li {
	padding: 12px 0;
	border-bottom: 1px solid #f0f2f5;
}

.recent-lookups-list li:last-child {
	border-bottom: 0;
}

.recent-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.recent-vrm {
	font-weight: 800;
	letter-spacing: 1px;
}

.recent-date {
	color: #6b7280;
	font-size: 14px;
}

.top-actions {
	margin-bottom: 16px;
}

.vehicle-summary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #6b7280;
	margin-bottom: 8px;
}

.vrm-display {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: 2px;
}

.status-pill {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
}

.status-loading {
	background: #fff7ed;
	color: #9a3412;
}

.results-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 20px;
}

.skeleton-block {
	margin-top: 16px;
}

.skeleton-line {
	height: 14px;
	background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
	background-size: 200% 100%;
	animation: shimmer 1.5s infinite linear;
	border-radius: 8px;
	margin-bottom: 12px;
}

.skeleton-line-lg {
	height: 24px;
	width: 70%;
}

.skeleton-line:not(.skeleton-line-lg) {
	width: 100%;
}

@keyframes shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}

@media (max-width: 768px) {
	.brand-text h1 {
		font-size: 24px;
	}

	.form-group input[type="text"] {
		font-size: 24px;
	}

	.vehicle-summary-grid,
	.results-grid {
		grid-template-columns: 1fr;
	}

	.vrm-display {
		font-size: 30px;
	}
}