/* ==========================================================================
   CS Software — site styles
   1. Tokens  2. Base  3. Layout  4. Components  5. Header & footer
   6. Home  7. App page  8. Documents  9. Utilities
   Brand: Ink #1C2436 · Touch #E1603A (the only colour) · Bone #F4F1EA
          Paper #FAFAF9 · Night #111214 · DM Sans
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
	color-scheme: light;

	--ink: #1c2436;
	--ink-muted: #5e6474;
	--accent: #e1603a;
	--accent-text: #be4824;
	--bone: #f4f1ea;
	--bone-muted: #a29f98;
	--paper: #fafaf9;
	--night: #111214;
	--night-surface: #1a1b1f;

	--bg: var(--paper);
	--surface: var(--bone);
	--text: var(--ink);
	--text-muted: var(--ink-muted);
	--link: var(--accent-text);
	--rule: rgb(28 36 54 / 0.14);
	--rule-strong: var(--ink);
	--btn-bg: var(--ink);
	--btn-fg: var(--paper);
	--btn-bg-hover: #2b3550;
	--device: #0e0f11;
	--device-edge: transparent;
	--shadow-device:
		0 40px 80px -40px rgb(28 36 54 / 0.45),
		0 12px 24px -12px rgb(28 36 54 / 0.25);

	--font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1.0625rem;
	--fs-md: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem);
	--fs-rail: 1.375rem;
	--fs-lede: clamp(1.1875rem, 1.05rem + 0.6vw, 1.4375rem);
	--fs-statement: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
	--fs-display: clamp(2.25rem, 1.4rem + 3.2vw, 3.75rem);
	--fs-title: clamp(2.75rem, 1.4rem + 5vw, 5.25rem);
	--fs-hero: clamp(2.5rem, 0.75rem + 7.6vw, 7.5rem);

	--gutter: clamp(1.25rem, 5vw, 3rem);
	--max: 76rem;
	--col-gap: clamp(1rem, 2vw, 1.5rem);
	--space-section: clamp(3.5rem, 2.5rem + 4.5vw, 7rem);
	--measure: 34rem;
	--radius: 0.75rem;
	--radius-lg: 1.25rem;
}

@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;

		--bg: var(--night);
		--surface: var(--night-surface);
		--text: var(--bone);
		--text-muted: var(--bone-muted);
		--link: var(--accent);
		--rule: rgb(244 241 234 / 0.14);
		--rule-strong: var(--bone);
		--btn-bg: var(--bone);
		--btn-fg: var(--night);
		--btn-bg-hover: #ffffff;
		--device: #000000;
		--device-edge: rgb(244 241 234 / 0.14);
		--shadow-device: 0 40px 80px -40px rgb(0 0 0 / 0.8);
	}
}

/* 2. Base ----------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.6;
	letter-spacing: -0.01em;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
	margin: 0;
}
h2,
h3,
h4 {
	text-wrap: balance;
}
p,
li,
dd,
figcaption,
summary {
	text-wrap: pretty;
}
img,
svg {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}
/* Embedded third-party documents (ads, chat) are light. Matching their colour
   scheme stops browsers painting an opaque backdrop behind them in dark mode. */
iframe {
	color-scheme: light;
}
a {
	color: var(--link);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}
a:hover {
	text-decoration-thickness: 2px;
}
:where(a, button, summary):focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}
.btn:focus-visible {
	border-radius: 999px;
}
::selection {
	background: var(--accent);
	color: var(--night);
}
[id] {
	scroll-margin-top: 1rem;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* 3. Layout --------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* A section is a hairline, a rail (number + H2) and a body.
   The rail sits to the left on wide screens. */
.section {
	padding-top: var(--space-section);
}
.section__grid {
	display: grid;
	gap: 1.75rem var(--col-gap);
	border-top: 1px solid var(--rule);
	padding-top: 1.25rem;
}
.rail {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
}
.rail__num {
	font-size: var(--fs-xs);
	font-weight: 500;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}
.rail__title {
	font-size: var(--fs-rail);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
}
@media (min-width: 60em) {
	.section__grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		padding-top: 1.5rem;
	}
	.rail {
		grid-column: 1 / 4;
		flex-direction: column;
		gap: 0.375rem;
		position: sticky;
		top: 1.5rem;
		align-self: start;
	}
	.section__body {
		grid-column: 4 / 13;
	}
}

/* 4. Components ----------------------------------------------------------- */
.skip-link {
	position: absolute;
	left: var(--gutter);
	top: -100px;
	z-index: 10;
	background: var(--btn-bg);
	color: var(--btn-fg);
	padding: 0.75rem 1rem;
	border-radius: var(--radius);
	font-weight: 600;
	text-decoration: none;
}
.skip-link:focus {
	top: 0.75rem;
}

/* Logo: CS │ SOFTWARE as one inline SVG in the text colour. */
.lockup {
	display: inline-flex;
	color: var(--text);
	flex: none;
}
.lockup .logo {
	height: 1.625rem;
	width: auto;
	fill: currentColor;
}
.logo__rule {
	fill-opacity: 0.3;
}
@media (min-width: 25em) {
	.site-header .logo {
		height: 1.875rem;
	}
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3rem;
	padding: 0 1.375rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-size: var(--fs-sm);
	font-weight: 600;
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		box-shadow 0.15s ease;
}
.btn--primary {
	background: var(--btn-bg);
	color: var(--btn-fg);
}
.btn--primary:hover {
	background: var(--btn-bg-hover);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text);
	font-weight: 600;
	font-size: var(--fs-sm);
	letter-spacing: 0;
	text-decoration: none;
	padding-block: 0.75rem;
}
.text-link__label {
	text-decoration: underline;
	text-decoration-color: var(--rule);
	text-underline-offset: 0.3em;
	text-decoration-thickness: 1px;
}
.text-link:hover .text-link__label {
	text-decoration-color: currentColor;
}
.text-link .icon {
	transition: transform 0.2s ease;
}
.text-link:hover .icon {
	transform: translateX(3px);
}
.text-link--down:hover .icon {
	transform: translateY(3px);
}

.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1.75rem;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--text-muted);
	letter-spacing: 0;
}
.touch-dot {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--accent);
	flex: none;
}
.touch-dot--ring {
	background: none;
	box-shadow: inset 0 0 0 1.5px currentColor;
	width: 0.625rem;
	height: 0.625rem;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	list-style: none;
}
.chips li {
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: 0.01em;
	line-height: 1;
	padding: 0.5rem 0.75rem;
	border-radius: 999px;
	border: 1px solid var(--rule);
	color: var(--text);
}

.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem 0.625rem;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}
.meta__sep {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: currentColor;
}

.soon {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}

.subhead {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.prose {
	max-width: var(--measure);
	color: var(--text-muted);
}

.statement {
	font-size: var(--fs-statement);
	line-height: 1.3;
	font-weight: 400;
	letter-spacing: -0.022em;
	max-width: 21em;
	text-wrap: balance;
}
.statement__quiet {
	color: var(--text-muted);
}

.app-icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 0.875rem;
	box-shadow: 0 0 0 1px var(--rule);
}

/* Phone: a device frame around a screenshot, on a Bone plate. */
.plate {
	background: var(--surface);
	border-radius: var(--radius-lg);
	padding: clamp(2rem, 1rem + 4vw, 3.5rem) clamp(1.5rem, 1rem + 3vw, 3rem);
	display: grid;
	place-items: center;
	overflow: hidden;
}
.device {
	width: min(100%, 14rem);
	padding: 0.5rem;
	border-radius: 2.5rem;
	background: var(--device);
	box-shadow:
		0 0 0 1px var(--device-edge),
		var(--shadow-device);
}
.device img {
	border-radius: 2rem;
	width: 100%;
	aspect-ratio: 9 / 20;
	object-fit: cover;
	background: #242424;
}
.device--sm {
	padding: 0.3125rem;
	border-radius: 1.625rem;
}
.device--sm img {
	border-radius: 1.3125rem;
}
figcaption {
	margin-top: 0.875rem;
	font-size: var(--fs-xs);
	color: var(--text-muted);
	line-height: 1.5;
}
figcaption b {
	color: var(--text);
	font-weight: 600;
}

/* Modes: glyph, name, description. Persimmon marks the person picked. */
.modes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule);
}
.mode {
	padding: 1.25rem 1rem 1.25rem 0;
	border-bottom: 1px solid var(--rule);
}
.mode:nth-child(even) {
	padding-left: 1.25rem;
	padding-right: 0;
	border-left: 1px solid var(--rule);
}
.mode svg {
	width: 3rem;
	height: 1.75rem;
	color: var(--text);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.mode svg .fill {
	fill: currentColor;
}
.mode svg .pick {
	fill: var(--accent);
	stroke: var(--accent);
}
.mode h3,
.mode h4 {
	margin-top: 0.875rem;
	font-size: var(--fs-base);
	font-weight: 600;
	letter-spacing: -0.005em;
	line-height: 1.4;
}
.mode p {
	margin-top: 0.125rem;
	font-size: var(--fs-sm);
	color: var(--text-muted);
	line-height: 1.5;
}
.footnote {
	margin-top: 0.875rem;
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

/* FAQ */
.faq {
	border-top: 1px solid var(--rule);
}
@media (min-width: 60em) {
	.faq {
		border-top: 0;
		margin-top: -0.5rem;
	}
}
.faq details {
	border-bottom: 1px solid var(--rule);
}
.faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding-block: 1.125rem;
	cursor: pointer;
	list-style: none;
	font-weight: 500;
	font-size: var(--fs-base);
	letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary .icon {
	color: var(--text-muted);
	transition: transform 0.2s ease;
}
.faq details[open] summary .icon {
	transform: rotate(45deg);
}
.faq details p {
	padding-bottom: 1.25rem;
	color: var(--text-muted);
	max-width: 38rem;
	font-size: var(--fs-sm);
	line-height: 1.65;
}

/* Breadcrumbs */
.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	list-style: none;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}
.crumbs li + li::before {
	content: "/";
	margin-right: 0.5rem;
	opacity: 0.6;
}
.crumbs a {
	color: var(--text-muted);
	text-decoration: none;
}
.crumbs a:hover {
	color: var(--text);
	text-decoration: underline;
}

/* Contact */
.contact__email {
	display: inline-block;
	margin-top: 2rem;
	font-size: clamp(1.25rem, 0.9rem + 1.8vw, 2.25rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.3;
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.25em;
	overflow-wrap: anywhere;
}
.contact__email:hover {
	text-decoration-thickness: 3px;
}
.support {
	margin-top: 2rem;
	color: var(--text-muted);
	font-size: var(--fs-sm);
	max-width: var(--measure);
}

/* 5. Header & footer ------------------------------------------------------ */
.site-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 4.5rem;
	border-bottom: 1px solid var(--rule);
}
@media (max-width: 22.4375em) {
	.site-header__bar {
		flex-wrap: wrap;
		column-gap: 1rem;
		row-gap: 0;
		padding-block: 0.5rem;
	}
}
.nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2rem);
}
.nav ul {
	display: flex;
	gap: clamp(0.875rem, 3vw, 2rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav a {
	color: var(--text);
	text-decoration: none;
	font-size: var(--fs-sm);
	font-weight: 500;
	letter-spacing: 0;
	padding-block: 0.75rem;
}
.nav a:hover {
	text-decoration: underline;
	text-underline-offset: 0.35em;
	text-decoration-thickness: 1px;
}
.nav a.nav__support {
	display: none;
	position: relative;
	color: var(--text-muted);
	padding-left: clamp(1rem, 3vw, 2rem);
}
.nav__support::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	height: 1.125rem;
	margin-top: -0.5625rem;
	border-left: 1px solid var(--rule);
}
@media (min-width: 48em) {
	.nav a.nav__support {
		display: inline-block;
	}
}

.site-footer {
	margin-top: var(--space-section);
	padding-bottom: 3rem;
}
/* The homepage chat bubble and tooltip are fixed to the bottom corner. */
body:has(#dh-webchat-bubble-iframe) .site-footer {
	padding-bottom: 20rem;
}
.site-footer__grid {
	border-top: 1px solid var(--rule);
	padding-top: 2rem;
	display: grid;
	gap: 1.5rem;
}
@media (min-width: 45em) {
	.site-footer__grid {
		grid-template-columns: 1fr auto;
		align-items: start;
	}
}
.site-footer .logo {
	height: 1.5rem;
}
.site-footer__tagline {
	margin-top: 0.75rem;
	font-size: var(--fs-sm);
	color: var(--text-muted);
}
.site-footer ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer ul a {
	color: var(--text);
	text-decoration: none;
	font-size: var(--fs-sm);
	display: inline-block;
	padding-block: 0.375rem;
}
.site-footer ul a:hover {
	text-decoration: underline;
	text-underline-offset: 0.3em;
}
.site-footer__copy {
	grid-column: 1 / -1;
	margin-top: 1rem;
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

/* 6. Home ----------------------------------------------------------------- */
.hero {
	padding-top: clamp(4rem, 2rem + 8vw, 9.5rem);
}
.hero h1 {
	margin-top: clamp(1.25rem, 1rem + 1vw, 2rem);
	font-size: var(--fs-hero);
	font-weight: 500;
	line-height: 0.98;
	letter-spacing: -0.04em;
	max-width: 14ch;
	text-wrap: balance;
}
.stop {
	color: var(--accent);
}
.hero .lede {
	margin-top: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
	max-width: var(--measure);
	font-size: var(--fs-lede);
	line-height: 1.5;
	color: var(--text-muted);
	letter-spacing: -0.012em;
}
.hero .actions {
	margin-top: 2.25rem;
}
.hero .meta {
	margin-top: 1.25rem;
}

/* App feature: intro, figure, detail. The figure sits between them on small
   screens and to the right (sticky) on wide ones. */
.feature {
	display: grid;
	gap: 2.5rem var(--col-gap);
}
@media (min-width: 48em) {
	.feature {
		grid-template-columns: repeat(9, minmax(0, 1fr));
		grid-template-rows: auto 1fr;
		row-gap: 0;
	}
	.feature__intro,
	.feature__detail {
		grid-column: 1 / 6;
	}
	.feature__intro {
		grid-row: 1;
	}
	.feature__detail {
		grid-row: 2;
		padding-top: 3rem;
	}
	.feature__figure {
		grid-column: 6 / 10;
		grid-row: 1 / 3;
		position: sticky;
		top: 1.5rem;
		align-self: start;
	}
}
@media (min-width: 72em) {
	.feature__figure .device {
		width: min(100%, 17.5rem);
	}
}
.feature__head {
	display: flex;
	align-items: center;
	gap: 0.875rem;
}
.feature__kicker {
	font-size: var(--fs-sm);
	color: var(--text-muted);
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1.35;
}
.feature__kicker strong {
	display: block;
	color: var(--text);
	font-weight: 600;
}
.feature h3 {
	margin-top: 1.75rem;
	font-size: var(--fs-display);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.035em;
}
.feature .dek {
	margin-top: 1rem;
	font-size: var(--fs-md);
	line-height: 1.45;
	letter-spacing: -0.012em;
	max-width: 30rem;
}
.feature .chips {
	margin-top: 1.5rem;
}
.feature .prose {
	margin-top: 1.5rem;
	max-width: 32rem;
}
.feature .actions {
	margin-top: 2rem;
}
.feature .soon {
	margin-top: 1rem;
}
.feature__detail .modes {
	margin-top: 1rem;
}

.principles {
	display: grid;
	gap: 2rem var(--col-gap);
	margin-top: 1rem;
	padding: 0;
	list-style: none;
}
@media (min-width: 45em) {
	.principles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.principles h3 {
	font-size: var(--fs-md);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
}
.principles p {
	margin-top: 0.5rem;
	color: var(--text-muted);
	line-height: 1.6;
	max-width: 22rem;
}
.about .subhead {
	margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}

/* 7. App page ------------------------------------------------------------- */
.page-hero {
	padding-top: clamp(2rem, 1rem + 4vw, 4rem);
}
.app-hero {
	display: grid;
	gap: 3rem var(--col-gap);
	margin-top: clamp(2rem, 1rem + 4vw, 4.5rem);
}
@media (min-width: 56em) {
	.app-hero {
		grid-template-columns: repeat(12, minmax(0, 1fr));
		align-items: center;
	}
	.app-hero__text {
		grid-column: 1 / 7;
	}
	.app-hero__figure {
		grid-column: 7 / 13;
	}
}
.app-hero .app-icon {
	width: 4.5rem;
	height: 4.5rem;
	border-radius: 1.125rem;
}
.app-hero h1 {
	margin-top: 1.75rem;
	font-size: var(--fs-title);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
}
.app-hero .lede {
	margin-top: 1.5rem;
	max-width: var(--measure);
	font-size: var(--fs-lede);
	line-height: 1.5;
	color: var(--text-muted);
	letter-spacing: -0.012em;
}
.app-hero .chips {
	margin-top: 1.75rem;
}
.app-hero .actions {
	margin-top: 2rem;
}
.app-hero .soon {
	margin-top: 1rem;
}
.duo {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: clamp(0.75rem, 3vw, 1.75rem);
}
.duo figure {
	width: min(46%, 14rem);
}
.duo figure:last-child {
	margin-top: clamp(1.5rem, 4vw, 3rem);
}
.duo .device {
	width: 100%;
}

.steps {
	display: grid;
	gap: 1.75rem var(--col-gap);
	padding: 0;
	list-style: none;
	counter-reset: step;
}
@media (min-width: 45em) {
	.steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
.steps li {
	counter-increment: step;
	border-top: 1px solid var(--rule);
	padding-top: 1rem;
}
.steps li::before {
	content: "Step " counter(step);
	display: block;
	font-size: var(--fs-xs);
	font-weight: 500;
	color: var(--text-muted);
	font-variant-numeric: tabular-nums;
}
.steps h3 {
	margin-top: 0.75rem;
	font-size: var(--fs-md);
	font-weight: 600;
	letter-spacing: -0.015em;
	line-height: 1.3;
}
.steps p {
	margin-top: 0.5rem;
	color: var(--text-muted);
	max-width: 22rem;
}

/* On wide screens the section hairline already sits above these lists,
   so they drop their own top rule and align with the rail. */
@media (min-width: 60em) {
	.section__body > .steps li {
		border-top: 0;
		padding-top: 0;
	}
	.section__body > .uses,
	.section__body > .specs {
		border-top: 0;
		margin-top: -1rem;
	}
	.section__body > .modes--wide {
		border-top: 0;
		margin-top: -1.5rem;
	}
	.modes--wide {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.modes--wide .mode {
		padding: 1.5rem 1.25rem;
		border-left: 1px solid var(--rule);
	}
	.modes--wide .mode:first-child {
		padding-left: 0;
		border-left: 0;
	}
	.modes--wide .mode:last-child {
		padding-right: 0;
	}
}

.uses {
	display: grid;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--rule);
}
@media (min-width: 45em) {
	.uses {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--col-gap);
	}
}
.uses li {
	display: flex;
	align-items: baseline;
	gap: 0.875rem;
	padding-block: 1rem;
	border-bottom: 1px solid var(--rule);
}
.uses .touch-dot {
	transform: translateY(-0.125rem);
}

.specs {
	display: grid;
	border-top: 1px solid var(--rule);
}
@media (min-width: 45em) {
	.specs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--col-gap);
	}
}
.specs div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding-block: 1rem;
	border-bottom: 1px solid var(--rule);
}
.specs dt {
	font-size: var(--fs-sm);
	color: var(--text-muted);
}
.specs dd {
	font-weight: 500;
	text-align: right;
}

.closing .statement {
	max-width: 16em;
}
.closing .actions {
	margin-top: 2rem;
}

/* 8. Documents ------------------------------------------------------------ */
.doc-title {
	margin-top: clamp(2rem, 1rem + 4vw, 4.5rem);
	font-size: var(--fs-title);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.04em;
}
.doc-updated {
	margin-top: 1.25rem;
	color: var(--text-muted);
	font-size: var(--fs-sm);
}
.doc {
	max-width: 40rem;
}
.doc h2 {
	margin-top: 2.75rem;
	font-size: var(--fs-rail);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.02em;
}
.doc h2:first-child {
	margin-top: 0;
}
.doc p,
.doc ul {
	margin-top: 0.875rem;
	color: var(--text-muted);
}
.doc ul {
	padding-left: 1.25rem;
}
.doc li + li {
	margin-top: 0.5rem;
}
.doc strong {
	color: var(--text);
	font-weight: 600;
}

.not-found h1 {
	font-size: var(--fs-title);
	line-height: 1;
}

/* 9. Utilities ------------------------------------------------------------ */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}
