/*
 * Registration page: desktop layout from the 1600px Figma frame "דף נחיתה (הרשמה)".
 * Shared pieces (fonts, reset, buttons, footer) live in base.css.
 */

/* Shared: white card with the dark-green outline from "בהדרכה החינמית תגלה". */
.sqp .sqp-card,
.sqp .sqp-discover__card {
	background: #fff;
	border: 2px solid #2d3e2d;
	border-radius: 10px;
	/* Figma: blur 6 / spread 1.5. Figma's blur is tighter than CSS's; 5px / 1px matches
	   its rendered falloff (checked against the Figma export). */
	box-shadow:
		0 0 5px 1px rgba(45, 62, 45, 0.25),
		0 4px 5px 0 rgba(45, 62, 45, 0.25),
		4px 0 5px 0 rgba(45, 62, 45, 0.25);
}

/* ------------------------------------------------------------------ hero (98:6) */

.sqp .sqp-hero {
	position: relative;
	overflow: hidden;
	background: #1e1e1e;
	color: #fff;
	text-align: center;
}

/* Anchored to the 1600px frame like in Figma; grows only on screens wider than the photo (2342px). */
.sqp .sqp-hero__bg {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: max(1600px, 100vw / 1.4638);
	transform: translateX(-50%);
	opacity: 0.15;
	pointer-events: none;
}
.sqp .sqp-hero__bg img {
	position: absolute;
	left: -23.19%;
	top: -58.09%;
	width: 146.38%;
	height: 158.35%;
	object-fit: cover;
}

.sqp .sqp-hero__inner {
	padding: 89px 0 54px;
}

.sqp .sqp-hero__kicker {
	width: 1120px;
	margin: 0 auto;
	font-size: 30px;
	line-height: 38px;
	text-decoration: underline;
	/* Figma: 1.5px antialiased line centred 4px under the baseline. Chrome snaps to whole
	   pixels, so a 1px line on that centre row is the closest match. */
	text-decoration-thickness: 1px;
	text-underline-position: from-font;
	text-underline-offset: 1px;
}

.sqp .sqp-hero__title {
	width: 1020px;
	margin: 43px auto 0;
	font-size: 48px;
	font-weight: 700;
	line-height: 63px;
	color: #faf8f3;
}
.sqp .sqp-hero__title span {
	color: #ffe3a3;
}

.sqp .sqp-hero__sub {
	position: relative;
	left: -1px;
	width: 1120px;
	margin: 35px auto 0;
	font-size: 36px;
	line-height: 47px;
}

/* With a video the frame takes the video's own ratio (--sqp-ratio = height / width, from the admin). */
.sqp .sqp-hero .sqp-vsl[style] {
	height: calc(780px * var(--sqp-ratio));
}

.sqp .sqp-hero__cta {
	width: 720px;
	height: 71px;
	margin: 45px auto 0;
}
.sqp .sqp-hero__cta > span {
	top: 14.96px;
	left: 19.04px;
	right: 16px;
}

/* Optional line under the button: the watch page's note under its video (watch.css), in white. */
.sqp .sqp-hero__note {
	position: relative;
	top: 1px; /* Chrome floors the 0.5px half-leading of 22px/29px; Figma doesn't. */
	width: 780px;
	margin: 42px auto 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 29px;
	color: #fff;
}

/* ------------------------------------------------------------------ discover (99:348) */

.sqp .sqp-discover {
	padding: 45px 0;
	background: linear-gradient(to bottom, #ffe3a3, #fff);
}

.sqp .sqp-discover__title {
	position: relative;
	left: 2.5px;
	width: 1017px;
	margin: 0 auto;
	font-size: 48px;
	font-weight: 700;
	line-height: 63px;
	text-align: center;
}

.sqp .sqp-discover__list {
	display: flex;
	gap: 21px;
	width: 1182px;
	margin: 55px auto 0;
	list-style: none;
}

.sqp .sqp-discover__item {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 380px;
	padding-top: 25px;
}

/*
 * The 82px digits sit in a 25px line box and overflow it. background-clip:text only
 * paints inside the box, so the box is padded 30px each way. Figma's fill (black to
 * transparent #2d3e2d) runs from 1.5px above the line box to 48.75px below it, measured
 * off the Figma render. Figma blends it un-premultiplied (a green tint mid-fade) while
 * CSS blends premultiplied, so the in-between stops are written out.
 */
.sqp .sqp-discover__num {
	position: absolute;
	z-index: 1;
	top: -30px;
	left: 50%;
	width: 102.389px;
	margin-left: -51.7245px;
	padding: 30px 0 30px 4.1px; /* Figma has no trailing letter-spacing after the last digit; CSS does. */
	font-size: 82px;
	font-weight: 700;
	line-height: 25px;
	letter-spacing: 4.1px;
	text-align: center;
	color: transparent;
	background-image: linear-gradient(
		180.49deg,
		rgba(0, 0, 0, 1) 28.764px,
		rgba(5.62, 7.75, 5.62, 0.875) 35.045px,
		rgba(11.25, 15.5, 11.25, 0.75) 41.326px,
		rgba(16.88, 23.25, 16.88, 0.625) 47.608px,
		rgba(22.5, 31, 22.5, 0.5) 53.889px,
		rgba(28.12, 38.75, 28.12, 0.375) 60.17px,
		rgba(33.75, 46.5, 33.75, 0.25) 66.451px,
		rgba(39.38, 54.25, 39.38, 0.125) 72.733px,
		rgba(45, 62, 45, 0) 79.014px
	);
	-webkit-background-clip: text;
	background-clip: text;
}

.sqp .sqp-discover__card {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 154px;
	padding: 0 11.7222px;
}
.sqp .sqp-discover__card p {
	width: 352.556px;
	font-size: 18px;
	font-weight: 700;
	line-height: 25px;
	text-align: center;
}

/* ------------------------------------------------------------------ about (98:243) */

.sqp .sqp-about {
	padding: 62px 0 83px;
	background: #fff;
}

.sqp .sqp-about__title,
.sqp .sqp-h2 {
	width: 1020px;
	margin: 0 auto;
	font-size: 48px;
	font-weight: 700;
	line-height: 63px;
	text-align: center;
}

.sqp .sqp-about__row {
	display: flex;
	align-items: flex-start;
}
.sqp .sqp-about__row--1 {
	gap: 96px;
	width: 980px;
	margin: 49px 310px 0 0;
}
.sqp .sqp-about__row--2 {
	gap: 63px;
	width: 1087px;
	margin: 58px 223px 0 0;
}

.sqp .sqp-about__img1,
.sqp .sqp-about__img2 {
	flex: none;
	object-fit: cover;
}
.sqp .sqp-about__img1 {
	width: 284px;
	height: 504px;
}
.sqp .sqp-about__img2 {
	width: 424px;
	height: 667px;
}

.sqp .sqp-rich {
	position: relative;
	top: 1px; /* Chrome floors the 0.5px half-leading of 18px/24px; Figma doesn't. */
	flex: none;
	width: 600px;
	font-size: 18px;
	line-height: 24px;
}
.sqp .sqp-rich p {
	margin: 0 0 24px;
}
.sqp .sqp-rich p:last-child {
	margin-bottom: 0;
}
.sqp .sqp-rich strong,
.sqp .sqp-rich b {
	font-weight: 700;
}
.sqp .sqp-rich u,
.sqp .sqp-rich [style*="underline"] {
	text-decoration-thickness: from-font;
	text-underline-position: from-font;
}
.sqp .sqp-rich a {
	color: inherit;
}

/* Testimonials & FAQ: not in the Figma frame. Built from its type scale and card style,
   shown only when the admin adds items. */
.sqp .sqp-block {
	margin-top: 95px;
}

.sqp .sqp-reviews__grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
	gap: 32px 21px;
	width: 1182px;
	margin: 49px auto 0;
}

.sqp .sqp-review {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 380px;
	padding: 28px 24px;
}
.sqp .sqp-review__text {
	font-size: 18px;
	line-height: 24px;
}
.sqp .sqp-review__text p {
	margin: 0 0 12px;
}
.sqp .sqp-review__text p:last-child {
	margin: 0;
}
.sqp .sqp-review__author {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	font-size: 18px;
	font-weight: 700;
	line-height: 24px;
}
.sqp .sqp-review__avatar {
	width: 56px;
	height: 56px;
	border: 2px solid #ffe3a3;
	border-radius: 50%;
	object-fit: cover;
}
.sqp .sqp-review--image {
	padding: 12px 12px 18px;
}
.sqp .sqp-review--image .sqp-review__author {
	justify-content: center;
}
.sqp .sqp-review__shot {
	width: 100%;
	height: auto;
	border-radius: 6px;
}
.sqp .sqp-review__video {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 6px;
	background: #000;
}
.sqp .sqp-review__video.is-tall {
	aspect-ratio: 9 / 16;
}
.sqp .sqp-review__video > * {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.sqp .sqp-faq__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 780px;
	margin: 49px auto 0;
}
.sqp .sqp-faq__q button {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 20px 28px;
	border: 0;
	background: none;
	color: #000;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	line-height: 29px;
	text-align: right;
	cursor: pointer;
}
.sqp .sqp-faq__q button:focus-visible {
	outline: 3px solid #b6cd96;
	outline-offset: -3px;
	border-radius: 8px;
}
.sqp .sqp-faq__icon {
	position: relative;
	flex: none;
	width: 18px;
	height: 18px;
}
.sqp .sqp-faq__icon::before,
.sqp .sqp-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 18px;
	height: 2.5px;
	margin-top: -1.25px;
	border-radius: 2px;
	background: #2d3e2d;
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sqp .sqp-faq__icon::after {
	transform: rotate(90deg);
}
.sqp .sqp-faq__item.is-open .sqp-faq__icon::after {
	transform: rotate(0deg);
}
.sqp .sqp-faq__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sqp .sqp-faq__item.is-open .sqp-faq__a {
	grid-template-rows: 1fr;
}
.sqp .sqp-faq__a-inner {
	min-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: visibility 0.35s;
}
.sqp .sqp-faq__item.is-open .sqp-faq__a-inner {
	visibility: visible;
	transition: visibility 0s;
}
.sqp .sqp-faq__a-inner > div {
	padding: 0 28px 22px;
	font-size: 18px;
	line-height: 24px;
}
.sqp .sqp-faq__a-inner p {
	margin: 0 0 12px;
}
.sqp .sqp-faq__a-inner p:last-child {
	margin: 0;
}

/* ------------------------------------------------------------------ form (101:470) */

/* The card itself is in form.css (shared with the watch page). */
.sqp .sqp-formbox {
	margin-top: 95px;
}
