/*
 * سایت معرفی ویتریکا (vitrika.ir) — یک فایل مشترک برای همه صفحه‌ها.
 * صفحه‌ها بی‌اسکریپت‌اند (CSP در deploy/Caddyfile)؛ منوی موبایل و پرسش‌ها با details/summary.
 * بعد از هر تغییر این فایل: bash deploy/landing-css-version.sh (نسخه ?v= در صفحه‌ها؛ آروان CSS را ۱۲ ساعت کش می‌کند).
 * هویت: فیروزه اصفهان #01798C + زعفرانی (فقط پس‌زمینه با متن #451A03). موتیف: طاق نشان «گل کاشی».
 */

@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Vazirmatn';
	src: url('../fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--bg: #f7faf9;
	--surface: #ffffff;
	--sunk: #eef4f3;
	--border: #dfe7e5;
	--text: #0f1f1c;
	--muted: #5b6b67;
	--brand: #01798c;
	--brand-hover: #046174;
	--brand-soft: #d4f8fd;
	--brand-faint: #f0fdfe;
	--on-brand: #ffffff;
	/* بخش تأکیدی تیره (درون‌ریزی) در هر دو حالت همین می‌ماند */
	--deep: #0a4958;
	--deep-2: #046174;
	--on-deep: #e6fbfe;
	--on-deep-muted: #adedf6;
	--saffron: #f59e0b;
	--saffron-soft: #fef3c7;
	--on-saffron: #451a03;
	--success: #15803d;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(10, 73, 88, 0.06), 0 8px 24px -12px rgba(10, 73, 88, 0.18);
	--wrap: 1160px;
	--tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='%23f59e0b' fill-opacity='.5'%3E%3Ccircle cx='20.6' cy='24' r='3.4'/%3E%3Ccircle cx='27.4' cy='24' r='3.4'/%3E%3Ccircle cx='24' cy='20.6' r='3.4'/%3E%3Ccircle cx='24' cy='27.4' r='3.4'/%3E%3C/g%3E%3C/svg%3E");
	color-scheme: light;
}
@media (prefers-color-scheme: dark) {
	:root {
		--bg: #0b1412;
		--surface: #12201d;
		--sunk: #0f1a18;
		--border: #22332f;
		--text: #e6f2ef;
		--muted: #9db0ab;
		--brand: #4ec9db;
		--brand-hover: #82dfec;
		--brand-soft: rgba(78, 201, 219, 0.14);
		--brand-faint: rgba(78, 201, 219, 0.06);
		--on-brand: #0a4958;
		--deep: #072f39;
		--deep-2: #0a4958;
		--saffron-soft: rgba(245, 158, 11, 0.16);
		--success: #4ade80;
		--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.6);
		color-scheme: dark;
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
body {
	margin: 0;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--text);
	font-family: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
	font-size: 1.0625rem;
	line-height: 1.95;
	overflow-x: hidden;
}
main {
	flex: 1;
}
img,
svg {
	display: block;
	max-width: 100%;
}
a {
	color: var(--brand);
	text-underline-offset: 4px;
}
a:hover {
	color: var(--brand-hover);
}
:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
	border-radius: 4px;
}
h1,
h2,
h3 {
	margin: 0;
	line-height: 1.35;
	text-wrap: balance;
}
p {
	margin: 0;
	text-wrap: pretty;
}
.skip {
	position: absolute;
	inset-inline-start: 16px;
	top: -80px;
	background: var(--brand);
	color: var(--on-brand);
	padding: 8px 16px;
	border-radius: var(--radius-sm);
	z-index: 50;
}
/* فقط فوکوس کیبورد (Tab یا دکمه بالارونده با Enter)؛ کلیک موشی روی دکمه بالارونده آن را نشان نمی‌دهد */
.skip:focus-visible {
	top: 12px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: 16px;
}
@media (min-width: 640px) {
	.wrap {
		padding-inline: 32px;
	}
}

/* ---------- دکمه‌ها ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 22px;
	border-radius: 12px;
	border: 1.5px solid transparent;
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 150ms,
		border-color 150ms,
		color 150ms;
}
.btn-primary {
	background: var(--brand);
	color: var(--on-brand);
}
.btn-primary:hover {
	background: var(--brand-hover);
	color: var(--on-brand);
}
.btn-ghost {
	border-color: var(--border);
	color: var(--text);
	background: var(--surface);
}
.btn-ghost:hover {
	border-color: var(--brand);
	color: var(--brand);
}
.btn-light {
	background: var(--on-deep);
	color: var(--deep);
}
.btn-light:hover {
	background: #ffffff;
	color: var(--deep);
}
.btn-sm {
	min-height: 40px;
	padding: 6px 16px;
	font-size: 0.9375rem;
}
.actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.fineprint {
	color: var(--muted);
	font-size: 0.875rem;
}

/* ---------- سربرگ ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--border);
}
.site-header .wrap {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 68px;
}
.logo {
	display: inline-flex;
	flex: none;
}
.logo img {
	height: 36px;
	width: auto;
}
.nav {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
}
.nav a {
	color: var(--text);
	text-decoration: none;
	font-size: 0.9375rem;
	padding: 6px 12px;
	border-radius: var(--radius-sm);
}
.nav a:hover {
	background: var(--sunk);
	color: var(--text);
}
.nav a[aria-current='page'] {
	color: var(--brand);
	font-weight: 700;
}
.header-actions {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-inline-start: auto;
}
.menu {
	display: none;
	margin-inline-start: auto;
}
.menu summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 6px 14px;
	border: 1.5px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
	font-weight: 700;
	font-size: 0.9375rem;
}
.menu summary::-webkit-details-marker {
	display: none;
}
.menu-panel {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	box-shadow: var(--shadow);
	padding: 12px 16px 20px;
	display: grid;
	gap: 4px;
}
.menu-panel a:not(.btn) {
	color: var(--text);
	text-decoration: none;
	padding: 10px 8px;
	border-radius: var(--radius-sm);
}
.menu-panel a:not(.btn):hover {
	background: var(--sunk);
}
.menu-panel .actions {
	margin-top: 12px;
}
.menu-panel .btn {
	flex: 1;
}
@media (max-width: 960px) {
	.nav,
	.header-actions {
		display: none;
	}
	.menu {
		display: block;
	}
}

/* ---------- بخش‌ها ---------- */
.section {
	padding-block: 88px;
}
.section-tight {
	padding-block: 56px;
}
@media (max-width: 640px) {
	.section {
		padding-block: 64px;
	}
}
.section-alt {
	background: var(--surface);
	border-block: 1px solid var(--border);
}
.section-head {
	margin-bottom: 48px;
}
.section-head h2 {
	font-size: clamp(1.75rem, 4.2vw, 2.5rem);
	font-weight: 800;
	letter-spacing: -0.01em;
}
.section-head p {
	max-width: 42rem;
	margin-top: 14px;
	color: var(--muted);
	font-size: 1.125rem;
	text-wrap: pretty;
}
.section-head.center {
	max-width: 44rem;
	margin-inline: auto;
	text-align: center;
}
.section-head.center p {
	margin-inline: auto;
}

/* بالای صفحه‌های داخلی */
.page-hero {
	padding-block: 72px 40px;
}
.page-hero h1 {
	font-size: clamp(2rem, 5.5vw, 3.25rem);
	font-weight: 800;
	letter-spacing: -0.015em;
	max-width: 18em;
}
.page-hero .lead {
	margin-top: 18px;
	max-width: 38rem;
	color: var(--muted);
	font-size: 1.1875rem;
}
.page-hero .actions {
	margin-top: 28px;
}

/* ---------- قهرمان صفحه اصلی ---------- */
.hero {
	padding-block: 64px 88px;
	position: relative;
}
.hero-grid {
	display: grid;
	gap: 56px;
	align-items: center;
}
@media (min-width: 960px) {
	.hero-grid {
		grid-template-columns: 1.2fr 1fr;
		gap: 56px;
	}
}
.hero h1 {
	font-size: clamp(2.125rem, 4.6vw, 3.125rem);
	font-weight: 800;
	line-height: 1.32;
	letter-spacing: -0.02em;
}
.hero h1 .line2 {
	display: block;
	color: var(--muted);
}
.hero .lead {
	margin-top: 22px;
	max-width: 33rem;
	color: var(--muted);
	font-size: 1.1875rem;
}
.hero .actions {
	margin-top: 32px;
}
.hero .fineprint {
	margin-top: 14px;
}
.source-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 4px 12px 4px 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	font-size: 0.875rem;
	color: var(--text);
}
.chip svg {
	width: 18px;
	height: 18px;
	flex: none;
}

/* صحنه: پیج اینستاگرام ⇐ طاق ویترین */
.scene {
	position: relative;
	max-width: 520px;
	width: 100%;
	margin-inline: auto;
	padding-block: 8px;
}
.arch {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	/* نیم‌دایره کامل مثل طاق نشان؛ شعاع بزرگ به نصف پهنا مقیاس می‌شود */
	border-radius: 999px 999px 40px 40px;
	box-shadow: var(--shadow);
	padding: 150px 30px 26px;
	overflow: hidden;
}
.arch::before {
	/* حاشیه کاشی درون طاق */
	content: '';
	position: absolute;
	inset: 10px 10px auto;
	height: 220px;
	border-radius: 999px 999px 0 0;
	background-color: var(--brand-faint);
	background-image: var(--tile);
	background-size: 36px 36px;
	mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.arch-title {
	position: absolute;
	top: 72px;
	inset-inline: 0;
	text-align: center;
	font-weight: 800;
	font-size: 1.1875rem;
	z-index: 1;
}
.arch-title small {
	display: block;
	font-weight: 400;
	font-size: 0.75rem;
	color: var(--muted);
}
.products {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.product {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 6px 6px 8px;
	font-size: 0.6875rem;
	line-height: 1.6;
}
.product .ph {
	aspect-ratio: 1;
	border-radius: 7px;
	background: var(--sunk);
	display: grid;
	place-items: center;
	margin-bottom: 6px;
}
.product .ph::before {
	content: '';
	width: 44%;
	aspect-ratio: 1;
	background: var(--border);
}
.product .ph.round::before {
	border-radius: 50%;
}
.product .ph.pill::before {
	width: 30%;
	aspect-ratio: 1 / 1.6;
	border-radius: 999px;
}
.product .ph.tint {
	background: var(--brand-soft);
}
.product .ph.tint::before {
	background: var(--brand);
	opacity: 0.35;
}
.product .ph.warm {
	background: var(--saffron-soft);
}
.product .ph.warm::before {
	background: var(--saffron);
	opacity: 0.45;
	border-radius: 8px;
	transform: rotate(12deg);
}
.product b {
	display: block;
	font-weight: 700;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.product .price {
	color: var(--muted);
}
.product .sale {
	display: inline-block;
	background: var(--saffron);
	color: var(--on-saffron);
	font-weight: 700;
	border-radius: 4px;
	padding: 0 5px;
	margin-inline-start: 4px;
}
.cart-bar {
	margin-top: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--brand);
	color: var(--on-brand);
	font-size: 0.8125rem;
	font-weight: 700;
}
.cart-bar span:last-child {
	font-weight: 400;
	opacity: 0.9;
}

/* کارت پست اینستاگرام که وارد ویترین می‌شود */
.post-card {
	position: absolute;
	z-index: 2;
	width: 168px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 8px;
	font-size: 0.6875rem;
	line-height: 1.7;
}
.post-card .who {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	margin-bottom: 6px;
}
.post-card .who i {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: conic-gradient(from 200deg, #f59e0b, #e11d48, #7c3aed, #f59e0b);
	box-shadow: inset 0 0 0 2px var(--surface);
}
.post-card .who.tg i {
	background: #229ed9;
}
.post-card .img {
	aspect-ratio: 1;
	border-radius: 8px;
	background: var(--sunk);
	margin-bottom: 6px;
	display: grid;
	place-items: center;
}
.post-card .img::before {
	content: '';
	width: 40%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--brand);
	opacity: 0.35;
}
.post-card p {
	color: var(--muted);
}
.post-card.ig {
	top: 120px;
	inset-inline-end: -64px;
	transform: rotate(5deg);
}
.post-card.tg {
	bottom: 18px;
	inset-inline-start: -88px;
	transform: rotate(-4deg);
}
.post-card.tg .img::before {
	border-radius: 6px;
	background: var(--saffron);
	opacity: 0.5;
}
@media (max-width: 1100px) {
	.post-card.ig {
		inset-inline-end: -8px;
	}
	.post-card.tg {
		inset-inline-start: -8px;
	}
}
@media (max-width: 560px) {
	.post-card {
		width: 128px;
	}
	.post-card p {
		display: none;
	}
	.post-card.ig {
		top: 0;
	}
	.post-card.tg {
		bottom: 40px;
	}
}

/* یک لحظه حرکت: محصولات یکی‌یکی در ویترین می‌نشینند */
@media (prefers-reduced-motion: no-preference) {
	.product {
		animation: land 520ms cubic-bezier(0.2, 0.8, 0.3, 1.15) both;
		animation-delay: calc(300ms + var(--i, 0) * 110ms);
	}
	.post-card.ig {
		animation: drift-ig 900ms cubic-bezier(0.2, 0.8, 0.3, 1) both 150ms;
	}
	.post-card.tg {
		animation: drift-tg 900ms cubic-bezier(0.2, 0.8, 0.3, 1) both 350ms;
	}
	@keyframes land {
		from {
			opacity: 0;
			transform: translateY(14px) scale(0.92);
		}
	}
	@keyframes drift-ig {
		from {
			opacity: 0;
			transform: translate(-30px, -20px) rotate(14deg);
		}
	}
	@keyframes drift-tg {
		from {
			opacity: 0;
			transform: translate(30px, 20px) rotate(-12deg);
		}
	}
}

/* ---------- نوار اعتماد (اعدادی که واقعاً داریم) ---------- */
.facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0;
	border-block: 1px solid var(--border);
}
.facts div {
	padding: 22px 20px;
	border-inline-start: 1px solid var(--border);
}
.facts div:first-child {
	border-inline-start: 0;
}
.facts b {
	display: block;
	font-size: 1.125rem;
	font-weight: 800;
}
.facts span {
	color: var(--muted);
	font-size: 0.9375rem;
}
@media (max-width: 640px) {
	.facts div {
		border-inline-start: 0;
		border-top: 1px solid var(--border);
	}
	.facts div:first-child {
		border-top: 0;
	}
}

/* ---------- فهرست امکانات (بی‌کارت؛ آیکن + عنوان + توضیح) ---------- */
.features {
	display: grid;
	gap: 36px 48px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.feature {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 4px 16px;
	align-content: start;
}
.feature .ico {
	grid-row: span 2;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--brand-soft);
	color: var(--brand);
	display: grid;
	place-items: center;
}
.feature .ico svg {
	width: 22px;
	height: 22px;
}
.feature h3 {
	font-size: 1.0625rem;
	font-weight: 700;
	padding-top: 8px;
}
.feature p {
	color: var(--muted);
	font-size: 0.9875rem;
	line-height: 1.85;
}
.badge {
	display: inline-block;
	vertical-align: 2px;
	margin-inline-start: 6px;
	padding: 0 8px;
	border-radius: 6px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.8;
	background: var(--saffron);
	color: var(--on-saffron);
}
.badge.soft {
	background: var(--sunk);
	color: var(--muted);
	border: 1px solid var(--border);
}

/* گروه امکانات در صفحه امکانات */
.group {
	display: grid;
	gap: 32px;
	padding-block: 56px;
	border-top: 1px solid var(--border);
}
.group:first-of-type {
	border-top: 0;
}
@media (min-width: 960px) {
	.group {
		grid-template-columns: 300px 1fr;
		gap: 64px;
	}
	.group-head {
		position: sticky;
		top: 96px;
		align-self: start;
	}
}
.group-head h2 {
	font-size: 1.75rem;
	font-weight: 800;
}
.group-head p {
	margin-top: 10px;
	color: var(--muted);
}
.group .features {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ---------- بخش تأکیدی تیره: درون‌ریزی ---------- */
.deep {
	background: var(--deep);
	color: var(--on-deep);
	position: relative;
	overflow: hidden;
}
.deep::after {
	content: '';
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	width: 40%;
	background-image: var(--tile);
	background-size: 40px 40px;
	opacity: 0.5;
	mask-image: linear-gradient(to left, #000, transparent);
	pointer-events: none;
}
.deep .wrap {
	position: relative;
	z-index: 1;
}
.deep a:not(.btn) {
	color: #ffffff;
}
.deep .section-head p,
.deep .muted {
	color: var(--on-deep-muted);
}
.split {
	display: grid;
	gap: 48px;
	align-items: center;
}
@media (min-width: 960px) {
	.split {
		grid-template-columns: 1fr 1fr;
		gap: 72px;
	}
}
.checks {
	list-style: none;
	padding: 0;
	margin: 28px 0 0;
	display: grid;
	gap: 14px;
}
.checks li {
	position: relative;
	padding-inline-start: 34px;
}
.checks li::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	top: 6px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--brand-soft)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301798c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
		center / 14px no-repeat;
}
.deep .checks li::before {
	background-color: rgba(255, 255, 255, 0.14);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.checks b {
	font-weight: 700;
}

/* نمایش جریان درون‌ریزی: لینک پیج ⇐ استخراج ⇐ پیش‌نویس محصول */
.flow {
	display: grid;
	gap: 14px;
	max-width: 480px;
	margin-inline: auto;
	width: 100%;
}
.flow-step {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--radius);
	padding: 16px 18px;
}
.flow-step .label {
	font-size: 0.8125rem;
	color: var(--on-deep-muted);
	margin-bottom: 8px;
}
.url-field {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(0, 0, 0, 0.22);
	border-radius: 10px;
	padding: 10px 14px;
	direction: ltr;
	font-size: 0.9375rem;
}
.url-field .go {
	margin-left: auto;
	background: var(--saffron);
	color: var(--on-saffron);
	border-radius: 7px;
	padding: 2px 12px;
	font-weight: 700;
	direction: rtl;
	font-size: 0.8125rem;
}
.extract {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 14px;
	align-items: center;
}
.extract .img {
	aspect-ratio: 1;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.1);
	display: grid;
	place-items: center;
}
.extract .img::before {
	content: '';
	width: 46%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--saffron);
	opacity: 0.6;
}
/* نوار عکس «برای هر نوع فروشگاه» در صفحه اصلی */
.store-types {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 14px;
	margin: 0 0 48px;
}
.store-types figure {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	border-radius: 16px;
	overflow: hidden;
	background: var(--sunk);
	box-shadow: 0 0 0 1px var(--border);
}
.store-types img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.store-types figure:hover img {
	transform: scale(1.04);
}
.store-types figcaption {
	position: absolute;
	inset: auto 0 0;
	padding: 28px 12px 10px;
	background: linear-gradient(to top, rgba(10, 20, 18, 0.72), rgba(10, 20, 18, 0));
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
}
@media (max-width: 900px) {
	.store-types {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media (max-width: 520px) {
	.store-types {
		gap: 8px;
		margin-bottom: 32px;
	}
	.store-types figure {
		border-radius: 12px;
	}
	.store-types figcaption {
		padding: 22px 8px 8px;
		font-size: 0.75rem;
	}
}
@media (prefers-reduced-motion: reduce) {
	.store-types img {
		transition: none;
	}
}
/* عکس واقعی محصول در نمونه‌ها: جای شکل ساختگی را می‌گیرد */
.product .ph:has(img),
.post-card .img:has(img),
.extract .img:has(img),
.draft .th:has(img) {
	overflow: hidden;
	background: var(--sunk);
}
.product .ph:has(img)::before,
.post-card .img:has(img)::before,
.extract .img:has(img)::before {
	content: none;
}
.product .ph img,
.post-card .img img,
.extract .img img,
.draft .th img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}
.extract dl {
	margin: 0;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 12px;
	font-size: 0.875rem;
}
.extract dt {
	color: var(--on-deep-muted);
}
.extract dd {
	margin: 0;
	font-weight: 700;
}
.flow-arrow {
	justify-self: center;
	width: 2px;
	height: 18px;
	background: rgba(255, 255, 255, 0.3);
}
.draft-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 0.875rem;
}
.draft-row + .draft-row {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 8px;
	margin-top: 8px;
}
.pill {
	display: inline-block;
	border-radius: 999px;
	padding: 0 10px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.9;
	background: rgba(255, 255, 255, 0.14);
	white-space: nowrap;
}
.pill.ok {
	background: #dcfce7;
	color: #14532d;
}

/* ---------- گام‌ها (واقعاً ترتیبی‌اند) ---------- */
.steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	counter-reset: step;
}
.steps li {
	counter-increment: step;
	position: relative;
	padding-top: 64px;
}
.steps li::before {
	content: counter(step, persian);
	position: absolute;
	top: 0;
	inset-inline-start: 0;
	width: 46px;
	height: 52px;
	display: grid;
	place-items: center;
	padding-top: 6px;
	border-radius: 999px 999px 8px 8px / 26px 26px 8px 8px;
	background: var(--brand);
	color: var(--on-brand);
	font-weight: 800;
	font-size: 1.25rem;
}
.steps h3 {
	font-size: 1.125rem;
	font-weight: 700;
}
.steps p {
	margin-top: 6px;
	color: var(--muted);
}

/* ---------- ردیف‌های تصویری (متن + نمایش) ---------- */
.showcase {
	display: grid;
	gap: 40px;
	align-items: center;
}
@media (min-width: 960px) {
	.showcase {
		grid-template-columns: 1fr 1fr;
		gap: 72px;
	}
	.showcase.flip > :first-child {
		order: 2;
	}
}
.showcase h2 {
	font-size: clamp(1.625rem, 3.6vw, 2.25rem);
	font-weight: 800;
}
.showcase > div > p {
	margin-top: 14px;
	color: var(--muted);
}
.panel-mock {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px;
	font-size: 0.875rem;
}
.panel-mock h4 {
	margin: 0 0 12px;
	font-size: 0.9375rem;
}
.option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px;
	border: 1px solid var(--border);
	border-radius: 10px;
}
.option + .option {
	margin-top: 8px;
}
.option .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--success);
	flex: none;
}
.option .dot.off {
	background: var(--border);
}
.option span:last-child {
	margin-inline-start: auto;
	color: var(--muted);
	font-size: 0.8125rem;
}
.option.on {
	border-color: var(--brand);
	background: var(--brand-faint);
}

/* ---------- پرسش‌ها ---------- */
.faq {
	max-width: 52rem;
	margin-inline: auto;
	display: grid;
	gap: 10px;
}
.faq details {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
}
.faq summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 20px;
	font-weight: 700;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '';
	flex: none;
	width: 12px;
	height: 12px;
	border-inline-end: 2px solid var(--muted);
	border-bottom: 2px solid var(--muted);
	transform: rotate(45deg);
	transition: transform 160ms;
	margin-top: -6px;
}
.faq details[open] summary::after {
	transform: rotate(-135deg);
	margin-top: 6px;
}
.faq details[open] summary {
	color: var(--brand);
}
.faq .answer {
	padding: 0 20px 18px;
	color: var(--muted);
}
.faq .answer p + p {
	margin-top: 10px;
}

/* ---------- فراخوان پایانی ---------- */
.cta-band {
	position: relative;
	text-align: center;
	padding: 72px 24px;
	border-radius: 28px 28px var(--radius) var(--radius);
	background: var(--brand-faint);
	border: 1px solid var(--border);
	overflow: hidden;
}
.cta-band::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--tile);
	background-size: 44px 44px;
	opacity: 0.55;
	mask-image: radial-gradient(ellipse at center, transparent 35%, #000 85%);
}
.cta-band > * {
	position: relative;
}
/* بخش فراخوان پایانی: فاصلهٔ بالا و پایین باکس برابر است (پاورقی حاشیهٔ بالا ندارد) */
main > .cta-section {
	--cta-gap: 80px;
	padding-block: var(--cta-gap);
}
@media (max-width: 640px) {
	main > .cta-section {
		--cta-gap: 56px;
	}
}
main > section:not(.section-alt):not(.pr-alt):has(+ .cta-section) {
	padding-bottom: 0;
}
main:has(> .cta-section:last-child) + .site-footer {
	margin-top: 0;
}
.cta-band h2 {
	font-size: clamp(1.75rem, 4.4vw, 2.625rem);
	font-weight: 800;
}
.cta-band p {
	margin: 14px auto 0;
	max-width: 34rem;
	color: var(--muted);
}
.cta-band .actions {
	justify-content: center;
	margin-top: 28px;
}

/* ---------- متن بلند (قوانین، حریم خصوصی، درباره) ---------- */
.prose {
	max-width: 46rem;
}
.prose h2 {
	font-size: 1.375rem;
	font-weight: 800;
	margin-top: 44px;
}
.prose h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin-top: 28px;
}
.prose p,
.prose ul,
.prose ol {
	margin-top: 12px;
}
.prose ul,
.prose ol {
	padding-inline-start: 1.4em;
}
.prose ol {
	list-style: persian;
}
.prose li + li {
	margin-top: 6px;
}
.prose .note {
	margin-top: 20px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--sunk);
	border: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.9375rem;
}

.contact-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.contact-item {
	border: 1px solid var(--border);
	background: var(--surface);
	border-radius: var(--radius);
	padding: 22px;
}
.contact-item h3 {
	font-size: 1.0625rem;
	font-weight: 700;
}
.contact-item p {
	margin-top: 6px;
	color: var(--muted);
}
.contact-item a {
	display: inline-block;
	margin-top: 10px;
	font-weight: 700;
}

/* ---------- پاورقی ---------- */
.site-footer {
	margin-top: 88px;
	border-top: 1px solid var(--border);
	background: var(--surface);
	font-size: 0.9375rem;
}
.footer-grid {
	display: grid;
	gap: 32px;
	padding-block: 48px 32px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.footer-brand {
	grid-column: 1 / -1;
	max-width: 24rem;
}
@media (min-width: 960px) {
	.footer-grid {
		grid-template-columns: 1.6fr repeat(3, 1fr);
	}
	.footer-brand {
		grid-column: auto;
	}
}
.footer-brand img {
	height: 34px;
	width: auto;
}
.footer-brand p {
	margin-top: 14px;
	color: var(--muted);
}
/* نماد اعتماد الکترونیکی (اینماد): تصویر از trustseal.enamad.ir — img-src در CSP لبه (deploy/Caddyfile*) */
.footer-brand .trust-seal {
	display: inline-block;
	margin-top: 16px;
	border-radius: 8px;
	background: #fff;
	line-height: 0;
}
.footer-brand .trust-seal img {
	width: auto;
	height: 96px;
	cursor: pointer;
}
.site-footer h2 {
	font-size: 0.9375rem;
	font-weight: 700;
	margin-bottom: 10px;
}
.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 6px;
}
.site-footer ul a {
	color: var(--muted);
	text-decoration: none;
}
.site-footer ul a:hover {
	color: var(--brand);
}
.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 18px 28px;
	border-top: 1px solid var(--border);
	color: var(--muted);
	font-size: 0.875rem;
}

/* لوگوی تیره/روشن بی‌اسکریپت */
.logo-dark {
	display: none !important;
}
@media (prefers-color-scheme: dark) {
	.logo-light {
		display: none !important;
	}
	.logo-dark {
		display: block !important;
	}
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* =====================================================================
 * تصویرسازی صفحه‌های داخلی؛ همه از یک زبان: طاق نشان + گل کاشی زعفرانی.
 * هر صفحه فقط یک حرکت دارد و با prefers-reduced-motion خاموش می‌شود.
 * ===================================================================== */
.art {
	position: relative;
	width: 100%;
	max-width: 440px;
	margin-inline: auto;
}
.flower {
	display: block;
	fill: var(--saffron);
}

/* امکانات: طاق کاشی‌کاری؛ هر کاشی یک امکان */
.mosaic {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	padding: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px 999px 28px 28px;
	box-shadow: var(--shadow);
	overflow: hidden;
}
.mosaic .t {
	aspect-ratio: 1;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--sunk);
	color: var(--brand);
}
.mosaic .t svg {
	width: 42%;
	height: 42%;
}
.mosaic .t.soft {
	background: var(--brand-soft);
}
.mosaic .t.warm {
	background: var(--saffron-soft);
	color: #b45309;
}
.mosaic .t.pat {
	background-color: var(--brand-faint);
	background-image: var(--tile);
	background-size: 28px 28px;
	background-position: center;
}
.mosaic .t.core {
	grid-column: 2 / span 2;
	grid-row: 2 / span 2;
	aspect-ratio: auto;
	background: var(--brand);
	border-radius: 999px 999px 14px 14px;
}
.mosaic .t.core .flower {
	width: 46%;
	height: auto;
}
.mosaic .t.core .flower .hole {
	fill: var(--brand);
}
@media (prefers-color-scheme: dark) {
	.mosaic .t.warm {
		color: var(--saffron);
	}
	.mosaic .t.core {
		background: var(--deep-2);
	}
	.mosaic .t.core .flower .hole {
		fill: var(--deep-2);
	}
}
@media (prefers-reduced-motion: no-preference) {
	.mosaic .t {
		animation: tile-in 480ms cubic-bezier(0.2, 0.8, 0.3, 1.2) both;
		animation-delay: calc(150ms + var(--d, 0) * 70ms);
	}
	@keyframes tile-in {
		from {
			opacity: 0;
			transform: scale(0.6);
		}
	}
}

/* تعرفه‌ها: سه طاق که قدشان با لایه بلند می‌شود */
.arcade {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	align-items: end;
	padding: 0 6px;
	position: relative;
}
.arcade::after {
	/* کف کاشی زیر طاق‌ها */
	content: '';
	position: absolute;
	inset-inline: -10px;
	bottom: 52px;
	height: 12px;
	border-radius: 6px;
	background-color: var(--brand-faint);
	background-image: var(--tile);
	background-size: 12px 12px;
	border: 1px solid var(--border);
	z-index: 0;
}
.bay {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 18px;
	justify-items: center;
	text-align: center;
}
.bay .door {
	width: 100%;
	height: var(--h);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px 999px 10px 10px;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 6px;
	padding: 0 12px 18px;
	transform-origin: bottom;
}
.bay .shelf {
	display: flex;
	gap: 5px;
	justify-content: center;
	align-items: flex-end;
	border-bottom: 3px solid var(--border);
	padding-bottom: 5px;
}
.bay .shelf i {
	width: 18px;
	height: 22px;
	border-radius: 5px;
	background: var(--sunk);
}
.bay .shelf i:nth-child(2) {
	height: 28px;
	background: var(--brand-soft);
}
.bay .shelf i:nth-child(3) {
	border-radius: 50%;
	height: 18px;
}
.bay .shelf i:first-child {
	background: var(--saffron-soft);
}
.bay.top .door {
	background: var(--brand-faint);
}
.bay b {
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.4;
}
.bay small {
	display: block;
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 400;
}
.bay.top .door {
	border: 2px solid var(--brand);
	justify-content: space-between;
	padding-top: 38px;
}
.bay.top .flower {
	width: 34px;
	height: auto;
	margin-inline: auto;
}
.bay.top .flower .hole {
	fill: var(--surface);
}
.bay.top .free {
	align-self: center;
	background: var(--saffron);
	color: var(--on-saffron);
	font-size: 0.75rem;
	font-weight: 700;
	border-radius: 999px;
	padding: 0 10px;
	line-height: 1.9;
}
@media (prefers-reduced-motion: no-preference) {
	.bay .door {
		animation: rise 700ms cubic-bezier(0.2, 0.8, 0.3, 1.1) both;
		animation-delay: calc(200ms + var(--i) * 160ms);
	}
	@keyframes rise {
		from {
			transform: scaleY(0.35);
			opacity: 0;
		}
	}
}

/* درباره: درگاه طاقی تودرتو با گل در مرکز و اصول دورش */
.portal {
	position: relative;
	aspect-ratio: 4 / 5;
	max-width: 330px;
	margin-inline: auto;
	border-radius: 999px 999px 24px 24px;
	background: var(--deep);
	padding: 20px;
	box-shadow: var(--shadow);
}
.portal .ring {
	height: 100%;
	border-radius: 999px 999px 16px 16px;
	padding: 18px;
	background: var(--deep-2);
}
.portal .ring .ring {
	background: var(--brand);
}
.portal .ring .ring .ring {
	background-color: var(--surface);
	background-image: var(--tile);
	background-size: 30px 30px;
	display: grid;
	place-items: center;
}
.portal .flower {
	width: 72px;
	height: auto;
}
.portal .flower .hole {
	fill: var(--surface);
}
.note-card {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: var(--shadow);
	padding: 8px 12px;
	font-size: 0.8125rem;
	font-weight: 700;
	white-space: nowrap;
}
.note-card::before {
	content: '';
	width: 18px;
	height: 18px;
	flex: none;
	border-radius: 50%;
	background: var(--brand-soft)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301798c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
		center / 12px no-repeat;
}
.note-card.n1 {
	top: 16%;
	inset-inline-start: -24px;
}
.note-card.n2 {
	top: 47%;
	inset-inline-end: -36px;
}
.note-card.n3 {
	bottom: 10%;
	inset-inline-start: -12px;
}
@media (max-width: 560px) {
	.note-card {
		font-size: 0.75rem;
	}
	.note-card.n1,
	.note-card.n3 {
		inset-inline-start: -4px;
	}
	.note-card.n2 {
		inset-inline-end: -4px;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.note-card {
		animation: note-in 600ms cubic-bezier(0.2, 0.8, 0.3, 1.15) both;
		animation-delay: calc(300ms + var(--i) * 180ms);
	}
	@keyframes note-in {
		from {
			opacity: 0;
			transform: translateY(10px) scale(0.92);
		}
	}
}

/* ۴۰۴: ویترین خالی با برچسب قیمت آویزان */
.empty-arch {
	position: relative;
	max-width: 360px;
	margin-inline: auto;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px 999px 24px 24px;
	box-shadow: var(--shadow);
	padding: 170px 26px 26px;
	overflow: hidden;
}
.empty-arch::before {
	content: '';
	position: absolute;
	inset: 10px 10px auto;
	height: 200px;
	border-radius: 999px 999px 0 0;
	background-color: var(--brand-faint);
	background-image: var(--tile);
	background-size: 34px 34px;
	mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.empty-arch .slots {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}
.empty-arch .slots i {
	aspect-ratio: 3 / 4;
	border: 2px dashed var(--border);
	border-radius: 10px;
}
.empty-arch .rail {
	position: absolute;
	top: 52px;
	inset-inline: 32%;
	height: 4px;
	border-radius: 2px;
	background: var(--muted);
	opacity: 0.5;
	z-index: 1;
}
.hang {
	position: absolute;
	top: 54px;
	left: 50%;
	z-index: 2;
	width: 0;
	transform-origin: top center;
}
.hang::before {
	content: '';
	position: absolute;
	left: -1px;
	top: 0;
	width: 2px;
	height: 26px;
	background: var(--muted);
}
.hang .tag404 {
	position: absolute;
	top: 24px;
	left: -48px;
	width: 96px;
	padding: 18px 0 10px;
	text-align: center;
	background: var(--saffron);
	color: var(--on-saffron);
	font-weight: 800;
	font-size: 1.625rem;
	line-height: 1.2;
	border-radius: 999px 999px 10px 10px;
	box-shadow: var(--shadow);
}
.hang .tag404::before {
	/* سوراخ برچسب */
	content: '';
	position: absolute;
	top: 7px;
	left: 50%;
	width: 8px;
	height: 8px;
	margin-left: -4px;
	border-radius: 50%;
	background: var(--surface);
}
.hang .tag404 small {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	margin-top: 2px;
}
@media (prefers-reduced-motion: no-preference) {
	.hang {
		animation: sway 2.4s ease-in-out 3 alternate both;
	}
	@keyframes sway {
		from {
			transform: rotate(10deg);
		}
		to {
			transform: rotate(-7deg);
		}
	}
}

/* ---------- نشان طاقی کوچک هر گروه امکانات ---------- */
.emblem {
	position: relative;
	display: grid;
	place-items: center;
	width: 60px;
	height: 70px;
	margin-bottom: 18px;
	border-radius: 999px 999px 12px 12px;
	background: var(--brand-soft);
	color: var(--brand);
}
.emblem svg {
	width: 28px;
	height: 28px;
	margin-top: 8px;
}
.emblem::after {
	/* گل کوچک زعفرانی بالای طاق */
	content: '';
	position: absolute;
	top: -7px;
	left: 50%;
	width: 16px;
	height: 16px;
	margin-left: -8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cmask id='h'%3E%3Crect width='16' height='16' fill='%23fff'/%3E%3Ccircle cx='8' cy='8' r='1.4'/%3E%3C/mask%3E%3Cg fill='%23f59e0b' mask='url(%23h)'%3E%3Ccircle cx='4.6' cy='8' r='3.4'/%3E%3Ccircle cx='11.4' cy='8' r='3.4'/%3E%3Ccircle cx='8' cy='4.6' r='3.4'/%3E%3Ccircle cx='8' cy='11.4' r='3.4'/%3E%3C/g%3E%3C/svg%3E")
		center / contain no-repeat;
}

/* ---------- تعرفه: ۱۲ پست آخر و نرخ تعامل ---------- */
.engage {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px;
	max-width: 420px;
	width: 100%;
	margin-inline: auto;
}
.engage-head {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 0.875rem;
	font-weight: 700;
}
.engage-head i {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--brand-soft);
	box-shadow:
		0 0 0 2px var(--surface),
		0 0 0 4px var(--brand);
}
.engage-head span {
	display: block;
	font-weight: 400;
	color: var(--muted);
	font-size: 0.75rem;
}
.engage-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 6px;
}
.engage-grid span {
	position: relative;
	aspect-ratio: 1;
	border-radius: 7px;
	background: var(--sunk);
}
.engage-grid span:nth-child(3n + 1) {
	background: var(--brand-soft);
}
.engage-grid span:nth-child(4n + 2) {
	background: var(--saffron-soft);
}
.engage-grid span::after {
	/* شمار لایک هر پست */
	content: attr(data-l);
	position: absolute;
	inset-block-end: 4px;
	inset-inline-start: 4px;
	padding: 0 5px 0 4px;
	border-radius: 4px;
	background: var(--surface);
	color: var(--text);
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.7;
}
.engage-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--border);
	font-size: 0.8125rem;
	color: var(--muted);
}
.engage-foot b {
	color: var(--text);
	font-size: 1rem;
	font-weight: 800;
}
.engage-foot .tier {
	background: var(--brand);
	color: var(--on-brand);
	border-radius: 999px;
	padding: 0 12px;
	font-weight: 700;
	line-height: 1.9;
}

/* =====================================================================
 * درون‌ریزی: گوشی با پیج اینستاگرام + کارت «در حال درون‌ریزی»
 * یک حرکت: تیک پست‌ها یکی‌یکی و پر شدن نوار پیشرفت، هم‌زمان.
 * ===================================================================== */
.import-art {
	position: relative;
	width: 100%;
	max-width: 490px;
	min-height: 470px;
	margin-inline: auto;
}
/* گوشی کنار کارت؛ کارت فقط لبهٔ بیرونی قاب را می‌پوشاند، نه شبکه را */
.import-art .ig-phone {
	aspect-ratio: auto;
	margin-inline: 0 auto;
}
.import-art .ig-phone .screen {
	height: auto;
	padding-bottom: 12px;
}
.import-art .job-card {
	top: 100px;
	inset-inline-end: 0;
	width: 250px;
}
.ig-phone {
	position: relative;
	width: 232px;
	aspect-ratio: 9 / 15;
	margin-inline-start: 8px;
	border-radius: 34px;
	padding: 9px;
	background: var(--text);
	box-shadow: var(--shadow);
}
.ig-phone .screen {
	height: 100%;
	border-radius: 26px;
	overflow: hidden;
	background: var(--surface);
	padding: 16px 10px 10px;
}
.ig-top {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ig-top i {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--brand-soft);
	box-shadow:
		0 0 0 2px var(--surface),
		0 0 0 4px var(--saffron);
}
.ig-top b {
	display: block;
	font-size: 0.8125rem;
	line-height: 1.5;
}
.ig-stats {
	display: flex;
	gap: 10px;
	font-size: 0.625rem;
	color: var(--muted);
	line-height: 1.6;
}
.ig-stats span b {
	display: block;
	font-size: 0.75rem;
	color: var(--text);
}
.ig-bio {
	margin: 10px 2px 10px;
	font-size: 0.625rem;
	line-height: 1.7;
	color: var(--muted);
}
.ig-bio code {
	font-family: inherit;
	direction: ltr;
	display: inline-block;
	background: var(--saffron-soft);
	color: #92400e;
	border-radius: 4px;
	padding: 0 5px;
	font-weight: 700;
}
.ig-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3px;
}
.ig-grid span {
	position: relative;
	aspect-ratio: 1;
	border-radius: 4px;
	background: var(--sunk);
	display: grid;
	place-items: center;
}
.ig-grid span img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
	transition:
		opacity 300ms,
		filter 300ms;
}
.ig-grid span.scan {
	outline: 2px solid var(--brand);
	outline-offset: -2px;
	border-radius: 4px;
}
.ig-grid span.ok::after {
	/* تیک «خوانده شد» */
	content: '';
	position: absolute;
	top: 4px;
	inset-inline-end: 4px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--brand)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
		center / 9px no-repeat;
	box-shadow: 0 0 0 2px var(--surface);
}
@media (prefers-color-scheme: dark) {
	.ig-grid span.ok::after {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4958' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	}
	.ig-bio code {
		color: var(--saffron);
	}
}

.job-card {
	position: absolute;
	inset-inline-end: 0;
	top: 92px;
	width: 262px;
	z-index: 2;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: var(--shadow);
	padding: 14px;
	font-size: 0.75rem;
}
.job-card h4 {
	margin: 0;
	font-size: 0.875rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}
.job-card h4 span {
	font-weight: 400;
	color: var(--muted);
	font-size: 0.6875rem;
}
.progress {
	margin: 10px 0 4px;
	height: 6px;
	border-radius: 3px;
	background: var(--sunk);
	overflow: hidden;
}
.progress i {
	display: block;
	height: 100%;
	width: 70%;
	border-radius: 3px;
	background: var(--brand);
	transform-origin: right;
}
.job-card .count {
	color: var(--muted);
	font-size: 0.6875rem;
}
.draft {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 2px 10px;
	align-items: center;
	padding-top: 10px;
	margin-top: 10px;
	border-top: 1px solid var(--border);
}
.draft .th {
	grid-row: span 2;
	width: 34px;
	height: 40px;
	border-radius: 999px 999px 6px 6px;
	background: var(--brand-soft);
}
.draft:nth-of-type(2) .th {
	background: var(--saffron-soft);
}
.draft:nth-of-type(3) .th {
	background: var(--sunk);
}
.draft b {
	font-size: 0.8125rem;
	line-height: 1.4;
}
.draft .pills {
	display: flex;
	gap: 4px;
	flex-wrap: wrap;
}
.draft .pills span {
	font-size: 0.625rem;
	font-weight: 700;
	line-height: 1.8;
	padding: 0 7px;
	border-radius: 999px;
	background: var(--sunk);
	color: var(--muted);
}
.draft .pills .g {
	background: #dcfce7;
	color: #14532d;
}
.draft .pills .b {
	background: var(--brand-soft);
	color: var(--brand-hover);
}
/* درون‌ریزی زنده: سه ردیف ثابت؛ اسکریپت ردیف تازه را بالا می‌آورد */
.import-art .drafts {
	height: 188px;
	overflow: hidden;
}
.import-art .draft:first-child {
	margin-top: 0;
}
.import-art .job-card h4 .status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}
.import-art.live:not(.done) .status::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--brand);
}
.import-art.live .progress i {
	animation: none;
	transition: width 500ms cubic-bezier(0.3, 0.6, 0.4, 1);
}
.import-art.live .ig-grid span.ok::after {
	animation-delay: 0s;
}
.import-art.live .ig-grid span:not(.ok) img {
	opacity: 0.5;
	filter: grayscale(0.7);
}
@media (prefers-reduced-motion: no-preference) {
	.import-art.live:not(.done) .status::before {
		animation: live-pulse 1.2s ease-in-out infinite;
	}
	.import-art.live .draft.in {
		animation: draft-in 420ms cubic-bezier(0.2, 0.8, 0.3, 1) both;
	}
	.import-art.live .draft.in .pills span {
		animation: draft-in 320ms ease-out both 380ms;
	}
	@keyframes draft-in {
		from {
			opacity: 0;
			transform: translateY(-14px);
		}
	}
	@keyframes live-pulse {
		50% {
			opacity: 0.25;
			transform: scale(0.7);
		}
	}
}
.tg-chip {
	position: absolute;
	z-index: 3;
	bottom: 34px;
	inset-inline-end: 34px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	box-shadow: var(--shadow);
	padding: 6px 14px 6px 10px;
	font-size: 0.75rem;
	font-weight: 700;
}
.tg-chip svg {
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	background: #229ed9;
	color: #ffffff;
}
.tg-chip span {
	direction: ltr;
	color: var(--muted);
	font-weight: 400;
}
@media (max-width: 1100px) {
	/* ستون باریک: کارت زیر گوشی می‌آید و فقط لبهٔ پایین قاب را می‌پوشاند */
	.import-art {
		min-height: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.import-art .ig-phone {
		margin-inline: 0;
	}
	.import-art .job-card {
		position: relative;
		top: auto;
		inset-inline-end: auto;
		margin-top: -14px;
	}
	.import-art .tg-chip {
		position: relative;
		inset: auto;
		margin-top: 14px;
	}
}
@media (max-width: 560px) {
	.import-art .drafts {
		height: 216px;
	}
	.tg-chip {
		inset-inline-end: 8px;
		bottom: -14px;
	}
}
@media (prefers-reduced-motion: no-preference) {
	.ig-grid span.ok::after {
		animation: tick-in 360ms cubic-bezier(0.2, 0.8, 0.3, 1.4) both;
		animation-delay: calc(400ms + var(--k) * 260ms);
	}
	.progress i {
		animation: fill 2.6s cubic-bezier(0.3, 0.6, 0.4, 1) both 400ms;
	}
	@keyframes tick-in {
		from {
			opacity: 0;
			transform: scale(0.3);
		}
	}
	@keyframes fill {
		from {
			transform: scaleX(0.05);
		}
	}
}

/* =====================================================================
 * صفحه‌های حقوقی: فهرست مطالب چسبنده + متن؛ تصویر سند و مهر / در قفل‌دار
 * ===================================================================== */
.legal {
	display: grid;
	gap: 40px;
	padding-block: 24px 40px;
}
@media (min-width: 960px) {
	.legal {
		grid-template-columns: 250px 1fr;
		gap: 64px;
	}
	.toc {
		position: sticky;
		top: 96px;
		align-self: start;
	}
}
.toc h2 {
	font-size: 0.9375rem;
	font-weight: 700;
	margin-bottom: 10px;
}
.toc ol {
	list-style: persian;
	margin: 0;
	padding-inline-start: 1.4em;
	display: grid;
	gap: 4px;
	font-size: 0.9375rem;
	color: var(--muted);
}
.toc a {
	color: var(--muted);
	text-decoration: none;
}
.toc a:hover {
	color: var(--brand);
}
.legal-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.legal-meta span {
	font-size: 0.8125rem;
	padding: 2px 12px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--muted);
}
.legal-meta .draft-flag {
	background: var(--saffron-soft);
	border-color: transparent;
	color: #92400e;
	font-weight: 700;
}
@media (prefers-color-scheme: dark) {
	.legal-meta .draft-flag {
		color: var(--saffron);
	}
}
.legal .prose {
	max-width: 44rem;
}
.legal .prose h2 {
	scroll-margin-top: 96px;
}
.legal .prose h2:first-child {
	margin-top: 0;
}

/* شرایط استفاده: سند طاق‌دار و مهر گل */
.deed {
	position: relative;
	max-width: 300px;
	margin-inline: auto;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px 999px 18px 18px;
	box-shadow: var(--shadow);
	padding: 120px 30px 36px;
	overflow: hidden;
}
.deed::before {
	content: '';
	position: absolute;
	inset: 10px 10px auto;
	height: 150px;
	border-radius: 999px 999px 0 0;
	background-color: var(--brand-faint);
	background-image: var(--tile);
	background-size: 30px 30px;
	mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.deed .title {
	position: absolute;
	top: 64px;
	inset-inline: 0;
	text-align: center;
	font-weight: 800;
	font-size: 1rem;
}
.deed .lines {
	position: relative;
	display: grid;
	gap: 10px;
}
.deed .lines i {
	height: 7px;
	border-radius: 4px;
	background: var(--sunk);
}
.deed .lines i:nth-child(3n + 1) {
	width: 86%;
}
.deed .lines i:nth-child(4n) {
	width: 64%;
}
.deed .lines i.h {
	height: 9px;
	width: 40%;
	background: var(--brand-soft);
	margin-top: 6px;
}
.deed .sign {
	width: 110px;
	height: 40px;
	margin-top: 18px;
	color: var(--brand);
}
.seal {
	position: absolute;
	z-index: 2;
	bottom: 30px;
	inset-inline-end: 22%;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--saffron);
	box-shadow:
		0 0 0 5px var(--surface),
		0 0 0 7px var(--saffron),
		var(--shadow);
	transform: rotate(-12deg);
}
.seal .flower {
	width: 46px;
	height: auto;
	fill: var(--surface);
}
.seal .flower .hole {
	fill: var(--saffron);
}
@media (prefers-reduced-motion: no-preference) {
	.seal {
		animation: stamp 520ms cubic-bezier(0.3, 0.7, 0.4, 1.3) both 500ms;
	}
	@keyframes stamp {
		from {
			opacity: 0;
			transform: rotate(-24deg) scale(1.6);
		}
	}
}

/* حریم خصوصی: در طاقی با کلیدان و قفل گل */
.vault {
	position: relative;
	max-width: 290px;
	aspect-ratio: 3 / 4;
	margin-inline: auto;
	border-radius: 999px 999px 18px 18px;
	background: var(--deep);
	padding: 16px;
	box-shadow: var(--shadow);
}
.vault .door {
	position: relative;
	height: 100%;
	border-radius: 999px 999px 10px 10px;
	background-color: var(--deep-2);
	background-image: var(--tile);
	background-size: 34px 34px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 10px;
	padding: 34% 14px 14px;
	overflow: hidden;
}
.vault .door i {
	border-radius: 999px 999px 8px 8px;
	border: 2px solid rgba(255, 255, 255, 0.16);
}
.keyhole {
	position: absolute;
	top: 46%;
	left: 50%;
	width: 74px;
	height: 74px;
	margin: -37px 0 0 -37px;
	border-radius: 50%;
	background: var(--saffron);
	display: grid;
	place-items: center;
	box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.25);
}
.keyhole::before {
	/* کلیدان به شکل طاق */
	content: '';
	width: 18px;
	height: 30px;
	border-radius: 999px 999px 3px 3px;
	background: var(--deep);
}
.vault .shackle {
	position: absolute;
	top: calc(46% - 70px);
	left: 50%;
	width: 50px;
	height: 44px;
	margin-left: -25px;
	border: 7px solid var(--saffron);
	border-bottom: 0;
	border-radius: 999px 999px 0 0;
}
@media (prefers-reduced-motion: no-preference) {
	.vault .shackle {
		animation: lock 700ms cubic-bezier(0.3, 0.7, 0.4, 1.4) both 600ms;
	}
	@keyframes lock {
		from {
			transform: translateY(-16px);
		}
	}
}

/* =====================================================================
 * گام‌ها به شکل مسیر: هر قدم یک قاب طاقی با ماکت همان لحظه، دایره شماره
 * روی لبه قاب و خط‌چین فیروزه‌ای که قدم‌ها را به هم وصل می‌کند.
 * ===================================================================== */
.journey {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 40px 24px;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	counter-reset: step;
}
.journey > li {
	counter-increment: step;
	position: relative;
	text-align: center;
}
.vig {
	position: relative;
	height: 176px;
	border-radius: 999px 999px 16px 16px;
	background-color: var(--surface);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	display: grid;
	place-items: center;
	padding: 56px 16px 30px;
	font-size: 0.75rem;
	overflow: hidden;
}
.section-alt .vig {
	background-color: var(--bg);
}
.vig::before {
	/* ته‌رنگ کاشی بالای قاب */
	content: '';
	position: absolute;
	inset: 6px 6px auto;
	height: 70px;
	border-radius: 999px 999px 0 0;
	background-color: var(--brand-faint);
	background-image: var(--tile);
	background-size: 22px 22px;
	mask-image: linear-gradient(to bottom, #000 20%, transparent);
}
.vig > * {
	position: relative;
}
.journey > li::before {
	/* دایره شماره روی لبه پایین قاب */
	content: counter(step, persian);
	position: absolute;
	z-index: 2;
	top: 157px;
	left: 50%;
	width: 38px;
	height: 38px;
	margin-left: -19px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--brand);
	color: var(--on-brand);
	font-weight: 800;
	font-size: 1.0625rem;
	box-shadow: 0 0 0 5px var(--bg);
}
.section-alt .journey > li::before {
	box-shadow: 0 0 0 5px var(--surface);
}
.journey > li:last-child::before {
	background: var(--saffron);
	color: var(--on-saffron);
}
.journey > li::after {
	/* خط‌چین تا قدم بعد (در RTL به سمت چپ) */
	content: '';
	position: absolute;
	z-index: 1;
	top: 176px;
	inset-inline-start: 50%;
	width: calc(100% + 24px);
	border-top: 2px dashed var(--brand);
	opacity: 0.45;
}
.journey > li:last-child::after {
	display: none;
}
.journey h3 {
	margin-top: 34px;
	font-size: 1.0625rem;
	font-weight: 700;
}
.journey p {
	margin-top: 6px;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.85;
}
@media (max-width: 760px) {
	/* موبایل: مسیر عمودی؛ خط‌چین از دایره هر قدم تا قاب قدم بعد */
	.journey {
		grid-template-columns: 1fr;
		max-width: 360px;
		margin-inline: auto;
		gap: 48px;
	}
	.journey > li::after {
		top: 195px;
		left: 50%;
		inset-inline-start: auto;
		width: 0;
		height: calc(100% - 145px);
		border-top: 0;
		border-left: 2px dashed var(--brand);
	}
}
@media (min-width: 761px) and (max-width: 1100px) {
	.journey > li::after {
		display: none;
	}
}

/* ---- ماکت‌های کوچک داخل قاب‌ها ---- */
.m-field {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	max-width: 150px;
	padding: 6px 10px;
	border: 1.5px solid var(--brand);
	border-radius: 9px;
	background: var(--surface);
	direction: ltr;
	justify-content: center;
	font-weight: 700;
	color: var(--text);
}
.m-field::after {
	/* نشانگر تایپ */
	content: '';
	width: 1.5px;
	height: 14px;
	background: var(--brand);
}
.m-otp {
	display: flex;
	gap: 5px;
	direction: ltr;
}
.m-otp span {
	width: 24px;
	height: 30px;
	border-radius: 7px;
	border: 1.5px solid var(--border);
	background: var(--surface);
	display: grid;
	place-items: center;
	font-weight: 800;
	font-size: 0.875rem;
}
.m-otp span:nth-child(-n + 3) {
	border-color: var(--brand);
}
.m-bio {
	max-width: 170px;
	text-align: center;
	line-height: 1.8;
	color: var(--muted);
}
.m-bio b {
	display: block;
	color: var(--text);
}
.m-bio code {
	font-family: inherit;
	direction: ltr;
	display: inline-block;
	padding: 0 6px;
	border-radius: 5px;
	background: var(--saffron);
	color: var(--on-saffron);
	font-weight: 800;
}
.m-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #dcfce7;
	color: #14532d;
	font-weight: 800;
	font-size: 0.8125rem;
}
.m-badge::before {
	content: '';
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #15803d
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
		center / 10px no-repeat;
}
.m-progress {
	width: 100%;
	max-width: 150px;
	text-align: center;
	color: var(--muted);
}
.m-progress i {
	display: block;
	height: 8px;
	margin-bottom: 6px;
	border-radius: 4px;
	background: linear-gradient(to left, var(--brand) 64%, var(--sunk) 64%);
}
.m-review {
	display: grid;
	gap: 6px;
	width: 100%;
	max-width: 160px;
}
.m-review span {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 4px 8px;
	border-radius: 8px;
	background: var(--surface);
	border: 1px solid var(--border);
	font-weight: 700;
}
.m-review span i {
	width: 22px;
	height: 12px;
	border-radius: 999px;
	background: var(--brand);
	position: relative;
}
.m-review span i::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffffff;
}
.m-review span.off i {
	background: var(--border);
}
.m-review span.off i::after {
	left: auto;
	right: 2px;
}
.m-sources {
	display: flex;
	gap: 8px;
}
.m-sources span {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--brand-soft);
	color: var(--brand);
}
.m-sources span:nth-child(2) {
	background: #229ed9;
	color: #ffffff;
}
.m-sources span:nth-child(3) {
	background: var(--saffron-soft);
	color: #b45309;
}
.m-sources svg {
	width: 20px;
	height: 20px;
}
.m-url {
	display: grid;
	gap: 6px;
	justify-items: center;
}
.m-url .bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--surface);
	border: 1px solid var(--border);
	direction: ltr;
	font-weight: 700;
}
.m-url .bar svg {
	width: 13px;
	height: 13px;
	color: var(--success);
}
.m-url .ok {
	font-weight: 700;
	color: var(--success);
}
.m-push {
	display: flex;
	gap: 8px;
	align-items: center;
	width: 100%;
	max-width: 170px;
	padding: 8px 10px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	text-align: start;
	line-height: 1.6;
}
.m-push i {
	flex: none;
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--brand)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.5h10.6L20 7H6.3'/%3E%3Ccircle cx='9' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E")
		center / 16px no-repeat;
}
.m-push b {
	display: block;
	font-size: 0.75rem;
}
.m-push span {
	color: var(--muted);
	font-size: 0.6875rem;
}
@media (prefers-color-scheme: dark) {
	.m-badge {
		background: rgba(74, 222, 128, 0.16);
		color: #4ade80;
	}
	.m-sources span:nth-child(3) {
		color: var(--saffron);
	}
	.m-progress i {
		background: linear-gradient(to left, var(--brand) 64%, var(--border) 64%);
	}
}

/* =====================================================================
 * چیدمان متوازن: تعداد ستون از روی تعداد آیتم‌ها (۳/۶/۹ ⇒ ۳ ستون، ۴/۸ ⇒ ۴
 * ستون، ۲ ⇒ ۲) و ردیف ناقص آخر وسط‌چین، تا هیچ آیتمی تنها و با فضای خالی
 * کنارش در ردیف آخر نیفتد. این بخش قاعده‌های grid قبلی را بازنویسی می‌کند.
 * ===================================================================== */
.features {
	--cols: 3;
	--gap-x: 40px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px var(--gap-x);
}
.features > * {
	flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap-x)) / var(--cols));
	min-width: 0;
}
.features:has(> :nth-child(8):last-child) {
	--cols: 4;
	--gap-x: 32px;
}
/* ۴ آیتم ⇒ ۲×۲ (۴ ستون ۲۴۰ پیکسلی پاراگراف را در خط‌های دو سه کلمه‌ای می‌شکست) */
.features:has(> :nth-child(4):last-child) {
	--cols: 2;
	--gap-x: 56px;
}
.features:has(> :nth-child(2):last-child) {
	--cols: 2;
}
@media (max-width: 1100px) {
	.features:has(> :nth-child(4):last-child),
	.features:has(> :nth-child(8):last-child) {
		--cols: 2;
	}
}
@media (max-width: 960px) {
	.features {
		--cols: 2;
		--gap-x: 32px;
	}
}
@media (max-width: 640px) {
	.features > * {
		flex-basis: 100%;
	}
}

/* گروه‌های صفحه امکانات: سربرگ بالای گروه (نشان کنار عنوان) تا امکانات تمام عرض را بگیرند */
.group {
	grid-template-columns: 1fr;
	gap: 36px;
}
.group-head {
	position: static;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 20px;
	align-items: center;
	max-width: 52rem;
}
.group-head .emblem {
	grid-row: span 2;
	margin: 6px 0 0;
}
.group-head p {
	margin-top: 4px;
}
@media (min-width: 960px) {
	.group {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.group-head {
		position: static;
	}
}

/* نوار عددها: ۴ ستون، در تبلت ۲×۲، در موبایل یک ستون */
.facts {
	grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
	.facts {
		grid-template-columns: repeat(2, 1fr);
	}
	.facts div:nth-child(odd) {
		border-inline-start: 0;
	}
	.facts div:nth-child(n + 3) {
		border-top: 1px solid var(--border);
	}
}
@media (max-width: 560px) {
	.facts {
		grid-template-columns: 1fr;
	}
	.facts div {
		border-inline-start: 0;
		border-top: 1px solid var(--border);
	}
	.facts div:first-child {
		border-top: 0;
	}
}

/* مسیر قدم‌ها: در دسکتاپ همه در یک ردیف؛ در عرض میانی ۳ تایی (۵ ⇒ ۳+۲ وسط‌چین) یا ۲ تایی (۴ ⇒ ۲+۲) */
.journey {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.journey > li {
	flex: 1 1 0;
	min-width: 0;
}
@media (min-width: 761px) and (max-width: 1100px) {
	.journey > li {
		flex: 0 0 calc((100% - 48px) / 3);
	}
	.journey:has(> :nth-child(4):last-child) > li {
		flex-basis: calc((100% - 24px) / 2);
	}
}
@media (max-width: 760px) {
	.journey {
		display: grid;
	}
}

/* ---------- برچسب «با همکاری ایران‌درگاه» (طرح‌های مشترک: اتصال فوری، تخفیف کارمزد با استوری) ---------- */
.partner {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	padding: 4px 14px 4px 12px;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--brand);
	font-size: 0.875rem;
	font-weight: 700;
}
.partner svg {
	width: 20px;
	height: 20px;
	flex: none;
}
.opt-tag {
	margin-inline-start: 6px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--brand-soft);
	color: var(--brand-hover);
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 1.8;
}
@media (prefers-color-scheme: dark) {
	.opt-tag {
		color: var(--brand);
	}
}

/* ---------- کارت برجسته: امکان پرچم‌دار گروه، تمام‌عرض با ماکت کنارش ---------- */
.spotlight {
	position: relative;
	display: grid;
	gap: 32px;
	align-items: center;
	padding: 32px;
	border-radius: 28px 28px var(--radius) var(--radius);
	border: 1px solid var(--border);
	background-color: var(--brand-faint);
	overflow: hidden;
}
.spotlight::before {
	content: '';
	position: absolute;
	inset-block: 0;
	inset-inline-end: 0;
	width: 45%;
	background-image: var(--tile);
	background-size: 36px 36px;
	opacity: 0.55;
	mask-image: linear-gradient(to left, #000, transparent);
	pointer-events: none;
}
.spotlight > * {
	position: relative;
}
.spotlight h3 {
	font-size: 1.375rem;
	font-weight: 800;
}
.spotlight p {
	margin-top: 10px;
	color: var(--muted);
	max-width: 34rem;
}
.spotlight .checks {
	margin-top: 18px;
	gap: 10px;
}
.spotlight .actions {
	margin-top: 24px;
}
.spot-art .job-card {
	position: static;
	width: 100%;
	max-width: 340px;
	margin-inline: auto;
}
@media (min-width: 900px) {
	.spotlight {
		grid-template-columns: 1.3fr 1fr;
		padding: 40px 44px;
		gap: 48px;
	}
}
@media (max-width: 560px) {
	.spotlight {
		padding: 22px 18px;
	}
}

.more {
	margin-top: 6px;
	font-size: 0.875rem;
}
.more summary {
	min-block-size: 44px;
	cursor: pointer;
	color: var(--brand);
	font-weight: 700;
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.more summary::-webkit-details-marker {
	display: none;
}
.more summary::after {
	content: '';
	width: 7px;
	height: 7px;
	border-inline-end: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -4px;
	transition: transform 160ms;
}
.more[open] summary::after {
	transform: rotate(-135deg);
	margin-top: 3px;
}
.more p {
	margin-top: 8px;
	color: var(--muted);
}
/* دکمه «برگشت به بالا» (assets/site.js): گوشه پایین لبه پایان (راست‌چین = چپ)، رنگ دکمه اصلی؛ تا پیمایش کافی پنهان */
.to-top {
	position: fixed;
	inset-inline-end: 20px;
	bottom: calc(20px + env(safe-area-inset-bottom));
	z-index: 40;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: var(--brand);
	color: var(--on-brand);
	box-shadow: 0 6px 20px rgb(1 121 140 / 0.28);
	opacity: 0;
	transform: translateY(12px);
	pointer-events: none;
	transition:
		opacity 200ms,
		transform 200ms,
		background 150ms;
}
.to-top.is-visible {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
.to-top:hover {
	background: var(--brand-hover);
	color: var(--on-brand);
}
.to-top:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 3px;
}
@media (max-width: 640px) {
	.to-top {
		inset-inline-end: 16px;
		bottom: calc(16px + env(safe-area-inset-bottom));
		width: 44px;
		height: 44px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.to-top {
		transition: none;
	}
}

/* =====================================================================
 * صفحه تعرفه (assets/pricing.js): کارت‌های هم‌قد با کلید دوره، برآوردگر فروش، جدول مقایسه، فهرست کاهش هزینه، هزینه‌های جدا.
 * کلاس‌ها همه با pr- شروع می‌شوند؛ فقط ویژگی‌های منطقی (inline/block) تا با RTL درست بماند.
 * ===================================================================== */
:root {
	--border-strong: #c3d2cf;
	--brand-ink: #046174;
	--track: #e3ecea;
	--bar-muted: #9db2ad;
}
@media (prefers-color-scheme: dark) {
	:root {
		--border-strong: #34504a;
		--brand-ink: #82dfec;
		--track: #1f332f;
		--bar-muted: #4b6b64;
	}
}
[hidden] {
	display: none !important;
}

.pr-tag {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-block-size: 28px;
	padding-inline: 12px;
	border-radius: 999px;
	background: var(--sunk);
	color: var(--muted);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}
.pr-tag.is-brand {
	background: var(--brand-soft);
	color: var(--brand-ink);
}
.pr-tag.is-sale {
	background: var(--saffron);
	color: var(--on-saffron);
}
.pr-tag.pr-partner {
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--brand-ink);
}
.pr-cap {
	margin: 0;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.85;
}
.pr-fine {
	margin-block-start: 18px;
	text-align: center;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.85;
}
.pr-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
}

/* هیرو فشرده */
.pr-hero {
	padding-block: 56px 28px;
}
.pr-hero .wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}
.pr-hero h1 {
	max-inline-size: 24em;
	font-size: clamp(1.75rem, 4.8vw, 2.875rem);
	font-weight: 800;
	line-height: 1.5;
	letter-spacing: -0.01em;
}
.pr-hero h1 span {
	display: block;
}
.pr-hero .lead {
	max-inline-size: 44rem;
	color: var(--muted);
	font-size: 1.0625rem;
	line-height: 2;
}

/* کلید ماهانه/سالانه */
.pr-plans {
	padding-block-end: 56px;
}
.pr-cycle-row {
	display: flex;
	justify-content: center;
	margin-block-end: 32px;
}
.pr-cycle {
	display: inline-flex;
	gap: 4px;
	padding: 4px;
	background: var(--sunk);
	border: 1px solid var(--border);
	border-radius: 14px;
}
.pr-cycle button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-block-size: 44px;
	padding-inline: 20px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--muted);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}
.pr-cycle button:hover {
	color: var(--text);
}
.pr-cycle button[aria-pressed='true'] {
	background: var(--surface);
	color: var(--text);
	box-shadow: 0 1px 3px rgba(10, 73, 88, 0.15);
}
.pr-cycle button:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

/* کارت‌ها: چهار ستون، دو ستون، و در موبایل نوار کشویی؛ همه هم‌قد (grid/flex stretch + حداقل ارتفاع بلوک قیمت) */
.pr-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
}
.pr-grid[data-count='1'] {
	grid-template-columns: minmax(0, 1fr);
	max-inline-size: 380px;
	margin-inline: auto;
}
.pr-grid[data-count='2'] {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pr-grid[data-count='3'] {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pr-status {
	grid-column: 1 / -1;
	padding: 28px 24px;
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	text-align: center;
	color: var(--muted);
}
.pr-status p + p {
	margin-block-start: 14px;
}
.pr-plan {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px 22px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
}
.pr-plan.is-trial {
	border-color: var(--brand);
	box-shadow: 0 0 0 1px var(--brand);
}
.pr-ribbon {
	position: absolute;
	inset-block-start: -14px;
	inset-inline-start: 20px;
}
.pr-plan-head h3 {
	font-size: 1.375rem;
	font-weight: 800;
	line-height: 1.5;
}
.pr-plan-tag {
	min-block-size: 1.7em;
	margin-block-start: 2px;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.7;
}
.pr-price {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 2px;
	min-block-size: 6.75rem;
}
.pr-amount {
	font-size: 2.125rem;
	font-weight: 800;
	line-height: 1.3;
}
.pr-amount.is-text {
	font-size: 1.625rem;
}
.pr-unit {
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.7;
}
.pr-unit b {
	color: var(--brand-ink);
	font-size: 1.0625rem;
	font-weight: 800;
}
.pr-price-note {
	font-size: 0.875rem;
	line-height: 1.7;
}
.pr-limits {
	margin: 0;
	padding: 0;
}
.pr-limits > div {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding-block: 9px;
	border-block-start: 1px solid var(--border);
	font-size: 0.9375rem;
	line-height: 1.7;
}
.pr-limits dt {
	color: var(--muted);
}
.pr-limits dd {
	margin: 0;
	font-weight: 700;
	text-align: end;
	white-space: nowrap;
}
.pr-limits dd.open {
	color: var(--success);
}
.pr-limits dd.muted {
	color: var(--muted);
	font-weight: 400;
}
.pr-plan .btn {
	margin-block-start: auto;
	inline-size: 100%;
}
.pr-swipe {
	display: none;
}
.pr-feebar {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-block-start: 28px;
	padding: 16px 22px;
	background: var(--brand-faint);
	border: 1px solid var(--border);
	border-radius: 16px;
	font-size: 0.9375rem;
	line-height: 1.9;
}
.pr-feebar .pr-tag {
	flex: none;
}

@media (max-width: 1100px) {
	.pr-grid[data-count]:not([data-count='1']) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 640px) {
	.pr-grid,
	.pr-grid[data-count] {
		display: flex;
		gap: 12px;
		max-inline-size: none;
		margin-inline: -16px;
		padding: 18px 16px 10px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 16px;
	}
	.pr-plan {
		flex: 0 0 min(272px, 78vw);
		scroll-snap-align: start;
	}
	.pr-grid[data-count='1'] .pr-plan {
		flex-basis: 100%;
	}
	.pr-status {
		flex: 1 1 100%;
	}
	.pr-grid[data-count]:not([data-count='1']) ~ .pr-swipe {
		display: block;
		margin-block-start: 4px;
	}
	.pr-feebar {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.pr-amount {
		font-size: 1.875rem;
	}
}

/* بخش‌ها */
.pr-section {
	padding-block: 72px;
}
@media (max-width: 640px) {
	.pr-section {
		padding-block: 52px;
	}
}
.pr-alt {
	background: var(--sunk);
	border-block: 1px solid var(--border);
}
.pr-head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-block-end: 32px;
}
.pr-head.center {
	align-items: center;
	text-align: center;
}
.pr-head h2 {
	font-size: clamp(1.5rem, 3.6vw, 2rem);
	font-weight: 800;
	line-height: 1.5;
}
.pr-head p {
	max-inline-size: 46rem;
	color: var(--muted);
	font-size: 1.0625rem;
	line-height: 2;
}

/* برآوردگر فروش */
.pr-est {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 32px;
}
.pr-est-main {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-inline-size: 0;
}
.pr-est-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.pr-est-top label {
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.6;
}
.pr-big {
	min-block-size: 36px;
	padding-inline: 16px;
	font-size: 1rem;
}
.pr-range {
	position: relative;
	padding-block-end: 36px;
}
.pr-range input {
	display: block;
	inline-size: 100%;
	block-size: 44px;
	margin: 0;
	accent-color: var(--brand);
	cursor: pointer;
}
.pr-range input:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
	border-radius: 8px;
}
.pr-mark {
	position: absolute;
	inset-block-end: 0;
	inset-inline-start: calc(var(--f, 0) * (100% - 16px) + 8px);
	inline-size: 10rem;
	margin-inline-start: -5rem;
	padding-block-start: 10px;
	text-align: center;
	color: var(--muted);
	font-size: 0.8125rem;
	line-height: 1.6;
}
.pr-mark::before {
	content: '';
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: calc(50% - 1px);
	inline-size: 2px;
	block-size: 8px;
	border-radius: 2px;
	background: var(--brand);
}
.pr-bars {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.pr-bar-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-block-end: 6px;
}
.pr-bar-head span {
	font-weight: 700;
}
.pr-bar-head b {
	font-size: 1.125rem;
	font-weight: 800;
}
.pr-meter {
	block-size: 12px;
	border-radius: 999px;
	background: var(--track);
	overflow: hidden;
}
.pr-meter i {
	display: block;
	block-size: 100%;
	inline-size: 0.5%;
	border-radius: 999px;
	background: var(--brand);
	transition: inline-size 120ms;
}
.pr-meter.is-flat i {
	inline-size: 100%;
	background: var(--bar-muted);
}
@media (prefers-reduced-motion: reduce) {
	.pr-meter i {
		transition: none;
	}
}
.pr-verdict {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 28px;
	background: var(--brand-faint);
	border: 1px solid var(--border);
	border-radius: 16px;
}
.pr-verdict h3 {
	font-size: 1.3125rem;
	font-weight: 800;
	line-height: 1.6;
}
.pr-verdict p:not(.pr-cap) {
	font-size: 1rem;
	line-height: 1.9;
}
@media (max-width: 900px) {
	.pr-est {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding: 20px;
	}
}

/* جدول مقایسه */
.pr-table-wrap {
	overflow-x: auto;
}
.pr-table-wrap:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}
.pr-table {
	inline-size: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}
.pr-table th,
.pr-table td {
	padding: 13px 18px;
	border-block-end: 1px solid var(--border);
	text-align: start;
	white-space: nowrap;
	line-height: 1.7;
}
.pr-table thead th {
	background: var(--sunk);
	font-weight: 800;
}
.pr-table thead th.is-trial {
	background: var(--brand-soft);
	color: var(--brand-ink);
}
.pr-table th:first-child {
	position: sticky;
	inset-inline-start: 0;
	z-index: 1;
	border-inline-end: 1px solid var(--border);
}
.pr-table tbody th {
	min-inline-size: 11rem;
	background: var(--surface);
	color: var(--muted);
	font-weight: 400;
	white-space: normal;
}
.pr-table td {
	font-weight: 700;
}
.pr-table td.muted {
	color: var(--muted);
	font-weight: 400;
}
.pr-table td.open {
	color: var(--success);
}
.pr-table td.is-trial {
	background: var(--brand-faint);
}
.pr-table tbody tr:last-child > * {
	border-block-end: 0;
}
@media (max-width: 640px) {
	.pr-table {
		font-size: 0.875rem;
	}
	.pr-table th,
	.pr-table td {
		padding: 11px 12px;
	}
	.pr-table tbody th {
		min-inline-size: 8.5rem;
	}
}
.pr-rules {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-block-start: 28px;
}
.pr-rules .pr-card {
	padding: 20px 22px;
}
.pr-rules b {
	display: block;
	line-height: 1.7;
}
.pr-rules .pr-cap {
	margin-block-start: 4px;
}
@media (max-width: 900px) {
	.pr-rules {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* هزینه‌تان را کم کنید، تا رایگان */
.pr-rewards {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 24px;
	align-items: start;
}
.pr-levers {
	padding: 8px 28px 12px;
}
.pr-group-head {
	margin: 0;
	padding-block: 18px 0;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 1.8;
}
.pr-group-head b {
	color: var(--text);
}
.pr-lever + .pr-group-head {
	margin-block-start: 10px;
	border-block-start: 1px solid var(--border);
}
.pr-lever {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	gap: 20px;
	align-items: center;
	padding-block: 20px;
	border-block-start: 1px solid var(--border);
	scroll-margin-block-start: 96px;
}
.pr-group-head + .pr-lever {
	border-block-start: 0;
}
.pr-ico {
	display: grid;
	place-items: center;
	inline-size: 48px;
	block-size: 48px;
	border-radius: 14px;
	background: var(--brand-soft);
	color: var(--brand-ink);
}
.pr-ico svg {
	inline-size: 24px;
	block-size: 24px;
}
.pr-lever h3 {
	font-size: 1.0625rem;
	font-weight: 800;
	line-height: 1.6;
}
.pr-lever-side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}
.pr-chip {
	padding-block: 2px;
	border-radius: 14px;
	white-space: normal;
	line-height: 1.7;
}
.pr-aside {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.pr-example {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px;
}
.pr-example .pr-tag {
	align-self: flex-start;
}
.pr-sum-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	color: var(--muted);
	font-size: 0.9375rem;
	line-height: 1.8;
}
.pr-sum-row b {
	flex: none;
	color: var(--text);
	white-space: nowrap;
}
.pr-sum-row.is-total {
	padding-block-start: 12px;
	border-block-start: 1px solid var(--border);
}
.pr-sum-row.is-total span {
	color: var(--text);
	font-weight: 700;
}
.pr-sum-row.is-total b {
	color: var(--brand-ink);
	font-size: 1.5rem;
	font-weight: 800;
}
.pr-how {
	padding: 22px 26px;
}
.pr-how ul {
	margin: 8px 0 0;
	padding-inline-start: 18px;
	color: var(--muted);
	font-size: 0.875rem;
	line-height: 2;
}
@media (max-width: 900px) {
	.pr-rewards {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 640px) {
	.pr-levers {
		padding: 4px 16px 8px;
	}
	.pr-lever {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
	.pr-ico {
		display: none;
	}
	.pr-lever-side {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: flex-start;
	}
}

/* هزینه‌های جدا از اشتراک */
.pr-extras {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.pr-extra {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 24px 26px;
	scroll-margin-block-start: 96px;
}
.pr-extra h3 {
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.6;
}
.pr-extra-val {
	flex: none;
	text-align: end;
}
.pr-extra-val b {
	display: block;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.5;
}
@media (max-width: 900px) {
	.pr-extras {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 480px) {
	.pr-extra {
		flex-direction: column;
		align-items: flex-start;
	}
	.pr-extra-val {
		text-align: start;
	}
}

/* باند فراخوان باریک */
.pr-cta-section {
	padding-block: 56px;
}
.pr-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 36px 44px;
	border-radius: 24px;
	background: var(--deep);
	color: var(--on-deep);
}
.pr-cta h2 {
	font-size: clamp(1.5rem, 3vw, 1.875rem);
	font-weight: 800;
}
.pr-cta p {
	margin-block-start: 4px;
	color: var(--on-deep-muted);
}
.pr-cta-btn {
	flex: none;
	background: var(--saffron);
	border-color: var(--saffron);
	color: var(--on-saffron);
}
.pr-cta-btn:hover {
	background: #fbbf24;
	border-color: #fbbf24;
	color: var(--on-saffron);
}
@media (max-width: 640px) {
	.pr-cta {
		flex-direction: column;
		align-items: stretch;
		padding: 28px 22px;
	}
}

/* ---------- صفحه امکانات: نمایش تصویری ---------- */
/*
 * هر گروه = سربرگ (نشان طاقی) + ۳ تا ۴ امکان برجسته کنار یک ماکت کوچک HTML/CSS (تزئینی، aria-hidden) + بقیه
 * امکان‌ها در فهرست فشرده. متن کامل هر امکان در details «بیشتر» می‌ماند. ماکت فقط چیزی را نشان می‌دهد که متن همان
 * گروه می‌گوید. پس‌زمینه گروه‌ها یکی‌درمیان و جای ماکت زیگزاگ؛ نوار چسبان گروه‌ها با site.js چیپ فعال را دنبال می‌کند.
 * همه کلاس‌ها با fx- شروع می‌شوند؛ فقط ویژگی‌های منطقی تا راست‌چین درست بماند.
 */

/* نوار چسبان گروه‌ها */
.fx-nav {
	position: sticky;
	top: 68px;
	z-index: 15;
	background: color-mix(in srgb, var(--bg) 90%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-block: 1px solid var(--border);
}
.fx-nav .wrap {
	padding-inline: 0;
}
.fx-nav ul {
	list-style: none;
	margin: 0;
	padding: 9px 16px;
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.fx-nav ul::-webkit-scrollbar {
	display: none;
}
.fx-nav li {
	flex: none;
}
.fx-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 4px 13px;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	color: var(--muted);
	text-decoration: none;
	transition:
		background-color 150ms,
		color 150ms;
}
.fx-nav a:hover {
	color: var(--brand);
	background: var(--brand-faint);
}
.fx-nav a[aria-current='true'] {
	background: var(--brand);
	color: var(--on-brand);
}
.fx-nav a:focus-visible {
	outline-offset: 1px;
	border-radius: 999px;
}
@media (min-width: 640px) {
	.fx-nav ul {
		padding-inline: 32px;
	}
}
@media (max-width: 1180px) {
	.fx-nav ul {
		mask-image: linear-gradient(to left, transparent, black 16px, black calc(100% - 28px), transparent);
	}
}

/* هر گروه: تمام‌عرض، پس‌زمینه یکی‌درمیان */
.group.fx-group {
	display: block;
	padding-block: 64px;
	border-top: 0;
	scroll-margin-top: 118px;
}
.fx-group:nth-of-type(even) {
	background: var(--surface);
	border-block: 1px solid var(--border);
}
.fx-show {
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr);
	grid-template-areas: 'head' 'art' 'keys';
}
.fx-show > .group-head {
	grid-area: head;
	max-width: none;
}
.fx-show > .fx-art {
	grid-area: art;
}
.fx-show > .fx-keys {
	grid-area: keys;
}
@media (min-width: 960px) {
	.fx-show {
		grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
		grid-template-rows: auto 1fr;
		grid-template-areas: 'head art' 'keys art';
		column-gap: 56px;
		row-gap: 32px;
	}
	.fx-group:nth-of-type(even) .fx-show {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
		grid-template-areas: 'art head' 'art keys';
	}
	.fx-show > .fx-art {
		align-self: center;
	}
}
.fx-show > .group-head h2 {
	font-size: clamp(1.625rem, 3vw, 2rem);
}

/* امکان‌های برجسته کنار ماکت */
.fx-keys {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
	align-content: start;
}
.fx-key,
.fx-item {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 0 14px;
	align-content: start;
}
.fx-ico {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--brand-soft);
	color: var(--brand);
	display: grid;
	place-items: center;
}
.fx-ico svg {
	width: 20px;
	height: 20px;
}
.fx-key h3 {
	font-size: 1.0625rem;
	font-weight: 800;
	padding-top: 5px;
}
.fx-key p,
.fx-item p {
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.96875rem;
	line-height: 1.85;
}
.fx-spot h3 {
	font-size: 1.25rem;
	font-weight: 800;
}
.fx-spot > p {
	margin-top: 8px;
	color: var(--muted);
}
.fx-spot .checks {
	margin-top: 16px;
	gap: 10px;
}
.fx-spot .actions {
	margin-top: 24px;
}

/* بقیه امکان‌ها: فهرست فشرده */
.fx-list {
	list-style: none;
	margin: 40px 0 0;
	padding: 28px 0 0;
	border-top: 1px dashed var(--border);
	display: grid;
	gap: 22px 40px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.fx-item {
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 0 12px;
}
.fx-item .fx-ico {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--sunk);
}
.fx-group:nth-of-type(even) .fx-item .fx-ico {
	background: var(--bg);
	border: 1px solid var(--border);
}
.fx-item .fx-ico svg {
	width: 17px;
	height: 17px;
}
.fx-item h3 {
	font-size: 0.96875rem;
	font-weight: 700;
	padding-top: 2px;
}
.fx-item p {
	font-size: 0.90625rem;
	line-height: 1.8;
}
/* «بیشتر»: بسته = خط کوتاه + برچسب، باز = متن کامل */
.fx-more {
	margin-top: 2px;
	color: var(--muted);
	font-size: 0.96875rem;
	line-height: 1.85;
}
.fx-item .fx-more {
	font-size: 0.90625rem;
	line-height: 1.8;
}
.fx-more summary {
	display: block;
	cursor: pointer;
	list-style: none;
	border-radius: 6px;
}
.fx-more summary::-webkit-details-marker {
	display: none;
}
.fx-tag {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	color: var(--brand);
	font-size: 0.8125rem;
	font-weight: 700;
}
.fx-tag::after {
	content: '';
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -3px;
}
.fx-more summary:hover .fx-tag {
	color: var(--brand-hover);
	text-decoration: underline;
	text-underline-offset: 4px;
}
.fx-tag .c,
.fx-more[open] .fx-short,
.fx-more[open] .fx-tag .o {
	display: none;
}
.fx-more[open] .fx-tag .c {
	display: inline;
}
.fx-more[open] .fx-tag::after {
	transform: rotate(-135deg);
	margin-top: 3px;
}
.fx-more[open] summary {
	float: inline-end;
	margin-inline-start: 8px;
}

/* قاب ماکت: طاق با کاشی زعفرانی کم‌رنگ */
.fx-art {
	position: relative;
	isolation: isolate;
	display: grid;
	place-items: center;
	min-height: 400px;
	padding: 72px 32px 40px;
	border-radius: 50% 50% var(--radius) var(--radius) / 120px 120px var(--radius) var(--radius);
	background: var(--brand-faint);
	border: 1px solid var(--border);
	overflow: hidden;
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--text);
	user-select: none;
}
.fx-art::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--tile);
	background-size: 34px 34px;
	opacity: 0.55;
	mask-image: radial-gradient(ellipse at center, transparent 38%, black 88%);
}
.fx-stage {
	position: relative;
	width: fit-content;
	max-width: 100%;
	display: grid;
	justify-items: center;
}
.fx-card {
	position: relative;
	width: 320px;
	max-width: 100%;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 16px;
	box-shadow: var(--shadow);
	padding: 14px;
}
.fx-float {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px;
	border-radius: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	font-weight: 700;
	white-space: nowrap;
}
.fx-dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--brand);
}
.fx-dot.ok {
	background: var(--success);
}
.fx-dot.warn {
	background: var(--saffron);
	box-shadow: 0 0 0 3px var(--saffron-soft);
}
.fx-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 8px;
}
.fx-hd b {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
}
.fx-hd > span {
	color: var(--muted);
	font-size: 0.6875rem;
}
.fx-chip {
	display: inline-block;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--sunk);
	color: var(--muted);
	font-size: 0.625rem;
	font-weight: 700;
	font-style: normal;
	line-height: 1.9;
	white-space: nowrap;
}
.fx-hd > .fx-chip {
	font-size: 0.625rem;
	background: var(--saffron-soft);
	color: var(--on-saffron);
}
.fx-chip.ok {
	background: color-mix(in srgb, var(--success) 14%, transparent);
	color: var(--success);
}
.fx-lbl {
	display: block;
	margin: 8px 0 4px;
	color: var(--muted);
	font-size: 0.6875rem;
}
.fx-meta {
	display: block;
	color: var(--muted);
	font-size: 0.6875rem;
}
.fx-btn {
	display: block;
	margin-top: 12px;
	padding: 6px 10px;
	border-radius: 9px;
	background: var(--brand);
	color: var(--on-brand);
	font-weight: 700;
	text-align: center;
}
.fx-btn.ghost {
	background: transparent;
	color: var(--brand);
	border: 1px solid var(--border);
}
.fx-mini {
	display: inline-block;
	padding: 1px 10px;
	border-radius: 7px;
	background: var(--brand);
	color: var(--on-brand);
	font-style: normal;
	font-weight: 700;
	font-size: 0.6875rem;
}
.fx-mini.ghost {
	background: var(--surface);
	color: var(--text);
	border: 1px solid var(--border);
}
.fx-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: 10px;
}
.fx-total {
	padding-top: 10px;
	border-top: 1px dashed var(--border);
}
.fx-total b {
	font-size: 0.875rem;
}
.fx-sizes {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.fx-sizes span {
	padding: 1px 10px;
	border-radius: 8px;
	border: 1px solid var(--border);
	font-weight: 700;
}
.fx-sizes .on {
	border-color: var(--brand);
	color: var(--brand);
	background: var(--brand-faint);
	box-shadow: inset 0 0 0 1px var(--brand);
}
.fx-sizes .off {
	color: var(--muted);
	border-style: dashed;
}
/* گزینه رادیویی (پرداخت، ارسال) */
.fx-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 6px;
	padding: 7px 10px;
	border-radius: 10px;
	border: 1px solid var(--border);
	line-height: 1.5;
}
.fx-opt b {
	display: block;
	font-size: 0.75rem;
}
.fx-opt small {
	display: block;
	color: var(--muted);
	font-size: 0.65625rem;
}
.fx-opt em {
	margin-inline-start: auto;
	font-style: normal;
	font-weight: 700;
	color: var(--muted);
}
.fx-r {
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	border: 1.5px solid var(--border);
	background: var(--surface);
}
.fx-opt.on {
	border-color: var(--brand);
	background: var(--brand-faint);
}
.fx-opt.on .fx-r {
	border: 4px solid var(--brand);
}
.fx-opt.on em {
	color: var(--text);
}
.fx-sw {
	width: 30px;
	height: 17px;
	border-radius: 999px;
	background: var(--brand);
	position: relative;
}
.fx-sw::after {
	content: '';
	position: absolute;
	top: 2px;
	inset-inline-end: 2px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--surface);
}

/* شناورهایی که بالا یا پایین کارت می‌نشینند (به جای روی محتوای کارت) */
.fx-float.fx-over,
.fx-float.fx-under {
	position: relative;
	inset: auto;
}
.fx-over {
	justify-self: start;
	margin-bottom: -14px;
	margin-inline-start: -36px;
}
.fx-under {
	justify-self: end;
	margin-top: -18px;
	margin-inline-end: -44px;
}

/* آوردن محصول */
.fx-art .job-card {
	position: static;
	width: 330px;
	max-width: 100%;
}
.fx-s-import .fx-f1 {
	top: -20px;
	inset-inline-start: -34px;
	padding: 6px 12px;
	border: 0;
}
.fx-s-import .fx-f2 {
	bottom: -22px;
	inset-inline-end: -40px;
}

/* کاتالوگ: کارت محصول با عکس هر تنوع */
.fx-prod {
	width: 380px;
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
}
.fx-prod-ph {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: var(--sunk);
}
.fx-prod-ph img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}
.fx-sale {
	position: absolute;
	top: 8px;
	inset-inline-start: 8px;
	padding: 0 8px;
	border-radius: 6px;
	background: var(--saffron);
	color: var(--on-saffron);
	font-weight: 800;
	font-size: 0.6875rem;
}
.fx-title {
	display: block;
	font-size: 0.875rem;
	line-height: 1.5;
}
.fx-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	margin-top: 2px;
}
.fx-price s {
	color: var(--muted);
	font-size: 0.6875rem;
}
.fx-vars {
	display: flex;
	gap: 6px;
}
.fx-vars span {
	width: 38px;
	height: 38px;
	padding: 2px;
	border-radius: 9px;
	border: 1.5px solid var(--border);
	background: var(--surface);
}
.fx-vars .on {
	border-color: var(--brand);
	box-shadow: 0 0 0 2px var(--brand-soft);
}
.fx-vars img {
	width: 100%;
	height: 100%;
	border-radius: 6px;
	object-fit: cover;
}
.fx-vars .v2 img {
	filter: grayscale(1) brightness(0.42) contrast(1.15);
}
.fx-vars .v3 img {
	filter: sepia(1) saturate(1.3) hue-rotate(-12deg) brightness(0.55);
}
.fx-prod .fx-btn {
	margin-top: 12px;
}
.fx-prod + .fx-f1 {
	top: -22px;
	inset-inline-end: -36px;
}
.fx-prod ~ .fx-f2 {
	bottom: -20px;
	inset-inline-start: -30px;
	background: var(--saffron-soft);
	border-color: transparent;
	color: var(--on-saffron);
}
.fx-prod ~ .fx-f2 .fx-dot {
	background: var(--saffron);
}

/* ویترین: سه قالب کنار هم */
.fx-tpls {
	display: grid;
	grid-template-columns: repeat(3, 142px);
	align-items: end;
}
.fx-tpl {
	position: relative;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: var(--surface);
	box-shadow: var(--shadow);
	padding: 7px 7px 26px;
	font-size: 0.625rem;
	overflow: hidden;
	--tp-bg: var(--surface);
	--tp-ink: var(--text);
	--tp-acc: var(--text);
	--tp-on-acc: var(--surface);
	--tp-cell: var(--sunk);
	background: var(--tp-bg);
	color: var(--tp-ink);
}
.fx-tpl.t1 {
	transform: translate(10px, 12px) rotate(3deg);
}
.fx-tpl.t2 {
	z-index: 2;
	transform: scale(1.14);
	--tp-bg: var(--deep);
	--tp-ink: var(--on-deep);
	--tp-acc: var(--saffron);
	--tp-on-acc: var(--on-saffron);
	--tp-cell: var(--deep-2);
	border-color: var(--deep-2);
}
.fx-tpl.t3 {
	transform: translate(-10px, 12px) rotate(-3deg);
	--tp-bg: color-mix(in srgb, var(--saffron) 10%, var(--surface));
	--tp-acc: var(--saffron);
	--tp-on-acc: var(--on-saffron);
	--tp-cell: color-mix(in srgb, var(--saffron) 18%, var(--surface));
}
.fx-url {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3px;
	padding: 1px 6px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--tp-ink) 8%, transparent);
	font-size: 0.5625rem;
	font-weight: 700;
	direction: ltr;
}
.fx-url svg {
	width: 9px;
	height: 9px;
	color: var(--success);
}
.fx-tpl.t2 .fx-url svg {
	color: var(--on-deep-muted);
}
.fx-tpl-top {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 6px 2px;
}
.fx-tpl-top i {
	width: 12px;
	height: 12px;
	border-radius: 999px 999px 3px 3px;
	background: var(--tp-acc);
}
.fx-tpl-hero {
	display: grid;
	gap: 4px;
	padding: 9px 8px;
	border-radius: 8px;
	background: var(--tp-acc);
	color: var(--tp-on-acc);
}
.fx-tpl-hero span {
	width: 40%;
	height: 4px;
	border-radius: 2px;
	background: currentColor;
	opacity: 0.45;
}
.fx-tpl-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5px;
	margin-top: 6px;
}
.fx-tpl-grid span {
	border-radius: 6px;
	overflow: hidden;
	background: var(--tp-cell);
}
.fx-tpl-grid img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}
.fx-tpl.t2 .fx-tpl-grid span {
	border-radius: 999px 999px 6px 6px;
}
.fx-tpl-name {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 2px;
	text-align: center;
	font-weight: 800;
	font-size: 0.625rem;
	background: color-mix(in srgb, var(--tp-ink) 7%, var(--tp-bg));
}
.fx-publish {
	bottom: -58px;
	inset-inline-start: 50%;
	transform: translateX(50%);
	font-size: 0.6875rem;
}
.fx-publish > span {
	color: var(--muted);
	font-weight: 700;
	margin-inline-end: 2px;
}

/* پرداخت */
.fx-pay .fx-row span {
	color: var(--muted);
}
.fx-pay + .fx-f1 {
	top: -22px;
	inset-inline-start: -40px;
}

/* سفارش‌ها: مراحل */
.fx-steps {
	list-style: none;
	margin: 12px 0 4px;
	padding: 0;
}
.fx-steps li {
	position: relative;
	padding: 4px 0;
	padding-inline-start: 24px;
	color: var(--muted);
}
.fx-steps li::before {
	content: '';
	position: absolute;
	inset-inline-start: 1px;
	top: 9px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	border: 2px solid var(--border);
	background: var(--surface);
	box-sizing: border-box;
	z-index: 1;
}
.fx-steps li::after {
	content: '';
	position: absolute;
	inset-inline-start: 6.5px;
	top: 20px;
	height: calc(100% - 9px);
	width: 2px;
	background: var(--border);
}
.fx-steps li:last-child::after {
	display: none;
}
.fx-steps .done {
	color: var(--text);
}
.fx-steps .done::before {
	border-color: var(--brand);
	background: var(--brand)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")
		center / 8px no-repeat;
}
.fx-steps .done::after {
	background: var(--brand);
}
.fx-steps .now {
	color: var(--text);
	font-weight: 800;
}
.fx-steps .now::before {
	border-color: var(--brand);
	box-shadow: 0 0 0 4px var(--brand-soft);
}
.fx-acts {
	display: flex;
	gap: 6px;
	margin-top: 8px;
}
.fx-order .fx-acts span {
	flex: 1;
	text-align: center;
	padding: 4px 6px;
	border-radius: 8px;
	border: 1px solid var(--border);
	font-weight: 700;
}
.fx-order .fx-acts span:last-child {
	background: var(--brand);
	border-color: var(--brand);
	color: var(--on-brand);
}
.fx-sms {
	display: block;
	width: 200px;
	white-space: normal;
	font-weight: 400;
	line-height: 1.7;
	bottom: 48px;
	inset-inline-end: -64px;
	border-radius: 14px 14px 14px 4px;
}
.fx-sms b {
	display: block;
	font-size: 0.6875rem;
	color: var(--brand);
}

/* ارسال */
.fx-map {
	position: relative;
	height: 92px;
	border-radius: 10px;
	overflow: hidden;
	background:
		linear-gradient(90deg, transparent 44%, var(--surface) 44% 48%, transparent 48%),
		linear-gradient(0deg, transparent 58%, var(--surface) 58% 63%, transparent 63%),
		linear-gradient(32deg, transparent 70%, var(--surface) 70% 73%, transparent 73%),
		linear-gradient(0deg, transparent 18%, var(--surface) 18% 21%, transparent 21%),
		var(--sunk);
}
.fx-map > span {
	position: absolute;
	bottom: 6px;
	inset-inline-start: 6px;
	padding: 0 7px;
	border-radius: 6px;
	background: var(--surface);
	font-size: 0.625rem;
	font-weight: 700;
}
.fx-pin {
	position: absolute;
	top: 22px;
	left: calc(46% - 9px);
	width: 18px;
	height: 18px;
	border-radius: 50% 50% 50% 0;
	transform: rotate(-45deg);
	background: var(--brand);
	box-shadow: var(--shadow);
}
.fx-pin::after {
	content: '';
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background: var(--surface);
}
.fx-label {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 46px;
	gap: 10px;
	padding: 9px 11px;
	border-style: dashed;
	top: -30px;
	inset-inline-end: -70px;
	font-weight: 400;
}
.fx-label b {
	display: block;
	font-size: 0.6875rem;
}
.fx-label small {
	display: block;
	color: var(--muted);
	font-size: 0.625rem;
}
.fx-qr {
	width: 46px;
	height: 46px;
	background: var(--text);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21' shape-rendering='crispEdges'%3E%3Cpath d='M0 0h7v7H0zM14 0h7v7h-7zM0 14h7v7H0z' fill='%23000'/%3E%3Cpath d='M1 1h5v5H1zM15 1h5v5h-5zM1 15h5v5H1z' fill='%23fff'/%3E%3Cpath d='M2 2h3v3H2zM16 2h3v3h-3zM2 16h3v3H2zM9 0h2v2H9zM8 3h2v2H8zM11 4h2v3h-2zM9 7h3v2H9zM0 9h2v2H0zM3 8h3v2H3zM7 10h2v3H7zM13 9h2v2h-2zM16 8h3v2h-3zM19 11h2v2h-2zM10 12h3v2h-3zM14 13h2v3h-2zM9 15h2v2H9zM12 16h2v2h-2zM17 15h3v2h-3zM9 19h3v2H9zM15 18h2v3h-2zM19 18h2v3h-2z' fill='%23000'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

/* بازاریابی */
.fx-stats {
	width: 300px;
}
.fx-bar {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr) 30px;
	align-items: center;
	gap: 8px;
	margin-top: 7px;
}
.fx-bar span {
	color: var(--muted);
}
.fx-bar i {
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(to left, var(--brand) var(--v), var(--sunk) var(--v));
}
.fx-bar + .fx-bar i {
	background: linear-gradient(to left, color-mix(in srgb, var(--brand) 55%, var(--surface)) var(--v), var(--sunk) var(--v));
}
.fx-bar b {
	text-align: end;
}
.fx-feeds {
	display: flex;
	gap: 6px 14px;
	padding: 8px 12px;
}
.fx-feeds span {
	display: flex;
	align-items: center;
	gap: 5px;
	font-weight: 400;
}
.fx-bubble {
	display: block;
	width: 214px;
	white-space: normal;
	font-weight: 400;
	line-height: 1.7;
	background: var(--sunk);
	border-radius: 16px 16px 4px 16px;
}
.fx-bubble small {
	display: block;
	color: var(--muted);
	font-size: 0.625rem;
	font-weight: 700;
}
.fx-bubble bdi {
	color: var(--brand);
}
.fx-bubble u {
	display: block;
	color: var(--muted);
	font-size: 0.625rem;
}

/* مشتریان */
.fx-club {
	width: 290px;
}
.fx-member {
	display: flex;
	align-items: center;
	gap: 10px;
}
.fx-member > i {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand);
	font-style: normal;
	font-weight: 800;
	font-size: 0.875rem;
}
.fx-member b {
	display: block;
	font-size: 0.8125rem;
	line-height: 1.4;
}
.fx-member small {
	color: var(--muted);
	font-size: 0.6875rem;
}
.fx-points {
	margin-top: 12px;
	color: var(--muted);
}
.fx-points b {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--text);
}
.fx-prog {
	height: 7px;
	margin: 4px 0 3px;
	border-radius: 4px;
	background: var(--sunk);
	overflow: hidden;
}
.fx-prog i {
	display: block;
	width: 62%;
	height: 100%;
	border-radius: 4px;
	background: var(--brand);
}
.fx-club .fx-row span {
	color: var(--muted);
}
.fx-gift {
	display: grid;
	gap: 0;
	width: 150px;
	padding: 12px 14px;
	border: 0;
	border-radius: 14px;
	background: var(--saffron);
	color: var(--on-saffron);
	top: -26px;
	inset-inline-end: -84px;
	transform: rotate(-5deg);
}
.fx-gift .flower {
	position: absolute;
	top: 10px;
	inset-inline-end: 10px;
	width: 22px;
	fill: var(--on-saffron);
	opacity: 0.25;
}
.fx-gift small {
	font-size: 0.6875rem;
}
.fx-gift b {
	font-size: 0.9375rem;
	font-weight: 800;
}
.fx-rev {
	display: grid;
	justify-items: start;
	gap: 3px;
	font-weight: 400;
	bottom: -66px;
	inset-inline-start: -60px;
}
.fx-stars {
	display: flex;
	gap: 2px;
}
.fx-stars i {
	width: 12px;
	height: 12px;
	background: var(--saffron);
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.2 1.3-6.6L2.5 9.3l6.6-.8z'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

/* مدیریت: گوشی با اعلان */
.fx-phone {
	width: 238px;
	padding: 9px;
	border-radius: 36px;
	background: var(--deep);
	box-shadow: var(--shadow);
}
.fx-scr {
	display: grid;
	gap: 7px;
	align-content: start;
	min-height: 360px;
	padding: 26px 10px 14px;
	border-radius: 28px;
	background: linear-gradient(165deg, var(--deep-2), var(--deep) 75%);
	color: var(--on-deep);
}
.fx-clock {
	text-align: center;
	font-size: 2.25rem;
	font-weight: 800;
	line-height: 1.1;
}
.fx-date {
	text-align: center;
	margin-bottom: 8px;
	color: var(--on-deep-muted);
	font-size: 0.6875rem;
}
.fx-note {
	display: flex;
	gap: 8px;
	padding: 8px 9px;
	border-radius: 14px;
	background: var(--surface);
	color: var(--text);
	line-height: 1.55;
}
.fx-note > i {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	background: var(--brand)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.5h10.6L20 7H6.3'/%3E%3Ccircle cx='9' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E")
		center / 15px no-repeat;
}
.fx-note.n2 > i {
	background-color: var(--saffron);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23451a03' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Cpath d='M2.5 10h19'/%3E%3C/svg%3E");
}
.fx-note.n3 > i {
	background-color: var(--muted);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
}
.fx-note small {
	display: block;
	color: var(--muted);
	font-size: 0.5625rem;
}
.fx-note b {
	display: block;
	font-size: 0.6875rem;
}
.fx-note span {
	display: block;
	color: var(--muted);
	font-size: 0.625rem;
}
.fx-team {
	display: grid;
	gap: 6px;
	padding: 10px 12px;
	bottom: 30px;
	inset-inline-end: -128px;
}
.fx-team span {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 400;
}
.fx-team span i {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--brand-soft);
	color: var(--brand);
	font-style: normal;
	font-weight: 800;
	font-size: 0.625rem;
}
.fx-team em {
	margin-inline-start: auto;
}

/* مالیات و API */
.fx-inv {
	width: 310px;
}
.fx-lines {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 12px;
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--border);
}
.fx-lines em {
	margin-inline-start: 6px;
	color: var(--muted);
	font-style: normal;
	font-size: 0.625rem;
}
.fx-lines b {
	font-weight: 700;
}
.fx-moadian {
	display: block;
	margin-top: 12px;
	text-align: center;
	font-size: 0.6875rem;
	line-height: 2.2;
}
.fx-api {
	display: grid;
	justify-items: start;
	gap: 5px;
	padding: 11px 13px;
	background: var(--deep);
	border-color: var(--deep-2);
	color: var(--on-deep);
}
.fx-api code {
	direction: ltr;
	font-family: ui-monospace, Consolas, monospace;
	color: var(--on-deep-muted);
	letter-spacing: 0.04em;
}
.fx-api span {
	display: flex;
	gap: 4px;
}
.fx-api .fx-chip {
	background: color-mix(in srgb, var(--on-deep) 12%, transparent);
	color: var(--on-deep);
}
.fx-api .fx-hook {
	align-items: center;
	gap: 6px;
	font-weight: 400;
	color: var(--on-deep-muted);
}

/* هوش مصنوعی */
.fx-chat {
	width: 330px;
}
.fx-spark {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: var(--brand-soft);
	color: var(--brand);
}
.fx-spark svg {
	width: 14px;
	height: 14px;
}
.fx-msg {
	margin: 8px 0 0;
	padding: 7px 11px;
	max-width: 86%;
	width: fit-content;
	line-height: 1.75;
}
.fx-msg.me {
	margin-inline-start: auto;
	border-radius: 14px 14px 14px 4px;
	background: var(--brand);
	color: var(--on-brand);
}
.fx-msg.bot {
	border-radius: 14px 14px 4px 14px;
	background: var(--sunk);
}
.fx-suggest {
	margin-top: 10px;
	padding: 9px 10px;
	border-radius: 10px;
	border: 1px dashed var(--brand);
	background: var(--brand-faint);
	font-weight: 700;
}
.fx-suggest .fx-acts {
	margin-top: 6px;
}
.fx-desc {
	gap: 10px;
	padding: 9px 12px 9px 9px;
	bottom: -58px;
	inset-inline-end: -70px;
	align-items: start;
}
.fx-desc-ph {
	width: 46px;
	height: 46px;
	border-radius: 9px;
	overflow: hidden;
}
.fx-desc-ph img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.fx-desc div {
	display: grid;
	gap: 5px;
	width: 120px;
}
.fx-desc div i {
	height: 5px;
	border-radius: 3px;
	background: var(--sunk);
}
.fx-desc div i.s {
	width: 60%;
}

/* تبلت و موبایل: ماکت جمع‌وجورتر، شناورها داخل قاب */
@media (max-width: 959px) {
	.fx-art {
		min-height: 0;
		max-width: 560px;
		width: 100%;
		margin-inline: auto;
	}
}
@media (max-width: 640px) {
	.group.fx-group {
		padding-block: 60px;
	}
	.fx-art {
		padding: 64px 14px 56px;
		border-radius: 50% 50% var(--radius) var(--radius) / 80px 80px var(--radius) var(--radius);
		font-size: 0.6875rem;
	}
	.fx-float {
		font-size: 0.6875rem;
	}
	.fx-list {
		margin-top: 36px;
		padding-top: 24px;
	}
}
@media (max-width: 520px) {
	.fx-card {
		width: 290px;
	}
	.fx-prod {
		width: 300px;
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 10px;
		padding: 10px;
	}
	.fx-tpls {
		grid-template-columns: repeat(3, 102px);
	}
	.fx-tpl {
		padding: 5px 5px 22px;
	}
	.fx-tpl.t1 {
		transform: translate(4px, 8px) rotate(3deg);
	}
	.fx-tpl.t3 {
		transform: translate(-4px, 8px) rotate(-3deg);
	}
	.fx-tpl-hero {
		padding: 6px;
	}
	.fx-s-import .fx-f1,
	.fx-prod + .fx-f1,
	.fx-pay + .fx-f1,
	.fx-gift {
		top: -40px;
		inset-inline-start: auto;
		inset-inline-end: -6px;
	}
	.fx-s-import .fx-f2,
	.fx-prod ~ .fx-f2,
	.fx-sms,
	.fx-label,
	.fx-rev,
	.fx-team,
	.fx-desc {
		top: auto;
		bottom: -40px;
		inset-inline-end: auto;
		inset-inline-start: -6px;
	}
	.fx-gift {
		top: -46px;
	}
	.fx-sms {
		bottom: -44px;
	}
	.fx-label {
		bottom: -46px;
	}
	.fx-team {
		bottom: -78px;
		inset-inline-start: auto;
		inset-inline-end: -10px;
	}
}

/* دو ستونه ولی باریک (۹۶۰ تا ۱۱۸۰): کل ماکت کمی کوچک‌تر تا شناورها از طاق بیرون نزنند */
@media (min-width: 960px) and (max-width: 1180px) {
	.fx-stage {
		zoom: 0.82;
	}
	.fx-art {
		padding-inline: 20px;
	}
}

@media (max-width: 520px) {
	.fx-over {
		margin-inline-start: -4px;
	}
	.fx-under {
		margin-inline-end: -4px;
	}
}

/* حالت تیره: برچسب‌ها و آیکن‌های روی رنگ برند خوانا بمانند */
@media (prefers-color-scheme: dark) {
	.fx-steps .done::before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4958' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	}
	.fx-note > i {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a4958' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2l2.2 10.5h10.6L20 7H6.3'/%3E%3Ccircle cx='9' cy='19' r='1.5'/%3E%3Ccircle cx='17' cy='19' r='1.5'/%3E%3C/svg%3E");
	}
	.fx-hd > .fx-chip,
	.fx-prod ~ .fx-f2 {
		color: var(--saffron);
	}
	.fx-tpl.t3 {
		--tp-bg: color-mix(in srgb, var(--saffron) 12%, var(--surface));
		--tp-cell: color-mix(in srgb, var(--saffron) 20%, var(--surface));
	}
}

@media (prefers-reduced-motion: no-preference) {
	.fx-steps .now::before {
		animation: fx-pulse 1.8s ease-in-out infinite;
	}
	@keyframes fx-pulse {
		50% {
			box-shadow: 0 0 0 7px var(--brand-soft);
		}
	}
}
