/* ============================================================
   New look - homepage (global, English)
   Ported from the Hebrew homepage (he/css/home.css). Loaded after new-look/base.css and new-look/kit.css,
   which hold the frame, frame lines, dashed bands, type, buttons, tokens (--acn-*) and the dark-block
   pieces. This file adds the homepage's own parts: the hero photo, the four promises, the product cells,
   the legal tiles, the two-way switch, the disabilities carousel, the reasons grid, the free-scan card and
   the case study. Every rule is scoped under .hp (the page <main>).
   ============================================================ */

/* ---------- Shared ---------- */

/* Text links in the deeper purple: the primary purple is 4.4:1 on the soft grey, this one is 5.8:1 */
.hp .hp-faq__a a,
.hp .acn-faq__more a,
.hp .tabnav-privacy-policy-link a {
	color: var(--acn-accent-hover);
}

.hp .hp-head__lead {
	max-width: 640px;
	margin-top: 18px;
	color: var(--acn-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.hp .acn-head--center .hp-head__lead {
	margin-inline: auto;
}

/* The frame lines run above every panel, so a white card never hides one */
.hp .acn-sec::before {
	z-index: 3;
}

/* ============================================================
   1. HERO: text and photo, four boxes, logo band
   ============================================================ */

.hp-top {
	padding-top: 68px;
	padding-bottom: 0;
}

/* On a wide screen the photo row is sized from the screen height, so the first screen ends about halfway
   through the second row of logos: the photo gets the room, the logos show there is more below */
@media (min-width: 992px) {
	.hp-top__grid {
		min-height: calc(100svh - 378px);
	}

	.hp-visual {
		margin-top: clamp(16px, 1.8vw, 28px);
	}
}

/* The photo cell is flush with the boxes below and the frame line on the right; on a wide screen it starts a
   little below the header, so the photo has room above the person's head */
.hp-top__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	gap: clamp(32px, 5vw, 80px);
	padding-inline-end: 0;
}

.hp-top__copy {
	align-self: center;
	padding-block: clamp(32px, 4vw, 56px);
}

.hp .hp-top__standards {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	margin-bottom: 22px;
	color: var(--acn-ink);
	font-size: 0.9375rem;
	font-weight: 500;
}

/* A short purple line before each standard, as on the current homepage */
.hp .hp-top__standards span {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.hp .hp-top__standards span::before {
	content: "";
	width: 16px;
	height: 2px;
	border-radius: 2px;
	background: var(--acn-accent);
}

/* English runs longer than the Hebrew title, so a little smaller and wider */
.hp .hp-top__title {
	max-width: 15em;
	color: var(--acn-ink);
	font-size: clamp(2.125rem, 1.25rem + 2vw, 2.75rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.hp .hp-top__title span {
	display: block;
	color: var(--acn-ink);
	font-weight: 400;
}

.hp .hp-top__lead {
	max-width: 34em;
	margin-top: 22px;
	color: var(--acn-muted);
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
	line-height: 1.65;
	text-wrap: pretty;
}

.hp-top__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

/* The photo (662 x 600), cropped to fill its cell */
.hp-visual {
	position: relative;
	min-height: 480px;
	overflow: hidden;
	border-inline-start: 1px solid var(--acn-line);
	background: #e4e5e8;
}

.hp .hp-visual__back {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: 70% 20%;
}

/* Short laptop screens: a tighter hero, so the logo band still shows on the first screen */
@media (min-width: 992px) and (max-height: 820px) {
	.hp .hp-top__standards {
		margin-bottom: 14px;
	}

	.hp .hp-top__title {
		font-size: clamp(2rem, 1.2rem + 1.8vw, 2.5rem);
	}

	.hp .hp-top__lead {
		margin-top: 14px;
	}

	.hp-top__actions {
		margin-top: 24px;
	}

	.hp-top__copy {
		padding-block: 24px;
	}

	.hp-visual {
		min-height: 340px;
	}

	.hp .hp-box {
		padding-block: 14px;
	}
}

/* The four promises, in cells divided by thin lines */
.hp-boxes {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding-inline: 0;
}

.hp .hp-box {
	position: relative;
	padding: 18px clamp(20px, 2.4vw, 32px);
	border-inline-start: 1px solid var(--acn-line);
}

.hp .hp-box:first-child {
	border-inline-start: 0;
}

/* A short purple line above each title, as on the current homepage */
.hp .hp-box::before {
	content: "";
	display: block;
	width: 28px;
	height: 2px;
	margin-bottom: 14px;
	border-radius: 2px;
	background: var(--acn-accent);
}

.hp .hp-box__title {
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.35;
}

.hp .hp-box__text {
	margin-top: 6px;
	color: var(--acn-muted);
	font-size: 0.9375rem;
}


/* ============================================================
   3. LEGAL (dark)
   ============================================================ */

.hp-legal .acn-tile__media {
	overflow: hidden;
	background-color: var(--acn-accent);
}

/* The tall photo tile: its title and text sit at the foot of the photo */
.hp .hp-tile__foot {
	margin-top: auto;
}

/* The request and reply, at the foot of the lawsuit tile */
.hp-chat--tile .acn-chat__msg {
	max-width: 92%;
}

/* The certificate card after the tiles, with the section's own spacing */
.hp-legal__cert {
	margin-top: clamp(56px, 6vw, 88px);
}

.hp-legal .acn-cert__title {
	max-width: 17em;
}

/* ============================================================
   5. TWO WAYS (switch)
   ============================================================ */

/* A section right after a dark block tucks under its rounded foot, like the checker's comparison */
.hp-tuck {
	margin-top: calc(-1 * clamp(20px, 3vw, 32px));
	padding-top: calc(var(--acn-gap) + clamp(20px, 3vw, 32px));
}

/* Its frame lines start under that foot, so they never cross the dark block */
.hp .hp-tuck::before {
	top: clamp(20px, 3vw, 32px);
}

.hp-paths .acn-head {
	margin-bottom: 36px;
}

.hp-switch {
	display: flex;
	gap: 4px;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto 56px;
	padding: 5px;
	border: 1px solid var(--acn-line);
	border-radius: 999px;
	background: #ffffff;
}

.hp .hp-switch__tab {
	min-height: 48px;
	padding: 10px 26px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--acn-muted);
	font: 500 1rem/1.25 inherit;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hp .hp-switch__tab:hover {
	color: var(--acn-ink);
}

.hp .hp-switch__tab[aria-selected="true"] {
	background: var(--acn-ink);
	color: #ffffff;
}

.hp-paths__frame {
	padding-inline: 0;
}

.hp-path {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	background: #ffffff;
}

.hp-path[hidden] {
	display: none;
}

.hp-path__steps {
	padding: clamp(28px, 4.5vw, 56px);
	border-inline-end: 1px solid var(--acn-line);
}

.hp .hp-path__lead {
	max-width: 46ch;
	margin-bottom: 28px;
	color: var(--acn-ink);
	font-size: 1.1875rem;
	line-height: 1.5;
}

/* Numbered steps joined by a thin line */
.hp-step {
	position: relative;
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 18px;
	padding-bottom: 28px;
}

.hp-step:last-child {
	padding-bottom: 0;
}

.hp-step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 44px;
	bottom: 4px;
	inset-inline-start: 19.5px;
	width: 1px;
	background: var(--acn-line);
}

.hp-step__num {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--acn-line);
	border-radius: 50%;
	background: var(--acn-soft);
	color: var(--acn-muted);
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
}

.hp-step:first-child .hp-step__num {
	border-color: var(--acn-accent);
	background: var(--acn-accent);
	color: #ffffff;
}

.hp .hp-step__title {
	padding-top: 8px;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.4;
}

.hp .hp-step__text {
	max-width: 58ch;
	margin-top: 6px;
	color: var(--acn-muted);
	line-height: 1.65;
}

.hp-path__card {
	display: flex;
	flex-direction: column;
	padding: clamp(20px, 3vw, 32px);
}

.hp-path__media {
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	background: var(--acn-dark);
}

.hp .hp-path__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp-path__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 16px;
	padding-top: 24px;
}

.hp .hp-path__tag {
	color: var(--acn-accent);
	font-size: 0.9375rem;
	font-weight: 500;
}

.hp .hp-path__title {
	margin-top: -8px;
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.35;
}

.hp-path__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: auto;
	padding-top: 8px;
}

/* ============================================================
   5b. WHO THE SERVICE COVERS (dark carousel)
   ============================================================ */

.hp-dark2 {
	border-radius: 0 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px);
}

.hp-people__frame {
	position: relative;
	padding-inline: 0;
}

.hp-person {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 460px;
}

.hp-person[hidden] {
	display: none;
}

.hp-person__media {
	position: relative;
	overflow: hidden;
	background: var(--acn-dark-2);
}

.hp .hp-person__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: 50% 35%;
}

.hp-person__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4.5vw, 64px);
	border-inline-start: 1px solid var(--acn-dark-line);
}

.hp .hp-person__count {
	color: var(--acn-accent-light);
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
}

.hp .hp-person__title {
	margin-top: 14px;
	color: #ffffff;
	font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
	font-weight: 500;
	line-height: 1.2;
}

.hp .hp-person__text {
	max-width: 44ch;
	margin-top: 14px;
	color: var(--acn-on-dark-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.hp .hp-person__label {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px dashed var(--acn-dark-line); /* taste-skill-ignore: dashed rules from the checker */
	color: #ffffff;
	font-weight: 500;
}

.hp-person__fixes {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 12px;
}

.hp .hp-person__fixes li {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--acn-on-dark-muted);
}

.hp-person__fixes svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	padding: 2px;
	border-radius: 50%;
	background: var(--acn-accent);
	color: #ffffff;
}

.hp-people__nav {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 32px;
}

.hp .hp-people__btn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 50%;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.hp .hp-people__btn:hover {
	background: rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: no-preference) {
	.hp-person:not([hidden]) {
		animation: hp-path-in 0.45s var(--acn-ease);
	}
}

/* ============================================================
   6. WHY: six reasons, cells divided by the frame's thin lines
   ============================================================ */

.hp-reasons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-inline: 0;
}

.hp .hp-reason {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(24px, 3vw, 36px);
	border-bottom: 1px solid var(--acn-line);
	border-inline-start: 1px solid var(--acn-line);
}

.hp .hp-reason:nth-child(3n + 1) {
	border-inline-start: 0;
}

.hp .hp-reason:nth-last-child(-n + 3) {
	border-bottom: 0;
}

.hp-reason__media {
	overflow: hidden;
	aspect-ratio: 16 / 10;
	margin-bottom: 14px;
	border-radius: 10px;
	background: var(--acn-soft);
}

.hp .hp-reason__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hp .hp-reason__title {
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.4;
}

.hp .hp-reason__text {
	color: var(--acn-muted);
	line-height: 1.65;
}

/* ============================================================
   7. FREE SCAN
   ============================================================ */

.hp-scan__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
	border-radius: clamp(20px, 3vw, 32px);
	background: var(--acn-dark);
	color: #ffffff;
	text-align: center;
}

.hp .hp-scan__card .acn-kicker {
	color: var(--acn-accent-light);
}

.hp .hp-scan__title {
	max-width: 18em;
	font-size: clamp(2rem, 1.4rem + 1.8vw, 2.875rem);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.hp .hp-scan__lead {
	max-width: 36em;
	margin-top: 16px;
	color: var(--acn-on-dark-muted);
	font-size: 1.0625rem;
}

.hp-scan__card .acn-scan {
	margin-top: 36px;
}

.hp-scan__card :focus-visible {
	outline-color: var(--acn-accent-light);
}

/* ============================================================
   8. CASE STUDY
   ============================================================ */

.hp-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	padding-inline: 0;
}

.hp .hp-story__quote {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: clamp(28px, 4.5vw, 56px);
	border-inline-end: 1px solid var(--acn-line);
}

.hp-story__brands {
	display: flex;
	align-items: center;
	gap: 16px;
}

.hp .hp-story__brands img {
	width: auto;
	height: 22px;
}

.hp-story__brands span {
	width: 1px;
	height: 24px;
	background: var(--acn-line);
}

.hp .hp-story__quote blockquote {
	margin: 28px 0 0;
	padding: 0;
	border: 0;
}

.hp .hp-story__quote blockquote p {
	color: var(--acn-muted);
	line-height: 1.75;
}

.hp .hp-story__quote blockquote p + p {
	margin-top: 14px;
}

.hp .hp-story__quote blockquote p:first-child {
	color: var(--acn-ink);
	font-size: 1.125rem;
}

.hp .hp-story__person {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 32px;
	color: var(--acn-muted);
	font-size: 0.9375rem;
}

.hp .hp-story__person img {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}

.hp-story__person b {
	display: block;
	color: var(--acn-ink);
	font-weight: 500;
}

.hp-story__media {
	position: relative;
	min-height: 360px;
	overflow: hidden;
	background: var(--acn-dark);
}

.hp .hp-story__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	/* The ship sits just right of the photo's centre */
	object-position: 52% 50%;
}

/* ============================================================
   9. FAQ answers (the homepage's, with lists and guide links)
   ============================================================ */

.hp .hp-faq__a > * + * {
	margin-top: 12px;
}

.hp .hp-faq__a p,
.hp .hp-faq__a li {
	color: var(--acn-muted);
	line-height: 1.7;
}

.hp .hp-faq__a ul {
	padding-inline-start: 20px;
	list-style: disc;
}

.hp .hp-faq__a li + li {
	margin-top: 8px;
}

.hp .hp-faq__a strong {
	color: var(--acn-ink);
	font-weight: 500;
}

/* ============================================================
   Motion
   ============================================================ */

@media (prefers-reduced-motion: no-preference) {
	.hp-path:not([hidden]) {
		animation: hp-path-in 0.45s var(--acn-ease);
	}

	@keyframes hp-path-in {
		from { opacity: 0; transform: translateY(10px); }
		to { opacity: 1; transform: none; }
	}
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1199px) {
	.hp-boxes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hp .hp-box:nth-child(3) {
		border-inline-start: 0;
	}

	.hp .hp-box:nth-child(n + 3) {
		border-top: 1px solid var(--acn-line);
	}
}

@media (max-width: 991px) {
	.hp-top__grid,
	.hp-person,
	.hp-path,
	.hp-story__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hp-path__steps,
	.hp .hp-story__quote {
		border-inline-end: 0;
		border-bottom: 1px solid var(--acn-line);
	}

	/* One column: the photo runs the full frame width under the copy */
	.hp-top__grid {
		gap: 0;
		padding-inline: 0;
	}

	.hp-top__copy {
		padding-inline: var(--acn-pad);
	}

	.hp-visual {
		border-inline-start: 0;
		border-top: 1px solid var(--acn-line);
		aspect-ratio: 662 / 600;
		max-height: 70svh;
	}

	.hp-person__media {
		min-height: 320px;
	}

	.hp-person__body {
		border-inline-start: 0;
		border-top: 1px solid var(--acn-dark-line);
	}

	.hp-reasons {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hp .hp-reason:nth-child(n) {
		border-bottom: 1px solid var(--acn-line);
		border-inline-start: 1px solid var(--acn-line);
	}

	.hp .hp-reason:nth-child(2n + 1) {
		border-inline-start: 0;
	}

	.hp .hp-reason:nth-last-child(-n + 2) {
		border-bottom: 0;
	}

	.hp-path__card {
		display: grid;
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: 28px;
	}

	.hp-path__body {
		padding-top: 0;
	}
}

@media (max-width: 767px) {
	.hp-top__actions .acn-btn {
		flex: 1 1 100%;
	}

	.hp-visual {
		min-height: 0;
		aspect-ratio: 662 / 600;
	}

	.hp-boxes {
		grid-template-columns: minmax(0, 1fr);
	}

	.hp .hp-box:nth-child(n) {
		border-inline-start: 0;
	}

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

	.hp .hp-box {
		padding-block: 22px;
	}

	.hp-switch {
		width: 100%;
	}

	.hp .hp-switch__tab {
		flex: 1 1 0;
		padding-inline: 12px;
		font-size: 0.9375rem;
	}

	.hp-path__card {
		display: flex;
	}

	.hp-path__body {
		padding-top: 22px;
	}

	.hp-path__actions .acn-btn {
		flex: 1 1 100%;
	}

	.hp-reasons {
		grid-template-columns: minmax(0, 1fr);
	}

	.hp .hp-reason:nth-child(n) {
		border-inline-start: 0;
		border-bottom: 1px solid var(--acn-line);
	}

	.hp .hp-reason:last-child {
		border-bottom: 0;
	}

	.hp-story__media {
		min-height: 260px;
	}
}

/* Hero: a plain line above the title, not a chip. The promise in ink, underlined in purple; the rest muted */
.hp .hp-top__badge {
	margin-bottom: 24px;
	color: var(--acn-muted);
	font-size: 1rem;
	line-height: 1.5;
}

.hp .hp-top__badge b {
	position: relative;
	display: inline-block;
	color: var(--acn-ink);
	font-weight: 500;
}

/* A line under the promise. With the script it waits, draws in from the start of the words,
   then the rest of the sentence types itself (js/new-look/home.js); without it, it is simply there */
.hp .hp-top__badge b::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -6px;
	height: 2px;
	border-radius: 2px;
	background: var(--acn-accent);
	transform-origin: left center;
	transition: transform 0.9s cubic-bezier(0.65, 0, 0.35, 1);
}

.hp .hp-top__badge.is-waiting b::after {
	transform: scaleX(0);
}

/* Then the rest of the line types itself. The full words stay in place (unseen) so nothing moves,
   and screen readers read them; without the script they simply show */
.hp .hp-top__rest {
	position: relative;
	display: inline-block;
}

.hp .hp-top__rest.is-typing .hp-top__ghost {
	color: transparent;
}

.hp .hp-top__typed {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	white-space: nowrap;
}



@media (min-width: 992px) and (max-height: 820px) {
	.hp .hp-top__badge {
		margin-bottom: 16px;
	}
}



/* ============================================================
   Global homepage only (the Hebrew page has none of these)
   ============================================================ */

/* ---------- 2. Everything we do: six product cells divided by thin lines, the whole cell is the link ---------- */
.hp-products__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	padding-inline: 0;
	background: var(--acn-line);
}

.hp .hp-product {
	display: flex;
	background: #ffffff;
}

.hp .hp-product__link {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: clamp(24px, 3vw, 36px);
	color: var(--acn-ink);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

.hp .hp-product__link:hover {
	background: #fcfbfe;
}

.hp .hp-product__link:focus-visible {
	outline: 2px solid var(--acn-accent);
	outline-offset: -2px;
}

.hp .hp-product__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--acn-line);
	border-radius: 12px;
	background: var(--acn-soft);
	color: var(--acn-ink);
	transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hp .hp-product__link:hover .hp-product__icon {
	border-color: #ddd0f3;
	background: #f7f2fe;
	color: var(--acn-accent-hover);
}

.hp .hp-product__tag {
	margin-top: 22px;
	color: var(--acn-accent-hover);
	font-size: 0.9375rem;
	font-weight: 500;
}

.hp .hp-product__title {
	margin-top: 6px;
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.35;
}

.hp .hp-product__text {
	margin-top: 10px;
	color: var(--acn-muted);
	line-height: 1.65;
}

.hp .hp-product__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 24px;
	font-weight: 500;
}

.hp .hp-product__more svg {
	transition: transform 0.2s ease;
}

.hp .hp-product__link:hover .hp-product__more svg {
	transform: translateX(3px);
}

.hp .hp-products__actions {
	margin-top: clamp(40px, 4vw, 56px);
}

/* ---------- 3. Legal: the tall tile shows a sample compliance report over the blurred office,
   its caption on a dark fade. Everything is placed inside the tile, so the tile keeps its height. ---------- */
.hp .hp-tile--doc {
	justify-content: flex-end;
	padding: 0;
}

.hp .hp-doc {
	position: absolute;
	top: 36px;
	right: 32px;
	left: 32px;
	bottom: 0;
	z-index: 1;
	overflow: hidden;
	padding: 24px 24px 0;
	border-radius: 10px 10px 0 0;
	background: #ffffff;
	box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
	color: var(--acn-ink);
}

.hp .hp-doc__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--acn-line);
}

.hp .hp-doc__head img {
	width: 88px;
	height: auto;
}

.hp .hp-doc__seal {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px 3px 6px;
	border-radius: 999px;
	background: #f1e9fd;
	color: #6c3bbe;
	font-size: 0.8125rem;
	font-weight: 500;
}

.hp .hp-doc__seal svg {
	width: 16px;
	height: 16px;
	padding: 2px;
	border-radius: 50%;
	background: var(--acn-accent);
	color: #ffffff;
}

.hp .hp-doc__title {
	margin-top: 18px;
	font-size: 1.125rem;
	font-weight: 500;
}

.hp .hp-doc__meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 14px 0 0;
}

.hp .hp-doc__meta dt {
	color: var(--acn-muted);
	font-size: 0.8125rem;
	font-weight: 400;
}

.hp .hp-doc__meta dd {
	margin: 2px 0 0;
	font-size: 0.9375rem;
	font-weight: 500;
}

.hp .hp-doc__rows {
	margin-top: 18px;
	border-top: 1px dashed var(--acn-line); /* taste-skill-ignore: dashed rules from the checker */
}

.hp .hp-doc__rows li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 11px;
	border-bottom: 1px dashed var(--acn-line); /* taste-skill-ignore: dashed rules from the checker */
	color: var(--acn-muted);
	font-size: 0.875rem;
}

.hp .hp-doc__rows b {
	color: #1f7a4d;
	font-weight: 500;
}

/* The fade, in the section's dark, over the lower part of the report */
.hp .hp-tile__caption {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 140px 32px 36px;
	background: linear-gradient(to bottom, rgba(44, 43, 54, 0) 0%, rgba(44, 43, 54, 0.88) 42%, #2c2b36 72%);
}

.hp .hp-tile__caption .acn-tile__text {
	color: rgba(255, 255, 255, 0.86);
}

.hp .hp-cert__actions {
	margin-top: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.hp-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

	.hp .hp-doc {
		top: 24px;
		right: 18px;
		left: 18px;
		padding: 18px 18px 0;
	}

	.hp .hp-tile__caption {
		padding: 110px 20px 28px;
	}
}

/* The link under the FAQ list (the Hebrew checker page's rule) */
.hp .acn-faq__more {
	margin-top: 32px;
	color: var(--acn-muted);
	text-align: center;
}

.hp .acn-faq__more a {
	display: inline-block;
	padding-block: 4px;
}

/* ---------- 2b. What makes tabnav different: the photo cell with two sample fragments, beside three ruled rows ---------- */
.hp-edge__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	padding-inline: 0;
}

.hp-edge__media {
	position: relative;
	min-height: 560px;
	overflow: hidden;
	border-inline-end: 1px solid var(--acn-line);
	background: var(--acn-soft);
}

.hp .hp-edge__media > img {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: 62% 50%;
}

/* The local build, connected through a tunnel (over the plants, bottom left) */
.hp .hp-edge__tunnel {
	position: absolute;
	bottom: 24px;
	left: 24px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(44, 43, 54, 0.88);
	color: #ffffff;
	font-size: 0.875rem;
	box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
}

.hp .hp-edge__tunnel code {
	color: var(--acn-accent-light);
	font: 500 0.875rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.hp .hp-edge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #3fcf8e;
	box-shadow: 0 0 0 3px rgba(63, 207, 142, 0.25);
}

/* A scan asked for in an AI chat, answered by tabnav over MCP (over the windows, top right, clear of the people) */
.hp .hp-edge__chat {
	position: absolute;
	top: 24px;
	right: 24px;
	left: 24px;
	z-index: 1;
	max-width: 400px;
	margin-left: auto;
	padding: 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 24px 48px -20px rgba(44, 43, 54, 0.5);
	color: var(--acn-ink);
	font-size: 0.875rem;
	line-height: 1.45;
}

.hp .hp-edge__ask {
	width: fit-content;
	max-width: 85%;
	margin-left: auto;
	padding: 9px 13px;
	border-radius: 14px 14px 4px 14px;
	background: #efeff3;
}

.hp .hp-edge__reply {
	margin-top: 12px;
}

.hp .hp-edge__tool {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
}

.hp .hp-edge__tool img {
	width: 16px;
	height: auto;
}

.hp .hp-edge__reply ul {
	margin-top: 8px;
	border-top: 1px dashed var(--acn-line); /* taste-skill-ignore: dashed rules from the checker */
}

.hp .hp-edge__reply li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-block: 7px;
	border-bottom: 1px dashed var(--acn-line); /* taste-skill-ignore: dashed rules from the checker */
	color: var(--acn-muted);
}

.hp .hp-edge__reply b {
	padding: 1px 8px;
	border-radius: 999px;
	background: #f1f1f4;
	color: var(--acn-muted);
	font-size: 0.75rem;
	font-weight: 500;
}

.hp .hp-edge__reply b.is-critical {
	background: #fde8e8;
	color: #b42318;
}

.hp .hp-edge__reply b.is-serious {
	background: #fdf0e1;
	color: #9a4a06;
}

/* The three rows, divided by thin lines */
.hp-edge__list {
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.hp .hp-edge__item {
	display: grid;
	flex: 1 1 0;
	grid-template-columns: 48px minmax(0, 1fr);
	align-content: center;
	gap: 20px;
	padding: clamp(24px, 3vw, 36px);
}

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

.hp .hp-edge__tag {
	color: var(--acn-accent-hover);
	font-size: 0.9375rem;
	font-weight: 500;
}

.hp .hp-edge__title {
	margin-top: 4px;
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.35;
}

.hp .hp-edge__text {
	margin-top: 8px;
	color: var(--acn-muted);
	line-height: 1.65;
}

.hp .hp-edge__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	color: var(--acn-ink);
	font-weight: 500;
	text-decoration: none;
}

.hp .hp-edge__more:hover {
	color: var(--acn-accent-hover);
}

@media (max-width: 991px) {
	.hp-edge__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hp-edge__media {
		min-height: 480px;
		border-inline-end: 0;
		border-bottom: 1px solid var(--acn-line);
	}
}

@media (max-width: 767px) {
	.hp-edge__media {
		min-height: 440px;
	}

	.hp .hp-edge__tunnel {
		bottom: 16px;
		left: 16px;
	}

	.hp .hp-edge__chat {
		top: 16px;
		right: 16px;
		left: 16px;
		padding: 12px;
		font-size: 0.8125rem;
	}

	.hp .hp-edge__item {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	/* On a phone the chat stays short, so the people in the photo stay in view */
	.hp .hp-edge__reply ul {
		display: none;
	}
}

/* ============================================================
   How it works: three steps to a certificate (moved here from the checker page, unchanged:
   tabs over an audio-style waveform, and one video that runs through the three steps)
   ============================================================ */

.ck-steps__tabs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-top: 32px;
}

.hp .ck-steps__tab {
	padding: 0 8px 16px;
	border: 0;
	background: transparent;
	color: var(--acn-muted);
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
}

.hp .ck-steps__tab[aria-selected="true"] {
	color: var(--acn-ink);
	font-weight: 500;
}

/* Waveform: thin grey bars; the selected step's third turns purple and grows */
.ck-steps__ruler {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(1px, 0.25vw, 3px);
	height: 48px;
	margin-bottom: 32px;
	overflow: hidden;
}

.ck-wave {
	flex: 0 1 3px;
	min-width: 1px;
	height: var(--h);
	border-radius: 3px;
	background: #d4d5db;
	transform-origin: center;
}

.ck-steps__ruler[data-active="0"] .ck-wave--s0,
.ck-steps__ruler[data-active="1"] .ck-wave--s1,
.ck-steps__ruler[data-active="2"] .ck-wave--s2 {
	height: calc(var(--h) * 1.6);
	background: var(--acn-accent);
}

.ck-steps__panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin-bottom: 48px;
	overflow: hidden;
	border: 1px solid var(--acn-line);
	border-radius: var(--acn-radius);
	background: #ffffff;
}

.ck-steps__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	min-height: 480px;
	padding: clamp(28px, 4vw, 48px);
}

.hp .ck-steps__num {
	color: var(--acn-muted);
	font-size: 0.9375rem;
}

.hp .ck-steps__title {
	font-size: 1.75rem;
	font-weight: 500;
	line-height: 1.3;
}

.hp .ck-steps__desc {
	max-width: 44ch;
	color: var(--acn-muted);
	line-height: 1.65;
}

.ck-steps__cta {
	margin-top: auto;
}

.ck-steps__media {
	position: relative;
	min-height: 320px;
	overflow: hidden;
	background-color: var(--acn-dark);
}

/* Still of this step's part of the shot; the shared video plays over it in the open panel */
.hp .ck-steps__media .ck-steps__still,
.hp .ck-steps__media .ck-steps__video {
	position: absolute;
	inset: 0;
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
}

.hp .ck-steps__media .ck-steps__video {
	opacity: 0;
	transition: opacity 0.3s ease;
}

.hp .ck-steps__media .ck-steps__video.is-ready {
	opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
	.ck-wave {
		transition: height 0.45s var(--acn-ease), background-color 0.3s var(--acn-ease);
	}

	.ck-steps__ruler[data-active="0"] .ck-wave--s0,
	.ck-steps__ruler[data-active="1"] .ck-wave--s1,
	.ck-steps__ruler[data-active="2"] .ck-wave--s2 {
		animation: ck-wave 0.6s ease-in-out var(--d, 0ms) 2;
	}

	@keyframes ck-wave {
		0%, 100% { transform: scaleY(1); }
		50% { transform: scaleY(0.45); }
	}
}

@media (max-width: 991px) {
	.ck-steps__panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.ck-steps__text {
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.hp .ck-steps__tab {
		font-size: 0.9375rem;
	}
}

