/**
 * Styles for the NoNoise AI 2027 trial page
 *
 * A sticky photo rail on the left from lg up, the steps on the right. Below lg the rail is replaced by a
 * photo strip above the stepper.
 *
 * body.is-mobile is anything that can't install NoNoise AI (phones, tablets,
 * Chromebooks, Linux); it swaps .desktop-only copy for .mobile-only.
 *
 * @copyright   2026, ON1
 */

/* !- Show/hide by install capability */
body:not(.is-mobile) #nn-trial .mobile-only {
	display: none !important;
}

body.is-mobile #nn-trial .desktop-only {
	display: none !important;
}

/* !- Shell */
#nn-trial {
	background: var(--bg-950);
	flex: 1 0 auto;
}

#nn-trial .trial-main {
	background: radial-gradient(1100px 620px at 50% -12%, var(--blue-transparent), transparent 60%);
	padding-bottom: 3.75rem;
}

/* !- Photo rail
   Pinned dark, since its type is white on a photo in both themes.
   --header-offset is #site-header's height, set from the page's javascript,
   so the rail and the tour's top bar pin below it rather than under it. */
#nn-trial .trial-rail {
	background-color: #1e1e1e;
	background-image: url("https://ononesoft.cachefly.net/images/products/2027/nonoise-ai/download/nn-2027-trial-photo.jpg");
	background-position: center;
	background-size: cover;
	height: calc(100vh - var(--header-offset, 0px));
	height: calc(100dvh - var(--header-offset, 0px));
	overflow: hidden;
	position: sticky;
	top: var(--header-offset, 0px);
}

#nn-trial .trial-rail-cover {
	background:
		radial-gradient(620px 480px at 20% 100%, rgba(10, 126, 250, 0.22), transparent 65%),
		linear-gradient(180deg, rgba(20, 20, 20, 0.15), rgba(20, 20, 20, 0.75) 78%);
	display: flex;
	flex-direction: column;
	gap: 1rem;
	inset: 0;
	justify-content: flex-end;
	padding: 3rem;
	position: absolute;
}

#nn-trial[data-step="1"] .trial-rail-cover {
	background: linear-gradient(180deg, rgba(20, 20, 20, 0.05), rgba(20, 20, 20, 0.82) 75%);
}

#nn-trial .trial-rail-cover img {
	border-radius: var(--border-radius);
	display: block;
}

#nn-trial .trial-rail-quote {
	color: #fff;
	font-size: var(--text-xl);
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
	text-wrap: balance;
}

/* !- Top bar */
#nn-trial .trial-topbar {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding-top: 1.75rem;
}

#nn-trial .trial-wordmark {
	align-items: center;
	color: var(--text-50);
	display: flex;
	font-size: var(--text-base);
	font-weight: 800;
	gap: 0.625rem;
	margin: 0;
}

#nn-trial .trial-wordmark img {
	border-radius: var(--border-radius);
}

/* !- Photo strip (below lg) */
#nn-trial .trial-hero {
	background-color: #1e1e1e;
	background-image: url("https://ononesoft.cachefly.net/images/products/2027/nonoise-ai/download/nn-2027-trial-photo.jpg");
	background-position: center 62%;
	background-size: cover;
	border-radius: var(--border-radius);
	height: 180px;
	margin-top: 1.375rem;
	overflow: hidden;
	position: relative;
}

#nn-trial .trial-hero::after {
	background: linear-gradient(180deg, rgba(20, 20, 20, 0) 30%, rgba(20, 20, 20, 0.78));
	content: "";
	inset: 0;
	position: absolute;
}

#nn-trial .trial-hero p {
	bottom: 0.875rem;
	color: #fff;
	font-size: var(--text-lg);
	font-weight: 700;
	left: 1.125rem;
	line-height: 1.3;
	margin: 0;
	position: absolute;
	right: 1.125rem;
	z-index: 1;
}

/* !- Stepper */
#nn-trial .trial-stepper {
	display: grid;
	gap: 0.375rem;
	grid-template-columns: repeat(4, 1fr);
	list-style: none;
	margin: 2.125rem 0 0 0;
	padding: 0;
}

#nn-trial .trial-stepper.is-two {
	grid-template-columns: repeat(2, 1fr);
}

#nn-trial .trial-step {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 0.5625rem;
	position: relative;
}

#nn-trial .trial-step + .trial-step::before {
	background: var(--bg-700);
	content: "";
	height: 1.5px;
	left: calc(-50% + 13px);
	position: absolute;
	right: calc(50% + 13px);
	top: 13px;
}

#nn-trial .trial-step-dot {
	align-items: center;
	background: var(--bg-850);
	border: 1.5px solid var(--bg-700);
	border-radius: 50%;
	color: var(--text-500);
	display: flex;
	font-size: var(--text-mini);
	font-weight: 700;
	height: 26px;
	justify-content: center;
	position: relative;
	width: 26px;
	z-index: 1;
}

#nn-trial .trial-step-dot .fa-check {
	display: none;
	font-size: 0.6875rem;
}

#nn-trial .trial-step-label {
	color: var(--text-500);
	font-size: var(--text-micro);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-align: center;
	text-transform: uppercase;
}

#nn-trial .trial-step.is-active .trial-step-dot {
	border-color: var(--blue-500);
	box-shadow: 0 0 0 4px var(--blue-transparent);
	color: var(--link-alt);
}

#nn-trial .trial-step.is-active .trial-step-label {
	color: var(--text-50);
}

#nn-trial .trial-step.is-done .trial-step-dot {
	background: var(--blue-500);
	border-color: var(--blue-500);
	color: #fff;
}

#nn-trial .trial-step.is-done .trial-step-num {
	display: none;
}

#nn-trial .trial-step.is-done .trial-step-dot .fa-check {
	display: block;
}

#nn-trial .trial-step.is-done + .trial-step::before,
#nn-trial .trial-step.is-done + .trial-step.is-done::before {
	background: var(--blue-500);
}

#nn-trial .trial-step.is-done .trial-step-label {
	color: var(--text-400);
}

/* !- Panels */
#nn-trial .trial-panel {
	animation: nn-trial-rise 0.38s cubic-bezier(0.2, 0.7, 0.2, 1);
	padding-top: 2.25rem;
}

@keyframes nn-trial-rise {
	from {
		opacity: 0;
		transform: translateY(10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

#nn-trial .eyebrow {
	color: var(--link-alt);
	margin-bottom: 0.625rem;
}

#nn-trial h1,
#nn-trial .trial-title {
	font-size: var(--text-3xl);
	font-weight: 900;
	letter-spacing: -0.01em;
	margin-bottom: 0.5rem;
	text-wrap: balance;
}

#nn-trial .trial-sub {
	color: var(--text-400);
	line-height: 1.55;
	margin-bottom: 1.625rem;
}

/* !- New in 2027 */
#nn-trial .trial-new {
	background: var(--bg-900);
	border: 1px solid var(--bg-800);
	border-radius: var(--border-radius);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	list-style: none;
	margin: 0 0 1.625rem 0;
	padding: 0.875rem 1rem;
}

#nn-trial .trial-new li {
	align-items: flex-start;
	display: flex;
	gap: 0.6875rem;
}

#nn-trial .trial-new .trial-new-label {
	color: var(--text-500);
	font-size: var(--text-micro);
	font-weight: 700;
	letter-spacing: 0.06em;
	margin-bottom: -0.125rem;
	text-transform: uppercase;
}

#nn-trial .trial-new-dot {
	align-items: center;
	background: var(--blue-transparent);
	border-radius: 50%;
	color: var(--link-alt);
	display: flex;
	flex-shrink: 0;
	font-size: 0.625rem;
	height: 20px;
	justify-content: center;
	margin-top: 0.125rem;
	width: 20px;
}

#nn-trial .trial-new strong {
	color: var(--text-50);
	display: block;
	font-size: var(--text-sm);
	font-weight: 700;
}

#nn-trial .trial-new-desc {
	color: var(--text-400);
	display: block;
	font-size: var(--text-sm);
	line-height: 1.45;
	margin-top: 0.0625rem;
}

/* !- Callouts */
#nn-trial .trial-device-note {
	align-items: flex-start;
	background: var(--blue-transparent);
	border: 1px solid rgba(10, 126, 250, 0.28);
	border-radius: var(--border-radius);
	color: var(--text-200);
	display: flex;
	font-size: var(--text-sm);
	gap: 0.6875rem;
	line-height: 1.5;
	margin: 0 0 1.25rem 0;
	padding: 0.75rem 0.875rem;
}

#nn-trial .trial-device-note i {
	color: var(--link-alt);
	margin-top: 0.1875rem;
}

#nn-trial .trial-device-note strong {
	color: var(--text-50);
}

/* Confirmation link problems and server errors: plain copy, no box */
#nn-trial .trial-notice {
	color: var(--text-200);
	margin-bottom: 1.25rem;
}

#nn-trial .trial-error {
	color: var(--red-500);
	font-size: var(--text-sm);
	margin: 0.75rem 0 0 0;
}

[data-theme="light"] #nn-trial .trial-error {
	color: var(--red-700);
}

/* !- Log in instead */
#nn-trial .trial-login-banner {
	align-items: center;
	background: var(--blue-transparent);
	border: 1px solid rgba(10, 126, 250, 0.45);
	border-radius: var(--border-radius);
	display: flex;
	gap: 0.875rem;
	justify-content: space-between;
	margin: 0 0 1.375rem 0;
	padding: 0.875rem 1rem;
}

#nn-trial .trial-login-banner-text {
	align-items: center;
	display: flex;
	gap: 0.75rem;
	min-width: 0;
}

#nn-trial .trial-login-banner-icon {
	align-items: center;
	background: rgba(10, 126, 250, 0.22);
	border-radius: 50%;
	color: var(--link-alt);
	display: flex;
	flex: none;
	height: 34px;
	justify-content: center;
	width: 34px;
}

#nn-trial .trial-login-banner-title {
	color: var(--text-50);
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

#nn-trial .trial-login-banner-sub {
	color: var(--text-400);
	font-size: var(--text-sm);
	line-height: 1.4;
	margin: 0.125rem 0 0 0;
}

#nn-trial .trial-login-btn {
	color: #111;
	flex: none;
	font-size: var(--text-sm);
	padding: 0.75rem 1.25rem;
}

#nn-trial .trial-login-btn:hover {
	background-color: #e6e6e6;
	border-color: #e6e6e6;
	color: #111;
}

#nn-trial .trial-or {
	align-items: center;
	color: var(--text-500);
	display: flex;
	font-size: var(--text-xs);
	font-weight: 700;
	gap: 0.75rem;
	letter-spacing: 0.06em;
	margin: 0 0 1.125rem 0;
	text-transform: uppercase;
}

#nn-trial .trial-or::before,
#nn-trial .trial-or::after {
	background: var(--bg-800);
	content: "";
	flex: 1;
	height: 1px;
}

#nn-trial .trial-forgot {
	font-size: var(--text-sm);
	margin: -0.375rem 0 1rem 0;
	text-align: right;
}

#nn-trial .trial-switch {
	color: var(--text-400);
	font-size: var(--text-sm);
	margin: 1.125rem 0 0 0;
	text-align: center;
}

/* Inline in the sentence, so it gives up the 44px tap height the standalone links have */
#nn-trial .trial-switch .trial-text-link {
	min-height: 0;
	padding: 0;
}

/* !- Form */
#nn-trial .trial-field {
	margin-bottom: 1rem;
}

#nn-trial .trial-field .form-label {
	color: var(--text-200);
	font-size: var(--text-sm);
	font-weight: 600;
	margin-bottom: 0.4375rem;
}

/* 16px keeps iOS from zooming in on focus */
#nn-trial .trial-field .form-control,
#nn-trial .trial-field .form-select {
	font-size: 1rem;
	padding: 0.75rem 0.8125rem;
}

#nn-trial .trial-field .form-select {
	padding-right: 2.25rem;
}

#nn-trial .trial-field .form-control:focus,
#nn-trial .trial-field .form-select:focus {
	border-color: var(--blue-500);
	box-shadow: 0 0 0 3px var(--blue-transparent);
}

#nn-trial .trial-field-hint {
	color: var(--text-500);
	font-size: var(--text-xs);
	margin: 0.375rem 0 0 0;
}

#nn-trial .was-validated .trial-field:has(:invalid) .trial-field-hint {
	display: none;
}

#nn-trial .pw-wrap {
	position: relative;
}

#nn-trial .pw-wrap .form-control {
	padding-right: 2.75rem;
}

/* Bootstrap paints its own right-aligned validation icon on a validated
   field, which lands underneath the eye. Same fix as /create-account/. */
#nn-trial .was-validated .pw-wrap .form-control:invalid,
#nn-trial .was-validated .pw-wrap .form-control:valid {
	background-image: none;
	padding-right: 2.75rem;
}

#nn-trial .pw-toggle {
	align-items: center;
	background: none;
	border: none;
	bottom: 0;
	color: var(--text-400);
	cursor: pointer;
	display: flex;
	font-size: var(--text-sm);
	justify-content: center;
	padding: 0 0.875rem;
	position: absolute;
	right: 0;
	top: 0;
}

#nn-trial .pw-toggle:hover {
	color: var(--text-100);
}

/* Bootstrap only shows the message for a sibling of the input, and here the
   input sits inside .pw-wrap */
#nn-trial .was-validated .pw-wrap:has(:invalid) ~ .invalid-feedback {
	display: block;
}

/* !- Buttons */
/* Same height as the NoNoise AI product hero's button */
#nn-trial .trial-btn {
	font-size: var(--text-base);
	margin-top: 0.375rem;
	padding: 0.9375rem 1.875rem;
	width: 100%;
}

#nn-trial .trial-btn:disabled {
	opacity: 0.7;
}

#nn-trial .trial-back {
	align-items: center;
	background: none;
	border: none;
	color: var(--text-500);
	cursor: pointer;
	display: inline-flex;
	font-size: var(--text-sm);
	font-weight: 600;
	gap: 0.4375rem;
	margin-bottom: 1.375rem;
	padding: 0;
}

#nn-trial .trial-back:hover {
	color: var(--text-300);
}

#nn-trial .trial-text-link {
	background: none;
	border: none;
	color: var(--link);
	cursor: pointer;
	font-size: var(--text-sm);
	font-weight: 700;
	min-height: 44px;
	padding: 0 0.375rem;
}

#nn-trial .trial-text-link:hover {
	color: var(--link-hover);
	text-decoration: underline;
}

#nn-trial .trial-email-chip button:hover {
	color: var(--link-hover);
}

#nn-trial .trial-text-link:disabled {
	color: var(--text-500);
	cursor: default;
	text-decoration: none;
}

#nn-trial .trial-link-row {
	align-items: center;
	color: var(--text-500);
	display: flex;
	flex-wrap: wrap;
	font-size: var(--text-sm);
	gap: 0.125rem 0.5rem;
	justify-content: center;
	margin: 0.75rem 0 0 0;
}

/* !- Trust row and legal */
#nn-trial .trial-trust {
	align-items: center;
	border-top: 1px solid var(--bg-800);
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem 1.125rem;
	justify-content: center;
	list-style: none;
	margin: 1.375rem 0 0 0;
	padding: 1.125rem 0 0 0;
}

#nn-trial .trial-trust li {
	align-items: center;
	color: var(--text-500);
	display: flex;
	font-size: var(--text-xs);
	font-weight: 600;
	gap: 0.375rem;
}

#nn-trial .trial-legal {
	color: var(--text-500);
	font-size: var(--text-xs);
	line-height: 1.6;
	margin: 1.125rem 0 0 0;
	text-align: center;
}

#nn-trial .trial-terms {
	font-size: var(--text-mini);
}

#nn-trial .trial-legal + .trial-legal {
	margin-top: 1.25rem;
}

/* !- Step icons */
#nn-trial .trial-icon {
	align-items: center;
	display: flex;
	justify-content: center;
	margin: 0.25rem auto 1.375rem auto;
}

#nn-trial .trial-icon.is-verify {
	background: var(--blue-transparent);
	border-radius: var(--border-radius);
	color: var(--link-alt);
	font-size: 1.625rem;
	height: 64px;
	width: 64px;
}

#nn-trial .trial-icon.is-done {
	background: var(--green-transparent);
	border-radius: 50%;
	color: var(--green-500);
	font-size: 1.75rem;
	height: 72px;
	width: 72px;
}

/* !- Email chips */
#nn-trial .trial-email-chip {
	align-items: center;
	background: var(--bg-850);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	color: var(--text-200);
	display: flex;
	font-size: var(--text-sm);
	font-weight: 600;
	justify-content: space-between;
	margin: 0 0 1.25rem 0;
	min-height: 44px;
	padding: 0.6875rem 0.875rem;
	word-break: break-all;
}

#nn-trial .trial-email-chip strong {
	color: var(--text-50);
}

#nn-trial .trial-email-chip button {
	background: none;
	border: none;
	color: var(--link);
	cursor: pointer;
	font-size: var(--text-xs);
	font-weight: 700;
	min-height: 44px;
	padding: 0 0 0 0.75rem;
}

#nn-trial .trial-verified-chip {
	align-items: center;
	color: var(--text-400);
	display: flex;
	font-size: var(--text-sm);
	font-weight: 600;
	gap: 0.5rem;
	justify-content: center;
	margin-bottom: 1.5rem;
	word-break: break-all;
}

#nn-trial .trial-verified-chip i {
	color: var(--green-500);
}

/* !- Download card */
#nn-trial .trial-file {
	align-items: flex-start;
	background: var(--bg-850);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	display: flex;
	gap: 0.875rem;
	margin-bottom: 1.25rem;
	padding: 1.125rem;
}

#nn-trial .trial-file-icon {
	align-items: center;
	background: var(--blue-transparent);
	border-radius: var(--border-radius);
	color: var(--link-alt);
	display: flex;
	flex-shrink: 0;
	height: 42px;
	justify-content: center;
	width: 42px;
}

#nn-trial .trial-file.is-sent .trial-file-icon {
	background: var(--green-transparent);
	color: var(--green-500);
}

#nn-trial .trial-file-name {
	color: var(--text-50);
	font-weight: 700;
	margin: 0;
	word-break: break-all;
}

#nn-trial .trial-file-meta {
	color: var(--text-500);
	font-size: var(--text-xs);
	line-height: 1.5;
	margin: 0.1875rem 0 0 0;
	word-break: break-word;
}

#nn-trial .trial-file-meta strong {
	color: var(--text-200);
}

#nn-trial .trial-alt {
	color: var(--text-500);
	font-size: var(--text-xs);
	margin: 1.25rem 0 0 0;
	text-align: center;
}

#nn-trial .trial-alt + .trial-alt {
	margin-top: 0.25rem;
}

/* !- Step 4 */
#nn-trial .trial-shortcut {
	align-items: center;
	background: var(--bg-850);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	color: var(--text-500);
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	padding: 0.875rem 1rem;
	text-decoration: none;
}

#nn-trial .trial-shortcut:hover {
	border-color: var(--bg-600);
}

#nn-trial .trial-shortcut-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

#nn-trial .trial-shortcut-title {
	color: var(--text-50);
	font-weight: 700;
}

#nn-trial .trial-shortcut-desc {
	color: var(--text-500);
	font-size: var(--text-xs);
	margin-top: 0.125rem;
	word-break: break-all;
}

#nn-trial .trial-checklist {
	border-bottom: 1px solid var(--bg-800);
	border-top: 1px solid var(--bg-800);
	display: flex;
	flex-direction: column;
	gap: 0.6875rem;
	list-style: none;
	margin: 1.375rem 0 1.625rem 0;
	padding: 1.125rem 0;
}

#nn-trial .trial-checklist li {
	align-items: center;
	color: var(--text-200);
	display: flex;
	font-size: var(--text-sm);
	font-weight: 500;
	gap: 0.6875rem;
}

#nn-trial .trial-check {
	align-items: center;
	background: var(--green-transparent);
	border-radius: 50%;
	color: var(--green-500);
	display: flex;
	flex-shrink: 0;
	font-size: 0.5625rem;
	height: 18px;
	justify-content: center;
	width: 18px;
}

[data-theme="light"] #nn-trial .trial-icon.is-done,
[data-theme="light"] #nn-trial .trial-verified-chip i,
[data-theme="light"] #nn-trial .trial-file.is-sent .trial-file-icon,
[data-theme="light"] #nn-trial .trial-check {
	color: var(--green-800);
}

/* Tour card: the tour's screenshot as a way in, then the pitch */
#nn-trial .trial-tour-card {
	background: linear-gradient(160deg, rgba(10, 126, 250, 0.1), rgba(10, 126, 250, 0) 55%), var(--bg-900);
	border: 1px solid rgba(10, 126, 250, 0.32);
	border-radius: var(--border-radius);
	box-shadow: 0 18px 50px -24px rgba(10, 126, 250, 0.55);
	margin: 0.375rem 0 1.375rem 0;
	overflow: hidden;
}

#nn-trial .trial-tour-media {
	aspect-ratio: 2 / 1;
	background: #000;
	border: 0;
	border-bottom: 1px solid var(--bg-800);
	cursor: pointer;
	display: block;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
	width: 100%;
}

#nn-trial .trial-tour-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	width: 100%;
}

#nn-trial .trial-tour-media:hover img {
	transform: scale(1.025);
}

#nn-trial .trial-tour-shade {
	background:
		linear-gradient(180deg, rgba(20, 20, 20, 0) 45%, rgba(20, 20, 20, 0.75) 100%),
		radial-gradient(60% 70% at 50% 50%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.25));
	inset: 0;
	pointer-events: none;
	position: absolute;
}

/* Sits on the screenshot, so it keeps dark colors in both themes */
#nn-trial .trial-tour-badge {
	-webkit-backdrop-filter: blur(6px);
	align-items: center;
	backdrop-filter: blur(6px);
	background: rgba(20, 20, 20, 0.72);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--border-radius);
	color: #fff;
	display: flex;
	font-size: var(--text-xs);
	font-weight: 700;
	gap: 0.375rem;
	left: 0.875rem;
	padding: 0.3125rem 0.625rem;
	position: absolute;
	top: 0.875rem;
}

#nn-trial .trial-tour-body {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: space-between;
	padding: 1rem 1.125rem 1.125rem 1.125rem;
}

#nn-trial .trial-tour-body p {
	color: var(--text-400);
	flex: 1 1 260px;
	font-size: var(--text-sm);
	line-height: 1.5;
	margin: 0;
}

#nn-trial .trial-tour-body strong {
	color: var(--text-50);
	display: block;
	font-size: var(--text-lg);
	margin-bottom: 0.125rem;
}

#nn-trial .trial-tour-btn {
	flex-shrink: 0;
	font-size: var(--text-sm);
	padding: 0.75rem 1.25rem;
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
	#nn-trial .trial-tour-media img {
		transition: none;
	}
}

#nn-trial .trial-divider {
	align-items: center;
	color: var(--text-500);
	display: flex;
	font-size: var(--text-xs);
	font-weight: 600;
	gap: 0.75rem;
	letter-spacing: 0.06em;
	margin: 0.25rem 0 1.125rem 0;
	text-transform: uppercase;
}

#nn-trial .trial-divider::before,
#nn-trial .trial-divider::after {
	background: var(--bg-800);
	content: "";
	flex: 1;
	height: 1px;
}

#nn-trial .trial-install {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	list-style: none;
	margin: 0 0 1rem 0;
	padding: 0;
}

#nn-trial .trial-install li {
	align-items: flex-start;
	color: var(--text-200);
	display: flex;
	font-size: var(--text-sm);
	gap: 0.75rem;
	line-height: 1.5;
}

#nn-trial .trial-install strong {
	color: var(--text-50);
}

#nn-trial .trial-install-num {
	align-items: center;
	background: var(--bg-850);
	border: 1px solid var(--bg-700);
	border-radius: 50%;
	color: var(--text-400);
	display: flex;
	flex-shrink: 0;
	font-size: var(--text-mini);
	font-weight: 700;
	height: 22px;
	justify-content: center;
	margin-top: 0.0625rem;
	width: 22px;
}

#nn-trial .trial-help {
	font-size: var(--text-sm);
	margin: 0;
	text-align: center;
}

/* !- Tour */
#nn-trial.is-touring .container-fluid {
	display: none;
}

/* Full width, rule included, so it covers the page scrolling under it; its
   contents sit in the container with the rest of the tour */
#nn-trial .trial-tour-topbar {
	background: var(--bg-950);
	border-bottom: 1px solid var(--bg-700);
	position: sticky;
	top: var(--header-offset, 0px);
	z-index: 30;
}

#nn-trial .trial-tour-bar {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 0.9375rem 0;
}

#nn-trial .trial-tour-bar .trial-back {
	margin: 0;
}

#nn-trial .trial-tour-title {
	color: var(--text-50);
	font-size: var(--text-sm);
	font-weight: 700;
	margin: 0;
}

#nn-trial .trial-tour-title span {
	color: var(--text-500);
	font-weight: 600;
	margin-left: 0.25rem;
}

#nn-trial .trial-tour-section {
	padding: 2.75rem 0 5.625rem 0;
}

#nn-trial .trial-tour-section .trial-title {
	font-size: var(--text-2xl);
}

#nn-trial .trial-tour-head {
	align-items: flex-start;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	margin-bottom: 0.875rem;
}

#nn-trial .trial-tour-head .trial-sub {
	margin-bottom: 0;
}

/* Reset, Back, Got it and Restart */
#nn-trial .trial-tour-plain-btn {
	background: var(--bg-800);
	border: 1px solid var(--bg-700);
	color: var(--text-100);
	flex: none;
	font-size: var(--text-xs);
	padding: 0.5rem 1rem;
}

#nn-trial .trial-tour-plain-btn:hover {
	background: var(--bg-700);
	border-color: var(--bg-700);
	color: var(--text-50);
}

#nn-trial .trial-tour-plain-btn:disabled {
	background: var(--bg-800);
	border-color: var(--bg-700);
	color: var(--text-100);
	opacity: 0.35;
}

#nn-trial .trial-tour-frame {
	background: var(--bg-900);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	container: nn-tour / inline-size;
	overflow: hidden;
}

/* !- Tour steps */
#nn-trial .trial-tour-steps {
	border-bottom: 1px solid var(--bg-700);
	display: flex;
	gap: 0.375rem;
	overflow-x: auto;
	padding: 0.625rem 0.75rem;
}

#nn-trial .trial-tour-step {
	align-items: center;
	background: transparent;
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	color: var(--text-400);
	cursor: pointer;
	display: flex;
	flex: 1 1 0;
	font-size: var(--text-mini);
	gap: 0.4375rem;
	min-width: 0;
	padding: 0.3125rem 0.75rem 0.3125rem 0.3125rem;
	white-space: nowrap;
}

#nn-trial .trial-tour-step:hover {
	border-color: var(--blue-500);
	color: var(--text-100);
}

#nn-trial .trial-tour-step:focus-visible {
	outline: 2px solid var(--blue-500);
	outline-offset: 2px;
}

#nn-trial .trial-tour-step.is-active {
	background: var(--bg-850);
	border-color: var(--blue-500);
	color: var(--text-50);
}

#nn-trial .trial-tour-step-num {
	align-items: center;
	background: var(--bg-800);
	border: 1px solid var(--bg-700);
	border-radius: 50%;
	display: flex;
	flex: none;
	font-size: var(--text-micro);
	font-weight: 700;
	height: 20px;
	justify-content: center;
	width: 20px;
}

#nn-trial .trial-tour-step.is-active .trial-tour-step-num {
	background: var(--blue-500);
	border-color: var(--blue-500);
	color: #fff;
}

#nn-trial .trial-tour-step.is-done .trial-tour-step-num {
	background: var(--green-500);
	border-color: var(--green-500);
	color: #0c1f12;
}

#nn-trial .trial-tour-step-label {
	overflow: hidden;
	text-overflow: ellipsis;
}

/* !- Screenshot and markers */
#nn-trial .trial-shot {
	background: #141414;
	container-type: inline-size;
	position: relative;
}

#nn-trial .trial-shot img {
	display: block;
	height: auto;
	width: 100%;
}

/* Only the current marker shows */
#nn-trial .trial-hot {
	background: rgba(10, 126, 250, 0.12);
	border: 2px solid var(--blue-500);
	border-radius: var(--border-radius);
	cursor: pointer;
	opacity: 0;
	padding: 0;
	position: absolute;
	transition: opacity 0.2s ease, visibility 0.2s;
	visibility: hidden;
}

#nn-trial .trial-hot.is-current {
	animation: nn-trial-hot 1.4s infinite;
	opacity: 1;
	visibility: visible;
}

@keyframes nn-trial-hot {
	0% {
		box-shadow: 0 0 0 0 rgba(10, 126, 250, 0.55);
	}

	70% {
		box-shadow: 0 0 0 14px rgba(10, 126, 250, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(10, 126, 250, 0);
	}
}

/* Above the tip, which can overlap it when the screenshot is narrow. The
   ring is the screenshot's own background, so it reads as a cut-out. */
#nn-trial .trial-hot-num {
	align-items: center;
	background: var(--blue-500);
	border-radius: 50%;
	box-shadow: 0 0 0 2px #141414;
	color: #fff;
	display: flex;
	font-size: var(--text-mini);
	font-weight: 700;
	height: 24px;
	justify-content: center;
	left: -12px;
	position: absolute;
	top: -12px;
	width: 24px;
	z-index: 21;
}

/* Too small to hold the number without covering the control it points at */
#nn-trial .trial-hot.is-tiny .trial-hot-num {
	left: -30px;
	top: -30px;
}

/* --tx and --ty are pixels of the 1920px-wide screenshot, so the tip moves
   with it (100cqw is the screenshot's rendered width) */
#nn-trial .trial-hot-tip {
	background: var(--bg-900);
	border: 1px solid var(--bg-700);
	border-radius: var(--border-radius);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
	color: var(--text-200);
	font-size: var(--text-xs);
	left: calc(var(--tx) * 100cqw / 1920);
	line-height: 1.45;
	max-width: 260px;
	min-width: 200px;
	padding: 0.625rem 0.75rem;
	position: absolute;
	text-align: left;
	top: calc(var(--ty) * 100cqw / 1920);
	width: max-content;
	z-index: 20;
}

#nn-trial .trial-hot-tip strong,
#nn-trial .trial-tour-mirror-text strong {
	color: var(--text-50);
	display: block;
	margin-bottom: 0.1875rem;
}

/* The gap never shrinks below the number's overhang on a narrow screenshot */
#nn-trial .trial-hot.tip-left .trial-hot-tip {
	left: auto;
	right: calc(100% + max(18px, var(--tr) * 100cqw / 1920));
}

#nn-trial .trial-hot.tip-left.is-tiny .trial-hot-tip {
	right: calc(100% + max(36px, var(--tr) * 100cqw / 1920));
}

#nn-trial .trial-hot.tip-above .trial-hot-tip {
	bottom: calc(100% + var(--tb) * 100cqw / 1920);
	top: auto;
}

[data-theme="light"] #nn-trial .trial-hot-tip {
	box-shadow: 0 6px 18px rgba(20, 20, 40, 0.18);
}

/* Covers the screenshot at the end; dark in both themes */
#nn-trial .trial-tour-complete {
	align-items: center;
	background: rgba(20, 20, 20, 0.92);
	display: flex;
	flex-direction: column;
	inset: 0;
	justify-content: center;
	padding: 1.25rem;
	position: absolute;
	text-align: center;
	z-index: 30;
}

#nn-trial .trial-tour-complete[hidden] {
	display: none;
}

#nn-trial .trial-tour-complete h2 {
	color: #fff;
	font-size: var(--text-lg);
	margin: 0 0 0.5rem 0;
}

#nn-trial .trial-tour-complete p {
	color: #bdbdc1;
	font-size: var(--text-xs);
	margin: 0 0 1rem 0;
}

/* !- Below the screenshot */
#nn-trial .trial-tour-mirror {
	border-top: 1px solid var(--bg-700);
	color: var(--text-200);
	display: none;
	font-size: var(--text-xs);
	line-height: 1.45;
	padding: 0.625rem 0.875rem;
}

#nn-trial .trial-tour-mirror-num {
	align-items: center;
	background: var(--blue-500);
	border-radius: 50%;
	color: #fff;
	display: flex;
	float: left;
	font-size: var(--text-micro);
	font-weight: 700;
	height: 20px;
	justify-content: center;
	margin: 0 0.5rem 0.25rem 0;
	width: 20px;
}

#nn-trial .trial-tour-mirror .trial-tour-plain-btn {
	display: block;
	margin-top: 0.5rem;
	padding: 0.375rem 0.75rem;
}

#nn-trial .trial-tour-cap-row {
	align-items: flex-start;
	border-top: 1px solid var(--bg-700);
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.875rem 1rem;
}

#nn-trial .trial-tour-cap {
	color: var(--text-400);
	font-size: var(--text-sm);
	margin: 0;
}

#nn-trial .trial-tour-cap strong {
	color: var(--text-50);
}

#nn-trial .trial-tour-progress {
	color: var(--link-alt);
	font-size: var(--text-mini);
	margin: 0;
	padding-top: 0.125rem;
	white-space: nowrap;
}

#nn-trial .trial-tour-nav {
	border-top: 1px solid var(--bg-700);
	display: flex;
	padding: 0.875rem 1rem;
}

#nn-trial .trial-tour-buy {
	margin: 1.75rem 0 0 0;
	text-align: center;
}

#nn-trial .trial-tour-buy .btn {
	font-size: var(--text-base);
	padding: 0.9375rem 1.875rem;
}

@media (prefers-reduced-motion: reduce) {
	#nn-trial .trial-panel,
	#nn-trial .trial-hot.is-current {
		animation: none;
	}

	#nn-trial .trial-hot {
		transition: none;
	}
}

/* Below 700px of screenshot the tips no longer fit on it, so the current one
   shows under the screenshot instead. Keyed to the screenshot's width, not the
   window's, since that's what the tips have to fit inside. */
@container nn-tour (max-width: 699.98px) {
	#nn-trial .trial-hot-tip {
		display: none;
	}

	#nn-trial .trial-tour-mirror {
		display: block;
	}
}

/* !- Below lg: rail hidden, 44px touch targets */
@media (max-width: 991.98px) {
	#nn-trial .trial-back,
	#nn-trial .trial-tour-btn,
	#nn-trial .pw-toggle {
		min-height: 44px;
	}
}

/* !- Phone */
@media (max-width: 575.98px) {
	#nn-trial .trial-main {
		padding-bottom: 3rem;
	}

	#nn-trial .trial-topbar {
		padding-top: 1.125rem;
	}

	#nn-trial .trial-hero {
		height: 124px;
		margin-top: 1.125rem;
	}

	#nn-trial .trial-hero p {
		bottom: 0.75rem;
		font-size: var(--text-base);
		left: 1rem;
	}

	#nn-trial .trial-stepper {
		margin-top: 1.375rem;
	}

	#nn-trial .trial-step-label {
		display: none;
	}

	#nn-trial .trial-panel {
		padding-top: 1.625rem;
	}

	#nn-trial h1,
	#nn-trial .trial-title {
		font-size: var(--text-2xl);
	}

	#nn-trial .trial-new {
		gap: 0.5625rem;
		margin-bottom: 1.375rem;
		padding: 0.75rem 0.875rem;
	}

	#nn-trial .trial-new-desc {
		display: none;
	}

	#nn-trial .trial-file {
		padding: 0.9375rem;
	}

	#nn-trial .trial-tour-btn {
		width: 100%;
	}

	#nn-trial .trial-login-banner {
		align-items: stretch;
		flex-direction: column;
	}

	#nn-trial .trial-login-btn {
		width: 100%;
	}

	#nn-trial .trial-tour-bar {
		padding: 0.75rem 0;
	}

	#nn-trial .trial-tour-title span {
		display: none;
	}

	#nn-trial .trial-tour-section {
		padding: 1.875rem 0 3.75rem 0;
	}

	#nn-trial .trial-tour-step {
		flex: 0 0 auto;
		padding: 0.3125rem;
	}

	#nn-trial .trial-tour-step-label {
		display: none;
	}

	#nn-trial .trial-tour-step.is-active {
		padding-right: 0.75rem;
	}

	#nn-trial .trial-tour-step.is-active .trial-tour-step-label {
		display: inline;
	}

	#nn-trial .trial-tour-cap-row {
		flex-direction: column;
		gap: 0.375rem;
	}
}
