/* KAGE localization safety layer: include AFTER site.css/editorial.css.
   Scoped to translated pages; Russian design remains unchanged. */
html[lang]:not([lang="ru"]) .hero-v45 h1 {
  white-space: normal !important;
  max-width: 100%;
  overflow-wrap: normal;
  text-wrap: balance;
  hyphens: auto;
}
html[lang]:not([lang="ru"]) .summary-v45-outcome-foot a,
html[lang]:not([lang="ru"]) .k56-below a,
html[lang]:not([lang="ru"]) .button,
html[lang]:not([lang="ru"]) .k8-actions a {
  white-space: normal !important;
  overflow-wrap: break-word;
  height: auto;
  text-align: center;
  line-height: 1.3;
}
html[lang]:not([lang="ru"]) .k8-hero-copy,
html[lang]:not([lang="ru"]) .k8-feature-copy,
html[lang]:not([lang="ru"]) .k8-ideas-copy,
html[lang]:not([lang="ru"]) .k8-workflow .workflow-tab {
  min-width: 0;
}
html[lang]:not([lang="ru"]) .k8-workflow .workflow-tab b {
  overflow-wrap: anywhere;
}
html[lang="de"] .k8-hero h1,
html[lang="fr"] .k8-hero h1 {
  font-size: clamp(48px, 5.3vw, 83px);
}
html[lang="ja"] body {
  font-family: Inter,"Noto Sans CJK JP","Hiragino Kaku Gothic ProN","Yu Gothic",system-ui,sans-serif;
  line-break: strict;
  overflow-wrap: anywhere;
}
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3 {
  letter-spacing: -.035em;
}
html[lang="ja"] .eyebrow {letter-spacing: .04em !important;}
@media(max-width:1100px) {
  html[lang]:not([lang="ru"]) .desktop-nav {gap: 12px;}
}
html[lang]:not([lang="ru"]) .k8-ideas-copy h3 {
  font-size: clamp(40px, 4.9vw, 72px);
  overflow-wrap: anywhere;
}
html[lang]:not([lang="ru"]) .faq-intro h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Localized navigation, spacing and editorial typography. */
.kage-lang-switch {display:flex;align-items:center;gap:3px;flex:0 0 auto;white-space:nowrap;}
.kage-lang-switch a {text-decoration:none!important;display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:30px;padding:4px 6px;border-radius:6px;color:#aaa5b5!important;font-size:11px;font-weight:700;letter-spacing:.025em;line-height:1.2;transition:color .15s,background .15s;}
.kage-lang-switch a[aria-current="true"] {color:#fff!important;background:rgba(133,94,255,.25);outline:1px solid rgba(166,126,255,.35);}
.kage-lang-switch a:hover,.kage-lang-switch a:focus-visible {color:#fff!important;background:rgba(151,108,255,.18);}
.kage-lang-switch--mobile {display:none;}
html[lang="en"] .platform-v46 .section-heading h2::before {content:"03 / CHANNELS"!important;}
html[lang="de"] .platform-v46 .section-heading h2::before {content:"03 / KANÄLE"!important;}
html[lang]:not([lang="ru"]) h1,
html[lang]:not([lang="ru"]) h2,
html[lang]:not([lang="ru"]) h3 {overflow-wrap:break-word;hyphens:auto;}
html[lang]:not([lang="ru"]) .k8-hero h1,html[lang]:not([lang="ru"]) .k8-statement h2 {text-wrap:balance;}
html[lang]:not([lang="ru"]) .k8-hero h1 {max-width:100%;}
html[lang]:not([lang="ru"]) .hero-v45 h1 {white-space:normal!important;}
html[lang]:not([lang="ru"]) .k8-actions a {white-space:normal;min-width:0;overflow-wrap:break-word;text-align:center;}
html[lang]:not([lang="ru"]) .workflow-tab {min-width:0;}
html[lang]:not([lang="ru"]) .k63-footer-links a {overflow-wrap:break-word;}
@media (max-width:1150px) { .kage-lang-switch--desktop {gap:0;} .kage-lang-switch--desktop a {min-width:25px;padding:4px;} }
@media (max-width:900px) { .kage-lang-switch--desktop {display:none;} .kage-lang-switch--mobile {display:flex;justify-content:flex-start;gap:8px;padding:12px 20px 18px;} }
/* Correct the tablet workflow layout: the original CSS squeezed four tabs into a 200px side column. */
@media (min-width:651px) and (max-width:1000px) {
 .workflow-section .workflow-layout {display:grid!important;grid-template-columns:minmax(0,1fr)!important;}
 .workflow-section .workflow-tabs {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;max-width:100%!important;border-right:0!important;border-bottom:1px solid #32313b!important;}
 .workflow-section .workflow-tab {display:block!important;width:100%!important;min-width:0!important;min-height:78px!important;padding:9px 6px!important;white-space:normal!important;overflow-wrap:break-word;}
 .workflow-section .workflow-tab b {font-size:clamp(12px,1.7vw,17px)!important;overflow-wrap:break-word;}
 .workflow-section .workflow-tab small {display:none!important;}
 .workflow-section .workflow-tab.is-active:before {left:0!important;right:0!important;top:auto!important;bottom:0!important;width:auto!important;height:3px!important;}
}
@media (max-width:550px) {html[lang="de"] .hero-v45 h1 {font-size:clamp(39px,9.3vw,56px)!important;} html[lang="en"] .hero-v45 h1 {font-size:clamp(44px,10vw,60px)!important;}}

/* V6.6.0: eight-language selector and locale-specific pseudo-copy. */
html[lang="es"] .platform-v46 .section-heading h2::before {content:"03 / CANALES"!important;}
html[lang="fr"] .platform-v46 .section-heading h2::before {content:"03 / CANAUX"!important;}
html[lang="pt-BR"] .platform-v46 .section-heading h2::before {content:"03 / CANAIS"!important;}
html[lang="id"] .platform-v46 .section-heading h2::before {content:"03 / KANAL"!important;}
html[lang="ja"] .platform-v46 .section-heading h2::before {content:"03 / チャンネル"!important;}
@media (min-width:901px) and (max-width:1250px) { .kage-lang-switch--desktop {max-width:158px;flex-wrap:wrap;justify-content:flex-end;white-space:normal;row-gap:0;} .kage-lang-switch--desktop a {min-height:25px;} }
@media (max-width:900px) {.kage-lang-switch--mobile {flex-wrap:wrap;white-space:normal;column-gap:4px;row-gap:3px;}}
html[lang="ja"] .kage-lang-switch a {font-family:Inter,system-ui,sans-serif;}
html[lang="ja"] .hero-v45 h1 {overflow-wrap:anywhere;line-break:strict;}
html[lang="fr"] .hero-v45 h1,html[lang="es"] .hero-v45 h1,html[lang="pt-BR"] .hero-v45 h1,html[lang="id"] .hero-v45 h1 {font-size:clamp(40px,7vw,93px)!important;}

.k63-footer-privacy{display:inline-flex;align-items:center;min-height:26px;text-decoration:none}.k63-footer-privacy:hover{text-decoration:underline}
