/* Scoped Japanese typesetting; never changes the existing English/Chinese UI. */
html[lang="ja"] body,
html[lang="ja"] button,
html[lang="ja"] input,
html[lang="ja"] textarea {
    font-family: var(--bunny-font-family);
}
html[lang="ja"] .redmine-product-site { line-break: strict; }
html[lang="ja"] .lead,
html[lang="ja"] .rm-richtext { line-height: 1.85; }
html[lang="ja"] .hero-copy .display {
    font-size: clamp(2.4rem, 4.2vw, 4.5rem);
    line-height: 1.28;
    letter-spacing: -0.035em;
    word-break: normal;
    overflow-wrap: anywhere;
}
html[lang="ja"] .section-title { line-height: 1.4; }
html[lang="ja"] .bunny-fab-demo,
html[lang="ja"] .bunny-walkthrough { min-width: 0; }
html[lang="ja"] .nav-links,
html[lang="ja"] .nav-actions { gap: 1rem; }
@media (max-width: 600px) {
    html[lang="ja"] .promo {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: .3rem .5rem;
        line-height: 1.5;
    }
    html[lang="ja"] .promo-badge { white-space: nowrap; }
    html[lang="ja"] .hero-copy .display { font-size: 2.35rem; }
    html[lang="ja"] .hero-actions .btn { white-space: normal; }
}
