:root {
	--bg: #0b0e14;
	--panel: #141821;
	--text: #e6e6eb;
	--muted: #9aa0b3;
	--accent: #22c55e;
	--border: #23283a;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;

	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* ---------- Header ---------- */

header {
	padding: 1.5rem 1rem;
	text-align: center;
	border-bottom: 1px solid var(--border);
}

header h1 {
	margin: 0;
	font-size: 1.8rem;
	letter-spacing: 0.5px;
}

header p {
	margin: 0.4rem 0 0;
	font-size: 0.9rem;
	color: var(--muted);
}

/* ---------- Main ---------- */

main {
	flex: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 1rem;
}

.card {
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}

.card h2 {
	margin: 0;
	font-size: 1.1rem;
	color: var(--accent);
}

/* ---------- Forms ---------- */

form {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

label {
	font-size: 0.8rem;
	color: var(--muted);
}

textarea,
input[type="text"] {
	background: #0f1320;
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 0.6rem;
	font-size: 0.9rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

textarea {
	resize: vertical;
}

textarea:focus,
input[type="text"]:focus {
	outline: none;
	border-color: var(--accent);
}

/* ---------- Buttons ---------- */

button {
	margin-top: 0.4rem;
	background: var(--accent);
	color: #04110a;
	border: none;
	border-radius: 8px;
	padding: 0.6rem;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

button:hover {
	filter: brightness(1.1);
}

/* ---------- Footer ---------- */

footer {
	border-top: 1px solid var(--border);
	padding: 0.7rem 1rem;
	text-align: center;
	font-size: 0.75rem;
	color: var(--muted);
}
