/* misconfig.ai
   One idea: the logo's dot sits 14° off square. Misconfigured things sit
   askew, configured things sit square. The page is dark and quiet; the
   yellow-green signal is kept for the square, the main button and the
   brackets around labels. */

@font-face {
	font-family: "Recursive";
	src: url("/fonts/recursive-sans.woff2") format("woff2");
	font-weight: 300 1000;
	font-display: swap;
}
@font-face {
	font-family: "Recursive Mono";
	src: url("/fonts/recursive-mono.woff2") format("woff2");
	font-weight: 300 800;
	font-display: swap;
}

:root {
	--bg: #0a0b0d;
	--bg-1: #101216;
	--bg-2: #15181d;
	--bg-3: #1c2027;
	--line: rgba(244, 246, 252, 0.08);
	--line-2: rgba(244, 246, 252, 0.14);
	--line-3: rgba(244, 246, 252, 0.24);
	--text: #f4f6fc;
	--text-2: #a6acba;
	--text-3: #7c8291;
	--signal: #eaff57;
	--signal-hover: #f3ff94;
	--on-signal: #0a0b0d;
	--critical: #d7263d;
	--high: #e8630a;
	--medium: #b98900;
	--low: #2563eb;
	--sans: "Recursive", ui-sans-serif, system-ui, sans-serif;
	--mono: "Recursive Mono", ui-monospace, Menlo, Consolas, monospace;
	--wrap: 1200px;
	--gutter: 32px;
	--radius: 16px;
	--tilt-brand: -14deg;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	color-scheme: dark;
}

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

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

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16.5px/1.6 var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-kerning: normal;
	overflow-x: clip;
}
/* The footer stays at the bottom of short pages. */
body > header,
body > main,
body > footer {
	width: 100%;
}
body > main {
	flex: 1 0 auto;
}

::selection {
	background: var(--signal);
	color: var(--on-signal);
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

code,
pre,
kbd {
	font-family: var(--mono);
	font-size: 0.88em;
}

h1,
h2,
h3 {
	margin: 0;
	font-weight: 640;
	line-height: 1.2;
	text-wrap: balance;
}

p {
	margin: 0;
	text-wrap: pretty;
}

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

[hidden] {
	display: none !important;
}

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

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 50;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--signal);
	color: var(--on-signal);
	font-weight: 620;
}
.skip-link:focus {
	top: 12px;
}

/* --- Labels and headings ---------------------------------------------------- */

.eyebrow {
	color: var(--text-2);
	font: 500 12.5px/1.2 var(--mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.eyebrow::before {
	content: "[ ";
	content: "[ " / "";
	color: var(--signal);
}
.eyebrow::after {
	content: " ]";
	content: " ]" / "";
	color: var(--signal);
}

.section {
	padding-top: 112px;
	padding-bottom: 8px;
}
.section > h2,
.section-head h2,
.split h2,
.faq-section h2 {
	max-width: 19em;
	margin-top: 18px;
	font-size: clamp(32px, 4.2vw, 50px);
	line-height: 1.06;
	letter-spacing: -0.035em;
}
.dim {
	color: var(--text-3);
}
.section-intro {
	max-width: 38em;
	margin-top: 18px;
	color: var(--text-2);
	font-size: 18px;
	line-height: 1.55;
}
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 32px;
}

/* --- Header ----------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	border-bottom: 1px solid var(--line);
	background: rgba(10, 11, 13, 0.78);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: 64px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-weight: 760;
	font-size: 18px;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.brand img {
	display: block;
	width: 32px;
	height: auto;
}
.site-nav {
	display: flex;
	gap: 26px;
	font-size: 14.5px;
}
.site-nav a {
	color: var(--text-2);
	text-decoration: none;
	transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
	color: var(--text);
}
.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}
.report-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.menu {
	position: relative;
	display: none;
}
.menu summary {
	display: grid;
	place-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line-2);
	border-radius: 10px;
	cursor: pointer;
	list-style: none;
}
.menu summary::-webkit-details-marker {
	display: none;
}
.menu summary span {
	display: block;
	width: 16px;
	height: 1.5px;
	background: var(--text);
	transition: transform 0.2s var(--ease);
}
.menu[open] summary span:first-child {
	transform: translateY(3.25px) rotate(45deg);
}
.menu[open] summary span:last-child {
	transform: translateY(-3.25px) rotate(-45deg);
}
.menu-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	display: grid;
	min-width: 240px;
	padding: 8px;
	border: 1px solid var(--line-2);
	border-radius: 14px;
	background: var(--bg-1);
	box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
}
.menu-panel a {
	padding: 11px 12px;
	border-radius: 8px;
	color: var(--text-2);
	font-size: 15.5px;
	text-decoration: none;
}
.menu-panel a:hover {
	background: var(--bg-3);
	color: var(--text);
}

/* --- Buttons ---------------------------------------------------------------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--signal);
	border-radius: 10px;
	background: var(--signal);
	color: var(--on-signal);
	font: 620 15.5px/1 var(--sans);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 8px 24px -14px rgba(234, 255, 87, 0.4);
	transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.button:hover {
	border-color: var(--signal-hover);
	background: var(--signal-hover);
}
.button:active {
	transform: translateY(1px);
}
.button:disabled {
	opacity: 0.45;
	cursor: default;
	transform: none;
}
.button:disabled:hover {
	border-color: var(--signal);
	background: var(--signal);
}
.button-outline {
	border-color: var(--line-2);
	background: rgba(244, 246, 252, 0.04);
	color: var(--text);
	box-shadow: none;
}
.button-outline:hover {
	border-color: var(--line-3);
	background: rgba(244, 246, 252, 0.08);
}
.button-outline:disabled:hover {
	border-color: var(--line-2);
	background: rgba(244, 246, 252, 0.04);
}
.button-small {
	min-height: 36px;
	padding: 0 13px;
	border-radius: 9px;
	font-size: 14.5px;
}
.link-button {
	padding: 0;
	border: 0;
	background: none;
	color: var(--text);
	font: 560 15.5px/1.4 var(--sans);
	text-decoration: underline;
	text-decoration-color: var(--line-3);
	text-underline-offset: 5px;
	cursor: pointer;
	transition: text-decoration-color 0.15s;
}
.link-button:hover {
	text-decoration-color: var(--signal);
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 6px 13px 6px 10px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: rgba(244, 246, 252, 0.03);
	color: var(--text-2);
	font: 500 13.5px/1.2 var(--sans);
}
.pill-mark {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: var(--signal);
	transform: rotate(var(--tilt-brand));
}

/* --- The square ------------------------------------------------------------- */

.tilt-0 { --tilt: 0deg; }
.tilt-1 { --tilt: -1deg; }
.tilt-2 { --tilt: -2deg; }
.tilt-3 { --tilt: -3deg; }
.tilt-4 { --tilt: -4deg; }
.tilt-5 { --tilt: -5deg; }
.tilt-6 { --tilt: -6deg; }
.tilt-7 { --tilt: -7deg; }
.tilt-8 { --tilt: -8deg; }
.tilt-9 { --tilt: -9deg; }
.tilt-10 { --tilt: -10deg; }
.tilt-11 { --tilt: -11deg; }
.tilt-12 { --tilt: -12deg; }
.tilt-13 { --tilt: -13deg; }
.tilt-14 { --tilt: -14deg; }

.square {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border-radius: 14%;
	background: var(--signal);
	color: var(--on-signal);
	transform: rotate(var(--tilt, var(--tilt-brand)));
}

/* --- The command ------------------------------------------------------------ */

.command {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 31em;
	margin-top: 34px;
	padding: 8px 8px 8px 18px;
	border: 1px solid var(--line-2);
	border-radius: 13px;
	background: linear-gradient(180deg, var(--bg-2), var(--bg-1));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 48px -24px rgba(0, 0, 0, 0.8);
	transition: border-color 0.2s;
}
.command:hover {
	border-color: var(--line-3);
}
.command code {
	flex: 1;
	min-width: 0;
	overflow-x: auto;
	color: var(--text);
	font: 500 17px/1.4 var(--mono);
	white-space: nowrap;
	scrollbar-width: none;
}
.command .prompt {
	color: var(--signal);
	user-select: none;
}
.command-note {
	max-width: 36em;
	margin-top: 14px;
	color: var(--text-3);
	font-size: 14.5px;
}
.command-note code {
	color: var(--text-2);
}
.command-note a {
	color: var(--text-2);
}
.command-note a:hover {
	color: var(--text);
}

/* --- Hero ------------------------------------------------------------------- */

.hero-band {
	position: relative;
	isolation: isolate;
	overflow-x: clip;
}
.hero-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: radial-gradient(rgba(244, 246, 252, 0.09) 1px, transparent 1.2px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 70% 65% at 70% 30%, #000 20%, transparent 75%);
	mask-image: radial-gradient(ellipse 70% 65% at 70% 30%, #000 20%, transparent 75%);
}
.hero-band::after {
	content: "";
	position: absolute;
	right: 8%;
	top: 4%;
	z-index: -1;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(234, 255, 87, 0.12), transparent);
	filter: blur(20px);
	pointer-events: none;
}
.hero {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	align-items: center;
	gap: 40px 48px;
	padding-top: 72px;
	padding-bottom: 8px;
}
.hero h1 {
	margin-top: 22px;
	font-size: clamp(44px, 6.2vw, 78px);
	line-height: 0.98;
	font-weight: 660;
	letter-spacing: -0.048em;
}
.lead {
	max-width: 31em;
	margin-top: 24px;
	color: var(--text-2);
	font-size: 19px;
	line-height: 1.55;
}

.hero-visual {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin-left: auto;
	aspect-ratio: 1;
}
.hero-visual canvas {
	display: block;
	width: 100%;
	height: 100%;
}
.chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 9px;
	max-width: 74%;
	padding: 9px 13px;
	border: 1px solid var(--line-2);
	border-radius: 11px;
	background: rgba(21, 24, 29, 0.86);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8);
	color: var(--text);
	font-size: 13.5px;
	font-weight: 520;
	line-height: 1.3;
	animation: chip-in 0.7s var(--ease) both, float 7s ease-in-out infinite;
}
.chip .sq {
	width: 9px;
	height: 9px;
}
.chip-a {
	left: -4%;
	top: 13%;
	animation-delay: 0.5s, 1.2s;
}
.chip-b {
	right: -6%;
	top: 52%;
	animation-delay: 0.8s, 0s;
}
.chip-c {
	left: 6%;
	bottom: 6%;
	animation-delay: 1.1s, 2.4s;
}
.chip-mark {
	display: inline-block;
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--signal);
}
@keyframes chip-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}
@keyframes float {
	50% {
		translate: 0 -5px;
	}
}

.stats {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 40px 0 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.stats div {
	display: flex;
	flex-direction: column-reverse;
	gap: 4px;
	padding: 22px 24px;
}
.stats div + div {
	border-left: 1px solid var(--line);
}
.stats dt {
	color: var(--text-3);
	font-size: 14px;
}
.stats dd {
	margin: 0;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
}

/* --- Agents ------------------------------------------------------------------ */

.agents {
	padding-top: 56px;
}
.agents .eyebrow {
	text-align: center;
}
.marquee {
	margin-top: 22px;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
	display: flex;
	width: max-content;
	margin: 0;
	padding: 6px 0;
	list-style: none;
}
.marquee.is-moving .marquee-track {
	animation: marquee 60s linear infinite;
}
.marquee:hover .marquee-track {
	animation-play-state: paused;
}
.marquee-track li {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 0 28px;
	color: var(--text-2);
	font-size: 18px;
	font-weight: 520;
	letter-spacing: -0.01em;
	white-space: nowrap;
}
.marquee-track li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 1.5px;
	background: var(--line-3);
	transform: rotate(var(--tilt-brand));
}
@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}

/* --- Problem ---------------------------------------------------------------- */

.compare {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: 20px;
	margin-top: 48px;
	align-items: start;
}
.compare-card {
	padding: 26px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-1);
}
.compare-card.is-real {
	position: relative;
	border-color: var(--line-2);
	background: linear-gradient(180deg, rgba(234, 255, 87, 0.045), transparent 140px), var(--bg-1);
}
.compare-card.is-real::before {
	content: "";
	position: absolute;
	left: 28px;
	right: 28px;
	top: -1px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(234, 255, 87, 0.7), transparent);
}
.compare-label {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-size: 15px;
	font-weight: 600;
}
.compare-card:not(.is-real) .compare-label {
	color: var(--text-2);
}
.file-list {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}
.file-list li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 6px 18px;
	padding: 11px 0;
	border-top: 1px solid var(--line);
}
.file-list code {
	color: var(--text);
	font-size: 13.5px;
	overflow-wrap: anywhere;
}
.file-list span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text-3);
	font-size: 14px;
	text-align: right;
}
.file-list .is-risk span {
	color: var(--text-2);
}
.file-list i.sq {
	width: 8px;
	height: 8px;
}
.compare-note {
	margin-top: 14px;
	color: var(--text-3);
	font-size: 13.5px;
}

/* --- How it works ----------------------------------------------------------- */

.steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 48px 0 0;
	padding: 0;
	list-style: none;
}
.step {
	display: flex;
	flex-direction: column;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-1);
}
.step-num {
	color: var(--signal);
	font: 500 13px/1 var(--mono);
	letter-spacing: 0.08em;
}
.step h3 {
	margin-top: 18px;
	font-size: 20px;
	letter-spacing: -0.02em;
}
.step > p {
	margin-top: 8px;
	color: var(--text-2);
	font-size: 15.5px;
}
.step-visual {
	margin-top: auto;
	padding-top: 22px;
}
.mini-command,
.mini-map,
.mini-finding {
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--bg);
	font: 13px/1.55 var(--mono);
}
.mini-command .prompt {
	color: var(--signal);
}
.mini-map p {
	display: grid;
	gap: 1px;
}
.mini-map p + p {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--line);
}
.mini-map code {
	font-size: 1em;
}
.mini-map span,
.mini-fix {
	color: var(--text-3);
}
.mini-finding p:first-child {
	display: flex;
	align-items: center;
	gap: 9px;
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 600;
}
.mini-fix {
	margin-top: 6px;
	font-family: var(--sans);
	font-size: 13.5px;
}
.mini-fix b {
	color: var(--text-2);
	font-weight: 600;
}
.mini-finding i.sq,
.mock-rows i.sq {
	width: 9px;
	height: 9px;
}

/* --- Report demo ------------------------------------------------------------ */

.segmented {
	display: inline-flex;
	gap: 2px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--bg-1);
}
.segmented button {
	min-height: 34px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--text-2);
	font: 560 14.5px var(--sans);
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s;
}
.segmented button:hover {
	color: var(--text);
}
.segmented button[aria-selected="true"],
.segmented button[aria-pressed="true"] {
	background: var(--bg-3);
	color: var(--text);
	box-shadow: inset 0 0 0 1px var(--line-2);
}

.demo {
	position: relative;
	margin-top: 36px;
}
.demo::before {
	content: "";
	position: absolute;
	inset: 12% 10% -6%;
	z-index: -1;
	border-radius: 40px;
	background: radial-gradient(closest-side, rgba(234, 255, 87, 0.08), transparent);
	filter: blur(30px);
}
.window {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--bg-1);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.window-bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 7px;
	height: 42px;
	padding: 0 16px;
	border-bottom: 1px solid var(--line);
	background: var(--bg-2);
}
.window-bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(244, 246, 252, 0.13);
}
.window-bar p {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	color: var(--text-3);
	font: 12.5px var(--mono);
	white-space: nowrap;
}
.demo-note {
	margin-top: 18px;
	color: var(--text-3);
	font-size: 14.5px;
}
.demo-note code {
	color: var(--text-2);
}

.terminal {
	color: var(--text);
}
.terminal pre {
	margin: 0;
	padding: 24px 26px 26px;
	overflow: auto;
	font: 400 13px/1.6 var(--mono);
	white-space: pre;
}
.terminal pre:focus-visible {
	outline-offset: -4px;
}
.terminal b {
	color: var(--text);
	font-weight: 700;
}
.t-cmd {
	color: var(--signal);
}
.t-dim {
	color: var(--text-3);
}
/* The grade's square, three rows tall like the command line draws it. */
.t-tile {
	display: inline-block;
	height: 1.6em;
	vertical-align: top;
	background: var(--signal);
	color: var(--on-signal);
}
.terminal .t-tile b {
	color: var(--on-signal);
	font-weight: 800;
}
/* The command line's own colours for each level. */
.terminal .t-high {
	color: var(--high);
}
.terminal .t-medium {
	color: var(--medium);
}

.mock-report {
	padding: 30px;
}
.mock-head {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	align-items: center;
	gap: 28px;
}
.mock-headline {
	font-size: 21px;
	font-weight: 620;
	line-height: 1.25;
	letter-spacing: -0.02em;
}
.mock-meta {
	margin-top: 12px;
	color: var(--text-3);
	font-size: 14px;
}
.mock-head .grade-square {
	font-size: 40px;
}
.mock-rows {
	margin-top: 26px;
	border-top: 1px solid var(--line-2);
}
.mock-rows p {
	display: grid;
	grid-template-columns: 9px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 13px 2px;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
}
.mock-rows b {
	font-weight: 580;
}
.mock-rows code {
	color: var(--text-3);
	font-size: 12.5px;
}

/* --- What it finds ---------------------------------------------------------- */

.finds {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}
.find-card {
	display: flex;
	flex-direction: column;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-1);
	transition: border-color 0.2s, background-color 0.2s;
}
.find-card:hover {
	border-color: var(--line-2);
	background: var(--bg-2);
}
.find-card h3 {
	font-size: 19px;
	letter-spacing: -0.02em;
}
.find-card > p,
.find-card-text > p {
	margin-top: 8px;
	color: var(--text-2);
	font-size: 15px;
}
/* The newest group of checks, across the whole row: what it covers on the
   left, examples on the right. */
.find-card-wide {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 0 48px;
	align-items: start;
}
.find-card-wide .examples {
	margin: 0;
	padding: 0;
}
.find-card-wide .examples li:first-child {
	padding-top: 2px;
	border-top: 0;
}
.find-card-text > p.find-card-tag {
	margin: 0 0 10px;
	color: var(--signal);
	font: 500 12px/1.2 var(--mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.examples {
	margin: auto 0 0;
	padding: 20px 0 0;
	list-style: none;
}
.examples li {
	display: grid;
	grid-template-columns: 9px minmax(0, 1fr);
	gap: 3px 12px;
	padding: 12px 0;
	border-top: 1px solid var(--line);
}
.examples .sq {
	width: 9px;
	height: 9px;
	margin-top: 7px;
}
.examples strong {
	font-size: 14.5px;
	font-weight: 580;
	line-height: 1.45;
}
.examples code {
	grid-column: 2;
	color: var(--text-3);
	font-size: 12.5px;
	overflow-wrap: anywhere;
}

/* --- Where the files are ---------------------------------------------------- */

.os-switch {
	display: inline-flex;
	gap: 2px;
	margin-top: 32px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--bg-1);
}
.os-switch button {
	min-height: 34px;
	padding: 0 16px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--text-2);
	font: 560 14.5px var(--sans);
	cursor: pointer;
}
.os-switch button:hover {
	color: var(--text);
}
.os-switch button[aria-pressed="true"] {
	background: var(--bg-3);
	color: var(--text);
	box-shadow: inset 0 0 0 1px var(--line-2);
}
.locations-wrap {
	margin-top: 18px;
	padding: 6px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-1);
}
.locations {
	margin: 0;
}
.locations tbody tr:last-child th,
.locations tbody tr:last-child td {
	border-bottom: 0;
}
.locations th[scope="row"] {
	width: 28%;
	padding-right: 24px;
	border-bottom-color: var(--line);
	color: var(--text);
}
.locations td {
	width: 36%;
}
.locations .agent {
	display: block;
	font-size: 15.5px;
	font-weight: 620;
}
.locations .controls {
	display: block;
	margin-top: 2px;
	color: var(--text-3);
	font-size: 13.5px;
	font-weight: 400;
	line-height: 1.45;
}
.paths {
	display: grid;
	gap: 5px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.paths code {
	color: var(--text-2);
	font-size: 13px;
}
.path-note {
	display: block;
	color: var(--text-3);
	font-size: 12.5px;
}
.locations .none {
	color: var(--text-3);
}
.locations-more {
	margin-top: 20px;
}

/* --- The browser check ------------------------------------------------------ */

.check-cta {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	align-items: center;
	gap: 24px 32px;
	padding: 32px;
	border: 1px solid var(--line-2);
	border-radius: 20px;
	background: radial-gradient(120% 140% at 0% 0%, rgba(234, 255, 87, 0.07), transparent 50%), var(--bg-1);
}
.check-cta .square {
	width: 60px;
}
.check-cta h2 {
	margin-top: 10px;
	font-size: 26px;
	letter-spacing: -0.025em;
}
.check-cta p:not(.eyebrow) {
	max-width: 40em;
	margin-top: 8px;
	color: var(--text-2);
	font-size: 15.5px;
}
.check-cta .check-actions {
	justify-content: flex-end;
}

.check-page {
	padding-top: 64px;
}
.check-page h1 {
	margin-top: 18px;
	font-size: clamp(36px, 4.8vw, 56px);
	line-height: 1.04;
	letter-spacing: -0.04em;
}
.check-page .section-intro {
	max-width: 40em;
}
.browser-check {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px 32px;
	margin-top: 40px;
	padding: 30px 32px;
	border: 1px dashed var(--line-3);
	border-radius: 20px;
	background: var(--bg-1);
	scroll-margin-top: 96px;
	transition: background-color 0.2s, border-color 0.2s;
}
.browser-check:focus {
	outline: none;
}
.check-square {
	width: 52px;
	transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.browser-check h2 {
	font-size: 21px;
	line-height: 1.25;
	letter-spacing: -0.02em;
}
.check-text p {
	max-width: 40em;
	margin-top: 6px;
	color: var(--text-2);
	font-size: 15px;
}
/* Only on touch screens without a mouse, where folders are often out of
   reach and the settings that matter are on another computer. */
.touch-note {
	display: none;
}
@media (hover: none) and (pointer: coarse) {
	.check-text .touch-note {
		display: block;
	}
}
.touch-note a {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.check-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 12px 18px;
}
.browser-check.is-over {
	border-color: var(--signal);
	border-style: solid;
	background: rgba(234, 255, 87, 0.06);
}
.browser-check.is-over .check-square {
	transform: rotate(0deg) scale(1.1);
}
.browser-check.is-busy .check-square {
	animation: wobble 1.1s ease-in-out infinite;
}
.check-promises {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 28px;
	margin: 18px 0 0;
	padding: 0;
	color: var(--text-3);
	font-size: 14px;
	list-style: none;
}
.check-promises li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}
.check-promises li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 1.5px;
	background: var(--signal);
}

.status {
	min-height: 24px;
	margin-top: 14px;
	color: var(--text-2);
	font-size: 15px;
}
.status.is-error {
	color: #ff6b7d;
	font-weight: 560;
}

@keyframes wobble {
	0%,
	100% {
		transform: rotate(-14deg);
	}
	50% {
		transform: rotate(-4deg);
	}
}

/* --- Results ---------------------------------------------------------------- */

.results {
	margin-top: 48px;
	scroll-margin-top: 96px;
}
.result-head {
	display: grid;
	grid-template-columns: 200px minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.grade-tile {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border: 1px solid var(--line-2);
	border-radius: 20px;
	background: radial-gradient(closest-side, rgba(234, 255, 87, 0.09), transparent), var(--bg-1);
}
.grade-square {
	width: 58%;
	font-weight: 900;
	font-size: 60px;
	line-height: 1;
	letter-spacing: -0.03em;
	box-shadow: 0 16px 40px -14px rgba(234, 255, 87, 0.5);
	animation: settle 0.9s cubic-bezier(0.25, 1.25, 0.4, 1) both;
}
.grade-none .grade-square {
	font-size: 42px;
}
@keyframes settle {
	from {
		transform: rotate(0deg);
	}
}
.result-headline {
	font-size: clamp(25px, 3vw, 36px);
	line-height: 1.14;
	letter-spacing: -0.03em;
	outline: none;
}
.counts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
	font-size: 15.5px;
}
.counts li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text-2);
}
.counts b {
	color: var(--text);
	font-weight: 700;
}

.sq {
	display: inline-block;
	flex: 0 0 auto;
	width: 11px;
	height: 11px;
	border-radius: 2px;
	background: var(--sev, var(--text-3));
}
.sev-critical {
	--sev: var(--critical);
}
.sev-high {
	--sev: var(--high);
}
.sev-medium {
	--sev: var(--medium);
}
.sev-low {
	--sev: var(--low);
}
.sev-info {
	--sev: var(--text-3);
}
.sev-none {
	--sev: var(--signal);
}

.result-meta {
	display: grid;
	gap: 4px;
	margin-top: 16px;
	color: var(--text-2);
	font-size: 15px;
}
.result-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
	margin-top: 36px;
}

.share-panel {
	margin-top: 24px;
	padding: 24px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: var(--bg-1);
}
.share-panel h3 {
	font-size: 19px;
}
.share-panel > p {
	margin-top: 6px;
	color: var(--text-2);
	font-size: 15px;
}
.payload {
	max-height: 320px;
	margin: 16px 0 0;
	padding: 16px 18px;
	overflow: auto;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--bg);
	color: var(--text-2);
	font: 13px/1.55 var(--mono);
}
.payload:focus-visible {
	outline-offset: 2px;
}
.share-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
	margin-top: 18px;
}
.copy-label {
	display: block;
	margin: 18px 0 6px;
	color: var(--text-2);
	font-size: 14px;
	font-weight: 560;
}
.copy-row {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}
.copy-row input {
	flex: 1;
	min-width: 0;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line-2);
	border-radius: 9px;
	background: var(--bg);
	color: var(--text);
	font: 13.5px var(--mono);
}

/* --- Tabs ------------------------------------------------------------------- */

.tabs {
	display: flex;
	gap: 28px;
	margin-top: 56px;
	border-bottom: 1px solid var(--line-2);
	overflow-x: auto;
	scrollbar-width: none;
}
.tabs [role="tab"] {
	position: relative;
	padding: 12px 0;
	border: 0;
	background: none;
	color: var(--text-2);
	font: 560 15.5px var(--sans);
	white-space: nowrap;
	cursor: pointer;
}
.tabs [role="tab"]:hover {
	color: var(--text);
}
.tabs [role="tab"][aria-selected="true"] {
	color: var(--text);
}
.tabs [role="tab"][aria-selected="true"]::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	border-radius: 2px;
	background: var(--signal);
}
.tab-count {
	margin-left: 7px;
	color: var(--text-3);
	font-weight: 450;
}
.tab-panel {
	padding-top: 28px;
}

/* --- Findings --------------------------------------------------------------- */

.group + .group {
	margin-top: 40px;
}
.group-title {
	display: flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 10px;
	font-size: 18px;
	letter-spacing: -0.015em;
}
.group-count {
	color: var(--text-3);
	font-weight: 450;
}
.finding {
	border-top: 1px solid var(--line);
}
.finding:last-child {
	border-bottom: 1px solid var(--line);
}
.finding summary {
	display: grid;
	grid-template-columns: 11px minmax(0, 1fr) auto 10px;
	align-items: baseline;
	gap: 4px 14px;
	padding: 15px 6px;
	border-radius: 8px;
	cursor: pointer;
	list-style: none;
	transition: background-color 0.15s;
}
.finding summary::-webkit-details-marker {
	display: none;
}
/* A chevron that turns when the finding opens, so it reads as something to open. */
.finding summary::after,
.legend summary::after {
	content: "";
	grid-column: 4;
	grid-row: 1;
	align-self: center;
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 1.5px solid var(--text-3);
	border-bottom: 1.5px solid var(--text-3);
	transform: rotate(45deg);
	transition:
		transform 0.2s var(--ease),
		margin 0.2s var(--ease),
		border-color 0.15s;
}
.finding[open] > summary::after,
.legend[open] > summary::after {
	margin-top: 2px;
	transform: rotate(225deg);
}
.finding summary:hover {
	background: rgba(244, 246, 252, 0.03);
}
.finding summary:hover::after,
.legend summary:hover::after {
	border-color: var(--signal);
}
.finding .sq {
	align-self: center;
}
.f-title {
	font-weight: 580;
}
.f-where {
	color: var(--text-3);
	font: 13px var(--mono);
	text-align: right;
	overflow-wrap: anywhere;
}
.f-body {
	display: grid;
	gap: 10px;
	max-width: 46em;
	padding: 0 6px 22px 31px;
	color: var(--text-2);
	font-size: 15.5px;
}
.f-body b {
	color: var(--text);
	font-weight: 620;
}
/* Long setting names, such as github.copilot.chat.claudeAgent.allowDangerouslySkipPermissions, wrap. */
.f-title,
.f-body,
.legend,
.rule {
	overflow-wrap: break-word;
}
.f-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 18px;
	color: var(--text-3);
	font-size: 14px;
}
.f-rule {
	color: var(--text-3);
	font: 13px var(--mono);
	text-decoration: underline;
	text-decoration-color: var(--line-3);
	text-underline-offset: 3px;
}
.f-rule:hover {
	color: var(--signal);
	text-decoration-color: currentColor;
}

/* What the levels mean, folded under one line above the findings. */
.legend {
	margin: 0 0 30px;
	color: var(--text-2);
	font-size: 14.5px;
}
.chapter > h2 + .legend,
.chapter-intro + .legend {
	margin-top: 18px;
}
.legend summary {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--text-2);
	cursor: pointer;
	list-style: none;
}
.legend summary::-webkit-details-marker {
	display: none;
}
.legend summary:hover {
	color: var(--text);
}
.legend dl {
	display: grid;
	gap: 10px;
	max-width: 52em;
	margin: 16px 0 0;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--bg-1);
}
.legend dl div {
	display: grid;
	grid-template-columns: 6.5em minmax(0, 1fr);
	align-items: baseline;
	gap: 14px;
}
.legend dt {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--text);
	font-weight: 580;
}
.legend dd {
	margin: 0;
}
.legend p {
	max-width: 52em;
	margin: 12px 0 0;
}
.legend a {
	color: var(--text);
	text-underline-offset: 3px;
}
.evidence {
	margin: 4px 0 0;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--bg);
	color: var(--text);
	font: 13px/1.6 var(--mono);
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.evidence-where {
	display: block;
	margin-bottom: 4px;
	color: var(--text-3);
}
.empty {
	padding: 28px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	color: var(--text-2);
}

/* --- Tables ----------------------------------------------------------------- */

.table-wrap {
	overflow-x: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
th,
td {
	padding: 13px 14px 13px 0;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}
th {
	border-bottom-color: var(--line-2);
	color: var(--text-3);
	font-weight: 560;
	font-size: 13.5px;
}
td code {
	color: var(--text-2);
	overflow-wrap: anywhere;
	font-size: 13.5px;
}
.num {
	text-align: right;
	padding-right: 0;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

/* What each agent file says */
.map-group + .map-group {
	margin-top: 32px;
}
.map-scope {
	color: var(--text-3);
	font: 500 12.5px/1.3 var(--mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.map-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line-2);
}
.map-item {
	padding: 16px 0;
	border-bottom: 1px solid var(--line);
}
.map-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
}
.map-head code {
	color: var(--text);
	font-size: 14px;
	font-weight: 600;
	overflow-wrap: anywhere;
}
.map-agents {
	color: var(--text-3);
	font-size: 14px;
}
.map-issues {
	margin-left: auto;
	color: var(--text-3);
	font-size: 14px;
	white-space: nowrap;
}
.map-issues.has-issues {
	color: var(--text);
	font-weight: 600;
}
.map-summary {
	max-width: 52em;
	margin-top: 6px;
	color: var(--text-2);
}
.map-path {
	display: block;
	margin-top: 6px;
	color: var(--text-3);
	font-size: 13px;
	overflow-wrap: anywhere;
}
.map-details {
	margin-top: 8px;
}
.map-details summary {
	width: fit-content;
	color: var(--text);
	font-size: 14.5px;
	font-weight: 560;
	text-decoration: underline;
	text-decoration-color: var(--line-3);
	text-underline-offset: 5px;
	cursor: pointer;
}
.map-details summary:hover {
	text-decoration-color: var(--signal);
}
.map-details ul {
	display: grid;
	gap: 4px;
	max-width: 52em;
	margin: 10px 0 0;
	padding-left: 18px;
	color: var(--text-2);
	font-size: 14.5px;
	overflow-wrap: anywhere;
}
.map-details li::marker {
	color: var(--text-3);
}
.map-details .map-more {
	margin-top: 4px;
	color: var(--text-3);
	list-style: none;
}
.panel-sub {
	max-width: 46em;
	margin-bottom: 18px;
	color: var(--text-2);
}
.sent-summary {
	display: grid;
	gap: 4px;
	margin-bottom: 20px;
	color: var(--text-2);
}
.sent-summary b {
	color: var(--text);
}

/* --- Privacy and platform --------------------------------------------------- */

.principles,
.platform {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}
.principle,
.platform-card {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-1);
}
.principle::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	margin-bottom: 20px;
	border-radius: 2.5px;
	background: var(--signal);
}
.principle h3 {
	font-size: 17.5px;
	letter-spacing: -0.015em;
}
.principle p,
.platform-card p:not(.platform-name) {
	margin-top: 8px;
	color: var(--text-2);
	font-size: 15px;
}
.principle a {
	color: var(--text);
	text-decoration-color: var(--line-3);
}
.principle a:hover {
	text-decoration-color: var(--signal);
}
.platform-name {
	color: var(--text);
	font: 500 13px/1.3 var(--mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.split h2 {
	font-size: clamp(30px, 3.4vw, 42px);
}
.split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: 56px;
	align-items: center;
}
.badge-demo {
	display: grid;
	gap: 18px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-1);
}
.badge-demo img {
	width: 240px;
	height: auto;
}
.badge-demo pre {
	margin: 0;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--bg);
	color: var(--text-2);
	font-size: 13px;
	line-height: 1.55;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

/* --- Questions -------------------------------------------------------------- */

.faq-section {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: 40px 56px;
	align-items: start;
}
.faq-section h2 .dim {
	display: block;
}
.faq details {
	border-top: 1px solid var(--line);
}
.faq details:last-child {
	border-bottom: 1px solid var(--line);
}
.faq summary {
	position: relative;
	padding: 20px 44px 20px 0;
	font-size: 17.5px;
	font-weight: 580;
	letter-spacing: -0.01em;
	cursor: pointer;
	list-style: none;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::before,
.faq summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 14px;
	height: 1.5px;
	background: var(--text-2);
	transition: transform 0.2s var(--ease);
}
.faq summary::after {
	transform: rotate(90deg);
}
.faq details[open] summary::after {
	transform: rotate(0deg);
}
.faq summary:hover::before,
.faq summary:hover::after {
	background: var(--signal);
}
.faq details p {
	max-width: 44em;
	padding-bottom: 22px;
	color: var(--text-2);
}
.faq code {
	color: var(--text);
}

/* --- Final call to action --------------------------------------------------- */

.final-cta {
	display: grid;
	justify-items: center;
	padding-top: 136px;
	text-align: center;
}
.final-square {
	width: 76px;
	box-shadow: 0 24px 60px -16px rgba(234, 255, 87, 0.55);
}
.final-cta h2 {
	max-width: 14em;
	margin-top: 40px;
	font-size: clamp(34px, 4.6vw, 56px);
	line-height: 1.04;
	letter-spacing: -0.04em;
}
.final-cta > p {
	margin-top: 16px;
	color: var(--text-2);
	font-size: 18px;
}
.final-cta .command {
	margin-top: 32px;
	text-align: left;
}

/* --- Footer ----------------------------------------------------------------- */

.site-footer {
	margin-top: 136px;
	border-top: 1px solid var(--line);
	color: var(--text-2);
	font-size: 14.5px;
}
.footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px;
	padding-top: 48px;
	padding-bottom: 40px;
}
.footer-brand p {
	max-width: 24em;
	margin-top: 14px;
	color: var(--text-3);
}
.footer-cols {
	display: flex;
	gap: 72px;
}
.footer-cols div {
	display: grid;
	align-content: start;
	gap: 10px;
}
.footer-cols .eyebrow {
	margin-bottom: 4px;
	color: var(--text-3);
	font-size: 11.5px;
}
.footer-cols a,
.footer-links a {
	color: var(--text-2);
	text-decoration: none;
	transition: color 0.15s;
}
.footer-cols a:hover,
.footer-links a:hover {
	color: var(--text);
}
/* On touch screens, small text links get a taller tap area. It's an empty
   layer around the link, so nothing moves. */
@media (pointer: coarse) {
	.footer-cols a,
	.footer-links a,
	.link-button {
		position: relative;
	}
	.footer-cols a::after,
	.footer-links a::after,
	.link-button::after {
		content: "";
		position: absolute;
		inset: -5px 0;
	}
}
.footer-links {
	display: flex;
	gap: 24px;
}
.site-footer > .footer-base:first-child::before {
	display: none;
}
.footer-base {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 20px;
	padding-bottom: 40px;
	color: var(--text-3);
	font-size: 13.5px;
}
/* A rule as wide as the text, not the padding around it. */
.footer-base::before {
	content: "";
	position: absolute;
	left: var(--gutter);
	right: var(--gutter);
	top: 0;
	height: 1px;
	background: var(--line);
}

/* --- Report pages ----------------------------------------------------------- */

.report-page {
	padding-top: 48px;
}
.chapter {
	margin-top: 72px;
	padding-top: 32px;
	border-top: 1px solid var(--line-2);
}
.chapter > h2,
.chapter-head h2 {
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.1;
	letter-spacing: -0.03em;
}
.chapter-intro {
	max-width: 40em;
	margin-top: 12px;
	color: var(--text-2);
	font-size: 16.5px;
}
.chapter-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
}
.signature {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	margin-top: 36px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--bg-1);
}
.sig-mark {
	position: relative;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: 5px;
	background: var(--bg-3);
}
.signature[data-state="valid"] .sig-mark {
	background: var(--signal);
}
.signature[data-state="valid"] .sig-mark::after {
	content: "";
	position: absolute;
	left: 8px;
	top: 4px;
	width: 5px;
	height: 10px;
	border-right: 2.5px solid var(--on-signal);
	border-bottom: 2.5px solid var(--on-signal);
	transform: rotate(45deg);
}
.signature[data-state="invalid"] .sig-mark {
	background: var(--critical);
}
.sig-status {
	font-weight: 620;
}
.sig-detail {
	margin-top: 2px;
	color: var(--text-2);
	font-size: 15px;
}
.sig-detail code {
	color: var(--text);
}
.delete-box {
	margin-top: 12px;
}
.private-report .group:first-of-type,
.private-report .map-group:first-of-type {
	margin-top: 28px;
}
.private-note .sig-mark::after {
	content: "";
	position: absolute;
	inset: 7px;
	border-radius: 2px;
	background: var(--signal);
}

.cta-panel {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	margin-top: 96px;
	padding: 36px;
	border: 1px solid var(--line-2);
	border-radius: 20px;
	background: radial-gradient(120% 140% at 0% 0%, rgba(234, 255, 87, 0.07), transparent 50%), var(--bg-1);
}
.cta-panel .square {
	width: 80px;
}
.cta-panel h2 {
	font-size: 28px;
	letter-spacing: -0.025em;
}
.cta-panel p {
	margin-top: 6px;
	color: var(--text-2);
}
.cta-panel .cta-command {
	margin-top: 16px;
}
.cta-panel .cta-command code {
	display: inline-block;
	padding: 8px 14px;
	border: 1px solid var(--line-2);
	border-radius: 9px;
	background: var(--bg);
	color: var(--text);
	font-size: 15px;
}
.cta-panel .button {
	margin-top: 18px;
}

.not-found {
	max-width: 40em;
	padding-top: 96px;
}
.not-found h1 {
	font-size: clamp(34px, 4.8vw, 54px);
	line-height: 1.04;
	letter-spacing: -0.04em;
}
.not-found p {
	margin-top: 16px;
	color: var(--text-2);
	font-size: 18px;
}
.not-found .button {
	margin-top: 28px;
}

/* --- Policy pages ---------------------------------------------------------- */
/* Privacy, terms and security: long text set for reading. */

.doc {
	max-width: 46em;
	padding-top: 88px;
	padding-bottom: 40px;
}
.doc h1 {
	margin-top: 14px;
	font-size: clamp(34px, 4.8vw, 54px);
	line-height: 1.04;
	letter-spacing: -0.04em;
}
.doc .doc-updated {
	margin-top: 14px;
	color: var(--text-3);
	font: 500 13px/1.4 var(--mono);
}
.doc .doc-lead {
	margin-top: 22px;
	color: var(--text-2);
	font-size: 19px;
	line-height: 1.55;
}
.doc h2 {
	margin-top: 52px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 23px;
	letter-spacing: -0.02em;
}
.doc h3 {
	margin-top: 28px;
	font-size: 17px;
}
.doc p,
.doc li {
	color: var(--text-2);
	font-size: 16px;
	line-height: 1.65;
}
.doc p {
	margin-top: 14px;
}
.doc ul {
	margin: 14px 0 0;
	padding-left: 1.2em;
}
.doc li + li {
	margin-top: 8px;
}
.doc strong {
	color: var(--text);
	font-weight: 600;
}
.doc a {
	color: var(--text);
}
.doc code {
	color: var(--text);
	font-size: 0.86em;
	overflow-wrap: anywhere;
}

/* --- Rules page ---------------------------------------------------------------- */

.rules-page {
	max-width: 52em;
}
.rules-page var {
	color: var(--text);
	font-style: italic;
}
.rules-toc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
}
.rules-toc a {
	padding: 6px 12px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	color: var(--text-2);
	font-size: 14px;
	text-decoration: none;
}
.rules-toc a:hover {
	border-color: var(--line-3);
	color: var(--text);
}
.rules-toc span {
	color: var(--text-3);
}
.levels {
	display: grid;
	gap: 12px;
	margin: 18px 0 0;
}
.levels div {
	display: grid;
	grid-template-columns: 6.5em minmax(0, 1fr);
	align-items: baseline;
	gap: 14px;
}
.levels dt {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--text);
	font-weight: 580;
}
.levels dd {
	margin: 0;
	color: var(--text-2);
	line-height: 1.6;
}
.rule {
	padding: 20px 0 22px;
	border-top: 1px solid var(--line);
	scroll-margin-top: 90px;
}
.rule + h2 {
	margin-top: 40px;
}
/* The rule a report linked to. */
.rule:target {
	margin: 0 -16px;
	padding-right: 16px;
	padding-left: 16px;
	border-radius: 10px;
	background: var(--bg-1);
	box-shadow: inset 2px 0 0 var(--signal);
}
.rule-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	color: var(--text-3);
	font-size: 13.5px;
}
.rule-sev {
	color: var(--text-2);
	font-weight: 560;
}
.rule-id {
	color: var(--text-2);
	font: 13px var(--mono);
	text-decoration: none;
}
.doc .rule-id {
	color: var(--text-2);
}
.rule-id:hover {
	color: var(--signal);
}
.doc h3.rule-title {
	margin-top: 10px;
	font-size: 17.5px;
	font-weight: 580;
	letter-spacing: -0.01em;
	line-height: 1.4;
}
.doc .rule p {
	margin-top: 8px;
	font-size: 15.5px;
}
.rule p b {
	color: var(--text);
	font-weight: 620;
}
.doc .table-wrap {
	margin-top: 18px;
}
.doc table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
.doc th,
.doc td {
	padding: 12px 14px 12px 0;
	border-bottom: 1px solid var(--line);
	color: var(--text-2);
	text-align: left;
	vertical-align: top;
}
.doc th {
	color: var(--text);
	font-weight: 600;
}

/* --- Reveal on scroll ------------------------------------------------------- */
/* Added by the page's script, so nothing is hidden when scripts don't run. */

.reveal-ready .reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-ready .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* --- Smaller screens -------------------------------------------------------- */

@media (max-width: 1080px) {
	.site-nav {
		display: none;
	}
	.menu {
		display: block;
	}
	.finds {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.principles,
	.platform {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.find-card-wide {
		grid-template-columns: 1fr;
	}
	.find-card-wide .examples {
		padding-top: 20px;
	}
	.find-card-wide .examples li:first-child {
		padding-top: 12px;
		border-top: 1px solid var(--line);
	}
	.hero {
		grid-template-columns: 1fr;
		padding-top: 48px;
	}
	.hero-visual {
		max-width: 420px;
		margin: 8px auto 0;
	}
	.hero-band::after {
		right: 0;
		top: 34%;
		width: 100%;
		height: 420px;
	}
	.compare,
	.split,
	.faq-section {
		grid-template-columns: 1fr;
	}
	.steps {
		grid-template-columns: 1fr;
	}
	.check-cta,
	.browser-check {
		grid-template-columns: 56px minmax(0, 1fr);
	}
	.check-cta .square {
		width: 48px;
	}
	.check-actions,
	.check-cta .check-actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.stats div:nth-child(3) {
		border-left: 0;
	}
	.stats div:nth-child(n + 3) {
		border-top: 1px solid var(--line);
	}
}

@media (max-width: 720px) {
	:root {
		--gutter: 20px;
	}
	body {
		font-size: 16px;
	}
	.header-actions .button-small {
		display: none;
	}
	.hero h1 {
		margin-top: 18px;
	}
	.lead {
		font-size: 17.5px;
	}
	.command code {
		font-size: 15px;
	}
	.chip {
		font-size: 12px;
		padding: 7px 10px;
	}
	.chip-a {
		left: 0;
	}
	.chip-b {
		right: 0;
	}
	.chip-c {
		left: 4%;
	}
	.stats div {
		padding: 18px 16px;
	}
	.stats dd {
		font-size: 26px;
	}
	.section {
		padding-top: 88px;
	}
	.section-intro {
		font-size: 16.5px;
	}
	.finds,
	.principles,
	.platform {
		grid-template-columns: 1fr;
	}
	.compare-card,
	.step,
	.find-card {
		padding: 22px;
	}
	.file-list li {
		grid-template-columns: 1fr;
	}
	.file-list span {
		text-align: left;
	}
	.mock-report {
		padding: 22px;
	}
	.mock-head {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.mock-head .grade-tile {
		width: 104px;
	}
	.mock-rows p {
		grid-template-columns: 9px minmax(0, 1fr);
	}
	.mock-rows code {
		grid-column: 2;
	}
	.terminal pre {
		padding: 18px 16px 20px;
		font-size: 11px;
	}
	.window-bar p {
		font-size: 11.5px;
	}
	.locations-wrap {
		padding: 4px 18px;
	}
	.locations thead {
		display: none;
	}
	.locations tr {
		display: block;
		padding: 18px 0;
		border-bottom: 1px solid var(--line);
	}
	.locations tbody tr:last-child {
		border-bottom: 0;
	}
	.locations th[scope="row"],
	.locations td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
	}
	.locations td {
		margin-top: 12px;
	}
	.locations td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		color: var(--text-3);
		font-size: 13px;
		font-weight: 560;
	}
	.check-cta,
	.browser-check {
		grid-template-columns: 1fr;
		padding: 24px 22px;
	}
	.check-square {
		width: 40px;
	}
	.check-actions .button {
		flex: 1 1 100%;
	}
	.result-head {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.grade-tile {
		width: 150px;
	}
	.grade-square {
		font-size: 46px;
	}
	.finding summary {
		grid-template-columns: 11px minmax(0, 1fr) 10px;
	}
	.finding summary::after {
		grid-column: 3;
	}
	.f-where {
		grid-column: 2;
		text-align: left;
	}
	.legend dl div,
	.levels div {
		grid-template-columns: minmax(0, 1fr);
		gap: 2px;
	}
	.f-body {
		padding-left: 31px;
	}
	.tabs {
		gap: 18px;
	}
	.tabs [role="tab"] {
		font-size: 15px;
	}
	.cta-panel {
		grid-template-columns: 1fr;
		padding: 28px 22px;
	}
	.copy-row {
		flex-direction: column;
	}
	.final-cta {
		padding-top: 104px;
	}
	.final-cta .command {
		width: 100%;
	}
	.footer-inner {
		grid-template-columns: 1fr;
	}
	.footer-cols {
		flex-wrap: wrap;
		gap: 32px 48px;
	}
	.footer-links {
		flex-wrap: wrap;
		gap: 10px 20px;
	}
	.site-footer {
		margin-top: 104px;
	}
	/* Printing is for a computer; on a phone, the link is what's useful. */
	.report-actions #print {
		display: none;
	}
}

/* --- Printing --------------------------------------------------------------- */
/* Reports print light, without the page's controls. The private report opens
   every collapsed section before it prints. */

@media print {
	:root {
		--bg: #ffffff;
		--bg-1: #ffffff;
		--bg-2: #f4f6fc;
		--bg-3: #e9ecf3;
		--line: #dfe3ec;
		--line-2: #c9ceda;
		--line-3: #9aa1b0;
		--text: #000000;
		--text-2: #3d424d;
		--text-3: #5d6370;
		--on-signal: #000000;
		color-scheme: light;
	}
	.site-header {
		position: static;
		border: 0;
		background: none;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.site-nav,
	.menu,
	.header-actions,
	.report-actions,
	.footer-links,
	.footer-cols,
	.delete-box,
	.chapter-head .button,
	.skip-link {
		display: none !important;
	}
	body {
		font-size: 11pt;
	}
	.report-page {
		padding-top: 8px;
	}
	.chapter {
		margin-top: 36px;
	}
	.site-footer {
		margin-top: 40px;
	}
	.footer-base {
		padding-bottom: 0;
	}
	.grade-square {
		box-shadow: none;
	}
	/* The logo with dark letters, for paper. */
	.brand img {
		content: url("/mark-black.svg");
	}
	.finding,
	.map-item,
	.rule {
		break-inside: avoid;
	}
	.finding summary::after,
	.legend summary::after {
		display: none;
	}
	.grade-tile,
	.square,
	.sq,
	.signature,
	.sig-mark,
	.evidence {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}
}

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