/* Shared scenery for every public page except the landing.
   The landing is the only page with motion. Nothing here animates. */

:root {
	--ink: #1c1915;
	--ink-2: #241f1b;
	--ink-3: #2c2824;
	--accent: #3a6b66;
	--accent-hover: #2c5551;
	--accent-glow: rgba(58, 107, 102, 0.28);
	--accent-soft: rgba(58, 107, 102, 0.08);
	--paper: #fffaf5;
	--paper-2: #ffffff;
	--line: #e6dfd6;
	--line-2: #ddd4c8;
}

body {
	overflow-x: hidden;
	background-color: #fffaf5;
	background-image:
		url('/img/hero-bg.webp'), url('/img/path-bg-1.webp'),
		url('/img/path-bg-2.webp'), url('/img/path-bg-3.webp');
	background-repeat: no-repeat;
	background-position:
		center top,
		right -140px top 480px,
		left -160px top 1480px,
		right -100px top 2520px;
	background-size:
		min(1680px, 136vw) auto,
		540px auto,
		500px auto,
		560px auto;
}

h1,
h2,
h3,
h4 {
	font-family: 'Fraunces', 'Times New Roman', serif;
	font-optical-sizing: auto;
}

.logo {
	font-family:
		'Geist',
		'Inter',
		-apple-system,
		sans-serif;
}
.logo img {
	height: 40px;
	width: auto;
	display: block;
}

nav {
	background: rgba(255, 250, 245, 0.9);
}

.scene-balloon {
	position: absolute;
	z-index: 0;
	top: 84px;
	left: max(8px, calc(50% - 520px));
	width: 112px;
	height: auto;
	pointer-events: none;
}

main,
footer {
	position: relative;
	z-index: 1;
}

main.wrap::before {
	content: '';
	position: absolute;
	z-index: -1;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	pointer-events: none;
	background: #fffaf5;
}

.cta {
	background: transparent;
	color: var(--ink);
}

.cta h2 {
	color: var(--ink);
}

.cta p,
.cta .alt {
	color: var(--ink-2);
}

/* Same footer as the landing: the road is a picture band, and the
   logo, links, and copyright sit on paper under it. */
footer {
	margin-top: 48px;
	border-top: none;
	padding: 0 0 40px;
	background: #fffaf5;
	color: var(--ink);
}
.foot-scene {
	width: 100%;
	background: #fffaf5;
	line-height: 0;
}
.foot-scene img {
	width: 100%;
	height: auto;
	display: block;
}
.foot-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 36px 24px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}
.foot-left {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.foot-tag {
	font-size: 13px;
	color: var(--ink-3);
}
footer .foot-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 26px;
	font-size: 14px;
}
footer .foot-links a {
	color: var(--ink);
	text-decoration: none;
}
footer .foot-links a:hover {
	color: var(--ink);
}
.foot-copy,
.foot-disclose {
	width: 100%;
	font-size: 12.5px;
	color: var(--ink-3);
}
.foot-copy {
	margin-top: 18px;
}
.foot-disclose {
	margin-top: 8px;
}

@media (max-width: 720px) {
	.scene-balloon {
		width: 76px;
		top: 68px;
		left: 6px;
	}

	.foot-inner {
		justify-content: flex-start;
		align-items: flex-start;
		gap: 20px;
	}

	body {
		background-position:
			center top,
			right -80px top 640px,
			left -90px top 1600px,
			right -70px top 2600px;
		background-size:
			1100px auto,
			300px auto,
			280px auto,
			320px auto;
	}
}

/* Content is a section. A border around a heading, a market,
   a framework or a tool name is not a section. */
.card,
.stage,
.tile,
.toc,
.tool-card {
	border: none;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
}
.card,
.stage,
.tile,
.tool-card {
	border-top: 1px solid var(--line);
	padding: 22px 0;
}
.tile {
	text-decoration: none;
	display: block;
}
.tile:hover {
	border-color: var(--line);
	transform: none;
}
.toc {
	padding: 8px 0 0;
}
