/* Hebrew layout, loaded after the shared design. */
html[lang="he"] {
  --sans: 'Heebo', Arial, sans-serif;
}

html[lang="he"] body {
  text-align: start;
}

html[lang="he"] :is(h1, h2, h3) {
  letter-spacing: -.02em;
  text-wrap: pretty;
}

html[lang="he"] :is(.eyebrow, .feature-category, .coverage-eyebrow, .plan-label,
  .human-art-caption, .recovery-art-label, .interior-art-label, .screenshot-label,
  .human-steps-intro .eyebrow, .expert-graphic-label, .code-footnote) {
  letter-spacing: 0;
  font-family: var(--sans);
}

html[lang="he"] :is(.hero-copy, .app-copy, .recovery-copy, .monitor-copy,
  .interior-copy, .feature-copy, .blog-card-body, .article-body) {
  min-width: 0;
}

html[lang="he"] :is(bdi, .ltr, [data-price], .hero-os-link, .currency-control button) {
  direction: ltr;
  unicode-bidi: isolate;
}

html[lang="he"] :is(.hero-description, .guarantee-hero-note,
  .section-description, .coverage-description, .coverage-terms,
  .interior-copy > p, .article-description) {
  line-height: 1.9;
}

/* Keep the illustration's original orientation and give its labels room. */
html[lang="he"] .human-stage {
  margin-inline: 0;
  height: 580px;
}

html[lang="he"] .human-hero-art {
  inset: 34px 0 auto;
  height: calc(100% - 70px);
  object-fit: contain;
}

html[lang="he"] .human-vault-label {
  inset: 10px 0 auto auto;
  max-width: 90%;
  transform: rotate(2deg);
}

html[lang="he"] .human-vault-label > span:last-child {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0;
}

html[lang="he"] .human-vault-label strong {
  font-size: 12px;
  line-height: 1.5;
}

html[lang="he"] .human-support-badge {
  inset: auto auto 10px 0;
  max-width: 93%;
}

html[lang="he"] .human-support-badge strong {
  font-size: 14px;
  line-height: 1.5;
}

html[lang="he"] .human-support-badge small {
  font-size: 11px;
  line-height: 1.6;
}

html[lang="he"] .human-art-caption {
  inset: auto 0 -18px;
  text-align: center;
  font-size: 10px;
}

html[lang="he"] .hero-footnote {
  flex-wrap: wrap;
  row-gap: 10px;
}

html[lang="he"] .human-expert-note > svg:last-child,
html[lang="he"] .app-tab > svg,
html[lang="he"] .email-pill > svg:last-child,
html[lang="he"] .code-lock,
html[lang="he"] .plan-label,
html[lang="he"] .guarantee > .text-link {
  margin-left: 0;
  margin-right: auto;
}

/* The phone is a screenshot, so only its surrounding layout is localized. */
html[lang="he"] .app-section {
  gap: 7%;
}

html[lang="he"] .app-tab {
  text-align: start;
  gap: 14px;
  align-items: flex-start;
}

html[lang="he"] .app-tab strong {
  line-height: 1.6;
}

html[lang="he"] .app-tab small {
  line-height: 1.9;
}

html[lang="he"] .app-tab.active small {
  max-height: 130px;
}

html[lang="he"] .app-tab > span:not(.tab-number) {
  min-width: 0;
  flex: 1;
}

html[lang="he"] .app-tab > svg {
  margin-top: 4px;
}

html[lang="he"] .app-preview {
  min-height: 620px;
  padding-block: 40px 88px;
}

html[lang="he"] .app-decor-word {
  display: none;
}

html[lang="he"] .app-phone {
  width: 235px;
  max-width: 68%;
  transform: rotate(-3deg);
}

html[lang="he"] .app-phone img {
  aspect-ratio: auto;
  object-fit: contain;
}

html[lang="he"] .preview-corner {
  inset: 0 0 auto auto;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0;
}

html[lang="he"] .app-side-badge {
  inset: 115px auto auto 0;
  padding: 13px;
  max-width: 115px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.6;
  transform: rotate(3deg);
}

html[lang="he"] .app-preview-caption {
  bottom: 35px;
  width: max-content;
  max-width: 96%;
  white-space: normal;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
}

html[lang="he"] .screenshot-label {
  bottom: 0;
  font-size: 10px;
  line-height: 1.7;
}

/* The English card artwork occupied the same side as the Hebrew copy. */
html[lang="he"] .radar-visual {
  right: auto;
  left: -42px;
  direction: ltr;
}

html[lang="he"] .expert-visual {
  right: auto;
  left: 20px;
  direction: ltr;
  text-align: center;
}

html[lang="he"] .expert-graphic-label {
  direction: rtl;
  justify-content: center;
  font-size: 10px;
}

html[lang="he"] .code-card > strong {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: center;
}

html[lang="he"] .code-back > strong {
  left: 0;
  right: 0;
}

html[lang="he"] .code-front small {
  font-size: 10px;
}

html[lang="he"] .vault-stamp {
  left: auto;
  right: 24px;
  font-family: var(--sans);
  font-size: 10px;
}

html[lang="he"] .recovery-art {
  margin-inline: 0;
  width: 100%;
  padding-top: 35px;
}

html[lang="he"] .recovery-sticker {
  left: 15px;
  right: auto;
  top: 0;
  font-size: 12px;
  letter-spacing: 0;
}

html[lang="he"] .recovery-art-label {
  font-size: 10px;
  line-height: 1.8;
  padding-top: 12px;
}

html[lang="he"] .human-recovery h2 {
  line-height: 1.2;
}

html[lang="he"] .check-list li {
  padding-left: 0;
  padding-right: 24px;
  line-height: 1.9;
}

html[lang="he"] .check-list li::before {
  left: auto;
  right: 0;
}

html[lang="he"] .price {
  gap: 5px;
}

html[lang="he"] .price small {
  direction: rtl;
  unicode-bidi: isolate;
  margin-inline-start: 8px;
  margin-left: 0;
}

html[lang="he"] .plan-label {
  font-size: 10px;
}

html[lang="he"] .trust-item {
  border-left: 0;
  border-right: 1px solid var(--line);
  padding-left: 0;
  padding-right: 25px;
}

html[lang="he"] .faq-list details p {
  padding-right: 0;
  padding-left: 24px;
}

html[lang="he"] .blog-cover img {
  object-fit: contain;
}

html[lang="he"] :is(.blog-card h2, .article-heading h1) bdi {
  overflow-wrap: anywhere;
}

html[lang="he"] .article-section :is(ol, ul) {
  padding-left: 0;
  padding-right: 24px;
}

html[lang="he"] .article-sources a {
  overflow-wrap: anywhere;
}

html[lang="he"] .interior-art {
  padding-top: 55px;
}

html[lang="he"] .interior-art-label {
  top: 20px;
  inset-inline: 20px;
  text-align: center;
  font-size: 11px;
  line-height: 1.7;
}

html[lang="he"] .interior-phone {
  transform: rotate(-3deg);
  box-shadow: -10px 15px 0 #d9ef4a;
}

html[lang="he"] .store-button {
  min-width: 0;
}

html[lang="he"] .store-button > span {
  min-width: 0;
}

@media (max-width: 1100px) {
  html[lang="he"] .human-stage {
    height: 500px;
  }

  html[lang="he"] .expert-visual {
    left: -28px;
  }
}

@media (max-width: 900px) {
  html[lang="he"] .hero.human-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    gap: 30px;
    padding-block: 42px;
  }

  html[lang="he"] .hero.human-hero h1 {
    font-size: clamp(42px, 7.4vw, 64px);
    line-height: 1.2;
  }

  html[lang="he"] .hero.human-hero .hero-description {
    font-size: 16px;
    max-width: 600px;
  }

  html[lang="he"] .hero.human-hero .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
  }

  html[lang="he"] .human-stage {
    width: min(520px, 100%);
    height: 530px;
    margin-inline: auto;
  }

  html[lang="he"] .app-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  html[lang="he"] .app-copy {
    width: 100%;
    max-width: 600px;
  }

  html[lang="he"] .app-copy h2 {
    font-size: 42px;
  }

  html[lang="he"] .app-preview {
    width: min(480px, 100%);
    margin-inline: auto;
  }

  html[lang="he"] .human-recovery {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  html[lang="he"] .recovery-copy {
    grid-row: 1;
  }

  html[lang="he"] .recovery-art {
    max-width: 600px;
    margin-inline: auto;
  }

  html[lang="he"] .interior-hero {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
  }

  html[lang="he"] .interior-art {
    width: min(540px, 100%);
    margin-inline: auto;
  }

  html[lang="he"] .interior-copy h1 {
    font-size: clamp(39px, 6vw, 56px);
  }

  html[lang="he"] .interior-copy > p:not(.eyebrow) {
    font-size: 15px;
  }
}

@media (max-width: 650px) {
  html[lang="he"] .hero.human-hero {
    padding: 34px 22px 35px;
    gap: 22px;
  }

  html[lang="he"] .hero.human-hero h1 {
    font-size: clamp(35px, 9.8vw, 54px);
  }

  html[lang="he"] .hero.human-hero .hero-description {
    font-size: 15px;
  }

  html[lang="he"] .hero.human-hero .hero-actions {
    gap: 16px;
  }

  html[lang="he"] .hero.human-hero .hero-actions .button {
    font-size: 12px;
    min-height: 48px;
    padding-inline: 16px;
  }

  html[lang="he"] .hero.human-hero .hero-secondary {
    font-size: 12px;
  }

  html[lang="he"] .human-stage {
    height: auto;
    aspect-ratio: 1 / 1.2;
    max-width: 470px;
  }

  html[lang="he"] .human-hero-art {
    top: 32px;
    height: calc(100% - 80px);
  }

  html[lang="he"] .human-vault-label {
    top: 0;
    padding: 9px 10px;
    gap: 8px;
  }

  html[lang="he"] .human-vault-label > span:last-child {
    font-size: 9px;
  }

  html[lang="he"] .human-vault-label strong {
    font-size: 10px;
  }

  html[lang="he"] .human-support-badge {
    bottom: 0;
    padding: 10px 12px;
    gap: 10px;
  }

  html[lang="he"] .human-support-badge strong {
    font-size: 12px;
  }

  html[lang="he"] .human-support-badge small {
    font-size: 10px;
  }

  html[lang="he"] .doodle-one {
    top: 29px;
    left: 40%;
    font-size: 34px;
  }

  html[lang="he"] .coverage-copy h2 {
    font-size: clamp(30px, 8.7vw, 40px);
    line-height: 1.25;
  }

  html[lang="he"] .app-copy h2 {
    font-size: 37px;
    line-height: 1.25;
  }

  html[lang="he"] .app-tab {
    padding: 18px 14px;
  }

  html[lang="he"] .app-tab strong {
    font-size: 14px;
  }

  html[lang="he"] .app-tab small {
    font-size: 12px;
  }

  html[lang="he"] .app-preview {
    min-height: 595px;
    padding-top: 35px;
  }

  html[lang="he"] .app-phone {
    width: 220px;
    max-width: 72%;
  }

  html[lang="he"] .app-side-badge {
    top: 95px;
    left: 0;
    font-size: 10px;
    padding: 10px;
    max-width: 95px;
  }

  html[lang="he"] .app-preview-caption {
    bottom: 35px;
    font-size: 11px;
  }

  html[lang="he"] .human-recovery {
    gap: 30px;
  }

  html[lang="he"] .human-recovery h2 {
    font-size: 38px;
  }

  html[lang="he"] .recovery-art {
    margin: 0;
    width: 100%;
  }

  html[lang="he"] .recovery-sticker {
    left: 5px;
    font-size: 11px;
  }

  html[lang="he"] .expert-visual {
    left: -10px;
    right: auto;
    opacity: .5;
  }

  html[lang="he"] .alert-feature .feature-copy,
  html[lang="he"] .expert-feature .feature-copy {
    max-width: 78%;
  }

  html[lang="he"] .trust-item {
    padding-right: 18px;
  }

  html[lang="he"] .plan-label {
    max-width: 105px;
    text-align: end;
    font-size: 10px;
  }

  html[lang="he"] .price {
    font-size: 57px;
  }

  html[lang="he"] .store-buttons {
    flex-wrap: wrap;
  }

  html[lang="he"] .store-button {
    flex: 1 1 145px;
    padding: 12px;
  }

  html[lang="he"] .article-heading h1 {
    line-height: 1.4;
    font-size: 31px;
  }

  html[lang="he"] .blog-card h2 {
    line-height: 1.5;
    font-size: 24px;
  }

  html[lang="he"] .article-body {
    font-size: 16px;
    line-height: 1.95;
  }
}

@media (max-width: 380px) {
  html[lang="he"] .hero.human-hero h1 {
    font-size: 9.8vw;
  }

  html[lang="he"] .hero.human-hero .hero-description {
    font-size: 14px;
  }

  html[lang="he"] .human-vault-label strong {
    font-size: 9px;
  }

  html[lang="he"] .app-preview {
    min-height: 535px;
  }

  html[lang="he"] .app-phone {
    width: 195px;
  }

  html[lang="he"] .app-side-badge {
    font-size: 9px;
    top: 70px;
    max-width: 80px;
    gap: 5px;
  }

  html[lang="he"] .app-side-badge svg {
    width: 18px;
    height: 18px;
  }

  html[lang="he"] .article-heading h1 {
    font-size: 28px;
  }
}

html[lang="he"] :is(.article-error, .blog-card-error) {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  unicode-bidi: isolate;
  text-align: left;
  color: #36565a;
  background: #eef5f2;
  border-radius: 6px;
  padding: .4em .7em;
  margin-block: .7em 1em;
  line-height: 1.55;
  font: 500 .82rem/1.55 'Manrope', Arial, sans-serif;
}
html[lang="he"] :is(.article-error, .blog-card-error) code { font: inherit; }
html[lang="he"] .legal-intro {
  margin: 0 auto 2.5rem;
  max-width: 880px;
}
html[lang="he"] .legal-intro h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
}
html[lang="he"] .legal-intro p { max-width: 65ch; line-height: 1.85; }
html[lang="he"] .legal-intro a { color: #09685d; text-decoration: underline; }
html[lang="he"] .legal-document[dir="ltr"] { text-align: left; }

/* The Hebrew hero gives protection and recovery one line each. */
html[lang="he"] .hero-human-help {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-block-start: clamp(22px, 2.25vw, 32px);
  color: #284a50;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  text-decoration: none;
}
html[lang="he"] .hero-human-help svg {
  width: 24px;
  height: 24px;
  color: #087e74;
  flex: none;
}
html[lang="he"] .hero-human-help:hover span { text-decoration: underline; }

html[lang="he"] .platforms .platform-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  max-width: 1080px;
  column-gap: 20px;
}
html[lang="he"] .platform-row > span {
  direction: ltr;
  justify-content: center;
  gap: 10px;
  font-family: 'Manrope', Arial, sans-serif;
  font-size: clamp(22px, 2vw, 29px);
  line-height: 1.25;
}
html[lang="he"] .platform-row svg {
  width: clamp(28px, 2.55vw, 36px);
  height: clamp(28px, 2.55vw, 36px);
  flex: none;
}
@media (max-width: 700px) {
  html[lang="he"] .platforms .platform-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 440px;
    gap: 22px 12px;
  }
  html[lang="he"] .platform-row > span {
    font-size: clamp(18px, 4.7vw, 23px);
    gap: 7px;
  }
  html[lang="he"] .platform-row svg { width: 26px; height: 26px; }
}
