/* The tranches company site: one quiet column. Colors and type come from the brand system the
   videos use. Dark only. */

@font-face {
	font-family: 'Rethink Sans';
	src: url('/fonts/RethinkSans-Variable.ttf') format('truetype');
	font-weight: 400 800;
	font-display: swap;
}

:root {
	--canvas: #0c0c0e;
	--line: #232328;
	--hi: #ececee;
	--med: #a4a4ab;
	--lo: #6e6e76;
	--plum: #b89bc1;
	color-scheme: dark;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	background: var(--canvas);
	color: var(--hi);
	font: 400 1.0625rem/1.65 'Rethink Sans', system-ui, sans-serif;
	-webkit-font-smoothing: antialiased;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s;
}
a:hover {
	color: var(--plum);
}

/* One column, left-aligned, with the same gutter at every width. */
.page {
	width: 100%;
	max-width: 40rem;
	padding-inline: 1rem;
	margin: 0 auto;
}
@media (min-width: 640px) {
	.page {
		padding-inline: 2rem;
	}
}

main {
	flex: 1;
	padding-top: clamp(3.5rem, 12vh, 8rem);
	padding-bottom: 5rem;
}

.logo {
	display: block;
	height: 1.25rem;
	width: auto;
}

h1 {
	margin-top: clamp(3rem, 9vh, 5rem);
	font-size: clamp(2.25rem, 6vw, 3.25rem);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.lede {
	margin-top: 1.5rem;
	color: var(--med);
	font-size: 1.125rem;
}

.list {
	margin-top: 3.5rem;
	list-style: none;
	border-top: 1px solid var(--line);
}
.list li {
	display: flex;
	gap: 1.25rem;
	padding: 1.125rem 0;
	border-bottom: 1px solid var(--line);
}
.list span {
	flex: none;
	width: 1.5rem;
	color: var(--lo);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	line-height: 1.9;
}
.list p {
	color: var(--med);
}
.list strong {
	color: var(--hi);
	font-weight: 500;
}

.contact {
	margin-top: 3.5rem;
	color: var(--lo);
	font-size: 0.875rem;
}
.contact a {
	color: var(--hi);
	font-size: 1.125rem;
}

footer {
	padding-bottom: 2.5rem;
	color: var(--lo);
	font-size: 0.8125rem;
}
footer .dot {
	margin: 0 0.5rem;
}
.fine {
	margin-top: 0.5rem;
	line-height: 1.55;
}

/* Long-form pages (privacy) */
.doc h1 {
	font-size: clamp(2rem, 5vw, 2.5rem);
}
.doc .updated {
	margin-top: 0.75rem;
	color: var(--lo);
	font-size: 0.875rem;
}
.doc h2 {
	margin-top: 2.5rem;
	font-size: 1.0625rem;
	font-weight: 600;
}
.doc p {
	margin-top: 0.75rem;
	color: var(--med);
}
.doc a {
	color: var(--hi);
	text-decoration: underline;
	text-decoration-color: var(--lo);
	text-underline-offset: 0.2em;
}
.doc .back {
	display: inline-block;
	margin-top: 3rem;
	text-decoration: none;
	color: var(--med);
	font-size: 0.9375rem;
}
