* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1c1b1f;
	background: #fafafa;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.constraint-img {
	width: 10vw;
}

.centered {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
}

.side-by-side {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

header a {
	display: flex;
	flex-direction: row;
	gap: 1em;
	align-items: center;
	justify-content: space-between;
}

a.nocolor {
	color: white;
	text-decoration: none;
}

a.nocolor:visited {
	color: white;
	text-decoration: none;
}

hr {
	margin-top: 1em;
	margin-bottom: 2em;
}

.top-bar {
	background: #673AB7;
	color: white;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.top-bar img {
	width: 40px;
	height: 40px;
	border-radius: 8px;
}

.top-bar h1 {
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: 0.2px;
}

main {
	flex: 1;
	max-width: 720px;
	width: 100%;
	margin: 0 auto;
	padding: 48px 24px;
}

main p {
	margin-bottom: 1.2em;
	line-height: 1.7;
}

main h2 {
	margin-top: 1.8em;
	margin-bottom: 0.6em;
}

main h3 {
	margin-top: 1.6em;
	margin-bottom: 0.5em;
}

main h4 {
	margin-top: 1.4em;
	margin-bottom: 0.4em;
}

main ul,
main ol {
	margin-bottom: 1.2em;
	padding-left: 1.5em;
}

main li {
	margin-bottom: 0.4em;
}

main blockquote {
	margin: 1.5em 0;
	padding: 0.8em 1.2em;
	background: #f0f0f0;
	border-left: 4px solid #673AB7;
}

.hero {
	text-align: center;
	margin-bottom: 40px;
}

.hero img {
	width: 128px;
	height: 128px;
	border-radius: 24px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	margin-bottom: 24px;
}

.hero h2 {
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 12px;
	color: #4527A0;
}

.tagline {
	font-size: 1.1rem;
	color: #555;
	margin-bottom: 8px;
}

.description {
	font-size: 1rem;
	line-height: 1.6;
	color: #333;
	margin-bottom: 32px;
}

.features {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 40px;
}

.features li {
	background: white;
	padding: 16px;
	border-radius: 12px;
	border-left: 4px solid #FFC107;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	font-size: 0.95rem;
}

.project-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.project-link img {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	flex-shrink: 0;
}

.project-link .project-tagline {
	color: #555;
	font-size: 0.9rem;
}

.cta {
	text-align: center;
	margin-bottom: 0.5em;
}

.play-button {
	display: inline-block;
	background: #673AB7;
	color: white;
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 500;
	padding: 14px 40px;
	border-radius: 28px;
	box-shadow: 0 4px 12px rgba(103, 58, 183, 0.4);
	transition: transform 0.15s, box-shadow 0.15s;
}

.play-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(103, 58, 183, 0.5);
}

.play-button:active {
	transform: translateY(0);
}

.img-button {
	display: inline-block;
	text-decoration: none;
	font-size: 1.2rem;
	font-weight: 500;
	box-shadow: 0 4px 12px rgba(103, 58, 183, 0.4);
	transition: transform 0.15s, box-shadow 0.15s;
}

.img-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(103, 58, 183, 0.5);
}

.img-button img {
	height: 55px;
	vertical-align: middle;
	object-fit: contain;
}

.bottom-bar {
	background: #FFC107;
	color: #1c1b1f;
	padding: 12px 24px;
	text-align: center;
	font-size: 0.85rem;
}

.bottom-bar a {
	color: #1c1b1f;
	text-decoration: none;
}

.bottom-bar a:hover {
	text-decoration: underline;
}

table.score-grid {
	border: 1px solid gray;
	border-collapse: collapse;
	width: 100%;
}

table.score-grid td {
	border: 1px solid gray;
	text-align: right;
	padding: 0.2em;
}
table.score-grid th {
	border: 1px solid gray;
}