/* Fasto base: tokens, type, global resets. */
:root {
	--f-black: #0A0A0F;
	--f-night: #14141C;
	--f-night-2: #1C1C27;
	--f-white: #FFFFFF;
	--f-mist: #F4F5F8;
	--f-grey: #6B6B7A;
	--f-line: #E7E8EE;
	--f-purple: #8B2BFF;
	--f-blue: #3B6BFF;
	--f-cyan: #00E5FF;
	--f-grad: linear-gradient(100deg, #8B2BFF 0%, #3B6BFF 50%, #00E5FF 100%);
	--f-font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--f-blue-text: #2F56D9;
	--f-font-ar: 'Alexandria', 'Inter', system-ui, sans-serif;
	--f-radius: 18px;
	--f-radius-lg: 28px;
	--f-wrap: 1280px;
	--f-gutter: clamp(16px, 4vw, 40px);
	--f-header-h: 72px;
	--f-ease: cubic-bezier(.2, .7, .1, 1);
	--sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem; --sp-5: 1.5rem;
	--sp-6: 2rem; --sp-7: 2.5rem; --sp-8: 3rem; --sp-9: 3.5rem; --sp-10: 4rem; --sp-12: 6rem;
}

body.fasto {
	font-family: var(--f-font);
}
body.fasto:is([dir="rtl"] *, .rtl) {
	font-family: var(--f-font-ar);
}
body.fasto {
	color: var(--f-black);
	background: var(--f-mist);
	-webkit-font-smoothing: antialiased;
}

body.fasto :where(h1, h2, h3, h4) {
	font-family: var(--f-font);
	letter-spacing: -.025em;
	color: inherit;
}

body.fasto .ar,
body.fasto [lang="ar"] {
	font-family: var(--f-font-ar);
	direction: rtl;
	letter-spacing: 0;
}

/* Blocksy chrome replaced by Fasto's own header/footer. */
body.fasto #header,
body.fasto .ct-header,
body.fasto #footer,
body.fasto .ct-footer {
	display: none !important;
}

body.fasto :focus-visible {
	outline: 2px solid var(--f-cyan);
	outline-offset: 3px;
}

body.fasto .screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Gradient button used across the site (core/button with class fasto-btn). */
.fasto-btn .wp-block-button__link,
a.fasto-btn {
	background: var(--f-grad);
	color: #fff;
	border-radius: 999px;
	padding: 14px 26px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	box-shadow: 0 10px 30px -12px rgba(91, 70, 255, .75);
	transition: transform .25s var(--f-ease), box-shadow .25s var(--f-ease);
}
.fasto-btn .wp-block-button__link:hover,
a.fasto-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 36px -12px rgba(91, 70, 255, .9);
	color: #fff;
}
.fasto-btn-ghost .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	padding: 13px 24px;
	font-weight: 600;
	font-size: 15px;
	transition: border-color .25s, background .25s;
}
.fasto-btn-ghost .wp-block-button__link:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .06);
}

.fasto-btn-line .wp-block-button__link {
	background: transparent;
	color: var(--f-black);
	border: 1.5px solid var(--f-black);
	border-radius: 999px;
	padding: 13px 24px;
	font-weight: 700;
	font-size: 15px;
	transition: background .2s, color .2s;
}
.fasto-btn-line .wp-block-button__link:hover { background: var(--f-black); color: #fff; }
.rtl .fasto-btn .wp-block-button__link,
.rtl .fasto-btn-line .wp-block-button__link { font-family: var(--f-font-ar); }

::selection { background: #3B6BFF; color: #fff; }

@media (prefers-reduced-motion: reduce) {
	body.fasto * { transition: none !important; animation: none !important; }
}
