/* ============================================================
   Free widget page - Hebrew
   The sign-up form at the top keeps its own markup, styles and scripts (get-free-widget.ejs); this file only
   lines it up with the site frame. Below it, the page uses checker-new.css (.acn) and product.css (.pd),
   with the rules here scoped under .fw.
   ============================================================ */

/* ---------- The form, inside the site frame ---------- */

.fw-top {
	position: relative;
	padding: calc(68px + clamp(24px, 3vw, 40px)) 0 clamp(48px, 6vw, 80px);
	background: #f8f8fb;
}

/* The two frame lines, as on every other page */
.fw-top::before {
	content: "";
	position: absolute;
	inset-block: 0;
	left: 50%;
	width: min(1344px, calc(100% - 2 * clamp(12px, 3.4vw, 48px)));
	transform: translateX(-50%);
	border-inline: 1px solid #e6e7ea;
	pointer-events: none;
}

.fw-top #app {
	position: relative;
	margin: 0 !important;
}

/* The card fills the frame, with the site's line colour and corners */
.fw-top .gfw-card-outer {
	width: min(1344px, calc(100% - 2 * clamp(12px, 3.4vw, 48px)));
	max-width: none;
	border-color: #e6e7ea;
	border-radius: 6px;
	box-shadow: 0 24px 48px -32px rgba(20, 16, 40, 0.18);
}

.fw-top .gfw-right-col {
	border-color: #e6e7ea;
}

/* ---------- Below the form ---------- */

.fw .fw-lead {
	max-width: 620px;
	margin: 18px auto 0;
	color: var(--acn-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

/* Ruled cells (the three steps) */
.fw-cells {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-inline: 0;
	background: #ffffff;
}

.fw .fw-cell {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: clamp(24px, 3vw, 40px);
	border-inline-start: 1px solid var(--acn-line);
}

.fw .fw-cell:first-child {
	border-inline-start: 0;
}

.fw .fw-cell__num {
	margin-bottom: 18px;
	color: var(--acn-accent-hover);
	font-size: 0.9375rem;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}

.fw .fw-cell__title {
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.35;
}

.fw .fw-cell__text {
	color: var(--acn-muted);
	line-height: 1.6;
}

/* The four numbers under the steps */
.fw-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding-inline: 0;
	margin-top: clamp(40px, 5vw, 64px);
}

.fw .fw-stat {
	padding: 8px clamp(16px, 2.4vw, 32px);
	border-inline-start: 1px solid var(--acn-line);
	text-align: center;
}

.fw .fw-stat:first-child {
	border-inline-start: 0;
}

.fw .fw-stat__num {
	color: var(--acn-ink);
	font-size: clamp(2rem, 1.5rem + 1.4vw, 2.75rem);
	font-weight: 600;
	line-height: 1.1;
	font-variant-numeric: tabular-nums;
	direction: ltr;
	unicode-bidi: isolate;
}

.fw .fw-stat__text {
	margin-top: 6px;
	color: var(--acn-muted);
}

/* The photo row */
.fw .fw-why__media {
	background: var(--acn-soft);
}

.fw .fw-why__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fw .fw-actions {
	margin-top: 12px;
}

/* Plans comparison table */
.fw-table-wrap {
	padding-inline: 0;
	overflow-x: auto;
	background: #ffffff;
}

.fw .fw-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
	table-layout: fixed;
}

.fw .fw-table th,
.fw .fw-table td {
	padding: 16px clamp(12px, 2vw, 28px);
	border-bottom: 1px solid var(--acn-line);
	text-align: center;
	vertical-align: middle;
}

.fw .fw-table tbody th {
	font-weight: 400;
	text-align: right;
}

.fw .fw-table td,
.fw .fw-table thead th {
	border-inline-start: 1px solid var(--acn-line);
}

.fw .fw-table__corner {
	width: 34%;
}

.fw .fw-table thead th {
	padding-block: 28px;
	vertical-align: top;
}

.fw .fw-plan__name {
	display: block;
	font-size: 1.25rem;
	font-weight: 500;
}

.fw .fw-plan__desc {
	display: block;
	margin: 4px 0 16px;
	color: var(--acn-muted);
	font-size: 0.9375rem;
	font-weight: 400;
}

.fw .fw-plan__cta {
	width: 100%;
	max-width: 200px;
}

.fw .fw-plan__more {
	display: block;
	margin-top: 10px;
	color: var(--acn-accent-hover);
	font-size: 0.9375rem;
	font-weight: 400;
}

.fw .fw-table .is-ours {
	background: #f7f2fe;
}

.fw .fw-table__group th {
	padding-block: 12px;
	background: var(--acn-soft);
	color: var(--acn-muted);
	font-size: 0.9375rem;
	font-weight: 500;
	text-align: right;
}

.fw .fw-table__value {
	font-weight: 500;
}

.fw .fw-table tbody tr:last-child th,
.fw .fw-table tbody tr:last-child td {
	border-bottom: 0;
}

/* Ratings under the table */
.fw-ratings {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px 48px;
	margin-top: 40px;
}

.fw .fw-rating {
	display: flex;
	align-items: center;
	gap: 12px;
}

.fw .fw-rating img {
	display: block;
	height: 28px;
	width: auto;
}

.fw .fw-rating b {
	font-size: 1.0625rem;
	font-weight: 600;
}

@media (max-width: 991px) {
	.fw-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 28px;
	}

	.fw .fw-stat:nth-child(3) {
		border-inline-start: 0;
	}
}

@media (max-width: 767px) {
	.fw-cells {
		grid-template-columns: minmax(0, 1fr);
	}

	.fw .fw-cell {
		border-inline-start: 0;
	}

	.fw .fw-cell + .fw-cell {
		border-top: 1px solid var(--acn-line);
	}
}

/* Phone: the comparison scrolls sideways inside its frame; the plan buttons wrap instead of overflowing */
@media (max-width: 767px) {
	.fw .fw-table {
		min-width: 620px;
	}

	.fw .fw-plan__cta {
		min-height: 44px;
		padding-inline: 12px;
		white-space: normal;
		font-size: 0.9375rem;
	}
}
