/* Hebrew pages only (everything under /he). Loaded after site.css.
   The layout mirrors on its own: the pages are dir="rtl" and site.css is written in logical properties (inline/block).
   This file holds only what direction cannot do by itself. */

/* Hebrew letters come from Heebo; Latin words (Jents, AI, ROI, system names) keep the site's own fonts, glyph by glyph. */
:root[lang="he"]{
  --f-ui:"Plus Jakarta Sans","Heebo",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-vx:"Geist","Heebo",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --f-data:"Geist Mono","Heebo",ui-monospace,SFMono-Regular,Menlo,monospace;
}

/* Hebrew has no capitals: the tracked-out small caps and the tightened headlines of the English pages do not carry over. */
:root[lang="he"] body *{letter-spacing:normal}
:root[lang="he"] .site-logo{letter-spacing:-.02em}

/* Text inside an SVG is placed by x and text-anchor, and both flip with direction. Charts keep their left-to-right axes. */
svg{direction:ltr}

/* An email address is typed left to right even on a right-to-left form. */
input[type="email"]{direction:ltr;text-align:right}

/* The Jents mark and its rings are placed by the script in physical pixels from the left edge, and centred with
   physical margins. Keep them physical here, so the mirrored positions the script computes land where it means. */
.is-pinned .sc-core{inset-inline-start:auto;left:0}
.rings .jcore{inset-inline-start:auto;left:50%}
.ring-lbl{transform:translate(50%,-50%)}
.js .rings[data-enter]:not(.is-in) .ring-lbl{transform:translate(50%,-50%) translateY(8px)}

/* The contact form's hidden bot trap sits far off screen to the left; in a right-to-left page that side scrolls. */
#contact-fields>div[aria-hidden="true"]{left:auto!important;right:-9999px}

/* Event chips fly in along pixel positions measured from the left edge of the rings. */
.ev-chip{inset-inline-start:auto;left:0}

/* The usage chart keeps its left-to-right axes (site.css), but its Hebrew labels still read right to left. */
.scat-y,.scat-x,.sdot span{direction:rtl;unicode-bidi:isolate}

/* The three KPI tiles are narrow on the Platform page, and Hebrew sets wider than the English it replaces. */
.kba-t b{font-size:17px}

/* The hero headline is three sentences, one per line. Hebrew letters are wider, so the size steps down to keep each on its line. */
.h-display{font-size:clamp(34px,4.7vw,62px);line-height:1.1}
