:root {
	--bg: #101c33;
	--bg-soft: #172a4a;
	--panel: #1c3358;
	--monster: #2f7fe0;
	--monster-dark: #1d5eb0;
	--cookie: #d29a5b;
	--cookie-dark: #b0763a;
	--cream: #f7f1e6;
	--cream-dim: #cfd6e4;
	--white: #ffffff;
	--shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.6;
	color: var(--cream);
	background: radial-gradient(circle at 50% -10%, #1d3a63 0%, var(--bg) 60%);
	min-height: 100vh;
}

a {
	color: var(--cookie);
}

header {
	display: block;
	margin: 0 auto;
	padding: 3rem 0 4rem;
	max-width: 1000px;
	text-align: center;
}

header > a {
	display: inline-block;
	position: relative;
	text-decoration: none;
	color: var(--cream);
}

header > a span:nth-of-type(1) {
	display: block;
	margin: 0;
	position: absolute;
	top: 0px;
	right: auto;
	bottom: auto;
	left: 0px;
	font-size: 3.5rem;
}

header > a span:nth-of-type(2) {
	display: block;
	margin: 0 0 0 80px;
	font-size: 2rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	color: var(--cream);
}

header > a span:nth-of-type(3) {
	display: block;
	margin: 0 0 0 80px;
	font-size: 1rem;
	letter-spacing: 0.02em;
	color: var(--cream-dim);
}

main {
	width: min(1080px, 92vw);
	margin: 0 auto;
}

main > section {
	display: block;
	margin: 0 auto;
	padding: 3rem 0 4rem;
	max-width: 1000px;
	text-align: center;
}

main > section h1 {
	margin: 1.5rem 0 0.75rem 0;
	font-size: clamp(2.25rem, 6vw, 4rem);
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.01em;
}

main > section h2 {
	margin: 1.5rem 0 0 0;
	font-size: clamp(1.5rem, 3.5vw, 2rem);
	font-weight: 800;
	text-align: center;
}

section > p {
	margin: 2rem auto;
	max-width: 60ch;
	text-align: center;
	font-size: clamp(1rem, 2.5vw, 1.25rem);
	color: var(--cream-dim);
}

section article h3 {
	margin: 0 0 0.5rem 0;
	font-size: 1.15rem;
	color: var(--cookie);
}

section article h4 {
	margin: 0.5rem 0 0.25rem;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cream-dim);
}

section > article code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 0.9em;
	color: var(--cream);
	background: rgba(0, 0, 0, 0.3);
	padding: 0.1em 0.4em;
	border-radius: 6px;
}

footer {
	padding: 1.5rem 1rem 2.5rem;
	text-align: center;
	color: var(--cream-dim);
	font-size: 0.9rem;
}



/* sections */
#hero-monster {
	display: flex;
	justify-content: center;
}

#hero-monster img {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	box-shadow: var(--shadow);
}

#features {
	max-width: 1072px;
}

#features-grid {
	display: grid;
	padding-top: 3rem;
	grid-template-columns: repeat(auto-fit, 256px);
	gap: 16px;
}

#features-grid article {
	display: block;
	margin: 0;
	padding: 1.5rem;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	background: var(--panel);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

#features-grid article p {
	margin: 0;
	color: var(--cream-dim);
	text-align: left;
}

#usage-list {
	display: block;
}

#usage-list article {
	display: block;
	margin: 16px 0;
	padding: 1.5rem;
	text-align: left;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	background: var(--panel);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

#usage-list article h3 {
	margin-top: 0;
	text-align: left;
}

#usage-list article h3 > span {
	display: inline-block;
	width: 2.5rem;
	height: 2.5rem;
	line-height: 2.5rem;
	margin: 0 0.5rem 0 0;
	font-weight: 800;
	text-align: center;
	vertical-align: middle;
	color: #241503;
	background: var(--cookie);
	border-radius: 50%;
}

#usage-list article > pre {
	margin: 0.75rem 0;
	padding: 0.9rem 1rem;
	background: #0a1424;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	overflow-x: auto;
	white-space: pre;
}

#usage-list article > pre code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 0.9rem;
	color: var(--cream);
	background: transparent;
	padding: 0;
}

#usage-list article > p code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
	font-size: 0.9em;
	color: var(--cream);
	background: rgba(0, 0, 0, 0.3);
	padding: 0.25em 0.5em;
	border-radius: 6px;
}

.button {
	display: inline-block;
	padding: 0.9rem 2rem;
	font-size: 1.1rem;
	font-weight: 800;
	color: #241503;
	background: var(--cookie);
	border-radius: 999px;
	text-decoration: none;
	box-shadow: 0 6px 0 var(--cookie-dark), 0 16px 30px rgba(0, 0, 0, 0.3);
	transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.button:hover {
	transform: translateY(2px);
	box-shadow: 0 4px 0 var(--cookie-dark), 0 12px 24px rgba(0, 0, 0, 0.3);
}

.button:active {
	transform: translateY(6px);
	box-shadow: 0 0 0 var(--cookie-dark), 0 8px 18px rgba(0, 0, 0, 0.3);
}

@media (prefers-reduced-motion: reduce) {
	.button {
		transition: none;
	}
}
