/* ==========================================================================
   Jooyar — Neon Dark / Cyberpunk landing
   RTL-first: layout uses logical properties (inline-start = right in RTL).
   ========================================================================== */

@font-face {
	font-family: "Vazirmatn";
	src: url("../fonts/vazirmatn/Vazirmatn-wght.woff2") format("woff2-variations"),
	     url("../fonts/vazirmatn/Vazirmatn-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--jy-bg: #05060a;
	--jy-bg-alt: #080a12;
	--jy-surface: rgba(12, 14, 22, .88);
	--jy-surface-solid: #0c0e16;
	--jy-input: #0a0c14;

	--jy-cyan: #00f0ff;
	--jy-blue: #3d8bff;
	--jy-green: #39ff88;
	--jy-red: #ff2e63;
	--jy-pink: #ff3fd4;

	--jy-text: #d7e3ff;
	--jy-heading: #ffffff;
	--jy-muted: #a3b1d1;
	--jy-placeholder: #7f8db0;
	--jy-on-accent: #04121a;

	--jy-border: rgba(0, 240, 255, .22);
	--jy-border-strong: rgba(0, 240, 255, .55);

	--jy-glow-cyan: 0 0 .5rem rgba(0, 240, 255, .55), 0 0 1.5rem rgba(0, 240, 255, .25);
	--jy-glow-cyan-soft: 0 0 1.25rem rgba(0, 240, 255, .14);
	--jy-glow-blue: 0 0 .5rem rgba(61, 139, 255, .6), 0 0 1.5rem rgba(61, 139, 255, .3);
	--jy-glow-pink: 0 0 .5rem rgba(255, 63, 212, .55), 0 0 1.5rem rgba(255, 63, 212, .25);
	--jy-glow-green: 0 0 .5rem rgba(57, 255, 136, .5);
	--jy-glow-red: 0 0 .5rem rgba(255, 46, 99, .5);

	--jy-gradient: linear-gradient(90deg, var(--jy-cyan), var(--jy-pink));

	--jy-font: "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif;
	--jy-radius: 1rem;
	--jy-radius-sm: .6rem;
	--jy-gutter: 1rem;
	--jy-max: 72rem;
	--jy-header-h: 4rem;
	--jy-ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 48em) {
	:root { --jy-gutter: 1.5rem; }
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--jy-header-h) + 1rem);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	min-height: 100vh;
	background-color: var(--jy-bg);
	color: var(--jy-text);
	font-family: var(--jy-font);
	font-size: 1rem;
	line-height: 1.9;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

/* Faint radial glows: pink at the top, cyan in the bottom corner. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(60rem 30rem at 50% -10%, rgba(255, 63, 212, .14), transparent 70%),
		radial-gradient(40rem 30rem at 0% 110%, rgba(0, 240, 255, .12), transparent 70%),
		var(--jy-bg);
}

img, svg { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
	color: var(--jy-heading);
	line-height: 1.45;
	margin: 0 0 .75rem;
	font-weight: 800;
}
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; }

a {
	color: var(--jy-cyan);
	text-decoration-thickness: 1px;
	text-underline-offset: .25em;
	transition: color .2s, text-shadow .2s;
}
a:hover { color: var(--jy-blue); }

:focus-visible {
	outline: 2px solid var(--jy-cyan);
	outline-offset: 3px;
	border-radius: 4px;
	box-shadow: var(--jy-glow-cyan);
}
#main:focus { outline: none; }

::selection { background: rgba(0, 240, 255, .3); color: #fff; }

.jy-sr,
.jy-hp {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.jy-skip {
	position: absolute;
	inset-inline-start: 1rem;
	top: -4rem;
	z-index: 100;
	padding: .5rem 1rem;
	background: var(--jy-cyan);
	color: var(--jy-on-accent);
	border-radius: var(--jy-radius-sm);
	font-weight: 700;
	text-decoration: none;
}
.jy-skip:focus { top: 1rem; }

.jy-ltr { direction: ltr; unicode-bidi: isolate; }
.jy-muted { color: var(--jy-muted); }

.jy-container {
	width: 100%;
	max-width: var(--jy-max);
	margin-inline: auto;
	padding-inline: var(--jy-gutter);
}
.jy-container--narrow { max-width: 52rem; }

/* ---------- Buttons ---------- */
.jy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6rem;
	min-height: 3rem;
	padding: .7rem 1.5rem;
	border: 1.5px solid var(--jy-cyan);
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s, box-shadow .25s, transform .2s;
}
.jy-btn--primary {
	background: var(--jy-cyan);
	color: var(--jy-on-accent);
	box-shadow: var(--jy-glow-cyan);
}
.jy-btn--primary:hover,
.jy-btn--primary:focus-visible {
	background: var(--jy-blue);
	border-color: var(--jy-blue);
	color: #fff;
	box-shadow: var(--jy-glow-blue);
}
.jy-btn--ghost {
	background: transparent;
	color: var(--jy-cyan);
	box-shadow: inset 0 0 .75rem rgba(0, 240, 255, .12);
}
.jy-btn--ghost:hover,
.jy-btn--ghost:focus-visible {
	color: #fff;
	border-color: var(--jy-blue);
	box-shadow: var(--jy-glow-blue);
}
.jy-btn:active { transform: translateY(1px); }
.jy-btn--sm { min-height: 2.5rem; padding: .45rem 1.15rem; font-size: .95rem; }
.jy-btn .fa-arrow-left { font-size: .85em; }

/* ---------- Header ---------- */
.jy-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(5, 6, 10, .72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
.jy-header.is-scrolled {
	border-bottom-color: var(--jy-border);
	box-shadow: 0 .5rem 2rem rgba(0, 0, 0, .5), 0 1px 0 rgba(0, 240, 255, .15);
}
.jy-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: var(--jy-header-h);
}

.jy-logo {
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	color: var(--jy-heading);
	text-decoration: none;
	font-size: 1.5rem;
	font-weight: 900;
}
.jy-logo:hover { color: var(--jy-heading); }
.jy-logo__text { text-shadow: 0 0 .6rem rgba(0, 240, 255, .55); }
.jy-logo__mark {
	width: 1.6rem;
	height: 1.6rem;
	border-radius: .45rem;
	border: 2px solid var(--jy-cyan);
	box-shadow: var(--jy-glow-cyan), inset 0 0 .5rem rgba(0, 240, 255, .4);
	background:
		radial-gradient(circle at 50% 50%, var(--jy-pink) 0 22%, transparent 24%),
		transparent;
}

.jy-nav-toggle {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	background: transparent;
	border: 1px solid var(--jy-border);
	border-radius: var(--jy-radius-sm);
	color: var(--jy-cyan);
	cursor: pointer;
}
.jy-nav-toggle__bar,
.jy-nav-toggle__bar::before,
.jy-nav-toggle__bar::after {
	display: block;
	width: 1.25rem;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	box-shadow: 0 0 .4rem currentColor;
	transition: transform .25s, opacity .2s;
}
.jy-nav-toggle__bar { position: relative; }
.jy-nav-toggle__bar::before,
.jy-nav-toggle__bar::after { content: ""; position: absolute; inset-inline-start: 0; }
.jy-nav-toggle__bar::before { top: -6px; }
.jy-nav-toggle__bar::after { top: 6px; }
.jy-nav-toggle[aria-expanded="true"] .jy-nav-toggle__bar { background: transparent; box-shadow: none; }
.jy-nav-toggle[aria-expanded="true"] .jy-nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.jy-nav-toggle[aria-expanded="true"] .jy-nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

.jy-nav {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	display: none;
	flex-direction: column;
	gap: 1rem;
	padding: 1rem var(--jy-gutter) 1.5rem;
	background: rgba(5, 6, 10, .97);
	border-bottom: 1px solid var(--jy-border);
}
.jy-nav.is-open { display: flex; }
.no-js .jy-nav { position: static; display: flex; padding: 0; background: none; border: 0; }
.no-js .jy-nav-toggle { display: none; }
.no-js .jy-header__inner { flex-wrap: wrap; }

.jy-nav__list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.jy-nav__link {
	display: block;
	padding: .5rem .75rem;
	border-radius: var(--jy-radius-sm);
	color: var(--jy-text);
	text-decoration: none;
	font-weight: 500;
}
.jy-nav__link:hover { color: var(--jy-cyan); }
.jy-nav__link[aria-current="true"] {
	color: var(--jy-cyan);
	text-shadow: 0 0 .5rem rgba(0, 240, 255, .8);
	box-shadow: inset 0 -2px 0 var(--jy-cyan), 0 6px 12px -8px rgba(0, 240, 255, .8);
}

@media (min-width: 56em) {
	.jy-nav-toggle { display: none; }
	.jy-nav,
	.jy-nav.is-open {
		position: static;
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 1.5rem;
		padding: 0;
		background: none;
		border: 0;
	}
	.jy-nav__list { flex-direction: row; gap: .5rem; }
}

/* ---------- Badges & dots ---------- */
.jy-dot {
	display: inline-block;
	width: .5rem;
	height: .5rem;
	border-radius: 50%;
	background: var(--jy-green);
	box-shadow: var(--jy-glow-green);
	flex: none;
}
.jy-badge {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	padding: .1rem .7rem;
	border-radius: 999px;
	border: 1px solid currentColor;
	font-size: .8rem;
	font-weight: 700;
	line-height: 1.8;
}
.jy-badge--live { color: var(--jy-green); text-shadow: 0 0 .4rem rgba(57, 255, 136, .6); }
.jy-badge--dev { color: var(--jy-cyan); box-shadow: var(--jy-glow-cyan-soft); }
.jy-badge--soon { color: var(--jy-pink); box-shadow: 0 0 1rem rgba(255, 63, 212, .15); }

/* ---------- Hero ---------- */
.jy-hero { padding-block: 3rem 4rem; }
.jy-hero__inner { display: grid; gap: 3rem; align-items: center; }
.jy-hero__content { min-width: 0; }

.jy-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .3rem .9rem;
	border: 1px solid var(--jy-border);
	border-radius: 999px;
	background: rgba(0, 240, 255, .05);
	color: var(--jy-cyan);
	font-size: .875rem;
	font-weight: 600;
}
.jy-eyebrow .jy-dot { background: var(--jy-cyan); box-shadow: var(--jy-glow-cyan); }

.jy-hero__title {
	margin-top: 1.25rem;
	font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
	line-height: 1.35;
	font-weight: 900;
}
.jy-gradient-text {
	display: block;
	color: var(--jy-heading);
	background: var(--jy-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	filter: drop-shadow(0 0 .9rem rgba(0, 240, 255, .3));
}
.jy-hero__lead {
	max-width: 36rem;
	font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem);
	color: var(--jy-text);
}
.jy-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-block: 1.75rem; }
.jy-hero__points {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem 1.5rem;
	color: var(--jy-muted);
	font-size: .925rem;
}
.jy-hero__points i { color: var(--jy-cyan); margin-inline-end: .35rem; text-shadow: 0 0 .5rem rgba(0, 240, 255, .6); }

@media (min-width: 60em) {
	.jy-hero { padding-block: 5rem 6rem; }
	.jy-hero__inner { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
}

/* ---------- Chat visual ---------- */
.jy-chat {
	margin: 0;
	min-width: 0;
	border: 1px solid var(--jy-border-strong);
	border-radius: 1.25rem;
	background: var(--jy-surface);
	box-shadow: 0 0 2.5rem rgba(0, 240, 255, .15), 0 0 5rem rgba(255, 63, 212, .08);
	overflow: hidden;
	font-size: .925rem;
}
.jy-chat__bar {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding: .75rem 1rem;
	border-bottom: 1px solid var(--jy-border);
	background: rgba(0, 240, 255, .04);
}
.jy-chat__dots { display: inline-flex; gap: .3rem; }
.jy-chat__dots i { width: .55rem; height: .55rem; border-radius: 50%; background: #2a3045; }
.jy-chat__dots i:first-child { background: var(--jy-red); box-shadow: 0 0 .35rem var(--jy-red); }
.jy-chat__title { flex: 1; color: var(--jy-heading); font-weight: 600; font-size: .875rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jy-chat__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.25rem 1rem; }
@media (min-width: 30em) { .jy-chat__body { padding: 1.5rem; } }

.jy-msg {
	max-width: 92%;
	padding: .8rem 1rem;
	border-radius: 1rem;
	line-height: 1.85;
}
.jy-msg p { margin: 0; }
.jy-msg__who { display: block; margin-bottom: .25rem; font-size: .75rem; font-weight: 700; color: var(--jy-muted); }
.jy-msg--user {
	align-self: flex-start;
	background: rgba(61, 139, 255, .14);
	border: 1px solid rgba(61, 139, 255, .4);
	border-start-start-radius: .25rem;
}
.jy-msg--ai {
	align-self: flex-end;
	background: rgba(0, 240, 255, .06);
	border: 1px solid var(--jy-border-strong);
	border-start-end-radius: .25rem;
	box-shadow: var(--jy-glow-cyan-soft);
}
.jy-msg--ai .jy-msg__who { color: var(--jy-cyan); }
.jy-msg ol { margin: .4rem 0 .6rem; padding-inline-start: 1.25rem; list-style: persian; }
.jy-msg__sources { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; padding-top: .6rem; border-top: 1px dashed var(--jy-border); }
.jy-msg__sources-label { font-size: .75rem; color: var(--jy-muted); }
.jy-source {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	padding: .1rem .6rem;
	border: 1px solid rgba(255, 63, 212, .45);
	border-radius: 999px;
	color: #ffc2f1;
	font-size: .75rem;
	box-shadow: 0 0 .6rem rgba(255, 63, 212, .15);
}
.jy-chat__input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 1rem 1rem;
	padding: .7rem 1rem;
	border: 1px solid var(--jy-border);
	border-radius: 999px;
	color: var(--jy-placeholder);
	font-size: .875rem;
}
.jy-chat__input i { color: var(--jy-cyan); transform: scaleX(-1); text-shadow: 0 0 .5rem var(--jy-cyan); }

/* ---------- Sections ---------- */
.jy-section { padding-block: 4rem; position: relative; }
.jy-section--tight { padding-block: 3rem; }
.jy-section--alt { background: linear-gradient(180deg, transparent, rgba(8, 10, 18, .75) 12%, rgba(8, 10, 18, .75) 88%, transparent); }
@media (min-width: 48em) { .jy-section { padding-block: 6rem; } .jy-section--tight { padding-block: 4rem; } }

.jy-section__head { max-width: 44rem; margin: 0 auto 2.5rem; text-align: center; }
.jy-section__head p:last-child { color: var(--jy-muted); margin-bottom: 0; }
.jy-kicker {
	margin-bottom: .5rem;
	color: var(--jy-cyan);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: 0;
	text-shadow: 0 0 .5rem rgba(0, 240, 255, .5);
}

/* ---------- Grid & cards ---------- */
.jy-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .jy-grid--3, .jy-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) {
	.jy-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.jy-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.jy-card {
	position: relative;
	min-width: 0;
	padding: 1.5rem;
	background: var(--jy-surface);
	border: 1px solid var(--jy-border);
	border-radius: var(--jy-radius);
	box-shadow: var(--jy-glow-cyan-soft);
	transition: transform .3s var(--jy-ease), border-color .3s, box-shadow .3s;
}
.jy-card:hover {
	transform: translateY(-4px);
	border-color: var(--jy-border-strong);
	box-shadow: 0 0 1rem rgba(0, 240, 255, .25), 0 1rem 2.5rem rgba(0, 0, 0, .5);
}
.jy-card p:last-child { margin-bottom: 0; }

.jy-icon {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	border: 1px solid var(--jy-border-strong);
	border-radius: .8rem;
	background: rgba(0, 240, 255, .06);
	color: var(--jy-cyan);
	font-size: 1.25rem;
	text-shadow: 0 0 .6rem var(--jy-cyan);
	box-shadow: inset 0 0 .75rem rgba(0, 240, 255, .15), var(--jy-glow-cyan-soft);
}
.jy-icon--pink {
	color: var(--jy-pink);
	border-color: rgba(255, 63, 212, .5);
	background: rgba(255, 63, 212, .06);
	text-shadow: 0 0 .6rem var(--jy-pink);
	box-shadow: inset 0 0 .75rem rgba(255, 63, 212, .15);
}

.jy-ps__problem { color: var(--jy-muted); }
.jy-ps__solution {
	padding-top: 1rem;
	border-top: 1px dashed var(--jy-border);
}
.jy-ps__solution strong { color: var(--jy-cyan); }

/* ---------- Steps ---------- */
.jy-steps {
	list-style: none;
	display: grid;
	gap: 2rem;
	counter-reset: step;
}
.jy-step { padding-top: 2rem; }
.jy-step__num {
	position: absolute;
	top: -1.25rem;
	inset-inline-start: 1.5rem;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--jy-bg);
	border: 2px solid var(--jy-cyan);
	color: var(--jy-cyan);
	font-weight: 900;
	font-size: 1.1rem;
	box-shadow: var(--jy-glow-cyan);
}
/* Connector: vertical on mobile… */
.jy-step:not(:last-child)::after {
	content: "";
	position: absolute;
	inset-inline-start: 2.7rem;
	top: 100%;
	width: 2px;
	height: 2rem;
	background: linear-gradient(var(--jy-cyan), var(--jy-pink));
	box-shadow: 0 0 .5rem var(--jy-cyan);
}
/* …and horizontal, flowing right→left, on wide screens. */
@media (min-width: 56em) {
	.jy-steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
	.jy-step:not(:last-child)::after {
		inset-inline-start: 100%;
		top: 50%;
		width: 2.5rem;
		height: 2px;
		background: linear-gradient(to left, var(--jy-cyan), var(--jy-pink));
	}
	[dir="ltr"] .jy-step:not(:last-child)::after { background: linear-gradient(to right, var(--jy-cyan), var(--jy-pink)); }
}

/* ---------- Integration chips ---------- */
.jy-chiprow {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
}
.jy-chip {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .55rem 1.1rem;
	border: 1px solid var(--jy-border-strong);
	border-radius: 999px;
	background: var(--jy-surface);
	color: var(--jy-heading);
	font-weight: 600;
	box-shadow: var(--jy-glow-cyan-soft), inset 0 0 .6rem rgba(0, 240, 255, .08);
	transition: box-shadow .25s, border-color .25s, transform .25s;
}
.jy-chip i { color: var(--jy-cyan); text-shadow: 0 0 .5rem var(--jy-cyan); }
.jy-chip:hover { transform: translateY(-2px); box-shadow: var(--jy-glow-cyan); }
.jy-chip--alt { border-color: rgba(61, 139, 255, .6); }
.jy-chip--alt i { color: var(--jy-blue); text-shadow: 0 0 .5rem var(--jy-blue); }
.jy-chip--alt:hover { box-shadow: var(--jy-glow-blue); }

/* ---------- Roadmap timeline ---------- */
.jy-timeline {
	list-style: none;
	position: relative;
	display: grid;
	gap: 1.5rem;
	padding-inline-start: 2.25rem;
}
.jy-timeline::before {
	content: "";
	position: absolute;
	inset-inline-start: .55rem;
	top: .5rem;
	bottom: .5rem;
	width: 2px;
	background: linear-gradient(var(--jy-cyan), var(--jy-pink));
	box-shadow: 0 0 .6rem rgba(0, 240, 255, .6);
}
.jy-timeline__item {
	position: relative;
	padding: 1.25rem 1.5rem;
	background: var(--jy-surface);
	border: 1px solid var(--jy-border);
	border-radius: var(--jy-radius);
}
.jy-timeline__item--soon { border-color: rgba(255, 63, 212, .3); }
.jy-timeline__item h3 { margin-top: .6rem; margin-bottom: .35rem; }
.jy-timeline__item p { margin: 0; color: var(--jy-muted); }
.jy-timeline__dot {
	position: absolute;
	inset-inline-start: calc(-2.25rem + .1rem);
	top: 1.6rem;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 50%;
	background: var(--jy-bg);
	border: 2px solid var(--jy-cyan);
	box-shadow: var(--jy-glow-cyan);
}
.jy-timeline__item--dev .jy-timeline__dot { background: var(--jy-cyan); animation: jy-pulse 2s ease-out infinite; }
.jy-timeline__item--soon .jy-timeline__dot { border-color: var(--jy-pink); box-shadow: var(--jy-glow-pink); }

.jy-cta-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem 1.5rem;
	margin-top: 2.5rem;
	padding: 1.5rem;
	border: 1px dashed var(--jy-border-strong);
	border-radius: var(--jy-radius);
	text-align: center;
}
.jy-cta-box p { margin: 0; color: var(--jy-heading); font-size: 1.1rem; font-weight: 700; }

/* ---------- Form sections ---------- */
.jy-formsec__inner { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 62em) { .jy-formsec__inner { grid-template-columns: 1fr 1.4fr; gap: 3rem; } }
.jy-formsec__intro { min-width: 0; }
.jy-checklist { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.jy-checklist i { color: var(--jy-green); margin-inline-end: .5rem; text-shadow: var(--jy-glow-green); }
.jy-reassure {
	padding: 1rem 1.25rem;
	border-inline-start: 3px solid var(--jy-green);
	border-radius: var(--jy-radius-sm);
	background: rgba(57, 255, 136, .06);
}
.jy-reassure i { color: var(--jy-green); margin-inline-end: .4rem; }
.jy-formcard { padding: 1.5rem; }
.jy-formcard:hover { transform: none; }
@media (min-width: 40em) { .jy-formcard { padding: 2rem; } }
.jy-formcard__note { font-size: .85rem; color: var(--jy-muted); }
.jy-req { color: var(--jy-red); font-weight: 700; }
.jy-form-fallback { margin: 0; }

/* ---------- Form fields (Contact Form 7) ---------- */
.jy-form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 40em) {
	.jy-form__grid { grid-template-columns: 1fr 1fr; }
	.jy-field--full { grid-column: 1 / -1; }
}
.jy-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.jy-field > label,
.jy-field > legend {
	display: block;
	margin-bottom: .4rem;
	padding: 0;
	color: var(--jy-heading);
	font-weight: 600;
	font-size: .95rem;
}
.jy-form .wpcf7-form-control-wrap { display: block; }

.jy-form input[type="text"],
.jy-form input[type="email"],
.jy-form select,
.jy-form textarea {
	width: 100%;
	min-height: 3rem;
	padding: .7rem 1rem;
	background: var(--jy-input);
	border: 1px solid rgba(163, 177, 209, .35);
	border-radius: var(--jy-radius-sm);
	color: var(--jy-heading);
	font: inherit;
	line-height: 1.6;
	transition: border-color .2s, box-shadow .2s;
}
.jy-form textarea { resize: vertical; min-height: 7.5rem; }
.jy-form ::placeholder { color: var(--jy-placeholder); opacity: 1; }
.jy-form input.jy-ltr { text-align: right; }
.jy-form input.jy-ltr::placeholder { text-align: right; }

.jy-form select {
	appearance: none;
	-webkit-appearance: none;
	padding-inline-end: 2.75rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2300f0ff' stroke-width='1.8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: .8rem;
	background-position: left 1rem center;
}
[dir="ltr"] .jy-form select { background-position: right 1rem center; }
.jy-form select option { background: var(--jy-surface-solid); color: var(--jy-heading); }

.jy-form input:hover,
.jy-form select:hover,
.jy-form textarea:hover { border-color: var(--jy-border-strong); }

.jy-form input:focus,
.jy-form select:focus,
.jy-form textarea:focus {
	outline: none;
	border-color: var(--jy-cyan);
	box-shadow: 0 0 0 1px var(--jy-cyan), var(--jy-glow-cyan);
}

/* Checkbox / radio rendered as selectable chips */
.jy-form .jy-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.jy-form .wpcf7-list-item { margin: 0; }
.jy-form .wpcf7-list-item label {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 2.6rem;
	padding: .4rem .9rem;
	border: 1px solid rgba(163, 177, 209, .35);
	border-radius: 999px;
	background: var(--jy-input);
	cursor: pointer;
	transition: border-color .2s, box-shadow .2s, color .2s;
}
.jy-form .wpcf7-list-item label:hover { border-color: var(--jy-border-strong); }
.jy-form .wpcf7-list-item input {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	border: 1.5px solid var(--jy-muted);
	border-radius: .3rem;
	background: transparent;
	display: grid;
	place-items: center;
	cursor: pointer;
}
.jy-form .wpcf7-radio input { border-radius: 50%; }
.jy-form .wpcf7-list-item input::after {
	content: "";
	width: .55rem;
	height: .55rem;
	border-radius: inherit;
	background: var(--jy-cyan);
	box-shadow: 0 0 .4rem var(--jy-cyan);
	transform: scale(0);
	transition: transform .15s;
}
.jy-form .wpcf7-list-item input:checked { border-color: var(--jy-cyan); }
.jy-form .wpcf7-list-item input:checked::after { transform: scale(1); }
.jy-form .wpcf7-list-item input:focus-visible { outline: 2px solid var(--jy-cyan); outline-offset: 2px; }
.jy-form .wpcf7-list-item label:has(input:checked) {
	border-color: var(--jy-cyan);
	color: var(--jy-heading);
	box-shadow: var(--jy-glow-cyan-soft), inset 0 0 .6rem rgba(0, 240, 255, .12);
}
.jy-form .wpcf7-list-item label:has(input:focus-visible) { box-shadow: var(--jy-glow-cyan); }

/* Validation */
.jy-form .wpcf7-not-valid,
.jy-form [aria-invalid="true"] {
	border-color: var(--jy-red) !important;
	box-shadow: 0 0 0 1px var(--jy-red), var(--jy-glow-red) !important;
}
.jy-form .wpcf7-not-valid-tip {
	display: block;
	margin-top: .35rem;
	color: #ff7a9a;
	font-size: .85rem;
	font-weight: 600;
}

/* Actions, spinner & response */
.jy-form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin-top: 1.5rem;
}
.jy-form input[type="submit"] { min-width: 12rem; }
.jy-form input[type="submit"]:disabled { opacity: .6; cursor: progress; }

.jy-form .wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	position: relative;
	width: 1.75rem;
	height: 1.75rem;
	margin: 0;
	padding: 0;
	border: 3px solid rgba(0, 240, 255, .18);
	border-top-color: var(--jy-cyan);
	border-inline-start-color: var(--jy-pink);
	border-radius: 50%;
	background: none;
	opacity: 1;
	box-shadow: 0 0 .75rem rgba(0, 240, 255, .45);
	animation: jy-spin .8s linear infinite;
}
.jy-form .wpcf7-spinner::before { content: none; }
.jy-form.submitting .wpcf7-spinner,
.jy-form .submitting .wpcf7-spinner { visibility: visible; }

.wpcf7 .jy-form .wpcf7-response-output,
.jy-form .wpcf7-response-output {
	margin: 1.25rem 0 0;
	padding: .9rem 1.1rem;
	border: 1px solid var(--jy-border);
	border-radius: var(--jy-radius-sm);
	font-weight: 600;
	line-height: 1.8;
}
.jy-form.sent .wpcf7-response-output {
	border-color: var(--jy-green);
	background: rgba(57, 255, 136, .08);
	color: #b9ffd5;
	box-shadow: var(--jy-glow-green);
	animation: jy-flicker-in .9s both;
}
.jy-form.invalid .wpcf7-response-output,
.jy-form.unaccepted .wpcf7-response-output,
.jy-form.payment-required .wpcf7-response-output {
	border-color: #ffb547;
	background: rgba(255, 181, 71, .08);
	color: #ffe0ad;
}
.jy-form.failed .wpcf7-response-output,
.jy-form.aborted .wpcf7-response-output,
.jy-form.spam .wpcf7-response-output {
	border-color: var(--jy-red);
	background: rgba(255, 46, 99, .08);
	color: #ffb3c5;
	box-shadow: var(--jy-glow-red);
}

/* ---------- FAQ accordion ---------- */
.jy-accordion { display: grid; gap: .75rem; }
.jy-accordion__item {
	background: var(--jy-surface);
	border: 1px solid var(--jy-border);
	border-radius: var(--jy-radius);
	transition: border-color .25s, box-shadow .25s;
}
.jy-accordion__item:has([aria-expanded="true"]) { border-color: var(--jy-border-strong); box-shadow: var(--jy-glow-cyan-soft); }
.jy-accordion__heading { margin: 0; font-size: 1rem; }
.jy-accordion__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1.1rem 1.25rem;
	background: none;
	border: 0;
	border-radius: inherit;
	color: var(--jy-heading);
	font: inherit;
	font-weight: 700;
	text-align: start;
	cursor: pointer;
}
.jy-accordion__btn:hover { color: var(--jy-cyan); }
.jy-accordion__btn i { flex: none; color: var(--jy-cyan); transition: transform .3s var(--jy-ease); }
.jy-accordion__btn[aria-expanded="true"] { color: var(--jy-cyan); text-shadow: 0 0 .5rem rgba(0, 240, 255, .45); }
.jy-accordion__btn[aria-expanded="true"] i { transform: rotate(180deg); }
.jy-accordion__panel { padding: 0 1.25rem 1.25rem; color: var(--jy-text); }
.jy-accordion__panel p { margin: 0; }
.js .jy-accordion__panel[hidden] { display: none; }

/* ---------- Footer ---------- */
.jy-footer {
	margin-top: 2rem;
	border-top: 1px solid var(--jy-border);
	box-shadow: 0 -1px 0 rgba(0, 240, 255, .08), 0 -1rem 3rem -2rem rgba(0, 240, 255, .35);
	background: rgba(5, 6, 10, .8);
}
.jy-footer__inner { display: grid; gap: 2rem; padding-block: 3rem 2rem; }
@media (min-width: 48em) { .jy-footer__inner { grid-template-columns: 1.4fr 1.4fr 1fr; } }
.jy-footer__brand p { margin-top: .75rem; color: var(--jy-muted); }
.jy-footer__nav ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1rem; }
.jy-footer a { color: var(--jy-text); text-decoration: none; }
.jy-footer a:hover { color: var(--jy-cyan); text-shadow: 0 0 .5rem rgba(0, 240, 255, .6); }
.jy-footer .jy-logo { color: var(--jy-heading); }
.jy-footer__contact { display: grid; gap: .4rem; align-content: start; font-style: normal; justify-items: start; }
.jy-footer__legal { padding-block: 1.25rem; border-top: 1px solid rgba(0, 240, 255, .1); }
.jy-footer__legal p { margin: 0; color: var(--jy-muted); font-size: .875rem; text-align: center; }

/* ---------- Generic pages ---------- */
.jy-page { padding-block: 4rem; }
.jy-prose { max-width: 48rem; }

/* ---------- Motion ---------- */
@keyframes jy-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(0, 240, 255, .7), var(--jy-glow-cyan); }
	70%  { box-shadow: 0 0 0 .7rem rgba(0, 240, 255, 0), var(--jy-glow-cyan); }
	100% { box-shadow: 0 0 0 0 rgba(0, 240, 255, 0), var(--jy-glow-cyan); }
}
@keyframes jy-flicker-in {
	0%   { opacity: 0; }
	10%  { opacity: .8; }
	15%  { opacity: .1; }
	30%  { opacity: 1; }
	35%  { opacity: .3; }
	50%, 100% { opacity: 1; }
}
@keyframes jy-spin { to { transform: rotate(360deg); } }

.jy-badge--live { animation: jy-flicker-in 1.4s .4s both; }
.jy-badge--live .jy-dot { animation: jy-pulse-green 2.4s ease-out infinite; }
@keyframes jy-pulse-green {
	0%   { box-shadow: 0 0 0 0 rgba(57, 255, 136, .6); }
	70%  { box-shadow: 0 0 0 .45rem rgba(57, 255, 136, 0); }
	100% { box-shadow: 0 0 0 0 rgba(57, 255, 136, 0); }
}

.js .jy-reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .7s var(--jy-ease), transform .7s var(--jy-ease);
}
.js .jy-reveal.is-visible { opacity: 1; transform: none; }
.js .jy-card.jy-reveal.is-visible:hover { transform: translateY(-4px); }
.js .jy-formcard.jy-reveal.is-visible:hover { transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
	.js .jy-reveal { opacity: 1; transform: none; }
	.jy-card:hover, .jy-chip:hover { transform: none; }
	/* Keep the spinner visibly turning slowly so loading is still communicated. */
	.jy-form .wpcf7-spinner { animation: jy-spin 1.6s linear infinite !important; }
}

@media (forced-colors: active) {
	.jy-btn, .jy-card, .jy-chip { border: 1px solid CanvasText; }
	.jy-gradient-text { -webkit-text-fill-color: currentColor; background: none; }
}
