:root {
	color-scheme: light;
	font-family: 'Sora', 'Segoe UI', sans-serif;
	--bg: #ffffff;
	--card: #ffffff;
	--ink: #1f2a22;
	--accent: #1f9a4b;
	--muted: #4f6b5e;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
}

main {
    min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 24px;
}

.card {
	max-width: 560px;
	width: 100%;
	background: var(--card);
	border-radius: 5px;
	padding: 24px;
	border: none;
	text-align: center;
}

h1 {
	margin: 0 0 6px;
	font-size: 22px;
}

p {
	margin: 0 0 16px;
	line-height: 1.5;
	color: var(--muted);
}

.grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0 auto 16px;
	max-width: 320px;
	width: 100%;
}

.tile {
	background: #ffffff;
	border-radius: 5px;
	padding: 14px 16px;
	border: 1px solid #d6eadf;
	min-height: 76px;
	display: flex;
	flex-direction: column;
	font-weight: 600;
	font-size: 15px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	color: inherit;
}

.tile .icon {
	width: 30px;
	height: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--accent);
}

.tile .icon svg {
	width: 30px;
	height: 30px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tile.is-selected {
	border-color: var(--accent);
	background: #eef9f2;
}

.actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	justify-content: center;
}

.actions button {
	background: var(--accent);
	color: #ffffff;
	border: none;
	border-radius: 5px;
	padding: 12px 22px;
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hint {
	display: block;
	margin-top: 0;
	font-size: 12px;
	color: #c32626;
	text-align: center;
}

footer {
	width: calc(100% - 32px);
    max-width: 720px;
	margin: 24px auto 16px;
	font-size: 12px;
	color: var(--muted);
	line-height: 1.5;
	border-top: 1px solid #d6eadf;
	padding-top: 16px;
	background: var(--bg);
}

footer a {
	color: inherit;
	text-decoration: underline;
}

.legal-meta {
	margin-top: 12px;
	font-weight: 600;
	color: #2a3b52;
}

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

.legal-grid ul {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.legal-grid li {
	margin: 4px 0;
}

@media (min-width: 768px) {
	footer {
		position: fixed;
		left: 50%;
		bottom: 16px;
		transform: translateX(-50%);
		margin: 0;
	}
}

@media (max-width: 767px) {
	footer {
		position: static;
		transform: none;
		margin: 24px auto 24px;
	}
}
