/* Hebrew integration pages (src/site/templates/integrations-he.html).
   Loaded after the Webflow stylesheet; only touches elements inside these templates. */

/* Partner logo: consistent card instead of a raw image stretched to 866px */
.hero-illustration.relative.inner.lw-partner-logo {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 440px;
  max-width: 100%;
  aspect-ratio: 16 / 10;
  padding: 3rem;
  background: #fff;
  border: 1px solid #e7e9f0;
  border-radius: 1.5rem;
  box-shadow: 0 24px 48px rgba(22, 25, 45, 0.06);
}
/* every logo gets the same visual box, whatever its file size (152px to 2500px wide) */
.hero-illustration.relative.inner.lw-partner-logo > img {
  width: 100%;
  min-width: 0;
  max-width: 320px;
  height: 140px;
  object-fit: contain;
}

/* Rich text: real heading rhythm and visible list markers */
.lw-integration-body .dynamic-rich-rtl { font-size: 1.0625rem; line-height: 1.7; }
.lw-integration-body .dynamic-rich-rtl h2 {
  font-size: 1.625rem;
  line-height: 1.3;
  margin: 2.5rem 0 0.75rem;
}
.lw-integration-body .dynamic-rich-rtl h2:first-child { margin-top: 0; }
.lw-integration-body .dynamic-rich-rtl p { margin-bottom: 1rem; }
.lw-integration-body .dynamic-rich-rtl ul,
.lw-integration-body .dynamic-rich-rtl ol { margin: 0 0 1.5rem; padding-left: 0; padding-right: 1.25rem; }
.lw-integration-body .dynamic-rich-rtl ul li { list-style-type: disc; }
.lw-integration-body .dynamic-rich-rtl ol li { list-style-type: decimal; }
.lw-integration-body .dynamic-rich-rtl li { margin-bottom: 0.5rem; padding-right: 0.25rem; }
.lw-integration-body .dynamic-rich-rtl li::marker { color: var(--brand-blue, #5b3df5); }

/* Closing call to action + secondary link to the partner's own site */
.lw-integration-body .lw-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}
.lw-integration-body .lw-partner-link {
  color: var(--brand-blue, #5b3df5);
  font-weight: 500;
  text-decoration: none;
}
.lw-integration-body .lw-partner-link:hover { text-decoration: underline; }

@media screen and (max-width: 767px) {
  .hero-illustration.relative.inner.lw-partner-logo { width: 100%; padding: 2rem; margin-top: 2rem; }
  .hero-illustration.relative.inner.lw-partner-logo > img { height: 110px; }
  .lw-integration-body .dynamic-rich-rtl h2 { font-size: 1.375rem; }
}

/* ==========================================================================
   Rich integration layout (src/site/templates/integrations-he-rich.html)
   Used by items with "template": "integrations-he-rich". Site tokens only:
   violet #6640ff / #4e24f8, ink #070319, slate #6a748b, line #eaebf0, mist #f7f6f8 / #f0eff5
   ========================================================================== */
.lwi-hero, .lwi-section { color: #070319; font-size: 17px; line-height: 1.75; }
.lwi-wrap.container.w-container { display: block; max-width: 1200px; padding-left: 24px; padding-right: 24px; }

/* type scale: 17 / 21 / 27 / 34 / 48 */
.lwi-h1 { font-size: 48px; line-height: 1.15; font-weight: 700; margin: 0 0 20px; color: #070319; }
.lwi-h2 { font-size: 34px; line-height: 1.2; font-weight: 700; margin: 0 0 14px; color: #070319; }
.lwi-h3 { font-size: 21px; line-height: 1.35; font-weight: 600; margin: 0 0 8px; color: #070319; }
.lwi-lead { font-size: 20px; line-height: 1.65; color: #6a748b; max-width: 30em; margin: 0 0 32px; }
.lwi-intro { font-size: 18px; line-height: 1.7; color: #6a748b; max-width: 36em; margin: 0; }
.lwi-section p, .lwi-hero p { margin-top: 0; text-wrap: pretty; }
.lwi-h1, .lwi-h2, .lwi-h3 { text-wrap: balance; }

/* hero: copy on the right (RTL start), product shot on the left */
.lwi-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); gap: 56px; align-items: center; margin-top: 32px; }
.lwi-pair { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.lwi-pair-partner { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.lwi-pair-lw { height: 26px; width: auto; }
.lwi-pair-plus { color: #949bad; font-size: 20px; line-height: 1; }
.lwi-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.lwi-textlink { color: #6640ff; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.lwi-textlink:hover { color: #4e24f8; }
.lwi-textlink:focus-visible, .lwi-hero .button:focus-visible, .lwi-section .button:focus-visible { outline: 2px solid #6640ff; outline-offset: 3px; }
.lwi-hero-copy img.margin-top-7 { display: block; margin-top: 40px; max-width: 100%; height: auto; }
.lwi-shot { margin: 0; }
.lwi-shot img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 36px 72px -24px rgba(78, 36, 248, 0.45); }
.lwi-hero .companies.top-124 { margin-top: 80px; }

/* sections */
.lwi-section { padding: 104px 0; }
.lwi-head { margin-bottom: 48px; }

/* steps: a real 3-step sequence, numbered and connected */
.lwi-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin: 0; padding: 0; list-style: none; }
.lwi-step { position: relative; list-style: none; }
.lwi-step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 22px;
  border-radius: 50%; background: #6640ff; color: #fff; font-size: 18px; font-weight: 700; line-height: 1;
}
.lwi-step:not(:last-child)::after {
  content: ""; position: absolute; top: 22px; right: 60px; left: -32px; height: 2px;
  background: linear-gradient(to left, #cfc6ff, #eaebf0);
}
.lwi-step p { color: #6a748b; margin: 0; }

/* results: published customer outcomes, number + meaning */
.lwi-section--results { background: #f7f6f8; }
.lwi-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.lwi-split .lwi-head { margin-bottom: 0; }
.lwi-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; background: #fff; border: 1px solid #eaebf0; border-radius: 24px; overflow: hidden; }
.lwi-result { padding: 32px 32px 30px; border-top: 1px solid #eaebf0; }
.lwi-result:nth-child(-n + 2) { border-top: 0; }
.lwi-result:nth-child(odd) { border-left: 1px solid #eaebf0; }
.lwi-result-value { font-size: 44px; line-height: 1.1; font-weight: 700; color: #6640ff; margin: 0 0 10px; }
.lwi-result-label { margin: 0; color: #070319; font-size: 17px; line-height: 1.55; text-wrap: pretty; }

/* benefits: ruled 2x2, no cards */
.lwi-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin: 0; padding: 0; list-style: none; }
.lwi-benefit { list-style: none; padding: 28px 0 32px; border-top: 1px solid #eaebf0; }
.lwi-benefit p { color: #6a748b; margin: 0; max-width: 32em; }

/* closing call to action */
.lwi-section--cta { padding-top: 0; padding-bottom: 120px; }
.lwi-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; padding: 52px 56px; border-radius: 28px; background: #f0eff5; }
.lwi-cta .lwi-h2 { font-size: 30px; }
.lwi-cta .lwi-actions { flex: none; }

@media screen and (max-width: 991px) {
  .lwi-hero-grid, .lwi-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .lwi-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lwi-step:not(:last-child)::after { display: none; }
  .lwi-cta { flex-direction: column; align-items: flex-start; }
}
@media screen and (max-width: 767px) {
  .lwi-hero, .lwi-section { font-size: 16px; }
  .lwi-wrap.container.w-container { padding-left: 16px; padding-right: 16px; }
  .lwi-h1 { font-size: 34px; }
  .lwi-h2 { font-size: 27px; }
  .lwi-lead { font-size: 18px; }
  .lwi-section { padding: 64px 0; }
  .lwi-head { margin-bottom: 32px; }
  .lwi-hero .companies.top-124 { margin-top: 56px; }
  .lwi-benefits { grid-template-columns: minmax(0, 1fr); }
  .lwi-result { padding: 24px 20px; }
  .lwi-result-value { font-size: 34px; }
  .lwi-cta { padding: 32px 24px; }
  .lwi-section--cta { padding-bottom: 72px; }
}
