/*
Theme Name: Neurokinetic Kinetic
Theme URI: https://neurokinetic.com/
Author: Neurokinetic
Description: Neurokinetic AI website for language-agnostic semantic layers, semantic isomorphism, concept registries, and auditable AI handoffs.
Version: 3.0.0
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 8.0
Template: twentytwentyfive
Text Domain: neurokinetic-kinetic
Tags: block-theme, full-site-editing, custom-colors, custom-menu
*/

:root {
	--nk-ink: #111417;
	--nk-ink-2: #1e2528;
	--nk-paper: #f4f7f2;
	--nk-white: #ffffff;
	--nk-cloud: #e8eee9;
	--nk-line: rgba(17, 20, 23, 0.16);
	--nk-muted: #526066;
	--nk-teal: #007f86;
	--nk-blue: #234bd8;
	--nk-green: #18815d;
	--nk-red: #d84d38;
	--nk-yellow: #d7a10e;
	--nk-violet: #7657d8;
	--nk-radius: 8px;
	--nk-content: 1180px;
	--nk-measure: 760px;
	--nk-shadow: 0 18px 54px rgba(17, 20, 23, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html,
body {
	max-width: 100%;
	overflow-x: hidden;
}

body {
	background: var(--nk-paper);
	color: var(--nk-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	letter-spacing: 0;
	line-height: 1.65;
	margin: 0;
}

body.admin-bar .nk-site-header {
	top: 32px;
}

a {
	color: var(--nk-blue);
	text-decoration-color: currentColor;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus {
	color: var(--nk-red);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
	outline: 3px solid var(--nk-yellow);
	outline-offset: 3px;
}

img,
canvas {
	display: block;
	max-width: 100%;
}

.wp-site-blocks {
	min-height: 100vh;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.nk-site-header {
	background: rgba(244, 247, 242, 0.94);
	border-bottom: 1px solid var(--nk-line);
	backdrop-filter: blur(18px);
	position: sticky;
	top: 0;
	z-index: 50;
}

.nk-header-inner,
.nk-section-inner {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--nk-content);
	padding-left: 24px;
	padding-right: 24px;
}

.nk-header-inner {
	align-items: center;
	display: grid;
	gap: 20px;
	grid-template-columns: auto minmax(0, 1fr);
	min-height: 72px;
}

.nk-brand {
	align-items: center;
	color: var(--nk-ink);
	display: inline-flex;
	font-size: 18px;
	font-weight: 900;
	gap: 10px;
	text-decoration: none;
	white-space: nowrap;
}

.nk-brand-mark {
	background:
		linear-gradient(90deg, var(--nk-blue) 0 24%, transparent 24% 33%, var(--nk-red) 33% 57%, transparent 57% 66%, var(--nk-green) 66%);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	box-shadow: 0 0 0 1px rgba(17, 20, 23, 0.18);
	display: inline-block;
	height: 16px;
	width: 42px;
}

.nk-menu-toggle {
	align-items: center;
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	color: var(--nk-ink);
	cursor: pointer;
	display: none;
	height: 44px;
	justify-content: center;
	padding: 0;
	width: 44px;
}

.nk-menu-toggle__bars,
.nk-menu-toggle__bars::before,
.nk-menu-toggle__bars::after {
	background: currentColor;
	border-radius: 999px;
	content: "";
	display: block;
	height: 2px;
	width: 20px;
}

.nk-menu-toggle__bars {
	position: relative;
}

.nk-menu-toggle__bars::before,
.nk-menu-toggle__bars::after {
	left: 0;
	position: absolute;
}

.nk-menu-toggle__bars::before {
	top: -7px;
}

.nk-menu-toggle__bars::after {
	top: 7px;
}

.nk-nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: flex-end;
}

.nk-nav a {
	border: 1px solid transparent;
	border-radius: 999px;
	color: #374147;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	padding: 9px 10px;
	text-decoration: none;
}

.nk-nav a:hover,
.nk-nav a:focus,
.nk-nav a[aria-current="page"] {
	background: var(--nk-ink);
	border-color: var(--nk-ink);
	color: var(--nk-white);
}

.nk-main {
	background: var(--nk-paper);
	overflow: clip;
}

.nk-hero,
.nk-page-hero {
	background: var(--nk-ink);
	color: var(--nk-white);
	isolation: isolate;
	overflow: hidden;
	position: relative;
}

.nk-hero {
	min-height: calc(100svh - 168px);
	padding: 86px 0 70px;
}

.nk-page-hero {
	min-height: 560px;
	padding: 80px 0 66px;
}

.nk-hero-canvas,
.nk-page-canvas {
	height: 100%;
	inset: 0;
	opacity: 0.92;
	position: absolute;
	width: 100%;
	z-index: -2;
}

.nk-hero::after,
.nk-page-hero::after {
	background:
		linear-gradient(90deg, rgba(17, 20, 23, 0.96) 0%, rgba(17, 20, 23, 0.75) 44%, rgba(17, 20, 23, 0.24) 100%),
		linear-gradient(180deg, rgba(17, 20, 23, 0.28), rgba(17, 20, 23, 0.88));
	content: "";
	inset: 0;
	position: absolute;
	z-index: -1;
}

.nk-hero-grid,
.nk-page-hero-grid {
	align-items: end;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1.12fr) minmax(290px, 0.58fr);
}

.nk-hero-copy,
.nk-page-hero-copy {
	max-width: 850px;
	min-width: 0;
}

.nk-eyebrow {
	align-items: center;
	color: #9bf0e4;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	gap: 10px;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.nk-eyebrow::before {
	background: currentColor;
	border-radius: 999px;
	content: "";
	height: 8px;
	width: 30px;
}

.nk-hero h1,
.nk-page-hero h1 {
	font-size: clamp(44px, 6vw, 86px);
	letter-spacing: 0;
	line-height: 0.92;
	margin: 0;
	max-width: 760px;
	overflow-wrap: anywhere;
}

.nk-page-hero h1 {
	font-size: clamp(42px, 7vw, 88px);
}

.nk-hero p,
.nk-page-hero p {
	color: rgba(255, 255, 255, 0.84);
	font-size: 21px;
	line-height: 1.5;
	margin: 22px 0 0;
	max-width: 770px;
}

.nk-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.nk-button {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: var(--nk-radius);
	display: inline-flex;
	font-size: 15px;
	font-weight: 900;
	justify-content: center;
	min-height: 46px;
	padding: 11px 16px;
	text-decoration: none;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nk-button-primary {
	background: var(--nk-white);
	color: var(--nk-ink);
}

.nk-button-secondary {
	background: rgba(255, 255, 255, 0.08);
	color: var(--nk-white);
}

.nk-button-dark,
.nk-button-on-light {
	border-color: var(--nk-ink);
	color: var(--nk-ink);
}

.nk-button-dark {
	background: var(--nk-ink);
	color: var(--nk-white);
}

.nk-button-on-light {
	background: var(--nk-white);
}

.nk-button:hover,
.nk-button:focus {
	background: var(--nk-yellow);
	border-color: var(--nk-yellow);
	color: var(--nk-ink);
	transform: translateY(-1px);
}

.nk-hero-index {
	align-self: stretch;
	border-left: 1px solid rgba(255, 255, 255, 0.28);
	display: grid;
	gap: 14px;
	padding-left: 24px;
}

.nk-hero-index a,
.nk-hero-index span {
	color: rgba(255, 255, 255, 0.78);
	display: block;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.nk-hero-index strong {
	color: var(--nk-white);
	display: block;
	font-size: 18px;
	margin-top: 4px;
}

.nk-section,
.nk-route-section {
	padding: 74px 0;
}

.nk-hero + .nk-section {
	padding-top: 28px;
}

.nk-section-compact {
	padding: 48px 0;
}

.nk-section h2,
.nk-route-section h2 {
	font-size: clamp(32px, 5vw, 54px);
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0 0 18px;
	max-width: 900px;
}

.nk-section p,
.nk-route-section p,
.nk-prose p {
	color: var(--nk-muted);
	margin-top: 0;
	max-width: var(--nk-measure);
}

.nk-section-kicker {
	color: var(--nk-teal);
	font-size: 13px;
	font-weight: 900;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.nk-split {
	align-items: start;
	display: grid;
	gap: 30px;
	grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
}

.nk-panel {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	box-shadow: var(--nk-shadow);
	padding: 22px;
}

.nk-panel h2,
.nk-panel h3 {
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 12px;
}

.nk-panel p {
	font-size: 15px;
	margin: 0;
}

.nk-panel ul,
.nk-link-list {
	margin: 14px 0 0;
	padding-left: 1.15rem;
}

.nk-link-list {
	color: var(--nk-muted);
	display: grid;
	gap: 10px;
}

code {
	background: rgba(35, 75, 216, 0.1);
	border: 1px solid rgba(35, 75, 216, 0.18);
	border-radius: 4px;
	color: #1d37a3;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 0.92em;
	padding: 0.08em 0.28em;
}

.nk-grid,
.nk-grid-four {
	display: grid;
	gap: 16px;
	margin-top: 28px;
}

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

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

.nk-theory-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 26px;
}

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

.nk-theory-card {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	padding: 22px;
}

.nk-theory-card h3 {
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 10px;
}

.nk-theory-card p {
	font-size: 15px;
	margin: 0;
}

.nk-card,
.nk-step,
.nk-note,
.nk-metric {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	padding: 22px;
}

.nk-card {
	min-height: 210px;
}

.nk-card h3,
.nk-step h3,
.nk-note h3,
.nk-metric strong {
	color: var(--nk-ink);
	font-size: 20px;
	line-height: 1.22;
	margin: 0 0 10px;
}

.nk-card p,
.nk-step p,
.nk-note p {
	font-size: 15px;
	margin: 0;
}

.nk-card-tag {
	color: var(--nk-red);
	display: block;
	font-size: 12px;
	font-weight: 900;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.nk-band {
	background: var(--nk-ink);
	color: var(--nk-white);
}

.nk-band p {
	color: rgba(255, 255, 255, 0.74);
}

.nk-band .nk-section-kicker {
	color: #9bf0e4;
}

.nk-band .nk-card,
.nk-band .nk-step,
.nk-band .nk-note,
.nk-band .nk-metric,
.nk-band .nk-theory-card {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.2);
}

.nk-band .nk-card h3,
.nk-band .nk-step h3,
.nk-band .nk-note h3,
.nk-band .nk-metric strong,
.nk-band .nk-theory-card h3 {
	color: var(--nk-white);
}

.nk-band .nk-theory-card p {
	color: rgba(255, 255, 255, 0.74);
}

.nk-viz-frame {
	background: var(--nk-ink);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--nk-radius);
	box-shadow: var(--nk-shadow);
	min-height: 360px;
	overflow: hidden;
	position: relative;
}

.nk-viz-frame canvas {
	height: 100%;
	min-height: 360px;
	width: 100%;
}

.nk-viz-caption {
	background: rgba(17, 20, 23, 0.82);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	bottom: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	left: 0;
	margin: 0;
	padding: 11px 14px;
	position: absolute;
	right: 0;
}

.nk-flow {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 30px;
	padding-left: 0;
}

.nk-step {
	list-style: none;
	min-height: 190px;
	position: relative;
}

.nk-step::before {
	background: var(--nk-blue);
	border-radius: 999px;
	color: var(--nk-white);
	content: attr(data-step);
	display: grid;
	font-size: 12px;
	font-weight: 900;
	height: 30px;
	place-items: center;
	width: 30px;
}

.nk-data-table {
	border: 1px solid var(--nk-line);
	border-collapse: collapse;
	display: block;
	margin-top: 24px;
	overflow-x: auto;
	width: 100%;
}

.nk-data-table th,
.nk-data-table td {
	border-bottom: 1px solid var(--nk-line);
	padding: 12px;
	text-align: left;
	vertical-align: top;
}

.nk-data-table th {
	background: var(--nk-cloud);
	font-size: 13px;
	text-transform: uppercase;
}

.nk-data-table td {
	background: rgba(255, 255, 255, 0.52);
	color: var(--nk-muted);
	font-size: 14px;
}

.nk-stage-matrix {
	counter-reset: nk-stage;
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 26px;
}

.nk-stage-matrix article {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	min-height: 220px;
	padding: 20px;
	position: relative;
}

.nk-stage-matrix span {
	background: var(--nk-ink);
	border-radius: 999px;
	color: var(--nk-white);
	display: grid;
	font-size: 12px;
	font-weight: 900;
	height: 34px;
	margin-bottom: 18px;
	place-items: center;
	width: 34px;
}

.nk-stage-matrix h3 {
	font-size: 20px;
	line-height: 1.2;
	margin: 0 0 10px;
}

.nk-stage-matrix p {
	font-size: 15px;
	margin: 0;
}

.nk-lab {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	display: grid;
	gap: 0;
	grid-template-columns: minmax(280px, 0.56fr) minmax(0, 1fr);
	margin-top: 30px;
	overflow: hidden;
}

.nk-lab-controls {
	background: #f7f9f8;
	border-right: 1px solid var(--nk-line);
	padding: 20px;
}

.nk-lab-controls h3,
.nk-lab-output h3 {
	font-size: 20px;
	line-height: 1.22;
	margin: 0 0 14px;
}

.nk-lab-buttons {
	display: grid;
	gap: 10px;
}

.nk-lab-chip {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	color: var(--nk-ink);
	cursor: pointer;
	font: inherit;
	font-size: 14px;
	font-weight: 900;
	min-height: 42px;
	padding: 10px 12px;
	text-align: left;
}

.nk-lab-chip:hover,
.nk-lab-chip:focus,
.nk-lab-chip[aria-pressed="true"] {
	background: var(--nk-ink);
	border-color: var(--nk-ink);
	color: var(--nk-white);
}

.nk-lab-stage-tabs {
	border-top: 1px solid var(--nk-line);
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 18px;
	padding-top: 18px;
}

.nk-lab-stage {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	color: var(--nk-ink);
	cursor: pointer;
	font: inherit;
	font-size: 12px;
	font-weight: 900;
	min-height: 38px;
	padding: 8px;
	text-align: center;
}

.nk-lab-stage:hover,
.nk-lab-stage:focus,
.nk-lab-stage[aria-pressed="true"] {
	background: var(--nk-blue);
	border-color: var(--nk-blue);
	color: var(--nk-white);
}

.nk-lab-control-grid {
	border-top: 1px solid var(--nk-line);
	display: grid;
	gap: 14px;
	margin-top: 18px;
	padding-top: 18px;
}

.nk-lab-control {
	display: grid;
	gap: 8px;
}

.nk-lab-control span,
.nk-lab-control strong {
	color: var(--nk-ink);
	font-size: 13px;
	font-weight: 900;
}

.nk-lab-control strong {
	color: var(--nk-blue);
}

.nk-lab-control input[type="range"] {
	accent-color: var(--nk-blue);
	width: 100%;
}

.nk-lab-custom {
	border-top: 1px solid var(--nk-line);
	display: grid;
	gap: 10px;
	margin-top: 18px;
	padding-top: 18px;
}

.nk-lab-custom label,
.nk-form-field label {
	color: var(--nk-ink);
	font-size: 14px;
	font-weight: 900;
}

.nk-lab-custom textarea,
.nk-contact-form input,
.nk-contact-form textarea {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	color: var(--nk-ink);
	font: inherit;
	min-height: 44px;
	padding: 11px 12px;
	width: 100%;
}

.nk-lab-custom textarea,
.nk-contact-form textarea {
	resize: vertical;
}

.nk-help-text,
.nk-form-error,
.nk-form-status {
	color: var(--nk-muted);
	font-size: 13px;
	margin: 0;
}

.nk-lab-output {
	display: grid;
	gap: 0;
	grid-template-rows: minmax(320px, 1fr) auto;
}

.nk-lab-output .nk-viz-frame {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	min-height: 320px;
}

.nk-lab-facts {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 18px;
}

.nk-lab-analysis {
	border-top: 1px solid var(--nk-line);
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	padding: 18px;
}

.nk-stage-panel,
.nk-candidate-panel,
.nk-trace-panel,
.nk-envelope-panel {
	background: #f7f9f8;
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	padding: 16px;
}

.nk-stage-panel h3 {
	font-size: 22px;
	line-height: 1.2;
	margin: 0 0 10px;
}

.nk-stage-panel p,
.nk-candidate-panel p,
.nk-trace-panel p {
	font-size: 14px;
	margin-bottom: 0;
}

.nk-envelope-panel {
	grid-column: 1 / -1;
}

.nk-candidate-list {
	display: grid;
	gap: 10px;
}

.nk-candidate {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	padding: 12px;
}

.nk-candidate.is-top {
	border-color: rgba(35, 75, 216, 0.52);
	box-shadow: 0 0 0 2px rgba(35, 75, 216, 0.08);
}

.nk-candidate-head {
	align-items: baseline;
	display: flex;
	gap: 10px;
	justify-content: space-between;
}

.nk-candidate-head strong {
	color: var(--nk-ink);
	font-size: 14px;
	overflow-wrap: anywhere;
}

.nk-candidate-head span {
	color: var(--nk-blue);
	font-size: 13px;
	font-weight: 900;
}

.nk-candidate-meter {
	background: rgba(17, 20, 23, 0.08);
	border-radius: 999px;
	display: block;
	height: 8px;
	margin: 10px 0;
	overflow: hidden;
}

.nk-candidate-meter span {
	background: linear-gradient(90deg, var(--nk-blue), var(--nk-teal));
	display: block;
	height: 100%;
}

.nk-candidate p {
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}

.nk-trace-list {
	color: var(--nk-muted);
	display: grid;
	font-size: 14px;
	gap: 8px;
	margin: 0;
	padding-left: 1.2rem;
}

.nk-code-block {
	background: #101416;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--nk-radius);
	color: #dbeee8;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
	font-size: 12px;
	line-height: 1.55;
	margin: 10px 0 0;
	max-height: 360px;
	overflow: auto;
	padding: 14px;
	white-space: pre-wrap;
}

.nk-metric {
	box-shadow: none;
	min-height: 104px;
}

.nk-metric span {
	color: var(--nk-muted);
	display: block;
	font-size: 13px;
	font-weight: 800;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.nk-metric strong {
	font-size: 18px;
	margin: 0;
	overflow-wrap: anywhere;
}

.nk-metric-wide {
	grid-column: 1 / -1;
}

.nk-explainer-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: 20px;
}

.nk-explainer {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	padding: 12px;
}

.nk-explainer summary {
	cursor: pointer;
	font-weight: 900;
	min-height: 32px;
}

.nk-explainer p {
	color: var(--nk-muted);
	font-size: 14px;
	margin: 10px 0 0;
}

.nk-route-nav {
	background: var(--nk-cloud);
	border-bottom: 1px solid var(--nk-line);
	border-top: 1px solid var(--nk-line);
}

.nk-route-nav .nk-section-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding-bottom: 14px;
	padding-top: 14px;
}

.nk-route-nav a {
	border: 1px solid var(--nk-line);
	border-radius: 999px;
	color: var(--nk-ink);
	font-size: 13px;
	font-weight: 900;
	padding: 8px 11px;
	text-decoration: none;
}

.nk-route-nav a:hover,
.nk-route-nav a:focus,
.nk-route-nav a[aria-current="page"] {
	background: var(--nk-ink);
	border-color: var(--nk-ink);
	color: var(--nk-white);
}

.nk-callout {
	background: var(--nk-yellow);
	color: var(--nk-ink);
	padding: 34px 0;
}

.nk-callout .nk-section-inner {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
}

.nk-callout h2 {
	font-size: 28px;
	line-height: 1.12;
	margin: 0;
	max-width: 720px;
}

.nk-callout .nk-button {
	border-color: var(--nk-ink);
	color: var(--nk-ink);
}

.nk-prose {
	max-width: var(--nk-measure);
}

.nk-prose h2,
.nk-prose h3 {
	line-height: 1.18;
}

.nk-prose ul,
.nk-prose ol {
	color: var(--nk-muted);
	padding-left: 1.2rem;
}

.nk-contact-form {
	background: var(--nk-white);
	border: 1px solid var(--nk-line);
	border-radius: var(--nk-radius);
	box-shadow: var(--nk-shadow);
	display: grid;
	gap: 16px;
	padding: 22px;
}

.nk-form-field {
	display: grid;
	gap: 7px;
}

.nk-form-error {
	color: #a73525;
	font-weight: 800;
	min-height: 1.3em;
}

.nk-form-status {
	border: 1px solid transparent;
	border-radius: var(--nk-radius);
	font-weight: 800;
	padding: 0;
}

.nk-form-status[data-state="success"] {
	background: rgba(24, 129, 93, 0.12);
	border-color: rgba(24, 129, 93, 0.32);
	color: #155f47;
	padding: 10px 12px;
}

.nk-form-status[data-state="error"] {
	background: rgba(216, 77, 56, 0.12);
	border-color: rgba(216, 77, 56, 0.32);
	color: #913121;
	padding: 10px 12px;
}

.nk-site-footer {
	background: #101416;
	color: var(--nk-white);
	padding: 34px 0;
}

.nk-footer-inner {
	align-items: start;
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.nk-footer-inner p {
	color: rgba(255, 255, 255, 0.74);
	font-size: 14px;
	margin: 0;
	max-width: 720px;
}

.nk-site-footer .nk-nav a {
	color: rgba(255, 255, 255, 0.78);
}

.nk-site-footer .nk-nav a:hover,
.nk-site-footer .nk-nav a:focus {
	background: var(--nk-white);
	border-color: var(--nk-white);
	color: var(--nk-ink);
}

.workspace-public-contact {
	border-radius: 0 !important;
}

@media (max-width: 980px) {
	.nk-hero-grid,
	.nk-page-hero-grid,
	.nk-split,
	.nk-footer-inner,
	.nk-lab {
		grid-template-columns: 1fr;
	}

	.nk-header-inner {
		align-items: start;
		grid-template-columns: minmax(0, 1fr) auto;
		padding-bottom: 14px;
		padding-top: 14px;
	}

	.nk-menu-toggle {
		display: inline-grid;
	}

	.nk-nav[data-mobile-nav] {
		display: none;
		grid-column: 1 / -1;
		width: 100%;
	}

	.nk-nav[data-mobile-nav].is-open {
		display: flex;
	}

	.nk-nav {
		justify-content: flex-start;
	}

	.nk-hero,
	.nk-page-hero {
		min-height: auto;
		padding: 58px 0;
	}

	.nk-hero-index {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.26);
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-left: 0;
		padding-top: 18px;
	}

	.nk-grid,
	.nk-grid-four,
	.nk-theory-grid,
	.nk-stage-matrix,
	.nk-flow,
	.nk-explainer-grid,
	.nk-lab-facts {
		grid-template-columns: 1fr 1fr;
	}

	.nk-lab-analysis {
		grid-template-columns: 1fr;
	}

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

@media (max-width: 640px) {
	.nk-header-inner,
	.nk-section-inner {
		padding-left: 18px;
		padding-right: 18px;
	}

	.nk-nav a {
		font-size: 13px;
		padding: 8px 9px;
	}

	.nk-hero h1,
	.nk-page-hero h1 {
		font-size: 42px;
		line-height: 0.98;
	}

	.nk-hero p,
	.nk-page-hero p {
		font-size: 18px;
	}

	.nk-hero,
	.nk-page-hero {
		padding: 38px 0 42px;
	}

	.nk-actions,
	.nk-callout .nk-section-inner {
		align-items: stretch;
		flex-direction: column;
	}

	.nk-button {
		width: 100%;
	}

	.nk-grid,
	.nk-grid-four,
	.nk-theory-grid,
	.nk-stage-matrix,
	.nk-flow,
	.nk-explainer-grid,
	.nk-lab-facts {
		grid-template-columns: 1fr;
	}

	.nk-lab-stage-tabs {
		grid-template-columns: 1fr 1fr;
	}

	.nk-hero-index {
		display: none;
	}

	.nk-section,
	.nk-route-section {
		padding: 54px 0;
	}

	.nk-viz-frame,
	.nk-viz-frame canvas {
		min-height: 300px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.nk-button {
		transition: none;
	}

	.nk-button:hover,
	.nk-button:focus {
		transform: none;
	}
}
