@charset "UTF-8";

/*
 Style Sheet for Top Page

 Dottie
 https://www.gingerbeardman.com/apps/dottie/
*/

@import "common.css";

header {
	font-weight: 300;
	position: relative;
	block-size: 150px;
	border-block-end: 1px solid -apple-system-separator;
}
header img {
	position: absolute;
	inset-block-start: 0;
	inset-inline-end: 40px;
	inline-size: 128px;
}
header h1 {
	font-size: 34px;
	font-weight: 500;
	line-height: 1.4;
	margin-block: 0;
}
header p {
	font-size: 20px;
	margin-block: 0;
}
header p.version {
	font-size: 13px;
	opacity: 0.5;
	margin-block-start: 0.25rem;
}
header a.toc::before {
	display: inline-block;
	content: url(../gfx/toc.svg);
	vertical-align: -0.1em;
	padding-inline-end: 0.3rem;
}
header a.toc {
	display: inline-block;
	font-weight: 400;
	text-decoration-line: none;
	margin-block-start: 0.8rem;
}


/* topic */

main > section {
	padding-block: 1.5rem;
	border-block-end: solid 1px -apple-system-separator;
}
main > section:first-child {
	text-align: center;
}
main > section:first-child p {
	max-inline-size: 34em;
	margin-inline: auto;
	text-wrap: balance;
}
main > section:not(:first-child) {
	display: flex;
	flex-direction: row;
	gap: 2rem;
}
main > section:nth-child(odd) {
	flex-direction: row-reverse;
}

main > section h2 {
	font-weight: 500;
	font-size: 2rem;
	line-height: 1.3;
	margin-block: 0 1rem;
}
main > section:first-child h2 {
	font-size: 2.2rem;
}

section figure {
	margin: 0;
}
section figure img {
	border: 0.5px solid -apple-system-tertiary-label;
	border-radius: 0.3rem;
}

section ul {
	list-style-type: none;
	padding-inline-start: 0;
}
section ul li a::after {
	content: ' ›';
}
