/*
 * پوسته‌ی ویسا: جهت «توسعه‌دهنده» (wl-dv، ۰٫۹٫۰). ترمینال، داشبورد، git log و نمودار معماری.
 * برای پالت تیره طراحی شده (base تیره، contrast روشن، primary سبز ترمینالی، accent فیروزه‌ای).
 * رنگ‌ها از پالت می‌آیند؛ فقط سه رنگ نحو کد (کهربایی، بنفش، قرمز) ثابت‌اند و فقط در ترمینال دیده می‌شوند.
 * فونت تک‌عرض: JetBrains Mono (OFL، فقط لاتین)؛ حروف فارسی در همان جا به وزیرمتن برمی‌گردند.
 */

@font-face {
	font-family: "JetBrains Mono";
	font-style: normal;
	font-weight: 100 800;
	font-display: swap;
	src: url("../fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2190-21FF, U+2212, U+2215, U+2713, U+FEFF, U+FFFD;
}

.wl-dv {
	--dv-mono: "JetBrains Mono", var(--wp--preset--font-family--vazirmatn), ui-monospace, monospace;
	--dv-bg: var(--wp--preset--color--base);
	--dv-panel: var(--wp--preset--color--surface);
	--dv-ink: var(--wp--preset--color--contrast);
	--dv-muted: var(--wp--preset--color--muted);
	--dv-green: var(--wp--preset--color--primary);
	--dv-cyan: var(--wp--preset--color--accent);
	--dv-line: var(--wp--preset--color--border);
	--dv-amber: #e0af68;
	--dv-purple: #bb9af7;
	--dv-red: #f7768e;
	--dv-term: color-mix(in srgb, var(--dv-bg) 82%, #000);
	color: var(--dv-ink);
}
.wl-dv :is(h1, h2, h3, h4) { color: var(--dv-ink); }
.wl-dv :is(.wl-dv-hero, .wl-dv-hero__copy, .wl-dv-hero__stage, .wl-dv-wrap, .wl-dv-head, .wl-dv-win, .wl-dv-win__body, .wl-dv-facts, .wl-dv-fact, .wl-dv-stats, .wl-dv-stat, .wl-dv-svcs, .wl-dv-svc, .wl-dv-svc__top, .wl-dv-tags, .wl-dv-pjs, .wl-dv-pj, .wl-dv-pj__body, .wl-dv-pj__ms, .wl-dv-pj__m, .wl-dv-case, .wl-dv-case__copy, .wl-dv-case__ms, .wl-dv-case__m, .wl-dv-case__fig, .wl-dv-arch, .wl-dv-layer, .wl-dv-layer__nodes, .wl-dv-pipe, .wl-dv-stage, .wl-dv-sgs, .wl-dv-sg, .wl-dv-sg__rows, .wl-dv-log, .wl-dv-log__row, .wl-dv-certs, .wl-dv-cert, .wl-dv-who, .wl-dv-who__copy, .wl-dv-who__fig, .wl-dv-rvs, .wl-dv-rv, .wl-dv-rv__head, .wl-dv-cta, .wl-dv-pt__in, .wl-dv-contact, .wl-dv-contact__main, .wl-dv-chs, .wl-dv-ch, .wl-dv-note, .wl-dv-plans, .wl-dv-plan, .wl-dv-ft__top, .wl-dv-ft__grid, .wl-dv-ft__col, .wl-dv-ft__bar, .wl-dv-hd__row) > * { margin: 0; }

/* زمینه: شبکه‌ی محو و نور سبز/فیروزه‌ای */
.wl-dv-grid {
	background:
		radial-gradient(42% 60% at 12% 30%, color-mix(in srgb, var(--dv-green) 13%, transparent), transparent 70%),
		radial-gradient(38% 50% at 88% 70%, color-mix(in srgb, var(--dv-cyan) 11%, transparent), transparent 70%),
		linear-gradient(color-mix(in srgb, var(--dv-ink) 4%, transparent) 1px, transparent 1px) 0 0 / 2.5rem 2.5rem,
		linear-gradient(90deg, color-mix(in srgb, var(--dv-ink) 4%, transparent) 1px, transparent 1px) 0 0 / 2.5rem 2.5rem,
		var(--dv-bg);
}
.wl-dv-grid::after { content: ""; position: absolute; inset: auto 0 0; height: 6rem; background: linear-gradient(transparent, var(--dv-bg)); pointer-events: none; }
.wl-dv-grid > * { position: relative; z-index: 1; }

/* برچسب تک‌عرض و سرتیتر */
.wl-dv code { font: inherit; color: inherit; background: none; padding: 0; border: 0; }
.wl-dv-label code { direction: ltr; unicode-bidi: isolate; }
.wl-dv-label { font-family: var(--dv-mono); font-size: 0.8125rem; letter-spacing: 0.02em; color: var(--dv-green); }
.wl-dv-head { display: grid; gap: 0.75rem; max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem) !important; }
.wl-dv-head.is-center { margin-inline: auto !important; text-align: center; justify-items: center; }
.wl-sec .wl-dv-head__t { font-size: clamp(1.9rem, 3.6vw, 2.75rem) !important; line-height: 1.35 !important; }
.wl-dv-head__i { color: var(--dv-muted); font-size: 1.0625rem; line-height: 1.9; }
.wl-dv-wrap { display: grid; }
.wl-dv-wrap > .wp-block-buttons { margin-top: 2rem !important; }
.wl-dv-narrow { max-width: 54rem; margin-inline: auto !important; }

/* دکمه‌ها: گوشه‌ی کم، فونت تک‌عرض نه؛ خوانایی فارسی مهم‌تر است */
.wl-dv .wp-block-button__link { border-radius: 0.5rem; font-weight: 700; padding: 0.8rem 1.5rem; }
.wl-dv .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--dv-green); color: var(--wp--preset--color--on-primary); box-shadow: 0 0 0 0 color-mix(in srgb, var(--dv-green) 40%, transparent); transition: box-shadow 0.25s, transform 0.25s; }
.wl-dv .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--dv-green) 25%, transparent), 0 12px 30px color-mix(in srgb, var(--dv-green) 25%, transparent); transform: translateY(-1px); }
.wl-dv .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; border: 1px solid var(--dv-line); color: var(--dv-ink); }
.wl-dv .wp-block-button.is-style-outline .wp-block-button__link:hover { border-color: var(--dv-green); color: var(--dv-green); }

/* برچسب فناوری */
.wl-dv-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.wl-dv-tag { font-family: var(--dv-mono); font-size: 0.75rem; line-height: 1; padding: 0.4rem 0.6rem; border-radius: 0.35rem; border: 1px solid var(--dv-line); color: var(--dv-muted); background: color-mix(in srgb, var(--dv-ink) 3%, transparent); direction: ltr; }

/* ============ پنجره‌ی ترمینال ============ */
.wl-dv-win { border-radius: 0.9rem; border: 1px solid color-mix(in srgb, var(--dv-ink) 12%, transparent); background: var(--dv-term); box-shadow: 0 30px 80px rgb(0 0 0 / 0.45), inset 0 1px 0 color-mix(in srgb, var(--dv-ink) 6%, transparent); overflow: hidden; }
.wl-dv-win__bar { position: relative; font-family: var(--dv-mono); font-size: 0.75rem; color: var(--dv-muted); text-align: center; padding: 0.7rem 4.5rem; border-bottom: 1px solid color-mix(in srgb, var(--dv-ink) 8%, transparent); background: color-mix(in srgb, var(--dv-ink) 3%, transparent); direction: ltr; }
.wl-dv-win__bar::before { content: ""; position: absolute; left: 1rem; top: 50%; translate: 0 -50%; width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--dv-red); box-shadow: 1.1rem 0 0 var(--dv-amber), 2.2rem 0 0 var(--dv-green); }
.wl-dv-win__body { direction: ltr; text-align: left; padding: 1.1rem 1.25rem 1.3rem; display: grid; gap: 0.2rem; }
.wl-dv-line { font-family: var(--dv-mono); font-size: 0.875rem; line-height: 1.7; white-space: pre-wrap; direction: ltr; unicode-bidi: isolate; text-align: left; }
.wl-dv-cmd { color: var(--dv-ink); }
.wl-dv-cmd:not(:first-child) { margin-top: 0.6rem !important; }
.wl-dv-ps { color: var(--dv-green); font-weight: 700; }
.wl-dv-out { color: var(--dv-muted); }
.wl-dv-line .is-ok, .wl-dv-line .is-str { color: var(--dv-green); }
.wl-dv-line .is-key { color: var(--dv-cyan); }
.wl-dv-line .is-num { color: var(--dv-amber); }
.wl-dv-line .is-kw { color: var(--dv-purple); }
.wl-dv-line .is-err { color: var(--dv-red); }
.wl-dv-caret { display: inline-block; width: 0.55em; height: 1.1em; vertical-align: -0.2em; background: var(--dv-green); animation: wl-dv-blink 1.1s steps(1) infinite; }
@keyframes wl-dv-blink { 50% { opacity: 0; } }

/* ============ بخش اول ============ */
.wl-dv-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; min-height: min(40rem, 78vh); }
.wl-dv-hero__copy { display: grid; gap: 1.25rem; justify-items: start; }
.wl-dv-pill { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.8125rem; font-weight: 600; padding: 0.4rem 0.9rem 0.4rem 1rem; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--dv-green) 40%, transparent); background: color-mix(in srgb, var(--dv-green) 10%, transparent); color: var(--dv-green); }
.wl-dv-pill::before, .wl-dv-hd__status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--dv-green); box-shadow: 0 0 0 0 color-mix(in srgb, var(--dv-green) 60%, transparent); animation: wl-dv-ping 2s ease-out infinite; flex: none; }
@keyframes wl-dv-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--dv-green) 60%, transparent); } 100% { box-shadow: 0 0 0 0.6rem transparent; } }
.wl-dv-hero__role { color: var(--dv-cyan); direction: ltr; }
.wl-sec .wl-dv-hero__t { font-size: clamp(2.4rem, 5.2vw, 4.4rem) !important; line-height: 1.22 !important; font-weight: 800 !important; letter-spacing: -0.01em; }
.wl-dv-hero__t mark { background: none; color: var(--dv-green); position: relative; white-space: nowrap; }
.wl-dv-hero__t mark::after { content: ""; position: absolute; inset-inline: 0; bottom: 0.08em; height: 0.12em; border-radius: 1em; background: color-mix(in srgb, var(--dv-green) 45%, transparent); }
.wl-dv-hero__d { color: var(--dv-muted); font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.95; max-width: 36rem; }
.wl-dv-facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 0.75rem !important; border-top: 1px solid var(--dv-line); padding-top: 1.25rem; width: 100%; }
.wl-dv-fact { padding-inline-end: 1.75rem; margin-inline-end: 1.75rem !important; border-inline-end: 1px solid var(--dv-line); display: grid; gap: 0.15rem; }
.wl-dv-fact:last-child { border: 0; margin: 0 !important; padding: 0; }
.wl-dv-fact__v { font-size: 1.375rem; font-weight: 800; }
.wl-dv-fact__l { font-size: 0.8125rem; color: var(--dv-muted); }
.wl-dv-hero__stage { position: relative; }
.wl-dv-hero__stage::before { content: ""; position: absolute; inset: 10% 6% -4%; background: linear-gradient(120deg, var(--dv-green), var(--dv-cyan)); filter: blur(80px); opacity: 0.22; border-radius: 50%; }
.wl-dv-hero__win { position: relative; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform 0.6s var(--wl-ease); }
.wl-dv-hero__win:hover { transform: none; }

/* ============ پنل‌های عدد ============ */
.wl-dv-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.wl-dv-stat { position: relative; display: grid; gap: 0.35rem; padding: 1.1rem 1.25rem 0; border-radius: 0.75rem; border: 1px solid var(--dv-line); background: var(--dv-bg); overflow: hidden; }
.wl-dv-stat__k { color: var(--dv-muted); font-size: 0.75rem; direction: ltr; text-align: right; }
.wl-dv-stat__k::before { content: "● "; color: var(--dv-green); }
.wl-dv-stat__v { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.2; font-weight: 800; color: var(--dv-ink); }
.wl-dv-stat.is-down .wl-dv-stat__v { color: var(--dv-cyan); }
.wl-dv-stat__l { font-size: 0.875rem; color: var(--dv-muted); }
.wl-dv-spark { margin: 0.5rem -1.25rem 0 !important; height: 3.25rem; }
.wl-dv-spark svg { display: block; width: 100%; height: 100%; }
.wl-dv-spark .l { stroke: var(--dv-green); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.wl-dv-spark .a { fill: color-mix(in srgb, var(--dv-green) 14%, transparent); }
.wl-dv-stat.is-down .wl-dv-spark .l { stroke: var(--dv-cyan); }
.wl-dv-stat.is-down .wl-dv-spark .a { fill: color-mix(in srgb, var(--dv-cyan) 14%, transparent); }

/* ============ خدمات ============ */
.wl-dv-svcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.wl-dv-svcs.is-2, .wl-dv-svcs.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wl-dv-svc { position: relative; display: grid; gap: 0.85rem; align-content: start; padding: 1.75rem 1.6rem; border-radius: 0.9rem; border: 1px solid var(--dv-line); background: linear-gradient(180deg, color-mix(in srgb, var(--dv-ink) 3%, transparent), transparent 60%); transition: border-color 0.3s, transform 0.3s var(--wl-ease); }
.wl-dv-svc:hover { border-color: color-mix(in srgb, var(--dv-green) 55%, transparent); transform: translateY(-3px); }
.wl-dv-svc__top { display: flex; align-items: center; justify-content: space-between; }
.wl-dv-svc__top .wp-block-image { width: 2.5rem; color: var(--dv-green); }
.wl-dv-svc__n { color: var(--dv-muted); }
.wl-dv-svc__t { margin-top: 0.4rem !important; }
.wl-dv-svc__d { color: var(--dv-muted); line-height: 1.9; font-size: 0.975rem; }
.wl-dv-svc .wl-dv-tags { margin-top: 0.25rem !important; }

/* ============ پروژه‌ها ============ */
.wl-dv-pjs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.wl-dv-pj { display: grid; grid-template-rows: auto 1fr; border-radius: 1rem; border: 1px solid var(--dv-line); background: var(--dv-panel); overflow: hidden; transition: border-color 0.3s, transform 0.3s var(--wl-ease); }
.wl-dv-pj:hover { border-color: color-mix(in srgb, var(--dv-green) 50%, transparent); transform: translateY(-3px); }
.wl-dv-pj__img img { width: 100%; display: block; border-radius: 0 !important; transition: transform 0.6s var(--wl-ease); }
.wl-dv-pj:hover .wl-dv-pj__img img { transform: scale(1.03); }
.wl-dv-pj__img { overflow: hidden; border-bottom: 1px solid var(--dv-line); }
.wl-dv-pj__body { display: grid; gap: 0.7rem; align-content: start; padding: 1.4rem 1.4rem 1.6rem; }
.wl-dv-pj__k { color: var(--dv-cyan); font-size: 0.75rem; }
.wl-dv-pj__d { color: var(--dv-muted); font-size: 0.95rem; line-height: 1.9; }
.wl-dv-pj__ms { display: flex; flex-wrap: wrap; gap: 1.5rem; padding: 0.8rem 0; border-block: 1px dashed var(--dv-line); }
.wl-dv-pj__m { display: grid; gap: 0.1rem; }
.wl-dv-pj__mv { font-size: 1.375rem; font-weight: 800; color: var(--dv-green); }
.wl-dv-pj__ml { font-size: 0.75rem; color: var(--dv-muted); }
.wl-dv-more a { color: var(--dv-green); text-decoration: none; font-weight: 700; }
.wl-dv-more a:hover { text-decoration: underline; }
@media (min-width: 901px) {
	.wl-dv-pj.is-featured { grid-column: span 2; grid-row: span 2; grid-template-rows: 1fr auto; }
	.wl-dv-pj.is-featured .wl-dv-pj__img { display: grid; align-items: center; background: radial-gradient(60% 50% at 20% 30%, color-mix(in srgb, var(--dv-green) 9%, transparent), transparent 70%), linear-gradient(color-mix(in srgb, var(--dv-ink) 4.5%, transparent) 1px, transparent 1px) 50% 50% / 1.6rem 1.6rem, linear-gradient(90deg, color-mix(in srgb, var(--dv-ink) 4.5%, transparent) 1px, transparent 1px) 50% 50% / 1.6rem 1.6rem, var(--dv-bg); }
	.wl-dv-pj.is-featured .wl-dv-pj__img img { height: 100%; aspect-ratio: auto !important; object-fit: contain !important; min-height: 18rem; -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
	.wl-dv-pj.is-featured .wl-dv-pj__t { font-size: clamp(1.5rem, 2.2vw, 2rem) !important; }
}

/* ============ مطالعه‌ی موردی و نمودار معماری ============ */
.wl-dv-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.wl-dv-case__copy { display: grid; gap: 1.25rem; }
.wl-dv-case__copy .wl-dv-head { margin-bottom: 0 !important; }
.wl-dv-case__pts { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
.wl-dv-case__pts li { position: relative; padding-inline-start: 1.25rem; color: var(--dv-muted); line-height: 1.9; }
.wl-dv-case__pts li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.75em; width: 0.45rem; height: 0.45rem; border-radius: 2px; background: var(--dv-green); }
.wl-dv-case__pts strong { color: var(--dv-ink); }
.wl-dv-case__ms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--dv-line); border-radius: 0.75rem; overflow: hidden; }
.wl-dv-case__m { padding: 0.9rem 1rem; display: grid; gap: 0.15rem; }
.wl-dv-case__m + .wl-dv-case__m { border-inline-start: 1px solid var(--dv-line); }
.wl-dv-case__mv { font-size: 1.375rem; font-weight: 800; color: var(--dv-green); direction: ltr; text-align: right; }
.wl-dv-case__ml { font-size: 0.75rem; color: var(--dv-muted); }
.wl-dv-arch { display: grid; gap: 1.6rem; padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--dv-line); background: linear-gradient(color-mix(in srgb, var(--dv-ink) 4%, transparent) 1px, transparent 1px) 0 0 / 1.5rem 1.5rem, linear-gradient(90deg, color-mix(in srgb, var(--dv-ink) 4%, transparent) 1px, transparent 1px) 0 0 / 1.5rem 1.5rem, var(--dv-term); direction: ltr; }
.wl-dv-layer { position: relative; display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; }
.wl-dv-layer + .wl-dv-layer::before { content: ""; position: absolute; left: calc(50% + 3.25rem); top: -1.6rem; height: 1.6rem; width: 2px; background: repeating-linear-gradient(to bottom, var(--dv-green) 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: wl-dv-flow 0.8s linear infinite; }
@keyframes wl-dv-flow { to { background-position: 0 12px; } }
.wl-dv-layer__k { font-size: 0.75rem; color: var(--dv-muted); text-align: left; }
.wl-dv-layer__nodes { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0.7rem; border-radius: 0.7rem; border: 1px dashed color-mix(in srgb, var(--dv-ink) 18%, transparent); justify-content: center; }
.wl-dv-node { font-family: var(--dv-mono); font-size: 0.8125rem; padding: 0.5rem 0.85rem; border-radius: 0.45rem; border: 1px solid color-mix(in srgb, var(--dv-cyan) 45%, transparent); background: color-mix(in srgb, var(--dv-cyan) 9%, transparent); color: var(--dv-ink); }
.wl-dv-layer:nth-child(2) .wl-dv-node { border-color: color-mix(in srgb, var(--dv-green) 50%, transparent); background: color-mix(in srgb, var(--dv-green) 10%, transparent); }
.wl-dv-layer:nth-child(3) .wl-dv-node { border-color: color-mix(in srgb, var(--dv-purple) 50%, transparent); background: color-mix(in srgb, var(--dv-purple) 10%, transparent); }
.wl-dv-layer:nth-child(4) .wl-dv-node { border-color: color-mix(in srgb, var(--dv-amber) 50%, transparent); background: color-mix(in srgb, var(--dv-amber) 10%, transparent); }

/* ============ مراحل (pipeline) ============ */
.wl-dv-pipe { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; position: relative; counter-reset: dvstage; }
.wl-dv-stage { position: relative; display: grid; gap: 0.55rem; align-content: start; padding: 1.25rem 1.25rem 1.4rem; border-radius: 0.8rem; border: 1px solid var(--dv-line); background: var(--dv-panel); }
.wl-dv-stage:not(:last-child)::after { content: ""; position: absolute; top: 1.85rem; inset-inline-end: -1rem; width: 1rem; height: 2px; background: var(--dv-green); }
.wl-dv-stage__k { font-family: var(--dv-mono); font-size: 0.8125rem; color: var(--dv-green); display: flex; align-items: center; gap: 0.5rem; direction: ltr; justify-content: flex-end; }
.wl-dv-stage__dot { width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--dv-green); display: inline-grid; place-items: center; }
.wl-dv-stage__dot::after { content: ""; width: 0.3rem; height: 0.55rem; border: solid var(--wp--preset--color--on-primary); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.wl-dv-stage__d { color: var(--dv-muted); font-size: 0.95rem; line-height: 1.85; }
.wl-dv-stage__time { font-family: var(--dv-mono); font-size: 0.75rem; color: var(--dv-muted); padding-top: 0.6rem; border-top: 1px dashed var(--dv-line); }
.wl-dv-stage__time::before { content: "⏱ "; }

/* ============ مهارت‌ها ============ */
.wl-dv-sgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.wl-dv-sg { display: grid; gap: 0.6rem; align-content: start; padding: 1.4rem; border-radius: 0.9rem; border: 1px solid var(--dv-line); background: var(--dv-panel); }
.wl-dv-sg__k { color: var(--dv-cyan); direction: ltr; text-align: right; }
.wl-dv-sg__rows { display: grid; margin-top: 0.4rem !important; }
.wl-dv-skill { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid color-mix(in srgb, var(--dv-ink) 7%, transparent); font-family: var(--dv-mono); font-size: 0.875rem; direction: ltr; }
.wl-dv-lvl { display: inline-flex; gap: 3px; flex: none; }
.wl-dv-lvl small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wl-dv-lvl::before { content: ""; width: 4.6rem; height: 0.5rem; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--dv-green) 0 0.8rem, transparent 0.8rem 0.95rem); -webkit-mask: linear-gradient(90deg, #000 var(--lv), color-mix(in srgb, #000 22%, transparent) var(--lv)); mask: linear-gradient(90deg, #000 var(--lv), rgb(0 0 0 / 0.22) var(--lv)); }
.wl-dv-lvl.is-1 { --lv: 20%; } .wl-dv-lvl.is-2 { --lv: 40%; } .wl-dv-lvl.is-3 { --lv: 60%; } .wl-dv-lvl.is-4 { --lv: 80%; } .wl-dv-lvl.is-5 { --lv: 100%; } .wl-dv-lvl.is-0 { --lv: 0%; }

/* ============ git log ============ */
.wl-dv-log { position: relative; display: grid; gap: 0; }
.wl-dv-log::before { content: ""; position: absolute; inset-block: 0.6rem 1rem; inset-inline-start: 0.45rem; width: 2px; background: linear-gradient(var(--dv-green), color-mix(in srgb, var(--dv-green) 15%, transparent)); }
.wl-dv-log__row { position: relative; display: grid; gap: 0.45rem; padding: 0 2.25rem 2.25rem 0; padding-inline-start: 2.25rem; padding-inline-end: 0; }
.wl-dv-log__row::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.35rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; border: 2px solid var(--dv-green); background: var(--dv-bg); }
.wl-dv-log__row:first-child::before { background: var(--dv-green); box-shadow: 0 0 0 5px color-mix(in srgb, var(--dv-green) 20%, transparent); }
.wl-dv-log__meta { font-family: var(--dv-mono); font-size: 0.8125rem; color: var(--dv-muted); display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.wl-dv-log__hash { color: var(--dv-amber); direction: ltr; }
.wl-dv-log__ref { color: var(--dv-cyan); border: 1px solid color-mix(in srgb, var(--dv-cyan) 50%, transparent); border-radius: 999px; padding: 0.05rem 0.55rem; font-size: 0.75rem; direction: ltr; }
.wl-dv-log__d { color: var(--dv-muted); line-height: 1.9; max-width: 44rem; }
@media (min-width: 901px) {
	.wl-dv-log__row { grid-template-columns: 13rem minmax(0, 1fr); column-gap: 2rem; }
	.wl-dv-log__meta { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 0.35rem; padding-top: 0.2rem; }
}

/* ============ گواهی‌ها ============ */
.wl-dv-certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); gap: 1rem; }
.wl-dv-cert { display: grid; gap: 0.3rem; padding: 1.25rem; border-radius: 0.8rem; border: 1px solid var(--dv-line); background: var(--dv-panel); direction: ltr; text-align: left; }
.wl-dv-cert__c { font-family: var(--dv-mono); font-weight: 800; font-size: 1.5rem; color: var(--dv-green); }
.wl-dv-cert__n { font-size: 0.9375rem; font-weight: 600; line-height: 1.5; }
.wl-dv-cert__m { font-family: var(--dv-mono); font-size: 0.75rem; color: var(--dv-muted); }

/* ============ درباره (whoami) ============ */
.wl-dv-who { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.wl-dv-who__copy { display: grid; gap: 1.1rem; }
.wl-dv-who__copy .wl-dv-head { margin-bottom: 0.25rem !important; }
.wl-dv-who__p { color: var(--dv-muted); line-height: 2; font-size: 1.0625rem; }
.wl-dv-who__fig { position: relative; display: grid; }
.wl-dv-who__fig.has-img .wl-dv-who__win { margin: -4rem 2rem 0 -1.5rem !important; position: relative; }
.wl-dv-who__img img { border-radius: 1rem !important; width: 100%; filter: saturate(0.85); }

/* ============ نظر همکاران ============ */
.wl-dv-rvs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.wl-dv-rvs.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wl-dv-rvs.is-1 { grid-template-columns: minmax(0, 46rem); }
.wl-dv-rv { border-radius: 0.8rem; border: 1px solid var(--dv-line); background: var(--dv-panel); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.wl-dv-rv__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--dv-line); background: color-mix(in srgb, var(--dv-ink) 3%, transparent); }
.wl-dv-rv__who { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; font-size: 0.9375rem; }
.wl-dv-rv__av { width: 2rem; height: 2rem; border-radius: 50%; display: inline-grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--dv-green), var(--dv-cyan)); color: var(--wp--preset--color--on-primary); flex: none; }
.wl-dv-rv__role { color: var(--dv-muted); font-size: 0.8125rem; }
.wl-dv-rv__ok { font-family: var(--dv-mono); font-size: 0.75rem; color: var(--dv-green); border: 1px solid color-mix(in srgb, var(--dv-green) 45%, transparent); border-radius: 999px; padding: 0.15rem 0.6rem; white-space: nowrap; direction: ltr; }
.wl-dv-rv__q { padding: 1.25rem 1.2rem 1.4rem; line-height: 2; font-size: 1.0625rem; }

/* ============ دعوت ============ */
.wl-dv-cta { position: relative; display: grid; gap: 1.1rem; justify-items: center; text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3rem); border-radius: 1.25rem; border: 1px solid color-mix(in srgb, var(--dv-green) 35%, transparent); background: radial-gradient(60% 90% at 50% 0%, color-mix(in srgb, var(--dv-green) 14%, transparent), transparent 70%), var(--dv-panel); overflow: hidden; }
.wl-dv-cta .wl-dv-cmd { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.8125rem; color: var(--dv-muted); padding: 0.4rem 0.9rem; border-radius: 0.45rem; background: var(--dv-term); border: 1px solid var(--dv-line); direction: ltr; }
.wl-sec .wl-dv-cta__t { font-size: clamp(2rem, 4.6vw, 3.5rem) !important; line-height: 1.3 !important; max-width: 50rem; }
.wl-dv-cta__d { color: var(--dv-muted); max-width: 34rem; line-height: 1.9; }
.wl-dv-cta .wp-block-buttons { justify-content: center; }
.wl-dv-cta__n { font-size: 0.8125rem; color: var(--dv-muted); }
.wl-dv-cta__n::before { content: "● "; color: var(--dv-green); }

/* ============ بالای صفحه ============ */
.wl-dv-pt__in { display: grid; gap: 0.9rem; justify-items: start; }
.wl-dv-pt .wl-dv-cmd { font-size: 0.8125rem; color: var(--dv-muted); direction: ltr; }
.wl-sec .wl-dv-pt__t { font-size: clamp(2.4rem, 5vw, 4rem) !important; line-height: 1.25 !important; }
.wl-dv-pt__d { color: var(--dv-muted); font-size: 1.125rem; line-height: 1.9; max-width: 42rem; }
.wl-dv-pt__meta { margin-top: 0.4rem !important; }

/* ============ تماس ============ */
.wl-dv-contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.wl-dv-chs { display: grid; border-top: 1px solid var(--dv-line); }
.wl-dv-ch { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0.25rem; border-bottom: 1px solid var(--dv-line); transition: background 0.25s, padding 0.25s; }
.wl-dv-ch:hover { background: color-mix(in srgb, var(--dv-green) 6%, transparent); padding-inline: 0.75rem; }
.wl-dv-ch .wp-block-image { width: 1.75rem; color: var(--dv-green); flex: none; }
.wl-dv-ch__a { flex: 1; }
.wl-dv-ch__a a { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; color: inherit; text-decoration: none; }
.wl-dv-ch__a a::after { content: "←"; color: var(--dv-green); transition: translate 0.25s; }
.wl-dv-ch:hover .wl-dv-ch__a a::after { translate: -0.3rem 0; }
.wl-dv-ch__l { font-weight: 700; }
.wl-dv-ch__v { font-family: var(--dv-mono); font-size: 0.875rem; color: var(--dv-muted); direction: ltr; unicode-bidi: isolate; white-space: nowrap; margin-inline-start: auto; }
.wl-dv-note { display: grid; gap: 0.8rem; padding: 1.6rem; border-radius: 1rem; border: 1px solid var(--dv-line); background: var(--dv-panel); position: sticky; top: 6rem; }
.wl-dv-note__k { color: var(--dv-muted); direction: ltr; text-align: right; }
.wl-dv-note__list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.wl-dv-note__list li { position: relative; padding-inline-start: 1.6rem; color: var(--dv-muted); line-height: 1.85; }
.wl-dv-note__list li { padding-inline-start: 2.1rem; }
.wl-dv-note__list li::before { content: "[ ]"; position: absolute; inset-inline-start: 0; font-family: var(--dv-mono); font-size: 0.75rem; color: var(--dv-green); top: 0.35em; white-space: pre; }
.wl-dv-note__n { font-size: 0.875rem; padding-top: 0.8rem; border-top: 1px dashed var(--dv-line); color: var(--dv-ink); }

/* ============ بسته‌ها ============ */
.wl-dv-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.wl-dv-plans.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 54rem; }
.wl-dv-plans.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wl-dv-plan { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr auto; gap: 0.75rem; padding: 1.75rem 1.5rem; border-radius: 1rem; border: 1px solid var(--dv-line); background: var(--dv-panel); }
.wl-dv-plan.is-best { border-color: var(--dv-green); box-shadow: 0 0 0 1px var(--dv-green), 0 24px 60px color-mix(in srgb, var(--dv-green) 16%, transparent); }
.wl-dv-plan__badge { position: absolute; top: -0.8rem; inset-inline-start: 1.5rem; background: var(--dv-green); color: var(--wp--preset--color--on-primary) !important; padding: 0.15rem 0.8rem; border-radius: 999px; font-weight: 800; font-size: 0.75rem; }
.wl-dv-plan__k { direction: ltr; text-align: right; }
.wl-dv-plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; }
.wl-dv-plan__price strong { font-size: 1.9rem; font-weight: 800; }
.wl-dv-plan__price span { font-size: 0.8125rem; color: var(--dv-muted); }
.wl-dv-plan__d { color: var(--dv-muted); font-size: 0.95rem; line-height: 1.85; }
.wl-dv-plan__list { list-style: none; padding: 0; display: grid; gap: 0.5rem; align-content: start; border-top: 1px dashed var(--dv-line); padding-top: 1rem; }
.wl-dv-plan__list li { position: relative; padding-inline-start: 1.5rem; font-size: 0.95rem; }
.wl-dv-plan__list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--dv-green); font-weight: 800; }
.wl-dv-plan .wp-block-buttons, .wl-dv-plan .wp-block-button, .wl-dv-plan .wp-block-button__link { width: 100%; }
.wl-dv-plan .wp-block-button__link { text-align: center; }
.wl-dv-plans__note { margin-top: 1.25rem !important; font-size: 0.875rem; color: var(--dv-muted); }

/* ============ سربرگ ============ */
header.wp-block-template-part:has(.wl-dv-hd) { background: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom-color: color-mix(in srgb, var(--wp--preset--color--contrast) 9%, transparent); }
.wl-dv-hd { overflow: visible; background: transparent; }
.wl-dv-hd__row { align-items: center; }
.wl-dv-hd__mark { font-family: var(--dv-mono); font-weight: 800; font-size: 0.9375rem; line-height: 1; }
.wl-dv-hd__mark a { display: inline-grid; place-items: center; min-width: 2.6rem; height: 2.6rem; padding: 0 0.5rem; border-radius: 0.55rem; background: var(--dv-term); border: 1px solid color-mix(in srgb, var(--dv-green) 50%, transparent); color: var(--dv-green); text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.wl-dv-hd__name { font-size: 1rem; font-weight: 800; }
.wl-dv-hd__name a { color: var(--dv-ink); text-decoration: none; }
.wl-dv-hd__nav { font-size: 0.9375rem; }
.wl-dv-hd__nav a { color: var(--dv-muted); text-decoration: none; transition: color 0.2s; }
.wl-dv-hd__nav a:hover, .wl-dv-hd__nav .current-menu-item > a, .wl-dv-hd__nav [aria-current="page"] { color: var(--dv-ink); }
.wl-dv-hd__status { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; color: var(--dv-muted); white-space: nowrap; }
.wl-dv-hd .wp-block-button__link { padding: 0.6rem 1.15rem; font-size: 0.9375rem; }
@media (max-width: 1180px) { .wl-dv-hd__status { display: none; } }

/* ============ پابرگ ============ */
.wl-dv-ft { background: var(--dv-term); border-top: 1px solid var(--dv-line); }
.wl-dv-ft__top { display: grid; gap: 0.6rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--dv-line); }
.wl-dv-ft .wl-dv-cmd { font-size: clamp(0.875rem, 1.6vw, 1.0625rem); color: var(--dv-muted); text-align: right; }
.wl-dv-ft__mail { font-size: clamp(1.75rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.3; direction: ltr; text-align: right; }
.wl-dv-ft__mail a { color: var(--dv-ink); text-decoration: none; background: linear-gradient(var(--dv-green), var(--dv-green)) 0 100% / 0 3px no-repeat; transition: background-size 0.4s var(--wl-ease), color 0.3s; }
.wl-dv-ft__mail a:hover { color: var(--dv-green); background-size: 100% 3px; }
.wl-dv-ft__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-block: 2.5rem; }
.wl-dv-ft__col { display: grid; gap: 0.75rem; align-content: start; }
.wl-dv-ft__col .wp-block-site-title { font-weight: 800; }
.wl-dv-ft__col .wp-block-site-title a { color: var(--dv-ink); text-decoration: none; }
.wl-dv-ft__t { color: var(--dv-muted); font-size: 0.9375rem; line-height: 1.9; max-width: 26rem; }
.wl-dv-ft__loc::before { content: "⌖ "; color: var(--dv-green); }
.wl-dv-ft__col .wp-block-navigation { gap: 0.55rem; font-size: 0.9375rem; }
.wl-dv-ft__col .wp-block-navigation a { color: var(--dv-muted); text-decoration: none; }
.wl-dv-ft__col .wp-block-navigation a:hover { color: var(--dv-green); }
.wl-dv-ft__social { font-size: 1.25rem; gap: 0.9rem !important; }
.wl-dv-ft__social .wp-social-link { color: var(--dv-ink) !important; background: none !important; }
.wl-dv-ft__social .wp-social-link:hover { color: var(--dv-green) !important; }
.wl-dv-ft__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; padding: 0.7rem 1rem; border-radius: 0.6rem; background: color-mix(in srgb, var(--dv-ink) 4%, transparent); border: 1px solid var(--dv-line); }
.wl-dv-ft__st { font-family: var(--dv-mono); font-size: 0.75rem; color: var(--dv-muted); }
.wl-dv-ft__st.is-branch { color: var(--dv-cyan); direction: ltr; }
.wl-dv-ft__st.is-branch::before { content: "⎇ "; }
.wl-dv-ft__st.is-ok::before { content: "● "; color: var(--dv-green); }
.wl-dv-ft__st.is-copy { margin-inline-start: auto !important; font-family: inherit; }

/* ============ الگوهای دیگر پوسته در سایت تیره ============ */
body:has(.wl-dv-hd) .weesa-eyebrow { font-family: "JetBrains Mono", var(--wp--preset--font-family--vazirmatn), monospace; font-style: normal; font-weight: 400; font-size: 0.8125rem; color: var(--wp--preset--color--primary); }
.wl-dv ~ * .is-style-card, body:has(.wl-dv-hd) .is-style-card { background: var(--wp--preset--color--surface); }

/* ============ موبایل ============ */
@media (max-width: 1080px) {
	.wl-dv-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wl-dv-plans.is-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.wl-dv-hero, .wl-dv-case, .wl-dv-who, .wl-dv-contact { grid-template-columns: 1fr; }
	.wl-dv-hero { min-height: 0; }
	.wl-dv-hero__win { transform: none; }
	.wl-dv-svcs, .wl-dv-svcs.is-2, .wl-dv-svcs.is-4, .wl-dv-pjs, .wl-dv-rvs, .wl-dv-rvs.is-2, .wl-dv-plans, .wl-dv-plans.is-2 { grid-template-columns: 1fr; }
	.wl-dv-stage:not(:last-child)::after { inset-inline-end: auto; inset-inline-start: 1.8rem; top: auto; bottom: -1rem; width: 2px; height: 1rem; }
	.wl-dv-ft__grid { grid-template-columns: 1fr 1fr; }
	.wl-dv-ft__grid > :first-child { grid-column: 1 / -1; }
	.wl-dv-note { position: static; }
	.wl-dv-who__fig.has-img .wl-dv-who__win { margin: -3rem 1rem 0 !important; }
}
@media (max-width: 600px) {
	.wl-dv-stats { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
	.wl-dv-stat { padding: 0.9rem 0.9rem 0; }
	.wl-dv-spark { margin-inline: -0.9rem !important; }
	.wl-dv-line { font-size: 0.75rem; }
	.wl-dv-fact { padding-inline-end: 1rem; margin-inline-end: 1rem !important; }
	.wl-dv-case__ms { grid-template-columns: 1fr 1fr 1fr; }
	.wl-dv-case__m { padding: 0.75rem 0.6rem; }
	.wl-dv-layer { grid-template-columns: 1fr; gap: 0.4rem; }
	.wl-dv-layer + .wl-dv-layer::before { left: 50%; }
	.wl-dv-hd__mark a { min-width: 2.3rem; height: 2.3rem; }
	.wl-dv-hd .wp-block-buttons { display: none; }
	.wl-dv-ft__bar .is-copy { margin-inline-start: 0 !important; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.wl-dv *, .wl-dv *::before, .wl-dv *::after { animation: none !important; transition: none !important; }
	.wl-dv-hero__win { transform: none; }
}
