html[dir="rtl"] body{direction:rtl}html[dir="rtl"] .nav,html[dir="rtl"] .vnext-footer-grid,html[dir="rtl"] .hero-layout{direction:rtl}.tool-card textarea{width:100%;min-height:140px;font:inherit;padding:14px;border:1px solid #ccd8dc;border-radius:8px;background:#fff}.tool-card .field label{display:block;font-weight:700;margin-bottom:8px}.tool-card{max-width:900px}
/* ========================================================================
   Multilingual visual polish v7 - 2026-10-04
   Goals:
   1) Make CJK headings read naturally instead of forcing oversized wraps.
   2) Give translated pages more balanced left/right content columns.
   3) Turn the lower contact/email block into a compact professional card.
   4) Remove the old boxed-button look from the footer email address.
   ======================================================================== */

/* Language-appropriate system font stacks. No external font dependency. */
html:lang(zh-Hant) body{
  font-family:Inter,"PingFang TC","Noto Sans TC","Microsoft JhengHei",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
html:lang(ja) body{
  font-family:Inter,"Hiragino Kaku Gothic ProN","Yu Gothic","Meiryo",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
html:lang(ko) body{
  font-family:Inter,"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

/* Better headline rhythm for Traditional Chinese, Japanese and Korean. */
html:lang(zh-Hant) h1,
html:lang(zh-Hant) h2,
html:lang(zh-Hant) h3,
html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) h3,
html:lang(ko) h1,
html:lang(ko) h2,
html:lang(ko) h3{
  letter-spacing:-.025em;
  word-break:keep-all;
  overflow-wrap:break-word;
  text-wrap:balance;
}

html:lang(zh-Hant) p,
html:lang(ja) p,
html:lang(ko) p,
html:lang(zh-Hant) .line-item span,
html:lang(ja) .line-item span,
html:lang(ko) .line-item span{
  text-wrap:pretty;
}

/* Internal-page titles: slightly calmer scale, more usable width. */
html:lang(zh-Hant) .page-hero h1,
html:lang(ja) .page-hero h1,
html:lang(ko) .page-hero h1{
  max-width:900px;
  font-size:clamp(38px,4vw,56px);
  line-height:1.13;
}

/* The translated side heading was too narrow, causing 2-4 unnecessary lines. */
html:lang(zh-Hant) .content-grid,
html:lang(ja) .content-grid,
html:lang(ko) .content-grid{
  grid-template-columns:minmax(310px,355px) minmax(0,1fr);
  gap:52px;
}
html:lang(zh-Hant) .content-grid h2,
html:lang(ja) .content-grid h2,
html:lang(ko) .content-grid h2{
  max-width:355px;
  font-size:clamp(28px,2.35vw,34px);
  line-height:1.2;
}

/* Home/editorial split headings need more room in CJK languages. */
html:lang(zh-Hant) .section-head,
html:lang(ja) .section-head,
html:lang(ko) .section-head{
  grid-template-columns:minmax(440px,.95fr) minmax(0,1.05fr);
  gap:48px;
}
html:lang(zh-Hant) .section-head h2,
html:lang(ja) .section-head h2,
html:lang(ko) .section-head h2{
  max-width:720px;
  font-size:clamp(31px,2.8vw,39px);
  line-height:1.17;
}
html:lang(zh-Hant) .statement-grid,
html:lang(ja) .statement-grid,
html:lang(ko) .statement-grid{
  grid-template-columns:minmax(420px,.94fr) minmax(0,1.06fr);
  gap:52px;
}
html:lang(zh-Hant) .statement-quote,
html:lang(ja) .statement-quote,
html:lang(ko) .statement-quote{
  max-width:720px;
  font-size:clamp(31px,2.85vw,41px);
  line-height:1.18;
}

/* Contact block: compact, balanced, and no giant raw email dominating the section. */
.request-block{
  padding:46px 0;
}
.request-grid{
  grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);
  gap:52px;
  align-items:center;
}
.request-block h2{
  max-width:560px;
  font-size:clamp(29px,2.45vw,37px);
  line-height:1.17;
  text-wrap:balance;
}
.request-block p{
  max-width:620px;
  margin-top:10px;
  font-size:16.5px;
  line-height:1.7;
}
.request-grid > div:last-child{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px 22px;
  flex-wrap:wrap;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  background:rgba(255,255,255,.045);
}
.request-email{
  flex:1 1 300px;
  min-width:0;
  margin:0;
  color:#f3fbfa;
  font-size:clamp(17px,1.45vw,20px);
  font-weight:720;
  line-height:1.35;
  letter-spacing:0;
  word-break:normal !important;
  overflow-wrap:anywhere !important;
}
.request-actions{
  flex:0 0 auto;
  margin:0;
}
.request-actions .btn{
  min-height:42px;
  padding:0 16px;
  border-radius:7px;
  font-size:14px;
}

/* Footer email should look like contact information, not a heavy secondary button. */
.vnext-footer .footer-email,
body .site-footer.footer-polished .footer-email{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  margin-top:10px;
  padding:2px 0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#dbe9ea;
  font-size:14px;
  font-weight:720;
  line-height:1.45;
  text-decoration:none;
  text-underline-offset:3px;
  white-space:normal;
  overflow-wrap:anywhere;
}
.vnext-footer .footer-email::before,
body .site-footer.footer-polished .footer-email::before{
  content:"";
  width:7px;
  height:7px;
  margin-right:9px;
  border-radius:50%;
  background:#6fc9bc;
  box-shadow:0 0 0 3px rgba(111,201,188,.12);
  flex:0 0 auto;
}
.vnext-footer .footer-email:hover,
body .site-footer.footer-polished .footer-email:hover{
  color:#fff;
  background:transparent;
  text-decoration:underline;
}
html[dir="rtl"] .vnext-footer .footer-email::before,
html[dir="rtl"] body .site-footer.footer-polished .footer-email::before{
  margin-right:0;
  margin-left:9px;
}

/* Long translated labels should not squeeze into awkward narrow blocks. */
html:lang(zh-Hant) .line-item,
html:lang(ja) .line-item,
html:lang(ko) .line-item{
  grid-template-columns:minmax(190px,230px) minmax(0,1fr);
  gap:28px;
}
html:lang(zh-Hant) .line-item strong,
html:lang(ja) .line-item strong,
html:lang(ko) .line-item strong{
  line-height:1.55;
}

@media(max-width:1080px){
  html:lang(zh-Hant) .content-grid,
  html:lang(ja) .content-grid,
  html:lang(ko) .content-grid,
  html:lang(zh-Hant) .section-head,
  html:lang(ja) .section-head,
  html:lang(ko) .section-head,
  html:lang(zh-Hant) .statement-grid,
  html:lang(ja) .statement-grid,
  html:lang(ko) .statement-grid,
  .request-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  html:lang(zh-Hant) .content-grid h2,
  html:lang(ja) .content-grid h2,
  html:lang(ko) .content-grid h2{
    max-width:760px;
  }
  .request-grid > div:last-child{
    max-width:760px;
  }
}

@media(max-width:760px){
  html:lang(zh-Hant) .page-hero h1,
  html:lang(ja) .page-hero h1,
  html:lang(ko) .page-hero h1{
    font-size:clamp(34px,9vw,44px);
  }
  html:lang(zh-Hant) .section-head h2,
  html:lang(ja) .section-head h2,
  html:lang(ko) .section-head h2,
  html:lang(zh-Hant) .statement-quote,
  html:lang(ja) .statement-quote,
  html:lang(ko) .statement-quote,
  html:lang(zh-Hant) .content-grid h2,
  html:lang(ja) .content-grid h2,
  html:lang(ko) .content-grid h2{
    font-size:30px;
    line-height:1.2;
  }
  html:lang(zh-Hant) .line-item,
  html:lang(ja) .line-item,
  html:lang(ko) .line-item{
    grid-template-columns:1fr;
    gap:7px;
  }
  .request-block{
    padding:40px 0;
  }
  .request-block h2{
    font-size:30px;
  }
  .request-grid > div:last-child{
    display:block;
    padding:18px;
  }
  .request-email{
    font-size:17px;
  }
  .request-actions{
    margin-top:14px;
  }
}

/* ========================================================================
   Multilingual visual polish v8 - 2026-10-04
   Fixes found during visual QA:
   - Japanese/Traditional Chinese must keep native CJK break opportunities;
     v7's keep-all rule could push headings across grid boundaries.
   - Korean keeps phrase-level wrapping without splitting Hangul words.
   - CJK desktop columns get enough width to avoid orphan characters/words.
   - Footer contact email stays on one line and no longer looks like a badge.
   ======================================================================== */

/* Native CJK line breaking. Do not suppress Japanese/Chinese break points. */
html:lang(ja) h1,
html:lang(ja) h2,
html:lang(ja) h3,
html:lang(zh-Hant) h1,
html:lang(zh-Hant) h2,
html:lang(zh-Hant) h3{
  word-break:normal !important;
  overflow-wrap:normal !important;
  line-break:strict;
  text-wrap:balance;
}
html:lang(ko) h1,
html:lang(ko) h2,
html:lang(ko) h3{
  word-break:keep-all !important;
  overflow-wrap:normal !important;
  text-wrap:balance;
}

/* Prevent grid children from painting into neighbouring columns. */
.hero-layout > *,
.page-hero-grid > *,
.content-grid > *,
.section-head > *,
.statement-grid > *{
  min-width:0;
}

/* CJK desktop composition: wider title column, calmer heading scale. */
@media (min-width:1081px){
  html:lang(zh-Hant) .hero-layout,
  html:lang(ja) .hero-layout,
  html:lang(ko) .hero-layout{
    grid-template-columns:minmax(0,1.34fr) minmax(360px,.66fr);
    gap:64px;
    align-items:center;
  }
  html:lang(zh-Hant) .corp-hero h1,
  html:lang(ja) .corp-hero h1,
  html:lang(ko) .corp-hero h1{
    width:auto;
    max-width:100% !important;
    font-size:clamp(44px,3.8vw,52px) !important;
    line-height:1.11 !important;
    letter-spacing:-.025em !important;
  }
  html:lang(zh-Hant) .corp-hero .lead,
  html:lang(ja) .corp-hero .lead,
  html:lang(ko) .corp-hero .lead{
    max-width:760px;
    font-size:18px;
    line-height:1.7;
  }
  html:lang(zh-Hant) .hero-side,
  html:lang(ja) .hero-side,
  html:lang(ko) .hero-side{
    padding-left:26px;
  }

  /* Internal pages: enough room for translated left-side headings. */
  html:lang(zh-Hant) .content-grid,
  html:lang(ja) .content-grid,
  html:lang(ko) .content-grid{
    grid-template-columns:minmax(360px,390px) minmax(0,1fr);
    gap:48px;
  }
  html:lang(zh-Hant) .content-grid h2,
  html:lang(ja) .content-grid h2,
  html:lang(ko) .content-grid h2{
    max-width:390px;
    font-size:clamp(29px,2.2vw,33px);
    line-height:1.2;
  }

  /* Editorial split sections: avoid one-character / one-word final lines. */
  html:lang(zh-Hant) .section-head,
  html:lang(ja) .section-head,
  html:lang(ko) .section-head{
    grid-template-columns:minmax(470px,.92fr) minmax(0,1.08fr);
    gap:46px;
  }
  html:lang(zh-Hant) .section-head h2,
  html:lang(ja) .section-head h2,
  html:lang(ko) .section-head h2{
    max-width:650px;
    font-size:clamp(31px,2.65vw,38px);
    line-height:1.18;
  }
  html:lang(zh-Hant) .statement-grid,
  html:lang(ja) .statement-grid,
  html:lang(ko) .statement-grid{
    grid-template-columns:minmax(470px,.92fr) minmax(0,1.08fr);
    gap:46px;
  }
  html:lang(zh-Hant) .statement-quote,
  html:lang(ja) .statement-quote,
  html:lang(ko) .statement-quote{
    max-width:650px;
    font-size:clamp(31px,2.7vw,39px);
    line-height:1.2;
  }

  /* Labels inside detail rows should not be squeezed into 3-5 short lines. */
  html:lang(zh-Hant) .line-item,
  html:lang(ja) .line-item,
  html:lang(ko) .line-item{
    grid-template-columns:minmax(245px,285px) minmax(0,1fr);
    gap:26px;
  }
}

/* Footer: give the brand/contact column enough room on desktop. */
@media (min-width:1141px){
  .vnext-footer-grid{
    grid-template-columns:minmax(310px,1.68fr) repeat(4,minmax(0,1fr));
    gap:32px;
  }
  .vnext-footer .footer-brand p{
    max-width:315px;
  }
}

/* Footer email is contact text, not a pill, card, or status indicator. */
.vnext-footer .footer-email,
body .site-footer.footer-polished .footer-email{
  display:inline-block !important;
  max-width:none;
  margin-top:7px;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  color:#cfe0e1;
  font-size:14px;
  font-weight:650;
  line-height:1.5;
  letter-spacing:-.01em;
  white-space:nowrap !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  text-decoration:none;
}
.vnext-footer .footer-email::before,
body .site-footer.footer-polished .footer-email::before{
  content:none !important;
  display:none !important;
}
.vnext-footer .footer-email:hover,
body .site-footer.footer-polished .footer-email:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:4px;
}

/* Keep the contact line readable even on narrow phones. */
@media (max-width:420px){
  .vnext-footer .footer-email,
  body .site-footer.footer-polished .footer-email{
    font-size:13.5px;
    letter-spacing:-.02em;
  }
}

/* All localized headings: avoid a single orphan word on a final line. */
html[lang]:not([lang="en"]) h1,
html[lang]:not([lang="en"]) h2,
html[lang]:not([lang="en"]) h3{
  text-wrap:balance;
}

/* Germanic compound nouns need legal wrap points rather than horizontal overflow. */
html:lang(de) h1,
html:lang(de) h2,
html:lang(de) h3,
html:lang(nl) h1,
html:lang(nl) h2,
html:lang(nl) h3,
html:lang(sv) h1,
html:lang(sv) h2,
html:lang(sv) h3{
  word-break:normal;
  overflow-wrap:break-word;
  hyphens:auto;
}

/* Mobile/tablet repair: a later desktop rule in corporate.css reintroduced the
   two-column hero after its responsive rule, collapsing the first column on
   narrow screens. Reassert the responsive structure at the end of the cascade. */
@media (max-width:1080px){
  html[lang]:not([lang="en"]) .hero-layout{
    grid-template-columns:minmax(0,1fr) !important;
    gap:34px !important;
    align-items:start;
  }
  html[lang]:not([lang="en"]) .hero-side{
    width:auto;
    max-width:none;
    padding-left:0 !important;
    padding-right:0 !important;
    padding-top:26px;
    border-left:0 !important;
    border-right:0 !important;
    border-top:1px solid rgba(255,255,255,.2);
  }
}

/* Shared localized header: prevent brand/language/hamburger collisions. */
@media (max-width:1160px){
  html[lang]:not([lang="en"]) .vnext-header .container.nav{
    grid-template-columns:minmax(0,1fr) auto !important;
    gap:10px !important;
  }
  html[lang]:not([lang="en"]) .vnext-header .brand{
    min-width:0 !important;
    max-width:100%;
  }
  html[lang]:not([lang="en"]) .vnext-header .nav-tools{
    min-width:0;
    justify-self:end;
  }
}
@media (max-width:480px){
  html[lang]:not([lang="en"]) .vnext-header .brand{
    gap:9px;
  }
  html[lang]:not([lang="en"]) .vnext-header .brand-mark{
    width:36px;
    height:36px;
    min-width:36px;
  }
  html[lang]:not([lang="en"]) .vnext-header .brand strong{
    font-size:13.5px !important;
    white-space:nowrap;
  }
  html[lang]:not([lang="en"]) .vnext-header .lang>button{
    font-size:12.5px;
    padding-left:3px;
    padding-right:3px;
  }
  html[lang]:not([lang="en"]) .vnext-header .nav-tools{
    gap:5px;
  }
}


/* RTL content refinements */
html[dir="rtl"] .direct-answer-list, html[dir="rtl"] .contact-checklist { padding-left: 0; padding-right: 1.25rem; }
html[dir="rtl"] .contact-toolbox, html[dir="rtl"] .contact-content { text-align: right; }
