/* Page frame: resets scoped to .px, the content width, section padding, section headings and the left spine. */
body {
	margin: 0;
	background: #0a0a0a;
}

.px * {
	box-sizing: border-box;
}

.px h1,
.px h2,
.px h3,
.px h4,
.px p,
.px figure,
.px blockquote,
.px ol,
.px ul {
	margin: 0;
}

.px ul,
.px ol {
	padding: 0;
	list-style: none;
}

.px a {
	color: inherit;
}

.px a:hover {
	color: inherit;
}

.px button {
	font-family: inherit;
	color: inherit;
}

.px [hidden] {
	display: none !important;
}

.px img {
	max-width: 100%;
}

.px .wrap {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
	position: relative;
}

.px .mono {
	font-family: 'IBM Plex Mono', ui-monospace, monospace;
}

.px .acc {
	color: var(--acc);
}

.px .light {
	background: #fff;
	color: #111;
}

.px .dark {
	background: var(--ink);
	color: #f1f1f1;
}

.px .sec {
	padding: 128px 0;
	position: relative;
}

.px .head {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 56px;
	align-items: end;
	margin-bottom: 52px;
}

.px h2 {
	font-size: 54px;
	line-height: 1.02;
	letter-spacing: -0.045em;
	font-weight: 800;
	margin-top: 18px;
}

.px .head p {
	font-size: 18px;
	line-height: 1.65;
}

.px .dark .head p {
	color: #adadad;
}

.px .light .head p {
	color: #5b5b5b;
}

.px .eyebrow {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	font-family: 'IBM Plex Mono', ui-monospace, monospace;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.px .dark .eyebrow {
	color: #bdbdbd;
}

.px .light .eyebrow {
	color: #4a4a4a;
}

.px .spine {
	position: relative;
}

.px .spine-fx {
	position: fixed;
	top: 0;
	left: 0;
	width: 64px;
	height: 100vh;
	pointer-events: none;
	z-index: 3;
	opacity: 0;
	transition: opacity 0.5s;
}

.px .spine-fx.on {
	opacity: 1;
}

.px .node {
	position: absolute;
	z-index: 4;
	left: -80px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	border-radius: 50%;
	background: #b9b9b9;
	box-shadow: 0 0 0 5px rgba(140, 140, 140, 0.14);
	transition: background 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
}

.px .node::after {
	content: "";
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1px solid var(--acc);
	opacity: 0;
}

.px .node.lit {
	background: var(--acc);
	box-shadow: 0 0 0 5px var(--acc-faint), 0 0 18px var(--acc-soft);
	transform: scale(1.15);
}

.px .node.lit::after {
	animation: ringonce 1s var(--ease);
}

.px .light .node {
	border: 2px solid #fff;
}

.px .dark .node {
	border: 2px solid var(--ink);
}

.px .dark .node:not(.lit) {
	background: #5a5a5a;
	box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.06);
}

/* #start (.trust) drops its bottom padding. Kept here, before the 960px .sec padding below, so that padding still wins at 960px and under, as it always has. */
.px .trust {
	padding-bottom: 0;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media (max-width: 1380px) {
	.px .spine-fx,
	.px .node {
		display: none;
	}
}

@media (max-width: 960px) {
	.px .wrap {
		padding-left: 16px;
		padding-right: 16px;
	}

	.px h2 {
		font-size: 34px;
	}

	.px .sec {
		padding: 84px 0;
	}

	.px .head {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	.px .spine {
		display: none;
	}
}

@keyframes ringonce {
	0% {
		opacity: 0.9;
		transform: scale(0.8);
	}

	100% {
		opacity: 0;
		transform: scale(2.6);
	}
}
