:root {
	--page-width: 1080px;
	--page-gutter: clamp(20px, 6vw, 96px);
	font-family: "Lato", Arial, sans-serif;
	font-synthesis: none;
	background: rgb(246, 239, 230);
	color: rgb(10, 9, 8);
}

* {
	box-sizing: border-box;
}

HTML,
BODY {
	min-width: 320px;
	min-height: 100%;
	margin: 0;
}

HTML {
	overflow-x: hidden;
}

BODY {
	min-height: 100vh;
	overflow-x: hidden;
	background: rgb(246, 239, 230);
	-webkit-font-smoothing: antialiased;
	text-rendering: geometricPrecision;
}

A {
	color: inherit;
}

.site-header {
	position: absolute;
	z-index: 5;
	top: clamp(18px, 2vw, 26px);
	left: clamp(18px, 2.4vw, 32px);
	pointer-events: none;
}

.site-mark {
	display: block;
	width: clamp(54px, 5.2vw, 88px);
	height: clamp(54px, 5.2vw, 88px);
	text-decoration: none;
	pointer-events: auto;
}

.site-mark IMG {
	display: block;
	width: 100%;
	height: 100%;
}

.hero {
	--hero-title-size: clamp(4rem, 12.8vw, 8rem);
	--hero-title-spacing: clamp(-0.18rem, -0.2vw, -0.09rem);
	--hero-lede-size: clamp(1rem, 2.15vw, 1.34rem);
	--hero-body-size: 1.16rem;
	--hero-lede-gap: clamp(30px, 3.4vw, 38px);
	--hero-body-gap: clamp(28px, 2.8vw, 30px);
	position: relative;
	display: grid;
	place-items: center;
	min-height: 100vh;
	padding: clamp(104px, 11vw, 128px) 24px clamp(88px, 10vw, 118px);
	isolation: isolate;
	overflow: hidden;
	text-align: center;
}

.hero::before {
	position: absolute;
	z-index: -3;
	inset: 0;
	background-image: url("/assets/background-square-large.png");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	content: "";
}

.hero::after {
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	bottom: 0;
	height: min(36vh, 520px);
	background: rgb(246, 239, 230);
	content: "";
	mask-image: url("/assets/cosine-gradient.png");
	mask-mode: luminance;
	mask-position: bottom;
	mask-repeat: repeat-x;
	mask-size: 100% 100%;
	pointer-events: none;
	-webkit-mask-image: url("/assets/cosine-gradient.png");
	-webkit-mask-mode: luminance;
	-webkit-mask-position: bottom;
	-webkit-mask-repeat: repeat-x;
	-webkit-mask-size: 100% 100%;
}

.hero-copy {
	position: relative;
	width: 100%;
	max-width: min(680px, calc(100vw - 32px));
	padding: 34px clamp(4px, 4vw, 40px) 38px;
}

.hero-copy::before {
	position: absolute;
	z-index: -1;
	inset: 2% -6% -3%;
	background: radial-gradient(closest-side, rgba(246, 239, 230, 0.84), rgba(246, 239, 230, 0.48) 64%, rgba(246, 239, 230, 0) 100%);
	border-radius: 50%;
	content: "";
	filter: blur(28px);
	transform: scaleX(0.92);
}

.hero H1 {
	position: relative;
	display: inline-block;
	margin: 0;
	font-family: "STIX Two Text", Georgia, serif;
	font-size: var(--hero-title-size);
	font-weight: 500;
	letter-spacing: var(--hero-title-spacing);
	line-height: 0.82;
}

.hero H1 SMALL {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.02em;
	margin: 0;
	font-family: "Lato", Arial, sans-serif;
	font-size: 0.095em;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1;
	text-align: center;
	text-indent: 15.4em;
}

.hero-lede {
	max-width: min(620px, 100%);
	margin: var(--hero-lede-gap) auto 0;
	font-size: var(--hero-lede-size);
	line-height: 1.56;
}

.hero-lede SPAN {
	display: block;
}

.hero-body {
	margin: var(--hero-body-gap) auto 0;
	font-size: var(--hero-body-size);
	line-height: 1.54;
	max-width: min(22rem, 100%);
}

.hero-button {
	min-width: 13rem;
	margin-top: 34px;
}

.content-section {
	position: relative;
	display: grid;
	grid-template-rows: auto auto;
	align-content: center;
	gap: clamp(42px, 6vw, 78px);
	width: 100%;
	overflow: hidden;
	padding: clamp(88px, 10vw, 150px) 0;
	background: rgb(246, 239, 230);
}

.content-section--split {
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
	grid-template-rows: auto;
	align-items: center;
	width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
	margin: 0 auto;
	column-gap: clamp(42px, 7vw, 96px);
}

.content-section--quiet {
	background: rgb(246, 239, 230);
}

.content-section--cta {
	padding-bottom: clamp(104px, 12vw, 180px);
}

.section-copy {
	width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
	margin: 0 auto;
	min-width: 0;
}

.content-section--split .section-copy {
	width: auto;
	margin: 0;
}

.section-copy--narrow {
	max-width: 840px;
}

.section-copy H2 {
	margin: 0;
	font-family: "STIX Two Text", Georgia, serif;
	font-size: clamp(3rem, 6.2vw, 6rem);
	font-weight: 500;
	letter-spacing: -0.1rem;
	line-height: 1.1;
	text-wrap: balance;
}

.section-copy P {
	max-width: 780px;
	margin: 20px 0 0;
	color: rgb(83, 77, 71);
	font-size: clamp(1.08rem, 2vw, 1.55rem);
	line-height: 1.42;
}

.section-copy--narrow P {
	max-width: 760px;
}

.criticality-stack {
	position: relative;
	display: grid;
	gap: 14px;
	min-width: 0;
	padding: 18px;
	border: 1px solid rgba(76, 66, 58, 0.14);
	background: rgba(255, 255, 255, 0.34);
	box-shadow: 0 28px 70px rgba(72, 58, 48, 0.09);
}

.criticality-stack::before {
	position: absolute;
	inset: 22px;
	border: 1px solid rgba(76, 66, 58, 0.12);
	content: "";
	pointer-events: none;
}

.criticality-layer {
	position: relative;
	display: grid;
	gap: 7px;
	min-height: 82px;
	padding: 20px 22px;
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(76, 66, 58, 0.14);
}

.criticality-layer::after {
	position: absolute;
	top: 50%;
	right: 20px;
	width: 28px;
	height: 1px;
	background: rgba(76, 66, 58, 0.28);
	content: "";
}

.criticality-layer SPAN {
	color: rgb(102, 93, 84);
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

.criticality-layer STRONG {
	font-family: "STIX Two Text", Georgia, serif;
	font-size: clamp(1.55rem, 2.6vw, 2.25rem);
	font-weight: 500;
	line-height: 1;
}

.criticality-layer--core {
	background: rgb(255, 252, 247);
}

.criticality-layer--logic {
	margin-left: 22px;
	background: rgba(255, 252, 247, 0.76);
}

.criticality-layer--details {
	margin-left: 44px;
	background: rgba(255, 252, 247, 0.56);
}

.criticality-layer--surface {
	margin-left: 66px;
	background: rgba(255, 252, 247, 0.38);
}

.cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.text-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	background: rgb(39, 32, 28);
	border: 1px solid rgb(39, 32, 28);
	color: rgb(255, 252, 247);
	font-weight: 700;
	text-decoration: none;
	transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.text-button:hover {
	transform: translateY(-1px);
}

.text-button--secondary {
	background: transparent;
	color: rgb(39, 32, 28);
}

.text-button--secondary:hover {
	background: rgba(39, 32, 28, 0.06);
}

.first-carousel {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	min-width: 0;
	font-size: clamp(1rem, 1.35vw, 1.2rem);
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.first-carousel::-webkit-scrollbar {
	display: none;
}

.first-carousel__container {
	display: flex;
	align-items: stretch;
	gap: 24px;
	width: max-content;
	padding-inline: max(var(--page-gutter), calc((100vw - var(--page-width)) / 2));
}

.first-carousel__slide {
	flex: 0 0 auto;
	width: min(76vw, 760px);
}

.code-window {
	overflow: hidden;
	width: 100%;
	min-height: clamp(330px, 38vw, 430px);
	background: hsl(0 0% 100%);
	border: 1px solid rgba(76, 66, 58, 0.16);
	border-radius: 8px;
	box-shadow: 0 18px 54px rgba(72, 58, 48, 0.08);
}

.code-window__bar {
	position: relative;
	display: grid;
	align-items: center;
	min-height: 42px;
	background: hsl(35 14% 93%);
	border-bottom: 1px solid rgba(76, 66, 58, 0.1);
}

.code-window__bar P {
	margin: 0;
	color: rgb(93, 88, 83);
	font-size: 0.9rem;
	line-height: 1;
	text-align: center;
}

.code-window__lights {
	position: absolute;
	left: 18px;
	display: flex;
	gap: 8px;
}

.code-window__lights SPAN {
	width: 10px;
	height: 10px;
	background: rgb(211, 207, 201);
	border-radius: 50%;
}

.code-window PRE {
	margin: 0;
	padding: clamp(28px, 4vw, 44px);
	overflow-x: auto;
	color: rgb(35, 32, 30);
	font-family: inherit;
	font-size: inherit;
	line-height: 1.46;
	white-space: pre;
	max-width: 100%;
}

.code-window CODE {
	font-family: inherit;
	font-size: inherit;
}

.code-window .first-code-example {
	display: grid;
	grid-template-rows: 1fr auto;
	min-height: calc(clamp(330px, 38vw, 430px) - 43px);
	margin: 0;
}

.code-window .first-code-panels {
	overflow: auto;
}

.code-window .first-code-panels PRE {
	max-width: none;
	border: 0;
}

.code-window .first-code-tokenized {
	min-width: max-content;
	padding: clamp(28px, 4vw, 44px);
}

.code-window .first-code-tokenized .root {
	padding: 0;
	background: transparent;
	font-size: inherit;
}

.code-window .first-code-toggle {
	display: flex;
	justify-content: flex-end;
	gap: 18px;
	padding: 0 clamp(28px, 4vw, 44px) 20px;
}

.code-window .first-code-toggle-option {
	padding: 0;
	background: transparent;
	border: 0;
	color: rgb(170, 166, 160);
	cursor: pointer;
	font: inherit;
	font-size: 0.66rem;
	letter-spacing: 0;
}

.code-window .first-code-toggle-option.is-active {
	color: rgb(35, 32, 30);
}

.code-window .first-code-toggle-option:disabled {
	cursor: default;
	opacity: 0.42;
}

@media (max-width: 58rem) {
	
	.content-section {
		--page-gutter: 20px;
	}

	.content-section--split {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
		row-gap: 42px;
	}

	.content-section--split .section-copy {
		width: min(calc(100% - (var(--page-gutter) * 2)), var(--page-width));
		margin: 0 auto;
	}

	.section-copy {
		text-align: center;
	}

	.section-copy P {
		margin-inline: auto;
	}

	.code-window {
		min-height: 330px;
	}

	.code-window PRE {
		font-size: inherit;
	}

	.criticality-stack {
		width: min(calc(100% - (var(--page-gutter) * 2)), 560px);
		margin: 0 auto;
		text-align: left;
	}

	.cta-actions {
		justify-content: center;
	}
}

@media (min-width: 58.001rem) and (max-width: 72rem) {
	.content-section {
		--page-gutter: 24px;
	}

	.section-copy H2 {
		font-size: clamp(3.4rem, 6vw, 4.8rem);
	}

	.code-window PRE {
		font-size: inherit;
	}
}

@media (max-width: 35rem) {
	.site-mark {
		width: 52px;
		height: 52px;
	}

	.hero {
		--hero-body-size: 0.94rem;
		padding: 104px 16px 88px;
	}

	.hero-copy {
		width: calc(100vw - 32px);
		max-width: none;
		padding-inline: 4px;
	}

	.hero-copy::before {
		inset: 13% -18% 5%;
	}

	.hero H1 {
		margin-bottom: 0;
	}

	.hero-lede {
		max-width: 270px;
		line-height: 1.52;
	}

	.hero-body {
		max-width: 270px;
		line-height: 1.5;
	}

	.hero-button {
		width: min(100%, 270px);
		min-width: 0;
	}

	.content-section {
		gap: 34px;
		--page-gutter: 14px;
		padding-block: 76px 84px;
	}

	.section-copy H2 {
		font-size: clamp(2.7rem, 15vw, 4rem);
	}

	.section-copy P {
		font-size: 1rem;
	}

	.criticality-stack {
		padding: 12px;
	}

	.criticality-stack::before {
		inset: 16px;
	}

	.criticality-layer {
		min-height: 72px;
		padding: 16px 18px;
	}

	.criticality-layer::after {
		width: 18px;
		right: 14px;
	}

	.criticality-layer--logic {
		margin-left: 12px;
	}

	.criticality-layer--details {
		margin-left: 24px;
	}

	.criticality-layer--surface {
		margin-left: 36px;
	}

	.cta-actions {
		display: grid;
	}

	.text-button {
		width: 100%;
	}

	.text-button.hero-button {
		width: min(100%, 270px);
	}

	.code-window {
		min-height: 300px;
	}

	.first-carousel__slide {
		width: min(86vw, 420px);
	}

	.code-window__bar {
		min-height: 38px;
	}

	.code-window__bar P {
		font-size: 0.78rem;
	}

	.code-window__lights {
		left: 14px;
		gap: 6px;
	}

	.code-window__lights SPAN {
		width: 8px;
		height: 8px;
	}

	.code-window PRE {
		padding: 22px 20px;
		font-size: inherit;
	}
}
