/* Legal/text pages: accessibility, privacy-policy, terms-of-use */

.legal-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-ink);
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.legal-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
}

.legal-hero__inner {
	max-width: var(--container-width);
	margin-inline: auto;
	padding: 24px;
	color: #fff;
	text-align: center;
}

.legal-hero__eyebrow {
	font-family: var(--font-accent);
	font-size: 15px;
	opacity: 0.75;
	margin: 0 0 8px;
}

.legal-hero__title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	margin: 0 auto;
	max-width: 720px;
	background: linear-gradient(90deg, #A5D9D0 0%, #5CC2EF 37.72%, #886CEA 66.67%, #595BA7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	filter: drop-shadow(1.41px 1.41px 2px rgba(0, 0, 0, .6));
}

.legal-hero__subtitle {
	font-size: clamp(17px, 2vw, 22px);
	font-weight: 600;
	color: #fff;
	margin: 10px auto 0;
	max-width: 720px;
	text-align: center;
}

/* about-us: real Wix hero is a centered plain off-white heading over a photo
   background (no gradient-text SVG trick like the other legal-hero pages) —
   scoped here so it doesn't affect any other page using .legal-hero. */
.legal-hero--about .legal-hero__inner {
	text-align: center;
	margin-inline: auto;
}

.legal-hero--about .legal-hero__title {
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
	font-size: clamp(26px, 4.5vw, 44px);
	background: none;
	-webkit-background-clip: initial;
	background-clip: initial;
	-webkit-text-fill-color: initial;
	color: var(--color-bg);
	filter: none;
}

.legal-hero--about .legal-hero__subtitle {
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
	font-size: clamp(20px, 2.8vw, 30px);
	font-weight: 500;
	opacity: .92;
}

/* ai-news hero (home.php blog listing + category.php archives): no torn-paper
   edge, and both the eyebrow + title run 150% larger — scoped here so it
   doesn't affect any other page using .legal-hero. */
.legal-hero--news .legal-hero {
	min-height: 560px;
}

.legal-hero--news .legal-hero__tear {
	display: none;
}

.legal-hero--news .legal-hero__eyebrow {
	font-size: 37.5px;
}

.legal-hero--news .legal-hero__title {
	font-size: clamp(90px, 13vw, 150px);
	line-height: 1.1;
}

/* business-solutions hero: bigger title + subtitle, same clamp-scaling
   approach as the ai-news hero above — scoped here so it doesn't affect any
   other page using .legal-hero. */
.legal-hero--business .legal-hero {
	min-height: 480px;
}

.legal-hero--business .legal-hero__title {
	font-size: clamp(48px, 6.5vw, 84px);
	line-height: 1.15;
	max-width: 900px;
}

.legal-hero--business .legal-hero__subtitle {
	font-size: clamp(22px, 2.8vw, 32px);
	max-width: 800px;
}

.legal-hero__tear {
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: 40px;
	z-index: 2;
	background: var(--color-bg);
	clip-path: polygon(0% 100%, 0% 40%, 3% 60%, 6% 30%, 9% 55%, 12% 25%, 15% 60%, 18% 35%, 21% 55%, 24% 30%, 27% 60%, 30% 35%, 33% 55%, 36% 30%, 39% 60%, 42% 35%, 45% 55%, 48% 30%, 51% 60%, 54% 35%, 57% 55%, 60% 30%, 63% 60%, 66% 35%, 69% 55%, 72% 30%, 75% 60%, 78% 35%, 81% 55%, 84% 30%, 87% 60%, 90% 35%, 93% 55%, 96% 30%, 100% 55%, 100% 100%);
}

.legal-body {
	max-width: var(--container-width);
	margin-inline: auto;
	padding: 56px 24px 80px;
}

.legal-body__intro {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-block-end: 40px;
}

.legal-body__intro-image {
	flex: 0 0 auto;
	width: 200px;
}

.legal-body__intro-image img {
	width: 100%;
	height: auto;
	display: block;
}

/* About-us founder intro: circular bordered photo with the "יצירת קשר"
   button + LinkedIn link stacked directly beneath it in the same column,
   text in its own separate column (default flex+RTL already puts the
   first DOM item — the image column — on the right, text on the left). */
.about-founder-intro .legal-body__intro-image {
	width: 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.about-founder-intro .legal-body__intro-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 50%;
	border: 6px solid #fff;
	box-shadow: 0 10px 30px rgba(20, 20, 60, .15);
}

.about-founder-intro__cta {
	border-radius: 999px;
	padding: 12px 32px;
}

.about-founder-intro__linkedin {
	margin: 0;
}

.results-heading {
	text-align: center;
	color: var(--color-ink);
	font-size: clamp(26px, 3.4vw, 36px);
}

.result-item {
	margin-block-end: 20px;
}

.result-item__heading {
	font-family: var(--font-accent);
	color: var(--color-ink);
	font-size: clamp(18px, 2.2vw, 22px);
	font-weight: 700;
	margin: 0 0 8px;
}

.legal-body__intro-text {
	flex: 1 1 auto;
	font-size: 17px;
	color: var(--color-text);
}

/* language-models intro: bigger swirl graphic, bigger intro copy. */
.lm-intro .legal-body__intro-image {
	width: 320px;
}

.lm-intro .legal-body__intro-text {
	font-size: 19px;
}

.legal-body__content {
	max-width: 900px;
	margin-inline: auto;
	font-size: 16px;
	line-height: 1.8;
}

.legal-body__content h2 {
	font-family: var(--font-accent);
	color: var(--color-teal);
	font-size: 21px;
	margin-block: 32px 12px;
}

.legal-body__content p {
	margin-block-end: 16px;
}

/* Lead-in statement directly under the hero (e.g. accessibility page's
   "לחווית גלישה מיטבית באתר"). In the Wix source this line lives inside the
   dark hero banner itself (white, 40px, centered); our hero component
   doesn't support a second overlaid line, so it's rendered here as the
   first paragraph of the body instead — styled larger/centered to keep
   some of that lead-statement emphasis rather than reading like a normal
   paragraph. */
.legal-body__lead {
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 600;
	color: var(--color-ink);
	text-align: center;
	margin-block-end: 24px;
}

.legal-body__content ul {
	margin: 0 0 16px;
	padding-inline-start: 20px;
}

.legal-body__content li {
	margin-block-end: 10px;
}

.legal-body__content strong {
	color: var(--color-ink);
}

.legal-body__table {
	width: 100%;
	border-collapse: collapse;
	margin-block-end: 24px;
	font-size: 15px;
}

.legal-body__table th,
.legal-body__table td {
	padding: 12px 16px;
	text-align: center;
	border: 1px solid var(--color-lavender);
}

.legal-body__table thead th {
	background: var(--color-purple);
	color: #fff;
	font-weight: 700;
}

.legal-body__table tbody tr:nth-child(even) {
	background: var(--color-lavender);
}

.legal-body__content a:not(.btn) {
	color: var(--color-teal);
}

.legal-contact {
	margin-block-start: 40px;
	padding: 24px;
	background: var(--color-teal-light);
	border-radius: 16px;
}

.legal-contact h2 {
	margin-block-start: 0 !important;
}

/* Full-bleed colored band for standout sections inside the otherwise plain
   .legal-body__content column (e.g. "what we offer", client logos) —
   matches the Wix source's alternating colored/white section rhythm. */
.legal-band {
	position: relative;
	left: 50%;
	right: 50%;
	margin-inline: -50vw;
	width: 100vw;
	margin-block: 40px;
	padding: 48px 24px;
	background: linear-gradient(90deg, var(--color-purple) 0%, var(--color-sky) 100%);
	color: #fff;
}

.legal-band__inner {
	max-width: 900px;
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 40px;
}

.legal-band h2 {
	color: #fff;
	margin-block-start: 0;
}

.legal-band a {
	color: #fff;
	text-decoration: underline;
}

.legal-band__media {
	flex: 0 0 auto;
	width: 260px;
	border-radius: 16px;
	overflow: hidden;
}

.legal-band__media img {
	width: 100%;
	height: auto;
	display: block;
}

.legal-band__text {
	flex: 1 1 auto;
}

.legal-band__text p {
	font-size: clamp(17px, 2vw, 20px);
	line-height: 1.8;
	margin-block-end: 14px;
}

/* Client-logo band: logos on white cards over the gradient, wraps + centers */
.legal-band--logos .legal-band__inner {
	display: block;
}

/* Fixed 3-column grid (not flex-wrap) so 6 logos split evenly 3+3 instead
   of wrapping lopsidedly (e.g. 5 then 1) depending on each logo's width. */
.legal-band--logos .legal-band__logos {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
	justify-items: center;
	gap: 16px;
	margin-block-start: 20px;
}

/* Full-bleed dark band, shared by page-claude-language-model.php's "how to
   use" section and page-manus-ai.php's long-form article: the real Wix
   source pages' content there is a dark full-width band, not the plain
   white .legal-body__content background the other AI-tool-page sections
   use — reuses .legal-band's full-bleed positioning with a solid dark
   background instead of the purple-to-sky gradient, and a block (not flex)
   inner since the content stacks in one column. See .ai-tool-howto in
   page-ai-tool.css for the content styling itself. */
.legal-band--dark {
	background: var(--color-ink);
}

.legal-band--dark .legal-band__inner {
	display: block;
}

.legal-band--logos .legal-band__logos img {
	height: 140px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
	background: #fff;
	border-radius: 10px;
	padding: 16px 20px;
}

@media (max-width: 720px) {
	.legal-band__inner {
		flex-direction: column;
	}

	.legal-band__media {
		width: 100%;
		max-width: 260px;
	}
}

/* Press/media card — larger showcase image than the standard intro layout */
.legal-media-card {
	margin-block: 40px;
}

.legal-media-card img {
	width: 100%;
	max-width: 720px;
	margin-inline: auto;
	border-radius: 16px;
	display: block;
}

.legal-media-card figcaption {
	max-width: 720px;
	margin: 16px auto 0;
	font-size: 15px;
	color: var(--color-text);
}

.legal-body__cta {
	text-align: center;
	margin-block: 32px;
}

/* -------------------------------------------------------------------------
   Chatbot intro: two-column video / text+bullets, CTA button row below.
   Used by page-1558.php; first DOM column (video) sits on the right in RTL.
   Also removes the underlined-h3 styling .legal-body__content inherits from
   page-ai-tool.css (deliberate there for OperAI-style sub-headings, but this
   page's h3s are plain sub-headings) and provides its own plain h3 style.
   ---------------------------------------------------------------------- */
.chatbot-plain.legal-body__content h3 {
	text-decoration: none;
	font-weight: 700;
}

.chatbot-intro {
	display: flex;
	align-items: flex-start;
	gap: 48px;
	margin-block-end: 32px;
}

.chatbot-intro__text {
	flex: 1 1 50%;
}

.chatbot-intro__text > p {
	margin-block-end: 20px;
}

.chatbot-intro__text ul {
	margin: 0;
	padding-inline-start: 20px;
}

.chatbot-intro__text li {
	margin-block-end: 12px;
}

.chatbot-intro__video {
	flex: 1 1 50%;
}

.chatbot-intro__video video {
	width: 100%;
	border-radius: 16px;
	display: block;
	box-shadow: 0 10px 30px rgba(20, 20, 60, .15);
	background: var(--color-ink);
}

.chatbot-intro__cta {
	text-align: center;
	margin-block-end: 40px;
}

@media (max-width: 780px) {
	.chatbot-intro {
		flex-direction: column;
	}
}

/* -------------------------------------------------------------------------
   Reusable gradient CTA band — see template-parts/page/gradient-cta.php.
   ---------------------------------------------------------------------- */
.gradient-cta {
	/* Full-bleed: break out of the 900px .legal-body__content column to span
	   the full viewport width, regardless of nesting depth. */
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background: linear-gradient(135deg, #5B4874 24.322%, #4591B3 63.968%, #ABE0F7 100%);
	margin-block: 32px;
}

.gradient-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--container-width);
	margin-inline: auto;
	padding: 40px 36px;
}

.gradient-cta__text {
	color: #fff;
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
	text-align: right;
}

.gradient-cta__button {
	flex: 0 0 auto;
}

.gradient-cta--slim .gradient-cta__inner {
	padding: 20px 28px;
}

.gradient-cta--slim .gradient-cta__text {
	font-size: clamp(17px, 1.8vw, 20px);
}

@media (max-width: 640px) {
	.gradient-cta__inner {
		flex-direction: column;
		text-align: center;
	}

	.gradient-cta__text {
		text-align: center;
	}
}

/* -------------------------------------------------------------------------
   Reusable testimonials strip — see template-parts/page/testimonials.php.
   ---------------------------------------------------------------------- */
.testimonials {
	/* Full-bleed, same technique as .gradient-cta--slim above. */
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	background: linear-gradient(90deg, #2E2A6B 0%, #5CC2EF 100%);
	padding: 64px 24px;
	overflow: hidden;
}

.testimonials__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: .18;
	z-index: 0;
}

.testimonials__inner {
	position: relative;
	z-index: 1;
	max-width: var(--container-width);
	margin-inline: auto;
}

.testimonials h2.testimonials__title {
	text-align: center;
	color: #fff;
	font-family: var(--font-accent);
	font-size: clamp(28px, 3.6vw, 40px);
	margin: 0 0 40px;
}

.testimonials__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-block-end: 48px;
}

.testimonials__logos img {
	max-height: 60px;
	width: auto;
}

.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	justify-items: center;
	gap: 1rem;
}

.testimonials p.testimonials__quote {
	color: #fff;
	text-align: right;
	font-size: 16px;
	line-height: 1.8;
	margin: 0;
}

/* -------------------------------------------------------------------------
   Contact-band form card (template-parts/page/workshop-contact-band.php) —
   white rounded card over the gradient band, single-column labeled fields
   stacked top to bottom, matching the real Wix source form.
   ---------------------------------------------------------------------- */
.workshop-cta__card {
	max-width: 640px;
	margin-inline: auto;
	background: #fff;
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 50px rgba(20, 20, 60, .25);
}

.workshop-cta__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.workshop-cta__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.workshop-cta__field span {
	font-size: 14px;
	color: var(--color-text);
	text-align: right;
}

.workshop-cta__field em {
	color: var(--color-pink);
	font-style: normal;
}

.workshop-cta__field input,
.workshop-cta__field textarea {
	width: 100%;
	padding: 12px 16px;
	border-radius: 8px;
	border: 1.5px solid var(--color-lavender);
	font-family: var(--font-body);
	font-size: 15px;
	color: var(--color-text);
	background: #fff;
}

.workshop-cta__field textarea {
	resize: vertical;
}

.workshop-cta__phone {
	position: relative;
	display: block;
}

.workshop-cta__phone input {
	padding-inline-end: 44px;
}

.workshop-cta__phone-icon {
	position: absolute;
	inset-inline-end: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	color: var(--color-text);
	opacity: .6;
	pointer-events: none;
}

.workshop-cta__consent {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	color: var(--color-text);
}

.workshop-cta__consent em {
	color: var(--color-pink);
	font-style: normal;
}

.workshop-cta__consent a {
	color: var(--color-teal);
}

.workshop-cta__consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.workshop-cta__submit {
	width: 100%;
	border-radius: 10px;
	padding: 14px;
}

@media (max-width: 480px) {
	.workshop-cta__card {
		padding: 28px 20px;
	}
}

@media (max-width: 780px) {
	.testimonials__grid {
		grid-template-columns: 1fr;
	}
}
