/**
 * Trace, front-end + editor supplemental styles
 */

/* --- Design tokens (Next export parity) --- */
:root {
	--trace-accent-rgb: 239, 111, 108;
	--trace-grid-cell: 48px;
	--trace-grid-cell-dense: 24px;
	--trace-grid-opacity: 0.03;
}

/* Tech grid: orthogonal 1px lines (hero / section backgrounds) */
.trace-bg-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: var(--trace-grid-opacity);
	background-image:
		linear-gradient(to right, currentColor 1px, transparent 1px),
		linear-gradient(to bottom, currentColor 1px, transparent 1px);
	background-size: var(--trace-grid-cell) var(--trace-grid-cell);
	color: var(--wp--preset--color--dark);
}

.trace-bg-grid--dense {
	--trace-grid-cell: var(--trace-grid-cell-dense);
}

/* Soft radial wash (top / hero) */
.trace-bg-radial-top {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background: radial-gradient(
		ellipse 85% 55% at 50% 0%,
		rgba(var(--trace-accent-rgb), 0.08) 0%,
		transparent 50%
	);
}

/* Stack: relative container with grid + radial under content */
.trace-hero-shell {
	position: relative;
	overflow: hidden;
}

.trace-hero-shell > .trace-container,
.trace-hero-shell > .trace-hero-v0__wrap {
	position: relative;
	z-index: 1;
}

/* Inner page marketing hero (grid + radial) */
.trace-marketing-hero {
	position: relative;
	overflow: hidden;
	padding: 4rem 1.5rem 3.5rem;
}

@media (min-width: 768px) {
	.trace-marketing-hero {
		padding: 5.5rem 1.5rem 4rem;
	}
}

.trace-marketing-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 72rem;
	margin: 0 auto;
}

.trace-marketing-hero--center .trace-marketing-hero__inner {
	text-align: center;
	max-width: 48rem;
}

/* --- Base --- */
body {
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--wp--preset--color--dark);
	/* Neutral page canvas, coral wash lives on one section per template (hero / .trace-section--radial) */
	background-color: var(--wp--preset--color--background);
	background-image: none;
	margin: 0;
}

/* Visually hidden (WordPress-style), for optional slot labels */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* --- Header layout (narrow screens) --- */
@media (max-width: 781px) {
	.trace-header__actions {
		width: 100%;
		justify-content: flex-end;
	}
}

/* --- Outline buttons --- */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--primary) !important;
	border: 1px solid currentColor;
	box-shadow: none;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: rgba(239, 111, 108, 0.08) !important;
	color: var(--wp--preset--color--primary-dark) !important;
}

/* --- Step badges (home steps) --- */
.trace-step-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--primary) !important;
	color: #fff !important;
	margin: 0;
}

/* --- Placeholder surfaces --- */
.trace-placeholder {
	background: var(--wp--preset--color--placeholder);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.625rem;
	min-height: 8rem;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 1rem;
	padding-right: 1rem;
}

.trace-placeholder--sm {
	min-height: 6rem;
}

.trace-placeholder--md {
	min-height: 12rem;
}

.trace-placeholder--lg {
	min-height: 18rem;
}

.trace-placeholder--hero {
	min-height: 22rem;
}

/* --- Soft coral glow (alternating features) --- */
.trace-glow {
	position: relative;
}

.trace-glow::before {
	content: "";
	position: absolute;
	inset: -12%;
	background: radial-gradient(
		circle at 50% 40%,
		rgba(239, 111, 108, 0.18) 0%,
		transparent 62%
	);
	filter: blur(28px);
	z-index: 0;
	pointer-events: none;
}

.trace-glow > * {
	position: relative;
	z-index: 1;
}

/* --- CTA band (home closing) --- */
.trace-cta-band {
	background: linear-gradient(
		180deg,
		rgba(239, 111, 108, 0.14) 0%,
		var(--wp--preset--color--background) 65%
	);
}

/* --- FAQ accordion --- */
.trace-accordion {
	margin-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--border);
}

.trace-accordion__item {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 0.75rem 0;
}

.trace-accordion__summary {
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.trace-accordion__summary::-webkit-details-marker {
	display: none;
}

.trace-accordion__summary::after {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

details[open] > .trace-accordion__summary::after {
	transform: rotate(-135deg);
}

.trace-accordion__panel {
	padding-top: 0.75rem;
	color: var(--wp--preset--color--muted);
}

.trace-accordion__panel p {
	margin: 0;
}

/* --- Comparison / pricing tables --- */
.trace-table-wrap {
	overflow-x: auto;
	margin-top: 1.75rem;
	border: 1px solid rgba(229, 231, 235, 0.85);
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 14px 36px -26px rgba(15, 23, 42, 0.35);
	-webkit-overflow-scrolling: touch;
}

.trace-comparison-table {
	width: 100%;
	min-width: 820px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.875rem;
	line-height: 1.35;
}

.trace-comparison-table th,
.trace-comparison-table td {
	border-bottom: 1px solid rgba(229, 231, 235, 0.7);
	padding: 0.85rem 1rem;
	text-align: left;
	vertical-align: top;
	background: #fff;
}

.trace-comparison-table th {
	position: sticky;
	top: 0;
	z-index: 3;
	background: #f8fafc;
	font-weight: 600;
	color: #0f172a;
}

.trace-comparison-table th:not(:first-child) {
	text-align: center;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #475569;
}

.trace-comparison-table td:first-child,
.trace-comparison-table th:first-child {
	position: sticky;
	left: 0;
	z-index: 2;
	background: #f8fafc;
	font-weight: 600;
	color: #111827;
}

.trace-comparison-table th:first-child {
	z-index: 4;
}

.trace-comparison-table td:not(:first-child) {
	text-align: center;
	font-weight: 500;
	color: #1f2937;
}

.trace-comparison-table tr:last-child td {
	border-bottom: 0;
}

.trace-comparison-table tr:hover td {
	background: #f9fbff;
}

.trace-comparison-table tr:hover td:first-child {
	background: #f1f5f9;
}

.trace-comparison-table th:nth-child(3),
.trace-comparison-table td:nth-child(3) {
	background: #fef7f6;
}

.trace-comparison-table tr:hover td:nth-child(3) {
	background: #fdeeea;
}

.trace-comparison-table__info-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.trace-comparison-table__info {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 0.4rem;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 9999px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #64748b;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	cursor: help;
	vertical-align: middle;
	opacity: 0.58;
	transition: border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.trace-comparison-table__info:hover,
.trace-comparison-table__info:focus-visible {
	border-color: rgba(var(--trace-accent-rgb), 0.45);
	color: rgb(var(--trace-accent-rgb));
	box-shadow: 0 0 0 3px rgba(var(--trace-accent-rgb), 0.14);
	opacity: 1;
	outline: none;
}

.trace-comparison-table__flyout {
	position: absolute;
	left: calc(100% + 0.55rem);
	top: 50%;
	z-index: 6;
	width: min(18rem, 70vw);
	padding: 0.6rem 0.7rem;
	border-radius: 0.6rem;
	background: #0f172a;
	color: #e5e7eb;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.4;
	box-shadow: 0 12px 32px -16px rgba(2, 6, 23, 0.65);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-50%) translateX(-6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
	pointer-events: none;
}

.trace-comparison-table__flyout::before {
	content: "";
	position: absolute;
	left: -0.3rem;
	top: 50%;
	width: 0.6rem;
	height: 0.6rem;
	background: #0f172a;
	transform: translateY(-50%) rotate(45deg);
}

.trace-comparison-table__info-wrap:hover .trace-comparison-table__flyout,
.trace-comparison-table__info-wrap:focus-within .trace-comparison-table__flyout {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

@media (max-width: 1023px) {
	.trace-comparison-table__flyout {
		left: 0;
		top: calc(100% + 0.45rem);
		transform: translateY(-4px);
	}

	.trace-comparison-table__flyout::before {
		left: 1rem;
		top: -0.3rem;
		transform: rotate(45deg);
	}

	.trace-comparison-table__info-wrap:hover .trace-comparison-table__flyout,
	.trace-comparison-table__info-wrap:focus-within .trace-comparison-table__flyout {
		transform: translateY(0);
	}
}

.trace-comparison-table tfoot td {
	position: sticky;
	bottom: 0;
	z-index: 2;
	background: #ffffff;
	border-top: 1px solid rgba(229, 231, 235, 0.85);
}

.trace-comparison-table tfoot td:first-child {
	background: #f8fafc;
}

.trace-comparison-table__cta {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center !important;
	width: 100%;
	max-width: 100%;
	min-height: 2.6rem;
	padding: 0.5rem 0.9rem;
	border-radius: 0.7rem;
	font-size: 0.8125rem;
	line-height: 1;
	white-space: normal;
	text-align: center;
	word-break: break-word;
	vertical-align: middle;
}

@media (max-width: 767px) {
	.trace-table-wrap {
		border-radius: 0.85rem;
	}
	.trace-comparison-table th,
	.trace-comparison-table td {
		padding: 0.75rem 0.8rem;
	}
}

/* --- Contact form (placeholder wiring) --- */
.trace-form__field {
	margin: 0 0 1rem;
}

.trace-form__field label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.trace-form__field input,
.trace-form__field textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.5rem;
	font: inherit;
	background: var(--wp--preset--color--card);
}

.trace-form__field input:focus,
.trace-form__field textarea:focus {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 1px;
}

.trace-form__actions {
	margin-top: 1rem;
}

.trace-form__note {
	margin-top: 0.75rem;
	color: var(--wp--preset--color--muted);
}

/* --- Footer on dark: improve link contrast --- */
.trace-footer a {
	color: #e5e7eb;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.trace-footer a:hover {
	color: #ffffff;
}

/* --- Focus visibility --- */
a:focus-visible,
button:focus-visible,
.trace-accordion__summary:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* --- Logo strip --- */
.trace-logo-strip .has-muted-color {
	opacity: 0.55;
	filter: grayscale(1);
}

/* --- Layout shell (classic PHP templates) --- */
.trace-container {
	width: 100%;
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
	box-sizing: border-box;
}

.trace-container--narrow {
	max-width: 45rem;
}

/* Explore platform: wider canvas than default 72rem marketing shell */
.trace-container.trace-container--explore-wide {
	max-width: min(100%, 90rem);
}

.trace-main {
	padding-bottom: 4rem;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* `100vw` + full-bleed margins routinely overflows mobile layout; keep breakout on larger screens only */
@media (max-width: 781px) {
	.alignfull {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* --- Top promo bar --- */
.trace-topbar {
	background: var(--wp--preset--color--primary);
	color: #fff;
	padding: 0.4rem 0;
	font-size: 0.75rem;
	line-height: 1.4;
	text-align: center;
}

.trace-topbar__inner {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.trace-topbar__text {
	margin: 0;
}

/* --- Header --- */
.trace-header {
	background-color: var(--wp--preset--color--card);
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 0.75rem 0;
}

.trace-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
}

.trace-header__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.trace-header__title {
	font-weight: 700;
	font-size: var(--wp--preset--font-size--lg);
	text-decoration: none;
	color: var(--wp--preset--color--dark);
}

.trace-header__title:hover {
	color: var(--wp--preset--color--primary);
}

.trace-header__tag {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--muted);
}

.trace-header__nav-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.trace-header__nav-list a {
	text-decoration: none;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--dark);
}

.trace-header__nav-list a:hover {
	color: var(--wp--preset--color--primary);
}

.trace-header__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.trace-header__login {
	font-size: var(--wp--preset--font-size--sm);
	text-decoration: none;
	color: var(--wp--preset--color--dark);
}

.trace-header__login:hover {
	color: var(--wp--preset--color--primary);
}

.trace-btn {
	display: inline-block;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--sm);
	padding: 0.5rem 1.25rem;
	border-radius: 0.5rem;
	text-decoration: none;
	line-height: 1.4;
}

.trace-btn--primary {
	background: var(--wp--preset--color--primary);
	color: #fff !important;
}

.trace-btn--primary:hover {
	background: var(--wp--preset--color--primary-dark);
	color: #fff !important;
}

.trace-btn--outline {
	background: #fff !important;
	color: var(--wp--preset--color--primary) !important;
	border: 1px solid var(--wp--preset--color--primary);
	box-shadow: none;
}

.trace-btn--outline:hover {
	background: rgba(239, 111, 108, 0.06) !important;
	color: var(--wp--preset--color--primary-dark) !important;
	border-color: var(--wp--preset--color--primary-dark);
}

.trace-section {
	padding: 3rem 0;
}

.trace-section__title {
	font-size: var(--wp--preset--font-size--3xl);
	margin: 0 0 1rem;
}

.trace-section__title--center {
	text-align: center;
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

/* --- Hero --- */
.trace-hero {
	padding-top: 4rem;
	padding-bottom: 2.5rem;
}

.trace-hero__inner {
	max-width: 50rem;
}

.trace-hero__title {
	font-size: 3.5rem;
	line-height: 1.1;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.trace-hero__lead {
	font-size: var(--wp--preset--font-size--md);
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.5rem;
	max-width: 42rem;
}

.trace-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.25rem 1.5rem;
}

.trace-hero__secondary {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	text-decoration: none;
	color: var(--wp--preset--color--dark);
}

.trace-hero__secondary:hover {
	color: var(--wp--preset--color--primary);
}

.trace-hero__arrow {
	display: inline-block;
	color: var(--wp--preset--color--primary);
}

.trace-hero__demo-wrap {
	margin-top: 3rem;
}

.trace-hero__demo {
	flex-direction: column;
}

.trace-hero__demo-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--muted);
}

/* --- Logo strip section --- */
.trace-logo-strip-section {
	padding: 2.5rem 0;
}

.trace-logo-strip__eyebrow {
	text-align: center;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.5rem;
	letter-spacing: 0.04em;
}

.trace-logo-strip__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem 1.5rem;
}

.trace-logo-strip {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2rem 2.5rem;
	flex: 1 1 min(100%, 28rem);
}

.trace-logo-strip__cta-wrap {
	margin: 0;
	flex-shrink: 0;
}

.trace-logo-strip__cta {
	font-weight: 600;
	font-size: var(--wp--preset--font-size--sm);
	text-decoration: none;
	color: var(--wp--preset--color--primary);
}

.trace-logo-strip__cta:hover {
	color: var(--wp--preset--color--primary-dark);
}

.trace-logo-strip__item {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	opacity: 0.55;
	filter: grayscale(1);
}

/* --- Feature cards --- */
.trace-features__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	margin-top: 2.5rem;
}

@media (min-width: 782px) {
	.trace-features__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2.5rem;
	}
}

.trace-card {
	background: var(--wp--preset--color--card);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.625rem;
	padding: 1.25rem;
}

.trace-card__media {
	margin: -1.25rem -1.25rem 1rem;
	border-radius: 0.625rem 0.625rem 0 0;
	border: none;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.trace-card__title {
	font-size: var(--wp--preset--font-size--lg);
	margin: 0 0 0.5rem;
}

.trace-card__text {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--muted);
	margin: 0 0 0.75rem;
}

.trace-card__link {
	font-size: var(--wp--preset--font-size--sm);
	margin: 0;
}

.trace-card__links {
	font-size: var(--wp--preset--font-size--sm);
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.5rem;
}

.trace-card__links a {
	font-weight: 600;
	text-decoration: none;
}

.trace-card__links-sep {
	color: var(--wp--preset--color--muted);
	user-select: none;
}

/* --- Steps --- */
.trace-steps__head {
	margin-bottom: 2.5rem;
	max-width: 42rem;
}

.trace-steps__intro-text {
	color: var(--wp--preset--color--muted);
	margin: 0.75rem 0 0;
}

.trace-steps__row {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem 1.5rem;
	justify-content: space-between;
}

.trace-step-tile {
	flex: 1 1 11rem;
	min-width: 0;
	padding: 0;
}

.trace-step-tile__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.375rem;
	background: var(--wp--preset--color--primary);
	color: #fff;
	margin-bottom: 0.75rem;
}

.trace-step-tile__icon--round {
	border-radius: 9999px;
}

.trace-step-tile__title {
	font-size: var(--wp--preset--font-size--lg);
	margin: 0 0 0.35rem;
}

.trace-step-tile__text {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--muted);
	margin: 0;
}

/* --- Alternating --- */
.trace-alternating-section--gradient {
	background: linear-gradient(
		180deg,
		rgba(239, 111, 108, 0.1) 0%,
		rgba(250, 250, 250, 0.5) 45%,
		transparent 100%
	);
}

.trace-alternating-section .trace-alternating {
	margin-bottom: 4rem;
}

.trace-alternating-section .trace-alternating:last-child {
	margin-bottom: 0;
}

.trace-alternating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2.5rem;
}

.trace-alternating__col {
	flex: 1 1 280px;
	min-width: 0;
}

.trace-alternating__text .trace-section__title {
	font-size: var(--wp--preset--font-size--2xl);
}

.trace-alternating__desc {
	color: var(--wp--preset--color--muted);
	margin: 0 0 1rem;
}

.trace-alternating__link {
	margin: 0;
}

@media (max-width: 781px) {
	.trace-alternating--reverse {
		flex-direction: column-reverse;
	}
}

.trace-placeholder__caption {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	text-align: center;
}

/* --- Stories --- */
.trace-stories__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 782px) {
	.trace-stories__layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 3rem;
		align-items: start;
	}
}

.trace-stories__intro .trace-section__title {
	font-size: var(--wp--preset--font-size--2xl);
}

.trace-stories__desc {
	color: var(--wp--preset--color--muted);
	margin: 0.75rem 0 1rem;
	max-width: 28rem;
}

.trace-stories__link-wrap {
	margin: 0;
}

.trace-stories__all {
	font-weight: 600;
	text-decoration: none;
}

.trace-stories__cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}

@media (min-width: 600px) {
	.trace-stories__cards {
		grid-template-columns: 1fr 1fr;
	}
}

.trace-card--story .trace-card__media {
	margin-bottom: 1rem;
}

/* --- FAQ --- */
.trace-faq__inner {
	max-width: 50rem;
}

.trace-faq__subtitle {
	text-align: center;
	color: var(--wp--preset--color--muted);
	margin: -0.5rem 0 0;
	padding: 0 0 0.5rem;
}

.trace-accordion--plus .trace-accordion__summary::after {
	border: none;
	width: auto;
	height: auto;
	content: "+";
	font-size: 1.25rem;
	font-weight: 400;
	line-height: 1;
	color: var(--wp--preset--color--muted);
	transform: none;
}

details[open] > .trace-accordion--plus .trace-accordion__summary::after {
	content: "−";
	transform: none;
}

/* --- Closing CTA --- */
.trace-cta-band {
	padding: 4rem 0;
}

.trace-cta-band__inner {
	display: flex;
	justify-content: center;
}

.trace-cta-card {
	max-width: 40rem;
	margin: 0 auto;
	padding: 2.5rem 2rem;
	border-radius: 0.75rem;
	border: 1px solid var(--wp--preset--color--border);
	text-align: center;
}

.trace-cta-card__title {
	font-size: var(--wp--preset--font-size--3xl);
	margin: 0 0 0.75rem;
}

.trace-cta-card__lead {
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.5rem;
}

.trace-cta-card__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin-bottom: 1rem;
}

.trace-cta-card__fineprint {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

/* --- Footer --- */
.trace-footer {
	padding: 3rem 0 2rem;
	color: #e5e7eb;
}

.trace-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 600px) {
	.trace-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 782px) {
	.trace-footer__grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 1.5rem;
	}
}

.trace-footer__heading {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 1rem;
	color: #fff;
}

.trace-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
}

.trace-footer__list li {
	margin-bottom: 0.5rem;
}

.trace-footer__rule {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin: 2rem 0 1.5rem;
}

.trace-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	align-items: center;
}

.trace-footer__copy,
.trace-footer__meta {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

/* --- Blog / archive / page / single --- */
.trace-blog-page {
	position: relative;
	overflow: hidden;
	background: var(--wp--preset--color--background);
}

.trace-blog-page .trace-bg-grid {
	color: var(--wp--preset--color--dark);
}

.trace-blog-page__inner {
	position: relative;
	z-index: 1;
}

.trace-blog-page__inner > .trace-breadcrumbs,
.trace-archive > .trace-breadcrumbs {
	margin: 0 0 1.25rem;
}

.trace-single > .trace-breadcrumbs {
	margin: 0 0 1rem;
}

.trace-archive,
.trace-page,
.trace-single {
	padding-top: 2.5rem;
}

.trace-archive__title,
.trace-page__title,
.trace-blog-hero__title {
	font-size: var(--wp--preset--font-size--4xl);
	margin: 0 0 0.5rem;
}

.trace-archive__desc,
.trace-blog-hero__lead {
	color: var(--wp--preset--color--muted);
	margin: 0 0 2rem;
}

.trace-post-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.trace-post-card {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 0.625rem;
	padding: 1.25rem;
	background: var(--wp--preset--color--card);
}

.trace-post-card__title {
	font-size: var(--wp--preset--font-size--xl);
	margin: 0 0 0.5rem;
}

.trace-post-card__title a {
	text-decoration: none;
	color: var(--wp--preset--color--dark);
}

.trace-post-card__title a:hover {
	color: var(--wp--preset--color--primary);
}

.trace-post-card__meta {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--muted);
	margin-bottom: 0.5rem;
}

.trace-post-card__excerpt {
	font-size: var(--wp--preset--font-size--sm);
}

.trace-pagination {
	margin-top: 2rem;
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.trace-blog-note {
	text-align: center;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--muted);
	margin-top: 3rem;
}

/* Blog: archive + single (Next layout parity) */
.trace-blog-shell {
	width: 100%;
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
}

.trace-blog-shell--narrow {
	max-width: 48rem;
	padding-left: 0;
	padding-right: 0;
}

.trace-blog-index__empty {
	margin: 0 0 2rem;
	color: var(--wp--preset--color--muted);
}

/* Hero */
.trace-blog-hero-band {
	position: relative;
	padding: 5rem 1.5rem 3.25rem;
	overflow: hidden;
}

@media (min-width: 768px) {
	.trace-blog-hero-band {
		padding: 7rem 1.5rem 4.25rem;
	}
}

.trace-blog-hero-band__inner {
	position: relative;
	z-index: 1;
}

.trace-blog-hero-title {
	font-size: clamp(2.25rem, 5vw, 3rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0 0 1rem;
	color: var(--wp--preset--color--dark);
}

.trace-blog-hero-lead {
	font-size: 1.125rem;
	line-height: 1.6;
	color: var(--wp--preset--color--muted);
	max-width: 36rem;
}

.trace-blog-hero-lead p {
	margin: 0;
}

/* Category tabs */
.trace-blog-filter-band {
	padding: 0 0 2.25rem;
}

.trace-blog-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.trace-blog-filter--tabs {
	gap: 0.5rem;
}

.trace-blog-filter__tab {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.62rem 1.25rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
	background: rgba(245, 245, 245, 0.72);
	color: var(--wp--preset--color--muted);
	border: none;
}

.trace-blog-filter__tab:hover {
	background: rgba(229, 231, 235, 0.95);
	color: var(--wp--preset--color--dark);
}

.trace-blog-filter__tab.is-active {
	background: var(--wp--preset--color--dark);
	color: #fff;
	box-shadow: 0 12px 28px -14px rgba(15, 23, 42, 0.45);
}

/* Featured */
.trace-blog-featured-band {
	padding: 0 0 4rem;
}

.trace-blog-featured {
	display: block;
	border-radius: 1.5rem;
	border: 1px solid rgba(229, 231, 235, 0.55);
	background: linear-gradient(135deg, rgba(250, 250, 250, 0.85) 0%, rgba(245, 245, 245, 0.45) 100%);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trace-blog-featured:hover {
	border-color: rgba(203, 213, 225, 0.95);
	box-shadow: 0 22px 48px -28px rgba(15, 23, 42, 0.22);
}

.trace-blog-featured__grid {
	display: grid;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.trace-blog-featured__grid {
		grid-template-columns: 1fr 1fr;
		min-height: 17rem;
	}
}

.trace-blog-featured__media {
	position: relative;
	min-height: 12rem;
	aspect-ratio: 16 / 10;
	background: rgba(250, 250, 250, 0.95);
	overflow: hidden;
}

@media (min-width: 768px) {
	.trace-blog-featured__media {
		aspect-ratio: auto;
		min-height: 100%;
	}
}

.trace-blog-featured__grad {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(145deg, rgba(var(--trace-accent-rgb), 0.12) 0%, transparent 58%);
	pointer-events: none;
}

.trace-blog-featured__mini-grid {
	--trace-grid-cell: 24px;
	opacity: 0.055;
	z-index: 2;
}

.trace-blog-featured__img {
	position: relative;
	z-index: 3;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.trace-blog-featured__body {
	padding: 2.35rem 1.75rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 768px) {
	.trace-blog-featured__body {
		padding: 2.75rem 3rem;
	}
}

.trace-blog-featured__badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.15rem;
}

.trace-blog-featured__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	background: rgba(var(--trace-accent-rgb), 0.1);
	color: var(--wp--preset--color--primary);
}

.trace-blog-featured__pill-ic {
	flex-shrink: 0;
}

.trace-blog-featured__cat {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

.trace-blog-featured__title {
	font-size: clamp(1.4rem, 2.6vw, 1.85rem);
	font-weight: 700;
	margin: 0 0 0.95rem;
	line-height: 1.2;
	transition: color 0.15s ease;
}

.trace-blog-featured:hover .trace-blog-featured__title {
	color: var(--wp--preset--color--primary);
}

.trace-blog-featured__excerpt {
	margin: 0 0 1.15rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.65;
	font-size: 1rem;
}

.trace-blog-featured__foot {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-blog-dot {
	display: inline-block;
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 9999px;
	background: rgba(100, 116, 139, 0.45);
	vertical-align: middle;
}

/* Post grid */
.trace-blog-grid-band {
	padding: 0 0 4.5rem;
}

.trace-blog-grid {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.trace-blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.trace-blog-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.trace-blog-card {
	display: flex;
	flex-direction: column;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	background: #fff;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	padding: 1.1rem;
}

.trace-blog-card:hover {
	border-color: rgba(203, 213, 225, 0.95);
	box-shadow: 0 14px 32px -20px rgba(15, 23, 42, 0.2);
}

.trace-blog-card--accent {
	border-color: rgba(var(--trace-accent-rgb), 0.22);
	background: linear-gradient(135deg, rgba(var(--trace-accent-rgb), 0.05) 0%, rgba(var(--trace-accent-rgb), 0.11) 100%);
}

.trace-blog-card--accent:hover {
	border-color: rgba(var(--trace-accent-rgb), 0.35);
}

.trace-blog-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 0.75rem;
	background: linear-gradient(145deg, rgba(250, 250, 250, 1) 0%, rgba(245, 245, 245, 1) 100%);
	overflow: hidden;
	margin-bottom: 1rem;
}

.trace-blog-card__grid {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0.06;
	color: var(--wp--preset--color--dark);
	pointer-events: none;
}

.trace-blog-card__img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.trace-blog-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
}

.trace-blog-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
	margin: 0 0 0.6rem;
}

.trace-blog-card__cat {
	color: inherit;
}

.trace-blog-card--accent .trace-blog-card__cat {
	color: var(--wp--preset--color--primary);
}

.trace-blog-card__title {
	font-size: 1.0625rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	line-height: 1.35;
	color: var(--wp--preset--color--dark);
	transition: color 0.15s ease;
}

.trace-blog-card:hover .trace-blog-card__title {
	color: var(--wp--preset--color--primary);
}

.trace-blog-card--accent .trace-blog-card__title {
	color: var(--wp--preset--color--primary);
}

.trace-blog-card__excerpt {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.trace-blog-pagination {
	margin-top: 2.5rem;
}

.trace-blog-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
}

.trace-blog-pagination a,
.trace-blog-pagination span {
	display: inline-flex;
	min-width: 2.25rem;
	justify-content: center;
	padding: 0.4rem 0.65rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	border: 1px solid rgba(229, 231, 235, 0.9);
}

.trace-blog-pagination a {
	color: var(--wp--preset--color--dark);
	background: #fff;
}

.trace-blog-pagination a:hover {
	border-color: rgba(148, 163, 184, 0.75);
}

.trace-blog-pagination span.current {
	background: var(--wp--preset--color--dark);
	color: #fff;
	border-color: var(--wp--preset--color--dark);
}

.trace-blog-pagination span.dots {
	border: none;
	min-width: auto;
}

/* Newsletter */
.trace-blog-newsletter-band {
	padding: 0 0 5rem;
}

.trace-blog-newsletter {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	max-width: 72rem;
	padding: 3rem 1.5rem;
	border-radius: 1.5rem;
	border: 1px solid rgba(229, 231, 235, 0.55);
	background: linear-gradient(135deg, rgba(250, 250, 250, 0.75) 0%, rgba(245, 245, 245, 0.4) 100%);
}

.trace-blog-newsletter__blob {
	position: absolute;
	border-radius: 9999px;
	pointer-events: none;
	filter: blur(40px);
	background: rgba(var(--trace-accent-rgb), 0.06);
}

.trace-blog-newsletter__blob--tr {
	top: -2.5rem;
	right: -2rem;
	width: 11rem;
	height: 11rem;
}

.trace-blog-newsletter__blob--bl {
	bottom: -2rem;
	left: -2rem;
	width: 9rem;
	height: 9rem;
}

.trace-blog-newsletter__inner {
	position: relative;
	z-index: 1;
	max-width: 28rem;
	margin: 0 auto;
	text-align: center;
}

.trace-blog-newsletter__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	margin: 0 auto 1.5rem;
	border-radius: 1rem;
	background: rgba(var(--trace-accent-rgb), 0.12);
	color: var(--wp--preset--color--primary);
}

.trace-blog-newsletter__icon {
	display: block;
}

.trace-blog-newsletter__title {
	font-size: clamp(1.375rem, 3vw, 1.85rem);
	font-weight: 700;
	margin: 0 0 0.65rem;
	color: var(--wp--preset--color--dark);
}

.trace-blog-newsletter__lead {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.75rem;
	line-height: 1.55;
	max-width: 24rem;
	margin-left: auto;
	margin-right: auto;
}

.trace-blog-newsletter__form {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
	justify-content: center;
	max-width: 28rem;
	margin: 0 auto;
}

@media (min-width: 640px) {
	.trace-blog-newsletter__form {
		flex-direction: row;
		align-items: stretch;
	}
}

.trace-blog-newsletter__input {
	flex: 1 1 14rem;
	min-width: 0;
	height: 3rem;
	padding: 0 1.1rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(229, 231, 235, 0.95);
	font-size: 0.9375rem;
	background: #fff;
	box-shadow: 0 10px 28px -22px rgba(15, 23, 42, 0.15);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trace-blog-newsletter__input:focus {
	outline: none;
	border-color: rgba(var(--trace-accent-rgb), 0.45);
	box-shadow: 0 0 0 3px rgba(var(--trace-accent-rgb), 0.15);
}

.trace-blog-newsletter__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	height: 3rem;
	padding: 0 1.85rem;
	border-radius: 0.75rem;
	border: none;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	background: var(--wp--preset--color--primary);
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: 0 14px 36px -12px rgba(var(--trace-accent-rgb), 0.55);
	transition: filter 0.15s ease;
}

.trace-blog-newsletter__btn:hover {
	filter: brightness(0.96);
}

.trace-blog-newsletter__btn-arrow {
	flex-shrink: 0;
}

.trace-blog-newsletter__fineprint {
	margin: 1.15rem 0 0;
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

/* Single post */
.trace-main--blog-single {
	padding-bottom: 0;
}

.trace-blog-single {
	padding-bottom: 2rem;
}

.trace-blog-single__back {
	margin: 0;
	padding: 1.75rem 0 0;
}

.trace-blog-single__back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	transition: color 0.15s ease;
}

.trace-blog-single__back-link:hover {
	color: var(--wp--preset--color--dark);
}

.trace-blog-single__header {
	padding: 1.75rem 0 2.25rem;
}

.trace-blog-single__meta-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-bottom: 1rem;
}

.trace-blog-single__cat {
	display: inline-flex;
	padding: 0.25rem 0.7rem;
	border-radius: 9999px;
	background: rgba(243, 244, 246, 0.95);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
}

.trace-blog-single__read {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-blog-single__title {
	font-size: clamp(1.85rem, 4vw, 2.85rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin: 0 0 1.25rem;
	color: var(--wp--preset--color--dark);
}

.trace-blog-single__excerpt {
	font-size: 1.125rem;
	line-height: 1.58;
	color: var(--wp--preset--color--muted);
	margin: 0 0 2rem;
}

.trace-blog-single__author-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(229, 231, 235, 0.85);
}

.trace-blog-single__avatar {
	width: 3rem;
	height: 3rem;
	border-radius: 9999px;
	background: rgba(243, 244, 246, 1);
	flex-shrink: 0;
}

.trace-blog-single__author-text {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.trace-blog-single__author-name {
	font-weight: 600;
	color: var(--wp--preset--color--dark);
}

.trace-blog-single__author-meta {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-blog-single__content-wrap {
	padding-bottom: 3rem;
}

.trace-blog-prose {
	font-size: 1.0625rem;
	line-height: 1.7;
	color: var(--wp--preset--color--dark);
}

.trace-blog-prose.entry-content > h2:first-child,
.trace-blog-prose.entry-content > *:first-child {
	margin-top: 0;
}

.trace-blog-prose .alignwide,
.trace-blog-prose .alignfull {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.trace-blog-related {
	padding: 2rem 0 4rem;
}

.trace-blog-related__title {
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0 0 1.75rem;
	color: var(--wp--preset--color--dark);
}

.trace-blog-related__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.trace-blog-related__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.trace-blog-related-card {
	display: block;
	text-decoration: none;
	color: inherit;
}

.trace-blog-related-card__thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	border-radius: 0.75rem;
	overflow: hidden;
	background: rgba(245, 245, 245, 0.95);
	margin-bottom: 0.85rem;
	border: 1px solid rgba(229, 231, 235, 0.45);
	transition: border-color 0.15s ease;
}

.trace-blog-related-card:hover .trace-blog-related-card__thumb {
	border-color: rgba(203, 213, 225, 0.9);
}

.trace-blog-related-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.trace-blog-related-card__grid {
	--trace-grid-cell: 16px;
	opacity: 0.07;
}

.trace-blog-related-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 0.45rem;
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

.trace-blog-related-card__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.32;
	color: var(--wp--preset--color--dark);
	transition: color 0.15s ease;
}

.trace-blog-related-card:hover .trace-blog-related-card__title {
	color: var(--wp--preset--color--primary);
}

.trace-page__content.entry-content,
.trace-single__content.entry-content {
	margin-top: 1.5rem;
}

.trace-press-default__h {
	margin-top: 2.5rem;
}

.trace-press-default__email {
	margin: 0.75rem 0 0;
	font-size: 1.0625rem;
}

.trace-press-default__email a {
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.trace-press-default__email a:hover {
	text-decoration: underline;
}

/* Press Center (default layout) */
.trace-press-page .trace-page__content.entry-content {
	margin-top: 0;
}

.trace-press {
	max-width: 56rem;
	margin: 0 auto;
}

.trace-press__cards {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
	margin-bottom: 1rem;
}

@media (min-width: 768px) {
	.trace-press__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
	}
}

.trace-press-card {
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.95);
	background: #fff;
	padding: clamp(1.5rem, 3vw, 1.85rem);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.trace-press-card--tint {
	background: rgba(var(--trace-accent-rgb), 0.07);
	border-color: rgba(var(--trace-accent-rgb), 0.22);
}

.trace-press-card__icon {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.65rem;
	background: rgba(245, 245, 245, 0.98);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--muted);
}

.trace-press-card__icon--accent {
	background: rgba(var(--trace-accent-rgb), 0.14);
	color: var(--wp--preset--color--primary);
}

.trace-press-card__title {
	font-size: 1.1875rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	color: var(--wp--preset--color--dark);
}

.trace-press-card__desc {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.55;
	margin: 0 0 1.25rem;
	flex: 1;
}

.trace-press-card__link {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	margin-top: auto;
}

.trace-press-card__link:hover {
	text-decoration: underline;
}

.trace-press__section {
	margin-top: 3.5rem;
	text-align: center;
}

.trace-press__section--facts {
	margin-bottom: 0.5rem;
	text-align: center;
}

.trace-press__section--facts .trace-section-heading,
.trace-press__facts-heading {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	max-width: 40rem;
}

.trace-press__kicker {
	font-size: 0.6875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--wp--preset--color--primary);
	margin: 0 0 0.65rem;
}

.trace-press__section .trace-section-heading {
	margin-bottom: 2rem;
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

.trace-press__section--releases {
	text-align: left;
}

.trace-press__section--releases .trace-section-heading,
.trace-press__releases-heading {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	max-width: none;
}

.trace-press-releases {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.trace-press-releases > li {
	margin: 0;
}

.trace-press-release {
	display: grid;
	gap: 0.4rem;
	padding: 1.35rem 1.35rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(229, 231, 235, 0.95);
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trace-press-release:hover {
	border-color: rgba(203, 213, 225, 1);
	box-shadow: 0 12px 32px -20px rgba(15, 23, 42, 0.15);
}

.trace-press-release--highlight {
	background: rgba(248, 250, 252, 0.95);
	border-color: rgba(226, 232, 240, 0.95);
}

.trace-press-release__date {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.trace-press-release__title {
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--dark);
}

.trace-press-release__excerpt {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.55;
}

.trace-press-release__more {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	margin-top: 0.2rem;
}

.trace-press-facts {
	margin: 0 auto;
	max-width: 44rem;
	text-align: left;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.95);
	background: #fff;
	overflow: hidden;
}

.trace-press-facts__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.35rem;
	padding: 1.2rem 1.35rem;
	border-bottom: 1px solid rgba(229, 231, 235, 0.75);
}

@media (min-width: 640px) {
	.trace-press-facts__row {
		grid-template-columns: 11rem minmax(0, 1fr);
		align-items: start;
		column-gap: 1.5rem;
	}
}

.trace-press-facts__row:last-child {
	border-bottom: none;
}

.trace-press-facts__term {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--wp--preset--color--dark);
}

.trace-press-facts__def {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.55;
}

/* Careers page (layout + perks strip) */
.trace-careers-after-hero {
	padding-top: 0;
	margin-top: -0.25rem;
	padding-bottom: 0;
}

.trace-careers-page .trace-careers-after-hero + .trace-section {
	padding-top: 1.5rem;
}

.trace-careers-perks {
	margin: 0;
}

.trace-careers-perks__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 768px) {
	.trace-careers-perks__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.trace-careers-perks__list {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 0.75rem 1rem;
	}
}

.trace-careers-perks__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	margin: 0;
}

.trace-careers-perks__ic {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.5rem;
	background: rgba(245, 245, 245, 0.95);
	color: var(--wp--preset--color--dark);
}

.trace-careers-perks__label {
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--wp--preset--color--dark);
}

.trace-careers {
	max-width: 52rem;
	margin: 0 auto;
}

.trace-careers__why {
	margin-bottom: 3.5rem;
}

.trace-careers-why {
	display: grid;
	gap: 1.75rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.trace-careers-why {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.trace-careers-why {
		gap: 1.75rem;
	}
}

.trace-careers-why__card {
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.95);
	background: #fff;
	padding: 1.75rem 1.75rem 2rem;
	text-align: left;
}

.trace-careers-why__card--accent {
	background: rgba(248, 250, 252, 0.95);
	border-color: rgba(226, 232, 240, 0.95);
}

.trace-careers-why__card--accent .trace-careers-why__title {
	color: var(--wp--preset--color--dark);
}

.trace-careers-why__icon {
	display: flex;
	width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.1rem;
	color: var(--wp--preset--color--muted);
}

.trace-careers-why__card--accent .trace-careers-why__icon {
	color: var(--wp--preset--color--muted);
}

.trace-careers-why__title {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 0.65rem;
	color: var(--wp--preset--color--dark);
}

.trace-careers-why__desc {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wp--preset--color--muted);
}

.trace-careers__roles {
	margin-bottom: 3.5rem;
}

.trace-careers__roles .trace-section-heading {
	margin-bottom: 2rem;
}

.trace-careers-roles {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.trace-careers-roles > li {
	margin: 0;
}

.trace-careers-role {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.35rem 1.5rem;
	border-radius: 0.85rem;
	border: 1px solid rgba(229, 231, 235, 0.95);
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trace-careers-role:hover {
	border-color: rgba(203, 213, 225, 1);
	box-shadow: 0 10px 30px -22px rgba(15, 23, 42, 0.2);
}

.trace-careers-role--highlight {
	background: rgba(248, 250, 252, 0.95);
	border-color: rgba(226, 232, 240, 0.95);
}

.trace-careers-role--highlight .trace-careers-role__title {
	color: var(--wp--preset--color--dark);
}

.trace-careers-role__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.trace-careers-role__title {
	font-size: 1.0625rem;
	font-weight: 600;
	color: var(--wp--preset--color--dark);
}

.trace-careers-role__meta {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-careers-role__arrow {
	flex-shrink: 0;
	color: var(--wp--preset--color--muted);
}

.trace-careers-role:hover .trace-careers-role__arrow {
	color: var(--wp--preset--color--dark);
}

.trace-careers__fallback {
	text-align: center;
	padding: 2rem 1rem 2.5rem;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.9);
	background: rgba(250, 250, 250, 0.65);
}

.trace-careers-fallback__title {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
	font-weight: 600;
	margin: 0 0 0.65rem;
	color: var(--wp--preset--color--dark);
}

.trace-careers-fallback__lead {
	margin: 0 auto 1.5rem;
	max-width: 32rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: var(--wp--preset--color--muted);
}

.trace-careers-fallback__btn {
	display: inline-flex;
}

.trace-careers-default__h {
	margin-top: 2.5rem;
}

.trace-careers-default__list {
	margin: 1rem 0 0;
	padding-left: 1.25rem;
	color: var(--wp--preset--color--dark);
	line-height: 1.6;
	font-size: 0.9375rem;
}

.trace-careers-default__list li {
	margin-bottom: 0.35rem;
}

.trace-careers-default__note {
	margin: 1rem 0 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	font-style: italic;
}

.trace-careers-default__email {
	margin: 0.75rem 0 0;
	font-size: 1.0625rem;
}

.trace-careers-default__email a {
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.trace-careers-default__email a:hover {
	text-decoration: underline;
}

.trace-single__meta {
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--muted);
	margin-bottom: 2rem;
}

.trace-single__cta {
	margin-top: 2rem;
	text-align: center;
}

.trace-single__cta-text {
	margin: 1.25rem 0 0;
	font-size: 0.875rem;
}

.trace-single__rule {
	margin: 2.5rem 0;
	border: none;
	border-top: 1px solid var(--wp--preset--color--border);
}

.trace-single__related-title {
	font-size: var(--wp--preset--font-size--xl);
}

.trace-404 {
	text-align: center;
	padding: 4rem 0;
}

.trace-404__title {
	font-size: var(--wp--preset--font-size--4xl);
	margin: 0 0 0.5rem;
}

.trace-404__text {
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.5rem;
}

/* =============================================================================
   v0 export (Next.js) layout parity, homepage + global chrome
   ============================================================================= */

.trace-main--home {
	padding-bottom: 0;
}

/* --- Announcement (scrolls with page; not sticky) --- */
.trace-announcement {
	position: relative;
	z-index: 1;
	background: var(--wp--preset--color--primary);
	color: #fff;
	padding: 0.625rem 2.5rem;
	text-align: center;
	font-size: 0.875rem;
	line-height: 1.4;
}

.trace-announcement__sep {
	opacity: 0.95;
}

@media (max-width: 767px) {
	.trace-announcement__sep {
		display: none;
	}

	.trace-announcement__link {
		display: block;
		margin-left: 0;
		margin-top: 0.25rem;
	}
}

.trace-announcement__link {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.trace-announcement__dismiss {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: rgba(255, 255, 255, 0.75);
	cursor: pointer;
	padding: 0.25rem;
	line-height: 1;
	font-size: 1.25rem;
}

.trace-announcement__dismiss:hover {
	color: #fff;
}

/* --- Header v0 (sticky shell; white pill bar inside, mock parity) --- */
.trace-header-v0 {
	position: sticky;
	top: 0;
	z-index: 50;
	width: 100%;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
	/* No bottom padding, it created a dead band between the bar and the mega-menu */
	padding: 0;
}

.trace-header-v0__shell {
	position: relative;
	z-index: 2;
}

.trace-header-v0__bar {
	position: relative;
	display: flex;
	min-height: 3.25rem;
	height: auto;
	align-items: stretch;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.4rem 1rem 0.4rem 1.15rem;
	margin: 0;
	max-width: none;
	overflow: visible;
	background: #fff;
	border-radius: 0 0 0.875rem 0.875rem;
	box-shadow:
		0 4px 28px rgba(15, 23, 42, 0.07),
		0 0 0 1px rgba(15, 23, 42, 0.06);
}

/* Dropdown anchors to bar so full-width panel aligns with header container */
.trace-nav-item {
	position: static;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	min-height: 100%;
}

.trace-header-v0__left {
	display: none;
	align-items: stretch;
	gap: 0.25rem;
	/* Not position:relative, .trace-dropdown must position against .trace-header-v0__bar (full pill width). */
	z-index: 2;
}

.trace-header-v0__pricing {
	display: flex;
	align-items: center;
	align-self: center;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--dark);
	text-decoration: none;
}

.trace-header-v0__pricing:hover {
	color: var(--wp--preset--color--primary);
}

.trace-nav-item__trigger {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--wp--preset--color--dark);
	font-family: inherit;
	text-decoration: none;
}

.trace-nav-item:hover .trace-nav-item__trigger,
.trace-nav-item:focus-within .trace-nav-item__trigger {
	color: var(--wp--preset--color--primary);
}

.trace-nav-item__chev {
	flex-shrink: 0;
	transition: transform 0.15s ease;
}

.trace-nav-item:hover .trace-nav-item__chev,
.trace-nav-item:focus-within .trace-nav-item__chev {
	transform: rotate(180deg);
}

.trace-dropdown {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	/* Opaque white overlap: hides the seam under the bar’s bottom edge + keeps hover hit-target solid */
	margin-top: -1.5rem;
	padding-top: 1.5rem;
	z-index: 40;
	background: #fff;
	border: none;
	box-shadow: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s ease, visibility 0.15s ease;
	pointer-events: none;
}

@media (min-width: 768px) {
	.trace-nav-item:hover .trace-dropdown,
	.trace-nav-item:focus-within .trace-dropdown {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
}

.trace-dropdown__inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 1.25rem 1.5rem 1.5rem;
	box-sizing: border-box;
	background: #fff;
	border-bottom: 1px solid var(--wp--preset--color--border);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.06);
	border-radius: 0 0 0.75rem 0.75rem;
}

.trace-dropdown__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.trace-dropdown__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.trace-dropdown__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 0.75rem;
	}
}

.trace-dropdown__card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
	border-radius: 0.75rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	background: rgba(245, 245, 245, 0.45);
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.trace-dropdown__card:hover {
	background: rgba(245, 245, 245, 0.85);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.trace-dropdown__card--accent {
	border-color: rgba(239, 111, 108, 0.35);
	background: rgba(239, 111, 108, 0.08);
}

.trace-dropdown__card--accent:hover {
	background: rgba(239, 111, 108, 0.12);
}

.trace-dropdown__card-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 0.5rem;
	background: #fff;
	border: 1px solid rgba(229, 231, 235, 0.9);
	color: var(--wp--preset--color--muted);
}

.trace-dropdown__card-icon-wrap--accent {
	border-color: rgba(239, 111, 108, 0.25);
	background: rgba(239, 111, 108, 0.12);
	color: var(--wp--preset--color--primary);
}

.trace-dropdown__card-title {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--wp--preset--color--dark);
}

.trace-dropdown__card-title--accent {
	color: var(--wp--preset--color--primary);
}

.trace-dropdown__card-desc {
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--wp--preset--color--muted);
}

.trace-header-v0__logo {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: var(--wp--preset--color--dark);
	max-width: min(18rem, 58vw);
}

.trace-header-v0__logo-img {
	display: block;
	height: 2.5rem;
	width: auto;
	max-width: 100%;
	object-fit: contain;
}

.trace-header-v0__right {
	display: none;
	align-items: center;
	justify-content: flex-end;
	gap: 0.75rem;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}

/* Header “Request a demo”, same treatment as `.trace-hero-v0__demo` */
.trace-hero-v0__demo,
.trace-header-v0__demo-link {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.trace-hero-v0__demo:hover,
.trace-header-v0__demo-link:hover {
	color: var(--wp--preset--color--dark);
}

.trace-header-v0__right .trace-btn--header-outline {
	min-width: 8rem;
}

.trace-btn--header-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 6.25rem;
	min-height: 2.25rem;
	padding: 0.375rem 1.35rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	white-space: nowrap;
	border-radius: 0.5rem;
	background: #fff !important;
	color: var(--wp--preset--color--dark) !important;
	border: 1px solid rgba(15, 23, 42, 0.35);
	box-shadow: none;
	vertical-align: middle;
}

.trace-btn--header-outline:hover {
	background: rgba(245, 245, 245, 0.95) !important;
	border-color: rgba(15, 23, 42, 0.22);
	color: var(--wp--preset--color--dark) !important;
}

.trace-btn--header-outline:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.trace-btn--block {
	display: block;
	width: 100%;
	text-align: center;
}

.trace-nav-desktop {
	display: none;
}

.trace-nav-mobile {
	display: flex;
}

@media (min-width: 768px) {
	.trace-nav-desktop {
		display: flex;
	}

	.trace-nav-mobile {
		display: none !important;
	}

	.trace-header-v0__left {
		display: flex;
	}
}

.trace-header-v0__burger {
	align-self: center;
	background: none;
	border: none;
	padding: 0.25rem;
	cursor: pointer;
	color: var(--wp--preset--color--dark);
}

.trace-header-v0__mobile {
	margin: 0 1.25rem max(0.75rem, env(safe-area-inset-bottom, 0px));
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 1rem;
	background: #fff;
	box-shadow:
		0 4px 20px rgba(15, 23, 42, 0.06),
		0 0 0 1px rgba(15, 23, 42, 0.04);
	/* Override `.trace-nav-mobile { display: flex }` row layout so height + scroll work */
	display: flex;
	flex-direction: column;
	/* Fallback before `header.js` sets an accurate max-height (announcement + iOS chrome) */
	max-height: 85vh;
	max-height: min(85vh, calc(100svh - 5rem));
	overflow: hidden;
}

/* [hidden] must override .trace-nav-mobile { display: flex }, otherwise the drawer stays visible */
.trace-header-v0__mobile[hidden] {
	display: none !important;
}

.trace-header-v0__mobile-inner {
	display: flex;
	flex-direction: column;
	padding: 0;
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.trace-header-v0__mobile-inner::-webkit-scrollbar {
	display: none;
}

.trace-header-v0__mobile-group {
	border-bottom: 1px solid var(--wp--preset--color--border);
	padding: 0.75rem 1.5rem;
}

.trace-header-v0__mobile-group--flat {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.trace-header-v0__mobile-heading {
	display: block;
	padding: 0.35rem 0;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--dark);
	text-decoration: none;
}

.trace-header-v0__mobile-heading:hover {
	color: var(--wp--preset--color--primary);
}

.trace-header-v0__mobile-subs {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.35rem 0 0 0.5rem;
}

.trace-header-v0__mobile-sub {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.trace-header-v0__mobile-sub:hover {
	color: var(--wp--preset--color--dark);
}

.trace-header-v0__mobile-sub--accent {
	color: var(--wp--preset--color--primary);
	font-weight: 500;
}

.trace-header-v0__mobile-sub-icon {
	display: flex;
	flex-shrink: 0;
	width: 1.25rem;
	justify-content: center;
	color: inherit;
}

.trace-header-v0__mobile-sub-icon svg {
	width: 14px;
	height: 14px;
}

.trace-header-v0__mobile-actions {
	margin-top: 0;
	padding: 1rem 1.5rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--wp--preset--color--border);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.trace-header-v0__mobile-actions > a:first-child {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.trace-header-v0__mobile-actions > a:first-child:hover {
	color: var(--wp--preset--color--dark);
}

/* --- Hero v0 (grid + radial wash, homepage / Next parity) --- */
.trace-hero-v0 {
	position: relative;
	overflow: hidden;
	padding: 4rem 1.5rem 5rem;
	background-color: var(--wp--preset--color--background);
}

.trace-hero-v0 .trace-bg-grid {
	color: var(--wp--preset--color--dark);
}

.trace-hero-v0 .trace-bg-radial-top {
	background: radial-gradient(
		ellipse 90% 60% at 50% 0%,
		rgba(var(--trace-accent-rgb), 0.08) 0%,
		transparent 50%
	);
}

@media (min-width: 768px) {
	.trace-hero-v0 {
		padding-top: 6rem;
		padding-bottom: 7rem;
	}
}

.trace-hero-v0__wrap {
	position: relative;
	z-index: 1;
	max-width: 72rem;
	margin: 0 auto;
}

/* Breadcrumbs (markup retained; hidden until we want them again, delete the next rule to show) */
.trace-breadcrumbs {
	display: none !important;
}

.trace-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	line-height: 1.4;
}

.trace-breadcrumbs__item {
	display: inline-flex;
	align-items: center;
}

.trace-breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin: 0 0.5rem;
	color: var(--wp--preset--color--muted);
	user-select: none;
}

.trace-breadcrumbs__link {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.trace-breadcrumbs__link:hover {
	color: var(--wp--preset--color--dark);
}

.trace-breadcrumbs__text {
	color: var(--wp--preset--color--muted);
}

.trace-breadcrumbs__current {
	color: var(--wp--preset--color--dark);
	font-weight: 500;
}

.trace-hero-v0__copy .trace-breadcrumbs {
	margin: 0 0 1rem;
}

.trace-hero-v0__title {
	font-size: 2.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
	max-width: 42rem;
}

@media (min-width: 768px) {
	.trace-hero-v0__title {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.trace-hero-v0__title {
		font-size: 3.75rem;
	}
}

.trace-hero-v0__lead {
	margin: 1.5rem 0 0;
	font-size: 1.125rem;
	color: var(--wp--preset--color--muted);
	max-width: 36rem;
	line-height: 1.6;
}

.trace-hero-v0__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 2rem;
	padding: 0.4rem 1rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	border: 1px solid rgba(229, 231, 235, 0.6);
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(8px);
}

.trace-hero-v0__pill-dot {
	position: relative;
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 9999px;
	background: var(--wp--preset--color--primary);
	flex-shrink: 0;
}

.trace-hero-v0__pill-dot::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--wp--preset--color--primary);
	animation: trace-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
	opacity: 0.6;
}

@keyframes trace-ping {
	75%,
	100% {
		transform: scale(2.2);
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.trace-hero-v0__pill-dot::before {
		animation: none;
	}
}

.trace-hero-v0__title-accent {
	color: var(--wp--preset--color--primary);
}

.trace-hero-v0__stats-pill {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0 0 1rem;
	padding: 0.35rem 0.85rem;
	font-size: 0.8125rem;
	font-weight: 600;
	color: #14532d;
	background: #dcfce7;
	border: 1px solid rgba(22, 101, 52, 0.12);
	border-radius: 9999px;
}

/* Inner marketing pages: slightly smaller headline than home */
.trace-hero-v0__title.trace-hero-v0__title--page {
	font-size: 1.875rem;
	max-width: 42rem;
}

@media (min-width: 768px) {
	.trace-hero-v0__title.trace-hero-v0__title--page {
		font-size: 2.5rem;
	}
}

@media (min-width: 1024px) {
	.trace-hero-v0__title.trace-hero-v0__title--page {
		font-size: 3rem;
	}
}

.trace-hero-v0__eyebrow {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--wp--preset--color--primary);
	margin: 0 0 0.75rem;
}

.trace-hero-v0__eyebrow--inline {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: none;
	letter-spacing: 0.01em;
}

.trace-hero-v0__eyebrow--inline .trace-hero-v0__eyebrow-ic {
	flex-shrink: 0;
	color: var(--wp--preset--color--primary);
}

.trace-hero-v0__copy--center {
	text-align: center;
}

.trace-hero-v0__copy--center .trace-breadcrumbs {
	justify-content: center;
}

.trace-hero-v0__copy--center .trace-hero-v0__title,
.trace-hero-v0__copy--center .trace-hero-v0__lead {
	margin-left: auto;
	margin-right: auto;
}

.trace-hero-v0__lead--meta {
	font-size: 1rem;
}

.trace-hero-v0__actions {
	margin-top: 2rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
}

.trace-btn--lg {
	height: 2.75rem;
	padding: 0 1.5rem;
	font-size: 0.875rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.trace-hero-v0__demo-box {
	margin-top: 4rem;
}

.trace-hero-v0__demo-shell {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid rgba(229, 231, 235, 0.5);
	background: linear-gradient(to bottom right, rgba(245, 245, 245, 0.45), rgba(250, 250, 250, 0.9));
	box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

.trace-hero-v0__demo-grid {
	--trace-grid-opacity: 0.04;
}

.trace-hero-v0__demo-blob {
	position: absolute;
	border-radius: 9999px;
	filter: blur(48px);
	pointer-events: none;
	z-index: 0;
}

.trace-hero-v0__demo-blob--tr {
	top: 1rem;
	right: 1rem;
	width: 8rem;
	height: 8rem;
	background: rgba(var(--trace-accent-rgb), 0.06);
}

.trace-hero-v0__demo-blob--bl {
	bottom: 1rem;
	left: 1rem;
	width: 6rem;
	height: 6rem;
	background: rgba(var(--trace-accent-rgb), 0.05);
}

.trace-hero-v0__demo-inner {
	position: relative;
	z-index: 1;
	min-height: 300px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	text-align: center;
}

@media (min-width: 768px) {
	.trace-hero-v0__demo-inner {
		min-height: 420px;
		padding: 3rem;
	}
}

.trace-hero-v0__demo-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4rem;
	height: 4rem;
	border-radius: 1rem;
	background: rgba(var(--trace-accent-rgb), 0.1);
	color: var(--wp--preset--color--primary);
}

.trace-hero-v0__demo-caption {
	margin: 0;
	font-size: clamp(1.25rem, 4vw, 1.875rem);
	font-weight: 700;
	color: rgba(107, 114, 128, 0.4);
}

/* Home: demo embed band (below split hero, matches inner-page demo shell) */
.trace-home-hero-demo {
	padding: 0 0 2.5rem;
}

.trace-home-hero-demo .trace-hero-v0__demo-box {
	margin-top: 0;
}

.trace-hero-v0__demo-inner--embed {
	min-height: 0;
	padding: 0;
	align-items: stretch;
	justify-content: flex-start;
	text-align: left;
}

.trace-home-hero-demo__iframe {
	display: block;
	width: 100%;
	min-height: 20rem;
	aspect-ratio: 16 / 10;
	border: 0;
	border-radius: 1.25rem;
	background: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
	.trace-home-hero-demo__iframe {
		min-height: 26.25rem;
	}
}

/* Storylane responsive embed (home hero demo) */
.trace-home-hero-demo__sl-embed.sl-embed,
.trace-home-hero-demo__sl-embed {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: calc(57.38% + 25px);
	transform: scale(1);
	box-sizing: border-box;
}

.trace-home-hero-demo__sl-demo.sl-demo,
.trace-home-hero-demo__sl-demo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	border: 1px solid rgba(63, 95, 172, 0.35);
	box-shadow: 0 0 18px rgba(26, 19, 72, 0.15);
	border-radius: 10px;
	box-sizing: border-box;
}

/* Home hero: copy + React hero visual */
.trace-hero-v0.trace-hero-v0--split {
	position: relative;
	overflow-x: clip;
	overflow-y: visible;
	background-color: transparent;
}

.trace-hero-v0__split-stage {
	position: relative;
	z-index: 1;
	overflow: visible;
}

.trace-hero-v0__split-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	/* Allow column to shrink below wide children (home hero React stage is ~580px design width) */
	min-width: 0;
}

.trace-hero-v0__wrap.trace-hero-v0__wrap--split-copy {
	position: relative;
	z-index: 2;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent !important;
}

.trace-hero-v0--split .trace-hero-v0__copy {
	position: relative;
	max-width: 38rem;
	background: transparent !important;
}

.trace-hero-v0__split-visual {
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: visible;
}

/* Home hero React ticker: transparent track; edge fades use theme background */
#trace-home-hero-visual .trace-home-hero-visual__fade--top {
	background: linear-gradient(
		to bottom,
		var(--wp--preset--color--background, #fff),
		transparent
	);
}

#trace-home-hero-visual .trace-home-hero-visual__fade--bottom {
	background: linear-gradient(
		to top,
		var(--wp--preset--color--background, #fff),
		transparent
	);
}

.trace-hero-v0__split-visual svg {
	max-width: 100%;
	height: auto;
}

@media (min-width: 1024px) {
	.trace-hero-v0__split-inner {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
		gap: 2.5rem 3rem;
		padding-top: 1.5rem;
		padding-bottom: 2rem;
		min-height: 32rem;
	}

	.trace-hero-v0__wrap.trace-hero-v0__wrap--split-copy {
		flex: 1 1 0;
		min-width: 0;
	}

	.trace-hero-v0__split-visual {
		flex: 0 0 auto;
		width: auto;
		justify-content: flex-end;
		overflow: visible;
		padding-top: 0.25rem;
	}
}

/* --- Logo strip v0 --- */
.trace-logo-v0 {
	padding: 3rem 1.5rem;
	border-top: 1px solid rgba(229, 231, 235, 0.4);
}

.trace-logo-v0__eyebrow {
	text-align: center;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--wp--preset--color--muted);
	margin: 0 0 2rem;
}

.trace-logo-v0--quote .trace-logo-v0__eyebrow {
	margin-bottom: 1.25rem;
}

.trace-logo-v0__quote {
	margin: 0 auto;
	max-width: 40rem;
	padding: 0;
	border: none;
	text-align: center;
}

.trace-logo-v0__quote p {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--wp--preset--color--muted);
	font-style: italic;
}

/* Four logos (default): each cell cycles, in from below → hold → dissolve (see logo-strip.js) */
.trace-logo-v0__viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
}

.trace-logo-v0__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem 1rem;
	align-items: center;
	justify-items: center;
	min-height: 3.5rem;
}

@media (min-width: 640px) {
	.trace-logo-v0__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.5rem 1.25rem;
	}
}

.trace-logo-v0__cell {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	min-height: 2.75rem;
	padding: 0 0.35rem;
	box-sizing: border-box;
}

.trace-logo-v0__surface {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	width: 100%;
	max-width: 11rem;
	margin: 0 auto;
	transition:
		opacity var(--trace-logo-exit-ms, 300ms) ease,
		transform var(--trace-logo-exit-ms, 300ms) ease;
	opacity: 1;
	transform: translate3d(0, 0, 0);
	will-change: opacity, transform;
}

.trace-logo-v0__surface--pre {
	transition: none !important;
	opacity: 0;
	transform: translate3d(0, 1.25rem, 0);
}

.trace-logo-v0__surface--enter {
	transition:
		opacity var(--trace-logo-enter-ms, 360ms) ease,
		transform var(--trace-logo-enter-ms, 360ms) cubic-bezier(0.22, 1, 0.36, 1) !important;
	opacity: 1;
	transform: translate3d(0, 0, 0);
}

.trace-logo-v0__surface--exit {
	opacity: 0;
	transform: translate3d(0, -0.75rem, 0);
}

.trace-logo-v0__pool {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.trace-logo-v0__pool .trace-logo-v0__slot {
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Staggered reveal per cell (see assets/js/reveal.js) */
html.trace-js-reveal .trace-logo-v0[data-trace-stagger-reveal]:not(.is-in-view) .trace-logo-v0__cell {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
}

html.trace-js-reveal .trace-logo-v0[data-trace-stagger-reveal].is-in-view .trace-logo-v0__cell {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition:
		opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: calc(var(--cell-index, 0) * 45ms);
}

@media (prefers-reduced-motion: reduce) {
	html.trace-js-reveal .trace-logo-v0[data-trace-stagger-reveal]:not(.is-in-view) .trace-logo-v0__cell {
		opacity: 1;
		transform: none;
	}

	html.trace-js-reveal .trace-logo-v0[data-trace-stagger-reveal].is-in-view .trace-logo-v0__cell {
		transition: none;
	}
}

.trace-logo-v0__svg {
	color: rgba(107, 114, 128, 0.35);
}

/* --- Product cards v0 --- */
.trace-product-cards-v0 {
	padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
	.trace-product-cards-v0 {
		padding: 7rem 1.5rem;
	}
}

.trace-product-cards-v0__heading {
	text-align: center;
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 2.5rem;
}

@media (min-width: 768px) {
	.trace-product-cards-v0__heading {
		font-size: 1.875rem;
		margin-bottom: 3rem;
	}
}

.trace-product-cards-v0__explore-root {
	width: 100%;
	max-width: none;
	margin-left: auto;
	margin-right: auto;
}

/* --- Steps v0 --- */
.trace-steps-v0 {
	padding: 5rem 1.5rem;
	background: rgba(245, 245, 245, 0.35);
}

@media (min-width: 768px) {
	.trace-steps-v0 {
		padding: 7rem 1.5rem;
	}
}

.trace-steps-v0__intro {
	max-width: 28rem;
	margin-bottom: 4rem;
}

.trace-steps-v0__heading {
	font-size: 1.875rem;
	font-weight: 600;
	margin: 0 0 1rem;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.trace-steps-v0__heading {
		font-size: 2.25rem;
	}
}

.trace-steps-v0__lead {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

.trace-steps-v0__grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 640px) {
	.trace-steps-v0__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.trace-steps-v0__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.trace-steps-v0__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	background: rgba(239, 111, 108, 0.1);
	color: var(--wp--preset--color--primary);
	margin-bottom: 1rem;
}

.trace-steps-v0__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.trace-steps-v0__desc {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
	margin: 0;
}

/* --- Alternating v0 --- */
.trace-alt-v0 {
	position: relative;
	padding: 5rem 1.5rem;
	overflow: hidden;
}

.trace-alt-v0__glow {
	position: absolute;
	inset: 20% 10% auto;
	height: 60%;
	pointer-events: none;
	background: radial-gradient(
		ellipse 70% 55% at 50% 50%,
		rgba(var(--trace-accent-rgb), 0.12) 0%,
		rgba(255, 255, 255, 0) 70%
	);
}

@media (min-width: 768px) {
	.trace-alt-v0 {
		padding: 7rem 1.5rem;
	}
}

.trace-alt-v0__wrap {
	position: relative;
	z-index: 1;
	max-width: 72rem;
	margin: 0 auto;
	padding: 2rem 0;
}

.trace-alt-v0__row {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	align-items: center;
	margin-bottom: 6rem;
}

.trace-alt-v0__row:last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.trace-alt-v0__row {
		flex-direction: row;
		gap: 4rem;
		margin-bottom: 8rem;
	}

	.trace-alt-v0__row--img-left {
		flex-direction: row-reverse;
	}
}

.trace-alt-v0__content {
	flex: 1;
	max-width: 28rem;
}

.trace-alt-v0__title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

@media (min-width: 768px) {
	.trace-alt-v0__title {
		font-size: 1.875rem;
	}
}

.trace-alt-v0__desc {
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.trace-alt-v0__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.trace-alt-v0__link:hover {
	color: var(--wp--preset--color--dark);
}

.trace-alt-v0__visual {
	flex: 1;
	width: 100%;
}

.trace-alt-v0__frame {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.5);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.trace-alt-v0__frame img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.trace-alt-v0__expand {
	position: absolute;
	right: 0.75rem;
	bottom: 0.75rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(229, 231, 235, 0.85);
	border-radius: 0.5rem;
	background: rgba(255, 255, 255, 0.92);
	color: var(--wp--preset--color--dark);
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
	cursor: pointer;
	transition:
		background 0.15s ease,
		color 0.15s ease,
		border-color 0.15s ease;
}

.trace-alt-v0__expand:hover {
	background: #fff;
	border-color: rgba(15, 23, 42, 0.12);
	color: var(--wp--preset--color--primary);
}

.trace-alt-v0__expand:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.trace-alt-v0__expand-ic {
	display: block;
	flex-shrink: 0;
}

/* Alternating section image lightbox */
.trace-alt-lightbox {
	padding: 0;
	max-width: min(96vw, 72rem);
	max-height: 92vh;
	border: none;
	background: transparent;
}

.trace-alt-lightbox::backdrop {
	background: rgba(15, 23, 42, 0.72);
	backdrop-filter: blur(4px);
}

.trace-alt-lightbox__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	border-radius: 0.75rem;
	background: var(--wp--preset--color--background);
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
}

.trace-alt-lightbox__img {
	display: block;
	max-width: min(92vw, 72rem);
	max-height: min(86vh, 900px);
	width: auto;
	height: auto;
	border-radius: 0.5rem;
}

/* Portrait screenshots: use more viewport height (and slightly tighter chrome). */
.trace-alt-lightbox.trace-alt-lightbox--portrait {
	max-width: 99vw;
	max-height: 99vh;
}

.trace-alt-lightbox--portrait .trace-alt-lightbox__inner {
	padding: 0.25rem;
}

.trace-alt-lightbox--portrait .trace-alt-lightbox__img {
	height: min(97vh, 1400px);
	width: auto;
	max-width: 98vw;
	max-height: none;
}

.trace-alt-lightbox__close {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	margin: 0;
	border: 1px solid rgba(229, 231, 235, 0.9);
	border-radius: 0.5rem;
	background: rgba(255, 255, 255, 0.95);
	color: var(--wp--preset--color--dark);
	cursor: pointer;
	transition:
		background 0.15s ease,
		color 0.15s ease;
}

.trace-alt-lightbox__close:hover {
	background: #fff;
	color: var(--wp--preset--color--primary);
}

.trace-alt-lightbox__close:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* Alternating rows: directional reveal per row (see assets/js/reveal.js) */
html.trace-js-reveal .trace-alt-v0__row[data-trace-stagger-reveal]:not(.is-in-view) .trace-alt-v0__content,
html.trace-js-reveal .trace-alt-v0__row[data-trace-stagger-reveal]:not(.is-in-view) .trace-alt-v0__frame {
	opacity: 0;
	transform: translate3d(0, 16px, 0);
}

@media (min-width: 768px) {
	html.trace-js-reveal .trace-alt-v0__row.trace-alt-v0__row--img-right[data-trace-stagger-reveal]:not(.is-in-view) .trace-alt-v0__content {
		transform: translate3d(-20px, 0, 0);
	}

	html.trace-js-reveal .trace-alt-v0__row.trace-alt-v0__row--img-right[data-trace-stagger-reveal]:not(.is-in-view) .trace-alt-v0__frame {
		transform: translate3d(20px, 0, 0);
	}

	html.trace-js-reveal .trace-alt-v0__row.trace-alt-v0__row--img-left[data-trace-stagger-reveal]:not(.is-in-view) .trace-alt-v0__content {
		transform: translate3d(20px, 0, 0);
	}

	html.trace-js-reveal .trace-alt-v0__row.trace-alt-v0__row--img-left[data-trace-stagger-reveal]:not(.is-in-view) .trace-alt-v0__frame {
		transform: translate3d(-20px, 0, 0);
	}
}

html.trace-js-reveal .trace-alt-v0__row[data-trace-stagger-reveal].is-in-view .trace-alt-v0__content,
html.trace-js-reveal .trace-alt-v0__row[data-trace-stagger-reveal].is-in-view .trace-alt-v0__frame {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition:
		opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
	html.trace-js-reveal .trace-alt-v0__row[data-trace-stagger-reveal]:not(.is-in-view) .trace-alt-v0__content,
	html.trace-js-reveal .trace-alt-v0__row[data-trace-stagger-reveal]:not(.is-in-view) .trace-alt-v0__frame {
		opacity: 1;
		transform: none;
	}

	html.trace-js-reveal .trace-alt-v0__row[data-trace-stagger-reveal].is-in-view .trace-alt-v0__content,
	html.trace-js-reveal .trace-alt-v0__row[data-trace-stagger-reveal].is-in-view .trace-alt-v0__frame {
		transition: none;
	}
}

.trace-alt-v0__placeholder {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 1rem;
	background: rgba(245, 245, 245, 0.5);
	border: 1px solid rgba(229, 231, 235, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
}

.trace-alt-v0__placeholder-grid {
	color: var(--wp--preset--color--dark);
}

.trace-alt-v0__placeholder-label {
	position: relative;
	z-index: 1;
	font-size: 1.5rem;
	font-weight: 600;
	color: rgba(107, 114, 128, 0.45);
}

@media (min-width: 768px) {
	.trace-alt-v0__placeholder-label {
		font-size: 1.875rem;
	}
}

/* --- Case studies v0 --- */
.trace-cases-v0 {
	padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
	.trace-cases-v0 {
		padding: 7rem 1.5rem;
	}
}

.trace-cases-v0__grid {
	display: grid;
	gap: 2rem;
	align-items: start;
}

@media (min-width: 768px) {
	.trace-cases-v0__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.trace-cases-v0__intro {
	padding-top: 0.5rem;
}

.trace-cases-v0__heading {
	font-size: 1.875rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 1rem;
}

.trace-cases-v0__text {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
	margin: 0 0 1.5rem;
}

.trace-cases-v0__all {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.trace-cases-v0__all:hover {
	color: var(--wp--preset--color--dark);
}

.trace-cases-v0__card {
	display: block;
	border-radius: 1rem;
	background: rgba(245, 245, 245, 0.4);
	border: 1px solid rgba(229, 231, 235, 0.4);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trace-cases-v0__card:hover {
	border-color: var(--wp--preset--color--border);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.trace-cases-v0__card-image {
	padding: 1rem 1rem 0;
}

.trace-cases-v0__card-image::before {
	content: "";
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 0.75rem;
	background: rgba(230, 230, 230, 0.6);
}

.trace-cases-v0__card-image:has(img)::before {
	display: none;
}

.trace-cases-v0__card-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 0.75rem;
}

.trace-cases-v0__card-body {
	padding: 1rem 1.25rem 1.25rem;
}

.trace-cases-v0__card-title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	line-height: 1.35;
}

.trace-cases-v0__card-excerpt {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* --- FAQ v0 --- */
.trace-faq-v0 {
	padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
	.trace-faq-v0 {
		padding: 7rem 1.5rem;
	}
}

.trace-faq-v0__inner {
	max-width: 48rem;
	margin: 0 auto;
}

.trace-faq-v0__header {
	margin-bottom: 3rem;
}

/* FAQ title scale */
.trace-faq-v0__title {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 1rem;
	text-wrap: balance;
}

@media (min-width: 768px) {
	.trace-faq-v0__title {
		font-size: 1.875rem;
	}
}

.trace-faq-v0--narrow .trace-faq-v0__header {
	text-align: center;
}

.trace-faq-v0--narrow .trace-faq-v0__lead {
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

/* Closing CTA, subordinate to page heroes (smaller than `.trace-hero-v0__title--page`) */
.trace-close-cta-v0__title {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 1.25rem;
	text-wrap: balance;
	letter-spacing: -0.02em;
}

@media (min-width: 768px) {
	.trace-close-cta-v0__title {
		font-size: 1.75rem;
	}
}

@media (min-width: 1024px) {
	.trace-close-cta-v0__title {
		font-size: 2rem;
	}
}

.trace-faq-v0__lead {
	margin: 0;
	color: var(--wp--preset--color--muted);
}

.trace-accordion--v0 {
	margin-top: 0;
}

/* --- Closing CTA v0: dual corner radials (Next closing-cta parity) --- */
.trace-close-cta-v0 {
	padding: 3rem 1.5rem 4rem;
	background-color: #fff;
	background-image:
		radial-gradient(
			ellipse 75% 60% at 0% 0%,
			rgba(var(--trace-accent-rgb), 0.22) 0%,
			rgba(255, 255, 255, 0) 55%
		),
		radial-gradient(
			ellipse 75% 60% at 100% 100%,
			rgba(var(--trace-accent-rgb), 0.18) 0%,
			rgba(255, 255, 255, 0) 55%
		);
	background-repeat: no-repeat;
}

@media (min-width: 768px) {
	.trace-close-cta-v0 {
		padding: 4rem 1.5rem 5rem;
	}
}

/* Do not override .trace-container max-width, keep 72rem parity with hero / home */
.trace-close-cta-v0__wrap {
	margin-left: auto;
	margin-right: auto;
}

.trace-close-cta-v0__card {
	border-radius: 1rem;
	background: #fff;
	border: 1px solid rgba(229, 231, 235, 0.4);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	padding: 3rem 1.5rem;
	text-align: center;
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 768px) {
	.trace-close-cta-v0__card {
		border-radius: 1rem;
		padding: 4rem 4rem;
	}
}

.trace-close-cta-v0__lead {
	margin: 0 auto 2.5rem;
	max-width: 32rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
	font-size: 1rem;
}

/* Shared CTA pair, optional centred row (see template-parts/cta-pair.php) */
.trace-cta-pair--center {
	width: 100%;
	justify-content: center;
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
}

.trace-close-cta-v0__card .trace-hero-v0__actions {
	width: 100%;
	justify-content: center;
	align-items: center;
}

.trace-blog-hero__ctas {
	margin-top: 1.5rem;
}

.trace-single__cta .trace-hero-v0__actions {
	margin-top: 0;
}

.trace-btn--xl {
	height: 3rem;
	padding: 0 2rem;
	border-radius: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* --- Footer v0 --- */
.trace-footer-v0 {
	border-top: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--dark);
	color: rgba(255, 255, 255, 0.92);
}

.trace-footer-v0__inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 4rem 1.5rem 5rem;
}

.trace-footer-v0__grid {
	display: grid;
	gap: 2rem;
	margin-bottom: 3rem;
}

@media (min-width: 768px) {
	.trace-footer-v0__grid {
		grid-template-columns: repeat(5, 1fr);
		gap: 2rem;
	}
}

.trace-footer-v0__logo {
	display: inline-block;
	margin-bottom: 1rem;
	text-decoration: none;
	line-height: 0;
}

.trace-footer-v0__logo:hover {
	opacity: 0.92;
}

.trace-footer-v0__logo-img {
	display: block;
	height: 1.875rem;
	width: auto;
	max-width: 12.5rem;
	object-fit: contain;
}

.trace-footer-v0__tagline {
	font-size: 0.875rem;
	opacity: 0.8;
	line-height: 1.5;
	margin: 0;
}

.trace-footer-v0__heading {
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin: 0 0 1rem;
	opacity: 0.9;
}

.trace-footer-v0__list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
}

.trace-footer-v0__list li {
	margin-bottom: 0.75rem;
}

.trace-footer-v0__list a {
	color: inherit;
	text-decoration: none;
	opacity: 0.7;
	transition: opacity 0.15s ease;
}

.trace-footer-v0__list a:hover {
	opacity: 1;
}

.trace-footer-v0__rule {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin: 0 0 2rem;
}

.trace-footer-v0__bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	font-size: 0.875rem;
}

@media (min-width: 768px) {
	.trace-footer-v0__bottom {
		flex-direction: row;
		justify-content: space-between;
	}
}

.trace-footer-v0__copy {
	margin: 0;
	opacity: 0.7;
}

.trace-footer-v0__status {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: nowrap;
	justify-content: center;
}

.trace-footer-v0__status-dot {
	flex-shrink: 0;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 9999px;
	background: #22c55e;
	box-shadow:
		0 0 0 2px rgba(34, 197, 94, 0.35),
		0 0 12px rgba(34, 197, 94, 0.55);
	animation: trace-footer-status-pulse 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.trace-footer-v0__status-dot {
		animation: none;
	}
}

@keyframes trace-footer-status-pulse {
	0%,
	100% {
		opacity: 1;
		box-shadow:
			0 0 0 2px rgba(34, 197, 94, 0.35),
			0 0 12px rgba(34, 197, 94, 0.55);
	}
	50% {
		opacity: 0.88;
		box-shadow:
			0 0 0 3px rgba(34, 197, 94, 0.25),
			0 0 18px rgba(34, 197, 94, 0.65);
	}
}

.trace-footer-v0__status-text {
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.78);
	white-space: nowrap;
}

/* --- Inner marketing pages + 404 (export b_K5vIlu41L1u) --- */
.trace-inner {
	flex: 1;
	width: 100%;
}

.trace-inner--center {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5rem 1.5rem;
	min-height: 55vh;
}

.trace-404-v0 {
	text-align: center;
	max-width: 28rem;
	width: 100%;
}

.trace-404-v0__big {
	font-size: clamp(4rem, 18vw, 7.5rem);
	font-weight: 700;
	line-height: 1;
	color: rgba(239, 111, 108, 0.22);
	margin-bottom: 1rem;
}

.trace-404-v0__heading {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--dark);
}

.trace-404-v0__text {
	margin: 0 0 2rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
}

.trace-404-v0__actions {
	display: flex;
	justify-content: center;
	width: 100%;
}

.trace-404-v0__more {
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--border);
}

.trace-404-v0__more-label {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0 0 1rem;
}

.trace-404-v0__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem;
	font-size: 0.875rem;
}

.trace-404-v0__links a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.trace-404-v0__links a:hover {
	color: var(--wp--preset--color--dark);
}

/* 404, Next not-found layout */
.trace-404-next {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 70vh;
	padding: 4rem 1.5rem 0;
}

.trace-404-next > .trace-bg-grid {
	color: var(--wp--preset--color--dark);
}

.trace-404-next__radial {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background: radial-gradient(
		ellipse 70% 55% at 50% 45%,
		rgba(var(--trace-accent-rgb), 0.1) 0%,
		transparent 60%
	);
}

.trace-404-next__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 28rem;
	margin: 0 auto;
	text-align: center;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-bottom: 2rem;
}

.trace-404-next__visual {
	position: relative;
	width: 100%;
	height: 10rem;
	margin-bottom: 2rem;
}

.trace-404-next__bg404 {
	font-size: clamp(5rem, 22vw, 9rem);
	font-weight: 700;
	line-height: 1;
	color: rgba(var(--trace-accent-rgb), 0.12);
	letter-spacing: -0.06em;
}

.trace-404-next__heading {
	font-size: 1.875rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--dark);
}

.trace-404-next__text {
	margin: 0 0 2rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
}

.trace-404-next__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.trace-404-next__more {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(229, 231, 235, 0.6);
	width: 100%;
}

.trace-404-next__more-label {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.25rem;
}

.trace-404-next__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.trace-404-next__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
	background: rgba(245, 245, 245, 0.8);
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.trace-404-next__links a:hover {
	background: rgba(229, 231, 235, 0.9);
	color: var(--wp--preset--color--dark);
}

.trace-section {
	padding: 5rem 1.5rem;
}

@media (min-width: 768px) {
	.trace-section {
		padding-top: 7rem;
		padding-bottom: 7rem;
	}
}

.trace-section--tight {
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.trace-section--muted {
	background: rgba(245, 245, 245, 0.55);
}

/* One subtle wash for inner pages that opt in (e.g. company, case studies) */
.trace-section--radial {
	background: radial-gradient(
		ellipse 92% 65% at 50% -18%,
		rgba(239, 111, 108, 0.055) 0%,
		transparent 62%
	);
	background-repeat: no-repeat;
}

.trace-wrap {
	max-width: 72rem;
	margin: 0 auto;
	width: 100%;
}

.trace-wrap--narrow {
	max-width: 48rem;
}

.trace-wrap--text {
	max-width: 40rem;
}

.trace-hero-title {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 1.5rem;
	color: var(--wp--preset--color--dark);
	text-align: center;
}

.trace-hero-lead {
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--wp--preset--color--muted);
	margin: 0 auto;
	max-width: 42rem;
	text-align: center;
}

.trace-grid-3 {
	display: grid;
	gap: 2rem;
}

@media (min-width: 768px) {
	.trace-grid-3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Resources page: full hub markup retained but not shown (see page-resources.php). */
.trace-resources-soon__hidden {
	display: none;
}

/* Blog index: listing UI retained but not shown when coming soon (see archive.php). */
.trace-blog-soon__hidden {
	display: none;
}

/* Careers page: full layout retained but not shown when coming soon (see page-careers.php). */
.trace-careers-soon__hidden {
	display: none;
}

/* Press page: full layout retained but not shown when coming soon (see page-press.php). */
.trace-press-soon__hidden {
	display: none;
}

/* Resources hub: featured split cards (reference: grid + radial media, badges, stat) */
.trace-resources-hub__block--spaced {
	margin-top: 3rem;
}

.trace-resources-hub__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.trace-resources-hub__heading {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0;
	color: var(--wp--preset--color--dark);
}

.trace-resources-hub__all {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.trace-resources-hub__all:hover {
	color: var(--wp--preset--color--dark);
}

.trace-resources-feature-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.trace-resources-feature {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	gap: 0;
	border-radius: clamp(1.25rem, 2vw, 1.75rem);
	border: 1px solid rgba(229, 231, 235, 0.85);
	background: #fafafa;
	text-decoration: none;
	color: inherit;
	overflow: hidden;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.trace-resources-feature__media,
.trace-resources-feature__body {
	min-width: 0;
	min-height: 0;
}

.trace-resources-feature:hover {
	border-color: rgba(203, 213, 225, 0.95);
	box-shadow: 0 18px 44px -28px rgba(15, 23, 42, 0.2);
}

@media (min-width: 768px) {
	.trace-resources-feature {
		grid-template-columns: 1fr 1fr;
		min-height: 0;
	}
}

.trace-resources-feature__media {
	position: relative;
	min-height: 12rem;
	background: linear-gradient(145deg, rgba(250, 250, 250, 1) 0%, rgba(245, 245, 245, 1) 100%);
	overflow: hidden;
}

@media (min-width: 768px) {
	.trace-resources-feature__media {
		min-height: 0;
	}
}

.trace-resources-feature__grid {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0.45;
	color: var(--wp--preset--color--dark);
	pointer-events: none;
}

.trace-resources-feature__radial {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: radial-gradient(
		ellipse 90% 70% at 0% 0%,
		rgba(var(--trace-accent-rgb), 0.14) 0%,
		transparent 52%
	);
}

.trace-resources-feature__img {
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100%;
	min-height: 12rem;
	object-fit: cover;
	display: block;
}

@media (min-width: 768px) {
	.trace-resources-feature__img {
		min-height: 100%;
		position: absolute;
		inset: 0;
	}
}

.trace-resources-feature__body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.65rem;
	padding: clamp(1.5rem, 3.5vw, 2.75rem);
	background: #fff;
	box-sizing: border-box;
	overflow-wrap: break-word;
}

.trace-resources-feature--case .trace-resources-feature__body {
	justify-content: center;
}

.trace-resources-feature__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.85rem;
	margin: 0;
}

.trace-resources-feature__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.7rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1;
	background: rgba(var(--trace-accent-rgb), 0.14);
	color: var(--wp--preset--color--primary);
}

.trace-resources-feature__pill-icon {
	flex-shrink: 0;
	opacity: 0.95;
}

.trace-resources-feature__cat {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

.trace-resources-feature__kicker {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	letter-spacing: 0.01em;
}

.trace-resources-feature__title {
	font-size: clamp(1.2rem, 2.4vw, 1.85rem);
	font-weight: 700;
	margin: 0;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--wp--preset--color--dark);
}

.trace-resources-feature__excerpt {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
	line-height: 1.6;
}

.trace-resources-feature--article .trace-resources-feature__excerpt {
	flex: 1 1 auto;
}

.trace-resources-feature__foot {
	margin: 0;
	padding-top: 0.75rem;
	margin-top: auto;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.trace-resources-feature__foot-sep {
	margin: 0 0.4rem;
	opacity: 0.7;
}

.trace-resources-feature__stat {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 0.85rem;
	margin-top: 0.35rem;
}

.trace-resources-feature__stat-value {
	font-size: clamp(2rem, 4.5vw, 2.85rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	color: var(--wp--preset--color--primary);
}

.trace-resources-feature__stat-cap {
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--wp--preset--color--muted);
	max-width: 16rem;
}

.trace-card-soft {
	border-radius: 0.75rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	padding: 2rem;
	background: rgba(255, 255, 255, 0.6);
	text-align: center;
}

.trace-card-soft__label {
	font-weight: 600;
	margin: 0 0 0.25rem;
	color: var(--wp--preset--color--dark);
}

.trace-card-soft__value {
	font-weight: 600;
	margin: 0 0 0.5rem;
	color: var(--wp--preset--color--dark);
}

.trace-card-soft__hint {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.trace-form-card {
	max-width: 42rem;
	margin: 0 auto;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	padding: 2rem;
	background: rgba(245, 245, 245, 0.35);
}

.trace-form-card h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 1.5rem;
}

.trace-form-card--center {
	text-align: center;
}

.trace-form-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--wp--preset--color--dark);
}

.trace-form-card__lead {
	margin: 0 0 1.5rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.trace-form-card__actions {
	display: flex;
	justify-content: center;
}

.trace-field {
	margin-bottom: 1.25rem;
}

.trace-field label {
	display: block;
	font-size: 0.875rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--wp--preset--color--dark);
}

.trace-field input,
.trace-field textarea {
	width: 100%;
	border-radius: 0.5rem;
	border: 1px solid var(--wp--preset--color--border);
	background: #fff;
	padding: 0.5rem 1rem;
	font: inherit;
	color: var(--wp--preset--color--dark);
}

.trace-field input:focus,
.trace-field textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
}

.trace-field-row {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.trace-field-row {
		grid-template-columns: 1fr 1fr;
	}
}

.trace-pricing-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.trace-pricing-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.trace-price-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: 1.5rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	padding: 2rem;
	background: #fff;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.trace-price-card:hover {
	box-shadow: 0 10px 40px -15px rgba(15, 23, 42, 0.12);
}

.trace-price-card--popular {
	border-color: rgba(var(--trace-accent-rgb), 0.3);
	background: linear-gradient(
		to bottom,
		rgba(var(--trace-accent-rgb), 0.06),
		rgba(var(--trace-accent-rgb), 0.12)
	);
	box-shadow: 0 12px 40px -12px rgba(var(--trace-accent-rgb), 0.25);
}

.trace-price-card__badge {
	position: absolute;
	top: -0.75rem;
	left: 50%;
	transform: translateX(-50%);
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.35rem 1rem;
	border-radius: 9999px;
	box-shadow: 0 4px 14px rgba(var(--trace-accent-rgb), 0.35);
	white-space: nowrap;
}

.trace-price-card__name {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.trace-price-card__amount {
	font-size: 3rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	letter-spacing: -0.02em;
}

.trace-price-card__period {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-price-card__desc {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0 0 1.5rem;
}

.trace-price-card__features {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0;
	flex: 1;
}

.trace-price-card__features li {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin-bottom: 0.75rem;
}

.trace-check {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: 0.125rem;
	color: var(--wp--preset--color--primary);
}

/* Full-width card CTAs, beats .trace-btn / .trace-btn--lg / .trace-btn--header-outline display */
.trace-price-card .trace-price-card__cta {
	box-sizing: border-box;
	width: 100%;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	text-align: center;
	min-height: 3rem;
	border-radius: 0.75rem;
}

.trace-btn--icon-after svg {
	flex-shrink: 0;
}

/* Pricing: enterprise band */
.trace-section--enterprise {
	padding: 3rem 1.5rem;
}

.trace-enterprise-v0 {
	max-width: 56rem;
}

.trace-enterprise-v0__card {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid rgba(229, 231, 235, 0.5);
	background: linear-gradient(to bottom right, rgba(245, 245, 245, 0.5), rgba(250, 250, 250, 0.95));
	padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
	.trace-enterprise-v0__card {
		padding: 3rem;
	}
}

.trace-enterprise-v0__blob {
	position: absolute;
	border-radius: 9999px;
	filter: blur(48px);
	pointer-events: none;
	opacity: 0.9;
}

.trace-enterprise-v0__blob--tr {
	top: 0;
	right: 0;
	width: 10rem;
	height: 10rem;
	background: rgba(var(--trace-accent-rgb), 0.06);
}

.trace-enterprise-v0__blob--bl {
	bottom: 0;
	left: 0;
	width: 8rem;
	height: 8rem;
	background: rgba(var(--trace-accent-rgb), 0.05);
}

.trace-enterprise-v0__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	text-align: center;
}

.trace-enterprise-v0__copy {
	width: 100%;
	max-width: 36rem;
	margin: 0 auto;
}

.trace-enterprise-v0__title {
	font-size: 1.5rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--dark);
}

.trace-enterprise-v0__lead {
	margin: 0;
	font-size: 1rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.55;
}

.trace-enterprise-v0__btn {
	flex-shrink: 0;
}

/* Product subpages: screenshot uses `.trace-container` in PHP (same shell as page hero). */
.trace-product-sub__shot {
	padding-top: 0;
}

.trace-wrap--wide {
	max-width: 80rem;
	margin-left: auto;
	margin-right: auto;
}

.trace-product-sub__frame {
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	overflow: hidden;
	background: transparent;
	box-shadow: 0 10px 40px -15px rgba(15, 23, 42, 0.12);
}

.trace-product-sub__frame img {
	display: block;
	width: 100%;
	height: auto;
}

/* Hero screenshot: no card chrome — image uses full container width; corners clip the image (split `--sm` unchanged). */
.trace-product-sub__shot .trace-product-sub__frame:not(.trace-product-sub__frame--sm) {
	width: 100%;
	max-width: 100%;
	border: none;
	border-radius: 1rem;
	box-shadow: none;
	background: none;
	overflow: hidden;
}

/* Split-column screenshot with nested lightbox frame: outer chrome removed (inner .trace-alt-v0__frame). */
.trace-product-sub__frame--sm.trace-product-sub__frame--with-lightbox {
	border: none;
	box-shadow: none;
	background: transparent;
	overflow: visible;
	border-radius: 0;
}

.trace-product-sub__split {
	display: grid;
	gap: 3rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.trace-product-sub__split {
		grid-template-columns: 1fr 1fr;
		gap: 4rem;
	}
}

.trace-product-sub__split-copy .trace-section-heading {
	text-align: left;
}

.trace-product-sub__split-copy .trace-section-sub {
	text-align: left;
	margin-left: 0;
	margin-right: 0;
	max-width: 40rem;
	margin-bottom: 1.5rem;
}

.trace-product-sub__checklist {
	list-style: none;
	margin: 0;
	padding: 0;
}

.trace-product-sub__checklist li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	color: var(--wp--preset--color--dark);
}

.trace-product-sub__check {
	flex-shrink: 0;
	margin-top: 0.1rem;
	color: var(--wp--preset--color--primary);
}

.trace-product-sub__cases-head {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto 3rem;
}

.trace-product-sub__cases-lead {
	margin-left: auto;
	margin-right: auto;
}

.trace-product-sub__cases-grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 768px) {
	.trace-product-sub__cases-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.trace-product-sub__case-card {
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	background: #fff;
	padding: 2rem;
}

.trace-product-sub__case-card h3 {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 0.75rem;
}

.trace-product-sub__case-card p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.55;
}

.trace-product-sub__metric-icon {
	width: 2.5rem;
	height: 2.5rem;
	color: var(--wp--preset--color--primary);
	margin-bottom: 1rem;
}

.trace-dh-mock {
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	background: rgba(245, 245, 245, 0.45);
	padding: 2rem;
}

.trace-dh-mock__inner {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.trace-dh-mock__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.875rem;
}

.trace-dh-mock__row strong {
	font-weight: 700;
	color: var(--wp--preset--color--primary);
}

.trace-dh-mock__ok {
	color: #16a34a !important;
}

.trace-dh-mock__bar {
	height: 0.5rem;
	border-radius: 9999px;
	background: rgba(229, 231, 235, 0.9);
	overflow: hidden;
}

.trace-dh-mock__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--wp--preset--color--primary);
}

.trace-dh-mock__bar--ok span {
	background: #22c55e;
}

.trace-dh-mock__hint {
	margin: 0;
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

/* Ask Trace chat mock */
.trace-at-chat {
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	background: #fff;
	box-shadow: 0 10px 40px -15px rgba(15, 23, 42, 0.12);
	overflow: hidden;
}

.trace-at-chat__head {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 1.25rem;
	border-bottom: 1px solid rgba(229, 231, 235, 0.6);
	font-weight: 600;
	font-size: 0.875rem;
}

.trace-at-chat__body {
	padding: 1.25rem;
	background: rgba(245, 245, 245, 0.35);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.trace-at-chat__exchange {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.trace-at-chat__bubble {
	max-width: 85%;
	border-radius: 1rem;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
	line-height: 1.5;
}

.trace-at-chat__bubble p {
	margin: 0;
}

.trace-at-chat__bubble--user {
	align-self: flex-end;
	background: var(--wp--preset--color--primary);
	color: #fff;
	border-bottom-right-radius: 0.25rem;
}

.trace-at-chat__bubble--ai {
	align-self: flex-start;
	background: #fff;
	border: 1px solid rgba(229, 231, 235, 0.8);
	border-bottom-left-radius: 0.25rem;
	color: var(--wp--preset--color--dark);
}

.trace-at-chat__input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1.25rem;
	border-top: 1px solid rgba(229, 231, 235, 0.6);
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-at-chat__placeholder {
	flex: 1;
}

.trace-at-chat__send {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.5rem;
	background: var(--wp--preset--color--primary);
	color: #fff;
}

.trace-at-examples {
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	background: rgba(245, 245, 245, 0.35);
	padding: 2rem;
}

.trace-at-examples__title {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 1rem;
}

.trace-at-examples__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.trace-at-examples__list li {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	background: #fff;
	border: 1px solid rgba(229, 231, 235, 0.6);
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
}

.trace-faq-cards {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.trace-faq-cards__item {
	border-radius: 0.75rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	padding: 1.25rem;
	background: #fff;
}

.trace-faq-cards__item h3 {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
	color: var(--wp--preset--color--dark);
}

.trace-faq-cards__item p {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
	line-height: 1.55;
}

.trace-legal {
	max-width: 48rem;
	margin: 0 auto;
}

.trace-legal h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0 0 1rem;
	color: var(--wp--preset--color--dark);
}

.trace-legal h3 {
	font-size: 1rem;
	font-weight: 600;
	margin: 1rem 0 0.5rem;
	color: var(--wp--preset--color--dark);
}

.trace-legal p,
.trace-legal li {
	color: var(--wp--preset--color--muted);
	line-height: 1.65;
}

.trace-legal ul {
	margin: 0.5rem 0 0;
	padding-left: 1.25rem;
}

.trace-legal .trace-legal__block {
	margin-bottom: 3rem;
}

.trace-legal a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.trace-legal a:hover {
	text-decoration: underline;
}

.trace-icon-card-grid {
	display: grid;
	gap: 1.5rem;
}

.trace-icon-card-grid--row-4 {
	grid-template-columns: 1fr;
}

@media (min-width: 720px) {
	.trace-icon-card-grid--row-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.trace-icon-card-grid--row-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.trace-icon-card-grid--2 {
		grid-template-columns: repeat(2, 1fr);
	}
}

.trace-icon-card {
	display: flex;
	flex-direction: column;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	padding: 1.5rem;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.trace-icon-card:hover {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
	border-color: rgba(229, 231, 235, 1);
}

.trace-icon-card--accent {
	border-color: rgba(239, 111, 108, 0.35);
	background: rgba(239, 111, 108, 0.05);
}

.trace-icon-card__icon {
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	background: rgba(245, 245, 245, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	color: var(--wp--preset--color--dark);
}

.trace-icon-card--accent .trace-icon-card__icon {
	background: rgba(239, 111, 108, 0.12);
	color: var(--wp--preset--color--primary);
}

.trace-icon-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.trace-icon-card--accent .trace-icon-card__title {
	color: var(--wp--preset--color--primary);
}

.trace-icon-card__desc {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0 0 1rem;
	flex: 1;
}

.trace-icon-card__more {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--dark);
}

.trace-stat-grid {
	display: grid;
	gap: 2rem;
	text-align: center;
}

@media (min-width: 768px) {
	.trace-stat-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.trace-stat-grid__value {
	font-size: 1.875rem;
	font-weight: 700;
	margin: 0 0 0.25rem;
	color: var(--wp--preset--color--dark);
}

.trace-stat-grid__label {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-product-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.trace-product-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.trace-product-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.25rem;
	}
}

.trace-product-card {
	display: block;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.trace-product-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.trace-product-card__icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem 1rem 0.75rem;
	background: rgba(245, 245, 245, 0.65);
	border-bottom: 1px solid rgba(229, 231, 235, 0.75);
}

.trace-product-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 0.875rem;
	background: rgba(239, 111, 108, 0.12);
	color: var(--wp--preset--color--primary);
	transition:
		background 0.15s ease,
		color 0.15s ease,
		transform 0.15s ease;
}

.trace-product-card:hover .trace-product-card__icon {
	background: rgba(239, 111, 108, 0.18);
	transform: translateY(-1px);
}

.trace-product-card__icon svg {
	display: block;
}

/* Journey Explorer card: orient git-branch icon clockwise */
.trace-product-grid .trace-product-card:nth-child(1) .trace-product-card__icon svg {
	transform: rotate(90deg);
}

.trace-product-card__body {
	padding: 1.25rem 1.25rem 1.5rem;
}

.trace-product-card__row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.trace-product-card__row h3 {
	margin: 0;
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--wp--preset--color--dark);
	line-height: 1.25;
}

@media (min-width: 1024px) {
	.trace-product-grid .trace-product-card__row h3 {
		font-size: 1.0625rem;
	}
}

.trace-product-card__body > p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.55;
}

.trace-product-card__more {
	display: inline-block;
	margin-top: 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--dark);
}

.trace-flow-grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 1024px) {
	.trace-flow-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.trace-flow-step {
	background: #fff;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.8);
	padding: 1.5rem;
}

.trace-flow-step__top {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.trace-flow-step__icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.75rem;
	background: rgba(239, 111, 108, 0.12);
	color: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.trace-flow-step__num {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted);
	margin-left: auto;
}

.trace-privacy-visual {
	width: 100%;
	max-width: none;
	margin: 0;
	aspect-ratio: 1;
	border-radius: 1rem;
	background: linear-gradient(135deg, rgba(239, 111, 108, 0.06), rgba(239, 111, 108, 0.18));
	border: 1px solid rgba(229, 231, 235, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
	box-sizing: border-box;
}

.trace-section-heading {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	text-align: center;
	margin: 0 0 1rem;
	color: var(--wp--preset--color--dark);
}

.trace-section-sub {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto 4rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
}

/* Home: problem band */
.trace-home-problem .trace-section-heading {
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

.trace-home-problem__body {
	text-align: center;
}

.trace-home-problem__p {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.65;
	font-size: 1.0625rem;
}

.trace-home-problem__p:last-child {
	margin-bottom: 0;
}

.trace-pricing-every-plan-wrap {
	max-width: 40rem;
	margin: 0 auto;
}

.trace-pricing-every-plan {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.trace-pricing-every-plan__item {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin: 0 0 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--wp--preset--color--muted);
}

.trace-pricing-every-plan__item:last-child {
	margin-bottom: 0;
}

.trace-pricing-every-plan__item .trace-check {
	flex-shrink: 0;
	margin-top: 0.2rem;
	color: var(--wp--preset--color--primary);
}

.trace-about-mission__grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.trace-about-mission__grid {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}

	.trace-about-mission__grid--stretch {
		align-items: stretch;
	}

	.trace-about-mission__grid--stretch > .trace-privacy-visual {
		aspect-ratio: auto;
		align-self: stretch;
	}

	/* About mission: text only, no decorative column (matches former first column width). */
	.trace-about-mission__grid--copy-only {
		grid-template-columns: 1fr;
	}
}

.trace-about-mission__copy {
	max-width: 40rem;
}

.trace-about-stats {
	padding: 3rem 1.5rem;
	border-top: 1px solid rgba(229, 231, 235, 0.5);
	border-bottom: 1px solid rgba(229, 231, 235, 0.5);
	background: rgba(245, 245, 245, 0.25);
}

/* Company hub (/company): stats strip hidden, delete this rule to show again */
.trace-about-stats--company-hub {
	display: none !important;
}

.trace-about-stats__inner {
	max-width: 64rem;
	margin: 0 auto;
}

.trace-about-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	text-align: center;
}

@media (min-width: 768px) {
	.trace-about-stats__grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.trace-about-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
}

.trace-about-stats__ic {
	color: var(--wp--preset--color--primary);
	margin-bottom: 0.25rem;
}

.trace-about-stats__value {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--wp--preset--color--dark);
}

.trace-about-stats__label {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-principles-grid {
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.trace-principles-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* --- Case studies (coming soon) --- */
.trace-coming-soon__eyebrow {
	text-align: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
	margin: 0 0 1rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.trace-coming-soon__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 2rem;
}

.trace-coming-soon__actions .trace-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

/* --- Contact page (v0 / Next parity) --- */
.trace-contact-page {
	padding-bottom: 0;
}

/* Hero CTAs redundant above the contact form */
.trace-contact-page .trace-hero-v0__actions {
	display: none;
}

.trace-contact-body {
	padding: 0 1.5rem 4rem;
}

@media (min-width: 768px) {
	.trace-contact-body {
		padding-bottom: 5rem;
	}
}

.trace-contact-body__max {
	max-width: 72rem;
	margin: 0 auto;
}

.trace-contact-columns {
	display: grid;
	gap: 3rem;
	align-items: start;
}

@media (min-width: 1024px) {
	.trace-contact-columns {
		grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
		gap: 3rem;
	}
}

.trace-contact-sidebar__label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--wp--preset--color--muted);
	margin: 0 0 1rem;
}

.trace-contact-quick {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.trace-contact-quick__card {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	border-radius: 1rem;
	border: 1px solid rgba(15, 23, 42, 0.1);
	padding: 1.25rem;
	text-decoration: none;
	color: inherit;
	text-align: left;
	background: rgba(255, 255, 255, 0.65);
	backdrop-filter: blur(6px);
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.trace-contact-quick__card:hover {
	border-color: rgba(15, 23, 42, 0.18);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.trace-contact-quick__card--featured {
	background: linear-gradient(to bottom right, rgba(239, 111, 108, 0.06), rgba(239, 111, 108, 0.12));
	border-color: rgba(239, 111, 108, 0.2);
}

.trace-contact-quick__card--featured:hover {
	border-color: rgba(239, 111, 108, 0.35);
	box-shadow: 0 8px 24px rgba(239, 111, 108, 0.12);
}

.trace-contact-quick__card--btn {
	width: 100%;
	cursor: pointer;
	font: inherit;
}

.trace-contact-quick__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	flex-shrink: 0;
	border-radius: 0.75rem;
	background: rgba(15, 23, 42, 0.06);
	color: var(--wp--preset--color--dark);
}

.trace-contact-quick__icon--primary {
	background: rgba(239, 111, 108, 0.12);
	color: var(--wp--preset--color--primary);
}

.trace-contact-quick__body {
	flex: 1;
	min-width: 0;
}

.trace-contact-quick__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.trace-contact-quick__heading {
	font-weight: 600;
	font-size: 1rem;
	color: var(--wp--preset--color--dark);
}

.trace-contact-quick__chev {
	flex-shrink: 0;
	opacity: 0;
	transform: translateX(-0.35rem);
	transition:
		opacity 0.15s ease,
		transform 0.15s ease;
	color: var(--wp--preset--color--primary);
}

.trace-contact-quick__chev--muted {
	color: var(--wp--preset--color--muted);
}

.trace-contact-quick__card:hover .trace-contact-quick__chev {
	opacity: 1;
	transform: translateX(0);
}

.trace-contact-quick__desc {
	display: block;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin-top: 0.25rem;
	line-height: 1.5;
}

.trace-contact-quick__badge {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.125rem 0.5rem;
	border-radius: 9999px;
	background: rgba(34, 197, 94, 0.12);
	color: rgb(22, 163, 74);
}

.trace-contact-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 2rem;
	padding: 1.5rem;
	border-radius: 1rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(15, 23, 42, 0.04);
	text-align: center;
}

.trace-contact-stats__line {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	color: var(--wp--preset--color--dark);
	margin-bottom: 0.25rem;
}

.trace-contact-stats__line svg {
	color: var(--wp--preset--color--primary);
	flex-shrink: 0;
}

.trace-contact-stats__line strong {
	font-size: 1.5rem;
	font-weight: 700;
}

.trace-contact-stats__hint {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	display: block;
}

.trace-contact-form-wrap {
	min-width: 0;
}

.trace-contact-form-panel {
	position: relative;
	border-radius: 1.5rem;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: #fff;
	padding: 2rem;
	box-shadow:
		0 20px 50px -12px rgba(15, 23, 42, 0.12),
		0 0 0 1px rgba(15, 23, 42, 0.04);
	overflow: hidden;
}

@media (min-width: 768px) {
	.trace-contact-form-panel {
		padding: 2.5rem;
	}
}

.trace-contact-form-panel__glow {
	position: absolute;
	border-radius: 9999px;
	filter: blur(32px);
	pointer-events: none;
}

.trace-contact-form-panel__glow--tr {
	top: 1rem;
	right: 1rem;
	width: 5rem;
	height: 5rem;
	background: rgba(239, 111, 108, 0.12);
}

.trace-contact-form-panel__glow--bl {
	bottom: 1rem;
	left: 1rem;
	width: 4rem;
	height: 4rem;
	background: rgba(239, 111, 108, 0.1);
}

.trace-contact-form-panel__inner {
	position: relative;
	z-index: 1;
}

.trace-contact-form-head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.trace-contact-form-head__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.75rem;
	background: rgba(239, 111, 108, 0.1);
	color: var(--wp--preset--color--primary);
	flex-shrink: 0;
}

.trace-contact-form-head__title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
	color: var(--wp--preset--color--dark);
}

.trace-contact-form-head__sub {
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	margin: 0.125rem 0 0;
}

.trace-contact-form {
	min-width: 0;
}

.trace-contact-form__grid2 {
	display: grid;
	gap: 1.25rem;
	min-width: 0;
}

.trace-contact-form__grid2 > .trace-field {
	min-width: 0;
}

@media (min-width: 768px) {
	.trace-contact-form__grid2 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.trace-contact-form .trace-field label {
	font-weight: 500;
	color: var(--wp--preset--color--dark);
}

.trace-contact-form .trace-field input,
.trace-contact-form .trace-field textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	border-radius: 0.75rem;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: rgba(15, 23, 42, 0.04);
	padding: 0.75rem 1rem;
	transition:
		border-color 0.15s ease,
		background 0.15s ease,
		box-shadow 0.15s ease;
}

.trace-contact-form .trace-field input::placeholder,
.trace-contact-form .trace-field textarea::placeholder {
	color: rgba(15, 23, 42, 0.45);
}

.trace-contact-form .trace-field input:focus,
.trace-contact-form .trace-field textarea:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(239, 111, 108, 0.12);
}

.trace-contact-form__select-wrap {
	position: relative;
	min-width: 0;
	width: 100%;
}

.trace-contact-form__select {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	appearance: none;
	border-radius: 0.75rem;
	border: 1px solid rgba(15, 23, 42, 0.12);
	background: rgba(15, 23, 42, 0.04);
	padding: 0.75rem 2.5rem 0.75rem 1rem;
	font: inherit;
	color: var(--wp--preset--color--dark);
	cursor: pointer;
	transition:
		border-color 0.15s ease,
		background 0.15s ease,
		box-shadow 0.15s ease;
}

.trace-contact-form__select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(239, 111, 108, 0.12);
}

.trace-contact-form__select-wrap::after {
	content: "";
	position: absolute;
	right: 1rem;
	top: 50%;
	width: 0.65rem;
	height: 0.65rem;
	margin-top: -0.2rem;
	border-right: 2px solid var(--wp--preset--color--muted);
	border-bottom: 2px solid var(--wp--preset--color--muted);
	transform: rotate(45deg);
	pointer-events: none;
}

.trace-contact-form__submit {
	width: 100%;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 0.75rem;
	height: 3rem;
	font-size: 1rem;
	border: none;
	box-shadow: none;
}

.trace-contact-form__legal {
	text-align: center;
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.trace-contact-form__legal a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.trace-contact-form__legal a:hover {
	color: var(--wp--preset--color--dark);
}

.trace-contact-form__hp {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.trace-contact-form__feedback {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.4;
}

.trace-contact-form__feedback[hidden] {
	display: none;
}

.trace-contact-form__feedback--success {
	background: rgba(34, 197, 94, 0.12);
	color: rgb(22, 101, 52);
	border: 1px solid rgba(34, 197, 94, 0.35);
}

.trace-contact-form__feedback--error {
	background: rgba(239, 68, 68, 0.1);
	color: rgb(127, 29, 29);
	border: 1px solid rgba(239, 68, 68, 0.35);
}

/* What’s New / features page */
.trace-features-page__header {
	padding: 4rem 1.5rem 2rem;
	border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}

.trace-features-page__header-inner {
	max-width: 56rem;
	margin: 0 auto;
}

.trace-features-page__header-inner .trace-breadcrumbs {
	margin: 0 0 1rem;
}

.trace-features-page__whats {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--wp--preset--color--primary);
}

.trace-features-page__title {
	font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 700;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.trace-features-page__intro {
	margin: 0;
	max-width: 36rem;
	font-size: 1.125rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.6;
}

.trace-features-page__featured {
	display: grid;
	gap: 2rem;
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	overflow: hidden;
	background: #fff;
}

@media (min-width: 768px) {
	.trace-features-page__featured {
		grid-template-columns: 1fr 1fr;
	}
}

.trace-features-page__featured-media {
	position: relative;
	min-height: 12rem;
	background: linear-gradient(to bottom right, rgba(245, 245, 245, 0.8), rgba(250, 250, 250, 1));
}

.trace-features-page__featured-media .trace-bg-grid {
	color: var(--wp--preset--color--dark);
}

.trace-features-page__featured-body {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
}

.trace-features-page__tag {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.2rem 0.5rem;
	border-radius: 0.25rem;
	background: rgba(var(--trace-accent-rgb), 0.1);
	color: var(--wp--preset--color--primary);
}

.trace-features-page__tag--sm {
	font-size: 0.6875rem;
}

.trace-features-page__date {
	margin: 0;
	font-size: 0.8125rem;
	color: var(--wp--preset--color--muted);
}

.trace-features-page__card-title {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
}

.trace-features-page__excerpt {
	margin: 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
	line-height: 1.55;
	flex: 1;
}

.trace-features-page__grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.trace-features-page__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.trace-features-page__card {
	border-radius: 1rem;
	border: 1px solid rgba(229, 231, 235, 0.6);
	padding: 1.5rem;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.trace-features-page__card:hover {
	border-color: rgba(203, 213, 225, 0.95);
	box-shadow: 0 10px 28px -20px rgba(15, 23, 42, 0.18);
}

/* Feature spotlight template (contact-parity layout, prose column) */
.trace-feature-spotlight-body {
	padding-top: 0;
}

.trace-feature-spotlight__prose {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wp--preset--color--dark);
}

.trace-feature-spotlight__prose p {
	margin: 0 0 1rem;
	color: var(--wp--preset--color--muted);
}

.trace-feature-spotlight__bullets {
	margin: 0 0 1.25rem;
	padding-left: 1.25rem;
	color: var(--wp--preset--color--muted);
}

.trace-feature-spotlight__bullets li {
	margin-bottom: 0.5rem;
}

.trace-feature-spotlight__figure {
	margin: 1.25rem 0 0;
	border-radius: 0.75rem;
	overflow: hidden;
	border: 1px solid rgba(229, 231, 235, 0.7);
	background: #f8fafc;
}

.trace-feature-spotlight__figure img {
	display: block;
	width: 100%;
	height: auto;
	vertical-align: middle;
}

.trace-feature-spotlight__cta-wrap {
	margin: 1.5rem 0 0;
}

.trace-feature-spotlight__entry.trace-wp-content > *:first-child {
	margin-top: 0;
}

.trace-feature-spotlight__entry.trace-wp-content p {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wp--preset--color--muted);
	margin-bottom: 1rem;
}

/* Docs UI rules moved to assets/css/docs.css for strict isolation. */

.trace-docs-embed .trace-wrap--wide {
	max-width: min(120rem, calc(100vw - 3rem));
}

.trace-docs-embed__frame-wrap {
	border: 1px solid rgba(229, 231, 235, 0.7);
	border-radius: 1rem;
	background: #fff;
	overflow: hidden;
}

.trace-docs-embed__frame {
	display: block;
	width: 100%;
	min-height: 75vh;
	height: clamp(42rem, 82vh, 78rem);
	border: 0;
}

.trace-docs-embed__fallback {
	margin: 0.75rem 0 0;
	font-size: 0.875rem;
	color: var(--wp--preset--color--muted);
}

.trace-docs-embed__fallback a {
	font-weight: 600;
}
