/* Tern site. Graphite + Signal Green. One stylesheet, no framework.
   Grid: 1280px frame, 12 columns, 24px gutters. Spacing steps of 8px. Corners 3px. */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "JetBrains Mono";
	src: url("fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--page: #f3f4f2;
	--surface: #fff;
	--ink: #15181c;
	--ink-2: #2b3036;
	--muted: #5c636b;
	--line: #dcdfe2;
	--line-2: #c4c9ce;
	--green: #0b7a55;
	--green-hover: #08603f;
	--danger: #b42318;
	--field: #111417;
	--on-field: #f3f4f2;
	--on-field-2: rgba(243, 244, 242, 0.74);
	--on-field-line: rgba(243, 244, 242, 0.16);
	--green-on-field: #5fcf9f;
	--r: 3px;
	--frame: 1280px;
	--col-gap: 24px;
	--gutter: clamp(20px, 4vw, 40px);
	--edge: max(var(--gutter), (100vw - var(--frame)) / 2);
	--section: clamp(88px, 10vw, 152px);
	--head-gap: clamp(40px, 5vw, 72px);
	--label: 15rem;
	--display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	overflow-wrap: break-word;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg { display: block; max-width: 100%; height: auto; }

a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--green-hover); text-decoration-thickness: 2px; }

:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
	border-radius: 2px;
}

h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

code,
kbd,
.mono {
	font-family: var(--mono);
	font-size: 0.875em;
	font-variant-ligatures: none;
}

code {
	padding: 0.05em 0.3em;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r);
	overflow-wrap: anywhere;
}

pre {
	margin: 0 0 1.25em;
	padding: 16px 18px;
	background: var(--field);
	color: var(--on-field);
	border-radius: var(--r);
	overflow-x: auto;
	font-family: var(--mono);
	font-size: 0.875rem;
	line-height: 1.65;
	tab-size: 2;
}
pre code { padding: 0; background: none; border: 0; color: inherit; font-size: inherit; overflow-wrap: normal; }

.skip {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 30;
	padding: 10px 14px;
	background: var(--ink);
	color: var(--on-field);
	border-radius: var(--r);
	font-weight: 600;
}
.skip:focus { top: 12px; color: var(--on-field); }

.frame {
	width: 100%;
	max-width: calc(var(--frame) + var(--gutter) * 2);
	margin: 0 auto;
	padding-inline: var(--gutter);
}

/* 12 column grid. Below 900px every child spans the full width. */
.grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: var(--col-gap);
}
@media (min-width: 900px) {
	.grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
	.c-1-5 { grid-column: 1 / 6; }
	.c-1-6 { grid-column: 1 / 7; }
	.c-1-7 { grid-column: 1 / 8; }
	.c-1-8 { grid-column: 1 / 9; }
	.c-6-13 { grid-column: 6 / 13; }
	.c-7-13 { grid-column: 7 / 13; }
	.c-8-13 { grid-column: 8 / 13; }
	.c-9-13 { grid-column: 9 / 13; }
}

/* Screenshots run off the frame to the viewport edge. */
.bleed { overflow-x: hidden; overflow-x: clip; }
.shot { margin: 0; min-width: 0; }
.shot img {
	width: 100%;
	background: var(--page);
	border: 1px solid var(--line-2);
	border-radius: 0;
}
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; max-width: 40em; }
@media (min-width: 900px) {
	.shot--r { margin-right: calc(-1 * var(--edge)); }
	.shot--r img { border-right: 0; }
	.shot--l { margin-left: calc(-1 * var(--edge)); }
	.shot--l img { border-left: 0; }
	.shot--l figcaption { padding-left: var(--edge); }
}
@media (max-width: 899px) {
	.shot--r,
	.shot--l { margin-inline: calc(-1 * var(--gutter)); }
	.shot--r img,
	.shot--l img { border-inline: 0; }
	.shot--r figcaption,
	.shot--l figcaption { padding-inline: var(--gutter); }
}

/* Header */

.site-head { border-bottom: 1px solid var(--line); background: var(--page); }
.site-head .frame {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	font-family: var(--display);
	font-weight: 640;
	font-size: 1.375rem;
	letter-spacing: -0.02em;
	padding-block: 6px;
}
.brand:hover { color: var(--ink); }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 32px); }
.nav a {
	position: relative;
	color: var(--muted);
	text-decoration: none;
	font-size: 0.9375rem;
	padding: 12px 0;
}
.nav a:hover,
.nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 1px;
	background: var(--line-2);
}
.nav a[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 2px;
	background: var(--ink);
}
.nav .btn { padding: 0 16px; min-height: 40px; color: #fff; }
.nav .btn:hover { color: #fff; }

/* Buttons */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid var(--green);
	border-radius: var(--r);
	background: var(--green);
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.btn:hover { background: var(--green-hover); border-color: var(--green-hover); color: #fff; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform 200ms var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--plain { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--plain:hover { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */

.eyebrow {
	display: block;
	margin-bottom: 16px;
	color: var(--muted);
	font-size: 0.9375rem;
	font-weight: 600;
}
.display {
	font-family: var(--display);
	font-size: clamp(2.75rem, 1.2rem + 5.6vw, 6.25rem);
	line-height: 0.96;
	font-weight: 560;
	letter-spacing: -0.045em;
	text-wrap: balance;
	max-width: 15ch;
}
.h2 {
	font-family: var(--display);
	font-size: clamp(2.125rem, 1.2rem + 2.7vw, 3.5rem);
	line-height: 1.02;
	font-weight: 560;
	letter-spacing: -0.035em;
	text-wrap: balance;
	max-width: 18ch;
}
.h3 {
	font-family: var(--display);
	font-size: 1.375rem;
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: -0.015em;
}
.lede { font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem); line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.small { font-size: 0.9375rem; }
.mt { margin-top: 24px; }
.lede.mt { margin-top: 24px; }
.h2 + .lede { margin-top: 24px; }

/* Sections */

.section { padding-block: var(--section); border-top: 1px solid var(--line); }
.section--first { border-top: 0; }
.section--white { background: var(--surface); }
.section-head { margin-bottom: var(--head-gap); }
.section-head p { margin-top: 24px; max-width: 38em; color: var(--ink-2); font-size: 1.125rem; }
.split {
	display: grid;
	gap: clamp(32px, 4vw, 56px);
}
@media (min-width: 900px) {
	.split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: start; }
	.split > :first-child { grid-column: 1 / 6; }
	.split > :last-child { grid-column: 7 / 13; }
}

/* Hero */

.hero {
	position: relative;
	padding-block: clamp(56px, 7vw, 112px) clamp(72px, 8vw, 128px);
}
.hero .display { max-width: none; }
.hero-grid { margin-top: clamp(40px, 5vw, 72px); row-gap: 48px; align-items: start; }
.hero-copy .lede { max-width: 26em; }
.hero .actions { margin-top: 36px; }
.hero-note { margin-top: 24px; color: var(--muted); font-size: 0.9375rem; max-width: 30em; }
.hero-shot { position: relative; }
@media (min-width: 900px) {
	.hero-copy,
	.product > .c-1-5 { padding-right: clamp(24px, 3.5vw, 56px); }
	.hero-copy { grid-column: 1 / 6; padding-top: 4px; }
	.hero-shot { grid-column: 6 / 13; }
}

/* Flight: the tern mark flies from the headline to the first passed test restore. JS draws it. */
.flight {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: visible;
	z-index: 2;
}
.flight .trail { fill: none; stroke: var(--ink); stroke-opacity: 0.55; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 0.01 7; }
.flight .reveal { fill: none; stroke: #fff; stroke-width: 8; }
.flyer {
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	margin: -16px 0 0 -16px;
	z-index: 3;
	pointer-events: none;
	opacity: 0;
	will-change: transform;
}
.flyer.is-on { opacity: 1; }

/* Steps of a test restore */

.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0 var(--col-gap);
	counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li {
	position: relative;
	counter-increment: step;
	padding: 28px 0 40px;
	border-top: 1px solid var(--line-2);
}
.steps li::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 2px;
	background: var(--green);
	transform-origin: left;
}
.step-n {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	font-family: var(--mono);
	font-size: 0.875rem;
	color: var(--muted);
}
.step-n::before { content: "0" counter(step); }
.step-n svg {
	width: 16px;
	height: 16px;
	color: var(--green);
	transition: transform 400ms var(--ease-out), opacity 300ms var(--ease);
}
.steps .h3 { margin-bottom: 12px; }
.steps p { color: var(--ink-2); }
.after-steps { margin-top: 32px; max-width: 46em; color: var(--muted); }

html.js .steps li::before { transform: scaleX(0); transition: transform 500ms var(--ease-out); }
html.js .steps li .step-n svg { opacity: 0; transform: scale(0.4); }
html.js .steps li.is-run::before { transform: scaleX(1); }
html.js .steps li.is-run .step-n svg { opacity: 1; transform: scale(1); transition-delay: 350ms; }
@media (min-width: 1100px) {
	html.js .steps li:nth-child(2).is-run::before { transition-delay: 200ms; }
	html.js .steps li:nth-child(3).is-run::before { transition-delay: 400ms; }
	html.js .steps li:nth-child(4).is-run::before { transition-delay: 600ms; }
	html.js .steps li:nth-child(2).is-run .step-n svg { transition-delay: 550ms; }
	html.js .steps li:nth-child(3).is-run .step-n svg { transition-delay: 750ms; }
	html.js .steps li:nth-child(4).is-run .step-n svg { transition-delay: 950ms; }
}

/* Product rows: text on the left, the real screen on the right */

.product { row-gap: 32px; align-items: center; }
.product + .product { margin-top: clamp(72px, 9vw, 136px); }
.product .h3 { font-size: clamp(1.625rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.025em; margin-bottom: 20px; }
.product p { color: var(--ink-2); max-width: 32em; }
.fact {
	display: block;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 0.9375rem;
	color: var(--muted);
	max-width: 32em;
}
.fact--file { font-family: var(--mono); font-size: 0.8125rem; }
.cmds span { display: inline-block; white-space: nowrap; margin-right: 16px; }
.section code { white-space: nowrap; }
.section .answer code { white-space: normal; }

/* Feature rows (label left, text right) */

.rows { border-top: 1px solid var(--line); }
.feature {
	display: grid;
	gap: 8px 40px;
	padding: 28px 0;
	border-bottom: 1px solid var(--line);
}
.feature .h3 { padding-top: 2px; font-size: 1.25rem; }
.feature p { color: var(--ink-2); max-width: 36em; }

/* Dark field */

.field-dark { background: var(--field); color: var(--on-field); border-top: 0; }
.field-dark .h2,
.field-dark .h3 { color: var(--on-field); }
.field-dark .eyebrow,
.field-dark .muted,
.field-dark p { color: var(--on-field-2); }
.field-dark .lede { color: var(--on-field); }
.field-dark a { color: var(--green-on-field); }
.field-dark :focus-visible { outline-color: var(--green-on-field); }
.field-dark .rows { border-top-color: var(--on-field-line); }
.field-dark .feature { border-bottom-color: var(--on-field-line); }
.field-dark code { background: #1d2126; border-color: var(--on-field-line); color: var(--on-field); }
.field-dark .fact { color: var(--green-on-field); border-top-color: var(--on-field-line); }
.field-dark .shot img { border-color: rgba(243, 244, 242, 0.24); }
.field-dark .shot figcaption { color: var(--on-field-2); }

.rescue-grid { row-gap: 40px; align-items: center; }
.rescue-lead p { max-width: 32em; }
.rescue-lead .h3,
.rescue-more .h3 { margin-bottom: 14px; }
.rescue-more {
	row-gap: 32px;
	margin-top: var(--head-gap);
	padding-top: 40px;
	border-top: 1px solid var(--on-field-line);
}
.rescue-more p { max-width: 34em; }
@media (min-width: 900px) {
	.rescue-grid .shot { grid-column: 1 / 8; }
	.rescue-lead { grid-column: 9 / 13; }
}

/* Spec list */

.spec { margin: 0; border-top: 1px solid var(--ink); }
.spec div {
	display: grid;
	gap: 2px 24px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}
@media (min-width: 560px) { .spec div { grid-template-columns: 11rem minmax(0, 1fr); } }
.spec dt { color: var(--muted); font-size: 0.9375rem; padding-top: 1px; }
.spec dd { margin: 0; }

/* Storage names: 18 cells, so 6 x 3, 3 x 6 and 2 x 9 all close evenly */

.names {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--line-2);
	border: 1px solid var(--line-2);
	counter-reset: dest;
}
@media (min-width: 720px) { .names { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .names { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.names li {
	counter-increment: dest;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	min-height: 128px;
	padding: 16px;
	background: var(--surface);
	font-family: var(--display);
	font-weight: 560;
	font-size: 1.0625rem;
	line-height: 1.25;
	letter-spacing: -0.01em;
}
.names li::before {
	content: counter(dest, decimal-leading-zero);
	font-family: var(--mono);
	font-weight: 400;
	font-size: 0.75rem;
	color: var(--muted);
	letter-spacing: 0;
}
.names li.names-home { background: var(--page); color: var(--muted); }
@media (max-width: 719px) { .names li { min-height: 88px; gap: 16px; } }
.names li.names-home::before { content: "+"; }
.names-note { margin-top: 32px; max-width: 46em; color: var(--muted); }

/* FAQ */

.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.4;
	transition: color 200ms var(--ease);
}
.faq summary:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	margin-top: 6px;
	background:
		linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
	color: var(--muted);
	transition: transform 300ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 44em; }
@media (min-width: 900px) {
	.faq-head { position: sticky; top: 32px; }
}

/* Closing band */

.close-band { background: var(--field); color: var(--on-field); border-top: 0; }
.close-band .h2 { color: var(--on-field); max-width: 16ch; font-size: clamp(2.5rem, 1.2rem + 4vw, 4.75rem); }
.close-band .lede { color: var(--on-field-2); }
.close-band .grid { row-gap: 40px; align-items: end; }
.close-band .actions { justify-content: flex-start; }
@media (min-width: 900px) {
	.close-band .grid > :first-child { grid-column: 1 / 9; }
	.close-band .grid > :last-child { grid-column: 9 / 13; justify-content: flex-end; }
}
.close-band :focus-visible { outline-color: var(--green-on-field); }
.close-band .btn--plain { color: var(--on-field); border-color: rgba(243, 244, 242, 0.32); }
.close-band .btn--plain:hover { background: transparent; color: var(--on-field); border-color: var(--on-field); }

/* Footer */

.site-foot { border-top: 1px solid var(--line); padding-block: 40px 48px; font-size: 0.9375rem; color: var(--muted); }
.close-band + .site-foot,
main:has(> .close-band:last-child) + .site-foot { border-top: 0; }
.site-foot .frame { display: grid; gap: 20px; }
@media (min-width: 900px) {
	.site-foot .frame { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 40px; }
}
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-links a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 10px 0; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.site-foot .brand { font-size: 1.125rem; }
.site-foot .brand img { width: 24px; height: 24px; }

/* Inner pages */

.page-head { padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.crumbs { margin-bottom: 24px; font-size: 0.875rem; color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.page-head .display { font-size: clamp(2.5rem, 1.2rem + 4.2vw, 4.75rem); max-width: 16ch; }
.page-head .lede { margin-top: 24px; }

.doc { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 72px) clamp(72px, 9vw, 120px); }
@media (min-width: 960px) {
	.doc { grid-template-columns: 15rem minmax(0, 1fr); gap: 64px; }
	.toc { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow-y: auto; }
}
.toc h2 { font-size: 0.875rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; color: var(--ink-2); text-decoration: none; font-size: 0.9375rem; line-height: 1.4; border-left: 2px solid transparent; margin-left: -1px; }
.toc a:hover { color: var(--ink); border-left-color: var(--ink); }

.prose { max-width: 42rem; min-width: 0; }
.prose > section { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.prose > section:last-child { border-bottom: 0; margin-bottom: 0; }
.prose h2 { font-family: var(--display); font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem); line-height: 1.1; font-weight: 580; letter-spacing: -0.03em; margin-bottom: 20px; }
.prose h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; margin: 32px 0 12px; }
.prose ul,
.prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--muted); }
.prose .note {
	padding: 14px 16px;
	border-left: 3px solid var(--green);
	background: var(--surface);
	border-radius: 0 var(--r) var(--r) 0;
	margin: 0 0 1.25em;
}
.prose .note--warn { border-left-color: var(--danger); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.25em; font-size: 0.9375rem; }
.prose th,
.prose td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-weight: 600; color: var(--muted); font-size: 0.875rem; }
.table-wrap { overflow-x: auto; margin: 0 0 1.25em; }
.table-wrap table { margin: 0; min-width: 30em; }
.prose .shot { margin: 8px 0 1.5em; }

/* Compare pages: the table gets more room than the text measure. */
.prose--wide { max-width: 56rem; }
.prose--wide > section > p,
.prose--wide > section > ul:not(.plan),
.prose--wide > section > h3 { max-width: 42rem; }
.cmp table { min-width: 36em; }
.cmp td { color: var(--ink-2); }
.cmp td:first-child { color: var(--ink); font-weight: 600; width: 24%; }
.cmp td:nth-child(2) { color: var(--ink); }
.cmp th:nth-child(2) { color: var(--green); }
.cmp--hub table { min-width: 44em; }
.cmp--hub td:first-child { width: 20%; }
@media (max-width: 899px) {
	.cmp--hub { overflow: visible; }
	.cmp--hub table { min-width: 0; }
	.cmp--hub thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.cmp--hub tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.cmp--hub td { display: block; padding: 2px 0; border: 0; width: auto; }
	.cmp--hub td::before { content: attr(data-label); display: block; font-size: 0.8125rem; color: var(--muted); font-weight: 400; }
	.cmp--hub td:first-child { width: auto; padding-bottom: 6px; }
	.cmp--hub td:first-child::before { display: none; }
}
@media (max-width: 559px) {
	.cmp td { width: auto; }
	.cmp td:first-child { width: auto; }
}

.plan { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.plan li { display: grid; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .plan li { grid-template-columns: var(--label) minmax(0, 1fr); } }
.plan strong { font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: -0.01em; }
.plan span { color: var(--ink-2); }

.status-line {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	background: var(--surface);
	font-size: 0.9375rem;
	font-weight: 600;
}

/* 404 */

.lost { padding-block: clamp(72px, 12vw, 168px); }
.lost .actions { margin-top: 32px; }

/* Scroll reveals: headings and screenshots only. JS adds html.js; no JS means everything shows. */
html.js .rv { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
html.js .rv.is-in { opacity: 1; transform: none; }

@media (max-width: 559px) {
	.nav .btn { display: none; }
	.actions .btn { flex: 1 1 100%; }
	.table-wrap { overflow: visible; }
	.table-wrap table { min-width: 0; }
	.table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.table-wrap tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.table-wrap td { display: block; padding: 2px 0; border: 0; }
	.table-wrap td::before { content: attr(data-label); display: block; font-size: 0.8125rem; color: var(--muted); }
	.table-wrap td:first-child { font-weight: 600; }
	.table-wrap td:first-child::before { display: none; }
}

.toc-m { display: none; }
@media (max-width: 959px) {
	.toc { display: none; }
	.toc-m { display: block; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
	.toc-m summary { padding: 14px 0; font-weight: 600; cursor: pointer; }
	.toc-m ol { list-style: none; margin: 0 0 12px; padding: 0; }
	.toc-m a { display: block; padding: 8px 0; color: var(--ink-2); text-decoration: none; }
	.toc-m a:hover { color: var(--ink); text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	html.js .rv { opacity: 1; transform: none; }
}
