:root {
	color-scheme: light dark;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	min-height: 100vh;
	display: grid;
	place-items: center;
	background: radial-gradient(circle at top, #0b1227 0%, #0f172a 70%);
	color: #e5e7eb;
}

.app {
	width: min(920px, 92vw);
	border: 1px solid #334155;
	border-radius: 14px;
	background: #111827;
	padding: 24px;
}

h1 {
	margin: 0;
	font-size: 2rem;
	line-height: 1.2;
}

p {
	color: #9ca3af;
	margin-top: 10px;
	line-height: 1.45;
}

.grid {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

a {
	display: block;
	text-decoration: none;
	color: #e5e7eb;
	border: 1px solid #334155;
	border-radius: 10px;
	padding: 14px;
	background: #1f2937;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

a:hover {
	border-color: #38bdf8;
	transform: translateY(-1px);
}

.name {
	font-weight: 600;
}

.desc {
	margin-top: 6px;
	color: #9ca3af;
	font-size: 0.92rem;
}

.card {
	border: 1px solid #334155;
	border-radius: 10px;
	background: #1f2937;
	padding: 14px;
}

.input-grid {
	margin-top: 16px;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 12px;
	align-items: end;
}

.input-grid > * {
	grid-column: span 3;
}

.button-row {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.button-row button {
	flex: 1 1 180px;
}

input,
select,
textarea,
button {
	width: 100%;
	border: 1px solid #475569;
	border-radius: 10px;
	background: #0b1220;
	color: #e5e7eb;
	font: inherit;
}

input,
select,
button {
	min-height: 44px;
	padding: 10px 12px;
}

textarea {
	margin-top: 14px;
	min-height: 220px;
	padding: 12px;
	resize: vertical;
	line-height: 1.4;
}

input::placeholder,
textarea::placeholder {
	color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
	outline: none;
	border-color: #38bdf8;
	box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

button {
	cursor: pointer;
	background: #1f2937;
	font-weight: 600;
	transition: border-color 0.15s ease, background 0.15s ease;
}

button:hover {
	border-color: #38bdf8;
	background: #273549;
}

.seo-content {
	margin-top: 14px;
	padding: 12px;
	border: 1px solid #334155;
	border-radius: 10px;
	background: #0b1220;
}

.seo-content h2 {
	margin: 0 0 8px;
	font-size: 1rem;
	color: #cbd5e1;
}

.seo-content h2 + p {
	margin-top: 0;
}

.seo-content p {
	margin: 6px 0;
	color: #9ca3af;
	line-height: 1.5;
}

@media (max-width: 920px) {
	.input-grid > * {
		grid-column: span 6;
	}
}

@media (max-width: 640px) {
	.app {
		padding: 18px;
	}

	h1 {
		font-size: 1.6rem;
	}

	.input-grid > * {
		grid-column: span 12;
	}

	textarea {
		min-height: 180px;
	}
}