/* Hebrew pages only. Linked from /he/… and when the reader chooses Hebrew.
   Heebo is a Hebrew companion face (SIL OFL, assets/fonts/heebo-OFL.txt).
   Latin stays Inter. */

@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/heebo-hebrew-400.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/heebo-hebrew-500.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/heebo-hebrew-600.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/heebo-hebrew-700.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/fonts/heebo-hebrew-800.woff2') format('woff2');
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

html[lang="he"] body {
  font-family: 'Inter', 'Heebo', sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] .section-title,
html[dir="rtl"] .feat-title,
html[dir="rtl"] .page-hero h1,
html[dir="rtl"] .hero h1,
html[dir="rtl"] .section-label,
html[dir="rtl"] .feat-label,
html[dir="rtl"] .badge,
html[dir="rtl"] .popular-tag,
html[dir="rtl"] .price-edition,
html[dir="rtl"] .feat-list li.feat-group,
html[dir="rtl"] .footer-col h4,
html[dir="rtl"] .compare-table th,
html[dir="rtl"] .compare-table .row-group td {
  letter-spacing: 0;
}

html[dir="rtl"] .logo,
html[dir="rtl"] .price-edition,
html[dir="rtl"] .mock-screen,
html[dir="rtl"] .dl-sha-file,
html[dir="rtl"] .dl-sha-hash,
html[dir="rtl"] .lang-code,
html[dir="rtl"] a[href^="mailto:"] {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] [data-i18n="price_24"],
html[dir="rtl"] [data-i18n="price_48"],
html[dir="rtl"] #connect-price,
html[dir="rtl"] #team-price {
  direction: ltr;
  unicode-bidi: isolate;
}

html[dir="rtl"] .hero-features,
html[dir="rtl"] .feat-list,
html[dir="rtl"] .lang-menu-item,
html[dir="rtl"] .nav-lang-item,
html[dir="rtl"] .dl-btn-main,
html[dir="rtl"] .dl-coming-note,
html[dir="rtl"] .dl-mac-install,
html[dir="rtl"] .dl-coming-badge,
html[dir="rtl"] .dl-notify,
html[dir="rtl"] .compare-table th,
html[dir="rtl"] .compare-table td,
html[dir="rtl"] .price-amount,
html[dir="rtl"] .edition-price,
html[dir="rtl"] .price-big {
  text-align: right;
}

html[dir="rtl"] .feat-list[style] {
  text-align: right !important;
}

html[dir="rtl"] .compare-table th:not(:first-child),
html[dir="rtl"] .compare-table td:not(:first-child) {
  text-align: center;
}

html[dir="rtl"] .compare-table th,
html[dir="rtl"] .compare-table td {
  word-break: normal;
  overflow-wrap: break-word;
}

html[dir="rtl"] .price-big {
  overflow-wrap: normal;
}

html[dir="rtl"] .lang-menu {
  left: auto;
  right: 0;
}

html[dir="rtl"] .nav-lang-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .nav-right .nav-lang {
  margin-left: 0;
  margin-right: 18px;
}

html[dir="rtl"] .hamburger {
  margin-left: 0;
  margin-right: 8px;
}

html[dir="rtl"] .nav-lang-mobile-row select {
  background-position: left 10px center;
  padding: 8px 12px 8px 30px;
}

html[dir="rtl"] .mock-label {
  direction: rtl;
  text-align: right;
  unicode-bidi: isolate;
}

html[dir="rtl"] .step {
  border-left: none;
  border-right: 1px solid rgba(255,255,255,0.08);
}

html[dir="rtl"] .step:first-child {
  border-right: none;
  padding-left: 28px;
  padding-right: 0;
}

@media (max-width: 600px) {
  html[dir="rtl"] .step {
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0 0;
  }
  html[dir="rtl"] .step:first-child {
    border-top: none;
    padding-top: 0;
  }
}
