/* =====================================================================
   NotyLab single tool page — "Figure One" applied to one tool.

   Loaded after unica-core-home.css, which brings the tokens (--nl-*),
   the bands, the type voices, buttons, the sheet, the index list and the
   closing band. This file adds only what a tool page needs:

     1. Hero: the tool's identity line and its figure sheet
        (before/after, a real capture, or the feature legend)
     2. Section navigation, pinned under the site header
     3. Steps on a ruler            7. Guide: contents + prose
     4. Demo frame                  8. Who it is for
     5. Feature cards               9. Screenshots
     6. Index rows with a type     10. Questions

   Same rules as the front page: two radii, two shadows, teal for the
   instrument, amber for the measurement, nothing under 13px.
   ===================================================================== */

.uc-tool {
	--nl-tool-nav-h: 3.5rem;
	--nl-tool-top: calc(var(--header-height, 64px) + var(--nl-tool-nav-h));
}

/* Anchors land below the site header and the pinned navigation. */
.uc-tool [id] {
	scroll-margin-top: calc(var(--nl-tool-top) + 1.25rem);
}

.uc-tool .nl-aside__head {
	top: calc(var(--nl-tool-top) + 2rem);
}

.uc-tool .nl-band {
	padding-block: clamp(4rem, 7.5vw, 7rem);
}

/* ── 1. Hero ──────────────────────────────────────────────────────── */
.uc-tool .nl-tool-hero {
	padding-block: 0.5rem clamp(3.5rem, 6.5vw, 6rem);
}

.nl-tool-hero .breadcrumbs {
	margin-bottom: clamp(1.25rem, 3vw, 2.75rem);
	font-size: 0.8125rem;
}

.nl-tool-hero__grid {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(2.5rem, 5vw, 5rem);
}

/* Nothing to show beside the headline: let the copy take a reading width. */
.nl-tool-hero--solo .nl-tool-hero__grid {
	grid-template-columns: minmax(0, 46rem);
}

/* Who is speaking: glyph, name, what kind of tool, and its one status. */
.nl-tool-id {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 0.85rem;
}

.nl-tool-id__text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 0;
}

.nl-tool-id__name {
	color: var(--nl-fg);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.nl-tool-id__kind {
	font-size: 0.8125rem;
	line-height: 1.35;
	color: var(--nl-fg-dim);
}

.nl-tool-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	overflow: hidden;
	border-radius: var(--nl-r-plate);
	background: var(--nl-plate);
	box-shadow: inset 0 0 0 1px rgb(11 38 53 / 0.1), var(--nl-shadow-rest);
}

.nl-tool-icon img {
	width: 1.75rem;
	height: 1.75rem;
}

.nl-tool-icon--photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nl-tool-icon--mono {
	background: var(--nl-tint);
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--nl-brand) 24%, transparent);
	color: var(--nl-brand);
	font-family: var(--nl-f-mono);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1;
}

.nl-tool-tag {
	padding: 0.18rem 0.6rem;
	border: 1px solid var(--nl-line);
	border-radius: 999px;
	color: var(--nl-fg-dim);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}

.nl-tool-tag--free {
	border-color: transparent;
	background: color-mix(in srgb, var(--nl-brand) 13%, var(--nl-surface));
	color: var(--nl-brand);
}

/* The title is written for search — a full phrase, not a slogan — so it
   is set smaller than the front page's, and allowed three lines. */
.uc-tool .nl-tool-hero__title {
	margin-block: 1.3rem 1.25rem;
	font-size: clamp(2.15rem, 3.7vw, 3.35rem);
	line-height: 1.07;
}

[dir="rtl"] .uc-tool .nl-tool-hero__title {
	font-size: clamp(1.9rem, 3.1vw, 2.75rem);
	line-height: 1.3;
}

.nl-tool-hero .nl-hero__lead {
	margin-bottom: 1.85rem;
}

.nl-tool-play {
	flex: none;
	color: var(--nl-brand);
}

.nl-tool-also {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.9rem;
	margin-top: 1.1rem;
	font-size: 0.875rem;
}

.uc-tool .nl-tool-also a {
	color: var(--nl-brand);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* The figure sheet. Three kinds share the white page and its crop marks. */
.nl-tool-sheet {
	display: flex;
	flex-direction: column;
}

/* a) Before/after. The slider's own <figure> dissolves into the sheet so
      its stage, the "Figure 1." line and its caption can sit in that order. */
.nl-tool-sheet--compare .unica-before-after {
	display: contents;
}

.nl-tool-sheet--compare .unica-before-after__stage {
	order: 1;
	border: 0;
	border-radius: 3px;
	background: #e8eef0;
}

.nl-tool-sheet .nl-sheet__caption {
	order: 2;
	padding-bottom: 0.35rem;
}

.nl-tool-sheet--compare figcaption {
	order: 3;
	margin: 0;
	padding: 0 0.25rem 1.05rem;
	color: #5a6c75;
	font-size: 0.8125rem;
	line-height: 1.55;
}

.nl-tool-sheet--image .nl-sheet__caption,
.nl-tool-sheet--compare .nl-sheet__caption:last-child {
	padding-bottom: 1.05rem;
}

.nl-tool-sheet__hint {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-inline-start: 0.35rem;
	color: var(--nl-mark-text);
	font-weight: 600;
	white-space: nowrap;
}

.nl-tool-sheet .nl-tool-sheet__hint {
	color: #b45309;
}

.nl-tool-sheet__hint .nl-bar {
	width: 1.25rem;
	height: 0.5rem;
}

/* The handle is where the measurement is made: amber, like every mark. */
.nl-tool-sheet--compare .unica-before-after__handle {
	border-color: #ffffff;
	background: var(--nl-mark);
	color: #231500;
}

.nl-tool-sheet--compare .unica-before-after__label {
	top: 0.625rem;
	border: 0;
	background: rgb(11 38 53 / 0.78);
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	backdrop-filter: none;
	box-shadow: none;
}

.nl-tool-sheet--compare .unica-before-after__label--before {
	left: 0.625rem;
}

.nl-tool-sheet--compare .unica-before-after__label--after {
	right: 0.625rem;
	background: var(--nl-mark);
	color: #231500;
}

.nl-tool-sheet--compare .unica-before-after__stage:focus-within {
	outline: 2px solid var(--nl-plate-brand);
	outline-offset: 2px;
}

/* b) One real capture. */
.nl-tool-sheet__plate {
	overflow: hidden;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: inset 0 0 0 1px rgb(11 38 53 / 0.1);
}

.nl-tool-sheet__plate img {
	width: 100%;
}

/* c) The legend: the tool's features, lettered like the panels of a figure. */
.nl-tool-sheet--legend {
	padding: clamp(1.25rem, 2.4vw, 1.9rem);
}

.uc-tool .nl-tool-legend__title {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.4rem;
	color: var(--nl-plate-brand);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

[dir="rtl"] .uc-tool .nl-tool-legend__title {
	letter-spacing: 0;
}

.nl-tool-legend__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 1rem;
	padding-block: 1.15rem;
	font-size: 0.9688rem;
	line-height: 1.55;
}

.nl-tool-legend__item + .nl-tool-legend__item {
	border-top: 1px solid rgb(11 38 53 / 0.1);
}

.nl-tool-legend__item:last-child {
	padding-bottom: 0.25rem;
}

.uc-tool .nl-tool-legend__name {
	margin-bottom: 0.2rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.012em;
}

.nl-tool-letter {
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 3px;
	background: color-mix(in srgb, var(--nl-brand) 11%, transparent);
	color: var(--nl-brand);
	font-family: var(--nl-f-mono);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
}

.nl-tool-dots {
	display: grid;
	gap: 0.35rem;
}

.nl-tool-dots li {
	position: relative;
	padding-inline-start: 1.1rem;
}

.nl-tool-dots li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0.1rem;
	top: 0.72em;
	width: 0.4rem;
	height: 1.5px;
	background: var(--nl-brand);
}

/* ── 2. Section navigation ────────────────────────────────────────── */
.nl-tool-nav {
	position: sticky;
	top: var(--header-height, 64px);
	z-index: 20;
	border-bottom: 1px solid var(--nl-line);
	background: color-mix(in srgb, var(--nl-paper) 94%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
}

.nl-tool-nav__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--nl-tool-nav-h);
}

.nl-tool-nav__name {
	flex: none;
	padding-inline-end: 1.5rem;
	border-inline-end: 1px solid var(--nl-line);
	color: var(--nl-fg);
	font-family: var(--nl-f-mono);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.75rem;
}

.nl-tool-nav__list {
	display: flex;
	flex: 1;
	align-items: stretch;
	gap: 1.6rem;
	min-width: 0;
	height: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.nl-tool-nav__list::-webkit-scrollbar {
	display: none;
}

.nl-tool-nav__list li {
	flex: none;
	display: flex;
}

.uc-tool .nl-tool-nav__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: var(--nl-fg-dim);
	font-size: 0.9063rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s;
}

.uc-tool .nl-tool-nav__link:hover,
.uc-tool .nl-tool-nav__link.is-active {
	color: var(--nl-fg);
}

.uc-tool .nl-tool-nav__link:focus-visible {
	outline-offset: -3px;
}

/* The active section is marked the way everything here is: by a scale bar. */
.nl-tool-nav__link::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0.7rem;
	height: 5px;
	border-inline: 1.5px solid var(--nl-mark);
	border-bottom: 1.5px solid var(--nl-mark);
	opacity: 0;
	transform: scaleX(0.4);
	transition: opacity 0.2s, transform 0.3s var(--nl-ease);
}

.nl-tool-nav__link.is-active::after {
	opacity: 1;
	transform: none;
}

/* The button appears once the hero's own has scrolled away. */
.uc-tool .nl-tool-nav__cta {
	flex: none;
	min-height: 2.25rem;
	padding: 0.4rem 1rem;
	font-size: 0.875rem;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.25s, transform 0.25s var(--nl-ease), visibility 0.25s, background-color 0.2s;
}

.nl-tool-nav.is-stuck .nl-tool-nav__cta {
	opacity: 1;
	visibility: visible;
	transform: none;
}

/* ── 3. How it works: steps on a ruler ────────────────────────────── */
.nl-tool-steps {
	display: grid;
	grid-template-columns: repeat(var(--nl-tool-cols, 3), minmax(0, 1fr));
	row-gap: clamp(2.25rem, 4vw, 3.25rem);
}

/* Each step carries its own length of ruler; side by side they read as
   one, and a second row gets a ruler of its own. */
.nl-tool-step {
	position: relative;
	padding-top: 2.5rem;
	padding-inline-end: clamp(1.5rem, 3vw, 2.75rem);
}

.nl-tool-step::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 11px;
	border-top: 1px solid color-mix(in srgb, var(--nl-fg) 30%, transparent);
	background:
		repeating-linear-gradient(90deg, color-mix(in srgb, var(--nl-fg) 30%, transparent) 0 1px, transparent 1px 10px) top / 100% 5px no-repeat;
}

.nl-tool-step::after {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	width: 2px;
	height: 1.15rem;
	background: var(--nl-mark);
}

.nl-tool-steps .nl-step__n {
	font-size: 3.25rem;
}

/* Six short outcomes rather than three explained steps: smaller numerals. */
.nl-tool-step:not(:has(.nl-step__text)) .nl-step__n {
	margin-bottom: 0.6rem;
	font-size: 2.5rem;
}

.uc-tool .nl-tool-step:not(:has(.nl-step__text)) .nl-step__title {
	margin-bottom: 0;
	font-size: 1.0938rem;
	line-height: 1.4;
	text-wrap: balance;
}

/* ── 4. Demo ──────────────────────────────────────────────────────── */
.nl-tool-demo {
	overflow: hidden;
}

.nl-tool-demo::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(50% 55% at 78% 0%, color-mix(in srgb, var(--color-primary, #0891b2) 22%, transparent), transparent 70%);
	pointer-events: none;
}

.nl-tool-demo > .nl-wrap {
	position: relative;
}

.nl-tool-demo__frame {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--nl-r-plate);
	background: #000000;
	box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1), 0 30px 50px -30px rgb(0 0 0 / 0.9);
}

.nl-tool-demo__frame :is(video, iframe) {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ── 5. Features ──────────────────────────────────────────────────── */
.nl-tool-feats {
	display: grid;
	grid-template-columns: repeat(var(--nl-tool-cols, 3), minmax(0, 1fr));
	gap: 1.25rem;
}

.nl-tool-feat {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: clamp(1.25rem, 2.2vw, 1.85rem);
	border: 1px solid var(--nl-line);
	border-radius: var(--nl-r-card);
	background: var(--nl-surface);
	box-shadow: var(--nl-shadow-rest);
	font-size: 0.9688rem;
	line-height: 1.55;
}

.nl-tool-feat .nl-tool-letter {
	margin-bottom: 0.6rem;
}

.uc-tool .nl-tool-feat__title {
	font-size: 1.1875rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.nl-tool-feat__text {
	text-wrap: pretty;
}

.nl-tool-why {
	margin-top: clamp(2rem, 4vw, 3.25rem);
}

.uc-tool .nl-tool-why__title {
	font-size: 1.1875rem;
	font-weight: 600;
	letter-spacing: -0.012em;
}

.nl-tool-why .nl-notes {
	margin-top: 1.1rem;
	gap: 0.75rem 2rem;
	font-weight: 400;
}

.nl-tool-why .nl-notes li {
	flex: 1 1 20rem;
	align-items: baseline;
	color: var(--nl-fg-dim);
}

/* ── 6. Index rows with a type line ───────────────────────────────── */
.nl-tool-index__main {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	min-width: 0;
}

.nl-tool-index__type {
	color: var(--nl-mark-text);
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

[dir="rtl"] .nl-tool-index__type {
	letter-spacing: 0;
}

.uc-tool .nl-tool-index .nl-index__title {
	font-size: 1.375rem;
	font-weight: 400;
}

[dir="rtl"] .uc-tool .nl-tool-index .nl-index__title {
	font-weight: 600;
}

/* A long excerpt is a teaser here, not the text. */
.nl-tool-index a .nl-index__facts {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}

.uc-tool .nl-tool-index .nl-index__row {
	align-items: center;
}

.nl-tool-more .nl-head .nl-link {
	margin-top: 1.5rem;
}

/* Use cases are statements, not links: the same rows, standing still. */
.uc-tool .nl-tool-index--static .nl-index__row {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
	align-items: baseline;
}

.uc-tool .nl-tool-index--static .nl-index__row:hover {
	padding-inline: 0.75rem;
	background: none;
}

.uc-tool .nl-tool-index--static .nl-index__facts {
	font-size: 0.9688rem;
	line-height: 1.6;
}

/* Who it is for: a checklist, two across. */
.nl-tool-who {
	margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
}

.nl-tool-who--lead {
	margin-top: 0;
}

.uc-tool .nl-tool-who__title {
	margin-bottom: 1.1rem;
	font-size: 1.1875rem;
	font-weight: 600;
	letter-spacing: -0.012em;
}

.nl-tool-who__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--nl-line);
}

.nl-tool-who__list li {
	position: relative;
	padding: 1rem 1.25rem 1rem 1.75rem;
	padding-inline: 1.75rem 1.25rem;
	border-bottom: 1px solid var(--nl-line);
	color: var(--nl-fg);
	font-size: 0.9688rem;
	line-height: 1.55;
}

.nl-tool-who__list li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0.25rem;
	top: 1.5rem;
	width: 0.6rem;
	height: 0.35rem;
	border-left: 1.75px solid var(--nl-brand);
	border-bottom: 1.75px solid var(--nl-brand);
	transform: rotate(-45deg);
}

/* ── 7. Guide ─────────────────────────────────────────────────────── */
.nl-tool-guide__grid {
	grid-template-columns: minmax(0, 3.4fr) minmax(0, 8.6fr);
	gap: clamp(2rem, 5vw, 5rem);
}

.nl-tool-toc__title {
	margin-top: 1.5rem;
	color: var(--nl-fg);
	font-size: 0.9375rem;
	font-weight: 600;
}

.nl-tool-toc__list {
	margin-top: 0.75rem;
	border-inline-start: 1px solid var(--nl-line);
}

.uc-tool .nl-tool-toc__list a {
	display: block;
	margin-inline-start: -1px;
	padding: 0.4rem 0 0.4rem 1rem;
	padding-inline: 1rem 0;
	border-inline-start: 2px solid transparent;
	color: var(--nl-fg-dim);
	font-size: 0.9063rem;
	line-height: 1.4;
	text-wrap: pretty;
	transition: color 0.2s, border-color 0.2s;
}

.uc-tool .nl-tool-toc__list a:hover {
	color: var(--nl-fg);
}

.uc-tool .nl-tool-toc__list a.is-active {
	border-inline-start-color: var(--nl-mark);
	color: var(--nl-fg);
	font-weight: 600;
}

.nl-tool-toc__updated {
	margin-top: 1.5rem;
	font-size: 0.8125rem;
	color: var(--nl-fg-dim);
}

/* The text itself. Written for reading: a 68-character measure, serif
   headings, figures treated as plates. It does not carry the theme's
   .entry-content class: every element it can hold is styled here. */
.nl-tool-prose {
	max-width: 44rem;
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--nl-fg-dim);
}

.uc-tool .nl-tool-prose :is(p, ul, ol, figure) {
	margin-block: 0 1.15rem;
}

.nl-tool-prose__intro {
	color: var(--nl-fg);
	font-size: 1.1875rem;
	line-height: 1.65;
}

.nl-tool-prose__section + .nl-tool-prose__section,
.nl-tool-prose__intro + .nl-tool-prose__section {
	margin-top: clamp(2.25rem, 4vw, 3.25rem);
	padding-top: clamp(2.25rem, 4vw, 3.25rem);
	border-top: 1px solid var(--nl-line);
}

.nl-tool-prose__section > :last-child {
	margin-bottom: 0;
}

.uc-tool .nl-tool-prose h2 {
	margin: 0 0 1rem;
	font-size: clamp(1.6rem, 2.4vw, 2rem);
	line-height: 1.18;
	color: var(--nl-fg);
}

.uc-tool .nl-tool-prose h3 {
	margin: 1.75rem 0 0.6rem;
	font-size: 1.1875rem;
	font-weight: 600;
	letter-spacing: -0.012em;
}

.uc-tool .nl-tool-prose strong {
	color: var(--nl-fg);
	font-weight: 600;
}

.uc-tool .nl-tool-prose a:not(.unica-content-media__link) {
	color: var(--nl-brand);
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--nl-brand) 35%, transparent);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}

.uc-tool .nl-tool-prose a:not(.unica-content-media__link):hover {
	text-decoration-color: currentColor;
}

.uc-tool .nl-tool-prose :is(ul, ol) {
	display: grid;
	gap: 0.6rem;
	padding: 0;
	list-style: none;
}

.uc-tool .nl-tool-prose :is(ul, ol) > li {
	position: relative;
	margin: 0;
	padding-inline-start: 1.6rem;
}

.uc-tool .nl-tool-prose ul > li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0.2rem;
	top: 0.875em;
	margin-top: -0.75px;
	width: 0.6rem;
	height: 1.5px;
	background: var(--nl-brand);
}

/* Numbered steps: the numeral in the page's data voice. */
.uc-tool .nl-tool-prose ol {
	counter-reset: nl-step;
	gap: 0.85rem;
}

.uc-tool .nl-tool-prose ol > li {
	counter-increment: nl-step;
	padding-inline-start: 2.6rem;
}

.uc-tool .nl-tool-prose ol > li::before {
	content: counter(nl-step);
	position: absolute;
	inset-inline-start: 0;
	top: 0.12em;
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 3px;
	background: color-mix(in srgb, var(--nl-brand) 11%, transparent);
	color: var(--nl-brand);
	font-family: var(--nl-f-mono);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1;
}

[dir="rtl"] .uc-tool .nl-tool-prose ol > li::before {
	content: counter(nl-step, persian);
	font-family: var(--nl-f-sans);
}

.uc-tool .nl-tool-prose blockquote {
	margin: 0 0 1.15rem;
	padding-inline-start: 1.1rem;
	border-inline-start: 2px solid var(--nl-mark);
	color: var(--nl-fg);
}

.uc-tool .nl-tool-prose :is(code, kbd) {
	padding: 0.1em 0.35em;
	border-radius: 3px;
	background: var(--nl-tint);
	font-family: var(--nl-f-mono);
	font-size: 0.9em;
}

.uc-tool .nl-tool-prose table {
	width: 100%;
	margin-bottom: 1.15rem;
	border-collapse: collapse;
	font-size: 0.9688rem;
}

.uc-tool .nl-tool-prose :is(th, td) {
	padding: 0.7rem 0.75rem;
	border-bottom: 1px solid var(--nl-line);
	text-align: start;
	vertical-align: top;
}

.uc-tool .nl-tool-prose th {
	color: var(--nl-fg);
	font-weight: 600;
}

.uc-tool .nl-tool-prose img {
	border-radius: var(--nl-r-plate);
}

/* Figures: a hairline plate and a caption marked in amber. */
.uc-tool .nl-tool-prose .unica-content-media {
	width: auto;
	max-width: 100%;
	margin: 1.75rem 0;
}

.uc-tool .nl-tool-prose .unica-content-media--portrait {
	max-width: min(100%, 320px);
}

.uc-tool .nl-tool-prose .unica-content-media__image {
	width: 100%;
	border: 0;
	border-radius: var(--nl-r-plate);
	box-shadow: 0 0 0 1px var(--nl-line), var(--nl-shadow-raised);
}

.uc-tool .nl-tool-prose figcaption {
	margin-top: 1rem;
	padding-inline-start: 0.9rem;
	border-inline-start: 2px solid var(--nl-mark);
	color: var(--nl-fg-dim);
	font-size: 0.9063rem;
	line-height: 1.5;
}

.uc-tool .nl-tool-prose .unica-content-section {
	margin-block: 0;
}

.uc-tool .nl-tool-prose .unica-before-after__stage {
	border-radius: var(--nl-r-plate);
}

/* ── 9. Screenshots ───────────────────────────────────────────────── */
.nl-tool-shots__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
	gap: 1.25rem;
}

.uc-tool .nl-tool-shot {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: var(--nl-r-plate);
	background: var(--nl-plate);
	box-shadow: 0 0 0 1px var(--nl-line), var(--nl-shadow-rest);
	cursor: zoom-in;
}

.nl-tool-shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--nl-ease);
}

.nl-tool-shot:hover img {
	transform: scale(1.02);
}

/* ── 10. Questions ────────────────────────────────────────────────── */
.nl-faq {
	border-top: 1px solid var(--nl-line);
}

.nl-faq__item {
	border-bottom: 1px solid var(--nl-line);
}

.nl-faq__q {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1.5rem;
	padding: 1.3rem 0.75rem;
	cursor: pointer;
	list-style: none;
	transition: background-color 0.25s;
}

.nl-faq__q::-webkit-details-marker {
	display: none;
}

.nl-faq__q:hover {
	background: var(--nl-tint);
}

.uc-tool .nl-faq__q:focus-visible {
	outline-offset: -2px;
}

.uc-tool .nl-faq__q h3 {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.012em;
	text-wrap: pretty;
}

/* Plus when closed, minus when open. */
.nl-faq__mark {
	position: relative;
	width: 0.875rem;
	height: 0.875rem;
	color: var(--nl-brand);
}

.nl-faq__mark::before,
.nl-faq__mark::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 50%;
	height: 1.75px;
	margin-top: -0.875px;
	background: currentColor;
	transition: transform 0.3s var(--nl-ease);
}

.nl-faq__mark::after {
	transform: rotate(90deg);
}

.nl-faq__item[open] .nl-faq__mark::after {
	transform: none;
}

.nl-faq__a {
	max-width: 42rem;
	padding: 0 0.75rem 1.5rem;
	font-size: 1rem;
	line-height: 1.7;
}

/* ── Closing band ─────────────────────────────────────────────────── */
.uc-tool .nl-tool-cta .nl-cta__title {
	max-width: 22ch;
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

/* ── Tablet ───────────────────────────────────────────────────────── */
@media (max-width: 1023.98px) {
	.nl-tool-hero__grid,
	.nl-tool-guide__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-tool-hero__grid {
		gap: 2.75rem;
	}

	.nl-tool-sheet {
		width: 100%;
	}

	.nl-tool-nav__name {
		display: none;
	}

	.nl-tool-steps,
	.nl-tool-feats {
		--nl-tool-cols: 2 !important;
	}

	.nl-tool-demo .nl-aside__head {
		margin-bottom: 2rem;
	}

	/* Above the text the contents are a short list, not a sidebar. */
	.nl-tool-toc {
		margin-bottom: 2.25rem;
	}

	.nl-tool-toc__list {
		columns: 2;
		column-gap: 2rem;
	}

	.nl-tool-toc__list li {
		break-inside: avoid;
	}
}

/* ── Phone ────────────────────────────────────────────────────────── */
@media (max-width: 639.98px) {
	.uc-tool {
		--nl-tool-nav-h: 3.25rem;
	}

	.uc-tool .nl-tool-hero__title {
		margin-block: 1.1rem 1rem;
		font-size: clamp(1.95rem, 8.6vw, 2.5rem);
	}

	.nl-tool-hero .nl-actions {
		flex-direction: column;
	}

	.nl-tool-sheet__hint {
		display: flex;
		margin: 0.35rem 0 0;
	}

	.nl-tool-nav__inner {
		gap: 0.75rem;
	}

	.nl-tool-nav__list {
		gap: 1.25rem;
		margin-inline-start: calc(-1 * var(--nl-gutter));
		padding-inline-start: var(--nl-gutter);
		-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), transparent);
		mask-image: linear-gradient(90deg, #000 calc(100% - 1.5rem), transparent);
	}

	[dir="rtl"] .nl-tool-nav__list {
		-webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 1.5rem), transparent);
		mask-image: linear-gradient(270deg, #000 calc(100% - 1.5rem), transparent);
	}

	/* Out of the row until it is wanted, so the links get the full width. */
	.uc-tool .nl-tool-nav__cta {
		display: none;
		max-width: 46%;
		padding-inline: 0.8rem;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.nl-tool-nav.is-stuck .nl-tool-nav__cta {
		display: inline-flex;
	}

	/* The ruler turns to run down the side, as on the front page. */
	.nl-tool-feats {
		--nl-tool-cols: 1 !important;
		gap: 0.875rem;
	}

	.nl-tool-steps {
		--nl-tool-cols: 1 !important;
		row-gap: 0;
	}

	.nl-tool-step {
		padding: 0 0 2rem;
		padding-inline-start: 2.25rem;
	}

	.nl-tool-step:last-child {
		padding-bottom: 0;
	}

	.nl-tool-step::before {
		inset-inline: 0 auto;
		inset-block: 0;
		width: 11px;
		height: auto;
		border-top: 0;
		border-inline-start: 1px solid color-mix(in srgb, var(--nl-fg) 30%, transparent);
		background:
			repeating-linear-gradient(180deg, color-mix(in srgb, var(--nl-fg) 30%, transparent) 0 1px, transparent 1px 10px) left / 5px 100% no-repeat;
	}

	[dir="rtl"] .nl-tool-step::before {
		background-position: right;
	}

	.nl-tool-step::after {
		top: 1.3rem;
		width: 1.15rem;
		height: 2px;
	}

	.nl-tool-steps .nl-step__n {
		font-size: 2.75rem;
	}

	.uc-tool .nl-tool-index .nl-index__title {
		font-size: 1.25rem;
	}

	.uc-tool .nl-tool-index--static .nl-index__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.nl-tool-who__list,
	.nl-tool-toc__list {
		grid-template-columns: minmax(0, 1fr);
		columns: 1;
	}

	.nl-tool-prose {
		font-size: 1rem;
	}

	.nl-tool-prose__intro {
		font-size: 1.0625rem;
	}

	.nl-faq__q {
		padding-inline: 0.25rem;
	}

	.nl-faq__a {
		padding-inline: 0.25rem;
	}

	.uc-tool .nl-faq__q h3 {
		font-size: 1.0625rem;
	}
}

/* ── Print ────────────────────────────────────────────────────────── */
@media print {
	.nl-tool-nav,
	.nl-tool-demo {
		display: none;
	}
}
