/* MapleBOM stylesheet.
 *
 * Hand-written, no build step, no third-party CSS. The visual language is meant
 * to read as an engineering document rather than a SaaS marketing page:
 * hairline rules, uppercase mono micro-labels, tabular figures, one restrained
 * accent, and colour used only where it carries meaning.
 */

/* ---------------------------------------------------------------- tokens - */

:root {
	--ink-900: #0f1417;
	--ink-800: #1b2226;
	--ink-700: #2b3339;
	--ink-600: #47525a;
	--ink-500: #6a747c;
	--ink-400: #8b939a;
	--ink-300: #b3b9bd;

	--paper: #fbfaf7;
	--paper-2: #f5f3ee;
	--card: #ffffff;

	--line: #e4e1d9;
	--line-2: #d3cfc4;
	--line-3: #c2bdb0;

	--accent: #a8272e;
	--accent-dark: #8c1f25;
	--accent-soft: #fbf0ef;

	--warn: #8f6512;
	--warn-soft: #fbf3e1;
	--good: #2f6b4f;
	--good-soft: #edf5f0;

	--c-ca: #a8272e;
	--c-us: #3a5f7d;
	--c-cn: #b07c2c;
	--c-mx: #4b7b62;
	--c-other: #7e858b;
	--c-unknown: #cfcabd;

	--radius: 3px;
	--maxw: 1180px;
	--gutter: 32px;

	--sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
		"Liberation Mono", monospace;
}

/* ------------------------------------------------------------- baseline - */

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink-700);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
	color: var(--ink-900);
	font-weight: 600;
	letter-spacing: -0.021em;
	line-height: 1.15;
	margin: 0;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

a {
	color: var(--ink-900);
	text-decoration-color: var(--line-3);
	text-underline-offset: 3px;
}

a:hover {
	text-decoration-color: var(--accent);
}

strong {
	font-weight: 600;
	color: var(--ink-900);
}

hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 0;
}

::selection {
	background: var(--accent-soft);
}

.num {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

/* ------------------------------------------------------------- utilities - */

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.eyebrow {
	font-family: var(--mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-500);
	margin: 0 0 14px;
}

.eyebrow--accent {
	color: var(--accent);
}

.muted {
	color: var(--ink-500);
}

.small {
	font-size: 14px;
	line-height: 1.55;
}

.xsmall {
	font-size: 13px;
	line-height: 1.5;
}

.mono {
	font-family: var(--mono);
}

.nowrap {
	white-space: nowrap;
}

.right {
	text-align: right;
}

.stack > * + * {
	margin-top: 12px;
}

.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;
}

/* --------------------------------------------------------------- buttons - */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid var(--ink-900);
	border-radius: var(--radius);
	background: var(--ink-900);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--ink-900);
	border-color: var(--line-2);
}

.btn--ghost:hover {
	background: var(--card);
	border-color: var(--ink-900);
	color: var(--ink-900);
}

.btn--accent {
	background: var(--accent);
	border-color: var(--accent);
}

.btn--sm {
	padding: 8px 14px;
	font-size: 14px;
}

.btn--wide {
	width: 100%;
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.linkish {
	font-size: 14px;
	color: var(--ink-600);
	text-decoration: none;
	border-bottom: 1px solid var(--line-2);
	padding-bottom: 1px;
}

.linkish:hover {
	color: var(--ink-900);
	border-color: var(--accent);
}

/* ---------------------------------------------------------------- header - */

.site-header {
	border-bottom: 1px solid var(--line);
	background: rgba(251, 250, 247, 0.92);
	backdrop-filter: saturate(140%) blur(6px);
	position: sticky;
	top: 0;
	z-index: 20;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 64px;
	flex-wrap: wrap;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink-900);
	font-weight: 600;
	font-size: 17px;
	letter-spacing: -0.02em;
}

.brand__mark {
	display: block;
	width: 20px;
	height: 20px;
	flex: none;
}

.nav {
	display: flex;
	align-items: center;
	gap: 26px;
}

.nav a {
	font-size: 14.5px;
	color: var(--ink-600);
	text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
	color: var(--ink-900);
}

/* ------------------------------------------------------------------ hero - */

.hero {
	position: relative;
	border-bottom: 1px solid var(--line);
	overflow: hidden;
	background: linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
}

/* A faint drafting grid. Pure CSS so there is nothing to load. */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(var(--line) 1px, transparent 1px),
		linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: 0.5;
	-webkit-mask-image: radial-gradient(120% 90% at 22% 12%, #000 0%, transparent 72%);
	mask-image: radial-gradient(120% 90% at 22% 12%, #000 0%, transparent 72%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 64px;
	align-items: center;
	padding-top: 84px;
	padding-bottom: 76px;
}

.hero h1 {
	font-size: clamp(38px, 4.6vw, 58px);
	letter-spacing: -0.032em;
	margin-bottom: 22px;
}

.hero__lede {
	font-size: 19px;
	line-height: 1.55;
	color: var(--ink-600);
	max-width: 34em;
	margin-bottom: 28px;
}

.hero__honest {
	margin-top: 22px;
	padding-left: 14px;
	border-left: 2px solid var(--line-2);
	font-size: 14px;
	line-height: 1.55;
	color: var(--ink-500);
	max-width: 46em;
}

.hero__note {
	margin-top: 18px;
	font-size: 13.5px;
	color: var(--ink-500);
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.hero__note svg {
	flex: none;
	transform: translateY(2px);
}

.hero__note a {
	white-space: nowrap;
}

/* ------------------------------------------------------------- specimen - */

.specimen {
	background: var(--card);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	box-shadow: 0 1px 2px rgba(15, 20, 23, 0.04), 0 12px 34px -18px rgba(15, 20, 23, 0.28);
	overflow: hidden;
}

.specimen__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 16px;
	border-bottom: 1px solid var(--line);
	background: var(--paper-2);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-500);
}

.specimen__body {
	padding: 22px 24px 24px;
}

.specimen__figures {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 24px;
	padding-bottom: 20px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.specimen__foot {
	padding: 14px 24px;
	border-top: 1px solid var(--line);
	background: var(--paper-2);
	font-size: 13px;
	color: var(--ink-600);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

/* ------------------------------------------------------------- figures - */

.figure__label {
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-500);
	margin-bottom: 6px;
}

.figure__value {
	font-size: 27px;
	font-weight: 600;
	letter-spacing: -0.025em;
	color: var(--ink-900);
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

.figure__value--accent {
	color: var(--accent);
}

.figure__sub {
	font-size: 13px;
	color: var(--ink-500);
	margin-top: 4px;
}

/* ---------------------------------------------------------------- bars - */

.stackbar {
	display: block;
	width: 100%;
	height: 34px;
	border-radius: 2px;
	overflow: hidden;
	border: 1px solid var(--line-2);
	background: var(--paper-2);
}

.seg-ca {
	fill: var(--c-ca);
}
.seg-us {
	fill: var(--c-us);
}
.seg-cn {
	fill: var(--c-cn);
}
.seg-mx {
	fill: var(--c-mx);
}
.seg-other {
	fill: var(--c-other);
}
.seg-unknown {
	fill: url(#hatch);
}

.legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-top: 14px;
	font-size: 13px;
}

.legend__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ink-600);
}

.swatch {
	width: 11px;
	height: 11px;
	border-radius: 2px;
	flex: none;
	border: 1px solid rgba(15, 20, 23, 0.14);
}

.swatch--ca {
	background: var(--c-ca);
}
.swatch--us {
	background: var(--c-us);
}
.swatch--cn {
	background: var(--c-cn);
}
.swatch--mx {
	background: var(--c-mx);
}
.swatch--other {
	background: var(--c-other);
}
.swatch--unknown {
	background: repeating-linear-gradient(
		45deg,
		#e8e4da,
		#e8e4da 3px,
		#c9c3b4 3px,
		#c9c3b4 6px
	);
}

/* Inline proportion bar used inside tables. */
.bar {
	position: relative;
	height: 8px;
	background: var(--paper-2);
	border-radius: 2px;
	overflow: hidden;
	min-width: 60px;
}

.bar__fill {
	position: absolute;
	inset: 0 auto 0 0;
	background: var(--ink-800);
	border-radius: 2px;
}

.bar__fill--ca {
	background: var(--c-ca);
}
.bar__fill--us {
	background: var(--c-us);
}
.bar__fill--cn {
	background: var(--c-cn);
}
.bar__fill--mx {
	background: var(--c-mx);
}
.bar__fill--other {
	background: var(--c-other);
}
.bar__fill--unknown {
	background: repeating-linear-gradient(
		45deg,
		#ded9cd,
		#ded9cd 3px,
		#bcb5a4 3px,
		#bcb5a4 6px
	);
}
.bar__fill--warn {
	background: var(--warn);
}
.bar__fill--good {
	background: var(--good);
}

/* --------------------------------------------------------------- layout - */

.section {
	padding: 76px 0;
	border-top: 1px solid var(--line);
}

.section--tight {
	padding: 52px 0;
}

.section--paper {
	background: var(--paper-2);
}

.section--ink {
	background: var(--ink-900);
	color: #cdd3d7;
	border-top: 0;
}

.section--ink h2,
.section--ink h3 {
	color: #fff;
}

.section--ink .eyebrow {
	color: #8d979e;
}

.section__head {
	max-width: 62ch;
	margin-bottom: 38px;
}

.section__head h2 {
	font-size: clamp(26px, 2.6vw, 34px);
	margin-bottom: 12px;
}

.section__head p {
	font-size: 17px;
	color: var(--ink-600);
	margin: 0;
}

.grid {
	display: grid;
	gap: 24px;
}

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

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

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

.split--equal > * {
	height: 100%;
}

/* Give the upload page's column reference more room than the form beside it. */
.split--wide-right {
	grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

/* ---------------------------------------------------------------- cards - */

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 26px;
}

.card--flat {
	background: transparent;
	border: 0;
	padding: 0;
}

.card__num {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	color: var(--ink-400);
	margin-bottom: 14px;
}

.card h3 {
	font-size: 18px;
	margin-bottom: 8px;
}

.card p {
	font-size: 15px;
	color: var(--ink-600);
	margin: 0;
}

.card--soon {
	position: relative;
	background: var(--card);
	border-style: dashed;
	border-color: var(--line-2);
}

/* A fake door. It has to look clickable — an unclickable card would measure
   nothing — while the "Private beta" tag keeps it from promising a result. */
.card--door {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card--door:hover {
	border-style: solid;
	border-color: var(--ink-900);
	box-shadow: 0 10px 24px -18px rgba(15, 20, 23, 0.4);
}

.card--door h3 {
	margin-top: 16px;
}

.card--door p {
	flex: 1 1 auto;
}

.card__cta {
	display: block;
	margin-top: 18px;
	font-size: 14px;
	font-weight: 500;
	color: var(--accent);
}

.card--door:hover .card__cta {
	color: var(--accent-dark);
}

.capability__h {
	font-size: 18px;
	margin: 34px 0 10px;
}

.capability__others {
	margin: 0;
	padding-left: 18px;
	font-size: 14.5px;
	color: var(--ink-600);
}

.capability__others li {
	margin-bottom: 8px;
}

.tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 2px;
	border: 1px solid var(--line-2);
	background: var(--paper-2);
	color: var(--ink-500);
	white-space: nowrap;
}

.tag--soon {
	border-color: var(--line-2);
	background: transparent;
	color: var(--ink-500);
}

.tag--sample {
	border-color: #d8c9a8;
	background: var(--warn-soft);
	color: var(--warn);
}

.tag--yours {
	border-color: #b9cec2;
	background: var(--good-soft);
	color: var(--good);
}

.tag--gap {
	border-color: #e3c3c3;
	background: var(--accent-soft);
	color: var(--accent);
}

/* -------------------------------------------------------------- reports - */

.report-head {
	padding: 40px 0 34px;
	border-bottom: 1px solid var(--line);
	background: linear-gradient(180deg, #fff, var(--paper));
}

.report-head__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.report-head h1 {
	font-size: clamp(28px, 3.2vw, 40px);
	margin-bottom: 10px;
}

.report-head__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	overflow-wrap: anywhere;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ink-500);
	letter-spacing: 0.02em;
}

.kpis {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--card);
	overflow: hidden;
	margin-top: 30px;
}

.kpi {
	padding: 22px 24px;
	border-right: 1px solid var(--line);
}

.kpi:last-child {
	border-right: 0;
}

.kpi__label {
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-500);
	margin-bottom: 8px;
}

.kpi__value {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: var(--ink-900);
	font-variant-numeric: tabular-nums;
}

.kpi__value--gap {
	color: var(--accent);
}

.kpi__sub {
	font-size: 13px;
	color: var(--ink-500);
	margin-top: 7px;
}

.panel {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.panel__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 24px;
	border-bottom: 1px solid var(--line);
}

.panel__head h3 {
	font-size: 16px;
}

.panel__body {
	padding: 24px;
}

.panel__foot {
	padding: 14px 24px;
	border-top: 1px solid var(--line);
	background: var(--paper-2);
	font-size: 13px;
	color: var(--ink-500);
}

/* ---------------------------------------------------------------- table - */

.table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

table.data {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

table.data th {
	text-align: left;
	font-family: var(--mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: var(--ink-500);
	padding: 0 14px 10px 0;
	border-bottom: 1px solid var(--line-2);
	white-space: nowrap;
}

table.data td {
	padding: 11px 14px 11px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
	color: var(--ink-700);
}

table.data tr:last-child td {
	border-bottom: 0;
}

table.data th:last-child,
table.data td:last-child {
	padding-right: 0;
}

table.data .num,
table.data th.num {
	text-align: right;
	font-variant-numeric: tabular-nums;
}

table.data .rank {
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ink-400);
	width: 34px;
}

table.data .primary {
	color: var(--ink-900);
	font-weight: 500;
}

table.data .sub,
.issue-list .sub {
	display: block;
	font-size: 12.5px;
	color: var(--ink-500);
	font-weight: 400;
	margin-top: 2px;
}

table.data tbody tr:hover td {
	background: #fcfbf8;
}

.origin-unknown {
	color: var(--warn);
	font-weight: 500;
	white-space: nowrap;
}

.origin-known {
	white-space: nowrap;
}

/* ------------------------------------------------------------ downloads - */

.downloads {
	margin-top: 24px;
	border-color: var(--line-2);
	background: linear-gradient(180deg, #fff, var(--paper-2));
}

.downloads__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
	gap: 36px;
	align-items: center;
}

.downloads__actions {
	display: grid;
	gap: 6px;
	justify-items: stretch;
}

.downloads__actions .btn {
	width: 100%;
}

.downloads__actions .btn + .xsmall {
	margin-bottom: 10px;
}

.downloads__actions .xsmall {
	text-align: center;
}

@media (max-width: 860px) {
	.downloads__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
}

/* ------------------------------------------------------------ gap panel - */

.gap-hero {
	display: grid;
	grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}

.gap-number {
	font-size: clamp(46px, 6vw, 68px);
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1;
	color: var(--accent);
	font-variant-numeric: tabular-nums;
}

.gap-chart {
	width: 100%;
	height: auto;
	display: block;
}

.gap-chart__area {
	fill: rgba(168, 39, 46, 0.08);
}

.gap-chart__line {
	fill: none;
	stroke: var(--accent);
	stroke-width: 2;
	stroke-linejoin: round;
}

.gap-chart__grid {
	stroke: var(--line);
	stroke-width: 1;
}

.gap-chart__marker {
	stroke: var(--ink-400);
	stroke-width: 1;
	stroke-dasharray: 3 3;
}

.gap-chart__label {
	font-family: var(--mono);
	font-size: 10px;
	fill: var(--ink-500);
	letter-spacing: 0.08em;
}

.callout {
	border-left: 2px solid var(--accent);
	padding: 4px 0 4px 18px;
	margin: 0;
}

.callout--neutral {
	border-left-color: var(--line-3);
}

.callout p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------- notice - */

.notice {
	border: 1px solid var(--line-2);
	border-left: 2px solid var(--ink-400);
	border-radius: var(--radius);
	background: var(--card);
	padding: 16px 20px;
	font-size: 14px;
	color: var(--ink-600);
}

.notice--warn {
	border-left-color: var(--warn);
	background: var(--warn-soft);
	border-color: #e5d6b4;
	color: #6f4f0f;
}

.notice--error {
	border-left-color: var(--accent);
	background: var(--accent-soft);
	border-color: #e8cccc;
	color: #7c2026;
}

.notice__title {
	font-weight: 600;
	color: inherit;
	margin-bottom: 4px;
}

.issue-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.issue-list li {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	gap: 18px;
	align-items: baseline;
	font-size: 14px;
}

.issue-list li:last-child {
	border-bottom: 0;
}

.issue-list li:first-child {
	padding-top: 0;
}

.issue-count {
	font-family: var(--mono);
	font-size: 13px;
	color: var(--ink-900);
	font-variant-numeric: tabular-nums;
}

.issue-title {
	color: var(--ink-900);
	font-weight: 500;
}

/* ---------------------------------------------------------------- forms - */

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.field {
	display: block;
}

.field--full {
	grid-column: 1 / -1;
}

.field > label,
.fieldset > legend {
	display: block;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-600);
	margin-bottom: 7px;
	padding: 0;
}

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
	width: 100%;
	padding: 11px 13px;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink-900);
	background: var(--card);
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field textarea {
	min-height: 92px;
	resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
input[type="file"]:focus {
	outline: none;
	border-color: var(--ink-700);
	box-shadow: 0 0 0 3px rgba(43, 51, 57, 0.09);
}

.field--error input,
.field--error select {
	border-color: var(--accent);
}

.field__error {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--accent);
}

.field__hint {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--ink-500);
}

.fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

.choices {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 8px;
}

.choice {
	display: flex;
	align-items: center;
	min-height: 48px;
	gap: 10px;
	padding: 11px 13px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--card);
	font-size: 14.5px;
	cursor: pointer;
	transition: border-color 0.12s ease, background 0.12s ease;
}

.choice:hover {
	border-color: var(--ink-400);
}

.choice input {
	accent-color: var(--accent);
	margin: 0;
	flex: none;
}

.choice:has(input:checked) {
	border-color: var(--ink-900);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--ink-900);
}

.choices--inline {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 380px;
}

/* --------------------------------------------------------------- upload - */

.dropzone {
	border: 1px dashed var(--line-3);
	border-radius: var(--radius);
	background: var(--card);
	padding: 32px 28px;
	text-align: center;
}

.dropzone input[type="file"] {
	display: block;
	margin: 0 auto 8px;
	font-family: inherit;
	font-size: 14px;
	max-width: 100%;
}

.dropzone__hint {
	font-size: 13.5px;
	color: var(--ink-500);
	margin: 12px 0 0;
}

.spec-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.spec-table th,
.spec-table td {
	text-align: left;
	padding: 10px 16px 10px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

.spec-table th {
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	color: var(--ink-900);
	white-space: nowrap;
	width: 178px;
}

.spec-table td {
	color: var(--ink-600);
}

.spec-table .req {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-400);
	white-space: nowrap;
	width: 96px;
	text-align: right;
	padding-right: 0;
}

code,
.code {
	font-family: var(--mono);
	font-size: 0.9em;
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: 2px;
	padding: 1px 5px;
}

pre.code {
	display: block;
	padding: 16px 18px;
	overflow-x: auto;
	line-height: 1.55;
	white-space: pre;
	color: var(--ink-700);
}

/* ------------------------------------------------------------------ cta - */

.cta {
	background: var(--ink-900);
	color: #c9d0d5;
	border-radius: var(--radius);
	padding: 46px 48px;
}

.cta h2 {
	color: #fff;
	font-size: clamp(26px, 2.8vw, 34px);
	margin-bottom: 14px;
}

.cta p {
	font-size: 17px;
	color: #a9b3ba;
	max-width: 52ch;
}

.cta .btn {
	background: #fff;
	border-color: #fff;
	color: var(--ink-900);
}

.cta .btn:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.cta-form {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 34px 36px;
}

/* --------------------------------------------------------------- footer - */

.site-footer {
	border-top: 1px solid var(--line);
	background: var(--paper-2);
	padding: 42px 0 54px;
	font-size: 14px;
	color: var(--ink-500);
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 32px;
	padding-bottom: 22px;
	border-bottom: 1px solid var(--line);
}

.site-footer__brand {
	margin: 0 0 4px;
	font-size: 15px;
	color: var(--ink-900);
	font-weight: 500;
	letter-spacing: -0.01em;
}

.site-footer__built {
	margin: 0;
	font-size: 14px;
	color: var(--ink-500);
}

.site-footer__links {
	display: flex;
	align-items: baseline;
	gap: 10px;
	font-size: 14px;
	flex-wrap: wrap;
}

.site-footer__links span {
	color: var(--ink-300);
}

.site-footer__email {
	margin-left: 10px;
	font-family: var(--mono);
	font-size: 13px;
}

.site-footer__bottom {
	padding-top: 22px;
	display: grid;
	gap: 12px;
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.site-footer a {
	color: var(--ink-600);
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--ink-900);
	text-decoration: underline;
}

.site-footer__legal {
	max-width: 68ch;
	margin: 0;
	font-size: 13px;
	line-height: 1.6;
}

/* -------------------------------------------------------------- founder - */

/* A trust signal, not a personal-brand page: one panel, near the bottom, no
   portrait and no biography beyond what a buyer needs to know about who is on
   the other end of the email. */
.founder {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
	gap: 44px;
	align-items: center;
	padding: 34px 38px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.founder h2 {
	font-size: 20px;
	margin-bottom: 12px;
}

.founder p {
	font-size: 16px;
	color: var(--ink-600);
	margin: 0 0 12px;
	max-width: 62ch;
}

.founder p:last-child {
	margin-bottom: 0;
}

.founder__aside {
	border-left: 2px solid var(--line-2);
	padding-left: 20px;
}

.founder__aside p {
	font-size: 15px;
	margin-bottom: 10px;
}

.founder__email {
	font-family: var(--mono);
	font-size: 15px;
	color: var(--ink-900);
}

@media (max-width: 860px) {
	.founder {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding: 26px 22px;
	}

	.founder__aside {
		border-left: 0;
		border-top: 1px solid var(--line);
		padding-left: 0;
		padding-top: 20px;
	}
}

/* ------------------------------------------------------------ prose page - */

.prose {
	max-width: 70ch;
}

.prose h2 {
	font-size: 21px;
	margin: 42px 0 12px;
}

.prose h3 {
	font-size: 17px;
	margin: 28px 0 8px;
}

.prose p,
.prose li {
	color: var(--ink-600);
	font-size: 16px;
}

.prose ul {
	padding-left: 20px;
	margin: 0 0 1em;
}

.prose li {
	margin-bottom: 6px;
}

.prose li::marker {
	color: var(--ink-300);
}

/* ---------------------------------------------------------------- steps - */

.steps {
	list-style: none;
	counter-reset: step;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.steps li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 18px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}

.steps li:last-child {
	border-bottom: 0;
}

.steps li::before {
	content: counter(step, decimal-leading-zero);
	font-family: var(--mono);
	font-size: 12px;
	color: var(--ink-400);
	letter-spacing: 0.08em;
	padding-top: 3px;
}

.steps h3 {
	font-size: 17px;
	margin-bottom: 4px;
}

.steps p {
	margin: 0;
	color: var(--ink-600);
	font-size: 15px;
}

/* -------------------------------------------------------------- anchors - */

[id] {
	scroll-margin-top: 84px;
}

/* -------------------------------------------------------------- responsive - */

@media (max-width: 1000px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
		padding-top: 56px;
		padding-bottom: 60px;
	}

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

	.grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kpis {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kpi:nth-child(2) {
		border-right: 0;
	}

	.kpi:nth-child(1),
	.kpi:nth-child(2) {
		border-bottom: 1px solid var(--line);
	}

	.gap-hero {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

@media (max-width: 760px) {
	:root {
		--gutter: 20px;
	}

	body {
		font-size: 15.5px;
	}

	/* The header is the one place that cannot scroll horizontally, so it
	   collapses to two rows rather than pushing the page wider than the
	   viewport. */
	.site-header__inner {
		height: auto;
		padding-top: 12px;
		padding-bottom: 12px;
		gap: 12px;
	}

	.nav {
		gap: 18px;
		width: 100%;
		justify-content: space-between;
	}

	.nav a {
		font-size: 14px;
	}

	.nav a.nav__hide-sm {
		display: none;
	}

	.nav .btn {
		padding: 7px 12px;
		font-size: 13.5px;
	}

	.report-head h1,
	.hero h1 {
		overflow-wrap: break-word;
	}

	.section {
		padding: 52px 0;
	}

	.grid--3,
	.grid--4,
	.grid--2 {
		grid-template-columns: minmax(0, 1fr);
	}

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

	.kpi {
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.kpi:last-child {
		border-bottom: 0;
	}

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

	.cta,
	.cta-form {
		padding: 28px 22px;
	}

	.panel__body,
	.panel__head,
	.panel__foot {
		padding-left: 18px;
		padding-right: 18px;
	}

	.hero h1 {
		font-size: 34px;
	}

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

@media print {
	.site-header,
	.site-footer,
	.cta,
	.cta-form {
		display: none;
	}

	body {
		background: #fff;
	}
}
