/* ==========================================================================
   דף הבית 2026 · WebDigital
   בסיס עיצובי (משימה 2). רצפת הטעם לפי wd-page-craft.
   הכל תחום תחת .wd-home כדי לא לגעת ב-header/footer של Elementor.
   ========================================================================== */

:root {
	/* צבע: שישה תפקידים, אקסנט אחד. מבוסס על צבעי המותג הקיימים (Elementor kit). */
	--wd-canvas: #111328;      /* רקע המותג */
	--wd-surface: #191c39;     /* משטח מורם */
	--wd-ink: #f3f1fa;         /* טקסט ראשי, לא לבן טהור */
	--wd-ink-soft: #a9a7c7;    /* טקסט משני, בגוון הרקע */
	--wd-accent: #fd05b6;      /* ורוד המותג */
	--wd-accent-ink: #111328;  /* טקסט על האקסנט (5:1, לבן נכשל ב-3.6:1) */

	--wd-edge: rgba(255, 255, 255, 0.07);           /* קו אור עליון למשטחים */
	--wd-shadow-1: 0 2px 6px rgba(5, 6, 18, 0.35);
	--wd-shadow-2: 0 10px 24px rgba(5, 6, 18, 0.45);
	--wd-shadow-3: 0 24px 48px rgba(5, 6, 18, 0.55);

	/* טיפוגרפיה: Rubik כבר נטען באתר (פונט המותג), אין בקשה נוספת */
	--wd-font: "Rubik", system-ui, sans-serif;
	--wd-t-sm: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
	--wd-t-base: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	--wd-t-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
	--wd-t-xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
	--wd-t-2xl: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);
	--wd-t-3xl: clamp(2.4rem, 1.4rem + 4.6vw, 5.2rem);
	--wd-track-tight: -0.02em;
	--wd-measure: 62ch;

	/* ריווח: בסיס 4px */
	--wd-1: 0.25rem; --wd-2: 0.5rem; --wd-3: 0.75rem; --wd-4: 1rem;
	--wd-5: 1.5rem;  --wd-6: 2rem;   --wd-7: 3rem;    --wd-8: 4rem;
	--wd-9: 6rem;    --wd-10: 8rem;  --wd-11: 10rem;
	--wd-section: clamp(4rem, 3rem + 6vw, 9rem);
	--wd-gutter: clamp(1rem, 0.5rem + 3vw, 2.5rem);
	--wd-header-h: 84px; /* ה-header של Elementor הוא fixed */

	--wd-radius: 14px;
	--wd-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ---------- בסיס ---------- */

/* ה-theme שם overflow-x:hidden על html ו-body. ב-body זה יוצר קונטיינר גלילה ושובר position:sticky.
   clip חוסם גלילה אופקית בלי לייצר קונטיינר גלילה. */
html:has(.wd-home),
body:has(.wd-home) { overflow-x: clip !important; }

.wd-home {
	direction: rtl;
	background: var(--wd-canvas);
	color: var(--wd-ink);
	font-family: var(--wd-font);
	font-size: var(--wd-t-base);
	line-height: 1.7; /* עברית בהיר על כהה: קצת יותר מהרגיל */
	letter-spacing: 0.005em;
	-webkit-font-smoothing: antialiased;
}

.wd-home *,
.wd-home *::before,
.wd-home *::after { box-sizing: border-box; }

.wd-home h1, .wd-home h2, .wd-home h3 {
	color: var(--wd-ink);
	font-family: var(--wd-font);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: var(--wd-track-tight);
	text-wrap: balance;
	margin: 0;
}
.wd-home h1 { font-size: var(--wd-t-3xl); }
.wd-home h2 { font-size: var(--wd-t-2xl); margin-block: var(--wd-7) var(--wd-4); } /* יותר רווח מעל מאשר מתחת */
.wd-home h3 { font-size: var(--wd-t-lg); margin-block: var(--wd-5) var(--wd-2); }

.wd-home p { margin: 0 0 var(--wd-4); max-width: var(--wd-measure); text-wrap: pretty; }
.wd-home .wd-soft { color: var(--wd-ink-soft); }

.wd-home a { color: var(--wd-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.wd-home a:hover { text-decoration-color: var(--wd-accent); }

.wd-home ::selection { background: var(--wd-accent); color: var(--wd-accent-ink); }

/* פוקוס נראה, בצבע האקסנט */
.wd-home :focus-visible {
	outline: 2px solid var(--wd-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

/* ---------- פריסה ---------- */

.wd-wrap {
	max-width: 76rem;
	margin-inline: auto;
	padding-inline: var(--wd-gutter);
}
.wd-section { padding-block: var(--wd-section); }

/* ---------- כפתור ---------- */

.wd-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--wd-2);
	padding: 0.85em 1.6em;
	border: 0;
	border-radius: 999px;
	background: var(--wd-accent);
	color: var(--wd-accent-ink);
	font: 600 var(--wd-t-base) / 1 var(--wd-font);
	white-space: nowrap;
	text-decoration: none;
	box-shadow: var(--wd-shadow-1);
	transition: transform 140ms var(--wd-ease-out), box-shadow 160ms var(--wd-ease-out);
	cursor: pointer;
}
.wd-home a.wd-btn { color: var(--wd-accent-ink); }
.wd-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
	.wd-btn:hover { box-shadow: var(--wd-shadow-2); transform: translateY(-1px); }
}

/* ---------- Hero (שלד) ---------- */

.wd-hero {
	padding-block: calc(var(--wd-header-h) + var(--wd-9)) var(--wd-8);
	min-height: min(92svh, 56rem);
	display: flex;
	align-items: center;
}
.wd-hero { position: relative; overflow: hidden; }
.wd-hero > .wd-wrap { width: 100%; position: relative; z-index: 1; }
.wd-hero__title { max-width: 14ch; margin-bottom: var(--wd-5); }
.wd-hero__lead { font-size: var(--wd-t-lg); color: var(--wd-ink-soft); max-width: 44ch; margin-bottom: var(--wd-6); }
.wd-hero__meta { margin: var(--wd-5) 0 0; font-size: var(--wd-t-sm); letter-spacing: 0.02em; }
@media (max-width: 700px) {
	.wd-home h1 { font-size: var(--wd-t-2xl); }
}

/* רשת הצמתים: שתי שכבות שזזות בקצב שונה (parallax, home.js) */
.wd-hero__net { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.wd-net { position: absolute; inset: -6% 0; width: 100%; height: 112%; will-change: transform; }
.wd-net__lines path { fill: none; stroke: var(--wd-ink); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wd-net--far { opacity: 0.12; filter: blur(0.5px); }
.wd-net--near .wd-net__lines path { stroke: var(--wd-accent); stroke-dasharray: 600; stroke-dashoffset: 600; animation: wd-draw 2.4s var(--wd-ease-out) 0.4s forwards; }
.wd-net--near { opacity: 0.5; }
.wd-net__nodes circle { fill: var(--wd-ink); }
.wd-net__nodes--lit circle { fill: var(--wd-accent); }
@keyframes wd-draw { to { stroke-dashoffset: 0; } }
/* במובייל הרשת מאחורי הטקסט: מחלישים אותה כדי לא לפגוע בקריאות */
@media (max-width: 760px) { .wd-hero__net { opacity: 0.55; } }

/* ---------- חשיפה בגלילה (home.js מוסיף .is-in) ---------- */

.wd-js .wd-reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 600ms var(--wd-ease-out), transform 600ms var(--wd-ease-out);
}
.wd-js .wd-reveal.is-in { opacity: 1; transform: none; }

/* פחות ועדין יותר, לא אפס: נשארת רק השקיפות */
@media (prefers-reduced-motion: reduce) {
	.wd-js .wd-reveal { transform: none; transition: opacity 300ms linear; }
	.wd-btn { transition: none; }
}

.wd-home .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

/* ==========================================================================
   פעימה 2: מחיר. המסך מוצמד והשורות נכתבות לפי הגלילה (home.js מוסיף .is-on)
   ========================================================================== */

.wd-pain { position: relative; padding-bottom: 30vh; /* שקט מתוכנן לפני השיא */ }
.wd-pain__list { list-style: none; margin: var(--wd-6) 0; padding: 0; display: grid; gap: var(--wd-3); }
.wd-pain__item {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--wd-2) var(--wd-3);
	font-size: var(--wd-t-xl); line-height: 1.25; font-weight: 500;
}
.wd-pain__arrow { color: var(--wd-accent); }
.wd-pain__to { color: var(--wd-ink-soft); }
.wd-pain__close { font-size: var(--wd-t-lg); max-width: 40ch; }

.wd-scroll-on .wd-pain { height: 280vh; padding-bottom: 0; margin-bottom: 30vh; }
.wd-scroll-on .wd-pain__stage {
	position: sticky; top: 0; min-height: 100svh;
	display: flex; align-items: center; padding-top: var(--wd-header-h);
}
.wd-scroll-on .wd-pain__item,
.wd-scroll-on .wd-pain__close {
	opacity: 0.12;
	transform: translateX(-12px);
	transition: opacity 450ms var(--wd-ease-out), transform 450ms var(--wd-ease-out);
}
.wd-scroll-on .wd-pain__item.is-on,
.wd-scroll-on .wd-pain__close.is-on { opacity: 1; transform: none; }

/* ==========================================================================
   פעימה 3: מהלך החתימה. "בנו את החיבור שלכם"
   ========================================================================== */

.wd-build { padding-top: var(--wd-section); }
.wd-build__intro { font-size: var(--wd-t-lg); }

.wd-builder { margin-top: var(--wd-7); display: grid; gap: var(--wd-6); }
@media (min-width: 960px) {
	.wd-builder { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
}

.wd-builder__pick {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--wd-4);
	position: relative;
}
@media (min-width: 600px) {
	.wd-builder__pick { grid-template-columns: 1fr 5rem 1fr; gap: 0; }
}

.wd-builder__col { border: 0; margin: 0; padding: 0; display: grid; gap: var(--wd-3); align-content: start; min-width: 0; }
.wd-builder__col legend {
	font-size: var(--wd-t-sm); color: var(--wd-ink-soft); padding: 0; margin-bottom: var(--wd-3);
	letter-spacing: 0.02em;
}

.wd-chip {
	position: relative;
	display: flex; align-items: center; gap: var(--wd-3);
	min-height: 3.25rem;
	padding: var(--wd-3) var(--wd-4);
	border-radius: var(--wd-radius);
	background: var(--wd-surface);
	box-shadow: inset 0 1px 0 var(--wd-edge), var(--wd-shadow-1);
	cursor: pointer;
	font-size: var(--wd-t-base);
	line-height: 1.3;
	transition: box-shadow 160ms var(--wd-ease-out), transform 120ms var(--wd-ease-out), background-color 160ms var(--wd-ease-out);
}
.wd-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wd-chip__dot {
	flex: none; width: 0.75rem; height: 0.75rem; border-radius: 50%;
	border: 2px solid var(--wd-ink-soft);
	transition: background-color 160ms var(--wd-ease-out), border-color 160ms var(--wd-ease-out);
}
.wd-chip:has(input:checked) {
	background: #222650;
	box-shadow: inset 0 1px 0 var(--wd-edge), 0 0 0 2px var(--wd-accent), var(--wd-shadow-2);
}
.wd-chip:has(input:checked) .wd-chip__dot { background: var(--wd-accent); border-color: var(--wd-accent); }
.wd-chip:has(input:focus-visible) { outline: 2px solid var(--wd-accent); outline-offset: 3px; }
.wd-chip:active { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
	.wd-chip:hover { box-shadow: inset 0 1px 0 var(--wd-edge), var(--wd-shadow-2); }
}

/* החוט בין שתי הבחירות */
.wd-builder__wire { display: none; }
@media (min-width: 600px) {
	.wd-builder__wire { display: block; width: 100%; height: 100%; overflow: visible; }
	.wd-builder__path {
		fill: none; stroke: var(--wd-accent); stroke-width: 2; vector-effect: non-scaling-stroke;
		stroke-linecap: round;
		filter: drop-shadow(0 2px 6px rgba(253, 5, 182, 0.35));
	}
	.wd-builder__path.is-drawing { animation: wd-wire 520ms var(--wd-ease-out); }
}
@keyframes wd-wire { from { stroke-dasharray: 1 400; stroke-dashoffset: 0; } to { stroke-dasharray: 400 0; stroke-dashoffset: 0; } }

/* התוצאה: רק התהליך שנבחר מוצג. ‏:has עובד גם בלי JS. */
.wd-builder__result {
	position: relative;
	padding: var(--wd-6);
	border-radius: calc(var(--wd-radius) + 6px);
	background: var(--wd-surface);
	box-shadow: inset 0 1px 0 var(--wd-edge), var(--wd-shadow-3);
	min-height: 22rem;
	display: flex; flex-direction: column;
}
.wd-flow { display: none; }
.wd-flow__title { font-size: var(--wd-t-lg); margin: 0 0 var(--wd-5) !important; }
.wd-flow__title span[aria-hidden] { color: var(--wd-accent); padding-inline: 0.2em; }
.wd-flow__steps { list-style: none; margin: 0; padding: 0; counter-reset: wd-step; display: grid; gap: var(--wd-4); }
.wd-flow__steps li {
	counter-increment: wd-step;
	position: relative;
	padding-inline-start: 2.75rem;
	min-height: 2rem;
}
.wd-flow__steps li::before {
	content: counter(wd-step);
	position: absolute; inset-inline-start: 0; top: -0.1rem;
	width: 2rem; height: 2rem; border-radius: 50%;
	display: grid; place-items: center;
	font-size: var(--wd-t-sm); font-weight: 600;
	background: var(--wd-canvas); color: var(--wd-ink);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.wd-flow__steps li:not(:last-child)::after {
	content: ""; position: absolute; inset-inline-start: 1rem; top: 2.1rem; bottom: calc(-1 * var(--wd-4) + 0.1rem);
	width: 1px; background: rgba(255, 255, 255, 0.14);
}
.wd-flow.is-animating .wd-flow__steps li {
	animation: wd-step-in 420ms var(--wd-ease-out) both;
	animation-delay: calc(var(--n) * 70ms);
}
@keyframes wd-step-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.wd-builder__note { font-size: var(--wd-t-sm); margin: var(--wd-6) 0 var(--wd-5); }
.wd-builder__cta { align-self: flex-start; margin-top: auto; }

/* 16 הצירופים */
.wd-builder:has([name=wd-src][value=wa]:checked):has([name=wd-dst][value=crm]:checked) [data-flow=wa-crm],
.wd-builder:has([name=wd-src][value=wa]:checked):has([name=wd-dst][value=invoice]:checked) [data-flow=wa-invoice],
.wd-builder:has([name=wd-src][value=wa]:checked):has([name=wd-dst][value=calendar]:checked) [data-flow=wa-calendar],
.wd-builder:has([name=wd-src][value=wa]:checked):has([name=wd-dst][value=team]:checked) [data-flow=wa-team],
.wd-builder:has([name=wd-src][value=form]:checked):has([name=wd-dst][value=crm]:checked) [data-flow=form-crm],
.wd-builder:has([name=wd-src][value=form]:checked):has([name=wd-dst][value=invoice]:checked) [data-flow=form-invoice],
.wd-builder:has([name=wd-src][value=form]:checked):has([name=wd-dst][value=calendar]:checked) [data-flow=form-calendar],
.wd-builder:has([name=wd-src][value=form]:checked):has([name=wd-dst][value=team]:checked) [data-flow=form-team],
.wd-builder:has([name=wd-src][value=shop]:checked):has([name=wd-dst][value=crm]:checked) [data-flow=shop-crm],
.wd-builder:has([name=wd-src][value=shop]:checked):has([name=wd-dst][value=invoice]:checked) [data-flow=shop-invoice],
.wd-builder:has([name=wd-src][value=shop]:checked):has([name=wd-dst][value=calendar]:checked) [data-flow=shop-calendar],
.wd-builder:has([name=wd-src][value=shop]:checked):has([name=wd-dst][value=team]:checked) [data-flow=shop-team],
.wd-builder:has([name=wd-src][value=sheet]:checked):has([name=wd-dst][value=crm]:checked) [data-flow=sheet-crm],
.wd-builder:has([name=wd-src][value=sheet]:checked):has([name=wd-dst][value=invoice]:checked) [data-flow=sheet-invoice],
.wd-builder:has([name=wd-src][value=sheet]:checked):has([name=wd-dst][value=calendar]:checked) [data-flow=sheet-calendar],
.wd-builder:has([name=wd-src][value=sheet]:checked):has([name=wd-dst][value=team]:checked) [data-flow=sheet-team] { display: block; }

/* ==========================================================================
   פעימה 4: ממשות. pan לרוחב בדסקטופ, רשימה רגילה במובייל
   ========================================================================== */

.wd-process { padding-block: var(--wd-section); }
.wd-process__track {
	list-style: none; margin: var(--wd-6) 0; padding: 0 var(--wd-gutter);
	display: grid; gap: var(--wd-5);
	max-width: 76rem; margin-inline: auto;
}
.wd-process__step {
	padding: var(--wd-6);
	border-radius: var(--wd-radius);
	background: var(--wd-surface);
	box-shadow: inset 0 1px 0 var(--wd-edge), var(--wd-shadow-1);
}
.wd-process__step h3 { margin-top: var(--wd-3) !important; }
.wd-process__step p { color: var(--wd-ink-soft); margin: 0; }
.wd-process__num {
	font-size: var(--wd-t-2xl); font-weight: 700; line-height: 1;
	color: transparent; -webkit-text-stroke: 1px var(--wd-accent);
}
.wd-process__note { font-size: var(--wd-t-lg); font-weight: 500; }

@media (min-width: 960px) {
	.wd-scroll-on .wd-process { height: 260vh; padding-block: 0; }
	.wd-scroll-on .wd-process__stage {
		position: sticky; top: 0; min-height: 100svh; overflow: hidden;
		display: flex; flex-direction: column; justify-content: center; padding-top: var(--wd-header-h);
	}
	.wd-scroll-on .wd-process__track {
		display: flex; gap: var(--wd-6);
		width: max-content; max-width: none;
		padding-inline: max(var(--wd-gutter), calc((100vw - 76rem) / 2 + var(--wd-gutter)));
		transform: translate3d(var(--wd-pan, 0px), 0, 0);
		will-change: transform;
	}
	.wd-scroll-on .wd-process__step { width: min(26rem, 34vw); }
}

/* ==========================================================================
   פעימה 5: טווח. עריכתי וא-סימטרי, בלי רשת כרטיסים זהים
   ========================================================================== */

.wd-range__grid { display: grid; gap: var(--wd-7) var(--wd-8); margin-top: var(--wd-6); }
@media (min-width: 900px) {
	.wd-range__grid { grid-template-columns: 1.35fr 1fr; }
	.wd-range__item--lead { grid-row: span 2; }
	.wd-range__item--products { grid-column: 1 / -1; }
}
.wd-range__item { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: var(--wd-5); }
.wd-range__item h3 { margin-top: 0 !important; }
.wd-range__item p { color: var(--wd-ink-soft); }
.wd-range__item--lead h3 { font-size: var(--wd-t-xl); }
.wd-range__item--lead p { font-size: var(--wd-t-lg); color: var(--wd-ink); }
.wd-range__item--products {
	border-top: 0;
	padding: var(--wd-6);
	border-radius: calc(var(--wd-radius) + 6px);
	background: var(--wd-surface);
	box-shadow: inset 0 1px 0 var(--wd-edge), var(--wd-shadow-2);
}
.wd-products { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--wd-6); }
@media (min-width: 900px) { .wd-products { grid-template-columns: 1fr 1.4fr; } }
.wd-products li { display: grid; gap: var(--wd-2); align-content: start; }
.wd-products strong { font-size: var(--wd-t-lg); font-weight: 600; }
.wd-products span { color: var(--wd-ink-soft); }
.wd-range__item--quiet p { font-size: var(--wd-t-sm); }

.wd-more { font-weight: 500; text-decoration-color: var(--wd-accent) !important; }
.wd-more::after { content: " ←"; color: var(--wd-accent); }
.wd-links { display: flex; flex-wrap: wrap; gap: var(--wd-2) var(--wd-5); }

/* ==========================================================================
   פעימה 6: אנשים
   ========================================================================== */

.wd-people__split { display: grid; gap: var(--wd-6); align-items: center; }
@media (min-width: 900px) { .wd-people__split { grid-template-columns: auto 1fr; gap: var(--wd-9); } }
.wd-people__years {
	margin: 0; font-size: clamp(7rem, 4rem + 12vw, 15rem); font-weight: 700; line-height: 0.85;
	letter-spacing: -0.05em; color: var(--wd-ink);
	display: flex; flex-direction: column; align-items: flex-start;
}
.wd-people__years span { font-size: var(--wd-t-lg); font-weight: 500; letter-spacing: 0; color: var(--wd-accent); margin-top: var(--wd-3); }
.wd-people__text h2 { margin-top: 0 !important; }
.wd-people__list { margin: var(--wd-6) 0 0; display: grid; gap: var(--wd-2) var(--wd-5); }
@media (min-width: 600px) { .wd-people__list { grid-template-columns: auto 1fr; } }
.wd-people__list dt { font-weight: 600; }
.wd-people__list dd { margin: 0 0 var(--wd-3); color: var(--wd-ink-soft); }

/* ==========================================================================
   שאלות נפוצות
   ========================================================================== */

.wd-faq__list { max-width: 52rem; margin-top: var(--wd-5); }
.wd-faq__item { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.wd-faq__item:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.wd-faq__item summary {
	list-style: none; cursor: pointer;
	display: flex; justify-content: space-between; align-items: center; gap: var(--wd-4);
	padding: var(--wd-5) 0;
	font-size: var(--wd-t-lg); font-weight: 500;
}
.wd-faq__item summary::-webkit-details-marker { display: none; }
.wd-faq__item summary::after {
	content: "+"; flex: none; font-size: 1.4em; line-height: 1; color: var(--wd-accent);
	transition: transform 200ms var(--wd-ease-out);
}
.wd-faq__item[open] summary::after { transform: rotate(45deg); }
.wd-faq__item p { color: var(--wd-ink-soft); padding-bottom: var(--wd-5); margin: 0; }

/* ==========================================================================
   פעימה 7: מחויבות (טופס)
   ========================================================================== */

.wd-contact__split { display: grid; gap: var(--wd-7); align-items: start; }
@media (min-width: 900px) { .wd-contact__split { grid-template-columns: 1fr 1.1fr; } }
.wd-contact h2 { margin-top: 0 !important; }

.wd-form {
	display: grid; gap: var(--wd-5);
	padding: var(--wd-6);
	border-radius: calc(var(--wd-radius) + 6px);
	background: var(--wd-surface);
	box-shadow: inset 0 1px 0 var(--wd-edge), var(--wd-shadow-3);
}
.wd-field { display: grid; gap: var(--wd-2); }
.wd-field label { font-size: var(--wd-t-sm); color: var(--wd-ink-soft); }
.wd-field input,
.wd-field textarea {
	width: 100%;
	padding: 0.8em 1em;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 10px;
	background: var(--wd-canvas);
	color: var(--wd-ink);
	font: inherit;
	caret-color: var(--wd-accent);
	transition: border-color 160ms var(--wd-ease-out), box-shadow 160ms var(--wd-ease-out);
}
.wd-field input[dir=ltr] { text-align: right; }
.wd-field textarea { resize: vertical; min-height: 7rem; }
.wd-field input:focus,
.wd-field textarea:focus { outline: none; border-color: var(--wd-accent); box-shadow: 0 0 0 3px rgba(253, 5, 182, 0.25); }
.wd-field.is-invalid input { border-color: #ff8a8a; }
.wd-form .wd-btn { justify-self: start; }
.wd-form .wd-btn[disabled] { opacity: 0.6; cursor: wait; }
.wd-form__hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wd-form__status { margin: 0; min-height: 1.5em; font-size: var(--wd-t-sm); }
.wd-form__status.is-error { color: #ff9e9e; }
.wd-form__status.is-ok { color: var(--wd-ink); font-weight: 500; }

/* ==========================================================================
   reduced motion: בלי הצמדות, בלי pan, בלי parallax. נשארת שקיפות.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.wd-net { transform: none !important; }
	.wd-net--near .wd-net__lines path { animation: none; stroke-dashoffset: 0; }
	.wd-flow.is-animating .wd-flow__steps li { animation: none; }
	.wd-builder__path.is-drawing { animation: none; }
	.wd-chip, .wd-faq__item summary::after { transition: none; }
}

/* grain עדין על הרקע הכהה, כדי שלא יהיה banding */
.wd-home { position: relative; isolation: isolate; }
.wd-home::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.045;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
