/*
 * Shared by every funnel page: fonts, reset, the 1600px stage, buttons and the footer.
 * Pixel values are Figma's. Figma rounds "auto" line-height to whole pixels
 * (Assistant: 1.308em), so line-heights are written out in px.
 */

@font-face {
	font-family: "SQP Assistant";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/assistant-hebrew.woff2) format("woff2");
	unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
	font-family: "SQP Assistant";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/assistant-latin-ext.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "SQP Assistant";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url(../fonts/assistant-latin.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------ base */

body.sqp-body {
	margin: 0;
	background: #fff;
}

.sqp {
	zoom: var(--sqp-zoom, 1);
	direction: rtl;
	overflow-x: hidden;
	font-family: "SQP Assistant", Arial, sans-serif;
	font-weight: 400;
	color: #000;
	text-align: right;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

/* :where() keeps the reset at zero specificity so section rules always win. */
:where(.sqp) :where(h1, h2, h3, h4, p, ol, ul, li, figure, blockquote) {
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	letter-spacing: normal;
}

:where(.sqp) img {
	display: block;
	max-width: none;
	border: 0;
}

/*
 * Embedded players and the calendar render at the screen's real size: Safari (every browser on
 * iPhone) lays out an iframe inside a zoomed page at the wrong scale, so Vimeo's control bar and
 * YouTube's picture end up cropped or shifted. Their boxes are sized in %, so this only changes
 * what happens inside them.
 */
.sqp iframe {
	zoom: var(--sqp-unzoom, 1);
}

.sqp .sqp-stage {
	position: relative;
	width: 1600px;
	margin: 0 auto;
}

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

/* Shared: green button. Label box positions come from Figma per instance. */
.sqp .sqp-btn {
	position: relative;
	display: block;
	padding: 0;
	border: 0;
	border-radius: 5px;
	background: #b6cd96;
	color: #000;
	font-family: inherit;
	font-size: 32px;
	font-weight: 700;
	line-height: 42px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.sqp .sqp-btn > span {
	position: absolute;
	text-align: center;
	white-space: nowrap;
}
.sqp .sqp-btn:hover {
	background: #a9c486;
}
.sqp .sqp-btn:focus-visible {
	outline: 3px solid #ffe3a3;
	outline-offset: 3px;
}

.sqp [hidden] {
	display: none !important;
}

/* Video frame (registration and watch hero): 780×393 placeholder, or the video at its own ratio. */
.sqp .sqp-vsl {
	position: relative;
	width: 780px;
	height: 393px;
	margin: 45px auto 0;
	background: #fff;
	border: 1px solid #000;
	color: #000;
}
.sqp .sqp-vsl__label {
	position: absolute;
	top: 40.71px;
	left: 268px;
	width: 241px;
	font-size: 35px;
	line-height: 46px;
	text-align: center;
	white-space: nowrap;
}
.sqp .sqp-vsl__play {
	position: absolute;
	top: 149.7px;
	left: 343.1375px;
	width: 92.2255px;
	height: 92.2255px;
}
.sqp .sqp-vsl.has-video {
	border: 0;
	background: #000;
}
/* vsl.js: on touch screens, a tap anywhere on the paused picture resumes it (Vimeo's bar stays usable). */
.sqp .sqp-vsl__tap {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 56px;
	left: 0;
	z-index: 1;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}
.sqp .sqp-vsl__player,
.sqp .sqp-vsl__player > * {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ------------------------------------------------------------------ footer (106:522) */

.sqp .sqp-footer {
	background: #fff;
}
.sqp .sqp-footer__inner {
	height: 145px;
}
.sqp .sqp-footer__inner > * {
	position: absolute;
	color: #000;
	line-height: 75px;
	white-space: pre;
	text-decoration: none;
	transform: translateX(-50%);
}
/*
 * "מדיניות פרטיות | תקנון | הצהרת נגישות": one row centred where Figma's two links were (x=800),
 * with Figma's spacing around each "|" (20.76px to its right, 13.75px to its left).
 */
.sqp .sqp-footer__links {
	top: 11px; /* 10px in Figma, +1 for Chrome's half-leading rounding at 22px/75px. */
	left: 800px;
	display: flex;
	align-items: flex-start;
	font-size: 22px;
}
.sqp .sqp-footer__links > * {
	color: inherit;
	text-decoration: none;
}
.sqp .sqp-footer__sep {
	margin: 0 20.76px 0 13.75px;
	font-size: 26px;
}
.sqp .sqp-footer__copy {
	top: 60px;
	left: 799.5px;
	font-size: 18px;
	font-weight: 700;
}
.sqp .sqp-footer__links > a:hover {
	text-decoration: underline;
}
/* Figma has it at left 28px; moved in to 60px on request so it doesn't hug the edge. */
.sqp .sqp-footer__credit {
	top: 43px;
	left: 60px;
	transform: none;
	transition: opacity 0.2s ease;
}
.sqp .sqp-footer__credit img {
	width: 298px;
	height: 60px;
	object-fit: cover;
}
.sqp .sqp-footer__credit:hover {
	opacity: 0.8;
}

@media (prefers-reduced-motion: reduce) {
	.sqp *,
	.sqp *::before,
	.sqp *::after {
		transition: none !important;
		animation: none !important;
	}
}
