﻿/**
 * Zero Jump Apps — Nocturne component layer.
 *
 * Tokens come from theme.json as --wp--preset--* / --wp--custom--*.
 * This file only carries what theme.json cannot express: component classes,
 * keyframes, and the grid/filter behaviour.
 */

/* ── reset ───────────────────────────────────────────────────────────── */

/*
 * Nocturne assumes border-box everywhere. WordPress does not set it globally,
 * and without it any `width:100%` control that also has padding (.zja-input)
 * overflows its container by exactly its padding + border.
 */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/*
 * theme.json's dimensions.width support (new in WP 7.0) emits a fixed `width`.
 * Every `ch` value in this theme is a reading measure, not a real width — the
 * source design used max-width. Without this cap a 52ch lede is ~558px and
 * overflows a 375px screen. `width` still shrinks the measure on desktop;
 * this only stops it exceeding the container.
 */
main :is(h1, h2, h3, h4, p),
.wp-block-group[style*="width:"] {
	max-width: 100%;
}

/* ── keyframes ───────────────────────────────────────────────────────── */

@keyframes zja-float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes zja-float-2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-24px); } }
@keyframes zja-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes zja-pulse   { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }

/* ── primitives ──────────────────────────────────────────────────────── */

.zja-kicker {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

.zja-kicker::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
}

.zja-kicker--center { justify-content: center; }
.zja-kicker--center::after {
	content: "";
	width: 28px;
	height: 1px;
	background: currentColor;
}

.zja-lede {
	font-size: clamp(16px, 1.4vw, 19px);
	line-height: 1.6;
	/* min() so the ch measure never exceeds a narrow container. */
	max-width: min(56ch, 100%);
	color: color-mix(in srgb, var(--wp--preset--color--text) 82%, transparent);
}

.zja-muted {
	color: color-mix(in srgb, var(--wp--preset--color--text) 66%, transparent);
}

/* ── buttons ─────────────────────────────────────────────────────────── */

.zja-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: pointer;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	font-size: 14px;
	line-height: 1.2;
	padding: 11px 20px;
	border: 1px solid transparent;
	border-radius: var(--wp--custom--radius--md);
	background: transparent;
	color: var(--wp--preset--color--text);
	transition: background-color .2s var(--wp--custom--ease), color .2s var(--wp--custom--ease);
}

.zja-btn--primary {
	color: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
}
.zja-btn--primary:hover  { background: color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent); }
.zja-btn--primary:active { background: color-mix(in srgb, var(--wp--preset--color--accent) 22%, transparent); }

.zja-btn--secondary { border-color: var(--wp--custom--divider); }
.zja-btn--secondary:hover  { background: color-mix(in srgb, var(--wp--preset--color--text) 7%, transparent); }
.zja-btn--secondary:active { background: color-mix(in srgb, var(--wp--preset--color--text) 14%, transparent); }

.zja-btn--ghost {
	color: var(--wp--preset--color--accent);
	padding-inline: var(--wp--preset--spacing--10);
}
.zja-btn--ghost:hover { background: color-mix(in srgb, var(--wp--preset--color--accent) 10%, transparent); }

.zja-btn--block { width: 100%; }

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

/*
 * The outline button's hover/active states.
 *
 * These belong in theme.json beside the variation's other styles, but the
 * published schema rejects pseudo-selectors under
 * styles.blocks.core/button.variations — its patternProperties rule matches
 * `core/button` and forbids them, contradicting the WP 7.0 dev note. Keeping
 * them here leaves theme.json schema-clean; fold them back in if that is fixed.
 */
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--wp--preset--color--text) 7%, transparent);
	color: var(--wp--preset--color--text);
}

.wp-block-button.is-style-outline > .wp-block-button__link:active {
	background: color-mix(in srgb, var(--wp--preset--color--text) 14%, transparent);
}

/* ── tags ────────────────────────────────────────────────────────────── */

.zja-tags {
	display: flex;
	gap: 7px;
	flex-wrap: wrap;
	align-items: center;
}

.zja-tag {
	display: inline-flex;
	align-items: center;
	font-size: 11px;
	letter-spacing: .02em;
	padding: 3px 10px;
	border-radius: calc(var(--wp--custom--radius--md) * .75);
	white-space: nowrap;
}

.zja-tag--xs      { font-size: 10px; padding: 2px 8px; }
.zja-tag--accent  { background: var(--wp--preset--color--accent-800); color: var(--wp--preset--color--accent-100); }
.zja-tag--neutral { background: var(--wp--preset--color--neutral-800); color: var(--wp--preset--color--neutral-100); }
.zja-tag--outline { border: 1px solid var(--wp--preset--color--accent); color: var(--wp--preset--color--accent); }

/* ── cards ───────────────────────────────────────────────────────────── */

.zja-card {
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--xl);
	box-shadow: var(--wp--preset--shadow--sm);
	overflow: hidden;
	transition: box-shadow .25s var(--wp--custom--ease), transform .25s var(--wp--custom--ease);
}

.zja-card:hover {
	box-shadow: var(--wp--preset--shadow--md);
	transform: translateY(-4px);
}

.zja-card__media {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--wp--preset--dimension--card-media, 200px);
	padding: 22px;
	text-decoration: none;
	background: linear-gradient(150deg, var(--zja-hue-1), var(--zja-hue-2));
	isolation: isolate;
}

.zja-card__shot {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .5;
	z-index: -1;
}

.zja-card__cat {
	position: absolute;
	top: 18px;
	right: 20px;
	font-size: 11px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: color-mix(in srgb, #fff 70%, transparent);
}

.zja-card__id {
	display: flex;
	align-items: center;
	gap: 14px;
}

.zja-tile {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	flex: none;
	border-radius: var(--wp--custom--radius--lg);
	font-size: 26px;
	font-weight: 600;
	color: var(--wp--preset--color--accent-100);
	background: rgba(255, 255, 255, .12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}

.zja-card__name {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 22px;
	font-weight: 500;
	color: #fff;
}

.zja-card__sub {
	display: block;
	font-size: 13px;
	color: color-mix(in srgb, #fff 76%, transparent);
}

.zja-card__body { padding: 22px; }

.zja-card__tagline {
	display: block;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--wp--preset--color--text) 80%, transparent);
}

.zja-card__body .zja-tags { margin-top: 16px; }

/* compact variant */

.zja-card--compact { border-radius: var(--wp--custom--radius--lg); }

.zja-card__link {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 20px;
	text-decoration: none;
	color: inherit;
}

.zja-card__tile {
	flex: none;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: var(--wp--preset--dimension--tile, 96px);
	height: 120px;
	padding: 12px;
	border-radius: var(--wp--custom--radius--lg);
	background: linear-gradient(165deg, var(--zja-hue-1), var(--zja-hue-2));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.zja-tile__letter {
	font-size: 30px;
	font-weight: 600;
	line-height: 1;
	color: var(--wp--preset--color--accent-100);
}

.zja-card__text { min-width: 0; }

.zja-card__head {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.zja-card--compact .zja-card__name {
	font-size: 19px;
	color: var(--wp--preset--color--text);
}

.zja-card--compact .zja-card__tagline {
	margin-top: 9px;
	font-size: 13.5px;
	line-height: 1.55;
	color: color-mix(in srgb, var(--wp--preset--color--text) 74%, transparent);
}

.zja-card--compact .zja-tags { margin-top: 12px; }

/* ── grid ────────────────────────────────────────────────────────────── */

.zja-grid {
	display: grid;
	grid-template-columns: repeat(var(--zja-cols, 2), minmax(0, 1fr));
	gap: 22px;
}

.zja-grid--plans { align-items: start; }

[data-zja-item][hidden] { display: none; }

/* ── filters ─────────────────────────────────────────────────────────── */

.zja-filters {
	display: flex;
	gap: 9px;
	flex-wrap: wrap;
	margin-bottom: 34px;
}

.zja-chip {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	font-size: 13px;
	padding: 8px 16px;
	border-radius: 9px;
	border: 1px solid var(--wp--custom--divider);
	background: transparent;
	color: color-mix(in srgb, var(--wp--preset--color--text) 78%, transparent);
	transition: border-color .2s var(--wp--custom--ease), color .2s var(--wp--custom--ease), background-color .2s var(--wp--custom--ease);
}

.zja-chip:hover { border-color: var(--wp--preset--color--accent); }

.zja-chip.is-active {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent);
}

.zja-chip:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* ── segmented control ───────────────────────────────────────────────── */

.zja-seg {
	display: inline-flex;
	overflow: hidden;
	border: 1px solid var(--wp--custom--divider);
	border-radius: var(--wp--custom--radius--md);
	margin-bottom: 30px;
}

.zja-seg-opt {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 500;
	font-size: 13.5px;
	padding: 9px 20px;
	border: 0;
	background: transparent;
	color: color-mix(in srgb, var(--wp--preset--color--text) 70%, transparent);
	transition: background-color .2s var(--wp--custom--ease), color .2s var(--wp--custom--ease);
}

.zja-seg-opt.is-active {
	background: color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
	color: var(--wp--preset--color--accent);
}

.zja-seg-opt:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: -2px;
}

/* ── pricing ─────────────────────────────────────────────────────────── */

.zja-pricing { text-align: initial; }

.zja-plan { padding: 28px; }
.zja-plan:hover { transform: translateY(-4px); }

.zja-plan.is-popular {
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent), 0 16px 40px rgba(0, 0, 0, .5);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 6%, var(--wp--preset--color--surface));
}

.zja-plan .zja-tag { align-self: flex-start; }

.zja-plan__name {
	font-size: 22px;
	font-weight: 500;
	margin: 6px 0 0;
}

.zja-plan__desc {
	font-size: 14px;
	line-height: 1.5;
	margin: 8px 0 0;
	color: color-mix(in srgb, var(--wp--preset--color--text) 74%, transparent);
}

.zja-plan__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 22px 0 20px;
}

.zja-plan__amount {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 40px;
	font-weight: 500;
	letter-spacing: -.02em;
	font-feature-settings: "tnum" 1;
}

.zja-plan__unit {
	font-size: 14px;
	color: color-mix(in srgb, var(--wp--preset--color--text) 60%, transparent);
}

.zja-plan__features {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.zja-plan__features li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13.5px;
	line-height: 1.5;
	color: color-mix(in srgb, var(--wp--preset--color--text) 84%, transparent);
}

.zja-plan__features .zja-icon {
	flex: none;
	margin-top: 1px;
	stroke-width: 2.4;
	color: var(--wp--preset--color--accent);
}

/* ── stats ───────────────────────────────────────────────────────────── */

.zja-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
}

.zja-stat__num {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(32px, 3.4vw, 48px);
	font-weight: 500;
	line-height: 1;
	margin: 0;
}

.zja-stat__label {
	font-size: 12px;
	letter-spacing: .07em;
	text-transform: uppercase;
	margin: 12px 0 0;
	color: color-mix(in srgb, var(--wp--preset--color--text) 66%, transparent);
}

/* ── brand mark ──────────────────────────────────────────────────────── */

.zja-mark {
	display: grid;
	place-items: center;
	width: var(--zja-mark-size, 34px);
	height: var(--zja-mark-size, 34px);
	flex: none;
	border-radius: 9px;
	background: linear-gradient(145deg, var(--wp--preset--color--accent-700), var(--wp--preset--color--accent-900));
	box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent);
}

.zja-mark__icon {
	width: 50%;
	height: 50%;
	stroke: var(--wp--preset--color--accent-200);
	stroke-width: 2.4;
}

/* ── header ──────────────────────────────────────────────────────────── */

.zja-header {
	position: sticky;
	top: 0;
	z-index: 60;
	border-bottom: 1px solid var(--wp--custom--divider);
	background: color-mix(in srgb, var(--wp--preset--color--bg) 72%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

/* ── section grounds ─────────────────────────────────────────────────── */

.is-style-zja-section-ground {
	background:
		radial-gradient(900px 420px at 85% -40%, color-mix(in srgb, var(--wp--preset--color--section-glow) 70%, transparent), transparent 64%),
		var(--wp--preset--color--section);
}

.is-style-zja-card {
	background: var(--wp--preset--color--surface);
	border-radius: var(--wp--custom--radius--xl);
	box-shadow: var(--wp--preset--shadow--sm);
}

.is-style-zja-fade {
	border: 0;
	height: 1px;
	background: linear-gradient(to right,
		transparent,
		var(--wp--custom--divider) 48px,
		var(--wp--custom--divider) calc(100% - 48px),
		transparent);
}

.is-style-zja-check {
	list-style: none;
	padding-left: 0;
}

.is-style-zja-check li {
	position: relative;
	padding-left: 27px;
	margin-bottom: 12px;
}

.is-style-zja-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 15px;
	height: 9px;
	border-left: 2.4px solid var(--wp--preset--color--accent);
	border-bottom: 2.4px solid var(--wp--preset--color--accent);
	transform: rotate(-45deg);
}

/* ── hero decoration ─────────────────────────────────────────────────── */

.zja-hero { position: relative; overflow: hidden; }

.zja-hero__orb {
	position: absolute;
	top: -10%;
	right: -6%;
	width: 520px;
	height: 520px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--wp--preset--color--accent) 34%, transparent), transparent 66%);
	filter: blur(20px);
	z-index: 0;
	pointer-events: none;
	animation: zja-pulse 7s ease-in-out infinite;
}

.zja-hero > .wp-block-group,
.zja-hero__inner { position: relative; z-index: 2; }

.zja-stage {
	position: relative;
	height: var(--wp--preset--dimension--hero-stage, 440px);
}

.zja-phone {
	position: absolute;
	border-radius: 26px;
	padding: 8px;
	background: linear-gradient(160deg, var(--wp--preset--color--neutral-800), var(--wp--preset--color--neutral-900));
	box-shadow: var(--wp--preset--shadow--md);
}

.zja-phone__screen {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 16px;
	border-radius: 20px;
	background: linear-gradient(165deg, var(--zja-hue-1), var(--zja-hue-2));
}

.zja-phone__letter {
	font-size: 34px;
	font-weight: 600;
	color: var(--wp--preset--color--accent-100);
}

.zja-phone__name {
	font-size: 13px;
	margin-top: 4px;
	color: color-mix(in srgb, #fff 82%, transparent);
}

.zja-phone--1 { left: 6%;  top: 30px; width: 190px; animation: zja-float 6s ease-in-out infinite; }
.zja-phone--2 { right: 4%; top: 0;    width: 200px; box-shadow: var(--wp--preset--shadow--lg); animation: zja-float-2 7.5s ease-in-out infinite; }
.zja-phone--3 { right: 24%; bottom: -6px; width: 172px; animation: zja-float 8s ease-in-out infinite .6s; }

.zja-phone--1 .zja-phone__screen { height: 320px; }
.zja-phone--2 .zja-phone__screen { height: 340px; }
.zja-phone--3 .zja-phone__screen { height: 230px; }

/* ── marquee ─────────────────────────────────────────────────────────── */

.zja-marquee {
	overflow: hidden;
	margin-top: clamp(46px, 6vw, 80px);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.zja-marquee__track {
	display: flex;
	width: max-content;
	animation: zja-marquee 26s linear infinite;
}

.zja-marquee__item {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(28px, 3.4vw, 46px);
	font-weight: 500;
	letter-spacing: -.02em;
	white-space: nowrap;
	padding: 0 28px;
	color: color-mix(in srgb, var(--wp--preset--color--text) 20%, transparent);
}

/* ── process steps ───────────────────────────────────────────────────── */

.zja-step {
	border-top: 1px solid var(--wp--preset--color--accent);
	padding-top: 20px;
}

.zja-step__num {
	font-size: 15px;
	font-weight: 500;
	color: var(--wp--preset--color--accent);
	font-feature-settings: "tnum" 1;
}

/* ── service icon ────────────────────────────────────────────────────── */

.zja-service__icon {
	display: grid;
	place-items: center;
	width: var(--wp--preset--dimension--icon, 44px);
	height: var(--wp--preset--dimension--icon, 44px);
	border-radius: 11px;
	color: var(--wp--preset--color--accent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.zja-service__icon .zja-icon { width: 22px; height: 22px; stroke-width: 1.8; }

/* ── inclusions bar ──────────────────────────────────────────────────── */

.zja-included {
	display: flex;
	flex-wrap: wrap;
	gap: 20px 40px;
	align-items: center;
	justify-content: space-between;
	padding: 26px 30px;
	border: 1px solid var(--wp--custom--divider);
	border-radius: var(--wp--custom--radius--lg);
}

.zja-included__label {
	font-size: 14px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

.zja-included__items {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 14px;
	color: color-mix(in srgb, var(--wp--preset--color--text) 82%, transparent);
}

/* ── FAQs ────────────────────────────────────────────────────────────── */

.zja-faq {
	padding: 20px 0;
	border-top: 1px solid var(--wp--custom--divider);
}

.zja-faq__q {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding-right: 28px;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 17px;
	font-weight: 500;
}

.zja-faq__q::-webkit-details-marker { display: none; }

.zja-faq__q::after {
	content: "";
	position: absolute;
	right: 4px;
	top: .35em;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--wp--preset--color--accent);
	border-bottom: 2px solid var(--wp--preset--color--accent);
	transform: rotate(45deg);
	transition: transform .2s var(--wp--custom--ease);
}

.zja-faq[open] .zja-faq__q::after { transform: rotate(-135deg); }

.zja-faq__q:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.zja-faq__a {
	margin: 10px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--wp--preset--color--text) 76%, transparent);
}

/* ── contact ─────────────────────────────────────────────────────────── */

.zja-contact-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 38px;
}

.zja-contact-link {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: inherit;
}

.zja-contact-link:hover { color: var(--wp--preset--color--accent); }

.zja-contact-link__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 11px;
	color: var(--wp--preset--color--accent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
}

.zja-contact-link__label {
	display: block;
	font-size: 12px;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--wp--preset--color--text) 56%, transparent);
}

.zja-contact-link__value { font-size: 15px; }

/* ── form ────────────────────────────────────────────────────────────── */

.zja-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.zja-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.zja-form__error {
	margin: 0;
	font-size: 13px;
	color: #f0a5a5;
}

.zja-field {
	margin: 0;
	border: 0;
	padding: 0;
	min-width: 0;
}

.zja-field > label,
.zja-field > legend {
	display: block;
	font-size: 12px;
	margin-bottom: 5px;
	padding: 0;
	color: color-mix(in srgb, var(--wp--preset--color--text) 70%, transparent);
}

.zja-input {
	width: 100%;
	min-height: 36px;
	padding: 6px 10px;
	font: inherit;
	font-size: 14px;
	color: var(--wp--preset--color--text);
	caret-color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--bg);
	border: 1px solid var(--wp--custom--divider);
	border-radius: var(--wp--custom--radius--md);
}

.zja-input:hover { border-color: color-mix(in srgb, var(--wp--preset--color--text) 45%, transparent); }

.zja-input:focus-visible {
	border-color: var(--wp--preset--color--accent);
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 0;
}

textarea.zja-input {
	min-height: 90px;
	resize: vertical;
}

.zja-seg--wrap { flex-wrap: wrap; }

.zja-seg-opt input {
	position: absolute;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}

.zja-seg-opt:has(input:checked) {
	color: var(--wp--preset--color--accent);
	box-shadow: inset 0 0 0 1px var(--wp--preset--color--accent);
}

.zja-seg-opt:not(:has(input:checked)):hover {
	background: color-mix(in srgb, var(--wp--preset--color--text) 7%, transparent);
}

.zja-seg-opt:has(input:focus-visible) {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: -2px;
}

/* Honeypot — off-screen rather than display:none, which bots skip. */
.zja-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.zja-sent {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	padding: 30px 10px;
}

.zja-sent__icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	color: var(--wp--preset--color--accent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 16%, transparent);
}

.zja-sent__icon .zja-icon { width: 28px; height: 28px; stroke-width: 2.4; }

.zja-sent__title {
	font-size: 24px;
	font-weight: 500;
	margin: 0;
}

.zja-sent__body {
	margin: 0;
	max-width: 34ch;
	font-size: 15px;
	line-height: 1.6;
	color: color-mix(in srgb, var(--wp--preset--color--text) 78%, transparent);
}

/* ── reveal on scroll ────────────────────────────────────────────────── */

[data-zja-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s var(--wp--custom--ease), transform .7s var(--wp--custom--ease);
}

[data-zja-reveal][data-shown] {
	opacity: 1;
	transform: none;
}

/* No JS, no editor, reduced motion: content must never stay hidden. */
.no-js [data-zja-reveal],
.wp-admin [data-zja-reveal],
.block-editor-block-list__layout [data-zja-reveal] {
	opacity: 1;
	transform: none;
}

/* ── responsive ──────────────────────────────────────────────────────── */

@media (max-width: 960px) {
	.zja-grid { grid-template-columns: minmax(0, 1fr); }
	.zja-stats { grid-template-columns: repeat(2, 1fr); }
	.zja-stage { display: none; }
}

@media (max-width: 600px) {
	.zja-stats { grid-template-columns: minmax(0, 1fr); }
	.zja-card__link { flex-direction: column; align-items: flex-start; }
	.zja-form__row { grid-template-columns: minmax(0, 1fr); }
	.zja-seg { width: 100%; }
	.zja-seg-opt { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.zja-hero__orb,
	.zja-phone,
	.zja-marquee__track { animation: none; }

	[data-zja-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.zja-card:hover,
	.zja-plan:hover { transform: none; }
}
