/*
	Theme Name: Nucleics Chromatogram
	Theme URI: https://www.nucleics.com/
	Description: The Nucleics site on a white ground, built around an animated Sanger trace. A Genesis child theme; it keeps Minimum Pro's widget areas, menu locations, page templates and shortcodes so existing content carries over.
	Author: Nucleics
	Author URI: https://www.nucleics.com/

	Version: 1.2.5

	Template: genesis
	Template Version: 3.0
	Text Domain: nucleics-chromatogram

	License: GPL-2.0+
	License URI: http://www.opensource.org/licenses/gpl-license.php
*/

/* Table of contents
	1. Fonts and design tokens
	2. Reset and base
	3. Typography and content
	4. Forms, buttons and tables
	5. Site structure: header, menus, page band, layout, sidebar, footer
	6. Front page
	6b. Inner pages: PeakTrace, Purchase, Validation, Support, News, forum index
	7. Motion
	8. Responsive
	9. Reduced motion
---------------------------------------------------------------------------- */


/* 1. Fonts and design tokens
---------------------------------------------------------------------------- */

:root {
	/* Nucleics design system */
	--surface: #ffffff;
	--surface-alt: #eef1ef;
	--surface-zebra: #eeeeee;
	--nuc-dark-gray: #373840;
	--nuc-mid-gray: #4f5054;
	--nuc-dark-blue: #067bc2;
	--nuc-light-blue: #84bcda;
	--nuc-yellow: #ecc30b;
	--nuc-orange: #f37748;
	--nuc-rose: #d56062;
	--logo-blue: #3ba5ff;
	--border: #dddddd;
	/* Type (concept 2a-vi-a): Space Grotesk for text, headings and the NUCLEICS wordmark,
	   JetBrains Mono for data and labels. */
	--font-brand: var(--font-sans);
	--font-sans: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
	--wrap: 1240px;

	/* White ground (concept 2a-vi) */
	--ground: var(--surface);
	--ink: var(--nuc-dark-gray);
	--text: var(--nuc-mid-gray);
	--eyebrow: var(--nuc-dark-blue);
	--link: var(--nuc-dark-blue);
	--line: var(--border);
	--ground-2: var(--nuc-dark-gray);
	--ink-2: #ffffff;
	--text-2: var(--surface-alt);
	--eyebrow-2: var(--nuc-light-blue);
	--line-2: var(--nuc-mid-gray);
	--hl-bg: var(--nuc-dark-blue);
	--hl-ink: #ffffff;
	--card-bg: var(--surface-alt);
	--chA: var(--nuc-dark-blue);
	--chC: var(--nuc-orange);
	--chG: var(--nuc-dark-gray);
	--chT: var(--nuc-rose);
	--qv: var(--nuc-dark-blue);
	--disc: rgba(59, 165, 255, 0.22);
	--focus: var(--nuc-dark-blue);
}


/* 2. Reset and base
---------------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	background: var(--ground);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 28px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

article, aside, details, figcaption, figure, footer, header, main, nav, section, summary {
	display: block;
}

img, video, iframe, embed, object, .wp-caption {
	max-width: 100%;
}

img {
	height: auto;
	border: 0;
}

figure {
	margin: 0;
}

::selection {
	background: var(--nuc-dark-blue);
	color: #ffffff;
}

a {
	color: var(--link);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--ink);
}

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

.nx-dark :focus-visible,
.nx-cta :focus-visible,
.site-footer :focus-visible {
	outline-color: var(--nuc-yellow);
}

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.screen-reader-text:focus,
.screen-reader-shortcut:focus {
	clip: auto !important;
	height: auto;
	width: auto;
	display: block;
	font-size: 16px;
	padding: 14px 20px;
	z-index: 100000;
	background: #ffffff;
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 0 0 3px var(--focus);
}

.genesis-skip-link {
	margin: 0;
}

.genesis-skip-link li {
	height: 0;
	width: 0;
	list-style: none;
}

.clearfix::after,
.entry-content::after,
.entry::after,
.site-inner::after,
.wrap::after {
	clear: both;
	content: " ";
	display: table;
}


/* 3. Typography and content
---------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	color: var(--ink);
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin: 0 0 20px;
}

h1 { font-size: 48px; }
h2 { font-size: 35px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 19px; }
h6 { font-size: 17px; }

p {
	margin: 0 0 24px;
}

strong, b {
	font-weight: 500;
}

ol, ul {
	margin: 0;
	padding: 0;
}

.entry-content ol,
.entry-content ul {
	margin: 0 0 24px 28px;
}

.entry-content li {
	margin-bottom: 6px;
}

.entry-content ul > li { list-style-type: disc; }
.entry-content ol > li { list-style-type: decimal; }

.entry-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

blockquote {
	margin: 32px 0;
	padding: 4px 0 4px 24px;
	border-left: 3px solid var(--nuc-dark-blue);
	color: var(--ink);
	font-size: 20px;
	line-height: 30px;
}

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

pre {
	white-space: pre-wrap;
	background: var(--surface-alt);
	padding: 16px 20px;
	overflow-x: auto;
}

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

.entry {
	margin-bottom: 56px;
}

.entry-title {
	font-size: 40px;
	line-height: 1.1;
	margin-bottom: 12px;
}

.entry-title a {
	color: var(--ink);
}

.entry-title a:hover {
	color: var(--link);
}

.archive .entry-title,
.blog .entry-title,
.search .entry-title {
	font-size: 30px;
}

.entry-meta {
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 20px;
	color: var(--text);
}

.entry-header .entry-meta {
	margin-bottom: 24px;
}

.entry-footer .entry-meta {
	border-top: 1px solid var(--line);
	padding-top: 16px;
}

.entry-categories,
.entry-tags {
	display: block;
}

.wp-caption-text {
	font-size: 14px;
	line-height: 20px;
	text-align: center;
}

.aligncenter, img.centered { display: block; margin: 0 auto 24px; }
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
a.alignnone, img.alignnone { margin-bottom: 12px; display: inline-block; }

/* Text pasted into old pages from Word or other sites carries its own font (Georgia, Lato, Calibri and
   others). Keep it in the theme's face; deliberate monospace, such as sequences, is left alone. */
.entry-content [style*="font-family"]:not([style*="mono"]):not([style*="Courier"]):not([style*="courier"]),
.widget [style*="font-family"]:not([style*="mono"]):not([style*="Courier"]):not([style*="courier"]),
#bbpress-forums [style*="font-family"]:not([style*="mono"]):not([style*="Courier"]):not([style*="courier"]),
.entry-content font[face],
.widget font[face] {
	font-family: inherit !important;
}

/* Genesis column classes, used in page content */
.five-sixths, .four-sixths, .one-fourth, .one-half, .one-sixth, .one-third,
.three-fourths, .three-sixths, .two-fourths, .two-sixths, .two-thirds {
	float: left;
	margin-left: 2.564102564102564%;
}
.one-half, .three-sixths, .two-fourths { width: 48.717948717948715%; }
.one-third, .two-sixths { width: 31.623931623931625%; }
.four-sixths, .two-thirds { width: 65.81196581196582%; }
.one-fourth { width: 23.076923076923077%; }
.three-fourths { width: 74.35897435897436%; }
.one-sixth { width: 14.52991452991453%; }
.five-sixths { width: 82.90598290598291%; }
.first { clear: both; margin-left: 0; }

/* Palette classes from Minimum Pro, kept for existing content */
.nuc_dark_blue { color: var(--nuc-dark-blue); }
.nuc_light_blue { color: var(--nuc-light-blue); }
.nuc_yellow { color: var(--nuc-yellow); }
.nuc_orange { color: var(--nuc-orange); }
.nuc_rose { color: var(--nuc-rose); }
.nuc_mid_gray { color: var(--nuc-mid-gray); }
.nuc_dark_gray { color: var(--nuc-dark-gray); }

.nx-eyebrow {
	margin: 0 0 16px;
	font-family: var(--font-mono);
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--eyebrow);
}


/* 4. Forms, buttons and tables
---------------------------------------------------------------------------- */

input, select, textarea {
	width: 100%;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 3px;
	color: var(--ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 24px;
	padding: 11px 14px;
	margin: 0;
}

input:focus, select:focus, textarea:focus {
	border-color: var(--nuc-dark-blue);
	outline: 2px solid var(--nuc-dark-blue);
	outline-offset: 0;
}

input[type="checkbox"], input[type="radio"], input[type="image"] {
	width: auto;
}

::placeholder {
	color: var(--nuc-mid-gray);
	opacity: 0.85;
}

.nx-btn,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: auto;
	background: var(--nuc-dark-blue);
	border: 0;
	border-radius: 0;
	color: #ffffff;
	cursor: pointer;
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 20px;
	padding: 16px 26px;
	text-decoration: none;
	transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.nx-btn:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: var(--nuc-dark-gray);
	color: #ffffff;
	transform: translateY(-3px);
}

.entry-content a.button {
	text-decoration: none;
}

.nx-btn-outline {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--ink);
}

.nx-btn-outline:hover {
	background: var(--ink);
	color: #ffffff;
}

.nx-btn-dark {
	background: var(--nuc-dark-gray);
}

.nx-btn-dark:hover {
	background: var(--nuc-dark-blue);
}

.nx-btn-yellow {
	background: var(--nuc-yellow);
	color: var(--nuc-dark-gray);
}

.nx-btn-yellow:hover {
	background: #ffffff;
	color: var(--nuc-dark-gray);
}

.nx-btn .nx-arr {
	display: inline-block;
	transition: transform 0.2s ease;
}

.nx-btn:hover .nx-arr {
	transform: translateX(5px);
}

.nx-link,
.nx-link:hover {
	background: none;
	padding: 0;
	color: var(--link);
	text-decoration: underline;
	text-underline-offset: 4px;
}

table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	margin-bottom: 40px;
	font-size: 16px;
	line-height: 24px;
}

th, td {
	text-align: left;
	padding: 12px 16px 12px 0;
	border-top: 1px solid var(--line);
}

th {
	font-family: var(--font-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--ink);
	border-top: 0;
}

tbody {
	border-bottom: 1px solid var(--line);
}

.odd {
	background: var(--surface-zebra);
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form input[type="submit"] {
	position: absolute;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	padding: 0;
	overflow: hidden;
}


/* 5. Site structure
---------------------------------------------------------------------------- */

.wrap,
.nx-wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Header */

.site-header {
	position: relative;
	z-index: 20;
	background: #ffffff;
	border-bottom: 1px solid var(--surface-alt);
}

.site-header > .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.title-area {
	margin-right: auto;
}

.site-title {
	margin: 0;
	font-family: var(--font-brand);
	font-weight: 500;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.site-title a {
	display: block;
	color: var(--nuc-mid-gray);
}

.header-image .site-title a {
	min-height: 35px;
	padding: 6px 0 0 45px;
	background-repeat: no-repeat !important;
	background-position: left center !important;
	background-size: 35px 35px !important;
}

.header-image .site-title a {
	text-indent: 0;
}

.site-header .widget-area {
	display: flex;
	align-items: center;
}

.site-header .widget {
	margin: 0;
}

.nx-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nx-header-buy {
	background: var(--nuc-dark-gray);
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 10px 16px;
}

.nx-header-buy:hover {
	background: var(--nuc-dark-blue);
}

.nx-menu-toggle {
	display: none;
	background: transparent;
	color: var(--ink);
	padding: 8px;
	box-shadow: inset 0 0 0 1px var(--line);
}

.nx-menu-toggle:hover {
	background: var(--surface-alt);
	color: var(--ink);
	transform: none;
}

.nx-menu-toggle .dashicons {
	font-size: 24px;
	width: 24px;
	height: 24px;
}

/* Menus */

.genesis-nav-menu {
	clear: both;
	margin: 0;
	padding: 0;
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 20px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.genesis-nav-menu .menu-item {
	position: relative;
	display: inline-block;
	list-style: none;
	margin: 0;
}

.genesis-nav-menu > .menu-item > a {
	display: block;
	position: relative;
	color: var(--ink);
	padding: 10px 12px;
}

.genesis-nav-menu > .menu-item > a::after {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 4px;
	height: 2px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.genesis-nav-menu > .menu-item > a:hover::after,
.genesis-nav-menu > .current-menu-item > a::after,
.genesis-nav-menu > .current-menu-ancestor > a::after {
	transform: scaleX(1);
}

.genesis-nav-menu .sub-menu {
	position: absolute;
	left: -9999px;
	top: 100%;
	z-index: 99;
	width: 260px;
	margin: 0;
	padding: 6px 0;
	background: #ffffff;
	border: 1px solid var(--line);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease;
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--font-sans);
	font-size: 15px;
}

.genesis-nav-menu .sub-menu .menu-item {
	display: block;
}

.genesis-nav-menu .sub-menu a {
	display: block;
	padding: 8px 16px;
	color: var(--ink);
}

.genesis-nav-menu .sub-menu a:hover,
.genesis-nav-menu .sub-menu a:focus {
	background: var(--nuc-dark-blue);
	color: #ffffff;
}

.genesis-nav-menu .sub-menu .sub-menu {
	top: -7px;
	left: 100%;
}

.genesis-nav-menu .menu-item:hover > .sub-menu,
.genesis-nav-menu .menu-item:focus-within > .sub-menu,
.genesis-nav-menu .menu-item.sfHover > .sub-menu {
	left: 0;
	opacity: 1;
	transform: none;
}

.genesis-nav-menu .sub-menu .menu-item:hover > .sub-menu,
.genesis-nav-menu .sub-menu .menu-item:focus-within > .sub-menu {
	left: 100%;
}

.nav-primary {
	background: #ffffff;
	border-bottom: 1px solid var(--line);
}

/* Header menu: larger, heavier and pinned to the top so it reads as the main navigation */

.site-header {
	position: sticky;
	top: 0;
}

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

.site-header > .wrap {
	padding-top: 18px;
	padding-bottom: 18px;
}

.site-header .genesis-nav-menu {
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 22px;
	letter-spacing: 0;
	text-transform: none;
}

.site-header .genesis-nav-menu > .menu-item > a {
	padding: 12px 10px;
	color: var(--nuc-dark-gray);
	white-space: nowrap;
}

.site-header .genesis-nav-menu > .menu-item > a::after {
	left: 10px;
	right: 10px;
	bottom: 2px;
	height: 3px;
	background: var(--nuc-dark-blue);
}

.site-header .genesis-nav-menu > .menu-item > a:hover,
.site-header .genesis-nav-menu > .current-menu-item > a,
.site-header .genesis-nav-menu > .current-menu-ancestor > a {
	color: var(--nuc-dark-blue);
}

/* A small arrow marks items with a dropdown */
.site-header .genesis-nav-menu > .menu-item-has-children > a {
	padding-right: 24px;
}

.site-header .genesis-nav-menu > .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.site-header .genesis-nav-menu > .menu-item-has-children:hover > a::before,
.site-header .genesis-nav-menu > .menu-item-has-children:focus-within > a::before {
	transform: translateY(3px) rotate(225deg);
}

.site-header .genesis-nav-menu > .menu-item-has-children > a::after {
	right: 24px;
}

.nx-header-actions {
	flex-shrink: 0;
}

/* Between tablet and laptop widths the menu takes its own full row under the logo */
@media only screen and (min-width: 861px) and (max-width: 1279px) {
	.site-header .widget-area {
		order: 3;
		flex-basis: 100%;
		margin-left: -10px;
	}

	.nx-header-actions {
		margin-left: auto;
	}
}

.site-header .genesis-nav-menu .sub-menu {
	font-size: 15px;
	font-weight: 400;
	border-top: 3px solid var(--nuc-dark-blue);
}

.nx-header-buy {
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	padding: 12px 20px;
	background: var(--nuc-dark-blue);
}

.nx-header-buy:hover {
	background: var(--nuc-dark-gray);
}

/* Page band (inner pages) */

.nx-page-band {
	padding-top: 64px;
}

.nx-page-band > .wrap {
	padding-bottom: 48px;
}

.nx-page-title {
	font-size: 72px;
	line-height: 1;
	letter-spacing: -0.035em;
	margin: 0 0 20px;
	max-width: 980px;
}

.nx-page-sub,
.nx-page-sub p {
	margin: 0;
	max-width: 780px;
	font-size: 20px;
	line-height: 32px;
}

.nx-page-sub .widget {
	margin: 0;
}

/* Layout */

.site-inner {
	clear: both;
}

.content-sidebar-wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 56px 24px 80px;
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
}

.content {
	flex: 1 1 640px;
	min-width: 0;
}

.sidebar {
	flex: 0 1 320px;
	min-width: 0;
	font-size: 15px;
	line-height: 24px;
}

.sidebar-content .content-sidebar-wrap {
	flex-direction: row-reverse;
}

.full-width-content .content {
	flex-basis: 100%;
}

.nx-front .content-sidebar-wrap {
	max-width: none;
	padding: 0;
	display: block;
}

/* Widgets */

.widget {
	word-wrap: break-word;
	margin-bottom: 40px;
}

.widget-title,
.widgettitle {
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--line);
}

.widget li {
	list-style: none;
	margin-bottom: 8px;
}

.sidebar ul,
.sidebar ol {
	padding-left: 0;
}

.sidebar .textwidget ul li {
	list-style: none;
}

.after-entry {
	background: var(--surface-alt);
	padding: 32px;
	margin-bottom: 56px;
}

.author-box {
	background: var(--surface-alt);
	padding: 32px;
	margin-bottom: 40px;
}

.avatar {
	float: left;
	margin-right: 24px;
	border-radius: 50%;
}

/* Pagination and comments */

.archive-pagination {
	clear: both;
	margin: 40px 0;
}

.archive-pagination li {
	display: inline;
}

.archive-pagination li a {
	display: inline-block;
	margin: 0 2px 4px 0;
	padding: 6px 12px;
	border: 1px solid var(--line);
	color: var(--ink);
	font-family: var(--font-mono);
	font-size: 14px;
}

.archive-pagination li a:hover,
.archive-pagination li.active a {
	background: var(--nuc-dark-blue);
	border-color: var(--nuc-dark-blue);
	color: #ffffff;
}

.comment-list li {
	list-style: none;
	margin-top: 24px;
	padding: 28px;
	background: var(--surface-alt);
}

/* bbPress forums: readable text size; meta lines in the mono face */
#bbpress-forums,
#bbpress-forums div.bbp-breadcrumb,
#bbpress-forums div.bbp-topic-tags {
	font-size: 15px !important;
	line-height: 24px;
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-permalink {
	font-size: 16px;
}

#bbpress-forums div.bbp-reply-content,
#bbpress-forums div.bbp-topic-content,
#bbpress-forums div.bbp-forum-content,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-forums {
	font-size: 15px;
	line-height: 24px;
}

#bbpress-forums li.bbp-header,
#bbpress-forums .bbp-reply-post-date,
#bbpress-forums .bbp-topic-meta,
#bbpress-forums div.bbp-template-notice p {
	font-family: var(--font-mono);
	font-size: 12px;
}

#bbpress-forums div.bbp-template-notice {
	border-radius: 0;
}

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] {
	max-width: 420px;
}

/* Footer */

.footer-widgets {
	background: var(--surface-alt);
	padding: 48px 0 8px;
}

.footer-widgets .wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
}

.footer-widgets .widget-area {
	flex: 1 1 260px;
}

.site-footer {
	background: var(--nuc-dark-gray);
	color: var(--surface-alt);
	border-top: 1px solid var(--nuc-mid-gray);
}

.site-footer > .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	padding-top: 48px;
	padding-bottom: 48px;
}

.nx-footer-brand {
	order: 1;
	flex: 0 1 320px;
}

.site-footer .nav-secondary {
	order: 2;
	flex: 1 1 480px;
	min-width: 0;
}

.site-footer .nav-secondary .genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.nx-footer-creds {
	order: 3;
	flex-basis: 100%;
	margin: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 16px;
}

.nx-footer-brand p {
	margin: 0;
	font-size: 14px;
	line-height: 22px;
}

.nx-footer-brand .nx-footer-name {
	margin-bottom: 8px;
	font-family: var(--font-brand);
	font-weight: 500;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #ffffff;
}

.site-footer .nav-secondary .wrap {
	padding: 0;
}

.site-footer .genesis-nav-menu > .menu-item > a {
	color: #ffffff;
	padding: 4px 0;
	margin-right: 24px;
}

.site-footer .genesis-nav-menu > .menu-item > a::after {
	left: 0;
	right: 0;
	bottom: 0;
}

.site-footer a {
	color: #ffffff;
}


/* 6. Front page
---------------------------------------------------------------------------- */

.nx-front .site-inner {
	overflow: hidden;
}

.nx-hero {
	position: relative;
}

.nx-hero-inner {
	position: relative;
	z-index: 1;
	padding-top: 88px;
	padding-bottom: 32px;
}

.nx-hero-title {
	margin: 0 0 28px;
	max-width: 1000px;
	font-size: clamp(52px, 8.4vw, 104px);
	line-height: 0.98;
	letter-spacing: -0.035em;
	color: var(--ink);
}

.nx-hero-title > span {
	display: inline-block;
}

.nx-hl {
	display: inline-block;
	padding: 0 0.12em;
	color: var(--hl-ink);
	background: linear-gradient(var(--hl-bg), var(--hl-bg)) no-repeat 0 0 / 100% 100%;
}

.nx-hero-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
}

.nx-lede {
	margin: 0;
	max-width: 560px;
	font-size: 20px;
	line-height: 32px;
}

.nx-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
}

.nx-disc {
	position: absolute;
	border-radius: 50%;
	background: var(--disc);
	pointer-events: none;
}

.nx-trace {
	position: relative;
	padding-top: 32px;
}

.nx-qv-row,
.nx-base-row {
	display: flex;
	padding: 0 12px;
}

.nx-qv-row {
	align-items: flex-end;
	height: 26px;
}

.nx-qv-row > span,
.nx-base-row > span {
	flex: 1 1 0;
	text-align: center;
}

.nx-qv {
	display: block;
	margin: 0 auto;
	width: 46%;
	background: var(--qv);
	transform-origin: bottom;
}

.nx-base-row {
	padding-top: 4px;
	font-family: var(--font-mono);
	font-size: 16px;
	line-height: 24px;
	color: var(--ink);
}

.nx-base {
	display: inline-block;
}

.nx-trace svg {
	display: block;
	width: 100%;
	height: 300px;
}

.nx-line {
	fill: none;
	stroke-width: 2.5;
}

.nx-fill {
	fill-opacity: 0.12;
}

.nx-line.nx-ch-a { stroke: var(--chA); }
.nx-line.nx-ch-c { stroke: var(--chC); }
.nx-line.nx-ch-g { stroke: var(--chG); }
.nx-line.nx-ch-t { stroke: var(--chT); }
.nx-fill.nx-ch-a { fill: var(--chA); }
.nx-fill.nx-ch-c { fill: var(--chC); }
.nx-fill.nx-ch-g { fill: var(--chG); }
.nx-fill.nx-ch-t { fill: var(--chT); }

/* Scan line: PeakTrace-style peaks behind it, KB-style ahead. Rendered at the midpoint;
   the script moves it and sets its opacity */
.nx-scan {
	position: absolute;
	top: 62px;
	bottom: 0;
	width: 2px;
	margin-left: -1px;
	background: var(--nuc-dark-blue);
	transition: opacity 0.4s ease;
	pointer-events: none;
}

.nx-scan-tag {
	position: absolute;
	bottom: 10px;
	padding: 2px 6px;
	background: #ffffff;
	color: var(--nuc-dark-blue);
	font-family: var(--font-mono);
	font-size: 11px;
	line-height: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.nx-scan-l {
	right: 8px;
}

.nx-scan-r {
	left: 8px;
}

.nx-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding-top: 12px;
	padding-bottom: 24px;
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 16px;
}

.nx-legend span {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nx-key {
	display: inline-block;
	width: 20px;
	height: 3px;
}

.nx-key.nx-ch-a { background: var(--chA); }
.nx-key.nx-ch-c { background: var(--chC); }
.nx-key.nx-ch-g { background: var(--chG); }
.nx-key.nx-ch-t { background: var(--chT); }
.nx-key-qv { width: 6px; height: 12px; background: var(--qv); }

.nx-ticker {
	overflow: hidden;
	white-space: nowrap;
	background: var(--ground-2);
	color: var(--text-2);
	font-family: var(--font-mono);
	font-size: 14px;
	line-height: 20px;
	letter-spacing: 0.3em;
	padding: 14px 0;
}

.nx-ticker-track {
	display: inline-flex;
}

.nx-ticker-track span {
	padding-right: 0.3em;
}

.nx-dark {
	background: var(--ground-2);
	color: var(--text-2);
	--eyebrow: var(--eyebrow-2);
	--ink: var(--ink-2);
	--link: var(--ink-2);
	--focus: var(--nuc-yellow);
}

.nx-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px;
	padding-top: 56px;
	padding-bottom: 72px;
}

.nx-stats p {
	margin: 0;
}

.nx-stat {
	font-family: var(--font-mono);
	font-size: 64px;
	line-height: 1;
	margin-bottom: 12px !important;
}

.nx-s1 { color: var(--nuc-yellow); }
.nx-s2 { color: var(--nuc-light-blue); }
.nx-s3 { color: var(--nuc-orange); }
.nx-s4 { color: #ffffff; }
.nx-s1-bg { background: var(--nuc-yellow); }
.nx-s2-bg { background: var(--nuc-light-blue); }
.nx-s3-bg { background: var(--nuc-orange); }
.nx-s4-bg { background: #ffffff; }

.nx-statbar {
	height: 4px;
	margin-top: 16px;
	transform-origin: left;
}

.nx-section {
	padding-top: 80px;
	padding-bottom: 80px;
}

.nx-h2 {
	margin: 0 0 40px;
	max-width: 760px;
	font-size: clamp(36px, 4.6vw, 56px);
	line-height: 1.05;
	letter-spacing: -0.025em;
	color: var(--ink);
}

.nx-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 16px;
}

.nx-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	background: var(--card-bg);
	color: var(--text);
	padding: 0 0 28px;
	transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nx-card:hover {
	color: var(--text);
	transform: perspective(900px) rotateX(5deg) translateY(-10px);
}

.nx-bar {
	height: 8px;
	transition: height 0.25s ease;
}

.nx-card:hover .nx-bar {
	height: 16px;
}

.nx-card-title {
	padding: 0 24px;
	font-size: 26px;
	line-height: 1.15;
	color: var(--ink);
}

.nx-card-meta {
	padding: 0 24px;
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 20px;
}

.nx-split {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: center;
}

.nx-split-text {
	flex: 1 1 360px;
	min-width: 0;
}

.nx-split .nx-h2 {
	margin-bottom: 20px;
}

.nx-evfig {
	position: relative;
	overflow: hidden;
	flex: 1.6 1 480px;
	min-width: 0;
	background: #ffffff;
	padding: 20px;
}

.nx-evfig img {
	display: block;
	width: 100%;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nx-evfig:hover img {
	transform: scale(1.04);
}

.nx-evfig-labels {
	display: flex;
	justify-content: space-between;
	margin-bottom: 12px;
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nuc-dark-gray);
}

.nx-evscan {
	display: none;
}

.nx-split-img {
	flex: 1 1 360px;
	min-width: 0;
	max-width: 520px;
	display: block;
	border: 1px solid var(--line);
}

.nx-arrow-list {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 14px;
	line-height: 22px;
}

.nx-arrow-list li::before {
	content: "→ ";
}

.nx-news {
	padding-top: 24px;
	padding-bottom: 88px;
}

.nx-news-list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 20px;
	line-height: 28px;
	border-bottom: 1px solid var(--line);
}

.nx-row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 40px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
	transition: padding-left 0.2s ease;
}

.nx-row:hover {
	padding-left: 14px;
}

.nx-row a {
	flex: 1 1 320px;
}

.nx-row a:hover {
	text-decoration: underline;
}

.nx-date {
	flex: 0 0 160px;
	font-family: var(--font-mono);
	font-size: 14px;
}

.nx-go {
	display: inline-block;
	margin-left: auto;
	color: var(--link);
	opacity: 0;
	transform: translateX(-10px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.nx-row:hover .nx-go {
	opacity: 1;
	transform: none;
}

.nx-cta {
	background: var(--nuc-dark-blue);
	--ink: #ffffff;
	--focus: var(--nuc-yellow);
}

.nx-cta-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 64px;
	padding-bottom: 64px;
}

.nx-cta .nx-h2 {
	margin: 0;
	max-width: 720px;
}

.nx-shine {
	position: relative;
	overflow: hidden;
}


/* 6b. Inner pages
   Designed templates (PeakTrace, Purchase, Validation, Support, News, categories) and the forum index.
---------------------------------------------------------------------------- */

.nx-designed .content-sidebar-wrap {
	max-width: none;
	padding: 0;
	display: block;
}

.nx-designed .nx-split-text p {
	margin: 0 0 20px;
}

.nx-designed .nx-split-text p:last-child {
	margin-bottom: 0;
}

.nx-alt {
	background: var(--surface-alt);
}

.nx-pt0 {
	padding-top: 0;
}

.nx-h2-sm {
	margin-bottom: 24px;
	font-size: clamp(30px, 3.4vw, 40px);
}

.nx-small {
	margin: 20px 0 0;
	font-size: 15px;
	line-height: 24px;
}

.nx-bordered {
	border: 1px solid var(--line);
}

.nx-evfig figcaption {
	margin-top: 12px;
	font-size: 14px;
	line-height: 22px;
}

.nx-btn-white {
	background: #ffffff;
	color: var(--nuc-dark-gray);
}

.nx-btn-white:hover {
	background: var(--nuc-yellow);
	color: var(--nuc-dark-gray);
}

/* Headline figures on a dark band */
.nx-proof {
	padding-top: 64px;
	padding-bottom: 72px;
}

.nx-proof-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 32px;
	margin-top: 24px;
}

.nx-proof-grid p {
	margin: 12px 0 0;
}

.nx-proof-grid .nx-stat {
	margin: 0;
	font-size: 56px;
}

.nx-proof-4 .nx-stat {
	font-size: 48px;
}

/* Arrow list */
.nx-ticks {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.nx-ticks li {
	position: relative;
	padding-left: 28px;
}

.nx-ticks li::before {
	content: "→";
	position: absolute;
	left: 0;
	color: var(--nuc-dark-blue);
}

/* PeakTrace: the four ways, with a volume picker that highlights one (needs the script) */
.nx-picker {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 0 0 32px;
	padding: 20px 24px;
	background: var(--surface-alt);
}

.nx-js .nx-picker {
	display: flex;
}

.nx-picker-q {
	color: var(--ink);
	font-weight: 500;
}

.nx-pill,
.nx-pill:hover {
	padding: 12px 18px;
	background: transparent;
	box-shadow: inset 0 0 0 2px var(--nuc-dark-gray);
	color: var(--nuc-dark-gray);
	font-family: var(--font-mono);
	font-size: 14px;
	font-weight: 400;
}

.nx-pill[aria-pressed="true"] {
	background: var(--nuc-dark-gray);
	color: #ffffff;
}

.nx-way-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.nx-way {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 2px solid var(--surface-alt);
	color: var(--text);
	transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.25s ease;
}

.nx-way:hover {
	color: var(--text);
	transform: translateY(-6px);
}

.nx-js .nx-way-on {
	border-color: var(--nuc-dark-blue);
	transform: translateY(-6px);
}

.nx-way-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 12px;
	padding: 24px;
}

.nx-way .nx-card-title {
	padding: 0;
}

.nx-way-runs {
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nuc-dark-blue);
}

.nx-way-text {
	flex: 1 1 auto;
	font-size: 16px;
	line-height: 26px;
}

.nx-way-best {
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 20px;
	color: var(--ink);
}

/* Questions, as native disclosure widgets */
.nx-faq-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
}

.nx-faq-intro {
	flex: 1 1 300px;
	min-width: 0;
}

.nx-faq {
	flex: 2 1 560px;
	min-width: 0;
	border-bottom: 1px solid var(--line);
}

.nx-faq details {
	border-top: 1px solid var(--line);
}

.nx-faq summary {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	cursor: pointer;
	list-style: none;
	font-size: 22px;
	line-height: 30px;
	font-weight: 500;
	color: var(--ink);
}

.nx-faq summary::-webkit-details-marker {
	display: none;
}

.nx-faq summary::after {
	content: "+";
	flex: 0 0 auto;
	font-family: var(--font-mono);
	color: var(--nuc-dark-blue);
}

.nx-faq details[open] summary::after {
	content: "−";
}

.nx-faq summary:hover {
	color: var(--nuc-dark-blue);
}

.nx-faq details p {
	max-width: 760px;
	margin: 0;
	padding: 0 0 24px;
}

/* Purchase: steps, unit bundles and the order summary */
.nx-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.nx-step {
	flex: 1 1 260px;
	min-width: 0;
	padding: 28px;
	background: #ffffff;
	border-top: 4px solid var(--nuc-dark-blue);
}

.nx-step h3 {
	margin: 0 0 10px;
	font-size: 24px;
}

.nx-step p {
	margin: 0;
}

.nx-step .nx-step-n {
	margin: 0 0 10px;
	font-family: var(--font-mono);
	font-size: 40px;
	line-height: 1;
	color: var(--nuc-dark-blue);
}

.nx-step-2 { border-top-color: var(--nuc-yellow); }
.nx-step-2 .nx-step-n { color: #9a7d00; }
.nx-step-3 { border-top-color: var(--nuc-orange); }
.nx-step-3 .nx-step-n { color: #c4511f; }

.nx-after-steps {
	margin: 24px 0 0;
}

.nx-shop {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: stretch;
}

.nx-tier-grid {
	flex: 999 1 600px;
	min-width: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
	align-content: start;
}

.nx-tier {
	padding: 20px;
	background: #ffffff;
	border: 2px solid var(--line);
	color: var(--ink);
	transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nx-tier p {
	margin: 0;
}

.nx-tier .nx-tier-units {
	margin-bottom: 6px;
	font-family: var(--font-mono);
	font-size: 28px;
	line-height: 1;
}

.nx-tier .nx-tier-label {
	margin-bottom: 14px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nx-tier-price {
	font-size: 20px;
	line-height: 1.2;
	font-weight: 500;
}

.nx-tier .nx-tier-per {
	margin-top: 4px;
	font-size: 14px;
	line-height: 20px;
}

.nx-tier-buy {
	margin-top: 14px;
}

.nx-tier-buy form {
	margin: 0;
}

.nx-tier-buy input[type="submit"] {
	padding: 10px 16px;
	font-size: 14px;
}

.nx-js .nx-tier {
	cursor: pointer;
}

.nx-js .nx-tier:hover {
	transform: translateY(-2px);
	border-color: var(--nuc-dark-blue);
}

.nx-js .nx-tier-on,
.nx-js .nx-tier-on:hover {
	background: var(--nuc-dark-blue);
	border-color: var(--nuc-dark-blue);
	color: #ffffff;
}

.nx-js .nx-tier-buy {
	display: none;
}

.nx-order {
	display: none;
}

.nx-js .nx-order {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px;
	background: var(--nuc-dark-gray);
	color: var(--surface-alt);
}

.nx-order p {
	margin: 0;
}

.nx-order .nx-order-label {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nuc-light-blue);
}

.nx-order .nx-order-units {
	font-family: var(--font-mono);
	font-size: 44px;
	line-height: 1;
	color: #ffffff;
}

.nx-order-row {
	display: flex;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--nuc-mid-gray);
}

.nx-order .nx-order-row-2 {
	padding-top: 0;
	border-top: 0;
}

.nx-order-row span:last-child {
	font-family: var(--font-mono);
	color: #ffffff;
}

.nx-order .nx-btn {
	justify-content: center;
	margin-top: auto;
}

.nx-order .nx-order-note {
	font-size: 14px;
	line-height: 22px;
}

.nx-notes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 32px;
	margin-top: 40px;
	font-size: 16px;
	line-height: 26px;
}

.nx-notes h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.nx-notes p {
	margin: 0;
}

.nx-from {
	flex: 0 1 320px;
	min-width: 0;
}

.nx-from p {
	margin: 0;
}

.nx-from .nx-stat {
	margin: 4px 0 8px;
}

.nx-from .nx-btn {
	margin-top: 20px;
}

/* Articles with an aside */
.nx-article-layout,
.nx-news-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
	align-items: flex-start;
	padding-top: 64px;
	padding-bottom: 88px;
}

.nx-article {
	flex: 999 1 560px;
	min-width: 0;
	max-width: 780px;
	font-size: 18px;
	line-height: 30px;
}

.nx-article h2,
.nx-article h3 {
	margin: 48px 0 16px;
	font-size: 32px;
	line-height: 1.15;
	letter-spacing: -0.02em;
	scroll-margin-top: 120px;
}

.nx-article h5,
.nx-article h6 {
	margin: 32px 0 12px;
	font-size: 16px;
	line-height: 24px;
}

.nx-article > h2:first-child,
.nx-article > h3:first-child {
	margin-top: 0;
}

.nx-article img {
	max-width: 100%;
	height: auto;
}

.nx-article table {
	font-size: 15px;
}

.nx-aside {
	flex: 1 1 260px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
	font-size: 16px;
	line-height: 26px;
}

.nx-aside-title {
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--nuc-dark-gray);
	font-family: var(--font-mono);
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nuc-dark-gray);
}

.nx-toc,
.nx-aside-links,
.nx-count-list,
.nx-doc-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.nx-toc a {
	display: block;
	padding: 8px 0;
	border-bottom: 1px solid var(--surface-alt);
	color: var(--nuc-dark-gray);
}

.nx-toc a:hover,
.nx-aside-links a:hover,
.nx-count-list a:hover,
.nx-doc-list a:hover {
	color: var(--nuc-dark-blue);
}

.nx-aside-links li {
	margin-bottom: 10px;
}

.nx-aside-links a,
.nx-count-list a,
.nx-doc-list a {
	color: var(--nuc-dark-gray);
}

.nx-count-list li,
.nx-doc-list li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 10px 0;
	border-bottom: 1px solid var(--surface-alt);
}

.nx-count-list span {
	font-family: var(--font-mono);
	font-size: 13px;
}

.nx-aside-box {
	padding: 24px;
	background: var(--surface-alt);
}

.nx-aside-box p {
	margin: 0 0 16px;
}

.nx-aside-box > :last-child {
	margin-bottom: 0;
}

.nx-aside-box .nx-aside-head {
	margin-bottom: 10px;
	font-size: 22px;
	line-height: 1.25;
	font-weight: 500;
	color: var(--nuc-dark-gray);
}

.nx-aside-blue {
	background: var(--nuc-dark-blue);
	color: #ffffff;
	--link: #ffffff;
	--focus: var(--nuc-yellow);
}

.nx-aside-blue .nx-aside-head {
	color: #ffffff;
}

.nx-aside-box .nx-aside-kicker {
	margin-bottom: 8px;
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.nx-boxed {
	margin-top: 32px;
	background: transparent;
	box-shadow: inset 0 0 0 2px var(--nuc-dark-gray);
	font-size: 16px;
	line-height: 26px;
}

/* Support: filterable problem tiles, documentation lists */
.nx-filter-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 32px;
}

.nx-filter-head .nx-h2 {
	margin: 0;
}

.nx-filter {
	display: none;
	flex: 0 1 380px;
	min-width: 0;
}

.nx-js .nx-filter {
	display: block;
}

.nx-filter input {
	padding: 14px 16px;
	border: 2px solid var(--nuc-dark-gray);
	border-radius: 0;
}

.nx-filter-count {
	margin: 8px 0 0;
	font-family: var(--font-mono);
	font-size: 13px;
}

.nx-tile-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.nx-tile {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border: 1px solid var(--line);
	color: var(--nuc-dark-gray);
	overflow: hidden;
	transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s ease;
}

.nx-tile:hover {
	color: var(--nuc-dark-gray);
	transform: translateY(-6px);
	box-shadow: 0 14px 28px rgba(55, 56, 64, 0.12);
}

.nx-tile[hidden] {
	display: none;
}

.nx-tile-img {
	display: block;
	overflow: hidden;
	border-bottom: 1px solid var(--surface-alt);
}

.nx-tile-img img {
	display: block;
	width: 100%;
	height: 120px;
	object-fit: cover;
	object-position: left center;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nx-tile:hover .nx-tile-img img {
	transform: scale(1.04);
}

.nx-tile-title {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px;
	font-size: 19px;
	line-height: 1.25;
	font-weight: 500;
}

.nx-tile-title .nx-arr {
	color: var(--nuc-dark-blue);
}

.nx-more {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
	padding: 20px 24px;
	background: var(--surface-alt);
}

.nx-more p {
	margin: 0;
}

.nx-band-tight {
	padding-top: 64px;
	padding-bottom: 64px;
}

.nx-doc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	font-size: 16px;
	line-height: 26px;
}

.nx-doc-list {
	margin-bottom: 32px;
}

.nx-doc-list span {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nuc-dark-blue);
}

.nx-pair {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 16px;
	padding-top: 72px;
	padding-bottom: 72px;
}

.nx-tile-text {
	gap: 12px;
	padding: 32px;
	color: var(--text);
}

.nx-tile-text .nx-eyebrow {
	margin: 0;
}

.nx-tile-text .nx-tile-head {
	font-size: 28px;
	line-height: 1.2;
	font-weight: 500;
	color: var(--nuc-dark-gray);
}

/* News: feature, category chips, post list and pager */
.nx-news-main {
	flex: 999 1 600px;
	min-width: 0;
}

.nx-feature {
	display: block;
	margin-bottom: 48px;
	background: var(--nuc-dark-gray);
	color: var(--surface-alt);
}

.nx-feature:hover {
	color: var(--surface-alt);
}

.nx-feature .nx-strip {
	height: 6px;
}

.nx-feature-body {
	display: block;
	padding: 40px;
}

.nx-feature-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-bottom: 16px;
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--nuc-light-blue);
}

.nx-feature-title {
	display: block;
	margin-bottom: 16px;
	font-size: clamp(30px, 3.6vw, 44px);
	line-height: 1.08;
	font-weight: 500;
	letter-spacing: -0.025em;
	color: #ffffff;
}

.nx-feature-text {
	display: block;
	max-width: 640px;
	margin-bottom: 24px;
}

.nx-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 8px;
}

.nx-chip {
	padding: 10px 16px;
	box-shadow: inset 0 0 0 2px var(--nuc-dark-gray);
	color: var(--nuc-dark-gray);
	font-family: var(--font-mono);
	font-size: 13px;
	line-height: 18px;
	letter-spacing: 0.04em;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.nx-chip:hover,
.nx-chip-on {
	background: var(--nuc-dark-gray);
	color: #ffffff;
}

.nx-post-list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid var(--line);
}

.nx-post-list .nx-row {
	gap: 8px 40px;
	padding: 24px 0;
}

.nx-post-list .nx-date {
	flex: 0 0 140px;
	line-height: 28px;
}

.nx-post-body {
	flex: 1 1 420px;
	min-width: 0;
}

.nx-post-title {
	font-size: 22px;
	line-height: 30px;
	font-weight: 500;
	color: var(--nuc-dark-gray);
}

.nx-post-body p {
	margin: 6px 0 10px;
	font-size: 16px;
	line-height: 26px;
}

.nx-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nx-tag {
	padding: 2px 8px;
	background: var(--surface-alt);
	font-family: var(--font-mono);
	font-size: 12px;
	line-height: 18px;
	color: var(--nuc-dark-gray);
}

.nx-pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
	font-family: var(--font-mono);
	font-size: 14px;
}

.nx-pager-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.nx-pager .nx-btn {
	padding: 12px 20px;
	font-size: 14px;
}

/* Forum index: grouped tables and an aside */
.nx-forum-layout {
	display: flex;
	flex-wrap: wrap;
	gap: 56px;
	align-items: flex-start;
	margin-top: 24px;
}

.nx-forum-main {
	flex: 999 1 640px;
	min-width: 0;
}

.nx-table-scroll {
	overflow-x: auto;
	margin-bottom: 48px;
}

.nx-forum-table {
	margin: 0;
}

.nx-forum-table thead tr {
	background: var(--nuc-dark-gray);
	box-shadow: inset 0 4px 0 var(--nuc-dark-blue);
}

.nx-forum-lab thead tr {
	box-shadow: inset 0 4px 0 var(--nuc-yellow);
}

.nx-forum-table th {
	padding: 16px;
	color: #ffffff;
}

.nx-forum-table td {
	padding: 18px 16px;
	vertical-align: top;
}

.nx-forum-table tbody tr {
	transition: background-color 0.2s ease;
}

.nx-forum-table tbody tr:hover {
	background: var(--surface-alt);
}

.nx-forum-table .nx-num {
	width: 90px;
	text-align: right;
	font-family: var(--font-mono);
}

.nx-forum-name {
	font-size: 19px;
	line-height: 26px;
	font-weight: 500;
	color: var(--nuc-dark-gray);
}

.nx-forum-table td p {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 22px;
}

.nx-forum-last {
	width: 150px;
	font-family: var(--font-mono);
	font-size: 14px;
	white-space: nowrap;
}

.nx-totals {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.nx-totals p {
	margin: 0;
	font-family: var(--font-mono);
	font-size: 40px;
	line-height: 1;
	color: var(--nuc-dark-gray);
}

.nx-totals span {
	font-size: 15px;
}

/* The trace-colour strip that closes the page band and the news feature */
.nx-strip {
	display: flex;
	height: 4px;
}

.nx-strip span {
	flex: 1 1 0;
}

.nx-strip span:nth-child(1) { background: var(--chA); }
.nx-strip span:nth-child(2) { background: var(--chC); }
.nx-strip span:nth-child(3) { background: var(--chG); }
.nx-strip span:nth-child(4) { background: var(--chT); }

.nx-feature .nx-strip span:nth-child(3) { background: var(--nuc-light-blue); }


/* 7. Motion
   Elements start in their finished state; the nx-js class (set in the head) and the
   animations below move them in. Without JavaScript or with reduced motion, nothing moves.
---------------------------------------------------------------------------- */

@keyframes nx-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes nx-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nx-pop { from { opacity: 0; transform: translateY(8px) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes nx-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes nx-sweep { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes nx-scan { 0% { left: 0%; opacity: 1; } 92% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes nx-rescan { 0% { left: 0%; opacity: 0; } 4% { opacity: 0.5; } 60% { left: 100%; opacity: 0.5; } 61%, 100% { left: 100%; opacity: 0; } }
@keyframes nx-ticker { to { transform: translateX(-50%); } }
@keyframes nx-drop { from { transform: translateY(-100%); } to { transform: none; } }
@keyframes nx-type { from { max-width: 0; } to { max-width: 60ch; } }
@keyframes nx-caret { 50%, 100% { border-color: transparent; } }
@keyframes nx-float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(var(--fx), var(--fy)); } }
@keyframes nx-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes nx-shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
@keyframes nx-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes nx-scanx { from { left: 0%; } to { left: 100%; } }
@keyframes nx-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nx-growx { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: no-preference) {

	.nx-front .site-header { animation: nx-drop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

	.nx-rise { opacity: 0; animation: nx-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
	.nx-d2 { animation-delay: 0.2s; }
	.nx-d3 { animation-delay: 0.35s; }
	.nx-d4 { animation-delay: 0.55s; }
	.nx-d5 { animation-delay: 0.75s; }

	.nx-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 0; padding-right: 4px; border-right: 2px solid currentColor; animation: nx-type 1.4s steps(40, end) 0.1s forwards, nx-caret 0.8s step-end 0.1s 6 forwards; }

	.nx-hl { background-size: 0% 100%; animation: nx-sweep 0.7s cubic-bezier(0.6, 0, 0.2, 1) 0.6s forwards; }

	.nx-disc { opacity: 0; animation: nx-fade 1.2s ease 0.8s forwards, nx-float 10s ease-in-out 2s infinite; }

	.nx-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: nx-draw 2.6s cubic-bezier(0.45, 0, 0.25, 1) 0.4s forwards; }
	.nx-fill { opacity: 0; animation: nx-fade 1.2s ease 2.6s forwards; }
	.nx-base { opacity: 0; animation: nx-pop 0.35s cubic-bezier(0.2, 0.7, 0.2, 1.4) forwards; }
	.nx-qv { transform: scaleY(0); animation: nx-grow 0.45s cubic-bezier(0.2, 0.7, 0.2, 1.3) forwards; }

	.nx-ticker-track { animation: nx-ticker 60s linear infinite; }

	.nx-strip span { transform: scaleX(0); transform-origin: left; animation: nx-growx 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s forwards; }
	.nx-strip span:nth-child(2) { animation-delay: 0.42s; }
	.nx-strip span:nth-child(3) { animation-delay: 0.54s; }
	.nx-strip span:nth-child(4) { animation-delay: 0.66s; }

	.nx-shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent); animation: nx-shine 3.6s ease-in-out 2.4s infinite; }

	.nx-js [data-stats] .nx-statbar { transform: scaleX(0); transition: transform 1.5s cubic-bezier(0.2, 0.7, 0.2, 1); }
	.nx-js [data-stats].nx-counted .nx-statbar { transform: scaleX(1); }

	/* Sections rise in once as they enter view; the script adds nx-in */
	.nx-js .nx-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
	.nx-js .nx-reveal.nx-in { opacity: 1; transform: none; }
	.nx-js .nx-reveal .nx-h2 { clip-path: inset(0 100% 0 0); transition: clip-path 1s cubic-bezier(0.6, 0, 0.2, 1) 0.15s; }
	.nx-js .nx-reveal.nx-in .nx-h2 { clip-path: inset(0 -1% 0 0); }
	.nx-js .nx-in .nx-evscan { display: block; position: absolute; top: 0; bottom: 0; width: 3px; background: var(--nuc-dark-blue); z-index: 1; animation: nx-scan 1.8s cubic-bezier(0.45, 0, 0.25, 1) 0.5s both; }

	/* Reading progress bar, where the browser supports scroll-linked animation */
	@supports (animation-timeline: scroll()) {
		.nx-front .site-container::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 100; background: var(--nuc-dark-blue); transform-origin: left; animation: nx-progress linear both; animation-timeline: scroll(root); }
	}
}


/* 8. Responsive
---------------------------------------------------------------------------- */

@media only screen and (max-width: 960px) {

	.sidebar {
		flex-basis: 100%;
	}

	.nx-page-title {
		font-size: 44px;
	}
}

@media only screen and (max-width: 860px) {

	/* On phones the header scrolls away, so an open menu never covers the page */
	.site-header {
		position: relative;
	}

	.site-header > .wrap {
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.nx-menu-toggle {
		display: inline-flex;
	}

	.site-header .widget-area {
		order: 3;
		flex-basis: 100%;
		display: none;
	}

	.nx-menu-open .site-header .widget-area {
		display: block;
	}

	.site-header .genesis-nav-menu .menu-item {
		display: block;
		border-top: 1px solid var(--line);
	}

	.site-header .genesis-nav-menu > .menu-item > a {
		padding: 14px 0;
	}

	.site-header .genesis-nav-menu > .menu-item > a::after {
		display: none;
	}

	.site-header .genesis-nav-menu .sub-menu {
		position: static;
		left: auto;
		width: auto;
		opacity: 1;
		transform: none;
		border: 0;
		padding: 0 0 8px 16px;
	}

	.site-header .genesis-nav-menu .sub-menu .menu-item {
		border-top: 0;
	}

	.site-header .genesis-nav-menu .sub-menu a {
		padding: 8px 0;
	}
}

@media only screen and (max-width: 768px) {

	.five-sixths, .four-sixths, .one-fourth, .one-half, .one-sixth, .one-third,
	.three-fourths, .three-sixths, .two-fourths, .two-sixths, .two-thirds {
		margin: 0;
		width: 100%;
	}

	.alignleft, .alignright {
		float: none;
		margin: 0 0 24px;
	}

	.nx-hero-inner {
		padding-top: 56px;
	}

	.nx-trace svg {
		height: 200px;
	}

	.nx-base-row {
		font-size: 10px;
	}

	.nx-disc {
		display: none;
	}

	.nx-page-band {
		padding: 40px 0 28px;
	}

	.nx-page-title {
		font-size: 36px;
	}

	.nx-article-layout,
	.nx-news-layout {
		gap: 40px;
		padding-top: 40px;
	}

	.nx-proof-grid .nx-stat,
	.nx-proof-4 .nx-stat {
		font-size: 44px;
	}

	.nx-feature-body {
		padding: 28px;
	}

	.nx-faq summary {
		font-size: 19px;
		line-height: 26px;
	}

	.nx-faq-wrap {
		gap: 24px;
	}

	.content-sidebar-wrap {
		padding-top: 40px;
	}

	.nx-header-buy {
		display: none;
	}

	h1 { font-size: 36px; }
	h2 { font-size: 28px; }
	h3 { font-size: 24px; }

	h1, h2, h3, .nx-page-title, .nx-hero-title, .entry-title {
		overflow-wrap: break-word;
		hyphens: auto;
	}

	.entry-title {
		font-size: 32px;
	}

	/* The typed eyebrow cannot wrap, so on phones it shows as plain text */
	.nx-type {
		white-space: normal;
		max-width: none !important;
		border-right: 0 !important;
		animation: none !important;
	}
}


/* 9. Reduced motion
---------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}

	*, *::before, *::after {
		transition: none !important;
	}
}
