:root {
	color-scheme: light;
	font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #f4f7fa;
	color: #14202b;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { min-height: 100vh; }

.kustit-lock-page {
	background:
		radial-gradient(circle at 15% 15%, rgba(19, 98, 163, 0.14), transparent 34rem),
		linear-gradient(135deg, #f7f9fc 0%, #eef3f7 100%);
}

.kustit-lock-shell {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 32px 20px;
}

.kustit-lock-card {
	width: min(100%, 460px);
	background: rgba(255, 255, 255, 0.96);
	border: 1px solid rgba(20, 32, 43, 0.08);
	border-radius: 22px;
	box-shadow: 0 24px 70px rgba(30, 48, 66, 0.13);
	padding: 42px;
}

.kustit-lock-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 0 24px;
	text-align: center;
}

.kustit-lock-logo img {
	display: block;
	max-width: min(100%, 260px);
	max-height: 120px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
}

.kustit-lock-card h1 {
	margin: 0;
	font-size: clamp(30px, 6vw, 42px);
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.kustit-lock-lead {
	margin: 16px 0 28px;
	font-size: 16px;
	line-height: 1.65;
	color: #566471;
}

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

.kustit-lock-form input[type="password"] {
	width: 100%;
	height: 48px;
	border: 1px solid #ccd7df;
	border-radius: 10px;
	padding: 0 14px;
	font: inherit;
	background: #fff;
	outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.kustit-lock-form input[type="password"]:focus {
	border-color: #276f9f;
	box-shadow: 0 0 0 4px rgba(39, 111, 159, .13);
}

.kustit-lock-form button {
	width: 100%;
	margin-top: 12px;
	border: 0;
	border-radius: 10px;
	padding: 14px 18px;
	font: inherit;
	font-weight: 800;
	background: #14202b;
	color: #fff;
	cursor: pointer;
}

.kustit-lock-form button:hover { background: #263849; }

.kustit-lock-message {
	margin: 0 0 20px;
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.5;
}

.kustit-lock-message.is-error { background: #fff1f1; color: #8c1e1e; border: 1px solid #f2caca; }
.kustit-lock-message.is-warning { background: #fff8e5; color: #765700; border: 1px solid #f0dfa9; }

@media (max-width: 520px) {
	.kustit-lock-card { padding: 30px 24px; border-radius: 18px; }
}

.kustit-lock-site-name {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .10em;
	text-transform: uppercase;
	color: #6b7884;
}

.kustit-security-challenge {
	margin-top: 18px;
	padding: 14px;
	border: 1px solid #d9e2e8;
	border-radius: 10px;
	background: #f7f9fb;
}

.kustit-security-challenge input[type="text"] {
	width: 100%;
	height: 44px;
	border: 1px solid #ccd7df;
	border-radius: 9px;
	padding: 0 14px;
	font: inherit;
	background: #fff;
}
